AppMonetization / Client / publish_draft
publish_draft¶
- AppMonetization.Client.publish_draft(**kwargs)¶
Publishes the app’s current draft configuration to live in a single atomic operation. The published configuration includes all plans, metrics, capabilities, usage packs, add-ons, and free trials. A draft with more plans than the Published plans per app quota allows is refused with ServiceQuotaExceededException.
See also: AWS API Documentation
Request Syntax
response = client.publish_draft( appId='string' )
- Parameters:
appId (string) –
[REQUIRED]
The ID of the app.
- 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 PublishDraft.
app (dict) –
The app after publish. The published draft is now live.
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