AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ValidateConfiguration operation. Uses the validators in a configuration profile to validate a configuration.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppConfig.AmazonAppConfigRequest
      Amazon.AppConfig.Model.ValidateConfigurationRequest

Namespace: Amazon.AppConfig.Model
Assembly: AWSSDK.AppConfig.dll
Version: 3.x.y.z

Syntax

C#
public class ValidateConfigurationRequest : AmazonAppConfigRequest
         IAmazonWebServiceRequest

The ValidateConfigurationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ApplicationId System.String

Gets and sets the property ApplicationId.

The application ID.

Public Property ConfigurationProfileId System.String

Gets and sets the property ConfigurationProfileId.

The configuration profile ID.

Public Property ConfigurationVersion System.String

Gets and sets the property ConfigurationVersion.

The version of the configuration to validate.

Examples

The following validate-configuration example uses the validators in a configuration profile to validate a configuration.

To validate a configuration


var client = new AmazonAppConfigClient();
var response = client.ValidateConfiguration(new ValidateConfigurationRequest 
{
    ApplicationId = "abc1234",
    ConfigurationProfileId = "ur8hx2f",
    ConfigurationVersion = "1"
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5