delete_configuration_profile

AppConfig.Client.delete_configuration_profile(**kwargs)

Deletes a configuration profile. Deleting a configuration profile does not delete a configuration from a host.

See also: AWS API Documentation

Request Syntax

response = client.delete_configuration_profile(
    ApplicationId='string',
    ConfigurationProfileId='string'
)
Parameters
  • ApplicationId (string) --

    [REQUIRED]

    The application ID that includes the configuration profile you want to delete.

  • ConfigurationProfileId (string) --

    [REQUIRED]

    The ID of the configuration profile you want to delete.

Returns

None

Exceptions

  • AppConfig.Client.exceptions.ResourceNotFoundException
  • AppConfig.Client.exceptions.ConflictException
  • AppConfig.Client.exceptions.InternalServerException
  • AppConfig.Client.exceptions.BadRequestException

Examples

The following delete-configuration-profile example deletes the specified configuration profile.

response = client.delete_configuration_profile(
    ApplicationId='339ohji',
    ConfigurationProfileId='ur8hx2f',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}