delete_hosted_configuration_version
(**kwargs)¶Deletes a version of a configuration from the AppConfig hosted configuration store.
See also: AWS API Documentation
Request Syntax
response = client.delete_hosted_configuration_version(
ApplicationId='string',
ConfigurationProfileId='string',
VersionNumber=123
)
[REQUIRED]
The application ID.
[REQUIRED]
The configuration profile ID.
[REQUIRED]
The versions number to delete.
None
Exceptions
AppConfig.Client.exceptions.BadRequestException
AppConfig.Client.exceptions.ResourceNotFoundException
AppConfig.Client.exceptions.InternalServerException
Examples
The following delete-hosted-configuration-version example deletes a configuration version hosted in the AWS AppConfig configuration store.
response = client.delete_hosted_configuration_version(
ApplicationId='339ohji',
ConfigurationProfileId='ur8hx2f',
VersionNumber=1,
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}