AppMonetization / Client / get_app
get_app¶
- AppMonetization.Client.get_app(**kwargs)¶
Returns the details of an app.
See also: AWS API Documentation
Request Syntax
response = client.get_app( appId='string', identifier='string', scope='sandbox'|'live' )
- Parameters:
appId (string) –
[REQUIRED]
The ID of the app to read. 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
{ 'app': { 'appId': 'string', 'name': 'string', 'description': 'string', 'status': 'ACTIVE'|'DELETED', 'createdAt': datetime(2015, 1, 1), 'arn': 'string' } }
Response Structure
(dict) –
Output for GetApp.
app (dict) –
The requested app.
appId (string) –
The service-assigned identifier for the app.
name (string) –
A human-readable display name for the app.
description (string) –
A longer description of what the app does.
status (string) –
The lifecycle status of the app.
createdAt (datetime) –
The time the app was created.
arn (string) –
The resource ARN of this app.
Exceptions
AppMonetization.Client.exceptions.AccessDeniedExceptionAppMonetization.Client.exceptions.ValidationExceptionAppMonetization.Client.exceptions.InternalServerExceptionAppMonetization.Client.exceptions.ResourceNotFoundExceptionAppMonetization.Client.exceptions.ThrottlingException