2024/01/30 - Amazon DataZone - 6 updated api methods
Changes Add new skipDeletionCheck to DeleteDomain. Add new skipDeletionCheck to DeleteProject which also automatically deletes dependent objects
{'failureReasons': [{'code': 'string', 'message': 'string'}], 'projectStatus': 'ACTIVE | DELETING | DELETE_FAILED'}
Creates an Amazon DataZone project.
See also: AWS API Documentation
Request Syntax
client.create_project( description='string', domainIdentifier='string', glossaryTerms=[ 'string', ], name='string' )
string
The description of the Amazon DataZone project.
string
[REQUIRED]
The ID of the Amazon DataZone domain in which this project is created.
list
The glossary terms that can be used in this Amazon DataZone project.
(string) --
string
[REQUIRED]
The name of the Amazon DataZone project.
dict
Response Syntax
{ 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'description': 'string', 'domainId': 'string', 'failureReasons': [ { 'code': 'string', 'message': 'string' }, ], 'glossaryTerms': [ 'string', ], 'id': 'string', 'lastUpdatedAt': datetime(2015, 1, 1), 'name': 'string', 'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_FAILED' }
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.
failureReasons (list) --
Reasons for failed project deletion
(dict) --
Error that occurred during project deletion
code (string) --
Project Deletion Error Code
message (string) --
Project Deletion Error Message
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.
projectStatus (string) --
Status of the project
{'skipDeletionCheck': 'boolean'}
Deletes a Amazon DataZone domain.
See also: AWS API Documentation
Request Syntax
client.delete_domain( clientToken='string', identifier='string', skipDeletionCheck=True|False )
string
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
This field is autopopulated if not provided.
string
[REQUIRED]
The identifier of the Amazon Web Services domain that is to be deleted.
boolean
Optional flag to delete all child entities within the domain
dict
Response Syntax
{ 'status': 'CREATING'|'AVAILABLE'|'CREATION_FAILED'|'DELETING'|'DELETED'|'DELETION_FAILED' }
Response Structure
(dict) --
status (string) --
The status of the domain.
{'skipDeletionCheck': 'boolean'}
Deletes a project in Amazon DataZone.
See also: AWS API Documentation
Request Syntax
client.delete_project( domainIdentifier='string', identifier='string', skipDeletionCheck=True|False )
string
[REQUIRED]
The ID of the Amazon DataZone domain in which the project is deleted.
string
[REQUIRED]
The identifier of the project that is to be deleted.
boolean
Optional flag to asynchronously delete child entities within the project
dict
Response Syntax
{}
Response Structure
(dict) --
{'failureReasons': [{'code': 'string', 'message': 'string'}], 'projectStatus': 'ACTIVE | DELETING | DELETE_FAILED'}
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', 'failureReasons': [ { 'code': 'string', 'message': 'string' }, ], 'glossaryTerms': [ 'string', ], 'id': 'string', 'lastUpdatedAt': datetime(2015, 1, 1), 'name': 'string', 'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_FAILED' }
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.
failureReasons (list) --
Reasons for failed project deletion
(dict) --
Error that occurred during project deletion
code (string) --
Project Deletion Error Code
message (string) --
Project Deletion Error Message
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.
projectStatus (string) --
Status of the project
{'items': {'failureReasons': [{'code': 'string', 'message': 'string'}], 'projectStatus': 'ACTIVE | DELETING | DELETE_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
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', 'failureReasons': [ { 'code': 'string', 'message': 'string' }, ], 'id': 'string', 'name': 'string', 'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_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.
failureReasons (list) --
Reasons for failed project deletion
(dict) --
Error that occurred during project deletion
code (string) --
Project Deletion Error Code
message (string) --
Project Deletion Error Message
id (string) --
The identifier of a project.
name (string) --
The name of a project.
projectStatus (string) --
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.
{'failureReasons': [{'code': 'string', 'message': 'string'}], 'projectStatus': 'ACTIVE | DELETING | DELETE_FAILED'}
Updates the specified project in Amazon DataZone.
See also: AWS API Documentation
Request Syntax
client.update_project( description='string', domainIdentifier='string', glossaryTerms=[ 'string', ], identifier='string', name='string' )
string
The description to be updated as part of the UpdateProject action.
string
[REQUIRED]
The identifier of the Amazon DataZone domain in which a project is to be updated.
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.
dict
Response Syntax
{ 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'description': 'string', 'domainId': 'string', 'failureReasons': [ { 'code': 'string', 'message': 'string' }, ], 'glossaryTerms': [ 'string', ], 'id': 'string', 'lastUpdatedAt': datetime(2015, 1, 1), 'name': 'string', 'projectStatus': 'ACTIVE'|'DELETING'|'DELETE_FAILED' }
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.
failureReasons (list) --
Reasons for failed project deletion
(dict) --
Error that occurred during project deletion
code (string) --
Project Deletion Error Code
message (string) --
Project Deletion Error Message
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.
projectStatus (string) --
Status of the project