put_app_validation_configuration
(**kwargs)¶Creates or updates a validation configuration for the specified application.
See also: AWS API Documentation
Request Syntax
response = client.put_app_validation_configuration(
appId='string',
appValidationConfigurations=[
{
'validationId': 'string',
'name': 'string',
'appValidationStrategy': 'SSM',
'ssmValidationParameters': {
'source': {
's3Location': {
'bucket': 'string',
'key': 'string'
}
},
'instanceId': 'string',
'scriptType': 'SHELL_SCRIPT'|'POWERSHELL_SCRIPT',
'command': 'string',
'executionTimeoutSeconds': 123,
'outputS3BucketName': 'string'
}
},
],
serverGroupValidationConfigurations=[
{
'serverGroupId': 'string',
'serverValidationConfigurations': [
{
'server': {
'serverId': 'string',
'serverType': 'VIRTUAL_MACHINE',
'vmServer': {
'vmServerAddress': {
'vmManagerId': 'string',
'vmId': 'string'
},
'vmName': 'string',
'vmManagerName': 'string',
'vmManagerType': 'VSPHERE'|'SCVMM'|'HYPERV-MANAGER',
'vmPath': 'string'
},
'replicationJobId': 'string',
'replicationJobTerminated': True|False
},
'validationId': 'string',
'name': 'string',
'serverValidationStrategy': 'USERDATA',
'userDataValidationParameters': {
'source': {
's3Location': {
'bucket': 'string',
'key': 'string'
}
},
'scriptType': 'SHELL_SCRIPT'|'POWERSHELL_SCRIPT'
}
},
]
},
]
)
[REQUIRED]
The ID of the application.
The configuration for application validation.
Configuration for validating an application.
The ID of the validation.
The name of the configuration.
The validation strategy.
The validation parameters.
The location of the validation script.
Location of an Amazon S3 object.
The Amazon S3 bucket name.
The Amazon S3 bucket key.
The ID of the instance. The instance must have the following tag: UserForSMSApplicationValidation=true.
The type of validation script.
The command to run the validation script.
The timeout interval, in seconds.
The name of the S3 bucket for output.
The configuration for instance validation.
Configuration for validating an instance.
The ID of the server group.
The validation configuration.
Configuration for validating an instance.
Represents a server.
The ID of the server.
The type of server.
Information about the VM server.
The VM server location.
The ID of the VM manager.
The ID of the VM.
The name of the VM.
The name of the VM manager.
The type of VM management product.
The VM folder path in the vCenter Server virtual machine inventory tree.
The ID of the replication job.
Indicates whether the replication job is deleted or failed.
The ID of the validation.
The name of the configuration.
The validation strategy.
The validation parameters.
The location of the validation script.
Location of an Amazon S3 object.
The Amazon S3 bucket name.
The Amazon S3 bucket key.
The type of validation script.
dict
Response Syntax
{}
Response Structure
Exceptions
SMS.Client.exceptions.UnauthorizedOperationException
SMS.Client.exceptions.InvalidParameterException
SMS.Client.exceptions.MissingRequiredParameterException
SMS.Client.exceptions.InternalError
SMS.Client.exceptions.OperationNotPermittedException