2025/03/13 - Amazon DataZone - 8 updated api methods
Changes This release adds support to update projects and environments
{'environmentConfigurationId': 'string'}
Create an Amazon DataZone environment.
See also: AWS API Documentation
Request Syntax
client.create_environment( deploymentOrder=123, description='string', domainIdentifier='string', environmentAccountIdentifier='string', environmentAccountRegion='string', environmentBlueprintIdentifier='string', environmentConfigurationId='string', environmentProfileIdentifier='string', glossaryTerms=[ 'string', ], name='string', projectIdentifier='string', userParameters=[ { 'name': 'string', 'value': 'string' }, ] )
integer
The deployment order of the environment.
string
The description of the Amazon DataZone environment.
string
[REQUIRED]
The identifier of the Amazon DataZone domain in which the environment is created.
string
The ID of the account in which the environment is being created.
string
The region of the account in which the environment is being created.
string
The ID of the blueprint with which the environment is being created.
string
The configuration ID of the environment.
string
[REQUIRED]
The identifier of the environment profile that is used to create this Amazon DataZone environment.
list
The glossary terms that can be used in this Amazon DataZone environment.
(string) --
string
[REQUIRED]
The name of the Amazon DataZone environment.
string
[REQUIRED]
The identifier of the Amazon DataZone project in which this environment is created.
list
The user parameters of this Amazon DataZone environment.
(dict) --
The parameter details of an evironment profile.
name (string) --
The name of an environment profile parameter.
value (string) --
The value of an environment profile parameter.
dict
Response Syntax
{ 'awsAccountId': 'string', 'awsAccountRegion': 'string', 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'deploymentProperties': { 'endTimeoutMinutes': 123, 'startTimeoutMinutes': 123 }, 'description': 'string', 'domainId': 'string', 'environmentActions': [ { 'auth': 'IAM'|'HTTPS', 'parameters': [ { 'key': 'string', 'value': 'string' }, ], 'type': 'string' }, ], 'environmentBlueprintId': 'string', 'environmentConfigurationId': 'string', 'environmentProfileId': 'string', 'glossaryTerms': [ 'string', ], 'id': 'string', 'lastDeployment': { 'deploymentId': 'string', 'deploymentStatus': 'IN_PROGRESS'|'SUCCESSFUL'|'FAILED'|'PENDING_DEPLOYMENT', 'deploymentType': 'CREATE'|'UPDATE'|'DELETE', 'failureReason': { 'code': 'string', 'message': 'string' }, 'isDeploymentComplete': True|False, 'messages': [ 'string', ] }, 'name': 'string', 'projectId': 'string', 'provider': 'string', 'provisionedResources': [ { 'name': 'string', 'provider': 'string', 'type': 'string', 'value': 'string' }, ], 'provisioningProperties': { 'cloudFormation': { 'templateUrl': 'string' } }, 'status': 'ACTIVE'|'CREATING'|'UPDATING'|'DELETING'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED'|'VALIDATION_FAILED'|'SUSPENDED'|'DISABLED'|'EXPIRED'|'DELETED'|'INACCESSIBLE', 'updatedAt': datetime(2015, 1, 1), 'userParameters': [ { 'defaultValue': 'string', 'description': 'string', 'fieldType': 'string', 'isEditable': True|False, 'isOptional': True|False, 'keyName': 'string' }, ] }
Response Structure
(dict) --
awsAccountId (string) --
The Amazon Web Services account in which the Amazon DataZone environment is created.
awsAccountRegion (string) --
The Amazon Web Services region in which the Amazon DataZone environment is created.
createdAt (datetime) --
The timestamp of when the environment was created.
createdBy (string) --
The Amazon DataZone user who created this environment.
deploymentProperties (dict) --
The deployment properties of this Amazon DataZone environment.
endTimeoutMinutes (integer) --
The end timeout of the environment blueprint deployment.
startTimeoutMinutes (integer) --
The start timeout of the environment blueprint deployment.
description (string) --
The description of this Amazon DataZone environment.
domainId (string) --
The identifier of the Amazon DataZone domain in which the environment is created.
environmentActions (list) --
The configurable actions of this Amazon DataZone environment.
(dict) --
The configurable action of a Amazon DataZone environment.
auth (string) --
The authentication type of a configurable action of a Amazon DataZone environment.
parameters (list) --
The parameters of a configurable action in a Amazon DataZone environment.
(dict) --
The details of the parameters for the configurable environment action.
key (string) --
The key of the configurable action parameter.
value (string) --
The value of the configurable action parameter.
type (string) --
The type of a configurable action in a Amazon DataZone environment.
environmentBlueprintId (string) --
The ID of the blueprint with which this Amazon DataZone environment was created.
environmentConfigurationId (string) --
The configuration ID of the environment.
environmentProfileId (string) --
The ID of the environment profile with which this Amazon DataZone environment was created.
glossaryTerms (list) --
The glossary terms that can be used in this Amazon DataZone environment.
(string) --
id (string) --
The ID of this Amazon DataZone environment.
lastDeployment (dict) --
The details of the last deployment of this Amazon DataZone environment.
deploymentId (string) --
The identifier of the last deployment of the environment.
deploymentStatus (string) --
The status of the last deployment of the environment.
deploymentType (string) --
The type of the last deployment of the environment.
failureReason (dict) --
The failure reason of the last deployment of the environment.
code (string) --
The error code for the failure reason for the environment deployment.
message (string) --
The error message for the failure reason for the environment deployment.
isDeploymentComplete (boolean) --
Specifies whether the last deployment of the environment is complete.
messages (list) --
The messages of the last deployment of the environment.
(string) --
name (string) --
The name of this environment.
projectId (string) --
The ID of the Amazon DataZone project in which this environment is created.
provider (string) --
The provider of this Amazon DataZone environment.
provisionedResources (list) --
The provisioned resources of this Amazon DataZone environment.
(dict) --
The details of a provisioned resource of this Amazon DataZone environment.
name (string) --
The name of a provisioned resource of this Amazon DataZone environment.
provider (string) --
The provider of a provisioned resource of this Amazon DataZone environment.
type (string) --
The type of a provisioned resource of this Amazon DataZone environment.
value (string) --
The value of a provisioned resource of this Amazon DataZone environment.
provisioningProperties (dict) --
The provisioning properties of this Amazon DataZone environment.
cloudFormation (dict) --
The cloud formation properties included as part of the provisioning properties of an environment blueprint.
templateUrl (string) --
The template URL of the cloud formation provisioning properties of the environment blueprint.
status (string) --
The status of this Amazon DataZone environment.
updatedAt (datetime) --
The timestamp of when this environment was updated.
userParameters (list) --
The user parameters of this Amazon DataZone environment.
(dict) --
The details of user parameters of an environment blueprint.
defaultValue (string) --
The default value of the parameter.
description (string) --
The description of the parameter.
fieldType (string) --
The filed type of the parameter.
isEditable (boolean) --
Specifies whether the parameter is editable.
isOptional (boolean) --
Specifies whether the custom parameter is optional.
keyName (string) --
The key name of the parameter.
{'userParameters': {'environmentId': 'string'}}Response
{'projectStatus': {'UPDATING', 'UPDATE_FAILED'}, 'userParameters': {'environmentId': 'string'}}
Creates an Amazon DataZone project.
See also: AWS API Documentation
Request Syntax
client.create_project( description='string', domainIdentifier='string', domainUnitId='string', glossaryTerms=[ 'string', ], name='string', projectProfileId='string', userParameters=[ { 'environmentConfigurationName': 'string', 'environmentId': 'string', 'environmentParameters': [ { 'name': 'string', 'value': 'string' }, ] }, ] )
string
The description of the Amazon DataZone project.
string
[REQUIRED]
The ID of the Amazon DataZone domain in which this project is created.
string
The ID of the domain unit. This parameter is not required and if it is not specified, then the project is created at the root domain unit level.
list
The glossary terms that can be used in this Amazon DataZone project.
(string) --
string
[REQUIRED]
The name of the Amazon DataZone project.
string
The ID of the project profile.
list
The user parameters of the project.
(dict) --
The environment configuration user parameters.
environmentConfigurationName (string) --
The environment configuration name.
environmentId (string) --
The ID of the environment.
environmentParameters (list) --
The environment parameters.
(dict) --
The parameter details of an evironment profile.
name (string) --
The name of an environment profile parameter.
value (string) --
The value of an environment profile parameter.
dict
Response Syntax
{ 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'description': 'string', 'domainId': 'string', 'domainUnitId': 'string', 'environmentDeploymentDetails': { 'environmentFailureReasons': { 'string': [ { 'code': 'string', 'message': 'string' }, ] }, 'overallDeploymentStatus': 'PENDING_DEPLOYMENT'|'IN_PROGRESS'|'SUCCESSFUL'|'FAILED_VALIDATION'|'FAILED_DEPLOYMENT' }, 'failureReasons': [ { 'code': 'string', 'message': 'string' }, ], 'glossaryTerms': [ 'string', ], 'id': 'string', 'lastUpdatedAt': datetime(2015, 1, 1), 'name': 'string', 'projectProfileId': 'string', 'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_FAILED'|'UPDATING'|'UPDATE_FAILED', 'userParameters': [ { 'environmentConfigurationName': 'string', 'environmentId': 'string', 'environmentParameters': [ { 'name': 'string', 'value': 'string' }, ] }, ] }
Response Structure
(dict) --
createdAt (datetime) --
The timestamp of when the project was created.
createdBy (string) --
The Amazon DataZone user who created the project.
description (string) --
The description of the project.
domainId (string) --
The identifier of the Amazon DataZone domain in which the project was created.
domainUnitId (string) --
The ID of the domain unit.
environmentDeploymentDetails (dict) --
The environment deployment details.
environmentFailureReasons (dict) --
Environment failure reasons.
(string) --
(list) --
(dict) --
The failure reasons for the environment deployment.
code (string) --
The error code for the failure reason for the environment deployment.
message (string) --
The error message for the failure reason for the environment deployment.
overallDeploymentStatus (string) --
The overall deployment status of the environment.
failureReasons (list) --
Specifies the error message that is returned if the operation cannot be successfully completed.
(dict) --
Specifies the error message that is returned if the operation cannot be successfully completed.
code (string) --
The code of the project deletion error.
message (string) --
The message of the project deletion error.
glossaryTerms (list) --
The glossary terms that can be used in the project.
(string) --
id (string) --
The ID of the Amazon DataZone project.
lastUpdatedAt (datetime) --
The timestamp of when the project was last updated.
name (string) --
The name of the project.
projectProfileId (string) --
The project profile ID.
projectStatus (string) --
The status of the Amazon DataZone project that was created.
userParameters (list) --
The user parameters of the project.
(dict) --
The environment configuration user parameters.
environmentConfigurationName (string) --
The environment configuration name.
environmentId (string) --
The ID of the environment.
environmentParameters (list) --
The environment parameters.
(dict) --
The parameter details of an evironment profile.
name (string) --
The name of an environment profile parameter.
value (string) --
The value of an environment profile parameter.
{'environmentConfigurationId': 'string'}
Gets an Amazon DataZone environment.
See also: AWS API Documentation
Request Syntax
client.get_environment( domainIdentifier='string', identifier='string' )
string
[REQUIRED]
The ID of the Amazon DataZone domain where the environment exists.
string
[REQUIRED]
The ID of the Amazon DataZone environment.
dict
Response Syntax
{ 'awsAccountId': 'string', 'awsAccountRegion': 'string', 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'deploymentProperties': { 'endTimeoutMinutes': 123, 'startTimeoutMinutes': 123 }, 'description': 'string', 'domainId': 'string', 'environmentActions': [ { 'auth': 'IAM'|'HTTPS', 'parameters': [ { 'key': 'string', 'value': 'string' }, ], 'type': 'string' }, ], 'environmentBlueprintId': 'string', 'environmentConfigurationId': 'string', 'environmentProfileId': 'string', 'glossaryTerms': [ 'string', ], 'id': 'string', 'lastDeployment': { 'deploymentId': 'string', 'deploymentStatus': 'IN_PROGRESS'|'SUCCESSFUL'|'FAILED'|'PENDING_DEPLOYMENT', 'deploymentType': 'CREATE'|'UPDATE'|'DELETE', 'failureReason': { 'code': 'string', 'message': 'string' }, 'isDeploymentComplete': True|False, 'messages': [ 'string', ] }, 'name': 'string', 'projectId': 'string', 'provider': 'string', 'provisionedResources': [ { 'name': 'string', 'provider': 'string', 'type': 'string', 'value': 'string' }, ], 'provisioningProperties': { 'cloudFormation': { 'templateUrl': 'string' } }, 'status': 'ACTIVE'|'CREATING'|'UPDATING'|'DELETING'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED'|'VALIDATION_FAILED'|'SUSPENDED'|'DISABLED'|'EXPIRED'|'DELETED'|'INACCESSIBLE', 'updatedAt': datetime(2015, 1, 1), 'userParameters': [ { 'defaultValue': 'string', 'description': 'string', 'fieldType': 'string', 'isEditable': True|False, 'isOptional': True|False, 'keyName': 'string' }, ] }
Response Structure
(dict) --
awsAccountId (string) --
The ID of the Amazon Web Services account where the environment exists.
awsAccountRegion (string) --
The Amazon Web Services region where the environment exists.
createdAt (datetime) --
The timestamp of when the environment was created.
createdBy (string) --
The Amazon DataZone user who created the environment.
deploymentProperties (dict) --
The deployment properties of the environment.
endTimeoutMinutes (integer) --
The end timeout of the environment blueprint deployment.
startTimeoutMinutes (integer) --
The start timeout of the environment blueprint deployment.
description (string) --
The description of the environment.
domainId (string) --
The ID of the Amazon DataZone domain where the environment exists.
environmentActions (list) --
The actions of the environment.
(dict) --
The configurable action of a Amazon DataZone environment.
auth (string) --
The authentication type of a configurable action of a Amazon DataZone environment.
parameters (list) --
The parameters of a configurable action in a Amazon DataZone environment.
(dict) --
The details of the parameters for the configurable environment action.
key (string) --
The key of the configurable action parameter.
value (string) --
The value of the configurable action parameter.
type (string) --
The type of a configurable action in a Amazon DataZone environment.
environmentBlueprintId (string) --
The blueprint with which the environment is created.
environmentConfigurationId (string) --
The configuration ID that is used to create the environment.
environmentProfileId (string) --
The ID of the environment profile with which the environment is created.
glossaryTerms (list) --
The business glossary terms that can be used in this environment.
(string) --
id (string) --
The ID of the environment.
lastDeployment (dict) --
The details of the last deployment of the environment.
deploymentId (string) --
The identifier of the last deployment of the environment.
deploymentStatus (string) --
The status of the last deployment of the environment.
deploymentType (string) --
The type of the last deployment of the environment.
failureReason (dict) --
The failure reason of the last deployment of the environment.
code (string) --
The error code for the failure reason for the environment deployment.
message (string) --
The error message for the failure reason for the environment deployment.
isDeploymentComplete (boolean) --
Specifies whether the last deployment of the environment is complete.
messages (list) --
The messages of the last deployment of the environment.
(string) --
name (string) --
The name of the environment.
projectId (string) --
The ID of the Amazon DataZone project in which this environment is created.
provider (string) --
The provider of this Amazon DataZone environment.
provisionedResources (list) --
The provisioned resources of this Amazon DataZone environment.
(dict) --
The details of a provisioned resource of this Amazon DataZone environment.
name (string) --
The name of a provisioned resource of this Amazon DataZone environment.
provider (string) --
The provider of a provisioned resource of this Amazon DataZone environment.
type (string) --
The type of a provisioned resource of this Amazon DataZone environment.
value (string) --
The value of a provisioned resource of this Amazon DataZone environment.
provisioningProperties (dict) --
The provisioning properties of this Amazon DataZone environment.
cloudFormation (dict) --
The cloud formation properties included as part of the provisioning properties of an environment blueprint.
templateUrl (string) --
The template URL of the cloud formation provisioning properties of the environment blueprint.
status (string) --
The status of this Amazon DataZone environment.
updatedAt (datetime) --
The timestamp of when this environment was updated.
userParameters (list) --
The user parameters of this Amazon DataZone environment.
(dict) --
The details of user parameters of an environment blueprint.
defaultValue (string) --
The default value of the parameter.
description (string) --
The description of the parameter.
fieldType (string) --
The filed type of the parameter.
isEditable (boolean) --
Specifies whether the parameter is editable.
isOptional (boolean) --
Specifies whether the custom parameter is optional.
keyName (string) --
The key name of the parameter.
{'projectStatus': {'UPDATING', 'UPDATE_FAILED'}, 'userParameters': {'environmentId': 'string'}}
Gets a project in Amazon DataZone.
See also: AWS API Documentation
Request Syntax
client.get_project( domainIdentifier='string', identifier='string' )
string
[REQUIRED]
The ID of the Amazon DataZone domain in which the project exists.
string
[REQUIRED]
The ID of the project.
dict
Response Syntax
{ 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'description': 'string', 'domainId': 'string', 'domainUnitId': 'string', 'environmentDeploymentDetails': { 'environmentFailureReasons': { 'string': [ { 'code': 'string', 'message': 'string' }, ] }, 'overallDeploymentStatus': 'PENDING_DEPLOYMENT'|'IN_PROGRESS'|'SUCCESSFUL'|'FAILED_VALIDATION'|'FAILED_DEPLOYMENT' }, 'failureReasons': [ { 'code': 'string', 'message': 'string' }, ], 'glossaryTerms': [ 'string', ], 'id': 'string', 'lastUpdatedAt': datetime(2015, 1, 1), 'name': 'string', 'projectProfileId': 'string', 'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_FAILED'|'UPDATING'|'UPDATE_FAILED', 'userParameters': [ { 'environmentConfigurationName': 'string', 'environmentId': 'string', 'environmentParameters': [ { 'name': 'string', 'value': 'string' }, ] }, ] }
Response Structure
(dict) --
createdAt (datetime) --
The timestamp of when the project was created.
createdBy (string) --
The Amazon DataZone user who created the project.
description (string) --
The description of the project.
domainId (string) --
The ID of the Amazon DataZone domain in which the project exists.
domainUnitId (string) --
The ID of the domain unit.
environmentDeploymentDetails (dict) --
The environment deployment status of a project.
environmentFailureReasons (dict) --
Environment failure reasons.
(string) --
(list) --
(dict) --
The failure reasons for the environment deployment.
code (string) --
The error code for the failure reason for the environment deployment.
message (string) --
The error message for the failure reason for the environment deployment.
overallDeploymentStatus (string) --
The overall deployment status of the environment.
failureReasons (list) --
Specifies the error message that is returned if the operation cannot be successfully completed.
(dict) --
Specifies the error message that is returned if the operation cannot be successfully completed.
code (string) --
The code of the project deletion error.
message (string) --
The message of the project deletion error.
glossaryTerms (list) --
The business glossary terms that can be used in the project.
(string) --
id (string) --
>The ID of the project.
lastUpdatedAt (datetime) --
The timestamp of when the project was last updated.
name (string) --
The name of the project.
projectProfileId (string) --
The ID of the project profile of a project.
projectStatus (string) --
The status of the project.
userParameters (list) --
The user parameters of a project.
(dict) --
The environment configuration user parameters.
environmentConfigurationName (string) --
The environment configuration name.
environmentId (string) --
The ID of the environment.
environmentParameters (list) --
The environment parameters.
(dict) --
The parameter details of an evironment profile.
name (string) --
The name of an environment profile parameter.
value (string) --
The value of an environment profile parameter.
{'items': {'environmentConfigurationId': 'string'}}
Lists Amazon DataZone environments.
See also: AWS API Documentation
Request Syntax
client.list_environments( awsAccountId='string', awsAccountRegion='string', domainIdentifier='string', environmentBlueprintIdentifier='string', environmentProfileIdentifier='string', maxResults=123, name='string', nextToken='string', projectIdentifier='string', provider='string', status='ACTIVE'|'CREATING'|'UPDATING'|'DELETING'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED'|'VALIDATION_FAILED'|'SUSPENDED'|'DISABLED'|'EXPIRED'|'DELETED'|'INACCESSIBLE' )
string
The identifier of the Amazon Web Services account where you want to list environments.
string
The Amazon Web Services region where you want to list environments.
string
[REQUIRED]
The identifier of the Amazon DataZone domain.
string
The identifier of the Amazon DataZone blueprint.
string
The identifier of the environment profile.
integer
The maximum number of environments to return in a single call to ListEnvironments. When the number of environments to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListEnvironments to list the next set of environments.
string
The name of the environment.
string
When the number of environments is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of environments, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListEnvironments to list the next set of environments.
string
[REQUIRED]
The identifier of the Amazon DataZone project.
string
The provider of the environment.
string
The status of the environments that you want to list.
dict
Response Syntax
{ 'items': [ { 'awsAccountId': 'string', 'awsAccountRegion': 'string', 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'description': 'string', 'domainId': 'string', 'environmentConfigurationId': 'string', 'environmentProfileId': 'string', 'id': 'string', 'name': 'string', 'projectId': 'string', 'provider': 'string', 'status': 'ACTIVE'|'CREATING'|'UPDATING'|'DELETING'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED'|'VALIDATION_FAILED'|'SUSPENDED'|'DISABLED'|'EXPIRED'|'DELETED'|'INACCESSIBLE', 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) --
items (list) --
The results of the ListEnvironments action.
(dict) --
The details of an environment.
awsAccountId (string) --
The identifier of the Amazon Web Services account in which an environment exists.
awsAccountRegion (string) --
The Amazon Web Services Region in which an environment exists.
createdAt (datetime) --
The timestamp of when the environment was created.
createdBy (string) --
The Amazon DataZone user who created the environment.
description (string) --
The description of the environment.
domainId (string) --
The identifier of the Amazon DataZone domain in which the environment exists.
environmentConfigurationId (string) --
The configuration ID with which the environment is created.
environmentProfileId (string) --
The identifier of the environment profile with which the environment was created.
id (string) --
The identifier of the environment.
name (string) --
The name of the environment.
projectId (string) --
The identifier of the project in which the environment exists.
provider (string) --
The provider of the environment.
status (string) --
The status of the environment.
updatedAt (datetime) --
The timestamp of when the environment was updated.
nextToken (string) --
When the number of environments is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of environments, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListEnvironments to list the next set of environments.
{'items': {'projectStatus': {'UPDATING', 'UPDATE_FAILED'}}}
Lists Amazon DataZone projects.
See also: AWS API Documentation
Request Syntax
client.list_projects( domainIdentifier='string', groupIdentifier='string', maxResults=123, name='string', nextToken='string', userIdentifier='string' )
string
[REQUIRED]
The identifier of the Amazon DataZone domain.
string
The identifier of a group.
integer
The maximum number of projects to return in a single call to ListProjects. When the number of projects to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListProjects to list the next set of projects.
string
The name of the project.
string
When the number of projects is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of projects, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListProjects to list the next set of projects.
string
The identifier of the Amazon DataZone user.
dict
Response Syntax
{ 'items': [ { 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'description': 'string', 'domainId': 'string', 'domainUnitId': 'string', 'failureReasons': [ { 'code': 'string', 'message': 'string' }, ], 'id': 'string', 'name': 'string', 'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_FAILED'|'UPDATING'|'UPDATE_FAILED', 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) --
items (list) --
The results of the ListProjects action.
(dict) --
The details of a Amazon DataZone project.
createdAt (datetime) --
The timestamp of when a project was created.
createdBy (string) --
The Amazon DataZone user who created the project.
description (string) --
The description of a project.
domainId (string) --
The identifier of a Amazon DataZone domain where the project exists.
domainUnitId (string) --
The ID of the domain unit.
failureReasons (list) --
Specifies the error message that is returned if the operation cannot be successfully completed.
(dict) --
Specifies the error message that is returned if the operation cannot be successfully completed.
code (string) --
The code of the project deletion error.
message (string) --
The message of the project deletion error.
id (string) --
The identifier of a project.
name (string) --
The name of a project.
projectStatus (string) --
The status of the project.
updatedAt (datetime) --
The timestamp of when the project was updated.
nextToken (string) --
When the number of projects is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of projects, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListProjects to list the next set of projects.
{'blueprintVersion': 'string', 'userParameters': [{'name': 'string', 'value': 'string'}]}Response
{'environmentConfigurationId': 'string'}
Updates the specified environment in Amazon DataZone.
See also: AWS API Documentation
Request Syntax
client.update_environment( blueprintVersion='string', description='string', domainIdentifier='string', glossaryTerms=[ 'string', ], identifier='string', name='string', userParameters=[ { 'name': 'string', 'value': 'string' }, ] )
string
The blueprint version to which the environment should be updated. You can only specify the following string for this parameter: latest.
string
The description to be updated as part of the UpdateEnvironment action.
string
[REQUIRED]
The identifier of the domain in which the environment is to be updated.
list
The glossary terms to be updated as part of the UpdateEnvironment action.
(string) --
string
[REQUIRED]
The identifier of the environment that is to be updated.
string
The name to be updated as part of the UpdateEnvironment action.
list
The user parameters of the environment.
(dict) --
The parameter details of an evironment profile.
name (string) --
The name of an environment profile parameter.
value (string) --
The value of an environment profile parameter.
dict
Response Syntax
{ 'awsAccountId': 'string', 'awsAccountRegion': 'string', 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'deploymentProperties': { 'endTimeoutMinutes': 123, 'startTimeoutMinutes': 123 }, 'description': 'string', 'domainId': 'string', 'environmentActions': [ { 'auth': 'IAM'|'HTTPS', 'parameters': [ { 'key': 'string', 'value': 'string' }, ], 'type': 'string' }, ], 'environmentBlueprintId': 'string', 'environmentConfigurationId': 'string', 'environmentProfileId': 'string', 'glossaryTerms': [ 'string', ], 'id': 'string', 'lastDeployment': { 'deploymentId': 'string', 'deploymentStatus': 'IN_PROGRESS'|'SUCCESSFUL'|'FAILED'|'PENDING_DEPLOYMENT', 'deploymentType': 'CREATE'|'UPDATE'|'DELETE', 'failureReason': { 'code': 'string', 'message': 'string' }, 'isDeploymentComplete': True|False, 'messages': [ 'string', ] }, 'name': 'string', 'projectId': 'string', 'provider': 'string', 'provisionedResources': [ { 'name': 'string', 'provider': 'string', 'type': 'string', 'value': 'string' }, ], 'provisioningProperties': { 'cloudFormation': { 'templateUrl': 'string' } }, 'status': 'ACTIVE'|'CREATING'|'UPDATING'|'DELETING'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED'|'VALIDATION_FAILED'|'SUSPENDED'|'DISABLED'|'EXPIRED'|'DELETED'|'INACCESSIBLE', 'updatedAt': datetime(2015, 1, 1), 'userParameters': [ { 'defaultValue': 'string', 'description': 'string', 'fieldType': 'string', 'isEditable': True|False, 'isOptional': True|False, 'keyName': 'string' }, ] }
Response Structure
(dict) --
awsAccountId (string) --
The identifier of the Amazon Web Services account in which the environment is to be updated.
awsAccountRegion (string) --
The Amazon Web Services Region in which the environment is updated.
createdAt (datetime) --
The timestamp of when the environment was created.
createdBy (string) --
The Amazon DataZone user who created the environment.
deploymentProperties (dict) --
The deployment properties to be updated as part of the UpdateEnvironment action.
endTimeoutMinutes (integer) --
The end timeout of the environment blueprint deployment.
startTimeoutMinutes (integer) --
The start timeout of the environment blueprint deployment.
description (string) --
The description to be updated as part of the UpdateEnvironment action.
domainId (string) --
The identifier of the domain in which the environment is to be updated.
environmentActions (list) --
The environment actions to be updated as part of the UpdateEnvironment action.
(dict) --
The configurable action of a Amazon DataZone environment.
auth (string) --
The authentication type of a configurable action of a Amazon DataZone environment.
parameters (list) --
The parameters of a configurable action in a Amazon DataZone environment.
(dict) --
The details of the parameters for the configurable environment action.
key (string) --
The key of the configurable action parameter.
value (string) --
The value of the configurable action parameter.
type (string) --
The type of a configurable action in a Amazon DataZone environment.
environmentBlueprintId (string) --
The blueprint identifier of the environment.
environmentConfigurationId (string) --
The configuration ID of the environment.
environmentProfileId (string) --
The profile identifier of the environment.
glossaryTerms (list) --
The glossary terms to be updated as part of the UpdateEnvironment action.
(string) --
id (string) --
The identifier of the environment that is to be updated.
lastDeployment (dict) --
The last deployment of the environment.
deploymentId (string) --
The identifier of the last deployment of the environment.
deploymentStatus (string) --
The status of the last deployment of the environment.
deploymentType (string) --
The type of the last deployment of the environment.
failureReason (dict) --
The failure reason of the last deployment of the environment.
code (string) --
The error code for the failure reason for the environment deployment.
message (string) --
The error message for the failure reason for the environment deployment.
isDeploymentComplete (boolean) --
Specifies whether the last deployment of the environment is complete.
messages (list) --
The messages of the last deployment of the environment.
(string) --
name (string) --
The name to be updated as part of the UpdateEnvironment action.
projectId (string) --
The project identifier of the environment.
provider (string) --
The provider identifier of the environment.
provisionedResources (list) --
The provisioned resources to be updated as part of the UpdateEnvironment action.
(dict) --
The details of a provisioned resource of this Amazon DataZone environment.
name (string) --
The name of a provisioned resource of this Amazon DataZone environment.
provider (string) --
The provider of a provisioned resource of this Amazon DataZone environment.
type (string) --
The type of a provisioned resource of this Amazon DataZone environment.
value (string) --
The value of a provisioned resource of this Amazon DataZone environment.
provisioningProperties (dict) --
The provisioning properties to be updated as part of the UpdateEnvironment action.
cloudFormation (dict) --
The cloud formation properties included as part of the provisioning properties of an environment blueprint.
templateUrl (string) --
The template URL of the cloud formation provisioning properties of the environment blueprint.
status (string) --
The status to be updated as part of the UpdateEnvironment action.
updatedAt (datetime) --
The timestamp of when the environment was updated.
userParameters (list) --
The user parameters to be updated as part of the UpdateEnvironment action.
(dict) --
The details of user parameters of an environment blueprint.
defaultValue (string) --
The default value of the parameter.
description (string) --
The description of the parameter.
fieldType (string) --
The filed type of the parameter.
isEditable (boolean) --
Specifies whether the parameter is editable.
isOptional (boolean) --
Specifies whether the custom parameter is optional.
keyName (string) --
The key name of the parameter.
{'projectProfileVersion': 'string', 'userParameters': [{'environmentConfigurationName': 'string', 'environmentId': 'string', 'environmentParameters': [{'name': 'string', 'value': 'string'}]}]}Response
{'projectStatus': {'UPDATING', 'UPDATE_FAILED'}, 'userParameters': {'environmentId': 'string'}}
Updates the specified project in Amazon DataZone.
See also: AWS API Documentation
Request Syntax
client.update_project( description='string', domainIdentifier='string', environmentDeploymentDetails={ 'environmentFailureReasons': { 'string': [ { 'code': 'string', 'message': 'string' }, ] }, 'overallDeploymentStatus': 'PENDING_DEPLOYMENT'|'IN_PROGRESS'|'SUCCESSFUL'|'FAILED_VALIDATION'|'FAILED_DEPLOYMENT' }, glossaryTerms=[ 'string', ], identifier='string', name='string', projectProfileVersion='string', userParameters=[ { 'environmentConfigurationName': 'string', 'environmentId': 'string', 'environmentParameters': [ { 'name': 'string', 'value': 'string' }, ] }, ] )
string
The description to be updated as part of the UpdateProject action.
string
[REQUIRED]
The ID of the Amazon DataZone domain where a project is being updated.
dict
The environment deployment details of the project.
environmentFailureReasons (dict) --
Environment failure reasons.
(string) --
(list) --
(dict) --
The failure reasons for the environment deployment.
code (string) --
The error code for the failure reason for the environment deployment.
message (string) -- [REQUIRED]
The error message for the failure reason for the environment deployment.
overallDeploymentStatus (string) --
The overall deployment status of the environment.
list
The glossary terms to be updated as part of the UpdateProject action.
(string) --
string
[REQUIRED]
The identifier of the project that is to be updated.
string
The name to be updated as part of the UpdateProject action.
string
The project profile version to which the project should be updated. You can only specify the following string for this parameter: latest.
list
The user parameters of the project.
(dict) --
The environment configuration user parameters.
environmentConfigurationName (string) --
The environment configuration name.
environmentId (string) --
The ID of the environment.
environmentParameters (list) --
The environment parameters.
(dict) --
The parameter details of an evironment profile.
name (string) --
The name of an environment profile parameter.
value (string) --
The value of an environment profile parameter.
dict
Response Syntax
{ 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'description': 'string', 'domainId': 'string', 'domainUnitId': 'string', 'environmentDeploymentDetails': { 'environmentFailureReasons': { 'string': [ { 'code': 'string', 'message': 'string' }, ] }, 'overallDeploymentStatus': 'PENDING_DEPLOYMENT'|'IN_PROGRESS'|'SUCCESSFUL'|'FAILED_VALIDATION'|'FAILED_DEPLOYMENT' }, 'failureReasons': [ { 'code': 'string', 'message': 'string' }, ], 'glossaryTerms': [ 'string', ], 'id': 'string', 'lastUpdatedAt': datetime(2015, 1, 1), 'name': 'string', 'projectProfileId': 'string', 'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_FAILED'|'UPDATING'|'UPDATE_FAILED', 'userParameters': [ { 'environmentConfigurationName': 'string', 'environmentId': 'string', 'environmentParameters': [ { 'name': 'string', 'value': 'string' }, ] }, ] }
Response Structure
(dict) --
createdAt (datetime) --
The timestamp of when the project was created.
createdBy (string) --
The Amazon DataZone user who created the project.
description (string) --
The description of the project that is to be updated.
domainId (string) --
The identifier of the Amazon DataZone domain in which a project is updated.
domainUnitId (string) --
The ID of the domain unit.
environmentDeploymentDetails (dict) --
The environment deployment details of the project.
environmentFailureReasons (dict) --
Environment failure reasons.
(string) --
(list) --
(dict) --
The failure reasons for the environment deployment.
code (string) --
The error code for the failure reason for the environment deployment.
message (string) --
The error message for the failure reason for the environment deployment.
overallDeploymentStatus (string) --
The overall deployment status of the environment.
failureReasons (list) --
Specifies the error message that is returned if the operation cannot be successfully completed.
(dict) --
Specifies the error message that is returned if the operation cannot be successfully completed.
code (string) --
The code of the project deletion error.
message (string) --
The message of the project deletion error.
glossaryTerms (list) --
The glossary terms of the project that are to be updated.
(string) --
id (string) --
The identifier of the project that is to be updated.
lastUpdatedAt (datetime) --
The timestamp of when the project was last updated.
name (string) --
The name of the project that is to be updated.
projectProfileId (string) --
The ID of the project profile.
projectStatus (string) --
The status of the project.
userParameters (list) --
The user parameters of the project.
(dict) --
The environment configuration user parameters.
environmentConfigurationName (string) --
The environment configuration name.
environmentId (string) --
The ID of the environment.
environmentParameters (list) --
The environment parameters.
(dict) --
The parameter details of an evironment profile.
name (string) --
The name of an environment profile parameter.
value (string) --
The value of an environment profile parameter.