AppMonetization / Client / delete_app
delete_app¶
- AppMonetization.Client.delete_app(**kwargs)¶
Deletes an app. If the app’s published offering still has plans or metrics, the request fails with a
ConflictException. Deleting an app that no longer exists returns aResourceNotFoundException.See also: AWS API Documentation
Request Syntax
response = client.delete_app( appId='string', identifier='string', scope='sandbox'|'live' )
- Parameters:
appId (string) –
[REQUIRED]
The ID of the app to delete. You can identify the app by either its ID or its Amazon Resource Name (ARN). If you provide both, they must refer to the same app.
identifier (string) – The Amazon Resource Name (ARN) of the app. You can identify the app by either its ID or its ARN. If you provide both, they must refer to the same app. A sandbox ARN names the app’s sandbox; if you also send scope, the two must name the same environment.
scope (string) – The environment to act on: live or sandbox. Optional. You can name the environment with this member, with a sandbox resource ARN, or both; if you send both they must name the same environment, or the request is rejected.
- Return type:
dict
- Returns:
Response Syntax
{ 'appId': 'string', 'status': 'ACTIVE'|'DELETED', 'arn': 'string' }
Response Structure
(dict) –
Output for DeleteApp.
appId (string) –
The ID of the deleted app.
status (string) –
The resource status after deletion.
arn (string) –
The resource ARN of the deleted app.
Exceptions