AppConfig / Client / delete_hosted_configuration_version

delete_hosted_configuration_version#

AppConfig.Client.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
)
Parameters:
  • ApplicationId (string) –

    [REQUIRED]

    The application ID.

  • ConfigurationProfileId (string) –

    [REQUIRED]

    The configuration profile ID.

  • VersionNumber (integer) –

    [REQUIRED]

    The versions number to delete.

Returns:

None

Exceptions

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': {
        '...': '...',
    },
}