AppConfig.Client.
validate_configuration
(**kwargs)¶Uses the validators in a configuration profile to validate a configuration.
See also: AWS API Documentation
Request Syntax
response = client.validate_configuration(
ApplicationId='string',
ConfigurationProfileId='string',
ConfigurationVersion='string'
)
[REQUIRED]
The application ID.
[REQUIRED]
The configuration profile ID.
[REQUIRED]
The version of the configuration to validate.
None
Exceptions
AppConfig.Client.exceptions.BadRequestException
AppConfig.Client.exceptions.ResourceNotFoundException
AppConfig.Client.exceptions.InternalServerException
Examples
The following validate-configuration example uses the validators in a configuration profile to validate a configuration.
response = client.validate_configuration(
ApplicationId='abc1234',
ConfigurationProfileId='ur8hx2f',
ConfigurationVersion='1',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}