validate_configuration

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'
)
Parameters
  • ApplicationId (string) --

    [REQUIRED]

    The application ID.

  • ConfigurationProfileId (string) --

    [REQUIRED]

    The configuration profile ID.

  • ConfigurationVersion (string) --

    [REQUIRED]

    The version of the configuration to validate.

Returns

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