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'
)
[REQUIRED]
The application ID that includes the configuration profile you want to delete.
[REQUIRED]
The ID of the configuration profile you want to delete.
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': {
'...': '...',
},
}