2020/06/15 - Amazon AppConfig - 4 new api methods
Changes Update appconfig client to latest version
Create a new configuration in the AppConfig configuration store.
See also: AWS API Documentation
Request Syntax
client.create_hosted_configuration_version( ApplicationId='string', ConfigurationProfileId='string', Description='string', Content=b'bytes'|file, ContentType='string', LatestVersionNumber=123 )
string
[REQUIRED]
The application ID.
string
[REQUIRED]
The configuration profile ID.
string
A description of the configuration.
bytes or seekable file-like object
[REQUIRED]
The content of the configuration or the configuration data.
string
[REQUIRED]
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
integer
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version of the latest hosted configuration version.
dict
Response Syntax
{ 'ApplicationId': 'string', 'ConfigurationProfileId': 'string', 'VersionNumber': 123, 'Description': 'string', 'Content': b'bytes'|file, 'ContentType': 'string' }
Response Structure
(dict) --
ApplicationId (string) --
The application ID.
ConfigurationProfileId (string) --
The configuration profile ID.
VersionNumber (integer) --
The configuration version.
Description (string) --
A description of the configuration.
Content (bytes or seekable file-like object) --
The content of the configuration or the configuration data.
ContentType (string) --
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
Get information about a specific configuration version.
See also: AWS API Documentation
Request Syntax
client.get_hosted_configuration_version( ApplicationId='string', ConfigurationProfileId='string', VersionNumber=123 )
string
[REQUIRED]
The application ID.
string
[REQUIRED]
The configuration profile ID.
integer
[REQUIRED]
The version.
dict
Response Syntax
{ 'ApplicationId': 'string', 'ConfigurationProfileId': 'string', 'VersionNumber': 123, 'Description': 'string', 'Content': StreamingBody(), 'ContentType': 'string' }
Response Structure
(dict) --
ApplicationId (string) --
The application ID.
ConfigurationProfileId (string) --
The configuration profile ID.
VersionNumber (integer) --
The configuration version.
Description (string) --
A description of the configuration.
Content (:class:`.StreamingBody`) --
The content of the configuration or the configuration data.
ContentType (string) --
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
Delete a version of a configuration from the AppConfig configuration store.
See also: AWS API Documentation
Request Syntax
client.delete_hosted_configuration_version( ApplicationId='string', ConfigurationProfileId='string', VersionNumber=123 )
string
[REQUIRED]
The application ID.
string
[REQUIRED]
The configuration profile ID.
integer
[REQUIRED]
The versions number to delete.
None
View a list of configurations stored in the AppConfig configuration store by version.
See also: AWS API Documentation
Request Syntax
client.list_hosted_configuration_versions( ApplicationId='string', ConfigurationProfileId='string', MaxResults=123, NextToken='string' )
string
[REQUIRED]
The application ID.
string
[REQUIRED]
The configuration profile ID.
integer
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
string
A token to start the list. Use this token to get the next set of results.
dict
Response Syntax
{ 'Items': [ { 'ApplicationId': 'string', 'ConfigurationProfileId': 'string', 'VersionNumber': 123, 'Description': 'string', 'ContentType': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Items (list) --
The elements from this collection.
(dict) --
Information about the configuration.
ApplicationId (string) --
The application ID.
ConfigurationProfileId (string) --
The configuration profile ID.
VersionNumber (integer) --
The configuration version.
Description (string) --
A description of the configuration.
ContentType (string) --
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
NextToken (string) --
The token for the next set of items to return. Use this token to get the next set of results.