Mobile / Client / delete_project
delete_project#
- Mobile.Client.delete_project(**kwargs)#
Delets a project in AWS Mobile Hub.
See also: AWS API Documentation
Request Syntax
response = client.delete_project( projectId='string' )
- Parameters:
projectId (string) –
[REQUIRED]
Unique project identifier.
- Return type:
dict
- Returns:
Response Syntax
{ 'deletedResources': [ { 'type': 'string', 'name': 'string', 'arn': 'string', 'feature': 'string', 'attributes': { 'string': 'string' } }, ], 'orphanedResources': [ { 'type': 'string', 'name': 'string', 'arn': 'string', 'feature': 'string', 'attributes': { 'string': 'string' } }, ] }
Response Structure
(dict) –
Result structure used in response to request to delete a project.
deletedResources (list) –
Resources which were deleted.
(dict) –
Information about an instance of an AWS resource associated with a project.
type (string) –
Simplified name for type of AWS resource (e.g., bucket is an Amazon S3 bucket).
name (string) –
Name of the AWS resource (e.g., for an Amazon S3 bucket this is the name of the bucket).
arn (string) –
AWS resource name which uniquely identifies the resource in AWS systems.
feature (string) –
Identifies which feature in AWS Mobile Hub is associated with this AWS resource.
attributes (dict) –
Key-value attribute pairs.
(string) –
Key part of key-value attribute pairs.
(string) –
Value part of key-value attribute pairs.
orphanedResources (list) –
Resources which were not deleted, due to a risk of losing potentially important data or files.
(dict) –
Information about an instance of an AWS resource associated with a project.
type (string) –
Simplified name for type of AWS resource (e.g., bucket is an Amazon S3 bucket).
name (string) –
Name of the AWS resource (e.g., for an Amazon S3 bucket this is the name of the bucket).
arn (string) –
AWS resource name which uniquely identifies the resource in AWS systems.
feature (string) –
Identifies which feature in AWS Mobile Hub is associated with this AWS resource.
attributes (dict) –
Key-value attribute pairs.
(string) –
Key part of key-value attribute pairs.
(string) –
Value part of key-value attribute pairs.
Exceptions
Mobile.Client.exceptions.InternalFailureException
Mobile.Client.exceptions.ServiceUnavailableException
Mobile.Client.exceptions.UnauthorizedException
Mobile.Client.exceptions.TooManyRequestsException
Mobile.Client.exceptions.NotFoundException