diff --git a/CHANGELOG.md b/CHANGELOG.md index ccfc4ce8a17..341e89bb5a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +Release v1.54.0 (2024-06-12) +=== + +### Service Client Updates +* `service/apptest`: Updates service API, documentation, waiters, paginators, and examples +* `service/ec2`: Updates service API and documentation + * Tagging support for Traffic Mirroring FilterRule resource +* `service/osis`: Updates service API and documentation +* `service/redshift`: Updates service API and documentation + * Updates to remove DC1 and DS2 node types. +* `service/secretsmanager`: Updates service API and documentation + * Introducing RotationToken parameter for PutSecretValue API +* `service/securitylake`: Updates service API and documentation +* `service/sesv2`: Updates service API and documentation + +### SDK Features +* `service/backupstorage`: Remove Backupstorage + * This change removes the Backupstorage service, which has been deprecated. + Release v1.53.21 (2024-06-11) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 58c30f0f540..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,6 +1,4 @@ ### SDK Features -* `service/backupstorage`: Remove Backupstorage - * This change removes the Backupstorage service, which has been deprecated. ### SDK Enhancements diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index cbcc7bb7111..54a93239e61 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -4583,91 +4583,6 @@ var awsPartition = partition{ }: endpoint{}, }, }, - "backupstorage": service{ - Endpoints: serviceEndpoints{ - endpointKey{ - Region: "af-south-1", - }: endpoint{}, - endpointKey{ - Region: "ap-east-1", - }: endpoint{}, - endpointKey{ - Region: "ap-northeast-1", - }: endpoint{}, - endpointKey{ - Region: "ap-northeast-2", - }: endpoint{}, - endpointKey{ - Region: "ap-northeast-3", - }: endpoint{}, - endpointKey{ - Region: "ap-south-1", - }: endpoint{}, - endpointKey{ - Region: "ap-south-2", - }: endpoint{}, - endpointKey{ - Region: "ap-southeast-1", - }: endpoint{}, - endpointKey{ - Region: "ap-southeast-2", - }: endpoint{}, - endpointKey{ - Region: "ap-southeast-3", - }: endpoint{}, - endpointKey{ - Region: "ap-southeast-4", - }: endpoint{}, - endpointKey{ - Region: "ca-central-1", - }: endpoint{}, - endpointKey{ - Region: "eu-central-1", - }: endpoint{}, - endpointKey{ - Region: "eu-central-2", - }: endpoint{}, - endpointKey{ - Region: "eu-north-1", - }: endpoint{}, - endpointKey{ - Region: "eu-south-1", - }: endpoint{}, - endpointKey{ - Region: "eu-south-2", - }: endpoint{}, - endpointKey{ - Region: "eu-west-1", - }: endpoint{}, - endpointKey{ - Region: "eu-west-2", - }: endpoint{}, - endpointKey{ - Region: "eu-west-3", - }: endpoint{}, - endpointKey{ - Region: "me-central-1", - }: endpoint{}, - endpointKey{ - Region: "me-south-1", - }: endpoint{}, - endpointKey{ - Region: "sa-east-1", - }: endpoint{}, - endpointKey{ - Region: "us-east-1", - }: endpoint{}, - endpointKey{ - Region: "us-east-2", - }: endpoint{}, - endpointKey{ - Region: "us-west-1", - }: endpoint{}, - endpointKey{ - Region: "us-west-2", - }: endpoint{}, - }, - }, "batch": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{}, @@ -21899,6 +21814,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -36380,16 +36298,6 @@ var awscnPartition = partition{ }: endpoint{}, }, }, - "backupstorage": service{ - Endpoints: serviceEndpoints{ - endpointKey{ - Region: "cn-north-1", - }: endpoint{}, - endpointKey{ - Region: "cn-northwest-1", - }: endpoint{}, - }, - }, "batch": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -39159,16 +39067,6 @@ var awsusgovPartition = partition{ }: endpoint{}, }, }, - "backupstorage": service{ - Endpoints: serviceEndpoints{ - endpointKey{ - Region: "us-gov-east-1", - }: endpoint{}, - endpointKey{ - Region: "us-gov-west-1", - }: endpoint{}, - }, - }, "batch": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 5b49d92862e..929357349e4 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.53.21" +const SDKVersion = "1.54.0" diff --git a/models/apis/apptest/2022-12-06/api-2.json b/models/apis/apptest/2022-12-06/api-2.json new file mode 100644 index 00000000000..c047c076f41 --- /dev/null +++ b/models/apis/apptest/2022-12-06/api-2.json @@ -0,0 +1,2329 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2022-12-06", + "auth":["aws.auth#sigv4"], + "endpointPrefix":"apptest", + "protocol":"rest-json", + "protocols":["rest-json"], + "serviceFullName":"AWS Mainframe Modernization Application Testing", + "serviceId":"AppTest", + "signatureVersion":"v4", + "signingName":"apptest", + "uid":"apptest-2022-12-06" + }, + "operations":{ + "CreateTestCase":{ + "name":"CreateTestCase", + "http":{ + "method":"POST", + "requestUri":"/testcase", + "responseCode":201 + }, + "input":{"shape":"CreateTestCaseRequest"}, + "output":{"shape":"CreateTestCaseResponse"}, + "errors":[ + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "CreateTestConfiguration":{ + "name":"CreateTestConfiguration", + "http":{ + "method":"POST", + "requestUri":"/testconfiguration", + "responseCode":201 + }, + "input":{"shape":"CreateTestConfigurationRequest"}, + "output":{"shape":"CreateTestConfigurationResponse"}, + "errors":[ + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "CreateTestSuite":{ + "name":"CreateTestSuite", + "http":{ + "method":"POST", + "requestUri":"/testsuite", + "responseCode":201 + }, + "input":{"shape":"CreateTestSuiteRequest"}, + "output":{"shape":"CreateTestSuiteResponse"}, + "errors":[ + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "DeleteTestCase":{ + "name":"DeleteTestCase", + "http":{ + "method":"DELETE", + "requestUri":"/testcases/{testCaseId}", + "responseCode":204 + }, + "input":{"shape":"DeleteTestCaseRequest"}, + "output":{"shape":"DeleteTestCaseResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "DeleteTestConfiguration":{ + "name":"DeleteTestConfiguration", + "http":{ + "method":"DELETE", + "requestUri":"/testconfigurations/{testConfigurationId}", + "responseCode":204 + }, + "input":{"shape":"DeleteTestConfigurationRequest"}, + "output":{"shape":"DeleteTestConfigurationResponse"}, + "errors":[ + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "DeleteTestRun":{ + "name":"DeleteTestRun", + "http":{ + "method":"DELETE", + "requestUri":"/testruns/{testRunId}", + "responseCode":204 + }, + "input":{"shape":"DeleteTestRunRequest"}, + "output":{"shape":"DeleteTestRunResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "DeleteTestSuite":{ + "name":"DeleteTestSuite", + "http":{ + "method":"DELETE", + "requestUri":"/testsuites/{testSuiteId}", + "responseCode":204 + }, + "input":{"shape":"DeleteTestSuiteRequest"}, + "output":{"shape":"DeleteTestSuiteResponse"}, + "errors":[ + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "GetTestCase":{ + "name":"GetTestCase", + "http":{ + "method":"GET", + "requestUri":"/testcases/{testCaseId}", + "responseCode":200 + }, + "input":{"shape":"GetTestCaseRequest"}, + "output":{"shape":"GetTestCaseResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "GetTestConfiguration":{ + "name":"GetTestConfiguration", + "http":{ + "method":"GET", + "requestUri":"/testconfigurations/{testConfigurationId}", + "responseCode":200 + }, + "input":{"shape":"GetTestConfigurationRequest"}, + "output":{"shape":"GetTestConfigurationResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "GetTestRunStep":{ + "name":"GetTestRunStep", + "http":{ + "method":"GET", + "requestUri":"/testruns/{testRunId}/steps/{stepName}", + "responseCode":200 + }, + "input":{"shape":"GetTestRunStepRequest"}, + "output":{"shape":"GetTestRunStepResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "GetTestSuite":{ + "name":"GetTestSuite", + "http":{ + "method":"GET", + "requestUri":"/testsuites/{testSuiteId}", + "responseCode":200 + }, + "input":{"shape":"GetTestSuiteRequest"}, + "output":{"shape":"GetTestSuiteResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"GET", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListTestCases":{ + "name":"ListTestCases", + "http":{ + "method":"GET", + "requestUri":"/testcases", + "responseCode":200 + }, + "input":{"shape":"ListTestCasesRequest"}, + "output":{"shape":"ListTestCasesResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListTestConfigurations":{ + "name":"ListTestConfigurations", + "http":{ + "method":"GET", + "requestUri":"/testconfigurations", + "responseCode":200 + }, + "input":{"shape":"ListTestConfigurationsRequest"}, + "output":{"shape":"ListTestConfigurationsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListTestRunSteps":{ + "name":"ListTestRunSteps", + "http":{ + "method":"GET", + "requestUri":"/testruns/{testRunId}/steps", + "responseCode":200 + }, + "input":{"shape":"ListTestRunStepsRequest"}, + "output":{"shape":"ListTestRunStepsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListTestRunTestCases":{ + "name":"ListTestRunTestCases", + "http":{ + "method":"GET", + "requestUri":"/testruns/{testRunId}/testcases", + "responseCode":200 + }, + "input":{"shape":"ListTestRunTestCasesRequest"}, + "output":{"shape":"ListTestRunTestCasesResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListTestRuns":{ + "name":"ListTestRuns", + "http":{ + "method":"GET", + "requestUri":"/testruns", + "responseCode":200 + }, + "input":{"shape":"ListTestRunsRequest"}, + "output":{"shape":"ListTestRunsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListTestSuites":{ + "name":"ListTestSuites", + "http":{ + "method":"GET", + "requestUri":"/testsuites", + "responseCode":200 + }, + "input":{"shape":"ListTestSuitesRequest"}, + "output":{"shape":"ListTestSuitesResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "StartTestRun":{ + "name":"StartTestRun", + "http":{ + "method":"POST", + "requestUri":"/testrun", + "responseCode":200 + }, + "input":{"shape":"StartTestRunRequest"}, + "output":{"shape":"StartTestRunResponse"}, + "errors":[ + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"DELETE", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "UpdateTestCase":{ + "name":"UpdateTestCase", + "http":{ + "method":"PATCH", + "requestUri":"/testcases/{testCaseId}", + "responseCode":200 + }, + "input":{"shape":"UpdateTestCaseRequest"}, + "output":{"shape":"UpdateTestCaseResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, + "UpdateTestConfiguration":{ + "name":"UpdateTestConfiguration", + "http":{ + "method":"PATCH", + "requestUri":"/testconfigurations/{testConfigurationId}", + "responseCode":200 + }, + "input":{"shape":"UpdateTestConfigurationRequest"}, + "output":{"shape":"UpdateTestConfigurationResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, + "UpdateTestSuite":{ + "name":"UpdateTestSuite", + "http":{ + "method":"PATCH", + "requestUri":"/testsuites/{testSuiteId}", + "responseCode":200 + }, + "input":{"shape":"UpdateTestSuiteRequest"}, + "output":{"shape":"UpdateTestSuiteResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + } + }, + "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "Arn":{ + "type":"string", + "pattern":"arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+=,@.-]{0,1023}" + }, + "Batch":{ + "type":"structure", + "required":["batchJobName"], + "members":{ + "batchJobName":{"shape":"Variable"}, + "batchJobParameters":{"shape":"BatchJobParameters"}, + "exportDataSetNames":{"shape":"ExportDataSetNames"} + } + }, + "BatchJobParameters":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "BatchStepInput":{ + "type":"structure", + "required":[ + "resource", + "batchJobName" + ], + "members":{ + "resource":{"shape":"MainframeResourceSummary"}, + "batchJobName":{"shape":"ResourceName"}, + "batchJobParameters":{"shape":"BatchJobParameters"}, + "exportDataSetNames":{"shape":"ExportDataSetNames"}, + "properties":{"shape":"MainframeActionProperties"} + } + }, + "BatchStepOutput":{ + "type":"structure", + "members":{ + "dataSetExportLocation":{"shape":"S3Uri"}, + "dmsOutputLocation":{"shape":"S3Uri"}, + "dataSetDetails":{"shape":"DataSetList"} + } + }, + "BatchSummary":{ + "type":"structure", + "required":["stepInput"], + "members":{ + "stepInput":{"shape":"BatchStepInput"}, + "stepOutput":{"shape":"BatchStepOutput"} + } + }, + "Boolean":{ + "type":"boolean", + "box":true + }, + "CaptureTool":{ + "type":"string", + "enum":[ + "Precisely", + "AWS DMS" + ] + }, + "CloudFormation":{ + "type":"structure", + "required":["templateLocation"], + "members":{ + "templateLocation":{"shape":"S3Uri"}, + "parameters":{"shape":"Properties"} + } + }, + "CloudFormationAction":{ + "type":"structure", + "required":["resource"], + "members":{ + "resource":{"shape":"Variable"}, + "actionType":{"shape":"CloudFormationActionType"} + } + }, + "CloudFormationActionType":{ + "type":"string", + "enum":[ + "Create", + "Delete" + ] + }, + "CloudFormationStepSummary":{ + "type":"structure", + "members":{ + "createCloudformation":{"shape":"CreateCloudFormationSummary"}, + "deleteCloudformation":{"shape":"DeleteCloudFormationSummary"} + }, + "union":true + }, + "CompareAction":{ + "type":"structure", + "required":["input"], + "members":{ + "input":{"shape":"Input"}, + "output":{"shape":"Output"} + } + }, + "CompareActionSummary":{ + "type":"structure", + "required":["type"], + "members":{ + "type":{"shape":"File"} + } + }, + "CompareDataSetsStepInput":{ + "type":"structure", + "required":[ + "sourceLocation", + "targetLocation", + "sourceDataSets", + "targetDataSets" + ], + "members":{ + "sourceLocation":{"shape":"S3Uri"}, + "targetLocation":{"shape":"S3Uri"}, + "sourceDataSets":{"shape":"DataSetList"}, + "targetDataSets":{"shape":"DataSetList"} + } + }, + "CompareDataSetsStepOutput":{ + "type":"structure", + "required":[ + "comparisonOutputLocation", + "comparisonStatus" + ], + "members":{ + "comparisonOutputLocation":{"shape":"S3Uri"}, + "comparisonStatus":{"shape":"ComparisonStatusEnum"} + } + }, + "CompareDataSetsSummary":{ + "type":"structure", + "required":["stepInput"], + "members":{ + "stepInput":{"shape":"CompareDataSetsStepInput"}, + "stepOutput":{"shape":"CompareDataSetsStepOutput"} + } + }, + "CompareDatabaseCDCStepInput":{ + "type":"structure", + "required":[ + "sourceLocation", + "targetLocation", + "sourceMetadata", + "targetMetadata" + ], + "members":{ + "sourceLocation":{"shape":"String"}, + "targetLocation":{"shape":"String"}, + "outputLocation":{"shape":"String"}, + "sourceMetadata":{"shape":"SourceDatabaseMetadata"}, + "targetMetadata":{"shape":"TargetDatabaseMetadata"} + } + }, + "CompareDatabaseCDCStepOutput":{ + "type":"structure", + "required":[ + "comparisonOutputLocation", + "comparisonStatus" + ], + "members":{ + "comparisonOutputLocation":{"shape":"String"}, + "comparisonStatus":{"shape":"ComparisonStatusEnum"} + } + }, + "CompareDatabaseCDCSummary":{ + "type":"structure", + "required":["stepInput"], + "members":{ + "stepInput":{"shape":"CompareDatabaseCDCStepInput"}, + "stepOutput":{"shape":"CompareDatabaseCDCStepOutput"} + } + }, + "CompareFileType":{ + "type":"structure", + "members":{ + "datasets":{"shape":"CompareDataSetsSummary"}, + "databaseCDC":{"shape":"CompareDatabaseCDCSummary"} + }, + "union":true + }, + "ComparisonStatusEnum":{ + "type":"string", + "enum":[ + "Different", + "Equivalent", + "Equal" + ] + }, + "ConflictException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceType":{"shape":"String"} + }, + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "CreateCloudFormationStepInput":{ + "type":"structure", + "required":["templateLocation"], + "members":{ + "templateLocation":{"shape":"S3Uri"}, + "parameters":{"shape":"Properties"} + } + }, + "CreateCloudFormationStepOutput":{ + "type":"structure", + "required":["stackId"], + "members":{ + "stackId":{"shape":"String"}, + "exports":{"shape":"Properties"} + } + }, + "CreateCloudFormationSummary":{ + "type":"structure", + "required":["stepInput"], + "members":{ + "stepInput":{"shape":"CreateCloudFormationStepInput"}, + "stepOutput":{"shape":"CreateCloudFormationStepOutput"} + } + }, + "CreateTestCaseRequest":{ + "type":"structure", + "required":[ + "name", + "steps" + ], + "members":{ + "name":{"shape":"ResourceName"}, + "description":{"shape":"ResourceDescription"}, + "steps":{"shape":"StepList"}, + "clientToken":{ + "shape":"IdempotencyTokenString", + "idempotencyToken":true + }, + "tags":{"shape":"TagMap"} + } + }, + "CreateTestCaseResponse":{ + "type":"structure", + "required":[ + "testCaseId", + "testCaseVersion" + ], + "members":{ + "testCaseId":{"shape":"Identifier"}, + "testCaseVersion":{"shape":"Version"} + } + }, + "CreateTestConfigurationRequest":{ + "type":"structure", + "required":[ + "name", + "resources" + ], + "members":{ + "name":{"shape":"ResourceName"}, + "description":{"shape":"ResourceDescription"}, + "resources":{"shape":"ResourceList"}, + "properties":{"shape":"Properties"}, + "clientToken":{ + "shape":"IdempotencyTokenString", + "idempotencyToken":true + }, + "tags":{"shape":"TagMap"}, + "serviceSettings":{"shape":"ServiceSettings"} + } + }, + "CreateTestConfigurationResponse":{ + "type":"structure", + "required":[ + "testConfigurationId", + "testConfigurationVersion" + ], + "members":{ + "testConfigurationId":{"shape":"Identifier"}, + "testConfigurationVersion":{"shape":"Version"} + } + }, + "CreateTestSuiteRequest":{ + "type":"structure", + "required":[ + "name", + "testCases" + ], + "members":{ + "name":{"shape":"ResourceName"}, + "description":{"shape":"ResourceDescription"}, + "beforeSteps":{"shape":"StepList"}, + "afterSteps":{"shape":"StepList"}, + "testCases":{"shape":"TestCases"}, + "clientToken":{ + "shape":"IdempotencyTokenString", + "idempotencyToken":true + }, + "tags":{"shape":"TagMap"} + } + }, + "CreateTestSuiteResponse":{ + "type":"structure", + "required":[ + "testSuiteId", + "testSuiteVersion" + ], + "members":{ + "testSuiteId":{"shape":"Identifier"}, + "testSuiteVersion":{"shape":"Version"} + } + }, + "DataSet":{ + "type":"structure", + "required":[ + "type", + "name", + "ccsid", + "format", + "length" + ], + "members":{ + "type":{"shape":"DataSetType"}, + "name":{"shape":"String100"}, + "ccsid":{"shape":"String50"}, + "format":{"shape":"Format"}, + "length":{"shape":"Integer"} + } + }, + "DataSetList":{ + "type":"list", + "member":{"shape":"DataSet"} + }, + "DataSetType":{ + "type":"string", + "enum":["PS"] + }, + "DatabaseCDC":{ + "type":"structure", + "required":[ + "sourceMetadata", + "targetMetadata" + ], + "members":{ + "sourceMetadata":{"shape":"SourceDatabaseMetadata"}, + "targetMetadata":{"shape":"TargetDatabaseMetadata"} + } + }, + "DeleteCloudFormationStepInput":{ + "type":"structure", + "required":["stackId"], + "members":{ + "stackId":{"shape":"String"} + } + }, + "DeleteCloudFormationStepOutput":{ + "type":"structure", + "members":{ + } + }, + "DeleteCloudFormationSummary":{ + "type":"structure", + "required":["stepInput"], + "members":{ + "stepInput":{"shape":"DeleteCloudFormationStepInput"}, + "stepOutput":{"shape":"DeleteCloudFormationStepOutput"} + } + }, + "DeleteTestCaseRequest":{ + "type":"structure", + "required":["testCaseId"], + "members":{ + "testCaseId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testCaseId" + } + } + }, + "DeleteTestCaseResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteTestConfigurationRequest":{ + "type":"structure", + "required":["testConfigurationId"], + "members":{ + "testConfigurationId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testConfigurationId" + } + } + }, + "DeleteTestConfigurationResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteTestRunRequest":{ + "type":"structure", + "required":["testRunId"], + "members":{ + "testRunId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testRunId" + } + } + }, + "DeleteTestRunResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteTestSuiteRequest":{ + "type":"structure", + "required":["testSuiteId"], + "members":{ + "testSuiteId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testSuiteId" + } + } + }, + "DeleteTestSuiteResponse":{ + "type":"structure", + "members":{ + } + }, + "ExportDataSetNames":{ + "type":"list", + "member":{"shape":"String100"} + }, + "File":{ + "type":"structure", + "members":{ + "fileType":{"shape":"CompareFileType"} + }, + "union":true + }, + "FileMetadata":{ + "type":"structure", + "members":{ + "dataSets":{"shape":"DataSetList"}, + "databaseCDC":{"shape":"DatabaseCDC"} + }, + "union":true + }, + "Format":{ + "type":"string", + "enum":[ + "FIXED", + "VARIABLE", + "LINE_SEQUENTIAL" + ] + }, + "GetTestCaseRequest":{ + "type":"structure", + "required":["testCaseId"], + "members":{ + "testCaseId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testCaseId" + }, + "testCaseVersion":{ + "shape":"Version", + "location":"querystring", + "locationName":"testCaseVersion" + } + } + }, + "GetTestCaseResponse":{ + "type":"structure", + "required":[ + "testCaseId", + "testCaseArn", + "name", + "latestVersion", + "testCaseVersion", + "status", + "creationTime", + "lastUpdateTime", + "steps" + ], + "members":{ + "testCaseId":{"shape":"Identifier"}, + "testCaseArn":{"shape":"Arn"}, + "name":{"shape":"ResourceName"}, + "description":{"shape":"ResourceDescription"}, + "latestVersion":{"shape":"TestCaseLatestVersion"}, + "testCaseVersion":{"shape":"Version"}, + "status":{"shape":"TestCaseLifecycle"}, + "statusReason":{"shape":"String"}, + "creationTime":{"shape":"Timestamp"}, + "lastUpdateTime":{"shape":"Timestamp"}, + "steps":{"shape":"StepList"}, + "tags":{"shape":"TagMap"} + } + }, + "GetTestConfigurationRequest":{ + "type":"structure", + "required":["testConfigurationId"], + "members":{ + "testConfigurationId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testConfigurationId" + }, + "testConfigurationVersion":{ + "shape":"Version", + "location":"querystring", + "locationName":"testConfigurationVersion" + } + } + }, + "GetTestConfigurationResponse":{ + "type":"structure", + "required":[ + "testConfigurationId", + "name", + "testConfigurationArn", + "latestVersion", + "testConfigurationVersion", + "status", + "creationTime", + "lastUpdateTime", + "resources", + "properties" + ], + "members":{ + "testConfigurationId":{"shape":"Identifier"}, + "name":{"shape":"ResourceName"}, + "testConfigurationArn":{"shape":"Arn"}, + "latestVersion":{"shape":"TestConfigurationLatestVersion"}, + "testConfigurationVersion":{"shape":"Version"}, + "status":{"shape":"TestConfigurationLifecycle"}, + "statusReason":{"shape":"String"}, + "creationTime":{"shape":"Timestamp"}, + "lastUpdateTime":{"shape":"Timestamp"}, + "description":{"shape":"ResourceDescription"}, + "resources":{"shape":"ResourceList"}, + "properties":{"shape":"Properties"}, + "tags":{"shape":"TagMap"}, + "serviceSettings":{"shape":"ServiceSettings"} + } + }, + "GetTestRunStepRequest":{ + "type":"structure", + "required":[ + "testRunId", + "stepName" + ], + "members":{ + "testRunId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testRunId" + }, + "stepName":{ + "shape":"ResourceName", + "location":"uri", + "locationName":"stepName" + }, + "testCaseId":{ + "shape":"Identifier", + "location":"querystring", + "locationName":"testCaseId" + }, + "testSuiteId":{ + "shape":"Identifier", + "location":"querystring", + "locationName":"testSuiteId" + } + } + }, + "GetTestRunStepResponse":{ + "type":"structure", + "required":[ + "stepName", + "testRunId", + "status", + "runStartTime" + ], + "members":{ + "stepName":{"shape":"ResourceName"}, + "testRunId":{"shape":"Identifier"}, + "testCaseId":{"shape":"Identifier"}, + "testCaseVersion":{"shape":"Version"}, + "testSuiteId":{"shape":"Identifier"}, + "testSuiteVersion":{"shape":"Version"}, + "beforeStep":{"shape":"Boolean"}, + "afterStep":{"shape":"Boolean"}, + "status":{"shape":"StepRunStatus"}, + "statusReason":{"shape":"String"}, + "runStartTime":{"shape":"Timestamp"}, + "runEndTime":{"shape":"Timestamp"}, + "stepRunSummary":{"shape":"StepRunSummary"} + } + }, + "GetTestSuiteRequest":{ + "type":"structure", + "required":["testSuiteId"], + "members":{ + "testSuiteId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testSuiteId" + }, + "testSuiteVersion":{ + "shape":"Version", + "location":"querystring", + "locationName":"testSuiteVersion" + } + } + }, + "GetTestSuiteResponse":{ + "type":"structure", + "required":[ + "testSuiteId", + "name", + "latestVersion", + "testSuiteVersion", + "testSuiteArn", + "creationTime", + "lastUpdateTime", + "beforeSteps", + "afterSteps", + "testCases" + ], + "members":{ + "testSuiteId":{"shape":"Identifier"}, + "name":{"shape":"ResourceName"}, + "latestVersion":{"shape":"TestSuiteLatestVersion"}, + "testSuiteVersion":{"shape":"Version"}, + "status":{"shape":"TestSuiteLifecycle"}, + "statusReason":{"shape":"String"}, + "testSuiteArn":{"shape":"Arn"}, + "creationTime":{"shape":"Timestamp"}, + "lastUpdateTime":{"shape":"Timestamp"}, + "description":{"shape":"ResourceDescription"}, + "beforeSteps":{"shape":"StepList"}, + "afterSteps":{"shape":"StepList"}, + "testCases":{"shape":"TestCases"}, + "tags":{"shape":"TagMap"} + } + }, + "IdempotencyTokenString":{ + "type":"string", + "pattern":"[A-Za-z0-9\\-]{1,64}" + }, + "Identifier":{ + "type":"string", + "pattern":"[A-Za-z0-9:/\\-]{1,100}" + }, + "Input":{ + "type":"structure", + "members":{ + "file":{"shape":"InputFile"} + }, + "union":true + }, + "InputFile":{ + "type":"structure", + "required":[ + "sourceLocation", + "targetLocation", + "fileMetadata" + ], + "members":{ + "sourceLocation":{"shape":"Variable"}, + "targetLocation":{"shape":"Variable"}, + "fileMetadata":{"shape":"FileMetadata"} + } + }, + "Integer":{ + "type":"integer", + "box":true + }, + "InternalServerException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "retryAfterSeconds":{ + "shape":"Integer", + "location":"header", + "locationName":"Retry-After" + } + }, + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true, + "retryable":{"throttling":false} + }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["resourceArn"], + "members":{ + "resourceArn":{ + "shape":"Arn", + "location":"uri", + "locationName":"resourceArn" + } + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "required":["tags"], + "members":{ + "tags":{"shape":"TagMap"} + } + }, + "ListTestCasesRequest":{ + "type":"structure", + "members":{ + "testCaseIds":{ + "shape":"TestCaseIdList", + "location":"querystring", + "locationName":"testCaseIds" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListTestCasesResponse":{ + "type":"structure", + "required":["testCases"], + "members":{ + "testCases":{"shape":"TestCaseSummaryList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListTestConfigurationsRequest":{ + "type":"structure", + "members":{ + "testConfigurationIds":{ + "shape":"TestConfigurationIdList", + "location":"querystring", + "locationName":"testConfigurationIds" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListTestConfigurationsResponse":{ + "type":"structure", + "required":["testConfigurations"], + "members":{ + "testConfigurations":{"shape":"TestConfigurationList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListTestRunStepsRequest":{ + "type":"structure", + "required":["testRunId"], + "members":{ + "testRunId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testRunId" + }, + "testCaseId":{ + "shape":"Identifier", + "location":"querystring", + "locationName":"testCaseId" + }, + "testSuiteId":{ + "shape":"Identifier", + "location":"querystring", + "locationName":"testSuiteId" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListTestRunStepsResponse":{ + "type":"structure", + "required":["testRunSteps"], + "members":{ + "testRunSteps":{"shape":"TestRunStepSummaryList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListTestRunTestCasesRequest":{ + "type":"structure", + "required":["testRunId"], + "members":{ + "testRunId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testRunId" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListTestRunTestCasesResponse":{ + "type":"structure", + "required":["testRunTestCases"], + "members":{ + "testRunTestCases":{"shape":"TestCaseRunSummaryList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListTestRunsRequest":{ + "type":"structure", + "members":{ + "testSuiteId":{ + "shape":"Identifier", + "location":"querystring", + "locationName":"testSuiteId" + }, + "testRunIds":{ + "shape":"TestRunIdList", + "location":"querystring", + "locationName":"testrunIds" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListTestRunsResponse":{ + "type":"structure", + "required":["testRuns"], + "members":{ + "testRuns":{"shape":"TestRunSummaryList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListTestSuitesRequest":{ + "type":"structure", + "members":{ + "testSuiteIds":{ + "shape":"TestSuiteIdList", + "location":"querystring", + "locationName":"testSuiteIds" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListTestSuitesResponse":{ + "type":"structure", + "required":["testSuites"], + "members":{ + "testSuites":{"shape":"TestSuiteList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "M2ManagedActionProperties":{ + "type":"structure", + "members":{ + "forceStop":{"shape":"Boolean"}, + "importDataSetLocation":{"shape":"Variable"} + } + }, + "M2ManagedActionType":{ + "type":"string", + "enum":[ + "Configure", + "Deconfigure" + ] + }, + "M2ManagedApplication":{ + "type":"structure", + "required":[ + "applicationId", + "runtime" + ], + "members":{ + "applicationId":{"shape":"Variable"}, + "runtime":{"shape":"M2ManagedRuntime"}, + "vpcEndpointServiceName":{"shape":"Variable"}, + "listenerPort":{"shape":"Variable"} + } + }, + "M2ManagedApplicationAction":{ + "type":"structure", + "required":[ + "resource", + "actionType" + ], + "members":{ + "resource":{"shape":"Variable"}, + "actionType":{"shape":"M2ManagedActionType"}, + "properties":{"shape":"M2ManagedActionProperties"} + } + }, + "M2ManagedApplicationStepInput":{ + "type":"structure", + "required":[ + "applicationId", + "runtime", + "actionType" + ], + "members":{ + "applicationId":{"shape":"String"}, + "runtime":{"shape":"String"}, + "vpcEndpointServiceName":{"shape":"String"}, + "listenerPort":{"shape":"Integer"}, + "actionType":{"shape":"M2ManagedActionType"}, + "properties":{"shape":"M2ManagedActionProperties"} + } + }, + "M2ManagedApplicationStepOutput":{ + "type":"structure", + "members":{ + "importDataSetSummary":{"shape":"Properties"} + } + }, + "M2ManagedApplicationStepSummary":{ + "type":"structure", + "required":["stepInput"], + "members":{ + "stepInput":{"shape":"M2ManagedApplicationStepInput"}, + "stepOutput":{"shape":"M2ManagedApplicationStepOutput"} + } + }, + "M2ManagedApplicationSummary":{ + "type":"structure", + "required":[ + "applicationId", + "runtime" + ], + "members":{ + "applicationId":{"shape":"Identifier"}, + "runtime":{"shape":"M2ManagedRuntime"}, + "listenerPort":{"shape":"Integer"} + } + }, + "M2ManagedRuntime":{ + "type":"string", + "enum":["MicroFocus"] + }, + "M2NonManagedActionType":{ + "type":"string", + "enum":[ + "Configure", + "Deconfigure" + ] + }, + "M2NonManagedApplication":{ + "type":"structure", + "required":[ + "vpcEndpointServiceName", + "listenerPort", + "runtime" + ], + "members":{ + "vpcEndpointServiceName":{"shape":"Variable"}, + "listenerPort":{"shape":"Variable"}, + "runtime":{"shape":"M2NonManagedRuntime"}, + "webAppName":{"shape":"Variable"} + } + }, + "M2NonManagedApplicationAction":{ + "type":"structure", + "required":[ + "resource", + "actionType" + ], + "members":{ + "resource":{"shape":"Variable"}, + "actionType":{"shape":"M2NonManagedActionType"} + } + }, + "M2NonManagedApplicationStepInput":{ + "type":"structure", + "required":[ + "vpcEndpointServiceName", + "listenerPort", + "runtime", + "actionType" + ], + "members":{ + "vpcEndpointServiceName":{"shape":"String"}, + "listenerPort":{"shape":"Integer"}, + "runtime":{"shape":"M2NonManagedRuntime"}, + "webAppName":{"shape":"String"}, + "actionType":{"shape":"M2NonManagedActionType"} + } + }, + "M2NonManagedApplicationStepOutput":{ + "type":"structure", + "members":{ + } + }, + "M2NonManagedApplicationStepSummary":{ + "type":"structure", + "required":["stepInput"], + "members":{ + "stepInput":{"shape":"M2NonManagedApplicationStepInput"}, + "stepOutput":{"shape":"M2NonManagedApplicationStepOutput"} + } + }, + "M2NonManagedApplicationSummary":{ + "type":"structure", + "required":[ + "vpcEndpointServiceName", + "listenerPort", + "runtime" + ], + "members":{ + "vpcEndpointServiceName":{"shape":"String"}, + "listenerPort":{"shape":"Integer"}, + "runtime":{"shape":"M2NonManagedRuntime"}, + "webAppName":{"shape":"String"} + } + }, + "M2NonManagedRuntime":{ + "type":"string", + "enum":["BluAge"] + }, + "MainframeAction":{ + "type":"structure", + "required":[ + "resource", + "actionType" + ], + "members":{ + "resource":{"shape":"Variable"}, + "actionType":{"shape":"MainframeActionType"}, + "properties":{"shape":"MainframeActionProperties"} + } + }, + "MainframeActionProperties":{ + "type":"structure", + "members":{ + "dmsTaskArn":{"shape":"Variable"} + } + }, + "MainframeActionSummary":{ + "type":"structure", + "members":{ + "batch":{"shape":"BatchSummary"}, + "tn3270":{"shape":"TN3270Summary"} + }, + "union":true + }, + "MainframeActionType":{ + "type":"structure", + "members":{ + "batch":{"shape":"Batch"}, + "tn3270":{"shape":"TN3270"} + }, + "union":true + }, + "MainframeResourceSummary":{ + "type":"structure", + "members":{ + "m2ManagedApplication":{"shape":"M2ManagedApplicationSummary"}, + "m2NonManagedApplication":{"shape":"M2NonManagedApplicationSummary"} + }, + "union":true + }, + "MaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "NextToken":{ + "type":"string", + "pattern":"\\S{1,2000}" + }, + "Output":{ + "type":"structure", + "members":{ + "file":{"shape":"OutputFile"} + }, + "union":true + }, + "OutputFile":{ + "type":"structure", + "members":{ + "fileLocation":{"shape":"S3Uri"} + } + }, + "Properties":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "Resource":{ + "type":"structure", + "required":[ + "name", + "type" + ], + "members":{ + "name":{"shape":"ResourceName"}, + "type":{"shape":"ResourceType"} + } + }, + "ResourceAction":{ + "type":"structure", + "members":{ + "m2ManagedApplicationAction":{"shape":"M2ManagedApplicationAction"}, + "m2NonManagedApplicationAction":{"shape":"M2NonManagedApplicationAction"}, + "cloudFormationAction":{"shape":"CloudFormationAction"} + }, + "union":true + }, + "ResourceActionSummary":{ + "type":"structure", + "members":{ + "cloudFormation":{"shape":"CloudFormationStepSummary"}, + "m2ManagedApplication":{"shape":"M2ManagedApplicationStepSummary"}, + "m2NonManagedApplication":{"shape":"M2NonManagedApplicationStepSummary"} + }, + "union":true + }, + "ResourceDescription":{ + "type":"string", + "max":1000, + "min":0 + }, + "ResourceList":{ + "type":"list", + "member":{"shape":"Resource"}, + "max":20, + "min":1 + }, + "ResourceName":{ + "type":"string", + "pattern":"[A-Za-z][A-Za-z0-9_\\-]{1,59}" + }, + "ResourceNotFoundException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceType":{"shape":"String"} + }, + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "ResourceType":{ + "type":"structure", + "members":{ + "cloudFormation":{"shape":"CloudFormation"}, + "m2ManagedApplication":{"shape":"M2ManagedApplication"}, + "m2NonManagedApplication":{"shape":"M2NonManagedApplication"} + }, + "union":true + }, + "S3Uri":{ + "type":"string", + "max":1024, + "min":0 + }, + "Script":{ + "type":"structure", + "required":[ + "scriptLocation", + "type" + ], + "members":{ + "scriptLocation":{"shape":"S3Uri"}, + "type":{"shape":"ScriptType"} + } + }, + "ScriptSummary":{ + "type":"structure", + "required":[ + "scriptLocation", + "type" + ], + "members":{ + "scriptLocation":{"shape":"S3Uri"}, + "type":{"shape":"ScriptType"} + } + }, + "ScriptType":{ + "type":"string", + "enum":["Selenium"] + }, + "ServiceQuotaExceededException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceType":{"shape":"String"}, + "serviceCode":{"shape":"String"}, + "quotaCode":{"shape":"String"} + }, + "error":{ + "httpStatusCode":402, + "senderFault":true + }, + "exception":true + }, + "ServiceSettings":{ + "type":"structure", + "members":{ + "kmsKeyId":{"shape":"String"} + } + }, + "SourceDatabase":{ + "type":"string", + "enum":["z/OS-DB2"] + }, + "SourceDatabaseMetadata":{ + "type":"structure", + "required":[ + "type", + "captureTool" + ], + "members":{ + "type":{"shape":"SourceDatabase"}, + "captureTool":{"shape":"CaptureTool"} + } + }, + "StartTestRunRequest":{ + "type":"structure", + "required":["testSuiteId"], + "members":{ + "testSuiteId":{"shape":"Identifier"}, + "testConfigurationId":{"shape":"Identifier"}, + "clientToken":{ + "shape":"IdempotencyTokenString", + "idempotencyToken":true + }, + "tags":{"shape":"TagMap"} + } + }, + "StartTestRunResponse":{ + "type":"structure", + "required":[ + "testRunId", + "testRunStatus" + ], + "members":{ + "testRunId":{"shape":"Identifier"}, + "testRunStatus":{"shape":"TestRunStatus"} + } + }, + "Step":{ + "type":"structure", + "required":[ + "name", + "action" + ], + "members":{ + "name":{"shape":"ResourceName"}, + "description":{"shape":"ResourceDescription"}, + "action":{"shape":"StepAction"} + } + }, + "StepAction":{ + "type":"structure", + "members":{ + "resourceAction":{"shape":"ResourceAction"}, + "mainframeAction":{"shape":"MainframeAction"}, + "compareAction":{"shape":"CompareAction"} + }, + "union":true + }, + "StepList":{ + "type":"list", + "member":{"shape":"Step"}, + "max":20, + "min":1 + }, + "StepRunStatus":{ + "type":"string", + "enum":[ + "Success", + "Failed", + "Running" + ] + }, + "StepRunSummary":{ + "type":"structure", + "members":{ + "mainframeAction":{"shape":"MainframeActionSummary"}, + "compareAction":{"shape":"CompareActionSummary"}, + "resourceAction":{"shape":"ResourceActionSummary"} + }, + "union":true + }, + "String":{"type":"string"}, + "String100":{ + "type":"string", + "pattern":"\\S{1,100}" + }, + "String50":{ + "type":"string", + "pattern":"\\S{1,50}" + }, + "TN3270":{ + "type":"structure", + "required":["script"], + "members":{ + "script":{"shape":"Script"}, + "exportDataSetNames":{"shape":"ExportDataSetNames"} + } + }, + "TN3270StepInput":{ + "type":"structure", + "required":[ + "resource", + "script" + ], + "members":{ + "resource":{"shape":"MainframeResourceSummary"}, + "script":{"shape":"ScriptSummary"}, + "exportDataSetNames":{"shape":"ExportDataSetNames"}, + "properties":{"shape":"MainframeActionProperties"} + } + }, + "TN3270StepOutput":{ + "type":"structure", + "required":["scriptOutputLocation"], + "members":{ + "dataSetExportLocation":{"shape":"S3Uri"}, + "dmsOutputLocation":{"shape":"S3Uri"}, + "dataSetDetails":{"shape":"DataSetList"}, + "scriptOutputLocation":{"shape":"S3Uri"} + } + }, + "TN3270Summary":{ + "type":"structure", + "required":["stepInput"], + "members":{ + "stepInput":{"shape":"TN3270StepInput"}, + "stepOutput":{"shape":"TN3270StepOutput"} + } + }, + "TagKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"(?!aws:).+" + }, + "TagKeyList":{ + "type":"list", + "member":{"shape":"TagKey"} + }, + "TagMap":{ + "type":"map", + "key":{"shape":"TagKey"}, + "value":{"shape":"TagValue"}, + "max":200, + "min":0 + }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "resourceArn", + "tags" + ], + "members":{ + "resourceArn":{ + "shape":"Arn", + "location":"uri", + "locationName":"resourceArn" + }, + "tags":{"shape":"TagMap"} + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "TagValue":{ + "type":"string", + "max":256, + "min":0 + }, + "TargetDatabase":{ + "type":"string", + "enum":["PostgreSQL"] + }, + "TargetDatabaseMetadata":{ + "type":"structure", + "required":[ + "type", + "captureTool" + ], + "members":{ + "type":{"shape":"TargetDatabase"}, + "captureTool":{"shape":"CaptureTool"} + } + }, + "TestCaseIdList":{ + "type":"list", + "member":{"shape":"Identifier"} + }, + "TestCaseLatestVersion":{ + "type":"structure", + "required":[ + "version", + "status" + ], + "members":{ + "version":{"shape":"Version"}, + "status":{"shape":"TestCaseLifecycle"}, + "statusReason":{"shape":"String"} + } + }, + "TestCaseLifecycle":{ + "type":"string", + "enum":[ + "Active", + "Deleting" + ] + }, + "TestCaseList":{ + "type":"list", + "member":{"shape":"Identifier"} + }, + "TestCaseRunStatus":{ + "type":"string", + "enum":[ + "Success", + "Running", + "Failed" + ] + }, + "TestCaseRunSummary":{ + "type":"structure", + "required":[ + "testCaseId", + "testCaseVersion", + "testRunId", + "status", + "runStartTime" + ], + "members":{ + "testCaseId":{"shape":"Identifier"}, + "testCaseVersion":{"shape":"Version"}, + "testRunId":{"shape":"Identifier"}, + "status":{"shape":"TestCaseRunStatus"}, + "statusReason":{"shape":"String"}, + "runStartTime":{"shape":"Timestamp"}, + "runEndTime":{"shape":"Timestamp"} + } + }, + "TestCaseRunSummaryList":{ + "type":"list", + "member":{"shape":"TestCaseRunSummary"} + }, + "TestCaseSummary":{ + "type":"structure", + "required":[ + "testCaseId", + "testCaseArn", + "name", + "latestVersion", + "status", + "creationTime", + "lastUpdateTime" + ], + "members":{ + "testCaseId":{"shape":"Identifier"}, + "testCaseArn":{"shape":"Arn"}, + "name":{"shape":"ResourceName"}, + "statusReason":{"shape":"String"}, + "latestVersion":{"shape":"Version"}, + "status":{"shape":"TestCaseLifecycle"}, + "creationTime":{"shape":"Timestamp"}, + "lastUpdateTime":{"shape":"Timestamp"} + } + }, + "TestCaseSummaryList":{ + "type":"list", + "member":{"shape":"TestCaseSummary"} + }, + "TestCases":{ + "type":"structure", + "members":{ + "sequential":{"shape":"TestCaseList"} + }, + "union":true + }, + "TestConfigurationIdList":{ + "type":"list", + "member":{"shape":"Identifier"} + }, + "TestConfigurationLatestVersion":{ + "type":"structure", + "required":[ + "version", + "status" + ], + "members":{ + "version":{"shape":"Version"}, + "status":{"shape":"TestConfigurationLifecycle"}, + "statusReason":{"shape":"String"} + } + }, + "TestConfigurationLifecycle":{ + "type":"string", + "enum":[ + "Active", + "Deleting" + ] + }, + "TestConfigurationList":{ + "type":"list", + "member":{"shape":"TestConfigurationSummary"} + }, + "TestConfigurationSummary":{ + "type":"structure", + "required":[ + "testConfigurationId", + "name", + "latestVersion", + "testConfigurationArn", + "status", + "creationTime", + "lastUpdateTime" + ], + "members":{ + "testConfigurationId":{"shape":"Identifier"}, + "name":{"shape":"ResourceName"}, + "statusReason":{"shape":"String"}, + "latestVersion":{"shape":"Version"}, + "testConfigurationArn":{"shape":"Arn"}, + "status":{"shape":"TestConfigurationLifecycle"}, + "creationTime":{"shape":"Timestamp"}, + "lastUpdateTime":{"shape":"Timestamp"} + } + }, + "TestRunIdList":{ + "type":"list", + "member":{"shape":"Identifier"} + }, + "TestRunStatus":{ + "type":"string", + "enum":[ + "Success", + "Running", + "Failed", + "Deleting" + ] + }, + "TestRunStepSummary":{ + "type":"structure", + "required":[ + "stepName", + "testRunId", + "status", + "runStartTime" + ], + "members":{ + "stepName":{"shape":"ResourceName"}, + "testRunId":{"shape":"Identifier"}, + "testCaseId":{"shape":"Identifier"}, + "testCaseVersion":{"shape":"Version"}, + "testSuiteId":{"shape":"Identifier"}, + "testSuiteVersion":{"shape":"Version"}, + "beforeStep":{"shape":"Boolean"}, + "afterStep":{"shape":"Boolean"}, + "status":{"shape":"StepRunStatus"}, + "statusReason":{"shape":"String"}, + "runStartTime":{"shape":"Timestamp"}, + "runEndTime":{"shape":"Timestamp"} + } + }, + "TestRunStepSummaryList":{ + "type":"list", + "member":{"shape":"TestRunStepSummary"} + }, + "TestRunSummary":{ + "type":"structure", + "required":[ + "testRunId", + "testRunArn", + "testSuiteId", + "testSuiteVersion", + "status", + "runStartTime" + ], + "members":{ + "testRunId":{"shape":"Identifier"}, + "testRunArn":{"shape":"Arn"}, + "testSuiteId":{"shape":"Identifier"}, + "testSuiteVersion":{"shape":"Version"}, + "testConfigurationId":{"shape":"Identifier"}, + "testConfigurationVersion":{"shape":"Version"}, + "status":{"shape":"TestRunStatus"}, + "statusReason":{"shape":"String"}, + "runStartTime":{"shape":"Timestamp"}, + "runEndTime":{"shape":"Timestamp"} + } + }, + "TestRunSummaryList":{ + "type":"list", + "member":{"shape":"TestRunSummary"} + }, + "TestSuiteIdList":{ + "type":"list", + "member":{"shape":"Identifier"} + }, + "TestSuiteLatestVersion":{ + "type":"structure", + "required":[ + "version", + "status" + ], + "members":{ + "version":{"shape":"Version"}, + "status":{"shape":"TestSuiteLifecycle"}, + "statusReason":{"shape":"String"} + } + }, + "TestSuiteLifecycle":{ + "type":"string", + "enum":[ + "Creating", + "Updating", + "Active", + "Failed", + "Deleting" + ] + }, + "TestSuiteList":{ + "type":"list", + "member":{"shape":"TestSuiteSummary"} + }, + "TestSuiteSummary":{ + "type":"structure", + "required":[ + "testSuiteId", + "name", + "latestVersion", + "testSuiteArn", + "status", + "creationTime", + "lastUpdateTime" + ], + "members":{ + "testSuiteId":{"shape":"Identifier"}, + "name":{"shape":"ResourceName"}, + "statusReason":{"shape":"String"}, + "latestVersion":{"shape":"Version"}, + "testSuiteArn":{"shape":"Arn"}, + "status":{"shape":"TestSuiteLifecycle"}, + "creationTime":{"shape":"Timestamp"}, + "lastUpdateTime":{"shape":"Timestamp"} + } + }, + "ThrottlingException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "serviceCode":{"shape":"String"}, + "quotaCode":{"shape":"String"}, + "retryAfterSeconds":{ + "shape":"Integer", + "location":"header", + "locationName":"Retry-After" + } + }, + "error":{ + "httpStatusCode":429, + "senderFault":true + }, + "exception":true, + "retryable":{"throttling":true} + }, + "Timestamp":{"type":"timestamp"}, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "resourceArn", + "tagKeys" + ], + "members":{ + "resourceArn":{ + "shape":"Arn", + "location":"uri", + "locationName":"resourceArn" + }, + "tagKeys":{ + "shape":"TagKeyList", + "location":"querystring", + "locationName":"tagKeys" + } + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateTestCaseRequest":{ + "type":"structure", + "required":["testCaseId"], + "members":{ + "testCaseId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testCaseId" + }, + "description":{"shape":"ResourceDescription"}, + "steps":{"shape":"StepList"} + } + }, + "UpdateTestCaseResponse":{ + "type":"structure", + "required":[ + "testCaseId", + "testCaseVersion" + ], + "members":{ + "testCaseId":{"shape":"Identifier"}, + "testCaseVersion":{"shape":"Version"} + } + }, + "UpdateTestConfigurationRequest":{ + "type":"structure", + "required":["testConfigurationId"], + "members":{ + "testConfigurationId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testConfigurationId" + }, + "description":{"shape":"ResourceDescription"}, + "resources":{"shape":"ResourceList"}, + "properties":{"shape":"Properties"}, + "serviceSettings":{"shape":"ServiceSettings"} + } + }, + "UpdateTestConfigurationResponse":{ + "type":"structure", + "required":[ + "testConfigurationId", + "testConfigurationVersion" + ], + "members":{ + "testConfigurationId":{"shape":"Identifier"}, + "testConfigurationVersion":{"shape":"Version"} + } + }, + "UpdateTestSuiteRequest":{ + "type":"structure", + "required":["testSuiteId"], + "members":{ + "testSuiteId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"testSuiteId" + }, + "description":{"shape":"ResourceDescription"}, + "beforeSteps":{"shape":"StepList"}, + "afterSteps":{"shape":"StepList"}, + "testCases":{"shape":"TestCases"} + } + }, + "UpdateTestSuiteResponse":{ + "type":"structure", + "required":["testSuiteId"], + "members":{ + "testSuiteId":{"shape":"Identifier"}, + "testSuiteVersion":{"shape":"Version"} + } + }, + "ValidationException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "reason":{"shape":"ValidationExceptionReason"}, + "fieldList":{"shape":"ValidationExceptionFieldList"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "ValidationExceptionField":{ + "type":"structure", + "required":[ + "name", + "message" + ], + "members":{ + "name":{"shape":"String"}, + "message":{"shape":"String"} + } + }, + "ValidationExceptionFieldList":{ + "type":"list", + "member":{"shape":"ValidationExceptionField"} + }, + "ValidationExceptionReason":{ + "type":"string", + "enum":[ + "unknownOperation", + "cannotParse", + "fieldValidationFailed", + "other" + ] + }, + "Variable":{ + "type":"string", + "pattern":"\\S{1,1000}" + }, + "Version":{ + "type":"integer", + "box":true + } + } +} diff --git a/models/apis/apptest/2022-12-06/docs-2.json b/models/apis/apptest/2022-12-06/docs-2.json new file mode 100644 index 00000000000..96c531d77c3 --- /dev/null +++ b/models/apis/apptest/2022-12-06/docs-2.json @@ -0,0 +1,1387 @@ +{ + "version": "2.0", + "service": "

AWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.

", + "operations": { + "CreateTestCase": "

Creates a test case.

", + "CreateTestConfiguration": "

Creates a test configuration.

", + "CreateTestSuite": "

Creates a test suite.

", + "DeleteTestCase": "

Deletes a test case.

", + "DeleteTestConfiguration": "

Deletes a test configuration.

", + "DeleteTestRun": "

Deletes a test run.

", + "DeleteTestSuite": "

Deletes a test suite.

", + "GetTestCase": "

Gets a test case.

", + "GetTestConfiguration": "

Gets a test configuration.

", + "GetTestRunStep": "

Gets a test run step.

", + "GetTestSuite": "

Gets a test suite.

", + "ListTagsForResource": "

Lists tags for a resource.

", + "ListTestCases": "

Lists test cases.

", + "ListTestConfigurations": "

Lists test configurations.

", + "ListTestRunSteps": "

Lists test run steps.

", + "ListTestRunTestCases": "

Lists test run test cases.

", + "ListTestRuns": "

Lists test runs.

", + "ListTestSuites": "

Lists test suites.

", + "StartTestRun": "

Starts a test run.

", + "TagResource": "

Specifies tags of a resource.

", + "UntagResource": "

Untags a resource.

", + "UpdateTestCase": "

Updates a test case.

", + "UpdateTestConfiguration": "

Updates a test configuration.

", + "UpdateTestSuite": "

Updates a test suite.

" + }, + "shapes": { + "AccessDeniedException": { + "base": "

The account or role doesn't have the right permissions to make the request.

", + "refs": { + } + }, + "Arn": { + "base": null, + "refs": { + "GetTestCaseResponse$testCaseArn": "

The Amazon Resource Name (ARN) of the test case.

", + "GetTestConfigurationResponse$testConfigurationArn": "

The test configuration Amazon Resource Name (ARN).

", + "GetTestSuiteResponse$testSuiteArn": "

The test suite Amazon Resource Name (ARN).

", + "ListTagsForResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", + "TagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the tag resource.

", + "TestCaseSummary$testCaseArn": "

The test case Amazon Resource Name (ARN) of the test case summary.

", + "TestConfigurationSummary$testConfigurationArn": "

The test configuration ARN of the test configuration summary.

", + "TestRunSummary$testRunArn": "

The test run ARN of the test run summary.

", + "TestSuiteSummary$testSuiteArn": "

The test suite Amazon Resource Name (ARN) of the test suite summary.

", + "UntagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

" + } + }, + "Batch": { + "base": "

Defines a batch.

", + "refs": { + "MainframeActionType$batch": "

The batch of the mainframe action type.

" + } + }, + "BatchJobParameters": { + "base": null, + "refs": { + "Batch$batchJobParameters": "

The batch job parameters of the batch.

", + "BatchStepInput$batchJobParameters": "

The batch job parameters of the batch step input.

" + } + }, + "BatchStepInput": { + "base": "

Defines a batch step input.

", + "refs": { + "BatchSummary$stepInput": "

The step input of the batch summary.

" + } + }, + "BatchStepOutput": { + "base": "

Defines a batch step output.

", + "refs": { + "BatchSummary$stepOutput": "

The step output of the batch summary.

" + } + }, + "BatchSummary": { + "base": "

Summarizes a batch job.

", + "refs": { + "MainframeActionSummary$batch": "

The batch of the mainframe action summary.

" + } + }, + "Boolean": { + "base": null, + "refs": { + "GetTestRunStepResponse$beforeStep": "

The before steps of the test run step.

", + "GetTestRunStepResponse$afterStep": "

The after steps of the test run step.

", + "M2ManagedActionProperties$forceStop": "

Force stops the AWS Mainframe Modernization managed action properties.

", + "TestRunStepSummary$beforeStep": "

The before step of the test run step summary.

", + "TestRunStepSummary$afterStep": "

The after step of the test run step summary.

" + } + }, + "CaptureTool": { + "base": null, + "refs": { + "SourceDatabaseMetadata$captureTool": "

The capture tool of the source database metadata.

", + "TargetDatabaseMetadata$captureTool": "

The capture tool of the target database metadata.

" + } + }, + "CloudFormation": { + "base": "

Specifies the CloudFormation template and its parameters.

", + "refs": { + "ResourceType$cloudFormation": "

The CloudFormation template of the resource type.

" + } + }, + "CloudFormationAction": { + "base": "

Specifies the CloudFormation action.

", + "refs": { + "ResourceAction$cloudFormationAction": "

The CloudFormation action of the resource action.

" + } + }, + "CloudFormationActionType": { + "base": null, + "refs": { + "CloudFormationAction$actionType": "

The action type of the CloudFormation action.

" + } + }, + "CloudFormationStepSummary": { + "base": "

Specifies the CloudFormation step summary.

", + "refs": { + "ResourceActionSummary$cloudFormation": "

The CloudFormation template of the resource action summary.

" + } + }, + "CompareAction": { + "base": "

Compares the action.

", + "refs": { + "StepAction$compareAction": "

The compare action of the step action.

" + } + }, + "CompareActionSummary": { + "base": "

Specifies the compare action summary.

", + "refs": { + "StepRunSummary$compareAction": "

The compare action of the step run summary.

" + } + }, + "CompareDataSetsStepInput": { + "base": "

Specifies the compare data sets step input.

", + "refs": { + "CompareDataSetsSummary$stepInput": "

The step input of the compare data sets summary.

" + } + }, + "CompareDataSetsStepOutput": { + "base": "

Specifies the compare data sets step output.

", + "refs": { + "CompareDataSetsSummary$stepOutput": "

The step output of the compare data sets summary.

" + } + }, + "CompareDataSetsSummary": { + "base": "

Compares data sets summary.

", + "refs": { + "CompareFileType$datasets": "

The data sets in the compare file type.

" + } + }, + "CompareDatabaseCDCStepInput": { + "base": "

Compares the database Change Data Capture (CDC) step input.

", + "refs": { + "CompareDatabaseCDCSummary$stepInput": "

The step input of the compare database CDC summary.

" + } + }, + "CompareDatabaseCDCStepOutput": { + "base": "

Compares the database CDC step output.

", + "refs": { + "CompareDatabaseCDCSummary$stepOutput": "

The step output of the compare database CDC summary.

" + } + }, + "CompareDatabaseCDCSummary": { + "base": "

Compares the database CDC summary.

", + "refs": { + "CompareFileType$databaseCDC": "

The database CDC of the compare file type.

" + } + }, + "CompareFileType": { + "base": "

Compares the file type.

", + "refs": { + "File$fileType": "

The file type of the file.

" + } + }, + "ComparisonStatusEnum": { + "base": null, + "refs": { + "CompareDataSetsStepOutput$comparisonStatus": "

The comparison status of the compare data sets step output.

", + "CompareDatabaseCDCStepOutput$comparisonStatus": "

The comparison status of the compare database CDC step output.

" + } + }, + "ConflictException": { + "base": "

The parameters provided in the request conflict with existing resources.

", + "refs": { + } + }, + "CreateCloudFormationStepInput": { + "base": "

Creates the CloudFormation step input.

", + "refs": { + "CreateCloudFormationSummary$stepInput": "

The step input of the CloudFormation summary.

" + } + }, + "CreateCloudFormationStepOutput": { + "base": "

Creates a CloudFormation step output.

", + "refs": { + "CreateCloudFormationSummary$stepOutput": "

The step output of the CloudFormation summary.

" + } + }, + "CreateCloudFormationSummary": { + "base": "

Creates a CloudFormation summary.

", + "refs": { + "CloudFormationStepSummary$createCloudformation": "

Creates the CloudFormation summary of the step.

" + } + }, + "CreateTestCaseRequest": { + "base": null, + "refs": { + } + }, + "CreateTestCaseResponse": { + "base": null, + "refs": { + } + }, + "CreateTestConfigurationRequest": { + "base": null, + "refs": { + } + }, + "CreateTestConfigurationResponse": { + "base": null, + "refs": { + } + }, + "CreateTestSuiteRequest": { + "base": null, + "refs": { + } + }, + "CreateTestSuiteResponse": { + "base": null, + "refs": { + } + }, + "DataSet": { + "base": "

Defines a data set.

", + "refs": { + "DataSetList$member": null + } + }, + "DataSetList": { + "base": null, + "refs": { + "BatchStepOutput$dataSetDetails": "

The data set details of the batch step output.

", + "CompareDataSetsStepInput$sourceDataSets": "

The source data sets of the compare data sets step input location.

", + "CompareDataSetsStepInput$targetDataSets": "

The target data sets of the compare data sets step input location.

", + "FileMetadata$dataSets": "

The data sets of the file metadata.

", + "TN3270StepOutput$dataSetDetails": "

The data set details of the TN3270 step output.

" + } + }, + "DataSetType": { + "base": null, + "refs": { + "DataSet$type": "

The type of the data set.

" + } + }, + "DatabaseCDC": { + "base": "

Defines the Change Data Capture (CDC) of the database.

", + "refs": { + "FileMetadata$databaseCDC": "

The database CDC of the file metadata.

" + } + }, + "DeleteCloudFormationStepInput": { + "base": "

Deletes the CloudFormation step input.

", + "refs": { + "DeleteCloudFormationSummary$stepInput": "

The step input of the deleted CloudFormation summary.

" + } + }, + "DeleteCloudFormationStepOutput": { + "base": "

Deletes the CloudFormation summary step output.

", + "refs": { + "DeleteCloudFormationSummary$stepOutput": "

The step output of the deleted CloudFormation summary.

" + } + }, + "DeleteCloudFormationSummary": { + "base": "

Deletes the CloudFormation summary.

", + "refs": { + "CloudFormationStepSummary$deleteCloudformation": "

Deletes the CloudFormation summary of the CloudFormation step summary.

" + } + }, + "DeleteTestCaseRequest": { + "base": null, + "refs": { + } + }, + "DeleteTestCaseResponse": { + "base": null, + "refs": { + } + }, + "DeleteTestConfigurationRequest": { + "base": null, + "refs": { + } + }, + "DeleteTestConfigurationResponse": { + "base": null, + "refs": { + } + }, + "DeleteTestRunRequest": { + "base": null, + "refs": { + } + }, + "DeleteTestRunResponse": { + "base": null, + "refs": { + } + }, + "DeleteTestSuiteRequest": { + "base": null, + "refs": { + } + }, + "DeleteTestSuiteResponse": { + "base": null, + "refs": { + } + }, + "ExportDataSetNames": { + "base": null, + "refs": { + "Batch$exportDataSetNames": "

The export data set names of the batch.

", + "BatchStepInput$exportDataSetNames": "

The export data set names of the batch step input.

", + "TN3270$exportDataSetNames": "

The data set names of the TN3270 protocol.

", + "TN3270StepInput$exportDataSetNames": "

The export data set names of the TN3270 step input.

" + } + }, + "File": { + "base": "

Defines a file.

", + "refs": { + "CompareActionSummary$type": "

The type of the compare action summary.

" + } + }, + "FileMetadata": { + "base": "

Specifies a file metadata.

", + "refs": { + "InputFile$fileMetadata": "

The file metadata of the input file.

" + } + }, + "Format": { + "base": null, + "refs": { + "DataSet$format": "

The format of the data set.

" + } + }, + "GetTestCaseRequest": { + "base": null, + "refs": { + } + }, + "GetTestCaseResponse": { + "base": null, + "refs": { + } + }, + "GetTestConfigurationRequest": { + "base": null, + "refs": { + } + }, + "GetTestConfigurationResponse": { + "base": null, + "refs": { + } + }, + "GetTestRunStepRequest": { + "base": null, + "refs": { + } + }, + "GetTestRunStepResponse": { + "base": null, + "refs": { + } + }, + "GetTestSuiteRequest": { + "base": null, + "refs": { + } + }, + "GetTestSuiteResponse": { + "base": null, + "refs": { + } + }, + "IdempotencyTokenString": { + "base": null, + "refs": { + "CreateTestCaseRequest$clientToken": "

The client token of the test case.

", + "CreateTestConfigurationRequest$clientToken": "

The client token of the test configuration.

", + "CreateTestSuiteRequest$clientToken": "

The client token of the test suite.

", + "StartTestRunRequest$clientToken": "

The client token of the test run.

" + } + }, + "Identifier": { + "base": null, + "refs": { + "CreateTestCaseResponse$testCaseId": "

The test case ID of the test case.

", + "CreateTestConfigurationResponse$testConfigurationId": "

The test configuration ID.

", + "CreateTestSuiteResponse$testSuiteId": "

The suite ID of the test suite.

", + "DeleteTestCaseRequest$testCaseId": "

The test case ID of the test case.

", + "DeleteTestConfigurationRequest$testConfigurationId": "

The test ID of the test configuration.

", + "DeleteTestRunRequest$testRunId": "

The run ID of the test run.

", + "DeleteTestSuiteRequest$testSuiteId": "

The test ID of the test suite.

", + "GetTestCaseRequest$testCaseId": "

The request test ID of the test case.

", + "GetTestCaseResponse$testCaseId": "

The response test ID of the test case.

", + "GetTestConfigurationRequest$testConfigurationId": "

The request test configuration ID.

", + "GetTestConfigurationResponse$testConfigurationId": "

The response test configuration ID.

", + "GetTestRunStepRequest$testRunId": "

The test run ID of the test run step.

", + "GetTestRunStepRequest$testCaseId": "

The test case ID of a test run step.

", + "GetTestRunStepRequest$testSuiteId": "

The test suite ID of a test run step.

", + "GetTestRunStepResponse$testRunId": "

The test run ID of the test run step.

", + "GetTestRunStepResponse$testCaseId": "

The test case ID of the test run step.

", + "GetTestRunStepResponse$testSuiteId": "

The test suite ID of the test run step.

", + "GetTestSuiteRequest$testSuiteId": "

The ID of the test suite.

", + "GetTestSuiteResponse$testSuiteId": "

The response ID of the test suite.

", + "ListTestRunStepsRequest$testRunId": "

The test run ID of the test run steps.

", + "ListTestRunStepsRequest$testCaseId": "

The test case ID of the test run steps.

", + "ListTestRunStepsRequest$testSuiteId": "

The test suite ID of the test run steps.

", + "ListTestRunTestCasesRequest$testRunId": "

The test run ID of the test cases.

", + "ListTestRunsRequest$testSuiteId": "

The test suite ID of the test runs.

", + "M2ManagedApplicationSummary$applicationId": "

The application ID of the AWS Mainframe Modernization managed application summary.

", + "StartTestRunRequest$testSuiteId": "

The test suite ID of the test run.

", + "StartTestRunRequest$testConfigurationId": "

The configuration ID of the test run.

", + "StartTestRunResponse$testRunId": "

The test run ID of the test run.

", + "TestCaseIdList$member": null, + "TestCaseList$member": null, + "TestCaseRunSummary$testCaseId": "

The test case id of the test case run summary.

", + "TestCaseRunSummary$testRunId": "

The test run id of the test case run summary.

", + "TestCaseSummary$testCaseId": "

The test case ID of the test case summary.

", + "TestConfigurationIdList$member": null, + "TestConfigurationSummary$testConfigurationId": "

The test configuration ID of the test configuration summary.

", + "TestRunIdList$member": null, + "TestRunStepSummary$testRunId": "

The test run ID of the test run step summary.

", + "TestRunStepSummary$testCaseId": "

The test case ID of the test run step summary.

", + "TestRunStepSummary$testSuiteId": "

The test suite ID of the test run step summary.

", + "TestRunSummary$testRunId": "

The test run ID of the test run summary.

", + "TestRunSummary$testSuiteId": "

The test suite ID of the test run summary.

", + "TestRunSummary$testConfigurationId": "

The test configuration ID of the test run summary.

", + "TestSuiteIdList$member": null, + "TestSuiteSummary$testSuiteId": "

The test suite ID of the test suite summary.

", + "UpdateTestCaseRequest$testCaseId": "

The test case ID of the test case.

", + "UpdateTestCaseResponse$testCaseId": "

The test case ID of the test case.

", + "UpdateTestConfigurationRequest$testConfigurationId": "

The test configuration ID of the test configuration.

", + "UpdateTestConfigurationResponse$testConfigurationId": "

The configuration ID of the test configuration.

", + "UpdateTestSuiteRequest$testSuiteId": "

The test suite ID of the test suite.

", + "UpdateTestSuiteResponse$testSuiteId": "

The test suite ID of the test suite.

" + } + }, + "Input": { + "base": "

Specifies the input.

", + "refs": { + "CompareAction$input": "

The input of the compare action.

" + } + }, + "InputFile": { + "base": "

Specifies the input file.

", + "refs": { + "Input$file": "

The file in the input.

" + } + }, + "Integer": { + "base": null, + "refs": { + "DataSet$length": "

The length of the data set.

", + "InternalServerException$retryAfterSeconds": "

The number of seconds to retry the query.

", + "M2ManagedApplicationStepInput$listenerPort": "

The listener port of the AWS Mainframe Modernization managed application step input.

", + "M2ManagedApplicationSummary$listenerPort": "

The listener port of the AWS Mainframe Modernization managed application summary.

", + "M2NonManagedApplicationStepInput$listenerPort": "

The listener port of the AWS Mainframe Modernization non-managed application step input.

", + "M2NonManagedApplicationSummary$listenerPort": "

The listener port of the AWS Mainframe Modernization non-managed application summary.

", + "ThrottlingException$retryAfterSeconds": "

The number of seconds to retry after for requests that exceed the limit.

" + } + }, + "InternalServerException": { + "base": "

An unexpected error occurred during the processing of the request.

", + "refs": { + } + }, + "ListTagsForResourceRequest": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceResponse": { + "base": null, + "refs": { + } + }, + "ListTestCasesRequest": { + "base": null, + "refs": { + } + }, + "ListTestCasesResponse": { + "base": null, + "refs": { + } + }, + "ListTestConfigurationsRequest": { + "base": null, + "refs": { + } + }, + "ListTestConfigurationsResponse": { + "base": null, + "refs": { + } + }, + "ListTestRunStepsRequest": { + "base": null, + "refs": { + } + }, + "ListTestRunStepsResponse": { + "base": null, + "refs": { + } + }, + "ListTestRunTestCasesRequest": { + "base": null, + "refs": { + } + }, + "ListTestRunTestCasesResponse": { + "base": null, + "refs": { + } + }, + "ListTestRunsRequest": { + "base": null, + "refs": { + } + }, + "ListTestRunsResponse": { + "base": null, + "refs": { + } + }, + "ListTestSuitesRequest": { + "base": null, + "refs": { + } + }, + "ListTestSuitesResponse": { + "base": null, + "refs": { + } + }, + "M2ManagedActionProperties": { + "base": "

Specifies the AWS Mainframe Modernization managed action properties.

", + "refs": { + "M2ManagedApplicationAction$properties": "

The properties of the AWS Mainframe Modernization managed application action.

", + "M2ManagedApplicationStepInput$properties": "

The properties of the AWS Mainframe Modernization managed application step input.

" + } + }, + "M2ManagedActionType": { + "base": null, + "refs": { + "M2ManagedApplicationAction$actionType": "

The action type of the AWS Mainframe Modernization managed application action.

", + "M2ManagedApplicationStepInput$actionType": "

The action type of the AWS Mainframe Modernization managed application step input.

" + } + }, + "M2ManagedApplication": { + "base": "

Specifies the AWS Mainframe Modernization managed application.

", + "refs": { + "ResourceType$m2ManagedApplication": "

The AWS Mainframe Modernization managed application of the resource type.

" + } + }, + "M2ManagedApplicationAction": { + "base": "

Specifies the AWS Mainframe Modernization managed application action.

", + "refs": { + "ResourceAction$m2ManagedApplicationAction": "

The AWS Mainframe Modernization managed application action of the resource action.

" + } + }, + "M2ManagedApplicationStepInput": { + "base": "

Specifies the AWS Mainframe Modernization managed application step input.

", + "refs": { + "M2ManagedApplicationStepSummary$stepInput": "

The step input of the AWS Mainframe Modernization managed application step summary.

" + } + }, + "M2ManagedApplicationStepOutput": { + "base": "

Specifies the AWS Mainframe Modernization managed application step output.

", + "refs": { + "M2ManagedApplicationStepSummary$stepOutput": "

The step output of the AWS Mainframe Modernization managed application step summary.

" + } + }, + "M2ManagedApplicationStepSummary": { + "base": "

Specifies the AWS Mainframe Modernization managed application step summary.

", + "refs": { + "ResourceActionSummary$m2ManagedApplication": "

The AWS Mainframe Modernization managed application of the resource action summary.

" + } + }, + "M2ManagedApplicationSummary": { + "base": "

Specifies the AWS Mainframe Modernization managed application summary.

", + "refs": { + "MainframeResourceSummary$m2ManagedApplication": "

The AWS Mainframe Modernization managed application in the mainframe resource summary.

" + } + }, + "M2ManagedRuntime": { + "base": null, + "refs": { + "M2ManagedApplication$runtime": "

The runtime of the AWS Mainframe Modernization managed application.

", + "M2ManagedApplicationSummary$runtime": "

The runtime of the AWS Mainframe Modernization managed application summary.

" + } + }, + "M2NonManagedActionType": { + "base": null, + "refs": { + "M2NonManagedApplicationAction$actionType": "

The action type of the AWS Mainframe Modernization non-managed application action.

", + "M2NonManagedApplicationStepInput$actionType": "

The action type of the AWS Mainframe Modernization non-managed application step input.

" + } + }, + "M2NonManagedApplication": { + "base": "

Specifies the AWS Mainframe Modernization non-managed application.

", + "refs": { + "ResourceType$m2NonManagedApplication": "

The AWS Mainframe Modernization non-managed application of the resource type.

" + } + }, + "M2NonManagedApplicationAction": { + "base": "

Specifies the AWS Mainframe Modernization non-managed application action.

", + "refs": { + "ResourceAction$m2NonManagedApplicationAction": "

The AWS Mainframe Modernization non-managed application action of the resource action.

" + } + }, + "M2NonManagedApplicationStepInput": { + "base": "

Specifies the AWS Mainframe Modernization non-managed application step input.

", + "refs": { + "M2NonManagedApplicationStepSummary$stepInput": "

The step input of the AWS Mainframe Modernization non-managed application step summary.

" + } + }, + "M2NonManagedApplicationStepOutput": { + "base": "

Specifies the AWS Mainframe Modernization non-managed application step output.

", + "refs": { + "M2NonManagedApplicationStepSummary$stepOutput": "

The step output of the AWS Mainframe Modernization non-managed application step summary.

" + } + }, + "M2NonManagedApplicationStepSummary": { + "base": "

Specifies the AWS Mainframe Modernization non-managed application step summary.

", + "refs": { + "ResourceActionSummary$m2NonManagedApplication": "

The AWS Mainframe Modernization non-managed application of the resource action summary.

" + } + }, + "M2NonManagedApplicationSummary": { + "base": "

Specifies the AWS Mainframe Modernization non-managed application summary.

", + "refs": { + "MainframeResourceSummary$m2NonManagedApplication": "

The AWS Mainframe Modernization non-managed application in the mainframe resource summary.

" + } + }, + "M2NonManagedRuntime": { + "base": null, + "refs": { + "M2NonManagedApplication$runtime": "

The runtime of the AWS Mainframe Modernization non-managed application.

", + "M2NonManagedApplicationStepInput$runtime": "

The runtime of the AWS Mainframe Modernization non-managed application step input.

", + "M2NonManagedApplicationSummary$runtime": "

The runtime of the AWS Mainframe Modernization non-managed application summary.

" + } + }, + "MainframeAction": { + "base": "

Specifies the mainframe action.

", + "refs": { + "StepAction$mainframeAction": "

The mainframe action of the step action.

" + } + }, + "MainframeActionProperties": { + "base": "

Specifies the mainframe action properties.

", + "refs": { + "BatchStepInput$properties": "

The properties of the batch step input.

", + "MainframeAction$properties": "

The properties of the mainframe action.

", + "TN3270StepInput$properties": "

The properties of the TN3270 step input.

" + } + }, + "MainframeActionSummary": { + "base": "

Specifies the mainframe action summary.

", + "refs": { + "StepRunSummary$mainframeAction": "

The mainframe action of the step run summary.

" + } + }, + "MainframeActionType": { + "base": "

Specifies the mainframe action type.

", + "refs": { + "MainframeAction$actionType": "

The action type of the mainframe action.

" + } + }, + "MainframeResourceSummary": { + "base": "

Specifies the mainframe resource summary.

", + "refs": { + "BatchStepInput$resource": "

The resource of the batch step input.

", + "TN3270StepInput$resource": "

The resource of the TN3270 step input.

" + } + }, + "MaxResults": { + "base": null, + "refs": { + "ListTestCasesRequest$maxResults": "

The maximum results of the test case.

", + "ListTestConfigurationsRequest$maxResults": "

The maximum results of the test configuration.

", + "ListTestRunStepsRequest$maxResults": "

The maximum number of test run steps to return in one page of results.

", + "ListTestRunTestCasesRequest$maxResults": "

The maximum number of test run test cases to return in one page of results.

", + "ListTestRunsRequest$maxResults": "

The maximum number of test runs to return in one page of results.

", + "ListTestSuitesRequest$maxResults": "

The maximum number of test suites to return in one page of results.

" + } + }, + "NextToken": { + "base": null, + "refs": { + "ListTestCasesRequest$nextToken": "

The next token of the test cases.

", + "ListTestCasesResponse$nextToken": "

The next token in test cases.

", + "ListTestConfigurationsRequest$nextToken": "

The next token for the test configurations.

", + "ListTestConfigurationsResponse$nextToken": "

The next token in the test configurations.

", + "ListTestRunStepsRequest$nextToken": "

The token from a previous step to retrieve the next page of results.

", + "ListTestRunStepsResponse$nextToken": "

The token from a previous request to retrieve the next page of results.

", + "ListTestRunTestCasesRequest$nextToken": "

The token from a previous request to retrieve the next page of results.

", + "ListTestRunTestCasesResponse$nextToken": "

The token from a previous request to retrieve the next page of results.

", + "ListTestRunsRequest$nextToken": "

The token from the previous request to retrieve the next page of test run results.

", + "ListTestRunsResponse$nextToken": "

The token from the previous request to retrieve the next page of results.

", + "ListTestSuitesRequest$nextToken": "

The token from a previous request to retrieve the next page of results.

", + "ListTestSuitesResponse$nextToken": "

The token from a previous request to retrieve the next page of test suites results.

" + } + }, + "Output": { + "base": "

Specifies an output.

", + "refs": { + "CompareAction$output": "

The output of the compare action.

" + } + }, + "OutputFile": { + "base": "

Specifies an output file.

", + "refs": { + "Output$file": "

The file of the output.

" + } + }, + "Properties": { + "base": null, + "refs": { + "CloudFormation$parameters": "

The CloudFormation properties in the CloudFormation template.

", + "CreateCloudFormationStepInput$parameters": "

The CloudFormation properties of the CloudFormation step input.

", + "CreateCloudFormationStepOutput$exports": "

The exports of the CloudFormation step output.

", + "CreateTestConfigurationRequest$properties": "

The properties of the test configuration.

", + "GetTestConfigurationResponse$properties": "

The properties of the test configuration.

", + "M2ManagedApplicationStepOutput$importDataSetSummary": "

The import data set summary of the AWS Mainframe Modernization managed application step output.

", + "UpdateTestConfigurationRequest$properties": "

The properties of the test configuration.

" + } + }, + "Resource": { + "base": "

Specifies a resource.

", + "refs": { + "ResourceList$member": null + } + }, + "ResourceAction": { + "base": "

Specifies a resource action.

", + "refs": { + "StepAction$resourceAction": "

The resource action of the step action.

" + } + }, + "ResourceActionSummary": { + "base": "

Specifies the resource action summary.

", + "refs": { + "StepRunSummary$resourceAction": "

The resource action of the step run summary.

" + } + }, + "ResourceDescription": { + "base": null, + "refs": { + "CreateTestCaseRequest$description": "

The description of the test case.

", + "CreateTestConfigurationRequest$description": "

The description of the test configuration.

", + "CreateTestSuiteRequest$description": "

The description of the test suite.

", + "GetTestCaseResponse$description": "

The description of the test case.

", + "GetTestConfigurationResponse$description": "

The description of the test configuration.

", + "GetTestSuiteResponse$description": "

The description of the test suite.

", + "Step$description": "

The description of the step.

", + "UpdateTestCaseRequest$description": "

The description of the test case.

", + "UpdateTestConfigurationRequest$description": "

The description of the test configuration.

", + "UpdateTestSuiteRequest$description": "

The description of the test suite.

" + } + }, + "ResourceList": { + "base": null, + "refs": { + "CreateTestConfigurationRequest$resources": "

The defined resources of the test configuration.

", + "GetTestConfigurationResponse$resources": "

The resources of the test configuration.

", + "UpdateTestConfigurationRequest$resources": "

The resources of the test configuration.

" + } + }, + "ResourceName": { + "base": null, + "refs": { + "BatchStepInput$batchJobName": "

The batch job name of the batch step input.

", + "CreateTestCaseRequest$name": "

The name of the test case.

", + "CreateTestConfigurationRequest$name": "

The name of the test configuration.

", + "CreateTestSuiteRequest$name": "

The name of the test suite.

", + "GetTestCaseResponse$name": "

The name of the test case.

", + "GetTestConfigurationResponse$name": "

The test configuration name

", + "GetTestRunStepRequest$stepName": "

The step name of the test run step.

", + "GetTestRunStepResponse$stepName": "

The step name of the test run step.

", + "GetTestSuiteResponse$name": "

The name of the test suite.

", + "Resource$name": "

The name of the resource.

", + "Step$name": "

The name of the step.

", + "TestCaseSummary$name": "

The name of the test case summary.

", + "TestConfigurationSummary$name": "

The name of the test configuration summary.

", + "TestRunStepSummary$stepName": "

The step name of the test run step summary.

", + "TestSuiteSummary$name": "

The name of the test suite summary.

" + } + }, + "ResourceNotFoundException": { + "base": "

The specified resource was not found.

", + "refs": { + } + }, + "ResourceType": { + "base": "

Specifies the resource type.

", + "refs": { + "Resource$type": "

The type of the resource.

" + } + }, + "S3Uri": { + "base": null, + "refs": { + "BatchStepOutput$dataSetExportLocation": "

The data set export location of the batch step output.

", + "BatchStepOutput$dmsOutputLocation": "

The Database Migration Service (DMS) output location of the batch step output.

", + "CloudFormation$templateLocation": "

The template location of the CloudFormation template.

", + "CompareDataSetsStepInput$sourceLocation": "

The source location of the compare data sets step input location.

", + "CompareDataSetsStepInput$targetLocation": "

The target location of the compare data sets step input location.

", + "CompareDataSetsStepOutput$comparisonOutputLocation": "

The comparison output location of the compare data sets step output.

", + "CreateCloudFormationStepInput$templateLocation": "

The template location of the CloudFormation step input.

", + "OutputFile$fileLocation": "

The file location of the output file.

", + "Script$scriptLocation": "

The script location of the scripts.

", + "ScriptSummary$scriptLocation": "

The script location of the script summary.

", + "TN3270StepOutput$dataSetExportLocation": "

The data set export location of the TN3270 step output.

", + "TN3270StepOutput$dmsOutputLocation": "

The output location of the TN3270 step output.

", + "TN3270StepOutput$scriptOutputLocation": "

The script output location of the TN3270 step output.

" + } + }, + "Script": { + "base": "

Specifies the script.

", + "refs": { + "TN3270$script": "

The script of the TN3270 protocol.

" + } + }, + "ScriptSummary": { + "base": "

Specifies the scripts summary.

", + "refs": { + "TN3270StepInput$script": "

The script of the TN3270 step input.

" + } + }, + "ScriptType": { + "base": null, + "refs": { + "Script$type": "

The type of the scripts.

", + "ScriptSummary$type": "

The type of the script summary.

" + } + }, + "ServiceQuotaExceededException": { + "base": "

One or more quotas for AWS Application Testing exceeds the limit.

", + "refs": { + } + }, + "ServiceSettings": { + "base": "

Specifies the service settings.

", + "refs": { + "CreateTestConfigurationRequest$serviceSettings": "

The service settings of the test configuration.

", + "GetTestConfigurationResponse$serviceSettings": "

The service settings of the test configuration.

", + "UpdateTestConfigurationRequest$serviceSettings": "

The service settings of the test configuration.

" + } + }, + "SourceDatabase": { + "base": null, + "refs": { + "SourceDatabaseMetadata$type": "

The type of the source database metadata.

" + } + }, + "SourceDatabaseMetadata": { + "base": "

Specifies the source database metadata.

", + "refs": { + "CompareDatabaseCDCStepInput$sourceMetadata": "

The source metadata of the compare database CDC step input.

", + "DatabaseCDC$sourceMetadata": "

The source metadata of the database CDC.

" + } + }, + "StartTestRunRequest": { + "base": null, + "refs": { + } + }, + "StartTestRunResponse": { + "base": null, + "refs": { + } + }, + "Step": { + "base": "

Defines a step.

", + "refs": { + "StepList$member": null + } + }, + "StepAction": { + "base": "

Specifies a step action.

", + "refs": { + "Step$action": "

The action of the step.

" + } + }, + "StepList": { + "base": null, + "refs": { + "CreateTestCaseRequest$steps": "

The steps in the test case.

", + "CreateTestSuiteRequest$beforeSteps": "

The before steps of the test suite.

", + "CreateTestSuiteRequest$afterSteps": "

The after steps of the test suite.

", + "GetTestCaseResponse$steps": "

The steps of the test case.

", + "GetTestSuiteResponse$beforeSteps": "

The before steps of the test suite.

", + "GetTestSuiteResponse$afterSteps": "

The after steps of the test suite.

", + "UpdateTestCaseRequest$steps": "

The steps of the test case.

", + "UpdateTestSuiteRequest$beforeSteps": "

The before steps for the test suite.

", + "UpdateTestSuiteRequest$afterSteps": "

The after steps of the test suite.

" + } + }, + "StepRunStatus": { + "base": null, + "refs": { + "GetTestRunStepResponse$status": "

The status of the test run step.

", + "TestRunStepSummary$status": "

The status of the test run step summary.

" + } + }, + "StepRunSummary": { + "base": "

Defines the step run summary.

", + "refs": { + "GetTestRunStepResponse$stepRunSummary": "

The step run summary of the test run step.

" + } + }, + "String": { + "base": null, + "refs": { + "AccessDeniedException$message": null, + "BatchJobParameters$key": null, + "BatchJobParameters$value": null, + "CompareDatabaseCDCStepInput$sourceLocation": "

The source location of the compare database CDC step input.

", + "CompareDatabaseCDCStepInput$targetLocation": "

The target location of the compare database CDC step input.

", + "CompareDatabaseCDCStepInput$outputLocation": "

The output location of the compare database CDC step input.

", + "CompareDatabaseCDCStepOutput$comparisonOutputLocation": "

The comparison output of the compare database CDC step output.

", + "ConflictException$message": null, + "ConflictException$resourceId": "

The resource ID of the conflicts with existing resources.

", + "ConflictException$resourceType": "

The resource type of the conflicts with existing resources.

", + "CreateCloudFormationStepOutput$stackId": "

The stack ID of the CloudFormation step output.

", + "DeleteCloudFormationStepInput$stackId": "

The stack ID of the deleted CloudFormation step input.

", + "GetTestCaseResponse$statusReason": "

The status reason of the test case.

", + "GetTestConfigurationResponse$statusReason": "

The status reason of the test configuration.

", + "GetTestRunStepResponse$statusReason": "

The status reason of the test run step.

", + "GetTestSuiteResponse$statusReason": "

The status reason of the test suite.

", + "InternalServerException$message": null, + "M2ManagedApplicationStepInput$applicationId": "

The application ID of the AWS Mainframe Modernization managed application step input.

", + "M2ManagedApplicationStepInput$runtime": "

The runtime of the AWS Mainframe Modernization managed application step input.

", + "M2ManagedApplicationStepInput$vpcEndpointServiceName": "

The VPC endpoint service name of the AWS Mainframe Modernization managed application step input.

", + "M2NonManagedApplicationStepInput$vpcEndpointServiceName": "

The VPC endpoint service name of the AWS Mainframe Modernization non-managed application step input.

", + "M2NonManagedApplicationStepInput$webAppName": "

The web app name of the AWS Mainframe Modernization non-managed application step input.

", + "M2NonManagedApplicationSummary$vpcEndpointServiceName": "

The VPC endpoint service name of the AWS Mainframe Modernization non-managed application summary.

", + "M2NonManagedApplicationSummary$webAppName": "

The web application name of the AWS Mainframe Modernization non-managed application summary.

", + "Properties$key": null, + "Properties$value": null, + "ResourceNotFoundException$message": null, + "ResourceNotFoundException$resourceId": "

The resource ID of the resource not found.

", + "ResourceNotFoundException$resourceType": "

The resource type of the resource not found.

", + "ServiceQuotaExceededException$message": null, + "ServiceQuotaExceededException$resourceId": "

The resource ID of AWS Application Testing that exceeded the limit.

", + "ServiceQuotaExceededException$resourceType": "

The resource type of AWS Application Testing that exceeded the limit.

", + "ServiceQuotaExceededException$serviceCode": "

The service code of AWS Application Testing that exceeded the limit.

", + "ServiceQuotaExceededException$quotaCode": "

The quote codes of AWS Application Testing that exceeded the limit.

", + "ServiceSettings$kmsKeyId": "

The KMS key ID of the service settings.

", + "TestCaseLatestVersion$statusReason": "

The status reason of the test case latest version.

", + "TestCaseRunSummary$statusReason": "

The status reason of the test case run summary.

", + "TestCaseSummary$statusReason": "

The status reason of the test case summary.

", + "TestConfigurationLatestVersion$statusReason": "

The status reason of the test configuration latest version.

", + "TestConfigurationSummary$statusReason": "

The status reason of the test configuration summary.

", + "TestRunStepSummary$statusReason": "

The status reason of the test run step summary.

", + "TestRunSummary$statusReason": "

The status reason of the test run summary.

", + "TestSuiteLatestVersion$statusReason": "

The status reason of the test suite latest version.

", + "TestSuiteSummary$statusReason": "

The status reason of the test suite summary.

", + "ThrottlingException$message": null, + "ThrottlingException$serviceCode": "

The service code of requests that exceed the limit.

", + "ThrottlingException$quotaCode": "

The quota code of requests that exceed the limit.

", + "ValidationException$message": null, + "ValidationExceptionField$name": "

The name of the validation exception field.

", + "ValidationExceptionField$message": "

The message stating reason for why service validation failed.

" + } + }, + "String100": { + "base": null, + "refs": { + "DataSet$name": "

The name of the data set.

", + "ExportDataSetNames$member": null + } + }, + "String50": { + "base": null, + "refs": { + "DataSet$ccsid": "

The CCSID of the data set.

" + } + }, + "TN3270": { + "base": "

Specifies the TN3270 protocol.

", + "refs": { + "MainframeActionType$tn3270": "

The tn3270 port of the mainframe action type.

" + } + }, + "TN3270StepInput": { + "base": "

Specifies a TN3270 step input.

", + "refs": { + "TN3270Summary$stepInput": "

The step input of the TN3270 summary.

" + } + }, + "TN3270StepOutput": { + "base": "

Specifies a TN3270 step output.

", + "refs": { + "TN3270Summary$stepOutput": "

The step output of the TN3270 summary.

" + } + }, + "TN3270Summary": { + "base": "

Specifies a TN3270 summary.

", + "refs": { + "MainframeActionSummary$tn3270": "

The tn3270 port of the mainframe action summary.

" + } + }, + "TagKey": { + "base": null, + "refs": { + "TagKeyList$member": null, + "TagMap$key": null + } + }, + "TagKeyList": { + "base": null, + "refs": { + "UntagResourceRequest$tagKeys": "

The tag keys of the resource.

" + } + }, + "TagMap": { + "base": null, + "refs": { + "CreateTestCaseRequest$tags": "

The specified tags of the test case.

", + "CreateTestConfigurationRequest$tags": "

The tags of the test configuration.

", + "CreateTestSuiteRequest$tags": "

The tags of the test suite.

", + "GetTestCaseResponse$tags": "

The tags of the test case.

", + "GetTestConfigurationResponse$tags": "

The tags of the test configuration.

", + "GetTestSuiteResponse$tags": "

The tags of the test suite.

", + "ListTagsForResourceResponse$tags": "

The tags of the resource.

", + "StartTestRunRequest$tags": "

The tags of the test run.

", + "TagResourceRequest$tags": "

The tags of the resource.

" + } + }, + "TagResourceRequest": { + "base": null, + "refs": { + } + }, + "TagResourceResponse": { + "base": null, + "refs": { + } + }, + "TagValue": { + "base": null, + "refs": { + "TagMap$value": null + } + }, + "TargetDatabase": { + "base": null, + "refs": { + "TargetDatabaseMetadata$type": "

The type of the target database metadata.

" + } + }, + "TargetDatabaseMetadata": { + "base": "

Specifies a target database metadata.

", + "refs": { + "CompareDatabaseCDCStepInput$targetMetadata": "

The target metadata location of the compare database CDC step input.

", + "DatabaseCDC$targetMetadata": "

The target metadata of the database CDC.

" + } + }, + "TestCaseIdList": { + "base": null, + "refs": { + "ListTestCasesRequest$testCaseIds": "

The IDs of the test cases.

" + } + }, + "TestCaseLatestVersion": { + "base": "

Specifies the latest version of a test case.

", + "refs": { + "GetTestCaseResponse$latestVersion": "

The latest version of the test case.

" + } + }, + "TestCaseLifecycle": { + "base": null, + "refs": { + "GetTestCaseResponse$status": "

The status of the test case.

", + "TestCaseLatestVersion$status": "

The status of the test case latest version.

", + "TestCaseSummary$status": "

The status of the test case summary.

" + } + }, + "TestCaseList": { + "base": null, + "refs": { + "TestCases$sequential": "

The sequential of the test case.

" + } + }, + "TestCaseRunStatus": { + "base": null, + "refs": { + "TestCaseRunSummary$status": "

The status of the test case run summary.

" + } + }, + "TestCaseRunSummary": { + "base": "

Specifies the test case run summary.

", + "refs": { + "TestCaseRunSummaryList$member": null + } + }, + "TestCaseRunSummaryList": { + "base": null, + "refs": { + "ListTestRunTestCasesResponse$testRunTestCases": "

The test run of the test cases.

" + } + }, + "TestCaseSummary": { + "base": "

Specifies a test case summary.

", + "refs": { + "TestCaseSummaryList$member": null + } + }, + "TestCaseSummaryList": { + "base": null, + "refs": { + "ListTestCasesResponse$testCases": "

The test cases in an application.

" + } + }, + "TestCases": { + "base": "

Specifies test cases.

", + "refs": { + "CreateTestSuiteRequest$testCases": "

The test cases in the test suite.

", + "GetTestSuiteResponse$testCases": "

The test cases of the test suite.

", + "UpdateTestSuiteRequest$testCases": "

The test cases in the test suite.

" + } + }, + "TestConfigurationIdList": { + "base": null, + "refs": { + "ListTestConfigurationsRequest$testConfigurationIds": "

The configuration IDs of the test configurations.

" + } + }, + "TestConfigurationLatestVersion": { + "base": "

Specifies the latest version of the test configuration.

", + "refs": { + "GetTestConfigurationResponse$latestVersion": "

The latest version of the test configuration.

" + } + }, + "TestConfigurationLifecycle": { + "base": null, + "refs": { + "GetTestConfigurationResponse$status": "

The status of the test configuration.

", + "TestConfigurationLatestVersion$status": "

The status of the test configuration latest version.

", + "TestConfigurationSummary$status": "

The status of the test configuration summary.

" + } + }, + "TestConfigurationList": { + "base": null, + "refs": { + "ListTestConfigurationsResponse$testConfigurations": "

The test configurations.

" + } + }, + "TestConfigurationSummary": { + "base": "

Specifies a test configuration summary.

", + "refs": { + "TestConfigurationList$member": null + } + }, + "TestRunIdList": { + "base": null, + "refs": { + "ListTestRunsRequest$testRunIds": "

The test run IDs of the test runs.

" + } + }, + "TestRunStatus": { + "base": null, + "refs": { + "StartTestRunResponse$testRunStatus": "

The test run status of the test run.

", + "TestRunSummary$status": "

The status of the test run summary.

" + } + }, + "TestRunStepSummary": { + "base": "

Specifies a test run step summary.

", + "refs": { + "TestRunStepSummaryList$member": null + } + }, + "TestRunStepSummaryList": { + "base": null, + "refs": { + "ListTestRunStepsResponse$testRunSteps": "

The test run steps of the response query.

" + } + }, + "TestRunSummary": { + "base": "

Specifies a test run summary.

", + "refs": { + "TestRunSummaryList$member": null + } + }, + "TestRunSummaryList": { + "base": null, + "refs": { + "ListTestRunsResponse$testRuns": "

The test runs of the response query.

" + } + }, + "TestSuiteIdList": { + "base": null, + "refs": { + "ListTestSuitesRequest$testSuiteIds": "

The suite ID of the test suites.

" + } + }, + "TestSuiteLatestVersion": { + "base": "

Specifies the latest version of a test suite.

", + "refs": { + "GetTestSuiteResponse$latestVersion": "

The latest version of the test suite.

" + } + }, + "TestSuiteLifecycle": { + "base": null, + "refs": { + "GetTestSuiteResponse$status": "

The status of the test suite.

", + "TestSuiteLatestVersion$status": "

The status of the test suite latest version.

", + "TestSuiteSummary$status": "

The status of the test suite summary.

" + } + }, + "TestSuiteList": { + "base": null, + "refs": { + "ListTestSuitesResponse$testSuites": "

The test suites returned with the response query.

" + } + }, + "TestSuiteSummary": { + "base": "

Specifies the test suite summary.

", + "refs": { + "TestSuiteList$member": null + } + }, + "ThrottlingException": { + "base": "

The number of requests made exceeds the limit.

", + "refs": { + } + }, + "Timestamp": { + "base": null, + "refs": { + "GetTestCaseResponse$creationTime": "

The creation time of the test case.

", + "GetTestCaseResponse$lastUpdateTime": "

The last update time of the test case.

", + "GetTestConfigurationResponse$creationTime": "

The creation time of the test configuration.

", + "GetTestConfigurationResponse$lastUpdateTime": "

The last update time of the test configuration.

", + "GetTestRunStepResponse$runStartTime": "

The run start time of the test run step.

", + "GetTestRunStepResponse$runEndTime": "

The run end time of the test run step.

", + "GetTestSuiteResponse$creationTime": "

The creation time of the test suite.

", + "GetTestSuiteResponse$lastUpdateTime": "

The last update time of the test suite.

", + "TestCaseRunSummary$runStartTime": "

The run start time of the test case run summary.

", + "TestCaseRunSummary$runEndTime": "

The run end time of the test case run summary.

", + "TestCaseSummary$creationTime": "

The creation time of the test case summary.

", + "TestCaseSummary$lastUpdateTime": "

The last update time of the test case summary.

", + "TestConfigurationSummary$creationTime": "

The creation time of the test configuration summary.

", + "TestConfigurationSummary$lastUpdateTime": "

The last update time of the test configuration summary.

", + "TestRunStepSummary$runStartTime": "

The run start time of the test run step summary.

", + "TestRunStepSummary$runEndTime": "

The run end time of the test run step summary.

", + "TestRunSummary$runStartTime": "

The run start time of the test run summary.

", + "TestRunSummary$runEndTime": "

The run end time of the test run summary.

", + "TestSuiteSummary$creationTime": "

The creation time of the test suite summary.

", + "TestSuiteSummary$lastUpdateTime": "

The last update time of the test suite summary.

" + } + }, + "UntagResourceRequest": { + "base": null, + "refs": { + } + }, + "UntagResourceResponse": { + "base": null, + "refs": { + } + }, + "UpdateTestCaseRequest": { + "base": null, + "refs": { + } + }, + "UpdateTestCaseResponse": { + "base": null, + "refs": { + } + }, + "UpdateTestConfigurationRequest": { + "base": null, + "refs": { + } + }, + "UpdateTestConfigurationResponse": { + "base": null, + "refs": { + } + }, + "UpdateTestSuiteRequest": { + "base": null, + "refs": { + } + }, + "UpdateTestSuiteResponse": { + "base": null, + "refs": { + } + }, + "ValidationException": { + "base": "

One or more parameter provided in the request is not valid.

", + "refs": { + } + }, + "ValidationExceptionField": { + "base": "

Specifies a validation exception field.

", + "refs": { + "ValidationExceptionFieldList$member": null + } + }, + "ValidationExceptionFieldList": { + "base": null, + "refs": { + "ValidationException$fieldList": "

The field list of the validation exception.

" + } + }, + "ValidationExceptionReason": { + "base": null, + "refs": { + "ValidationException$reason": "

The reason for the validation exception.

" + } + }, + "Variable": { + "base": null, + "refs": { + "Batch$batchJobName": "

The job name of the batch.

", + "CloudFormationAction$resource": "

The resource of the CloudFormation action.

", + "InputFile$sourceLocation": "

The source location of the input file.

", + "InputFile$targetLocation": "

The target location of the input file.

", + "M2ManagedActionProperties$importDataSetLocation": "

The import data set location of the AWS Mainframe Modernization managed action properties.

", + "M2ManagedApplication$applicationId": "

The application ID of the AWS Mainframe Modernization managed application.

", + "M2ManagedApplication$vpcEndpointServiceName": "

The VPC endpoint service name of the AWS Mainframe Modernization managed application.

", + "M2ManagedApplication$listenerPort": "

The listener port of the AWS Mainframe Modernization managed application.

", + "M2ManagedApplicationAction$resource": "

The resource of the AWS Mainframe Modernization managed application action.

", + "M2NonManagedApplication$vpcEndpointServiceName": "

The VPC endpoint service name of the AWS Mainframe Modernization non-managed application.

", + "M2NonManagedApplication$listenerPort": "

The listener port of the AWS Mainframe Modernization non-managed application.

", + "M2NonManagedApplication$webAppName": "

The web application name of the AWS Mainframe Modernization non-managed application.

", + "M2NonManagedApplicationAction$resource": "

The resource of the AWS Mainframe Modernization non-managed application action.

", + "MainframeAction$resource": "

The resource of the mainframe action.

", + "MainframeActionProperties$dmsTaskArn": "

The DMS task ARN of the mainframe action properties.

" + } + }, + "Version": { + "base": null, + "refs": { + "CreateTestCaseResponse$testCaseVersion": "

The test case version of the test case.

", + "CreateTestConfigurationResponse$testConfigurationVersion": "

The test configuration version.

", + "CreateTestSuiteResponse$testSuiteVersion": "

The suite version of the test suite.

", + "GetTestCaseRequest$testCaseVersion": "

The test case version of the test case.

", + "GetTestCaseResponse$testCaseVersion": "

The case version of the test case.

", + "GetTestConfigurationRequest$testConfigurationVersion": "

The test configuration version.

", + "GetTestConfigurationResponse$testConfigurationVersion": "

The test configuration version.

", + "GetTestRunStepResponse$testCaseVersion": "

The test case version of the test run step.

", + "GetTestRunStepResponse$testSuiteVersion": "

The test suite version of the test run step.

", + "GetTestSuiteRequest$testSuiteVersion": "

The version of the test suite.

", + "GetTestSuiteResponse$testSuiteVersion": "

The version of the test suite.

", + "TestCaseLatestVersion$version": "

The version of the test case latest version.

", + "TestCaseRunSummary$testCaseVersion": "

The test case version of the test case run summary.

", + "TestCaseSummary$latestVersion": "

The latest version of the test case summary.

", + "TestConfigurationLatestVersion$version": "

The version of the test configuration latest version.

", + "TestConfigurationSummary$latestVersion": "

The latest version of the test configuration summary.

", + "TestRunStepSummary$testCaseVersion": "

The test case version of the test run step summary.

", + "TestRunStepSummary$testSuiteVersion": "

The test suite version of the test run step summary.

", + "TestRunSummary$testSuiteVersion": "

The test suite version of the test run summary.

", + "TestRunSummary$testConfigurationVersion": "

The test configuration version of the test run summary.

", + "TestSuiteLatestVersion$version": "

The version of the test suite latest version.

", + "TestSuiteSummary$latestVersion": "

The latest version of the test suite summary.

", + "UpdateTestCaseResponse$testCaseVersion": "

The test case version of the test case.

", + "UpdateTestConfigurationResponse$testConfigurationVersion": "

The configuration version of the test configuration.

", + "UpdateTestSuiteResponse$testSuiteVersion": "

The test suite version of the test suite.

" + } + } + } +} diff --git a/models/apis/apptest/2022-12-06/endpoint-rule-set-1.json b/models/apis/apptest/2022-12-06/endpoint-rule-set-1.json new file mode 100644 index 00000000000..82abed332ec --- /dev/null +++ b/models/apis/apptest/2022-12-06/endpoint-rule-set-1.json @@ -0,0 +1,350 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://apptest-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://apptest-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://apptest.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://apptest.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] +} \ No newline at end of file diff --git a/models/apis/apptest/2022-12-06/endpoint-tests-1.json b/models/apis/apptest/2022-12-06/endpoint-tests-1.json new file mode 100644 index 00000000000..9781f0e5a2f --- /dev/null +++ b/models/apis/apptest/2022-12-06/endpoint-tests-1.json @@ -0,0 +1,314 @@ +{ + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://apptest-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://apptest.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://apptest-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://apptest.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://apptest-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://apptest.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://apptest.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/apptest/2022-12-06/examples-1.json b/models/apis/apptest/2022-12-06/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/models/apis/apptest/2022-12-06/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/apptest/2022-12-06/paginators-1.json b/models/apis/apptest/2022-12-06/paginators-1.json new file mode 100644 index 00000000000..56c715f68df --- /dev/null +++ b/models/apis/apptest/2022-12-06/paginators-1.json @@ -0,0 +1,40 @@ +{ + "pagination": { + "ListTestCases": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "testCases" + }, + "ListTestConfigurations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "testConfigurations" + }, + "ListTestRunSteps": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "testRunSteps" + }, + "ListTestRunTestCases": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "testRunTestCases" + }, + "ListTestRuns": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "testRuns" + }, + "ListTestSuites": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "testSuites" + } + } +} diff --git a/models/apis/apptest/2022-12-06/smoke.json b/models/apis/apptest/2022-12-06/smoke.json new file mode 100644 index 00000000000..a9756813e4a --- /dev/null +++ b/models/apis/apptest/2022-12-06/smoke.json @@ -0,0 +1,6 @@ +{ + "version": 1, + "defaultRegion": "us-west-2", + "testCases": [ + ] +} diff --git a/models/apis/apptest/2022-12-06/waiters-2.json b/models/apis/apptest/2022-12-06/waiters-2.json new file mode 100644 index 00000000000..13f60ee66be --- /dev/null +++ b/models/apis/apptest/2022-12-06/waiters-2.json @@ -0,0 +1,5 @@ +{ + "version": 2, + "waiters": { + } +} diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index a9ad0586cf8..b821f18f249 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -10,7 +10,8 @@ "serviceId":"EC2", "signatureVersion":"v4", "uid":"ec2-2016-11-15", - "xmlNamespace":"http://ec2.amazonaws.com/doc/2016-11-15" + "xmlNamespace":"http://ec2.amazonaws.com/doc/2016-11-15", + "auth":["aws.auth#sigv4"] }, "operations":{ "AcceptAddressTransfer":{ @@ -2983,6 +2984,15 @@ "input":{"shape":"DescribeTagsRequest"}, "output":{"shape":"DescribeTagsResult"} }, + "DescribeTrafficMirrorFilterRules":{ + "name":"DescribeTrafficMirrorFilterRules", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeTrafficMirrorFilterRulesRequest"}, + "output":{"shape":"DescribeTrafficMirrorFilterRulesResult"} + }, "DescribeTrafficMirrorFilters":{ "name":"DescribeTrafficMirrorFilters", "http":{ @@ -12072,6 +12082,10 @@ "ClientToken":{ "shape":"String", "idempotencyToken":true + }, + "TagSpecifications":{ + "shape":"TagSpecificationList", + "locationName":"TagSpecification" } } }, @@ -18501,6 +18515,36 @@ } } }, + "DescribeTrafficMirrorFilterRulesRequest":{ + "type":"structure", + "members":{ + "TrafficMirrorFilterRuleIds":{ + "shape":"TrafficMirrorFilterRuleIdList", + "locationName":"TrafficMirrorFilterRuleId" + }, + "TrafficMirrorFilterId":{"shape":"TrafficMirrorFilterId"}, + "DryRun":{"shape":"Boolean"}, + "Filters":{ + "shape":"FilterList", + "locationName":"Filter" + }, + "MaxResults":{"shape":"TrafficMirroringMaxResults"}, + "NextToken":{"shape":"NextToken"} + } + }, + "DescribeTrafficMirrorFilterRulesResult":{ + "type":"structure", + "members":{ + "TrafficMirrorFilterRules":{ + "shape":"TrafficMirrorFilterRuleSet", + "locationName":"trafficMirrorFilterRuleSet" + }, + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + } + } + }, "DescribeTrafficMirrorFiltersRequest":{ "type":"structure", "members":{ @@ -39134,6 +39178,7 @@ "verified-access-trust-provider", "vpn-connection-device-type", "vpc-block-public-access-exclusion", + "vpc-encryption-control", "ipam-resource-discovery", "ipam-resource-discovery-association", "instance-connect-endpoint" @@ -43131,6 +43176,10 @@ "Description":{ "shape":"String", "locationName":"description" + }, + "Tags":{ + "shape":"TagList", + "locationName":"tagSet" } } }, @@ -43147,6 +43196,13 @@ "type":"list", "member":{"shape":"TrafficMirrorFilterRuleField"} }, + "TrafficMirrorFilterRuleIdList":{ + "type":"list", + "member":{ + "shape":"TrafficMirrorFilterRuleIdWithResolver", + "locationName":"item" + } + }, "TrafficMirrorFilterRuleIdWithResolver":{"type":"string"}, "TrafficMirrorFilterRuleList":{ "type":"list", @@ -43155,6 +43211,13 @@ "locationName":"item" } }, + "TrafficMirrorFilterRuleSet":{ + "type":"list", + "member":{ + "shape":"TrafficMirrorFilterRule", + "locationName":"item" + } + }, "TrafficMirrorFilterSet":{ "type":"list", "member":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 7e3fdfa27ee..c2e2f61109a 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -335,6 +335,7 @@ "DescribeStoreImageTasks": "

Describes the progress of the AMI store tasks. You can describe the store tasks for specified AMIs. If you don't specify the AMIs, you get a paginated list of store tasks from the last 31 days.

For each AMI task, the response indicates if the task is InProgress, Completed, or Failed. For tasks InProgress, the response shows the estimated progress as a percentage.

Tasks are listed in reverse chronological order. Currently, only tasks from the past 31 days can be viewed.

To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide.

For more information, see Store and restore an AMI using Amazon S3 in the Amazon EC2 User Guide.

", "DescribeSubnets": "

Describes one or more of your subnets.

For more information, see Subnets in the Amazon VPC User Guide.

", "DescribeTags": "

Describes the specified tags for your EC2 resources.

For more information about tags, see Tag your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.

We strongly recommend using only paginated requests. Unpaginated requests are susceptible to throttling and timeouts.

The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.

", + "DescribeTrafficMirrorFilterRules": "

Describe traffic mirror filters that determine the traffic that is mirrored.

", "DescribeTrafficMirrorFilters": "

Describes one or more Traffic Mirror filters.

", "DescribeTrafficMirrorSessions": "

Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.

", "DescribeTrafficMirrorTargets": "

Information about one or more Traffic Mirror targets.

", @@ -2348,6 +2349,7 @@ "DescribeStoreImageTasksRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeSubnetsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeTagsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "DescribeTrafficMirrorFilterRulesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeTrafficMirrorFiltersRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeTrafficMirrorSessionsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeTrafficMirrorTargetsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -7524,6 +7526,16 @@ "refs": { } }, + "DescribeTrafficMirrorFilterRulesRequest": { + "base": null, + "refs": { + } + }, + "DescribeTrafficMirrorFilterRulesResult": { + "base": null, + "refs": { + } + }, "DescribeTrafficMirrorFiltersRequest": { "base": null, "refs": { @@ -9557,6 +9569,7 @@ "DescribeStoreImageTasksRequest$Filters": "

The filters.

When you specify the ImageIds parameter, any filters that you specify are ignored. To use the filters, you must remove the ImageIds parameter.

", "DescribeSubnetsRequest$Filters": "

The filters.

", "DescribeTagsRequest$Filters": "

The filters.

", + "DescribeTrafficMirrorFilterRulesRequest$Filters": "

Traffic mirror filters.

", "DescribeTrafficMirrorFiltersRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTrafficMirrorSessionsRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTrafficMirrorTargetsRequest$Filters": "

One or more filters. The possible values are:

", @@ -12193,7 +12206,7 @@ "CreateTrafficMirrorFilterRuleRequest$Protocol": "

The protocol, for example UDP, to assign to the Traffic Mirror rule.

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

", "CreateTrafficMirrorSessionRequest$PacketLength": "

The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target.

If you do not want to mirror the entire packet, use the PacketLength parameter to specify the number of bytes in each packet to mirror.

For sessions with Network Load Balancer (NLB) Traffic Mirror targets the default PacketLength will be set to 8500. Valid values are 1-8500. Setting a PacketLength greater than 8500 will result in an error response.

", "CreateTrafficMirrorSessionRequest$SessionNumber": "

The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

Valid values are 1-32766.

", - "CreateTrafficMirrorSessionRequest$VirtualNetworkId": "

The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique id is chosen at random.

", + "CreateTrafficMirrorSessionRequest$VirtualNetworkId": "

The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique ID is chosen at random.

", "CreateVolumeRequest$Iops": "

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

The following are the supported values for each volume type:

For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS.

This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS. This parameter is not supported for gp2, st1, sc1, or standard volumes.

", "CreateVolumeRequest$Size": "

The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

The following are the supported volumes sizes for each volume type:

", "CreateVolumeRequest$Throughput": "

The throughput to provision for a volume, with a maximum of 1,000 MiB/s.

This parameter is valid only for gp3 volumes.

Valid Range: Minimum value of 125. Maximum value of 1000.

", @@ -16102,6 +16115,7 @@ "DescribeNetworkInsightsPathsRequest$NextToken": "

The token for the next page of results.

", "DescribePublicIpv4PoolsRequest$NextToken": "

The token for the next page of results.

", "DescribeReplaceRootVolumeTasksRequest$NextToken": "

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

", + "DescribeTrafficMirrorFilterRulesRequest$NextToken": "

The token for the next page of results.

", "DescribeTrafficMirrorFiltersRequest$NextToken": "

The token for the next page of results.

", "DescribeTrafficMirrorSessionsRequest$NextToken": "

The token for the next page of results.

", "DescribeTrafficMirrorTargetsRequest$NextToken": "

The token for the next page of results.

", @@ -19715,20 +19729,20 @@ "CreateSubnetRequest$Ipv6CidrBlock": "

The IPv6 network range for the subnet, in CIDR notation. This parameter is required for an IPv6 only subnet.

", "CreateSubnetRequest$OutpostArn": "

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

", "CreateTrafficMirrorFilterRequest$Description": "

The description of the Traffic Mirror filter.

", - "CreateTrafficMirrorFilterRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", - "CreateTrafficMirrorFilterResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorFilterRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorFilterResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateTrafficMirrorFilterRuleRequest$DestinationCidrBlock": "

The destination CIDR block to assign to the Traffic Mirror rule.

", "CreateTrafficMirrorFilterRuleRequest$SourceCidrBlock": "

The source CIDR block to assign to the Traffic Mirror rule.

", "CreateTrafficMirrorFilterRuleRequest$Description": "

The description of the Traffic Mirror rule.

", - "CreateTrafficMirrorFilterRuleRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", - "CreateTrafficMirrorFilterRuleResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorFilterRuleRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorFilterRuleResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateTrafficMirrorSessionRequest$Description": "

The description of the Traffic Mirror session.

", - "CreateTrafficMirrorSessionRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", - "CreateTrafficMirrorSessionResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorSessionRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorSessionResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateTrafficMirrorTargetRequest$NetworkLoadBalancerArn": "

The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.

", "CreateTrafficMirrorTargetRequest$Description": "

The description of the Traffic Mirror target.

", - "CreateTrafficMirrorTargetRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", - "CreateTrafficMirrorTargetResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorTargetRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorTargetResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateTransitGatewayConnectPeerRequest$TransitGatewayAddress": "

The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.

", "CreateTransitGatewayConnectPeerRequest$PeerAddress": "

The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.

", "CreateTransitGatewayPeeringAttachmentRequest$PeerAccountId": "

The ID of the Amazon Web Services account that owns the peer transit gateway.

", @@ -19976,6 +19990,7 @@ "DescribeSubnetsResult$NextToken": "

The token to include in another request to get the next page of items. This value is null when there are no more items to return.

", "DescribeTagsRequest$NextToken": "

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

", "DescribeTagsResult$NextToken": "

The token to include in another request to get the next page of items. This value is null when there are no more items to return.

", + "DescribeTrafficMirrorFilterRulesResult$NextToken": "

The token to use to retrieve the next page of results. The value is null when there are no more results to return.

", "DescribeTrafficMirrorFiltersResult$NextToken": "

The token to use to retrieve the next page of results. The value is null when there are no more results to return.

", "DescribeTrafficMirrorSessionsResult$NextToken": "

The token to use to retrieve the next page of results. The value is null when there are no more results to return.

", "DescribeTrafficMirrorTargetsResult$NextToken": "

The token to use to retrieve the next page of results. The value is null when there are no more results to return.

", @@ -21788,6 +21803,7 @@ "SubnetCidrReservation$Tags": "

The tags assigned to the subnet CIDR reservation.

", "TagSpecification$Tags": "

The tags to apply to the resource.

", "TrafficMirrorFilter$Tags": "

The tags assigned to the Traffic Mirror filter.

", + "TrafficMirrorFilterRule$Tags": "

Tags on Traffic Mirroring filter rules.

", "TrafficMirrorSession$Tags": "

The tags assigned to the Traffic Mirror session.

", "TrafficMirrorTarget$Tags": "

The tags assigned to the Traffic Mirror target.

", "TransitGateway$Tags": "

The tags for the transit gateway.

", @@ -21874,6 +21890,7 @@ "CreateSubnetCidrReservationRequest$TagSpecifications": "

The tags to assign to the subnet CIDR reservation.

", "CreateSubnetRequest$TagSpecifications": "

The tags to assign to the subnet.

", "CreateTrafficMirrorFilterRequest$TagSpecifications": "

The tags to assign to a Traffic Mirror filter.

", + "CreateTrafficMirrorFilterRuleRequest$TagSpecifications": "

Traffic Mirroring tags specifications.

", "CreateTrafficMirrorSessionRequest$TagSpecifications": "

The tags to assign to a Traffic Mirror session.

", "CreateTrafficMirrorTargetRequest$TagSpecifications": "

The tags to assign to the Traffic Mirror target.

", "CreateTransitGatewayConnectPeerRequest$TagSpecifications": "

The tags to apply to the Connect peer.

", @@ -22154,6 +22171,7 @@ "CreateTrafficMirrorFilterRuleRequest$TrafficMirrorFilterId": "

The ID of the filter that this rule is associated with.

", "CreateTrafficMirrorSessionRequest$TrafficMirrorFilterId": "

The ID of the Traffic Mirror filter.

", "DeleteTrafficMirrorFilterRequest$TrafficMirrorFilterId": "

The ID of the Traffic Mirror filter.

", + "DescribeTrafficMirrorFilterRulesRequest$TrafficMirrorFilterId": "

Traffic filter ID.

", "ModifyTrafficMirrorFilterNetworkServicesRequest$TrafficMirrorFilterId": "

The ID of the Traffic Mirror filter.

", "ModifyTrafficMirrorSessionRequest$TrafficMirrorFilterId": "

The ID of the Traffic Mirror filter.

", "TrafficMirrorFilterIdList$member": null @@ -22169,8 +22187,9 @@ "base": "

Describes the Traffic Mirror rule.

", "refs": { "CreateTrafficMirrorFilterRuleResult$TrafficMirrorFilterRule": "

The Traffic Mirror rule.

", - "ModifyTrafficMirrorFilterRuleResult$TrafficMirrorFilterRule": "

Modifies a Traffic Mirror rule.

", - "TrafficMirrorFilterRuleList$member": null + "ModifyTrafficMirrorFilterRuleResult$TrafficMirrorFilterRule": "

Tags are not returned for ModifyTrafficMirrorFilterRule.

A Traffic Mirror rule.

", + "TrafficMirrorFilterRuleList$member": null, + "TrafficMirrorFilterRuleSet$member": null } }, "TrafficMirrorFilterRuleField": { @@ -22185,11 +22204,18 @@ "ModifyTrafficMirrorFilterRuleRequest$RemoveFields": "

The properties that you want to remove from the Traffic Mirror filter rule.

When you remove a property from a Traffic Mirror filter rule, the property is set to the default.

" } }, + "TrafficMirrorFilterRuleIdList": { + "base": null, + "refs": { + "DescribeTrafficMirrorFilterRulesRequest$TrafficMirrorFilterRuleIds": "

Traffic filter rule IDs.

" + } + }, "TrafficMirrorFilterRuleIdWithResolver": { "base": null, "refs": { "DeleteTrafficMirrorFilterRuleRequest$TrafficMirrorFilterRuleId": "

The ID of the Traffic Mirror rule.

", - "ModifyTrafficMirrorFilterRuleRequest$TrafficMirrorFilterRuleId": "

The ID of the Traffic Mirror rule.

" + "ModifyTrafficMirrorFilterRuleRequest$TrafficMirrorFilterRuleId": "

The ID of the Traffic Mirror rule.

", + "TrafficMirrorFilterRuleIdList$member": null } }, "TrafficMirrorFilterRuleList": { @@ -22199,6 +22225,12 @@ "TrafficMirrorFilter$EgressFilterRules": "

Information about the egress rules that are associated with the Traffic Mirror filter.

" } }, + "TrafficMirrorFilterRuleSet": { + "base": null, + "refs": { + "DescribeTrafficMirrorFilterRulesResult$TrafficMirrorFilterRules": "

Traffic mirror rules.

" + } + }, "TrafficMirrorFilterSet": { "base": null, "refs": { @@ -22320,6 +22352,7 @@ "TrafficMirroringMaxResults": { "base": null, "refs": { + "DescribeTrafficMirrorFilterRulesRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "DescribeTrafficMirrorFiltersRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "DescribeTrafficMirrorSessionsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "DescribeTrafficMirrorTargetsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

" diff --git a/models/apis/osis/2022-01-01/api-2.json b/models/apis/osis/2022-01-01/api-2.json index ea7523c1b51..beea3815dc9 100644 --- a/models/apis/osis/2022-01-01/api-2.json +++ b/models/apis/osis/2022-01-01/api-2.json @@ -8,7 +8,8 @@ "serviceFullName":"Amazon OpenSearch Ingestion", "serviceId":"OSIS", "signatureVersion":"v4", - "uid":"osis-2022-01-01" + "uid":"osis-2022-01-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "CreatePipeline":{ @@ -559,6 +560,7 @@ "VpcEndpoints":{"shape":"VpcEndpointsList"}, "BufferOptions":{"shape":"BufferOptions"}, "EncryptionAtRestOptions":{"shape":"EncryptionAtRestOptions"}, + "VpcEndpointService":{"shape":"String"}, "ServiceVpcEndpoints":{"shape":"ServiceVpcEndpointsList"}, "Destinations":{"shape":"PipelineDestinationList"}, "Tags":{"shape":"TagList"} @@ -887,6 +889,13 @@ "VpcOptions":{"shape":"VpcOptions"} } }, + "VpcEndpointManagement":{ + "type":"string", + "enum":[ + "CUSTOMER", + "SERVICE" + ] + }, "VpcEndpointServiceName":{ "type":"string", "enum":["OPENSEARCH_SERVERLESS"] @@ -901,7 +910,8 @@ "members":{ "SubnetIds":{"shape":"SubnetIds"}, "SecurityGroupIds":{"shape":"SecurityGroupIds"}, - "VpcAttachmentOptions":{"shape":"VpcAttachmentOptions"} + "VpcAttachmentOptions":{"shape":"VpcAttachmentOptions"}, + "VpcEndpointManagement":{"shape":"VpcEndpointManagement"} } } } diff --git a/models/apis/osis/2022-01-01/docs-2.json b/models/apis/osis/2022-01-01/docs-2.json index 8028558ff30..47ba08a713b 100644 --- a/models/apis/osis/2022-01-01/docs-2.json +++ b/models/apis/osis/2022-01-01/docs-2.json @@ -427,6 +427,7 @@ "Pipeline$PipelineName": "

The name of the pipeline.

", "Pipeline$PipelineArn": "

The Amazon Resource Name (ARN) of the pipeline.

", "Pipeline$PipelineConfigurationBody": "

The Data Prepper pipeline configuration in YAML format.

", + "Pipeline$VpcEndpointService": "

The VPC endpoint service name for the pipeline.

", "PipelineBlueprint$BlueprintName": "

The name of the blueprint.

", "PipelineBlueprint$PipelineConfigurationBody": "

The YAML configuration of the blueprint.

", "PipelineBlueprint$DisplayName": "

The display name of the blueprint.

", @@ -574,6 +575,12 @@ "VpcEndpointsList$member": null } }, + "VpcEndpointManagement": { + "base": null, + "refs": { + "VpcOptions$VpcEndpointManagement": "

Defines whether you or Amazon OpenSearch Ingestion service create and manage the VPC endpoint configured for the pipeline.

" + } + }, "VpcEndpointServiceName": { "base": null, "refs": { diff --git a/models/apis/redshift/2012-12-01/api-2.json b/models/apis/redshift/2012-12-01/api-2.json index 00e779026ad..7b3c264cbf5 100644 --- a/models/apis/redshift/2012-12-01/api-2.json +++ b/models/apis/redshift/2012-12-01/api-2.json @@ -4,11 +4,13 @@ "apiVersion":"2012-12-01", "endpointPrefix":"redshift", "protocol":"query", + "protocols":["query"], "serviceFullName":"Amazon Redshift", "serviceId":"Redshift", "signatureVersion":"v4", "uid":"redshift-2012-12-01", - "xmlNamespace":"http://redshift.amazonaws.com/doc/2012-12-01/" + "xmlNamespace":"http://redshift.amazonaws.com/doc/2012-12-01/", + "auth":["aws.auth#sigv4"] }, "operations":{ "AcceptReservedNodeExchange":{ diff --git a/models/apis/redshift/2012-12-01/docs-2.json b/models/apis/redshift/2012-12-01/docs-2.json index de79f0f516c..5fd8dc3568c 100644 --- a/models/apis/redshift/2012-12-01/docs-2.json +++ b/models/apis/redshift/2012-12-01/docs-2.json @@ -126,7 +126,7 @@ "RebootCluster": "

Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

", "RejectDataShare": "

From a datashare consumer account, rejects the specified datashare.

", "ResetClusterParameterGroup": "

Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to \"engine-default\". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.

", - "ResizeCluster": "

Changes the size of the cluster. You can change the cluster's type, or change the number or type of nodes. The default behavior is to use the elastic resize method. With an elastic resize, your cluster is available for read and write operations more quickly than with the classic resize method.

Elastic resize operations have the following restrictions:

", + "ResizeCluster": "

Changes the size of the cluster. You can change the cluster's type, or change the number or type of nodes. The default behavior is to use the elastic resize method. With an elastic resize, your cluster is available for read and write operations more quickly than with the classic resize method.

Elastic resize operations have the following restrictions:

", "RestoreFromClusterSnapshot": "

Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore.

If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

", "RestoreTableFromClusterSnapshot": "

Creates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from.

You cannot use RestoreTableFromClusterSnapshot to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot. When you have renamed your original table, then you can pass the original name of the table as the NewTableName parameter value in the call to RestoreTableFromClusterSnapshot. This way, you can replace the original table with the table created from the snapshot.

You can't use this operation to restore tables with interleaved sort keys.

", "ResumeCluster": "

Resumes a paused cluster.

", @@ -1500,7 +1500,7 @@ "ReservedNode$UsagePrice": "

The hourly rate Amazon Redshift charges you for this reserved node.

", "ReservedNodeOffering$FixedPrice": "

The upfront fixed charge you will pay to purchase the specific reserved node offering.

", "ReservedNodeOffering$UsagePrice": "

The rate you are charged for each hour the cluster that is using the offering is running.

", - "RestoreStatus$CurrentRestoreRateInMegaBytesPerSecond": "

The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup. This field is only updated when you restore to DC2 and DS2 node types.

", + "RestoreStatus$CurrentRestoreRateInMegaBytesPerSecond": "

The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup. This field is only updated when you restore to DC2 node types.

", "Snapshot$TotalBackupSizeInMegaBytes": "

The size of the complete set of backup data that would be used to restore the cluster.

", "Snapshot$ActualIncrementalBackupSizeInMegaBytes": "

The size of the incremental backup.

", "Snapshot$BackupProgressInMegaBytes": "

The number of megabytes that have been transferred to the snapshot backup.

", @@ -1959,7 +1959,7 @@ "CopyClusterSnapshotMessage$ManualSnapshotRetentionPeriod": "

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

The default value is -1.

", "CreateClusterMessage$AutomatedSnapshotRetentionPeriod": "

The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.

You can't disable automated snapshots for RA3 node types. Set the automated retention period from 1-35 days.

Default: 1

Constraints: Must be a value from 0 to 35.

", "CreateClusterMessage$ManualSnapshotRetentionPeriod": "

The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots.

The value must be either -1 or an integer between 1 and 3,653.

", - "CreateClusterMessage$Port": "

The port number on which the cluster accepts incoming connections.

The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections.

Default: 5439

Valid Values:

", + "CreateClusterMessage$Port": "

The port number on which the cluster accepts incoming connections.

The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections.

Default: 5439

Valid Values:

", "CreateClusterMessage$NumberOfNodes": "

The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.

For information about determining how many nodes you need, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster.

Default: 1

Constraints: Value must be at least 1 and no more than 100.

", "CreateClusterSnapshotMessage$ManualSnapshotRetentionPeriod": "

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

The default value is -1.

", "CreateSnapshotScheduleMessage$NextInvocations": "

", @@ -2009,14 +2009,14 @@ "ModifyClusterMessage$NumberOfNodes": "

The new number of nodes of the cluster. If you specify a new number of nodes, you must also specify the node type parameter.

For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Valid Values: Integer greater than 0.

", "ModifyClusterMessage$AutomatedSnapshotRetentionPeriod": "

The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.

If you decrease the automated snapshot retention period from its current value, existing automated snapshots that fall outside of the new retention period will be immediately deleted.

You can't disable automated snapshots for RA3 node types. Set the automated retention period from 1-35 days.

Default: Uses existing setting.

Constraints: Must be a value from 0 to 35.

", "ModifyClusterMessage$ManualSnapshotRetentionPeriod": "

The default for number of days that a newly created manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. This value doesn't retroactively change the retention periods of existing manual snapshots.

The value must be either -1 or an integer between 1 and 3,653.

The default value is -1.

", - "ModifyClusterMessage$Port": "

The option to change the port of an Amazon Redshift cluster.

Valid Values:

", + "ModifyClusterMessage$Port": "

The option to change the port of an Amazon Redshift cluster.

Valid Values:

", "ModifyClusterSnapshotMessage$ManualSnapshotRetentionPeriod": "

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.

The value must be either -1 or an integer between 1 and 3,653.

", "PendingModifiedValues$NumberOfNodes": "

The pending or in-progress change of the number of nodes in the cluster.

", "PendingModifiedValues$AutomatedSnapshotRetentionPeriod": "

The pending or in-progress change of the automated snapshot retention period.

", "PurchaseReservedNodeOfferingMessage$NodeCount": "

The number of reserved nodes that you want to purchase.

Default: 1

", "ResizeClusterMessage$NumberOfNodes": "

The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.

", "ResizeProgressMessage$TargetNumberOfNodes": "

The number of nodes that the cluster will have after the resize operation is complete.

", - "RestoreFromClusterSnapshotMessage$Port": "

The port number on which the cluster accepts connections.

Default: The same port as the original cluster.

Valid values: For clusters with ds2 or dc2 nodes, must be within the range 1150-65535. For clusters with ra3 nodes, must be within the ranges 5431-5455 or 8191-8215.

", + "RestoreFromClusterSnapshotMessage$Port": "

The port number on which the cluster accepts connections.

Default: The same port as the original cluster.

Valid values: For clusters with DC2 nodes, must be within the range 1150-65535. For clusters with ra3 nodes, must be within the ranges 5431-5455 or 8191-8215.

", "RestoreFromClusterSnapshotMessage$AutomatedSnapshotRetentionPeriod": "

The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.

You can't disable automated snapshots for RA3 node types. Set the automated retention period from 1-35 days.

Default: The value selected for the cluster from which the snapshot was taken.

Constraints: Must be a value from 0 to 35.

", "RestoreFromClusterSnapshotMessage$ManualSnapshotRetentionPeriod": "

The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots.

The value must be either -1 or an integer between 1 and 3,653.

", "RestoreFromClusterSnapshotMessage$NumberOfNodes": "

The number of nodes specified when provisioning the restored cluster.

", @@ -2261,10 +2261,10 @@ "CreateUsageLimitMessage$Amount": "

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.

", "DataTransferProgress$TotalDataInMegaBytes": "

Describes the total amount of data to be transfered in megabytes.

", "DataTransferProgress$DataTransferredInMegaBytes": "

Describes the total amount of data that has been transfered in MB's.

", - "RestoreStatus$SnapshotSizeInMegaBytes": "

The size of the set of snapshot data used to restore the cluster. This field is only updated when you restore to DC2 and DS2 node types.

", - "RestoreStatus$ProgressInMegaBytes": "

The number of megabytes that have been transferred from snapshot storage. This field is only updated when you restore to DC2 and DS2 node types.

", - "RestoreStatus$ElapsedTimeInSeconds": "

The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish. This field is only updated when you restore to DC2 and DS2 node types.

", - "RestoreStatus$EstimatedTimeToCompletionInSeconds": "

The estimate of the time remaining before the restore will complete. Returns 0 for a completed restore. This field is only updated when you restore to DC2 and DS2 node types.

", + "RestoreStatus$SnapshotSizeInMegaBytes": "

The size of the set of snapshot data used to restore the cluster. This field is only updated when you restore to DC2 node types.

", + "RestoreStatus$ProgressInMegaBytes": "

The number of megabytes that have been transferred from snapshot storage. This field is only updated when you restore to DC2 node types.

", + "RestoreStatus$ElapsedTimeInSeconds": "

The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish. This field is only updated when you restore to DC2 node types.

", + "RestoreStatus$EstimatedTimeToCompletionInSeconds": "

The estimate of the time remaining before the restore will complete. Returns 0 for a completed restore. This field is only updated when you restore to DC2 node types.

", "Snapshot$EstimatedSecondsToCompletion": "

The estimate of the time remaining before the snapshot backup will complete. Returns 0 for a completed backup.

", "Snapshot$ElapsedTimeInSeconds": "

The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.

", "UsageLimit$Amount": "

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

" @@ -3124,7 +3124,7 @@ "refs": { "CreateScheduledActionMessage$TargetAction": "

A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.

", "ModifyScheduledActionMessage$TargetAction": "

A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.

", - "ScheduledAction$TargetAction": "

A JSON format string of the Amazon Redshift API operation with input parameters.

\"{\\\"ResizeCluster\\\":{\\\"NodeType\\\":\\\"ds2.8xlarge\\\",\\\"ClusterIdentifier\\\":\\\"my-test-cluster\\\",\\\"NumberOfNodes\\\":3}}\".

" + "ScheduledAction$TargetAction": "

A JSON format string of the Amazon Redshift API operation with input parameters.

\"{\\\"ResizeCluster\\\":{\\\"NodeType\\\":\\\"ra3.4xlarge\\\",\\\"ClusterIdentifier\\\":\\\"my-test-cluster\\\",\\\"NumberOfNodes\\\":3}}\".

" } }, "ScheduledActionTypeUnsupportedFault": { @@ -3457,7 +3457,7 @@ "CreateClusterMessage$DBName": "

The name of the first database to be created when the cluster is created.

To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Database Developer Guide.

Default: dev

Constraints:

", "CreateClusterMessage$ClusterIdentifier": "

A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. The identifier also appears in the Amazon Redshift console.

Constraints:

Example: myexamplecluster

", "CreateClusterMessage$ClusterType": "

The type of the cluster. When cluster type is specified as

Valid Values: multi-node | single-node

Default: multi-node

", - "CreateClusterMessage$NodeType": "

The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

", + "CreateClusterMessage$NodeType": "

The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.

Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

", "CreateClusterMessage$MasterUsername": "

The user name associated with the admin user account for the cluster that is being created.

Constraints:

", "CreateClusterMessage$ClusterSubnetGroupName": "

The name of a cluster subnet group to be associated with this cluster.

If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).

", "CreateClusterMessage$AvailabilityZone": "

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency.

Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.

Example: us-east-2d

Constraint: The specified Availability Zone must be in the same region as the current endpoint.

", @@ -3747,7 +3747,7 @@ "ModifyClusterMaintenanceMessage$DeferMaintenanceIdentifier": "

A unique identifier for the deferred maintenance window.

", "ModifyClusterMessage$ClusterIdentifier": "

The unique identifier of the cluster to be modified.

Example: examplecluster

", "ModifyClusterMessage$ClusterType": "

The new cluster type.

When you submit your cluster resize request, your existing cluster goes into a read-only mode. After Amazon Redshift provisions a new cluster based on your resize requirements, there will be outage for a period while the old cluster is deleted and your connection is switched to the new cluster. You can use DescribeResize to track the progress of the resize request.

Valid Values: multi-node | single-node

", - "ModifyClusterMessage$NodeType": "

The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

", + "ModifyClusterMessage$NodeType": "

The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.

For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge

", "ModifyClusterMessage$ClusterParameterGroupName": "

The name of the cluster parameter group to apply to this cluster. This change is applied only after the cluster is rebooted. To reboot a cluster use RebootCluster.

Default: Uses existing setting.

Constraints: The cluster parameter group must be in the same parameter group family that matches the cluster version.

", "ModifyClusterMessage$PreferredMaintenanceWindow": "

The weekly time range (in UTC) during which system maintenance can occur, if necessary. If system maintenance is necessary during the window, it may result in an outage.

This maintenance window change is made immediately. If the new maintenance window indicates the current time, there must be at least 120 minutes between the current time and end of the window in order to ensure that pending changes are applied.

Default: Uses existing setting.

Format: ddd:hh24:mi-ddd:hh24:mi, for example wed:07:30-wed:08:00.

Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 minutes.

", "ModifyClusterMessage$ClusterVersion": "

The new version number of the Amazon Redshift engine to upgrade to.

For major version upgrades, if a non-default cluster parameter group is currently in use, a new cluster parameter group in the cluster parameter group family for the new version must be specified. The new cluster parameter group can be the default for that cluster parameter group family. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.

Example: 1.0

", @@ -3788,7 +3788,7 @@ "NetworkInterface$PrivateIpAddress": "

The IPv4 address of the network interface within the subnet.

", "NetworkInterface$AvailabilityZone": "

The Availability Zone.

", "NetworkInterface$Ipv6Address": "

The IPv6 address of the network interface within the subnet.

", - "NodeConfigurationOption$NodeType": "

The node type, such as, \"ds2.8xlarge\".

", + "NodeConfigurationOption$NodeType": "

The node type, such as, \"ra3.4xlarge\".

", "NodeConfigurationOptionsMessage$Marker": "

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

", "OrderableClusterOption$ClusterVersion": "

The version of the orderable cluster.

", "OrderableClusterOption$ClusterType": "

The cluster type, for example multi-node.

", @@ -3841,7 +3841,7 @@ "ReservedNode$OfferingType": "

The anticipated utilization of the reserved node, as defined in the reserved node offering.

", "ReservedNodeExchangeStatus$ReservedNodeExchangeRequestId": "

The identifier of the reserved-node exchange request.

", "ReservedNodeExchangeStatus$SourceReservedNodeId": "

The identifier of the source reserved node.

", - "ReservedNodeExchangeStatus$SourceReservedNodeType": "

The source reserved-node type, for example ds2.xlarge.

", + "ReservedNodeExchangeStatus$SourceReservedNodeType": "

The source reserved-node type, for example ra3.4xlarge.

", "ReservedNodeExchangeStatus$TargetReservedNodeOfferingId": "

The identifier of the target reserved node offering.

", "ReservedNodeExchangeStatus$TargetReservedNodeType": "

The node type of the target reserved node, for example ra3.4xlarge.

", "ReservedNodeOffering$ReservedNodeOfferingId": "

The offering identifier.

", @@ -3879,7 +3879,7 @@ "RestoreFromClusterSnapshotMessage$ClusterParameterGroupName": "

The name of the parameter group to be associated with this cluster.

Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups.

Constraints:

", "RestoreFromClusterSnapshotMessage$PreferredMaintenanceWindow": "

The weekly time range (in UTC) during which automated cluster maintenance can occur.

Format: ddd:hh24:mi-ddd:hh24:mi

Default: The value selected for the cluster from which the snapshot was taken. For more information about the time blocks for each region, see Maintenance Windows in Amazon Redshift Cluster Management Guide.

Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Minimum 30-minute window.

", "RestoreFromClusterSnapshotMessage$KmsKeyId": "

The Key Management Service (KMS) key ID of the encryption key that encrypts data in the cluster restored from a shared snapshot. You can also provide the key ID when you restore from an unencrypted snapshot to an encrypted cluster in the same account. Additionally, you can specify a new KMS key ID when you restore from an encrypted snapshot in the same account in order to change it. In that case, the restored cluster is encrypted with the new KMS key ID.

", - "RestoreFromClusterSnapshotMessage$NodeType": "

The node type that the restored cluster will be provisioned with.

Default: The node type of the cluster from which the snapshot was taken. You can modify this if you are using any DS node type. In that case, you can choose to restore into another DS node type of the same size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or ds1.xlarge into ds2.xlarge. If you have a DC instance type, you must restore into that same instance type and size. In other words, you can only restore a dc1.large instance type into another dc1.large instance type or dc2.large instance type. You can't restore dc1.8xlarge to dc2.8xlarge. First restore to a dc1.8xlarge cluster, then resize to a dc2.8large cluster. For more information about node types, see About Clusters and Nodes in the Amazon Redshift Cluster Management Guide.

", + "RestoreFromClusterSnapshotMessage$NodeType": "

The node type that the restored cluster will be provisioned with.

If you have a DC instance type, you must restore into that same instance type and size. In other words, you can only restore a dc2.large node type into another dc2 type. For more information about node types, see About Clusters and Nodes in the Amazon Redshift Cluster Management Guide.

", "RestoreFromClusterSnapshotMessage$AdditionalInfo": "

Reserved.

", "RestoreFromClusterSnapshotMessage$MaintenanceTrackName": "

The name of the maintenance track for the restored cluster. When you take a snapshot, the snapshot inherits the MaintenanceTrack value from the cluster. The snapshot might be on a different track than the cluster that was the source for the snapshot. For example, suppose that you take a snapshot of a cluster that is on the current track and then change the cluster to be on the trailing track. In this case, the snapshot and the source cluster are on different tracks.

", "RestoreFromClusterSnapshotMessage$SnapshotScheduleIdentifier": "

A unique identifier for the snapshot schedule.

", diff --git a/models/apis/secretsmanager/2017-10-17/api-2.json b/models/apis/secretsmanager/2017-10-17/api-2.json index 91f91775ce8..203f30a543e 100644 --- a/models/apis/secretsmanager/2017-10-17/api-2.json +++ b/models/apis/secretsmanager/2017-10-17/api-2.json @@ -11,7 +11,8 @@ "signatureVersion":"v4", "signingName":"secretsmanager", "targetPrefix":"secretsmanager", - "uid":"secretsmanager-2017-10-17" + "uid":"secretsmanager-2017-10-17", + "auth":["aws.auth#sigv4"] }, "operations":{ "BatchGetSecretValue":{ @@ -898,7 +899,8 @@ }, "SecretBinary":{"shape":"SecretBinaryType"}, "SecretString":{"shape":"SecretStringType"}, - "VersionStages":{"shape":"SecretVersionStagesType"} + "VersionStages":{"shape":"SecretVersionStagesType"}, + "RotationToken":{"shape":"RotationTokenType"} } }, "PutSecretValueResponse":{ @@ -1060,6 +1062,13 @@ "ScheduleExpression":{"shape":"ScheduleExpressionType"} } }, + "RotationTokenType":{ + "type":"string", + "max":256, + "min":36, + "pattern":"^[a-zA-Z0-9\\-]+$", + "sensitive":true + }, "ScheduleExpressionType":{ "type":"string", "max":256, diff --git a/models/apis/secretsmanager/2017-10-17/docs-2.json b/models/apis/secretsmanager/2017-10-17/docs-2.json index 72d1f8f3415..5ad95802837 100644 --- a/models/apis/secretsmanager/2017-10-17/docs-2.json +++ b/models/apis/secretsmanager/2017-10-17/docs-2.json @@ -14,7 +14,7 @@ "ListSecretVersionIds": "

Lists the versions of a secret. Secrets Manager uses staging labels to indicate the different versions of a secret. For more information, see Secrets Manager concepts: Versions.

To list the secrets in the account, use ListSecrets.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:ListSecretVersionIds. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "ListSecrets": "

Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.

All Secrets Manager operations are eventually consistent. ListSecrets might not reflect changes from the last five minutes. You can get more recent information for a specific secret by calling DescribeSecret.

To list the versions of a secret, use ListSecretVersionIds.

To retrieve the values for the secrets, call BatchGetSecretValue or GetSecretValue.

For information about finding secrets in the console, see Find secrets in Secrets Manager.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:ListSecrets. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "PutResourcePolicy": "

Attaches a resource-based permission policy to a secret. A resource-based policy is optional. For more information, see Authentication and access control for Secrets Manager

For information about attaching a policy in the console, see Attach a permissions policy to a secret.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:PutResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", - "PutSecretValue": "

Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString value or a new SecretBinary value.

We recommend you avoid calling PutSecretValue at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.

You can specify the staging labels to attach to the new version in VersionStages. If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT to it. If this operation moves the staging label AWSCURRENT from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from.

This operation is idempotent. If you call this operation with a ClientRequestToken that matches an existing version's VersionId, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary or SecretString because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:PutSecretValue. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", + "PutSecretValue": "

Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString value or a new SecretBinary value.

We recommend you avoid calling PutSecretValue at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.

You can specify the staging labels to attach to the new version in VersionStages. If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT to it. If this operation moves the staging label AWSCURRENT from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from.

This operation is idempotent. If you call this operation with a ClientRequestToken that matches an existing version's VersionId, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary, SecretString, or RotationToken because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:PutSecretValue. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "RemoveRegionsFromReplication": "

For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:RemoveRegionsFromReplication. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "ReplicateSecretToRegions": "

Replicates the secret to a new Regions. See Multi-Region secrets.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:ReplicateSecretToRegions. If the primary secret is encrypted with a KMS key other than aws/secretsmanager, you also need kms:Decrypt permission to the key. To encrypt the replicated secret with a KMS key other than aws/secretsmanager, you need kms:GenerateDataKey and kms:Encrypt to the key. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "RestoreSecret": "

Cancels the scheduled deletion of a secret by removing the DeletedDate time stamp. You can access a secret again after it has been restored.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:RestoreSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", @@ -593,7 +593,7 @@ "RotationEnabledType": { "base": null, "refs": { - "DescribeSecretResponse$RotationEnabled": "

Specifies whether automatic rotation is turned on for this secret.

To turn on rotation, use RotateSecret. To turn off rotation, use CancelRotateSecret.

", + "DescribeSecretResponse$RotationEnabled": "

Specifies whether automatic rotation is turned on for this secret. If the secret has never been configured for rotation, Secrets Manager returns null.

To turn on rotation, use RotateSecret. To turn off rotation, use CancelRotateSecret.

", "SecretListEntry$RotationEnabled": "

Indicates whether automatic, scheduled rotation is enabled for this secret.

" } }, @@ -613,6 +613,12 @@ "SecretListEntry$RotationRules": "

A structure that defines the rotation configuration for the secret.

" } }, + "RotationTokenType": { + "base": null, + "refs": { + "PutSecretValueRequest$RotationToken": "

A unique identifier that indicates the source of the request. For cross-account rotation (when you rotate a secret in one account by using a Lambda rotation function in another account) and the Lambda rotation function assumes an IAM role to call Secrets Manager, Secrets Manager validates the identity with the rotation token. For more information, see How rotation works.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.

" + } + }, "ScheduleExpressionType": { "base": null, "refs": { @@ -646,11 +652,11 @@ "SecretBinaryType": { "base": null, "refs": { - "CreateSecretRequest$SecretBinary": "

The binary data to encrypt and store in the new version of the secret. We recommend that you store your binary data in a file and then pass the contents of the file as a parameter.

Either SecretString or SecretBinary must have a value, but not both.

This parameter is not available in the Secrets Manager console.

", - "GetSecretValueResponse$SecretBinary": "

The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. When you retrieve a SecretBinary using the HTTP API, the Python SDK, or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not encoded.

If the secret was created by using the Secrets Manager console, or if the secret value was originally provided as a string, then this field is omitted. The secret value appears in SecretString instead.

", - "PutSecretValueRequest$SecretBinary": "

The binary data to encrypt and store in the new version of the secret. To use this parameter in the command-line tools, we recommend that you store your binary data in a file and then pass the contents of the file as a parameter.

You must include SecretBinary or SecretString, but not both.

You can't access this value from the Secrets Manager console.

", + "CreateSecretRequest$SecretBinary": "

The binary data to encrypt and store in the new version of the secret. We recommend that you store your binary data in a file and then pass the contents of the file as a parameter.

Either SecretString or SecretBinary must have a value, but not both.

This parameter is not available in the Secrets Manager console.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.

", + "GetSecretValueResponse$SecretBinary": "

The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. When you retrieve a SecretBinary using the HTTP API, the Python SDK, or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not encoded.

If the secret was created by using the Secrets Manager console, or if the secret value was originally provided as a string, then this field is omitted. The secret value appears in SecretString instead.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.

", + "PutSecretValueRequest$SecretBinary": "

The binary data to encrypt and store in the new version of the secret. To use this parameter in the command-line tools, we recommend that you store your binary data in a file and then pass the contents of the file as a parameter.

You must include SecretBinary or SecretString, but not both.

You can't access this value from the Secrets Manager console.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.

", "SecretValueEntry$SecretBinary": "

The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.

", - "UpdateSecretRequest$SecretBinary": "

The binary data to encrypt and store in the new version of the secret. We recommend that you store your binary data in a file and then pass the contents of the file as a parameter.

Either SecretBinary or SecretString must have a value, but not both.

You can't access this parameter in the Secrets Manager console.

" + "UpdateSecretRequest$SecretBinary": "

The binary data to encrypt and store in the new version of the secret. We recommend that you store your binary data in a file and then pass the contents of the file as a parameter.

Either SecretBinary or SecretString must have a value, but not both.

You can't access this parameter in the Secrets Manager console.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.

" } }, "SecretIdListType": { @@ -668,7 +674,7 @@ "DeleteSecretRequest$SecretId": "

The ARN or name of the secret to delete.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", "DescribeSecretRequest$SecretId": "

The ARN or name of the secret.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", "GetResourcePolicyRequest$SecretId": "

The ARN or name of the secret to retrieve the attached resource-based policy for.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", - "GetSecretValueRequest$SecretId": "

The ARN or name of the secret to retrieve.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", + "GetSecretValueRequest$SecretId": "

The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", "ListSecretVersionIdsRequest$SecretId": "

The ARN or name of the secret whose versions you want to list.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", "PutResourcePolicyRequest$SecretId": "

The ARN or name of the secret to attach the resource-based policy.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", "PutSecretValueRequest$SecretId": "

The ARN or name of the secret to add a new version to.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

If the secret doesn't already exist, use CreateSecret instead.

", @@ -682,7 +688,7 @@ "UntagResourceRequest$SecretId": "

The ARN or name of the secret.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", "UpdateSecretRequest$SecretId": "

The ARN or name of the secret.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", "UpdateSecretVersionStageRequest$SecretId": "

The ARN or the name of the secret with the version and staging labelsto modify.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

", - "ValidateResourcePolicyRequest$SecretId": "

This field is reserved for internal use.

" + "ValidateResourcePolicyRequest$SecretId": "

The ARN or name of the secret with the resource-based policy you want to validate.

" } }, "SecretListEntry": { @@ -718,11 +724,11 @@ "SecretStringType": { "base": null, "refs": { - "CreateSecretRequest$SecretString": "

The text data to encrypt and store in this new version of the secret. We recommend you use a JSON structure of key/value pairs for your secret value.

Either SecretString or SecretBinary must have a value, but not both.

If you create a secret by using the Secrets Manager console then Secrets Manager puts the protected secret text in only the SecretString parameter. The Secrets Manager console stores the information as a JSON structure of key/value pairs that a Lambda rotation function can parse.

", - "GetSecretValueResponse$SecretString": "

The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.

If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.

", - "PutSecretValueRequest$SecretString": "

The text to encrypt and store in the new version of the secret.

You must include SecretBinary or SecretString, but not both.

We recommend you create the secret string as JSON key/value pairs, as shown in the example.

", + "CreateSecretRequest$SecretString": "

The text data to encrypt and store in this new version of the secret. We recommend you use a JSON structure of key/value pairs for your secret value.

Either SecretString or SecretBinary must have a value, but not both.

If you create a secret by using the Secrets Manager console then Secrets Manager puts the protected secret text in only the SecretString parameter. The Secrets Manager console stores the information as a JSON structure of key/value pairs that a Lambda rotation function can parse.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.

", + "GetSecretValueResponse$SecretString": "

The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.

If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.

", + "PutSecretValueRequest$SecretString": "

The text to encrypt and store in the new version of the secret.

You must include SecretBinary or SecretString, but not both.

We recommend you create the secret string as JSON key/value pairs, as shown in the example.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.

", "SecretValueEntry$SecretString": "

The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.

", - "UpdateSecretRequest$SecretString": "

The text data to encrypt and store in the new version of the secret. We recommend you use a JSON structure of key/value pairs for your secret value.

Either SecretBinary or SecretString must have a value, but not both.

" + "UpdateSecretRequest$SecretString": "

The text data to encrypt and store in the new version of the secret. We recommend you use a JSON structure of key/value pairs for your secret value.

Either SecretBinary or SecretString must have a value, but not both.

Sensitive: This field contains sensitive information, so the service does not include it in CloudTrail log entries. If you create your own log entries, you must also avoid logging the information in this field.

" } }, "SecretValueEntry": { diff --git a/models/apis/securitylake/2018-05-10/api-2.json b/models/apis/securitylake/2018-05-10/api-2.json index 2b8dd4b3b1e..f8cc76fd88e 100644 --- a/models/apis/securitylake/2018-05-10/api-2.json +++ b/models/apis/securitylake/2018-05-10/api-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"securitylake", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Amazon Security Lake", "serviceId":"SecurityLake", "signatureVersion":"v4", "signingName":"securitylake", - "uid":"securitylake-2018-05-10" + "uid":"securitylake-2018-05-10", + "auth":["aws.auth#sigv4"] }, "operations":{ "CreateAwsLogSource":{ @@ -616,7 +618,7 @@ "type":"string", "max":1011, "min":1, - "pattern":"^arn:aws:securitylake:[A-za-z0-9_/.\\-]{0,63}:[A-za-z0-9_/.\\-]{0,63}:[A-Za-z0-9][A-za-z0-9_/.\\-]{0,127}$" + "pattern":"^arn:(aws|aws-us-gov|aws-cn):securitylake:[A-za-z0-9_/.\\-]{0,63}:[A-za-z0-9_/.\\-]{0,63}:[A-Za-z0-9][A-za-z0-9_/.\\-]{0,127}$" }, "AwsAccountId":{ "type":"string", @@ -872,7 +874,7 @@ "type":"string", "max":64, "min":1, - "pattern":"^[\\\\\\w\\-_:/.]*$" + "pattern":"^[\\w\\-\\_\\:\\.]*$" }, "CustomLogSourceProvider":{ "type":"structure", @@ -1416,7 +1418,7 @@ }, "Region":{ "type":"string", - "pattern":"^(af|ap|ca|eu|me|sa|us)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-\\d+$" + "pattern":"^(us(-gov)?|af|ap|ca|eu|me|sa)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-\\d+$" }, "RegionList":{ "type":"list", diff --git a/models/apis/securitylake/2018-05-10/docs-2.json b/models/apis/securitylake/2018-05-10/docs-2.json index 60ca58998c1..400aa498985 100644 --- a/models/apis/securitylake/2018-05-10/docs-2.json +++ b/models/apis/securitylake/2018-05-10/docs-2.json @@ -87,9 +87,9 @@ "AwsIdentity": { "base": "

The AWS identity.

", "refs": { - "CreateSubscriberRequest$subscriberIdentity": "

The AWS identity used to access your data.

", + "CreateSubscriberRequest$subscriberIdentity": "

The Amazon Web Services identity used to access your data.

", "CustomLogSourceConfiguration$providerIdentity": "

The identity of the log provider for the third-party custom source.

", - "SubscriberResource$subscriberIdentity": "

The AWS identity used to access your data.

", + "SubscriberResource$subscriberIdentity": "

The Amazon Web Services identity used to access your data.

", "UpdateSubscriberRequest$subscriberIdentity": "

The AWS identity used to access your data.

" } }, @@ -759,7 +759,7 @@ "ResourceShareArn": { "base": null, "refs": { - "SubscriberResource$resourceShareArn": "

The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.

This field is available only for Lake Formation subscribers created after March 8, 2023.

" + "SubscriberResource$resourceShareArn": "

The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services RAM resource share. Before accepting the RAM resource share invitation, you can view details related to the RAM resource share.

This field is available only for Lake Formation subscribers created after March 8, 2023.

" } }, "ResourceShareName": { diff --git a/models/apis/sesv2/2019-09-27/api-2.json b/models/apis/sesv2/2019-09-27/api-2.json index 4771f1f9b76..0fe279d8488 100644 --- a/models/apis/sesv2/2019-09-27/api-2.json +++ b/models/apis/sesv2/2019-09-27/api-2.json @@ -11,7 +11,8 @@ "serviceId":"SESv2", "signatureVersion":"v4", "signingName":"ses", - "uid":"sesv2-2019-09-27" + "uid":"sesv2-2019-09-27", + "auth":["aws.auth#sigv4"] }, "operations":{ "BatchGetMetricData":{ @@ -2413,6 +2414,13 @@ "type":"list", "member":{"shape":"Esp"} }, + "EventBridgeDestination":{ + "type":"structure", + "required":["EventBusArn"], + "members":{ + "EventBusArn":{"shape":"AmazonResourceName"} + } + }, "EventDestination":{ "type":"structure", "required":[ @@ -2426,6 +2434,7 @@ "KinesisFirehoseDestination":{"shape":"KinesisFirehoseDestination"}, "CloudWatchDestination":{"shape":"CloudWatchDestination"}, "SnsDestination":{"shape":"SnsDestination"}, + "EventBridgeDestination":{"shape":"EventBridgeDestination"}, "PinpointDestination":{"shape":"PinpointDestination"} } }, @@ -2437,6 +2446,7 @@ "KinesisFirehoseDestination":{"shape":"KinesisFirehoseDestination"}, "CloudWatchDestination":{"shape":"CloudWatchDestination"}, "SnsDestination":{"shape":"SnsDestination"}, + "EventBridgeDestination":{"shape":"EventBridgeDestination"}, "PinpointDestination":{"shape":"PinpointDestination"} } }, diff --git a/models/apis/sesv2/2019-09-27/docs-2.json b/models/apis/sesv2/2019-09-27/docs-2.json index c2e6ae54cdf..97cb2f219c3 100644 --- a/models/apis/sesv2/2019-09-27/docs-2.json +++ b/models/apis/sesv2/2019-09-27/docs-2.json @@ -5,7 +5,7 @@ "BatchGetMetricData": "

Retrieves batches of metric data collected based on your sending activity.

You can execute this operation no more than 16 times per second, and with at most 160 queries from the batches per second (cumulative).

", "CancelExportJob": "

Cancels an export job.

", "CreateConfigurationSet": "

Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

", - "CreateConfigurationSetEventDestination": "

Create an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

A single configuration set can include more than one event destination.

", + "CreateConfigurationSetEventDestination": "

Create an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon EventBridge and associate a rule to send the event to the specified target.

A single configuration set can include more than one event destination.

", "CreateContact": "

Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.

", "CreateContactList": "

Creates a contact list.

", "CreateCustomVerificationEmailTemplate": "

Creates a new custom verification email template.

For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

", @@ -17,7 +17,7 @@ "CreateExportJob": "

Creates an export job for a data source and destination.

You can execute this operation no more than once per second.

", "CreateImportJob": "

Creates an import job for a data destination.

", "DeleteConfigurationSet": "

Delete an existing configuration set.

Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

", - "DeleteConfigurationSetEventDestination": "

Delete an event destination.

Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

", + "DeleteConfigurationSetEventDestination": "

Delete an event destination.

Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon EventBridge and associate a rule to send the event to the specified target.

", "DeleteContact": "

Removes a contact from a contact list.

", "DeleteContactList": "

Deletes a contact list and all of the contacts on that list.

", "DeleteCustomVerificationEmailTemplate": "

Deletes an existing custom verification email template.

For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

", @@ -29,7 +29,7 @@ "GetAccount": "

Obtain information about the email-sending status and capabilities of your Amazon SES account in the current Amazon Web Services Region.

", "GetBlacklistReports": "

Retrieve a list of the blacklists that your dedicated IP addresses appear on.

", "GetConfigurationSet": "

Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more.

Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

", - "GetConfigurationSetEventDestinations": "

Retrieve a list of event destinations that are associated with a configuration set.

Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

", + "GetConfigurationSetEventDestinations": "

Retrieve a list of event destinations that are associated with a configuration set.

Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon EventBridge and associate a rule to send the event to the specified target.

", "GetContact": "

Returns a contact from a contact list.

", "GetContactList": "

Returns contact list metadata. It does not return any information about the contacts present in the list.

", "GetCustomVerificationEmailTemplate": "

Returns the custom email verification template for the template name you specify.

For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

", @@ -88,7 +88,7 @@ "TagResource": "

Add one or more tags (keys and values) to a specified resource. A tag is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags.

Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.

", "TestRenderEmailTemplate": "

Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.

You can execute this operation no more than once per second.

", "UntagResource": "

Remove one or more tags (keys and values) from a specified resource.

", - "UpdateConfigurationSetEventDestination": "

Update the configuration of an event destination for a configuration set.

Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

", + "UpdateConfigurationSetEventDestination": "

Update the configuration of an event destination for a configuration set.

Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon EventBridge and associate a rule to send the event to the specified target.

", "UpdateContact": "

Updates a contact's preferences for a list.

You must specify all existing topic preferences in the TopicPreferences object, not just the ones that need updating; otherwise, all your existing preferences will be removed.

", "UpdateContactList": "

Updates contact list metadata. This operation does a complete replacement.

", "UpdateCustomVerificationEmailTemplate": "

Updates an existing custom verification email template.

For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

", @@ -134,6 +134,7 @@ "AmazonResourceName": { "base": null, "refs": { + "EventBridgeDestination$EventBusArn": "

The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported.

", "KinesisFirehoseDestination$IamRoleArn": "

The Amazon Resource Name (ARN) of the IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.

", "KinesisFirehoseDestination$DeliveryStreamArn": "

The Amazon Resource Name (ARN) of the Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.

", "ListTagsForResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource that you want to retrieve tag information for.

", @@ -1146,6 +1147,13 @@ "DomainDeliverabilityCampaign$Esps": "

The major email providers who handled the email message.

" } }, + "EventBridgeDestination": { + "base": "

An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur.

", + "refs": { + "EventDestination$EventBridgeDestination": "

An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur.

", + "EventDestinationDefinition$EventBridgeDestination": "

An object that defines an Amazon EventBridge destination for email events. You can use Amazon EventBridge to send notifications when certain email events occur.

" + } + }, "EventDestination": { "base": "

In the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

", "refs": { @@ -2757,10 +2765,10 @@ } }, "SnsDestination": { - "base": "

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

", + "base": "

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notifications when certain email events occur.

", "refs": { - "EventDestination$SnsDestination": "

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

", - "EventDestinationDefinition$SnsDestination": "

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.

" + "EventDestination$SnsDestination": "

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notifications when certain email events occur.

", + "EventDestinationDefinition$SnsDestination": "

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notifications when certain email events occur.

" } }, "Subject": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 65eae6ad12a..89026614d94 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -2534,37 +2534,6 @@ "us-west-2" : { } } }, - "backupstorage" : { - "endpoints" : { - "af-south-1" : { }, - "ap-east-1" : { }, - "ap-northeast-1" : { }, - "ap-northeast-2" : { }, - "ap-northeast-3" : { }, - "ap-south-1" : { }, - "ap-south-2" : { }, - "ap-southeast-1" : { }, - "ap-southeast-2" : { }, - "ap-southeast-3" : { }, - "ap-southeast-4" : { }, - "ca-central-1" : { }, - "eu-central-1" : { }, - "eu-central-2" : { }, - "eu-north-1" : { }, - "eu-south-1" : { }, - "eu-south-2" : { }, - "eu-west-1" : { }, - "eu-west-2" : { }, - "eu-west-3" : { }, - "me-central-1" : { }, - "me-south-1" : { }, - "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } - } - }, "batch" : { "defaults" : { "variants" : [ { @@ -12734,6 +12703,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -21239,12 +21209,6 @@ "cn-northwest-1" : { } } }, - "backupstorage" : { - "endpoints" : { - "cn-north-1" : { }, - "cn-northwest-1" : { } - } - }, "batch" : { "endpoints" : { "cn-north-1" : { }, @@ -23139,12 +23103,6 @@ "us-gov-west-1" : { } } }, - "backupstorage" : { - "endpoints" : { - "us-gov-east-1" : { }, - "us-gov-west-1" : { } - } - }, "batch" : { "defaults" : { "variants" : [ { diff --git a/service/apptest/api.go b/service/apptest/api.go new file mode 100644 index 00000000000..80814e18103 --- /dev/null +++ b/service/apptest/api.go @@ -0,0 +1,10951 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package apptest + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +const opCreateTestCase = "CreateTestCase" + +// CreateTestCaseRequest generates a "aws/request.Request" representing the +// client's request for the CreateTestCase operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateTestCase for more information on using the CreateTestCase +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateTestCaseRequest method. +// req, resp := client.CreateTestCaseRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/CreateTestCase +func (c *AppTest) CreateTestCaseRequest(input *CreateTestCaseInput) (req *request.Request, output *CreateTestCaseOutput) { + op := &request.Operation{ + Name: opCreateTestCase, + HTTPMethod: "POST", + HTTPPath: "/testcase", + } + + if input == nil { + input = &CreateTestCaseInput{} + } + + output = &CreateTestCaseOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateTestCase API operation for AWS Mainframe Modernization Application Testing. +// +// Creates a test case. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation CreateTestCase for usage and error information. +// +// Returned Error Types: +// +// - ServiceQuotaExceededException +// One or more quotas for AWS Application Testing exceeds the limit. +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/CreateTestCase +func (c *AppTest) CreateTestCase(input *CreateTestCaseInput) (*CreateTestCaseOutput, error) { + req, out := c.CreateTestCaseRequest(input) + return out, req.Send() +} + +// CreateTestCaseWithContext is the same as CreateTestCase with the addition of +// the ability to pass a context and additional request options. +// +// See CreateTestCase for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) CreateTestCaseWithContext(ctx aws.Context, input *CreateTestCaseInput, opts ...request.Option) (*CreateTestCaseOutput, error) { + req, out := c.CreateTestCaseRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateTestConfiguration = "CreateTestConfiguration" + +// CreateTestConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the CreateTestConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateTestConfiguration for more information on using the CreateTestConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateTestConfigurationRequest method. +// req, resp := client.CreateTestConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/CreateTestConfiguration +func (c *AppTest) CreateTestConfigurationRequest(input *CreateTestConfigurationInput) (req *request.Request, output *CreateTestConfigurationOutput) { + op := &request.Operation{ + Name: opCreateTestConfiguration, + HTTPMethod: "POST", + HTTPPath: "/testconfiguration", + } + + if input == nil { + input = &CreateTestConfigurationInput{} + } + + output = &CreateTestConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateTestConfiguration API operation for AWS Mainframe Modernization Application Testing. +// +// Creates a test configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation CreateTestConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ServiceQuotaExceededException +// One or more quotas for AWS Application Testing exceeds the limit. +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/CreateTestConfiguration +func (c *AppTest) CreateTestConfiguration(input *CreateTestConfigurationInput) (*CreateTestConfigurationOutput, error) { + req, out := c.CreateTestConfigurationRequest(input) + return out, req.Send() +} + +// CreateTestConfigurationWithContext is the same as CreateTestConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See CreateTestConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) CreateTestConfigurationWithContext(ctx aws.Context, input *CreateTestConfigurationInput, opts ...request.Option) (*CreateTestConfigurationOutput, error) { + req, out := c.CreateTestConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateTestSuite = "CreateTestSuite" + +// CreateTestSuiteRequest generates a "aws/request.Request" representing the +// client's request for the CreateTestSuite operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateTestSuite for more information on using the CreateTestSuite +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateTestSuiteRequest method. +// req, resp := client.CreateTestSuiteRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/CreateTestSuite +func (c *AppTest) CreateTestSuiteRequest(input *CreateTestSuiteInput) (req *request.Request, output *CreateTestSuiteOutput) { + op := &request.Operation{ + Name: opCreateTestSuite, + HTTPMethod: "POST", + HTTPPath: "/testsuite", + } + + if input == nil { + input = &CreateTestSuiteInput{} + } + + output = &CreateTestSuiteOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateTestSuite API operation for AWS Mainframe Modernization Application Testing. +// +// Creates a test suite. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation CreateTestSuite for usage and error information. +// +// Returned Error Types: +// +// - ServiceQuotaExceededException +// One or more quotas for AWS Application Testing exceeds the limit. +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/CreateTestSuite +func (c *AppTest) CreateTestSuite(input *CreateTestSuiteInput) (*CreateTestSuiteOutput, error) { + req, out := c.CreateTestSuiteRequest(input) + return out, req.Send() +} + +// CreateTestSuiteWithContext is the same as CreateTestSuite with the addition of +// the ability to pass a context and additional request options. +// +// See CreateTestSuite for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) CreateTestSuiteWithContext(ctx aws.Context, input *CreateTestSuiteInput, opts ...request.Option) (*CreateTestSuiteOutput, error) { + req, out := c.CreateTestSuiteRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteTestCase = "DeleteTestCase" + +// DeleteTestCaseRequest generates a "aws/request.Request" representing the +// client's request for the DeleteTestCase operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteTestCase for more information on using the DeleteTestCase +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteTestCaseRequest method. +// req, resp := client.DeleteTestCaseRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestCase +func (c *AppTest) DeleteTestCaseRequest(input *DeleteTestCaseInput) (req *request.Request, output *DeleteTestCaseOutput) { + op := &request.Operation{ + Name: opDeleteTestCase, + HTTPMethod: "DELETE", + HTTPPath: "/testcases/{testCaseId}", + } + + if input == nil { + input = &DeleteTestCaseInput{} + } + + output = &DeleteTestCaseOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteTestCase API operation for AWS Mainframe Modernization Application Testing. +// +// Deletes a test case. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation DeleteTestCase for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestCase +func (c *AppTest) DeleteTestCase(input *DeleteTestCaseInput) (*DeleteTestCaseOutput, error) { + req, out := c.DeleteTestCaseRequest(input) + return out, req.Send() +} + +// DeleteTestCaseWithContext is the same as DeleteTestCase with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteTestCase for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) DeleteTestCaseWithContext(ctx aws.Context, input *DeleteTestCaseInput, opts ...request.Option) (*DeleteTestCaseOutput, error) { + req, out := c.DeleteTestCaseRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteTestConfiguration = "DeleteTestConfiguration" + +// DeleteTestConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteTestConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteTestConfiguration for more information on using the DeleteTestConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteTestConfigurationRequest method. +// req, resp := client.DeleteTestConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestConfiguration +func (c *AppTest) DeleteTestConfigurationRequest(input *DeleteTestConfigurationInput) (req *request.Request, output *DeleteTestConfigurationOutput) { + op := &request.Operation{ + Name: opDeleteTestConfiguration, + HTTPMethod: "DELETE", + HTTPPath: "/testconfigurations/{testConfigurationId}", + } + + if input == nil { + input = &DeleteTestConfigurationInput{} + } + + output = &DeleteTestConfigurationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteTestConfiguration API operation for AWS Mainframe Modernization Application Testing. +// +// Deletes a test configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation DeleteTestConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ServiceQuotaExceededException +// One or more quotas for AWS Application Testing exceeds the limit. +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestConfiguration +func (c *AppTest) DeleteTestConfiguration(input *DeleteTestConfigurationInput) (*DeleteTestConfigurationOutput, error) { + req, out := c.DeleteTestConfigurationRequest(input) + return out, req.Send() +} + +// DeleteTestConfigurationWithContext is the same as DeleteTestConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteTestConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) DeleteTestConfigurationWithContext(ctx aws.Context, input *DeleteTestConfigurationInput, opts ...request.Option) (*DeleteTestConfigurationOutput, error) { + req, out := c.DeleteTestConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteTestRun = "DeleteTestRun" + +// DeleteTestRunRequest generates a "aws/request.Request" representing the +// client's request for the DeleteTestRun operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteTestRun for more information on using the DeleteTestRun +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteTestRunRequest method. +// req, resp := client.DeleteTestRunRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestRun +func (c *AppTest) DeleteTestRunRequest(input *DeleteTestRunInput) (req *request.Request, output *DeleteTestRunOutput) { + op := &request.Operation{ + Name: opDeleteTestRun, + HTTPMethod: "DELETE", + HTTPPath: "/testruns/{testRunId}", + } + + if input == nil { + input = &DeleteTestRunInput{} + } + + output = &DeleteTestRunOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteTestRun API operation for AWS Mainframe Modernization Application Testing. +// +// Deletes a test run. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation DeleteTestRun for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestRun +func (c *AppTest) DeleteTestRun(input *DeleteTestRunInput) (*DeleteTestRunOutput, error) { + req, out := c.DeleteTestRunRequest(input) + return out, req.Send() +} + +// DeleteTestRunWithContext is the same as DeleteTestRun with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteTestRun for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) DeleteTestRunWithContext(ctx aws.Context, input *DeleteTestRunInput, opts ...request.Option) (*DeleteTestRunOutput, error) { + req, out := c.DeleteTestRunRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteTestSuite = "DeleteTestSuite" + +// DeleteTestSuiteRequest generates a "aws/request.Request" representing the +// client's request for the DeleteTestSuite operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteTestSuite for more information on using the DeleteTestSuite +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteTestSuiteRequest method. +// req, resp := client.DeleteTestSuiteRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestSuite +func (c *AppTest) DeleteTestSuiteRequest(input *DeleteTestSuiteInput) (req *request.Request, output *DeleteTestSuiteOutput) { + op := &request.Operation{ + Name: opDeleteTestSuite, + HTTPMethod: "DELETE", + HTTPPath: "/testsuites/{testSuiteId}", + } + + if input == nil { + input = &DeleteTestSuiteInput{} + } + + output = &DeleteTestSuiteOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteTestSuite API operation for AWS Mainframe Modernization Application Testing. +// +// Deletes a test suite. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation DeleteTestSuite for usage and error information. +// +// Returned Error Types: +// +// - ServiceQuotaExceededException +// One or more quotas for AWS Application Testing exceeds the limit. +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/DeleteTestSuite +func (c *AppTest) DeleteTestSuite(input *DeleteTestSuiteInput) (*DeleteTestSuiteOutput, error) { + req, out := c.DeleteTestSuiteRequest(input) + return out, req.Send() +} + +// DeleteTestSuiteWithContext is the same as DeleteTestSuite with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteTestSuite for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) DeleteTestSuiteWithContext(ctx aws.Context, input *DeleteTestSuiteInput, opts ...request.Option) (*DeleteTestSuiteOutput, error) { + req, out := c.DeleteTestSuiteRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetTestCase = "GetTestCase" + +// GetTestCaseRequest generates a "aws/request.Request" representing the +// client's request for the GetTestCase operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetTestCase for more information on using the GetTestCase +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetTestCaseRequest method. +// req, resp := client.GetTestCaseRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestCase +func (c *AppTest) GetTestCaseRequest(input *GetTestCaseInput) (req *request.Request, output *GetTestCaseOutput) { + op := &request.Operation{ + Name: opGetTestCase, + HTTPMethod: "GET", + HTTPPath: "/testcases/{testCaseId}", + } + + if input == nil { + input = &GetTestCaseInput{} + } + + output = &GetTestCaseOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetTestCase API operation for AWS Mainframe Modernization Application Testing. +// +// Gets a test case. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation GetTestCase for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestCase +func (c *AppTest) GetTestCase(input *GetTestCaseInput) (*GetTestCaseOutput, error) { + req, out := c.GetTestCaseRequest(input) + return out, req.Send() +} + +// GetTestCaseWithContext is the same as GetTestCase with the addition of +// the ability to pass a context and additional request options. +// +// See GetTestCase for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) GetTestCaseWithContext(ctx aws.Context, input *GetTestCaseInput, opts ...request.Option) (*GetTestCaseOutput, error) { + req, out := c.GetTestCaseRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetTestConfiguration = "GetTestConfiguration" + +// GetTestConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the GetTestConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetTestConfiguration for more information on using the GetTestConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetTestConfigurationRequest method. +// req, resp := client.GetTestConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestConfiguration +func (c *AppTest) GetTestConfigurationRequest(input *GetTestConfigurationInput) (req *request.Request, output *GetTestConfigurationOutput) { + op := &request.Operation{ + Name: opGetTestConfiguration, + HTTPMethod: "GET", + HTTPPath: "/testconfigurations/{testConfigurationId}", + } + + if input == nil { + input = &GetTestConfigurationInput{} + } + + output = &GetTestConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetTestConfiguration API operation for AWS Mainframe Modernization Application Testing. +// +// Gets a test configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation GetTestConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestConfiguration +func (c *AppTest) GetTestConfiguration(input *GetTestConfigurationInput) (*GetTestConfigurationOutput, error) { + req, out := c.GetTestConfigurationRequest(input) + return out, req.Send() +} + +// GetTestConfigurationWithContext is the same as GetTestConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See GetTestConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) GetTestConfigurationWithContext(ctx aws.Context, input *GetTestConfigurationInput, opts ...request.Option) (*GetTestConfigurationOutput, error) { + req, out := c.GetTestConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetTestRunStep = "GetTestRunStep" + +// GetTestRunStepRequest generates a "aws/request.Request" representing the +// client's request for the GetTestRunStep operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetTestRunStep for more information on using the GetTestRunStep +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetTestRunStepRequest method. +// req, resp := client.GetTestRunStepRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestRunStep +func (c *AppTest) GetTestRunStepRequest(input *GetTestRunStepInput) (req *request.Request, output *GetTestRunStepOutput) { + op := &request.Operation{ + Name: opGetTestRunStep, + HTTPMethod: "GET", + HTTPPath: "/testruns/{testRunId}/steps/{stepName}", + } + + if input == nil { + input = &GetTestRunStepInput{} + } + + output = &GetTestRunStepOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetTestRunStep API operation for AWS Mainframe Modernization Application Testing. +// +// Gets a test run step. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation GetTestRunStep for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestRunStep +func (c *AppTest) GetTestRunStep(input *GetTestRunStepInput) (*GetTestRunStepOutput, error) { + req, out := c.GetTestRunStepRequest(input) + return out, req.Send() +} + +// GetTestRunStepWithContext is the same as GetTestRunStep with the addition of +// the ability to pass a context and additional request options. +// +// See GetTestRunStep for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) GetTestRunStepWithContext(ctx aws.Context, input *GetTestRunStepInput, opts ...request.Option) (*GetTestRunStepOutput, error) { + req, out := c.GetTestRunStepRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetTestSuite = "GetTestSuite" + +// GetTestSuiteRequest generates a "aws/request.Request" representing the +// client's request for the GetTestSuite operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetTestSuite for more information on using the GetTestSuite +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetTestSuiteRequest method. +// req, resp := client.GetTestSuiteRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestSuite +func (c *AppTest) GetTestSuiteRequest(input *GetTestSuiteInput) (req *request.Request, output *GetTestSuiteOutput) { + op := &request.Operation{ + Name: opGetTestSuite, + HTTPMethod: "GET", + HTTPPath: "/testsuites/{testSuiteId}", + } + + if input == nil { + input = &GetTestSuiteInput{} + } + + output = &GetTestSuiteOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetTestSuite API operation for AWS Mainframe Modernization Application Testing. +// +// Gets a test suite. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation GetTestSuite for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/GetTestSuite +func (c *AppTest) GetTestSuite(input *GetTestSuiteInput) (*GetTestSuiteOutput, error) { + req, out := c.GetTestSuiteRequest(input) + return out, req.Send() +} + +// GetTestSuiteWithContext is the same as GetTestSuite with the addition of +// the ability to pass a context and additional request options. +// +// See GetTestSuite for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) GetTestSuiteWithContext(ctx aws.Context, input *GetTestSuiteInput, opts ...request.Option) (*GetTestSuiteOutput, error) { + req, out := c.GetTestSuiteRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTagsForResource +func (c *AppTest) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for AWS Mainframe Modernization Application Testing. +// +// Lists tags for a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTagsForResource +func (c *AppTest) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListTestCases = "ListTestCases" + +// ListTestCasesRequest generates a "aws/request.Request" representing the +// client's request for the ListTestCases operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTestCases for more information on using the ListTestCases +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTestCasesRequest method. +// req, resp := client.ListTestCasesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestCases +func (c *AppTest) ListTestCasesRequest(input *ListTestCasesInput) (req *request.Request, output *ListTestCasesOutput) { + op := &request.Operation{ + Name: opListTestCases, + HTTPMethod: "GET", + HTTPPath: "/testcases", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListTestCasesInput{} + } + + output = &ListTestCasesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTestCases API operation for AWS Mainframe Modernization Application Testing. +// +// Lists test cases. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation ListTestCases for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestCases +func (c *AppTest) ListTestCases(input *ListTestCasesInput) (*ListTestCasesOutput, error) { + req, out := c.ListTestCasesRequest(input) + return out, req.Send() +} + +// ListTestCasesWithContext is the same as ListTestCases with the addition of +// the ability to pass a context and additional request options. +// +// See ListTestCases for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestCasesWithContext(ctx aws.Context, input *ListTestCasesInput, opts ...request.Option) (*ListTestCasesOutput, error) { + req, out := c.ListTestCasesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListTestCasesPages iterates over the pages of a ListTestCases operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTestCases method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTestCases operation. +// pageNum := 0 +// err := client.ListTestCasesPages(params, +// func(page *apptest.ListTestCasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *AppTest) ListTestCasesPages(input *ListTestCasesInput, fn func(*ListTestCasesOutput, bool) bool) error { + return c.ListTestCasesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTestCasesPagesWithContext same as ListTestCasesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestCasesPagesWithContext(ctx aws.Context, input *ListTestCasesInput, fn func(*ListTestCasesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTestCasesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTestCasesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTestCasesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTestConfigurations = "ListTestConfigurations" + +// ListTestConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the ListTestConfigurations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTestConfigurations for more information on using the ListTestConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTestConfigurationsRequest method. +// req, resp := client.ListTestConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestConfigurations +func (c *AppTest) ListTestConfigurationsRequest(input *ListTestConfigurationsInput) (req *request.Request, output *ListTestConfigurationsOutput) { + op := &request.Operation{ + Name: opListTestConfigurations, + HTTPMethod: "GET", + HTTPPath: "/testconfigurations", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListTestConfigurationsInput{} + } + + output = &ListTestConfigurationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTestConfigurations API operation for AWS Mainframe Modernization Application Testing. +// +// Lists test configurations. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation ListTestConfigurations for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestConfigurations +func (c *AppTest) ListTestConfigurations(input *ListTestConfigurationsInput) (*ListTestConfigurationsOutput, error) { + req, out := c.ListTestConfigurationsRequest(input) + return out, req.Send() +} + +// ListTestConfigurationsWithContext is the same as ListTestConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See ListTestConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestConfigurationsWithContext(ctx aws.Context, input *ListTestConfigurationsInput, opts ...request.Option) (*ListTestConfigurationsOutput, error) { + req, out := c.ListTestConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListTestConfigurationsPages iterates over the pages of a ListTestConfigurations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTestConfigurations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTestConfigurations operation. +// pageNum := 0 +// err := client.ListTestConfigurationsPages(params, +// func(page *apptest.ListTestConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *AppTest) ListTestConfigurationsPages(input *ListTestConfigurationsInput, fn func(*ListTestConfigurationsOutput, bool) bool) error { + return c.ListTestConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTestConfigurationsPagesWithContext same as ListTestConfigurationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestConfigurationsPagesWithContext(ctx aws.Context, input *ListTestConfigurationsInput, fn func(*ListTestConfigurationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTestConfigurationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTestConfigurationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTestConfigurationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTestRunSteps = "ListTestRunSteps" + +// ListTestRunStepsRequest generates a "aws/request.Request" representing the +// client's request for the ListTestRunSteps operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTestRunSteps for more information on using the ListTestRunSteps +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTestRunStepsRequest method. +// req, resp := client.ListTestRunStepsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestRunSteps +func (c *AppTest) ListTestRunStepsRequest(input *ListTestRunStepsInput) (req *request.Request, output *ListTestRunStepsOutput) { + op := &request.Operation{ + Name: opListTestRunSteps, + HTTPMethod: "GET", + HTTPPath: "/testruns/{testRunId}/steps", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListTestRunStepsInput{} + } + + output = &ListTestRunStepsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTestRunSteps API operation for AWS Mainframe Modernization Application Testing. +// +// Lists test run steps. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation ListTestRunSteps for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestRunSteps +func (c *AppTest) ListTestRunSteps(input *ListTestRunStepsInput) (*ListTestRunStepsOutput, error) { + req, out := c.ListTestRunStepsRequest(input) + return out, req.Send() +} + +// ListTestRunStepsWithContext is the same as ListTestRunSteps with the addition of +// the ability to pass a context and additional request options. +// +// See ListTestRunSteps for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestRunStepsWithContext(ctx aws.Context, input *ListTestRunStepsInput, opts ...request.Option) (*ListTestRunStepsOutput, error) { + req, out := c.ListTestRunStepsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListTestRunStepsPages iterates over the pages of a ListTestRunSteps operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTestRunSteps method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTestRunSteps operation. +// pageNum := 0 +// err := client.ListTestRunStepsPages(params, +// func(page *apptest.ListTestRunStepsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *AppTest) ListTestRunStepsPages(input *ListTestRunStepsInput, fn func(*ListTestRunStepsOutput, bool) bool) error { + return c.ListTestRunStepsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTestRunStepsPagesWithContext same as ListTestRunStepsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestRunStepsPagesWithContext(ctx aws.Context, input *ListTestRunStepsInput, fn func(*ListTestRunStepsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTestRunStepsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTestRunStepsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTestRunStepsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTestRunTestCases = "ListTestRunTestCases" + +// ListTestRunTestCasesRequest generates a "aws/request.Request" representing the +// client's request for the ListTestRunTestCases operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTestRunTestCases for more information on using the ListTestRunTestCases +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTestRunTestCasesRequest method. +// req, resp := client.ListTestRunTestCasesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestRunTestCases +func (c *AppTest) ListTestRunTestCasesRequest(input *ListTestRunTestCasesInput) (req *request.Request, output *ListTestRunTestCasesOutput) { + op := &request.Operation{ + Name: opListTestRunTestCases, + HTTPMethod: "GET", + HTTPPath: "/testruns/{testRunId}/testcases", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListTestRunTestCasesInput{} + } + + output = &ListTestRunTestCasesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTestRunTestCases API operation for AWS Mainframe Modernization Application Testing. +// +// Lists test run test cases. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation ListTestRunTestCases for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestRunTestCases +func (c *AppTest) ListTestRunTestCases(input *ListTestRunTestCasesInput) (*ListTestRunTestCasesOutput, error) { + req, out := c.ListTestRunTestCasesRequest(input) + return out, req.Send() +} + +// ListTestRunTestCasesWithContext is the same as ListTestRunTestCases with the addition of +// the ability to pass a context and additional request options. +// +// See ListTestRunTestCases for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestRunTestCasesWithContext(ctx aws.Context, input *ListTestRunTestCasesInput, opts ...request.Option) (*ListTestRunTestCasesOutput, error) { + req, out := c.ListTestRunTestCasesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListTestRunTestCasesPages iterates over the pages of a ListTestRunTestCases operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTestRunTestCases method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTestRunTestCases operation. +// pageNum := 0 +// err := client.ListTestRunTestCasesPages(params, +// func(page *apptest.ListTestRunTestCasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *AppTest) ListTestRunTestCasesPages(input *ListTestRunTestCasesInput, fn func(*ListTestRunTestCasesOutput, bool) bool) error { + return c.ListTestRunTestCasesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTestRunTestCasesPagesWithContext same as ListTestRunTestCasesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestRunTestCasesPagesWithContext(ctx aws.Context, input *ListTestRunTestCasesInput, fn func(*ListTestRunTestCasesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTestRunTestCasesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTestRunTestCasesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTestRunTestCasesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTestRuns = "ListTestRuns" + +// ListTestRunsRequest generates a "aws/request.Request" representing the +// client's request for the ListTestRuns operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTestRuns for more information on using the ListTestRuns +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTestRunsRequest method. +// req, resp := client.ListTestRunsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestRuns +func (c *AppTest) ListTestRunsRequest(input *ListTestRunsInput) (req *request.Request, output *ListTestRunsOutput) { + op := &request.Operation{ + Name: opListTestRuns, + HTTPMethod: "GET", + HTTPPath: "/testruns", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListTestRunsInput{} + } + + output = &ListTestRunsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTestRuns API operation for AWS Mainframe Modernization Application Testing. +// +// Lists test runs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation ListTestRuns for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestRuns +func (c *AppTest) ListTestRuns(input *ListTestRunsInput) (*ListTestRunsOutput, error) { + req, out := c.ListTestRunsRequest(input) + return out, req.Send() +} + +// ListTestRunsWithContext is the same as ListTestRuns with the addition of +// the ability to pass a context and additional request options. +// +// See ListTestRuns for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestRunsWithContext(ctx aws.Context, input *ListTestRunsInput, opts ...request.Option) (*ListTestRunsOutput, error) { + req, out := c.ListTestRunsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListTestRunsPages iterates over the pages of a ListTestRuns operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTestRuns method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTestRuns operation. +// pageNum := 0 +// err := client.ListTestRunsPages(params, +// func(page *apptest.ListTestRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *AppTest) ListTestRunsPages(input *ListTestRunsInput, fn func(*ListTestRunsOutput, bool) bool) error { + return c.ListTestRunsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTestRunsPagesWithContext same as ListTestRunsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestRunsPagesWithContext(ctx aws.Context, input *ListTestRunsInput, fn func(*ListTestRunsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTestRunsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTestRunsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTestRunsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTestSuites = "ListTestSuites" + +// ListTestSuitesRequest generates a "aws/request.Request" representing the +// client's request for the ListTestSuites operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTestSuites for more information on using the ListTestSuites +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTestSuitesRequest method. +// req, resp := client.ListTestSuitesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestSuites +func (c *AppTest) ListTestSuitesRequest(input *ListTestSuitesInput) (req *request.Request, output *ListTestSuitesOutput) { + op := &request.Operation{ + Name: opListTestSuites, + HTTPMethod: "GET", + HTTPPath: "/testsuites", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListTestSuitesInput{} + } + + output = &ListTestSuitesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTestSuites API operation for AWS Mainframe Modernization Application Testing. +// +// Lists test suites. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation ListTestSuites for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/ListTestSuites +func (c *AppTest) ListTestSuites(input *ListTestSuitesInput) (*ListTestSuitesOutput, error) { + req, out := c.ListTestSuitesRequest(input) + return out, req.Send() +} + +// ListTestSuitesWithContext is the same as ListTestSuites with the addition of +// the ability to pass a context and additional request options. +// +// See ListTestSuites for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestSuitesWithContext(ctx aws.Context, input *ListTestSuitesInput, opts ...request.Option) (*ListTestSuitesOutput, error) { + req, out := c.ListTestSuitesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListTestSuitesPages iterates over the pages of a ListTestSuites operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTestSuites method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTestSuites operation. +// pageNum := 0 +// err := client.ListTestSuitesPages(params, +// func(page *apptest.ListTestSuitesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *AppTest) ListTestSuitesPages(input *ListTestSuitesInput, fn func(*ListTestSuitesOutput, bool) bool) error { + return c.ListTestSuitesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTestSuitesPagesWithContext same as ListTestSuitesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) ListTestSuitesPagesWithContext(ctx aws.Context, input *ListTestSuitesInput, fn func(*ListTestSuitesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTestSuitesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTestSuitesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTestSuitesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opStartTestRun = "StartTestRun" + +// StartTestRunRequest generates a "aws/request.Request" representing the +// client's request for the StartTestRun operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartTestRun for more information on using the StartTestRun +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartTestRunRequest method. +// req, resp := client.StartTestRunRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/StartTestRun +func (c *AppTest) StartTestRunRequest(input *StartTestRunInput) (req *request.Request, output *StartTestRunOutput) { + op := &request.Operation{ + Name: opStartTestRun, + HTTPMethod: "POST", + HTTPPath: "/testrun", + } + + if input == nil { + input = &StartTestRunInput{} + } + + output = &StartTestRunOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartTestRun API operation for AWS Mainframe Modernization Application Testing. +// +// Starts a test run. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation StartTestRun for usage and error information. +// +// Returned Error Types: +// +// - ServiceQuotaExceededException +// One or more quotas for AWS Application Testing exceeds the limit. +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/StartTestRun +func (c *AppTest) StartTestRun(input *StartTestRunInput) (*StartTestRunOutput, error) { + req, out := c.StartTestRunRequest(input) + return out, req.Send() +} + +// StartTestRunWithContext is the same as StartTestRun with the addition of +// the ability to pass a context and additional request options. +// +// See StartTestRun for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) StartTestRunWithContext(ctx aws.Context, input *StartTestRunInput, opts ...request.Option) (*StartTestRunOutput, error) { + req, out := c.StartTestRunRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/TagResource +func (c *AppTest) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for AWS Mainframe Modernization Application Testing. +// +// Specifies tags of a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// +// - ServiceQuotaExceededException +// One or more quotas for AWS Application Testing exceeds the limit. +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/TagResource +func (c *AppTest) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UntagResource for more information on using the UntagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UntagResource +func (c *AppTest) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for AWS Mainframe Modernization Application Testing. +// +// Untags a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UntagResource +func (c *AppTest) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateTestCase = "UpdateTestCase" + +// UpdateTestCaseRequest generates a "aws/request.Request" representing the +// client's request for the UpdateTestCase operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateTestCase for more information on using the UpdateTestCase +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateTestCaseRequest method. +// req, resp := client.UpdateTestCaseRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UpdateTestCase +func (c *AppTest) UpdateTestCaseRequest(input *UpdateTestCaseInput) (req *request.Request, output *UpdateTestCaseOutput) { + op := &request.Operation{ + Name: opUpdateTestCase, + HTTPMethod: "PATCH", + HTTPPath: "/testcases/{testCaseId}", + } + + if input == nil { + input = &UpdateTestCaseInput{} + } + + output = &UpdateTestCaseOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateTestCase API operation for AWS Mainframe Modernization Application Testing. +// +// Updates a test case. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation UpdateTestCase for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UpdateTestCase +func (c *AppTest) UpdateTestCase(input *UpdateTestCaseInput) (*UpdateTestCaseOutput, error) { + req, out := c.UpdateTestCaseRequest(input) + return out, req.Send() +} + +// UpdateTestCaseWithContext is the same as UpdateTestCase with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateTestCase for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) UpdateTestCaseWithContext(ctx aws.Context, input *UpdateTestCaseInput, opts ...request.Option) (*UpdateTestCaseOutput, error) { + req, out := c.UpdateTestCaseRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateTestConfiguration = "UpdateTestConfiguration" + +// UpdateTestConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateTestConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateTestConfiguration for more information on using the UpdateTestConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateTestConfigurationRequest method. +// req, resp := client.UpdateTestConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UpdateTestConfiguration +func (c *AppTest) UpdateTestConfigurationRequest(input *UpdateTestConfigurationInput) (req *request.Request, output *UpdateTestConfigurationOutput) { + op := &request.Operation{ + Name: opUpdateTestConfiguration, + HTTPMethod: "PATCH", + HTTPPath: "/testconfigurations/{testConfigurationId}", + } + + if input == nil { + input = &UpdateTestConfigurationInput{} + } + + output = &UpdateTestConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateTestConfiguration API operation for AWS Mainframe Modernization Application Testing. +// +// Updates a test configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation UpdateTestConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UpdateTestConfiguration +func (c *AppTest) UpdateTestConfiguration(input *UpdateTestConfigurationInput) (*UpdateTestConfigurationOutput, error) { + req, out := c.UpdateTestConfigurationRequest(input) + return out, req.Send() +} + +// UpdateTestConfigurationWithContext is the same as UpdateTestConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateTestConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) UpdateTestConfigurationWithContext(ctx aws.Context, input *UpdateTestConfigurationInput, opts ...request.Option) (*UpdateTestConfigurationOutput, error) { + req, out := c.UpdateTestConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateTestSuite = "UpdateTestSuite" + +// UpdateTestSuiteRequest generates a "aws/request.Request" representing the +// client's request for the UpdateTestSuite operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateTestSuite for more information on using the UpdateTestSuite +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateTestSuiteRequest method. +// req, resp := client.UpdateTestSuiteRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UpdateTestSuite +func (c *AppTest) UpdateTestSuiteRequest(input *UpdateTestSuiteInput) (req *request.Request, output *UpdateTestSuiteOutput) { + op := &request.Operation{ + Name: opUpdateTestSuite, + HTTPMethod: "PATCH", + HTTPPath: "/testsuites/{testSuiteId}", + } + + if input == nil { + input = &UpdateTestSuiteInput{} + } + + output = &UpdateTestSuiteOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateTestSuite API operation for AWS Mainframe Modernization Application Testing. +// +// Updates a test suite. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Mainframe Modernization Application Testing's +// API operation UpdateTestSuite for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ValidationException +// One or more parameter provided in the request is not valid. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06/UpdateTestSuite +func (c *AppTest) UpdateTestSuite(input *UpdateTestSuiteInput) (*UpdateTestSuiteOutput, error) { + req, out := c.UpdateTestSuiteRequest(input) + return out, req.Send() +} + +// UpdateTestSuiteWithContext is the same as UpdateTestSuite with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateTestSuite for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *AppTest) UpdateTestSuiteWithContext(ctx aws.Context, input *UpdateTestSuiteInput, opts ...request.Option) (*UpdateTestSuiteOutput, error) { + req, out := c.UpdateTestSuiteRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// The account or role doesn't have the right permissions to make the request. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *AccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Defines a batch. +type Batch struct { + _ struct{} `type:"structure"` + + // The job name of the batch. + // + // BatchJobName is a required field + BatchJobName *string `locationName:"batchJobName" type:"string" required:"true"` + + // The batch job parameters of the batch. + BatchJobParameters map[string]*string `locationName:"batchJobParameters" type:"map"` + + // The export data set names of the batch. + ExportDataSetNames []*string `locationName:"exportDataSetNames" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Batch) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Batch) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Batch) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Batch"} + if s.BatchJobName == nil { + invalidParams.Add(request.NewErrParamRequired("BatchJobName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBatchJobName sets the BatchJobName field's value. +func (s *Batch) SetBatchJobName(v string) *Batch { + s.BatchJobName = &v + return s +} + +// SetBatchJobParameters sets the BatchJobParameters field's value. +func (s *Batch) SetBatchJobParameters(v map[string]*string) *Batch { + s.BatchJobParameters = v + return s +} + +// SetExportDataSetNames sets the ExportDataSetNames field's value. +func (s *Batch) SetExportDataSetNames(v []*string) *Batch { + s.ExportDataSetNames = v + return s +} + +// Defines a batch step input. +type BatchStepInput_ struct { + _ struct{} `type:"structure"` + + // The batch job name of the batch step input. + // + // BatchJobName is a required field + BatchJobName *string `locationName:"batchJobName" type:"string" required:"true"` + + // The batch job parameters of the batch step input. + BatchJobParameters map[string]*string `locationName:"batchJobParameters" type:"map"` + + // The export data set names of the batch step input. + ExportDataSetNames []*string `locationName:"exportDataSetNames" type:"list"` + + // The properties of the batch step input. + Properties *MainframeActionProperties `locationName:"properties" type:"structure"` + + // The resource of the batch step input. + // + // Resource is a required field + Resource *MainframeResourceSummary `locationName:"resource" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStepInput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStepInput_) GoString() string { + return s.String() +} + +// SetBatchJobName sets the BatchJobName field's value. +func (s *BatchStepInput_) SetBatchJobName(v string) *BatchStepInput_ { + s.BatchJobName = &v + return s +} + +// SetBatchJobParameters sets the BatchJobParameters field's value. +func (s *BatchStepInput_) SetBatchJobParameters(v map[string]*string) *BatchStepInput_ { + s.BatchJobParameters = v + return s +} + +// SetExportDataSetNames sets the ExportDataSetNames field's value. +func (s *BatchStepInput_) SetExportDataSetNames(v []*string) *BatchStepInput_ { + s.ExportDataSetNames = v + return s +} + +// SetProperties sets the Properties field's value. +func (s *BatchStepInput_) SetProperties(v *MainframeActionProperties) *BatchStepInput_ { + s.Properties = v + return s +} + +// SetResource sets the Resource field's value. +func (s *BatchStepInput_) SetResource(v *MainframeResourceSummary) *BatchStepInput_ { + s.Resource = v + return s +} + +// Defines a batch step output. +type BatchStepOutput_ struct { + _ struct{} `type:"structure"` + + // The data set details of the batch step output. + DataSetDetails []*DataSet `locationName:"dataSetDetails" type:"list"` + + // The data set export location of the batch step output. + DataSetExportLocation *string `locationName:"dataSetExportLocation" type:"string"` + + // The Database Migration Service (DMS) output location of the batch step output. + DmsOutputLocation *string `locationName:"dmsOutputLocation" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStepOutput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStepOutput_) GoString() string { + return s.String() +} + +// SetDataSetDetails sets the DataSetDetails field's value. +func (s *BatchStepOutput_) SetDataSetDetails(v []*DataSet) *BatchStepOutput_ { + s.DataSetDetails = v + return s +} + +// SetDataSetExportLocation sets the DataSetExportLocation field's value. +func (s *BatchStepOutput_) SetDataSetExportLocation(v string) *BatchStepOutput_ { + s.DataSetExportLocation = &v + return s +} + +// SetDmsOutputLocation sets the DmsOutputLocation field's value. +func (s *BatchStepOutput_) SetDmsOutputLocation(v string) *BatchStepOutput_ { + s.DmsOutputLocation = &v + return s +} + +// Summarizes a batch job. +type BatchSummary struct { + _ struct{} `type:"structure"` + + // The step input of the batch summary. + // + // StepInput is a required field + StepInput *BatchStepInput_ `locationName:"stepInput" type:"structure" required:"true"` + + // The step output of the batch summary. + StepOutput *BatchStepOutput_ `locationName:"stepOutput" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchSummary) GoString() string { + return s.String() +} + +// SetStepInput sets the StepInput field's value. +func (s *BatchSummary) SetStepInput(v *BatchStepInput_) *BatchSummary { + s.StepInput = v + return s +} + +// SetStepOutput sets the StepOutput field's value. +func (s *BatchSummary) SetStepOutput(v *BatchStepOutput_) *BatchSummary { + s.StepOutput = v + return s +} + +// Specifies the CloudFormation template and its parameters. +type CloudFormation struct { + _ struct{} `type:"structure"` + + // The CloudFormation properties in the CloudFormation template. + Parameters map[string]*string `locationName:"parameters" type:"map"` + + // The template location of the CloudFormation template. + // + // TemplateLocation is a required field + TemplateLocation *string `locationName:"templateLocation" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudFormation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudFormation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CloudFormation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CloudFormation"} + if s.TemplateLocation == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateLocation")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetParameters sets the Parameters field's value. +func (s *CloudFormation) SetParameters(v map[string]*string) *CloudFormation { + s.Parameters = v + return s +} + +// SetTemplateLocation sets the TemplateLocation field's value. +func (s *CloudFormation) SetTemplateLocation(v string) *CloudFormation { + s.TemplateLocation = &v + return s +} + +// Specifies the CloudFormation action. +type CloudFormationAction struct { + _ struct{} `type:"structure"` + + // The action type of the CloudFormation action. + ActionType *string `locationName:"actionType" type:"string" enum:"CloudFormationActionType"` + + // The resource of the CloudFormation action. + // + // Resource is a required field + Resource *string `locationName:"resource" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudFormationAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudFormationAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CloudFormationAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CloudFormationAction"} + if s.Resource == nil { + invalidParams.Add(request.NewErrParamRequired("Resource")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActionType sets the ActionType field's value. +func (s *CloudFormationAction) SetActionType(v string) *CloudFormationAction { + s.ActionType = &v + return s +} + +// SetResource sets the Resource field's value. +func (s *CloudFormationAction) SetResource(v string) *CloudFormationAction { + s.Resource = &v + return s +} + +// Specifies the CloudFormation step summary. +type CloudFormationStepSummary struct { + _ struct{} `type:"structure"` + + // Creates the CloudFormation summary of the step. + CreateCloudformation *CreateCloudFormationSummary `locationName:"createCloudformation" type:"structure"` + + // Deletes the CloudFormation summary of the CloudFormation step summary. + DeleteCloudformation *DeleteCloudFormationSummary `locationName:"deleteCloudformation" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudFormationStepSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudFormationStepSummary) GoString() string { + return s.String() +} + +// SetCreateCloudformation sets the CreateCloudformation field's value. +func (s *CloudFormationStepSummary) SetCreateCloudformation(v *CreateCloudFormationSummary) *CloudFormationStepSummary { + s.CreateCloudformation = v + return s +} + +// SetDeleteCloudformation sets the DeleteCloudformation field's value. +func (s *CloudFormationStepSummary) SetDeleteCloudformation(v *DeleteCloudFormationSummary) *CloudFormationStepSummary { + s.DeleteCloudformation = v + return s +} + +// Compares the action. +type CompareAction struct { + _ struct{} `type:"structure"` + + // The input of the compare action. + // + // Input is a required field + Input *Input_ `locationName:"input" type:"structure" required:"true"` + + // The output of the compare action. + Output *Output_ `locationName:"output" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CompareAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CompareAction"} + if s.Input == nil { + invalidParams.Add(request.NewErrParamRequired("Input")) + } + if s.Input != nil { + if err := s.Input.Validate(); err != nil { + invalidParams.AddNested("Input", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInput sets the Input field's value. +func (s *CompareAction) SetInput(v *Input_) *CompareAction { + s.Input = v + return s +} + +// SetOutput sets the Output field's value. +func (s *CompareAction) SetOutput(v *Output_) *CompareAction { + s.Output = v + return s +} + +// Specifies the compare action summary. +type CompareActionSummary struct { + _ struct{} `type:"structure"` + + // The type of the compare action summary. + // + // Type is a required field + Type *File `locationName:"type" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareActionSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareActionSummary) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *CompareActionSummary) SetType(v *File) *CompareActionSummary { + s.Type = v + return s +} + +// Specifies the compare data sets step input. +type CompareDataSetsStepInput_ struct { + _ struct{} `type:"structure"` + + // The source data sets of the compare data sets step input location. + // + // SourceDataSets is a required field + SourceDataSets []*DataSet `locationName:"sourceDataSets" type:"list" required:"true"` + + // The source location of the compare data sets step input location. + // + // SourceLocation is a required field + SourceLocation *string `locationName:"sourceLocation" type:"string" required:"true"` + + // The target data sets of the compare data sets step input location. + // + // TargetDataSets is a required field + TargetDataSets []*DataSet `locationName:"targetDataSets" type:"list" required:"true"` + + // The target location of the compare data sets step input location. + // + // TargetLocation is a required field + TargetLocation *string `locationName:"targetLocation" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDataSetsStepInput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDataSetsStepInput_) GoString() string { + return s.String() +} + +// SetSourceDataSets sets the SourceDataSets field's value. +func (s *CompareDataSetsStepInput_) SetSourceDataSets(v []*DataSet) *CompareDataSetsStepInput_ { + s.SourceDataSets = v + return s +} + +// SetSourceLocation sets the SourceLocation field's value. +func (s *CompareDataSetsStepInput_) SetSourceLocation(v string) *CompareDataSetsStepInput_ { + s.SourceLocation = &v + return s +} + +// SetTargetDataSets sets the TargetDataSets field's value. +func (s *CompareDataSetsStepInput_) SetTargetDataSets(v []*DataSet) *CompareDataSetsStepInput_ { + s.TargetDataSets = v + return s +} + +// SetTargetLocation sets the TargetLocation field's value. +func (s *CompareDataSetsStepInput_) SetTargetLocation(v string) *CompareDataSetsStepInput_ { + s.TargetLocation = &v + return s +} + +// Specifies the compare data sets step output. +type CompareDataSetsStepOutput_ struct { + _ struct{} `type:"structure"` + + // The comparison output location of the compare data sets step output. + // + // ComparisonOutputLocation is a required field + ComparisonOutputLocation *string `locationName:"comparisonOutputLocation" type:"string" required:"true"` + + // The comparison status of the compare data sets step output. + // + // ComparisonStatus is a required field + ComparisonStatus *string `locationName:"comparisonStatus" type:"string" required:"true" enum:"ComparisonStatusEnum"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDataSetsStepOutput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDataSetsStepOutput_) GoString() string { + return s.String() +} + +// SetComparisonOutputLocation sets the ComparisonOutputLocation field's value. +func (s *CompareDataSetsStepOutput_) SetComparisonOutputLocation(v string) *CompareDataSetsStepOutput_ { + s.ComparisonOutputLocation = &v + return s +} + +// SetComparisonStatus sets the ComparisonStatus field's value. +func (s *CompareDataSetsStepOutput_) SetComparisonStatus(v string) *CompareDataSetsStepOutput_ { + s.ComparisonStatus = &v + return s +} + +// Compares data sets summary. +type CompareDataSetsSummary struct { + _ struct{} `type:"structure"` + + // The step input of the compare data sets summary. + // + // StepInput is a required field + StepInput *CompareDataSetsStepInput_ `locationName:"stepInput" type:"structure" required:"true"` + + // The step output of the compare data sets summary. + StepOutput *CompareDataSetsStepOutput_ `locationName:"stepOutput" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDataSetsSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDataSetsSummary) GoString() string { + return s.String() +} + +// SetStepInput sets the StepInput field's value. +func (s *CompareDataSetsSummary) SetStepInput(v *CompareDataSetsStepInput_) *CompareDataSetsSummary { + s.StepInput = v + return s +} + +// SetStepOutput sets the StepOutput field's value. +func (s *CompareDataSetsSummary) SetStepOutput(v *CompareDataSetsStepOutput_) *CompareDataSetsSummary { + s.StepOutput = v + return s +} + +// Compares the database Change Data Capture (CDC) step input. +type CompareDatabaseCDCStepInput_ struct { + _ struct{} `type:"structure"` + + // The output location of the compare database CDC step input. + OutputLocation *string `locationName:"outputLocation" type:"string"` + + // The source location of the compare database CDC step input. + // + // SourceLocation is a required field + SourceLocation *string `locationName:"sourceLocation" type:"string" required:"true"` + + // The source metadata of the compare database CDC step input. + // + // SourceMetadata is a required field + SourceMetadata *SourceDatabaseMetadata `locationName:"sourceMetadata" type:"structure" required:"true"` + + // The target location of the compare database CDC step input. + // + // TargetLocation is a required field + TargetLocation *string `locationName:"targetLocation" type:"string" required:"true"` + + // The target metadata location of the compare database CDC step input. + // + // TargetMetadata is a required field + TargetMetadata *TargetDatabaseMetadata `locationName:"targetMetadata" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDatabaseCDCStepInput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDatabaseCDCStepInput_) GoString() string { + return s.String() +} + +// SetOutputLocation sets the OutputLocation field's value. +func (s *CompareDatabaseCDCStepInput_) SetOutputLocation(v string) *CompareDatabaseCDCStepInput_ { + s.OutputLocation = &v + return s +} + +// SetSourceLocation sets the SourceLocation field's value. +func (s *CompareDatabaseCDCStepInput_) SetSourceLocation(v string) *CompareDatabaseCDCStepInput_ { + s.SourceLocation = &v + return s +} + +// SetSourceMetadata sets the SourceMetadata field's value. +func (s *CompareDatabaseCDCStepInput_) SetSourceMetadata(v *SourceDatabaseMetadata) *CompareDatabaseCDCStepInput_ { + s.SourceMetadata = v + return s +} + +// SetTargetLocation sets the TargetLocation field's value. +func (s *CompareDatabaseCDCStepInput_) SetTargetLocation(v string) *CompareDatabaseCDCStepInput_ { + s.TargetLocation = &v + return s +} + +// SetTargetMetadata sets the TargetMetadata field's value. +func (s *CompareDatabaseCDCStepInput_) SetTargetMetadata(v *TargetDatabaseMetadata) *CompareDatabaseCDCStepInput_ { + s.TargetMetadata = v + return s +} + +// Compares the database CDC step output. +type CompareDatabaseCDCStepOutput_ struct { + _ struct{} `type:"structure"` + + // The comparison output of the compare database CDC step output. + // + // ComparisonOutputLocation is a required field + ComparisonOutputLocation *string `locationName:"comparisonOutputLocation" type:"string" required:"true"` + + // The comparison status of the compare database CDC step output. + // + // ComparisonStatus is a required field + ComparisonStatus *string `locationName:"comparisonStatus" type:"string" required:"true" enum:"ComparisonStatusEnum"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDatabaseCDCStepOutput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDatabaseCDCStepOutput_) GoString() string { + return s.String() +} + +// SetComparisonOutputLocation sets the ComparisonOutputLocation field's value. +func (s *CompareDatabaseCDCStepOutput_) SetComparisonOutputLocation(v string) *CompareDatabaseCDCStepOutput_ { + s.ComparisonOutputLocation = &v + return s +} + +// SetComparisonStatus sets the ComparisonStatus field's value. +func (s *CompareDatabaseCDCStepOutput_) SetComparisonStatus(v string) *CompareDatabaseCDCStepOutput_ { + s.ComparisonStatus = &v + return s +} + +// Compares the database CDC summary. +type CompareDatabaseCDCSummary struct { + _ struct{} `type:"structure"` + + // The step input of the compare database CDC summary. + // + // StepInput is a required field + StepInput *CompareDatabaseCDCStepInput_ `locationName:"stepInput" type:"structure" required:"true"` + + // The step output of the compare database CDC summary. + StepOutput *CompareDatabaseCDCStepOutput_ `locationName:"stepOutput" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDatabaseCDCSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareDatabaseCDCSummary) GoString() string { + return s.String() +} + +// SetStepInput sets the StepInput field's value. +func (s *CompareDatabaseCDCSummary) SetStepInput(v *CompareDatabaseCDCStepInput_) *CompareDatabaseCDCSummary { + s.StepInput = v + return s +} + +// SetStepOutput sets the StepOutput field's value. +func (s *CompareDatabaseCDCSummary) SetStepOutput(v *CompareDatabaseCDCStepOutput_) *CompareDatabaseCDCSummary { + s.StepOutput = v + return s +} + +// Compares the file type. +type CompareFileType struct { + _ struct{} `type:"structure"` + + // The database CDC of the compare file type. + DatabaseCDC *CompareDatabaseCDCSummary `locationName:"databaseCDC" type:"structure"` + + // The data sets in the compare file type. + Datasets *CompareDataSetsSummary `locationName:"datasets" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareFileType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CompareFileType) GoString() string { + return s.String() +} + +// SetDatabaseCDC sets the DatabaseCDC field's value. +func (s *CompareFileType) SetDatabaseCDC(v *CompareDatabaseCDCSummary) *CompareFileType { + s.DatabaseCDC = v + return s +} + +// SetDatasets sets the Datasets field's value. +func (s *CompareFileType) SetDatasets(v *CompareDataSetsSummary) *CompareFileType { + s.Datasets = v + return s +} + +// The parameters provided in the request conflict with existing resources. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The resource ID of the conflicts with existing resources. + ResourceId *string `locationName:"resourceId" type:"string"` + + // The resource type of the conflicts with existing resources. + ResourceType *string `locationName:"resourceType" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Creates the CloudFormation step input. +type CreateCloudFormationStepInput_ struct { + _ struct{} `type:"structure"` + + // The CloudFormation properties of the CloudFormation step input. + Parameters map[string]*string `locationName:"parameters" type:"map"` + + // The template location of the CloudFormation step input. + // + // TemplateLocation is a required field + TemplateLocation *string `locationName:"templateLocation" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateCloudFormationStepInput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateCloudFormationStepInput_) GoString() string { + return s.String() +} + +// SetParameters sets the Parameters field's value. +func (s *CreateCloudFormationStepInput_) SetParameters(v map[string]*string) *CreateCloudFormationStepInput_ { + s.Parameters = v + return s +} + +// SetTemplateLocation sets the TemplateLocation field's value. +func (s *CreateCloudFormationStepInput_) SetTemplateLocation(v string) *CreateCloudFormationStepInput_ { + s.TemplateLocation = &v + return s +} + +// Creates a CloudFormation step output. +type CreateCloudFormationStepOutput_ struct { + _ struct{} `type:"structure"` + + // The exports of the CloudFormation step output. + Exports map[string]*string `locationName:"exports" type:"map"` + + // The stack ID of the CloudFormation step output. + // + // StackId is a required field + StackId *string `locationName:"stackId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateCloudFormationStepOutput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateCloudFormationStepOutput_) GoString() string { + return s.String() +} + +// SetExports sets the Exports field's value. +func (s *CreateCloudFormationStepOutput_) SetExports(v map[string]*string) *CreateCloudFormationStepOutput_ { + s.Exports = v + return s +} + +// SetStackId sets the StackId field's value. +func (s *CreateCloudFormationStepOutput_) SetStackId(v string) *CreateCloudFormationStepOutput_ { + s.StackId = &v + return s +} + +// Creates a CloudFormation summary. +type CreateCloudFormationSummary struct { + _ struct{} `type:"structure"` + + // The step input of the CloudFormation summary. + // + // StepInput is a required field + StepInput *CreateCloudFormationStepInput_ `locationName:"stepInput" type:"structure" required:"true"` + + // The step output of the CloudFormation summary. + StepOutput *CreateCloudFormationStepOutput_ `locationName:"stepOutput" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateCloudFormationSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateCloudFormationSummary) GoString() string { + return s.String() +} + +// SetStepInput sets the StepInput field's value. +func (s *CreateCloudFormationSummary) SetStepInput(v *CreateCloudFormationStepInput_) *CreateCloudFormationSummary { + s.StepInput = v + return s +} + +// SetStepOutput sets the StepOutput field's value. +func (s *CreateCloudFormationSummary) SetStepOutput(v *CreateCloudFormationStepOutput_) *CreateCloudFormationSummary { + s.StepOutput = v + return s +} + +type CreateTestCaseInput struct { + _ struct{} `type:"structure"` + + // The client token of the test case. + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` + + // The description of the test case. + Description *string `locationName:"description" type:"string"` + + // The name of the test case. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The steps in the test case. + // + // Steps is a required field + Steps []*Step `locationName:"steps" min:"1" type:"list" required:"true"` + + // The specified tags of the test case. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestCaseInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestCaseInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTestCaseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTestCaseInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Steps == nil { + invalidParams.Add(request.NewErrParamRequired("Steps")) + } + if s.Steps != nil && len(s.Steps) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Steps", 1)) + } + if s.Steps != nil { + for i, v := range s.Steps { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Steps", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateTestCaseInput) SetClientToken(v string) *CreateTestCaseInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateTestCaseInput) SetDescription(v string) *CreateTestCaseInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateTestCaseInput) SetName(v string) *CreateTestCaseInput { + s.Name = &v + return s +} + +// SetSteps sets the Steps field's value. +func (s *CreateTestCaseInput) SetSteps(v []*Step) *CreateTestCaseInput { + s.Steps = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateTestCaseInput) SetTags(v map[string]*string) *CreateTestCaseInput { + s.Tags = v + return s +} + +type CreateTestCaseOutput struct { + _ struct{} `type:"structure"` + + // The test case ID of the test case. + // + // TestCaseId is a required field + TestCaseId *string `locationName:"testCaseId" type:"string" required:"true"` + + // The test case version of the test case. + // + // TestCaseVersion is a required field + TestCaseVersion *int64 `locationName:"testCaseVersion" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestCaseOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestCaseOutput) GoString() string { + return s.String() +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *CreateTestCaseOutput) SetTestCaseId(v string) *CreateTestCaseOutput { + s.TestCaseId = &v + return s +} + +// SetTestCaseVersion sets the TestCaseVersion field's value. +func (s *CreateTestCaseOutput) SetTestCaseVersion(v int64) *CreateTestCaseOutput { + s.TestCaseVersion = &v + return s +} + +type CreateTestConfigurationInput struct { + _ struct{} `type:"structure"` + + // The client token of the test configuration. + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` + + // The description of the test configuration. + Description *string `locationName:"description" type:"string"` + + // The name of the test configuration. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The properties of the test configuration. + Properties map[string]*string `locationName:"properties" type:"map"` + + // The defined resources of the test configuration. + // + // Resources is a required field + Resources []*Resource `locationName:"resources" min:"1" type:"list" required:"true"` + + // The service settings of the test configuration. + ServiceSettings *ServiceSettings `locationName:"serviceSettings" type:"structure"` + + // The tags of the test configuration. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTestConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTestConfigurationInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Resources == nil { + invalidParams.Add(request.NewErrParamRequired("Resources")) + } + if s.Resources != nil && len(s.Resources) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Resources", 1)) + } + if s.Resources != nil { + for i, v := range s.Resources { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Resources", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateTestConfigurationInput) SetClientToken(v string) *CreateTestConfigurationInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateTestConfigurationInput) SetDescription(v string) *CreateTestConfigurationInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateTestConfigurationInput) SetName(v string) *CreateTestConfigurationInput { + s.Name = &v + return s +} + +// SetProperties sets the Properties field's value. +func (s *CreateTestConfigurationInput) SetProperties(v map[string]*string) *CreateTestConfigurationInput { + s.Properties = v + return s +} + +// SetResources sets the Resources field's value. +func (s *CreateTestConfigurationInput) SetResources(v []*Resource) *CreateTestConfigurationInput { + s.Resources = v + return s +} + +// SetServiceSettings sets the ServiceSettings field's value. +func (s *CreateTestConfigurationInput) SetServiceSettings(v *ServiceSettings) *CreateTestConfigurationInput { + s.ServiceSettings = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateTestConfigurationInput) SetTags(v map[string]*string) *CreateTestConfigurationInput { + s.Tags = v + return s +} + +type CreateTestConfigurationOutput struct { + _ struct{} `type:"structure"` + + // The test configuration ID. + // + // TestConfigurationId is a required field + TestConfigurationId *string `locationName:"testConfigurationId" type:"string" required:"true"` + + // The test configuration version. + // + // TestConfigurationVersion is a required field + TestConfigurationVersion *int64 `locationName:"testConfigurationVersion" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestConfigurationOutput) GoString() string { + return s.String() +} + +// SetTestConfigurationId sets the TestConfigurationId field's value. +func (s *CreateTestConfigurationOutput) SetTestConfigurationId(v string) *CreateTestConfigurationOutput { + s.TestConfigurationId = &v + return s +} + +// SetTestConfigurationVersion sets the TestConfigurationVersion field's value. +func (s *CreateTestConfigurationOutput) SetTestConfigurationVersion(v int64) *CreateTestConfigurationOutput { + s.TestConfigurationVersion = &v + return s +} + +type CreateTestSuiteInput struct { + _ struct{} `type:"structure"` + + // The after steps of the test suite. + AfterSteps []*Step `locationName:"afterSteps" min:"1" type:"list"` + + // The before steps of the test suite. + BeforeSteps []*Step `locationName:"beforeSteps" min:"1" type:"list"` + + // The client token of the test suite. + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` + + // The description of the test suite. + Description *string `locationName:"description" type:"string"` + + // The name of the test suite. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The tags of the test suite. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The test cases in the test suite. + // + // TestCases is a required field + TestCases *TestCases `locationName:"testCases" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestSuiteInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestSuiteInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTestSuiteInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTestSuiteInput"} + if s.AfterSteps != nil && len(s.AfterSteps) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AfterSteps", 1)) + } + if s.BeforeSteps != nil && len(s.BeforeSteps) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BeforeSteps", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.TestCases == nil { + invalidParams.Add(request.NewErrParamRequired("TestCases")) + } + if s.AfterSteps != nil { + for i, v := range s.AfterSteps { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AfterSteps", i), err.(request.ErrInvalidParams)) + } + } + } + if s.BeforeSteps != nil { + for i, v := range s.BeforeSteps { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BeforeSteps", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAfterSteps sets the AfterSteps field's value. +func (s *CreateTestSuiteInput) SetAfterSteps(v []*Step) *CreateTestSuiteInput { + s.AfterSteps = v + return s +} + +// SetBeforeSteps sets the BeforeSteps field's value. +func (s *CreateTestSuiteInput) SetBeforeSteps(v []*Step) *CreateTestSuiteInput { + s.BeforeSteps = v + return s +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateTestSuiteInput) SetClientToken(v string) *CreateTestSuiteInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateTestSuiteInput) SetDescription(v string) *CreateTestSuiteInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateTestSuiteInput) SetName(v string) *CreateTestSuiteInput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateTestSuiteInput) SetTags(v map[string]*string) *CreateTestSuiteInput { + s.Tags = v + return s +} + +// SetTestCases sets the TestCases field's value. +func (s *CreateTestSuiteInput) SetTestCases(v *TestCases) *CreateTestSuiteInput { + s.TestCases = v + return s +} + +type CreateTestSuiteOutput struct { + _ struct{} `type:"structure"` + + // The suite ID of the test suite. + // + // TestSuiteId is a required field + TestSuiteId *string `locationName:"testSuiteId" type:"string" required:"true"` + + // The suite version of the test suite. + // + // TestSuiteVersion is a required field + TestSuiteVersion *int64 `locationName:"testSuiteVersion" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestSuiteOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTestSuiteOutput) GoString() string { + return s.String() +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *CreateTestSuiteOutput) SetTestSuiteId(v string) *CreateTestSuiteOutput { + s.TestSuiteId = &v + return s +} + +// SetTestSuiteVersion sets the TestSuiteVersion field's value. +func (s *CreateTestSuiteOutput) SetTestSuiteVersion(v int64) *CreateTestSuiteOutput { + s.TestSuiteVersion = &v + return s +} + +// Defines a data set. +type DataSet struct { + _ struct{} `type:"structure"` + + // The CCSID of the data set. + // + // Ccsid is a required field + Ccsid *string `locationName:"ccsid" type:"string" required:"true"` + + // The format of the data set. + // + // Format is a required field + Format *string `locationName:"format" type:"string" required:"true" enum:"Format"` + + // The length of the data set. + // + // Length is a required field + Length *int64 `locationName:"length" type:"integer" required:"true"` + + // The name of the data set. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The type of the data set. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"DataSetType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataSet) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataSet) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataSet) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataSet"} + if s.Ccsid == nil { + invalidParams.Add(request.NewErrParamRequired("Ccsid")) + } + if s.Format == nil { + invalidParams.Add(request.NewErrParamRequired("Format")) + } + if s.Length == nil { + invalidParams.Add(request.NewErrParamRequired("Length")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCcsid sets the Ccsid field's value. +func (s *DataSet) SetCcsid(v string) *DataSet { + s.Ccsid = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *DataSet) SetFormat(v string) *DataSet { + s.Format = &v + return s +} + +// SetLength sets the Length field's value. +func (s *DataSet) SetLength(v int64) *DataSet { + s.Length = &v + return s +} + +// SetName sets the Name field's value. +func (s *DataSet) SetName(v string) *DataSet { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *DataSet) SetType(v string) *DataSet { + s.Type = &v + return s +} + +// Defines the Change Data Capture (CDC) of the database. +type DatabaseCDC struct { + _ struct{} `type:"structure"` + + // The source metadata of the database CDC. + // + // SourceMetadata is a required field + SourceMetadata *SourceDatabaseMetadata `locationName:"sourceMetadata" type:"structure" required:"true"` + + // The target metadata of the database CDC. + // + // TargetMetadata is a required field + TargetMetadata *TargetDatabaseMetadata `locationName:"targetMetadata" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DatabaseCDC) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DatabaseCDC) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DatabaseCDC) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DatabaseCDC"} + if s.SourceMetadata == nil { + invalidParams.Add(request.NewErrParamRequired("SourceMetadata")) + } + if s.TargetMetadata == nil { + invalidParams.Add(request.NewErrParamRequired("TargetMetadata")) + } + if s.SourceMetadata != nil { + if err := s.SourceMetadata.Validate(); err != nil { + invalidParams.AddNested("SourceMetadata", err.(request.ErrInvalidParams)) + } + } + if s.TargetMetadata != nil { + if err := s.TargetMetadata.Validate(); err != nil { + invalidParams.AddNested("TargetMetadata", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSourceMetadata sets the SourceMetadata field's value. +func (s *DatabaseCDC) SetSourceMetadata(v *SourceDatabaseMetadata) *DatabaseCDC { + s.SourceMetadata = v + return s +} + +// SetTargetMetadata sets the TargetMetadata field's value. +func (s *DatabaseCDC) SetTargetMetadata(v *TargetDatabaseMetadata) *DatabaseCDC { + s.TargetMetadata = v + return s +} + +// Deletes the CloudFormation step input. +type DeleteCloudFormationStepInput_ struct { + _ struct{} `type:"structure"` + + // The stack ID of the deleted CloudFormation step input. + // + // StackId is a required field + StackId *string `locationName:"stackId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCloudFormationStepInput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCloudFormationStepInput_) GoString() string { + return s.String() +} + +// SetStackId sets the StackId field's value. +func (s *DeleteCloudFormationStepInput_) SetStackId(v string) *DeleteCloudFormationStepInput_ { + s.StackId = &v + return s +} + +// Deletes the CloudFormation summary step output. +type DeleteCloudFormationStepOutput_ struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCloudFormationStepOutput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCloudFormationStepOutput_) GoString() string { + return s.String() +} + +// Deletes the CloudFormation summary. +type DeleteCloudFormationSummary struct { + _ struct{} `type:"structure"` + + // The step input of the deleted CloudFormation summary. + // + // StepInput is a required field + StepInput *DeleteCloudFormationStepInput_ `locationName:"stepInput" type:"structure" required:"true"` + + // The step output of the deleted CloudFormation summary. + StepOutput *DeleteCloudFormationStepOutput_ `locationName:"stepOutput" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCloudFormationSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCloudFormationSummary) GoString() string { + return s.String() +} + +// SetStepInput sets the StepInput field's value. +func (s *DeleteCloudFormationSummary) SetStepInput(v *DeleteCloudFormationStepInput_) *DeleteCloudFormationSummary { + s.StepInput = v + return s +} + +// SetStepOutput sets the StepOutput field's value. +func (s *DeleteCloudFormationSummary) SetStepOutput(v *DeleteCloudFormationStepOutput_) *DeleteCloudFormationSummary { + s.StepOutput = v + return s +} + +type DeleteTestCaseInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The test case ID of the test case. + // + // TestCaseId is a required field + TestCaseId *string `location:"uri" locationName:"testCaseId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestCaseInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestCaseInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTestCaseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTestCaseInput"} + if s.TestCaseId == nil { + invalidParams.Add(request.NewErrParamRequired("TestCaseId")) + } + if s.TestCaseId != nil && len(*s.TestCaseId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestCaseId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *DeleteTestCaseInput) SetTestCaseId(v string) *DeleteTestCaseInput { + s.TestCaseId = &v + return s +} + +type DeleteTestCaseOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestCaseOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestCaseOutput) GoString() string { + return s.String() +} + +type DeleteTestConfigurationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The test ID of the test configuration. + // + // TestConfigurationId is a required field + TestConfigurationId *string `location:"uri" locationName:"testConfigurationId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTestConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTestConfigurationInput"} + if s.TestConfigurationId == nil { + invalidParams.Add(request.NewErrParamRequired("TestConfigurationId")) + } + if s.TestConfigurationId != nil && len(*s.TestConfigurationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestConfigurationId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTestConfigurationId sets the TestConfigurationId field's value. +func (s *DeleteTestConfigurationInput) SetTestConfigurationId(v string) *DeleteTestConfigurationInput { + s.TestConfigurationId = &v + return s +} + +type DeleteTestConfigurationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestConfigurationOutput) GoString() string { + return s.String() +} + +type DeleteTestRunInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The run ID of the test run. + // + // TestRunId is a required field + TestRunId *string `location:"uri" locationName:"testRunId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestRunInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestRunInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTestRunInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTestRunInput"} + if s.TestRunId == nil { + invalidParams.Add(request.NewErrParamRequired("TestRunId")) + } + if s.TestRunId != nil && len(*s.TestRunId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestRunId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTestRunId sets the TestRunId field's value. +func (s *DeleteTestRunInput) SetTestRunId(v string) *DeleteTestRunInput { + s.TestRunId = &v + return s +} + +type DeleteTestRunOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestRunOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestRunOutput) GoString() string { + return s.String() +} + +type DeleteTestSuiteInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The test ID of the test suite. + // + // TestSuiteId is a required field + TestSuiteId *string `location:"uri" locationName:"testSuiteId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestSuiteInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestSuiteInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTestSuiteInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTestSuiteInput"} + if s.TestSuiteId == nil { + invalidParams.Add(request.NewErrParamRequired("TestSuiteId")) + } + if s.TestSuiteId != nil && len(*s.TestSuiteId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestSuiteId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *DeleteTestSuiteInput) SetTestSuiteId(v string) *DeleteTestSuiteInput { + s.TestSuiteId = &v + return s +} + +type DeleteTestSuiteOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestSuiteOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTestSuiteOutput) GoString() string { + return s.String() +} + +// Defines a file. +type File struct { + _ struct{} `type:"structure"` + + // The file type of the file. + FileType *CompareFileType `locationName:"fileType" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s File) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s File) GoString() string { + return s.String() +} + +// SetFileType sets the FileType field's value. +func (s *File) SetFileType(v *CompareFileType) *File { + s.FileType = v + return s +} + +// Specifies a file metadata. +type FileMetadata struct { + _ struct{} `type:"structure"` + + // The data sets of the file metadata. + DataSets []*DataSet `locationName:"dataSets" type:"list"` + + // The database CDC of the file metadata. + DatabaseCDC *DatabaseCDC `locationName:"databaseCDC" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FileMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FileMetadata) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FileMetadata) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FileMetadata"} + if s.DataSets != nil { + for i, v := range s.DataSets { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSets", i), err.(request.ErrInvalidParams)) + } + } + } + if s.DatabaseCDC != nil { + if err := s.DatabaseCDC.Validate(); err != nil { + invalidParams.AddNested("DatabaseCDC", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataSets sets the DataSets field's value. +func (s *FileMetadata) SetDataSets(v []*DataSet) *FileMetadata { + s.DataSets = v + return s +} + +// SetDatabaseCDC sets the DatabaseCDC field's value. +func (s *FileMetadata) SetDatabaseCDC(v *DatabaseCDC) *FileMetadata { + s.DatabaseCDC = v + return s +} + +type GetTestCaseInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The request test ID of the test case. + // + // TestCaseId is a required field + TestCaseId *string `location:"uri" locationName:"testCaseId" type:"string" required:"true"` + + // The test case version of the test case. + TestCaseVersion *int64 `location:"querystring" locationName:"testCaseVersion" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestCaseInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestCaseInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTestCaseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTestCaseInput"} + if s.TestCaseId == nil { + invalidParams.Add(request.NewErrParamRequired("TestCaseId")) + } + if s.TestCaseId != nil && len(*s.TestCaseId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestCaseId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *GetTestCaseInput) SetTestCaseId(v string) *GetTestCaseInput { + s.TestCaseId = &v + return s +} + +// SetTestCaseVersion sets the TestCaseVersion field's value. +func (s *GetTestCaseInput) SetTestCaseVersion(v int64) *GetTestCaseInput { + s.TestCaseVersion = &v + return s +} + +type GetTestCaseOutput struct { + _ struct{} `type:"structure"` + + // The creation time of the test case. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"` + + // The description of the test case. + Description *string `locationName:"description" type:"string"` + + // The last update time of the test case. + // + // LastUpdateTime is a required field + LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp" required:"true"` + + // The latest version of the test case. + // + // LatestVersion is a required field + LatestVersion *TestCaseLatestVersion `locationName:"latestVersion" type:"structure" required:"true"` + + // The name of the test case. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The status of the test case. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestCaseLifecycle"` + + // The status reason of the test case. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The steps of the test case. + // + // Steps is a required field + Steps []*Step `locationName:"steps" min:"1" type:"list" required:"true"` + + // The tags of the test case. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The Amazon Resource Name (ARN) of the test case. + // + // TestCaseArn is a required field + TestCaseArn *string `locationName:"testCaseArn" type:"string" required:"true"` + + // The response test ID of the test case. + // + // TestCaseId is a required field + TestCaseId *string `locationName:"testCaseId" type:"string" required:"true"` + + // The case version of the test case. + // + // TestCaseVersion is a required field + TestCaseVersion *int64 `locationName:"testCaseVersion" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestCaseOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestCaseOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetTestCaseOutput) SetCreationTime(v time.Time) *GetTestCaseOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetTestCaseOutput) SetDescription(v string) *GetTestCaseOutput { + s.Description = &v + return s +} + +// SetLastUpdateTime sets the LastUpdateTime field's value. +func (s *GetTestCaseOutput) SetLastUpdateTime(v time.Time) *GetTestCaseOutput { + s.LastUpdateTime = &v + return s +} + +// SetLatestVersion sets the LatestVersion field's value. +func (s *GetTestCaseOutput) SetLatestVersion(v *TestCaseLatestVersion) *GetTestCaseOutput { + s.LatestVersion = v + return s +} + +// SetName sets the Name field's value. +func (s *GetTestCaseOutput) SetName(v string) *GetTestCaseOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetTestCaseOutput) SetStatus(v string) *GetTestCaseOutput { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *GetTestCaseOutput) SetStatusReason(v string) *GetTestCaseOutput { + s.StatusReason = &v + return s +} + +// SetSteps sets the Steps field's value. +func (s *GetTestCaseOutput) SetSteps(v []*Step) *GetTestCaseOutput { + s.Steps = v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetTestCaseOutput) SetTags(v map[string]*string) *GetTestCaseOutput { + s.Tags = v + return s +} + +// SetTestCaseArn sets the TestCaseArn field's value. +func (s *GetTestCaseOutput) SetTestCaseArn(v string) *GetTestCaseOutput { + s.TestCaseArn = &v + return s +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *GetTestCaseOutput) SetTestCaseId(v string) *GetTestCaseOutput { + s.TestCaseId = &v + return s +} + +// SetTestCaseVersion sets the TestCaseVersion field's value. +func (s *GetTestCaseOutput) SetTestCaseVersion(v int64) *GetTestCaseOutput { + s.TestCaseVersion = &v + return s +} + +type GetTestConfigurationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The request test configuration ID. + // + // TestConfigurationId is a required field + TestConfigurationId *string `location:"uri" locationName:"testConfigurationId" type:"string" required:"true"` + + // The test configuration version. + TestConfigurationVersion *int64 `location:"querystring" locationName:"testConfigurationVersion" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTestConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTestConfigurationInput"} + if s.TestConfigurationId == nil { + invalidParams.Add(request.NewErrParamRequired("TestConfigurationId")) + } + if s.TestConfigurationId != nil && len(*s.TestConfigurationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestConfigurationId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTestConfigurationId sets the TestConfigurationId field's value. +func (s *GetTestConfigurationInput) SetTestConfigurationId(v string) *GetTestConfigurationInput { + s.TestConfigurationId = &v + return s +} + +// SetTestConfigurationVersion sets the TestConfigurationVersion field's value. +func (s *GetTestConfigurationInput) SetTestConfigurationVersion(v int64) *GetTestConfigurationInput { + s.TestConfigurationVersion = &v + return s +} + +type GetTestConfigurationOutput struct { + _ struct{} `type:"structure"` + + // The creation time of the test configuration. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"` + + // The description of the test configuration. + Description *string `locationName:"description" type:"string"` + + // The last update time of the test configuration. + // + // LastUpdateTime is a required field + LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp" required:"true"` + + // The latest version of the test configuration. + // + // LatestVersion is a required field + LatestVersion *TestConfigurationLatestVersion `locationName:"latestVersion" type:"structure" required:"true"` + + // The test configuration name + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The properties of the test configuration. + // + // Properties is a required field + Properties map[string]*string `locationName:"properties" type:"map" required:"true"` + + // The resources of the test configuration. + // + // Resources is a required field + Resources []*Resource `locationName:"resources" min:"1" type:"list" required:"true"` + + // The service settings of the test configuration. + ServiceSettings *ServiceSettings `locationName:"serviceSettings" type:"structure"` + + // The status of the test configuration. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestConfigurationLifecycle"` + + // The status reason of the test configuration. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The tags of the test configuration. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The test configuration Amazon Resource Name (ARN). + // + // TestConfigurationArn is a required field + TestConfigurationArn *string `locationName:"testConfigurationArn" type:"string" required:"true"` + + // The response test configuration ID. + // + // TestConfigurationId is a required field + TestConfigurationId *string `locationName:"testConfigurationId" type:"string" required:"true"` + + // The test configuration version. + // + // TestConfigurationVersion is a required field + TestConfigurationVersion *int64 `locationName:"testConfigurationVersion" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestConfigurationOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetTestConfigurationOutput) SetCreationTime(v time.Time) *GetTestConfigurationOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetTestConfigurationOutput) SetDescription(v string) *GetTestConfigurationOutput { + s.Description = &v + return s +} + +// SetLastUpdateTime sets the LastUpdateTime field's value. +func (s *GetTestConfigurationOutput) SetLastUpdateTime(v time.Time) *GetTestConfigurationOutput { + s.LastUpdateTime = &v + return s +} + +// SetLatestVersion sets the LatestVersion field's value. +func (s *GetTestConfigurationOutput) SetLatestVersion(v *TestConfigurationLatestVersion) *GetTestConfigurationOutput { + s.LatestVersion = v + return s +} + +// SetName sets the Name field's value. +func (s *GetTestConfigurationOutput) SetName(v string) *GetTestConfigurationOutput { + s.Name = &v + return s +} + +// SetProperties sets the Properties field's value. +func (s *GetTestConfigurationOutput) SetProperties(v map[string]*string) *GetTestConfigurationOutput { + s.Properties = v + return s +} + +// SetResources sets the Resources field's value. +func (s *GetTestConfigurationOutput) SetResources(v []*Resource) *GetTestConfigurationOutput { + s.Resources = v + return s +} + +// SetServiceSettings sets the ServiceSettings field's value. +func (s *GetTestConfigurationOutput) SetServiceSettings(v *ServiceSettings) *GetTestConfigurationOutput { + s.ServiceSettings = v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetTestConfigurationOutput) SetStatus(v string) *GetTestConfigurationOutput { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *GetTestConfigurationOutput) SetStatusReason(v string) *GetTestConfigurationOutput { + s.StatusReason = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetTestConfigurationOutput) SetTags(v map[string]*string) *GetTestConfigurationOutput { + s.Tags = v + return s +} + +// SetTestConfigurationArn sets the TestConfigurationArn field's value. +func (s *GetTestConfigurationOutput) SetTestConfigurationArn(v string) *GetTestConfigurationOutput { + s.TestConfigurationArn = &v + return s +} + +// SetTestConfigurationId sets the TestConfigurationId field's value. +func (s *GetTestConfigurationOutput) SetTestConfigurationId(v string) *GetTestConfigurationOutput { + s.TestConfigurationId = &v + return s +} + +// SetTestConfigurationVersion sets the TestConfigurationVersion field's value. +func (s *GetTestConfigurationOutput) SetTestConfigurationVersion(v int64) *GetTestConfigurationOutput { + s.TestConfigurationVersion = &v + return s +} + +type GetTestRunStepInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The step name of the test run step. + // + // StepName is a required field + StepName *string `location:"uri" locationName:"stepName" type:"string" required:"true"` + + // The test case ID of a test run step. + TestCaseId *string `location:"querystring" locationName:"testCaseId" type:"string"` + + // The test run ID of the test run step. + // + // TestRunId is a required field + TestRunId *string `location:"uri" locationName:"testRunId" type:"string" required:"true"` + + // The test suite ID of a test run step. + TestSuiteId *string `location:"querystring" locationName:"testSuiteId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestRunStepInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestRunStepInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTestRunStepInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTestRunStepInput"} + if s.StepName == nil { + invalidParams.Add(request.NewErrParamRequired("StepName")) + } + if s.StepName != nil && len(*s.StepName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StepName", 1)) + } + if s.TestRunId == nil { + invalidParams.Add(request.NewErrParamRequired("TestRunId")) + } + if s.TestRunId != nil && len(*s.TestRunId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestRunId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStepName sets the StepName field's value. +func (s *GetTestRunStepInput) SetStepName(v string) *GetTestRunStepInput { + s.StepName = &v + return s +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *GetTestRunStepInput) SetTestCaseId(v string) *GetTestRunStepInput { + s.TestCaseId = &v + return s +} + +// SetTestRunId sets the TestRunId field's value. +func (s *GetTestRunStepInput) SetTestRunId(v string) *GetTestRunStepInput { + s.TestRunId = &v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *GetTestRunStepInput) SetTestSuiteId(v string) *GetTestRunStepInput { + s.TestSuiteId = &v + return s +} + +type GetTestRunStepOutput struct { + _ struct{} `type:"structure"` + + // The after steps of the test run step. + AfterStep *bool `locationName:"afterStep" type:"boolean"` + + // The before steps of the test run step. + BeforeStep *bool `locationName:"beforeStep" type:"boolean"` + + // The run end time of the test run step. + RunEndTime *time.Time `locationName:"runEndTime" type:"timestamp"` + + // The run start time of the test run step. + // + // RunStartTime is a required field + RunStartTime *time.Time `locationName:"runStartTime" type:"timestamp" required:"true"` + + // The status of the test run step. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StepRunStatus"` + + // The status reason of the test run step. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The step name of the test run step. + // + // StepName is a required field + StepName *string `locationName:"stepName" type:"string" required:"true"` + + // The step run summary of the test run step. + StepRunSummary *StepRunSummary `locationName:"stepRunSummary" type:"structure"` + + // The test case ID of the test run step. + TestCaseId *string `locationName:"testCaseId" type:"string"` + + // The test case version of the test run step. + TestCaseVersion *int64 `locationName:"testCaseVersion" type:"integer"` + + // The test run ID of the test run step. + // + // TestRunId is a required field + TestRunId *string `locationName:"testRunId" type:"string" required:"true"` + + // The test suite ID of the test run step. + TestSuiteId *string `locationName:"testSuiteId" type:"string"` + + // The test suite version of the test run step. + TestSuiteVersion *int64 `locationName:"testSuiteVersion" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestRunStepOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestRunStepOutput) GoString() string { + return s.String() +} + +// SetAfterStep sets the AfterStep field's value. +func (s *GetTestRunStepOutput) SetAfterStep(v bool) *GetTestRunStepOutput { + s.AfterStep = &v + return s +} + +// SetBeforeStep sets the BeforeStep field's value. +func (s *GetTestRunStepOutput) SetBeforeStep(v bool) *GetTestRunStepOutput { + s.BeforeStep = &v + return s +} + +// SetRunEndTime sets the RunEndTime field's value. +func (s *GetTestRunStepOutput) SetRunEndTime(v time.Time) *GetTestRunStepOutput { + s.RunEndTime = &v + return s +} + +// SetRunStartTime sets the RunStartTime field's value. +func (s *GetTestRunStepOutput) SetRunStartTime(v time.Time) *GetTestRunStepOutput { + s.RunStartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetTestRunStepOutput) SetStatus(v string) *GetTestRunStepOutput { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *GetTestRunStepOutput) SetStatusReason(v string) *GetTestRunStepOutput { + s.StatusReason = &v + return s +} + +// SetStepName sets the StepName field's value. +func (s *GetTestRunStepOutput) SetStepName(v string) *GetTestRunStepOutput { + s.StepName = &v + return s +} + +// SetStepRunSummary sets the StepRunSummary field's value. +func (s *GetTestRunStepOutput) SetStepRunSummary(v *StepRunSummary) *GetTestRunStepOutput { + s.StepRunSummary = v + return s +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *GetTestRunStepOutput) SetTestCaseId(v string) *GetTestRunStepOutput { + s.TestCaseId = &v + return s +} + +// SetTestCaseVersion sets the TestCaseVersion field's value. +func (s *GetTestRunStepOutput) SetTestCaseVersion(v int64) *GetTestRunStepOutput { + s.TestCaseVersion = &v + return s +} + +// SetTestRunId sets the TestRunId field's value. +func (s *GetTestRunStepOutput) SetTestRunId(v string) *GetTestRunStepOutput { + s.TestRunId = &v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *GetTestRunStepOutput) SetTestSuiteId(v string) *GetTestRunStepOutput { + s.TestSuiteId = &v + return s +} + +// SetTestSuiteVersion sets the TestSuiteVersion field's value. +func (s *GetTestRunStepOutput) SetTestSuiteVersion(v int64) *GetTestRunStepOutput { + s.TestSuiteVersion = &v + return s +} + +type GetTestSuiteInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the test suite. + // + // TestSuiteId is a required field + TestSuiteId *string `location:"uri" locationName:"testSuiteId" type:"string" required:"true"` + + // The version of the test suite. + TestSuiteVersion *int64 `location:"querystring" locationName:"testSuiteVersion" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestSuiteInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestSuiteInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTestSuiteInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTestSuiteInput"} + if s.TestSuiteId == nil { + invalidParams.Add(request.NewErrParamRequired("TestSuiteId")) + } + if s.TestSuiteId != nil && len(*s.TestSuiteId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestSuiteId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *GetTestSuiteInput) SetTestSuiteId(v string) *GetTestSuiteInput { + s.TestSuiteId = &v + return s +} + +// SetTestSuiteVersion sets the TestSuiteVersion field's value. +func (s *GetTestSuiteInput) SetTestSuiteVersion(v int64) *GetTestSuiteInput { + s.TestSuiteVersion = &v + return s +} + +type GetTestSuiteOutput struct { + _ struct{} `type:"structure"` + + // The after steps of the test suite. + // + // AfterSteps is a required field + AfterSteps []*Step `locationName:"afterSteps" min:"1" type:"list" required:"true"` + + // The before steps of the test suite. + // + // BeforeSteps is a required field + BeforeSteps []*Step `locationName:"beforeSteps" min:"1" type:"list" required:"true"` + + // The creation time of the test suite. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"` + + // The description of the test suite. + Description *string `locationName:"description" type:"string"` + + // The last update time of the test suite. + // + // LastUpdateTime is a required field + LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp" required:"true"` + + // The latest version of the test suite. + // + // LatestVersion is a required field + LatestVersion *TestSuiteLatestVersion `locationName:"latestVersion" type:"structure" required:"true"` + + // The name of the test suite. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The status of the test suite. + Status *string `locationName:"status" type:"string" enum:"TestSuiteLifecycle"` + + // The status reason of the test suite. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The tags of the test suite. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The test cases of the test suite. + // + // TestCases is a required field + TestCases *TestCases `locationName:"testCases" type:"structure" required:"true"` + + // The test suite Amazon Resource Name (ARN). + // + // TestSuiteArn is a required field + TestSuiteArn *string `locationName:"testSuiteArn" type:"string" required:"true"` + + // The response ID of the test suite. + // + // TestSuiteId is a required field + TestSuiteId *string `locationName:"testSuiteId" type:"string" required:"true"` + + // The version of the test suite. + // + // TestSuiteVersion is a required field + TestSuiteVersion *int64 `locationName:"testSuiteVersion" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestSuiteOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTestSuiteOutput) GoString() string { + return s.String() +} + +// SetAfterSteps sets the AfterSteps field's value. +func (s *GetTestSuiteOutput) SetAfterSteps(v []*Step) *GetTestSuiteOutput { + s.AfterSteps = v + return s +} + +// SetBeforeSteps sets the BeforeSteps field's value. +func (s *GetTestSuiteOutput) SetBeforeSteps(v []*Step) *GetTestSuiteOutput { + s.BeforeSteps = v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetTestSuiteOutput) SetCreationTime(v time.Time) *GetTestSuiteOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetTestSuiteOutput) SetDescription(v string) *GetTestSuiteOutput { + s.Description = &v + return s +} + +// SetLastUpdateTime sets the LastUpdateTime field's value. +func (s *GetTestSuiteOutput) SetLastUpdateTime(v time.Time) *GetTestSuiteOutput { + s.LastUpdateTime = &v + return s +} + +// SetLatestVersion sets the LatestVersion field's value. +func (s *GetTestSuiteOutput) SetLatestVersion(v *TestSuiteLatestVersion) *GetTestSuiteOutput { + s.LatestVersion = v + return s +} + +// SetName sets the Name field's value. +func (s *GetTestSuiteOutput) SetName(v string) *GetTestSuiteOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetTestSuiteOutput) SetStatus(v string) *GetTestSuiteOutput { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *GetTestSuiteOutput) SetStatusReason(v string) *GetTestSuiteOutput { + s.StatusReason = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetTestSuiteOutput) SetTags(v map[string]*string) *GetTestSuiteOutput { + s.Tags = v + return s +} + +// SetTestCases sets the TestCases field's value. +func (s *GetTestSuiteOutput) SetTestCases(v *TestCases) *GetTestSuiteOutput { + s.TestCases = v + return s +} + +// SetTestSuiteArn sets the TestSuiteArn field's value. +func (s *GetTestSuiteOutput) SetTestSuiteArn(v string) *GetTestSuiteOutput { + s.TestSuiteArn = &v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *GetTestSuiteOutput) SetTestSuiteId(v string) *GetTestSuiteOutput { + s.TestSuiteId = &v + return s +} + +// SetTestSuiteVersion sets the TestSuiteVersion field's value. +func (s *GetTestSuiteOutput) SetTestSuiteVersion(v int64) *GetTestSuiteOutput { + s.TestSuiteVersion = &v + return s +} + +// Specifies the input file. +type InputFile struct { + _ struct{} `type:"structure"` + + // The file metadata of the input file. + // + // FileMetadata is a required field + FileMetadata *FileMetadata `locationName:"fileMetadata" type:"structure" required:"true"` + + // The source location of the input file. + // + // SourceLocation is a required field + SourceLocation *string `locationName:"sourceLocation" type:"string" required:"true"` + + // The target location of the input file. + // + // TargetLocation is a required field + TargetLocation *string `locationName:"targetLocation" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputFile) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputFile) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputFile) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputFile"} + if s.FileMetadata == nil { + invalidParams.Add(request.NewErrParamRequired("FileMetadata")) + } + if s.SourceLocation == nil { + invalidParams.Add(request.NewErrParamRequired("SourceLocation")) + } + if s.TargetLocation == nil { + invalidParams.Add(request.NewErrParamRequired("TargetLocation")) + } + if s.FileMetadata != nil { + if err := s.FileMetadata.Validate(); err != nil { + invalidParams.AddNested("FileMetadata", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFileMetadata sets the FileMetadata field's value. +func (s *InputFile) SetFileMetadata(v *FileMetadata) *InputFile { + s.FileMetadata = v + return s +} + +// SetSourceLocation sets the SourceLocation field's value. +func (s *InputFile) SetSourceLocation(v string) *InputFile { + s.SourceLocation = &v + return s +} + +// SetTargetLocation sets the TargetLocation field's value. +func (s *InputFile) SetTargetLocation(v string) *InputFile { + s.TargetLocation = &v + return s +} + +// Specifies the input. +type Input_ struct { + _ struct{} `type:"structure"` + + // The file in the input. + File *InputFile `locationName:"file" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Input_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Input_) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Input_) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Input_"} + if s.File != nil { + if err := s.File.Validate(); err != nil { + invalidParams.AddNested("File", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFile sets the File field's value. +func (s *Input_) SetFile(v *InputFile) *Input_ { + s.File = v + return s +} + +// An unexpected error occurred during the processing of the request. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The number of seconds to retry the query. + RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +type ListTagsForResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Resource Name (ARN) of the resource. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { + s.ResourceArn = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // The tags of the resource. + // + // Tags is a required field + Tags map[string]*string `locationName:"tags" type:"map" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { + s.Tags = v + return s +} + +type ListTestCasesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum results of the test case. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The next token of the test cases. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The IDs of the test cases. + TestCaseIds []*string `location:"querystring" locationName:"testCaseIds" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestCasesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestCasesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTestCasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTestCasesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTestCasesInput) SetMaxResults(v int64) *ListTestCasesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestCasesInput) SetNextToken(v string) *ListTestCasesInput { + s.NextToken = &v + return s +} + +// SetTestCaseIds sets the TestCaseIds field's value. +func (s *ListTestCasesInput) SetTestCaseIds(v []*string) *ListTestCasesInput { + s.TestCaseIds = v + return s +} + +type ListTestCasesOutput struct { + _ struct{} `type:"structure"` + + // The next token in test cases. + NextToken *string `locationName:"nextToken" type:"string"` + + // The test cases in an application. + // + // TestCases is a required field + TestCases []*TestCaseSummary `locationName:"testCases" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestCasesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestCasesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestCasesOutput) SetNextToken(v string) *ListTestCasesOutput { + s.NextToken = &v + return s +} + +// SetTestCases sets the TestCases field's value. +func (s *ListTestCasesOutput) SetTestCases(v []*TestCaseSummary) *ListTestCasesOutput { + s.TestCases = v + return s +} + +type ListTestConfigurationsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum results of the test configuration. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The next token for the test configurations. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The configuration IDs of the test configurations. + TestConfigurationIds []*string `location:"querystring" locationName:"testConfigurationIds" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestConfigurationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTestConfigurationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTestConfigurationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTestConfigurationsInput) SetMaxResults(v int64) *ListTestConfigurationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestConfigurationsInput) SetNextToken(v string) *ListTestConfigurationsInput { + s.NextToken = &v + return s +} + +// SetTestConfigurationIds sets the TestConfigurationIds field's value. +func (s *ListTestConfigurationsInput) SetTestConfigurationIds(v []*string) *ListTestConfigurationsInput { + s.TestConfigurationIds = v + return s +} + +type ListTestConfigurationsOutput struct { + _ struct{} `type:"structure"` + + // The next token in the test configurations. + NextToken *string `locationName:"nextToken" type:"string"` + + // The test configurations. + // + // TestConfigurations is a required field + TestConfigurations []*TestConfigurationSummary `locationName:"testConfigurations" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestConfigurationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestConfigurationsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestConfigurationsOutput) SetNextToken(v string) *ListTestConfigurationsOutput { + s.NextToken = &v + return s +} + +// SetTestConfigurations sets the TestConfigurations field's value. +func (s *ListTestConfigurationsOutput) SetTestConfigurations(v []*TestConfigurationSummary) *ListTestConfigurationsOutput { + s.TestConfigurations = v + return s +} + +type ListTestRunStepsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of test run steps to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token from a previous step to retrieve the next page of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The test case ID of the test run steps. + TestCaseId *string `location:"querystring" locationName:"testCaseId" type:"string"` + + // The test run ID of the test run steps. + // + // TestRunId is a required field + TestRunId *string `location:"uri" locationName:"testRunId" type:"string" required:"true"` + + // The test suite ID of the test run steps. + TestSuiteId *string `location:"querystring" locationName:"testSuiteId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunStepsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunStepsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTestRunStepsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTestRunStepsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.TestRunId == nil { + invalidParams.Add(request.NewErrParamRequired("TestRunId")) + } + if s.TestRunId != nil && len(*s.TestRunId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestRunId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTestRunStepsInput) SetMaxResults(v int64) *ListTestRunStepsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestRunStepsInput) SetNextToken(v string) *ListTestRunStepsInput { + s.NextToken = &v + return s +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *ListTestRunStepsInput) SetTestCaseId(v string) *ListTestRunStepsInput { + s.TestCaseId = &v + return s +} + +// SetTestRunId sets the TestRunId field's value. +func (s *ListTestRunStepsInput) SetTestRunId(v string) *ListTestRunStepsInput { + s.TestRunId = &v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *ListTestRunStepsInput) SetTestSuiteId(v string) *ListTestRunStepsInput { + s.TestSuiteId = &v + return s +} + +type ListTestRunStepsOutput struct { + _ struct{} `type:"structure"` + + // The token from a previous request to retrieve the next page of results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The test run steps of the response query. + // + // TestRunSteps is a required field + TestRunSteps []*TestRunStepSummary `locationName:"testRunSteps" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunStepsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunStepsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestRunStepsOutput) SetNextToken(v string) *ListTestRunStepsOutput { + s.NextToken = &v + return s +} + +// SetTestRunSteps sets the TestRunSteps field's value. +func (s *ListTestRunStepsOutput) SetTestRunSteps(v []*TestRunStepSummary) *ListTestRunStepsOutput { + s.TestRunSteps = v + return s +} + +type ListTestRunTestCasesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of test run test cases to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token from a previous request to retrieve the next page of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The test run ID of the test cases. + // + // TestRunId is a required field + TestRunId *string `location:"uri" locationName:"testRunId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunTestCasesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunTestCasesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTestRunTestCasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTestRunTestCasesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.TestRunId == nil { + invalidParams.Add(request.NewErrParamRequired("TestRunId")) + } + if s.TestRunId != nil && len(*s.TestRunId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestRunId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTestRunTestCasesInput) SetMaxResults(v int64) *ListTestRunTestCasesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestRunTestCasesInput) SetNextToken(v string) *ListTestRunTestCasesInput { + s.NextToken = &v + return s +} + +// SetTestRunId sets the TestRunId field's value. +func (s *ListTestRunTestCasesInput) SetTestRunId(v string) *ListTestRunTestCasesInput { + s.TestRunId = &v + return s +} + +type ListTestRunTestCasesOutput struct { + _ struct{} `type:"structure"` + + // The token from a previous request to retrieve the next page of results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The test run of the test cases. + // + // TestRunTestCases is a required field + TestRunTestCases []*TestCaseRunSummary `locationName:"testRunTestCases" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunTestCasesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunTestCasesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestRunTestCasesOutput) SetNextToken(v string) *ListTestRunTestCasesOutput { + s.NextToken = &v + return s +} + +// SetTestRunTestCases sets the TestRunTestCases field's value. +func (s *ListTestRunTestCasesOutput) SetTestRunTestCases(v []*TestCaseRunSummary) *ListTestRunTestCasesOutput { + s.TestRunTestCases = v + return s +} + +type ListTestRunsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of test runs to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token from the previous request to retrieve the next page of test run + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The test run IDs of the test runs. + TestRunIds []*string `location:"querystring" locationName:"testrunIds" type:"list"` + + // The test suite ID of the test runs. + TestSuiteId *string `location:"querystring" locationName:"testSuiteId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTestRunsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTestRunsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTestRunsInput) SetMaxResults(v int64) *ListTestRunsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestRunsInput) SetNextToken(v string) *ListTestRunsInput { + s.NextToken = &v + return s +} + +// SetTestRunIds sets the TestRunIds field's value. +func (s *ListTestRunsInput) SetTestRunIds(v []*string) *ListTestRunsInput { + s.TestRunIds = v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *ListTestRunsInput) SetTestSuiteId(v string) *ListTestRunsInput { + s.TestSuiteId = &v + return s +} + +type ListTestRunsOutput struct { + _ struct{} `type:"structure"` + + // The token from the previous request to retrieve the next page of results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The test runs of the response query. + // + // TestRuns is a required field + TestRuns []*TestRunSummary `locationName:"testRuns" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestRunsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestRunsOutput) SetNextToken(v string) *ListTestRunsOutput { + s.NextToken = &v + return s +} + +// SetTestRuns sets the TestRuns field's value. +func (s *ListTestRunsOutput) SetTestRuns(v []*TestRunSummary) *ListTestRunsOutput { + s.TestRuns = v + return s +} + +type ListTestSuitesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of test suites to return in one page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token from a previous request to retrieve the next page of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The suite ID of the test suites. + TestSuiteIds []*string `location:"querystring" locationName:"testSuiteIds" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestSuitesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestSuitesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTestSuitesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTestSuitesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTestSuitesInput) SetMaxResults(v int64) *ListTestSuitesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestSuitesInput) SetNextToken(v string) *ListTestSuitesInput { + s.NextToken = &v + return s +} + +// SetTestSuiteIds sets the TestSuiteIds field's value. +func (s *ListTestSuitesInput) SetTestSuiteIds(v []*string) *ListTestSuitesInput { + s.TestSuiteIds = v + return s +} + +type ListTestSuitesOutput struct { + _ struct{} `type:"structure"` + + // The token from a previous request to retrieve the next page of test suites + // results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The test suites returned with the response query. + // + // TestSuites is a required field + TestSuites []*TestSuiteSummary `locationName:"testSuites" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestSuitesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTestSuitesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTestSuitesOutput) SetNextToken(v string) *ListTestSuitesOutput { + s.NextToken = &v + return s +} + +// SetTestSuites sets the TestSuites field's value. +func (s *ListTestSuitesOutput) SetTestSuites(v []*TestSuiteSummary) *ListTestSuitesOutput { + s.TestSuites = v + return s +} + +// Specifies the AWS Mainframe Modernization managed action properties. +type M2ManagedActionProperties struct { + _ struct{} `type:"structure"` + + // Force stops the AWS Mainframe Modernization managed action properties. + ForceStop *bool `locationName:"forceStop" type:"boolean"` + + // The import data set location of the AWS Mainframe Modernization managed action + // properties. + ImportDataSetLocation *string `locationName:"importDataSetLocation" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedActionProperties) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedActionProperties) GoString() string { + return s.String() +} + +// SetForceStop sets the ForceStop field's value. +func (s *M2ManagedActionProperties) SetForceStop(v bool) *M2ManagedActionProperties { + s.ForceStop = &v + return s +} + +// SetImportDataSetLocation sets the ImportDataSetLocation field's value. +func (s *M2ManagedActionProperties) SetImportDataSetLocation(v string) *M2ManagedActionProperties { + s.ImportDataSetLocation = &v + return s +} + +// Specifies the AWS Mainframe Modernization managed application. +type M2ManagedApplication struct { + _ struct{} `type:"structure"` + + // The application ID of the AWS Mainframe Modernization managed application. + // + // ApplicationId is a required field + ApplicationId *string `locationName:"applicationId" type:"string" required:"true"` + + // The listener port of the AWS Mainframe Modernization managed application. + ListenerPort *string `locationName:"listenerPort" type:"string"` + + // The runtime of the AWS Mainframe Modernization managed application. + // + // Runtime is a required field + Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"M2ManagedRuntime"` + + // The VPC endpoint service name of the AWS Mainframe Modernization managed + // application. + VpcEndpointServiceName *string `locationName:"vpcEndpointServiceName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplication) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplication) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *M2ManagedApplication) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "M2ManagedApplication"} + if s.ApplicationId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationId")) + } + if s.Runtime == nil { + invalidParams.Add(request.NewErrParamRequired("Runtime")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *M2ManagedApplication) SetApplicationId(v string) *M2ManagedApplication { + s.ApplicationId = &v + return s +} + +// SetListenerPort sets the ListenerPort field's value. +func (s *M2ManagedApplication) SetListenerPort(v string) *M2ManagedApplication { + s.ListenerPort = &v + return s +} + +// SetRuntime sets the Runtime field's value. +func (s *M2ManagedApplication) SetRuntime(v string) *M2ManagedApplication { + s.Runtime = &v + return s +} + +// SetVpcEndpointServiceName sets the VpcEndpointServiceName field's value. +func (s *M2ManagedApplication) SetVpcEndpointServiceName(v string) *M2ManagedApplication { + s.VpcEndpointServiceName = &v + return s +} + +// Specifies the AWS Mainframe Modernization managed application action. +type M2ManagedApplicationAction struct { + _ struct{} `type:"structure"` + + // The action type of the AWS Mainframe Modernization managed application action. + // + // ActionType is a required field + ActionType *string `locationName:"actionType" type:"string" required:"true" enum:"M2ManagedActionType"` + + // The properties of the AWS Mainframe Modernization managed application action. + Properties *M2ManagedActionProperties `locationName:"properties" type:"structure"` + + // The resource of the AWS Mainframe Modernization managed application action. + // + // Resource is a required field + Resource *string `locationName:"resource" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *M2ManagedApplicationAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "M2ManagedApplicationAction"} + if s.ActionType == nil { + invalidParams.Add(request.NewErrParamRequired("ActionType")) + } + if s.Resource == nil { + invalidParams.Add(request.NewErrParamRequired("Resource")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActionType sets the ActionType field's value. +func (s *M2ManagedApplicationAction) SetActionType(v string) *M2ManagedApplicationAction { + s.ActionType = &v + return s +} + +// SetProperties sets the Properties field's value. +func (s *M2ManagedApplicationAction) SetProperties(v *M2ManagedActionProperties) *M2ManagedApplicationAction { + s.Properties = v + return s +} + +// SetResource sets the Resource field's value. +func (s *M2ManagedApplicationAction) SetResource(v string) *M2ManagedApplicationAction { + s.Resource = &v + return s +} + +// Specifies the AWS Mainframe Modernization managed application step input. +type M2ManagedApplicationStepInput_ struct { + _ struct{} `type:"structure"` + + // The action type of the AWS Mainframe Modernization managed application step + // input. + // + // ActionType is a required field + ActionType *string `locationName:"actionType" type:"string" required:"true" enum:"M2ManagedActionType"` + + // The application ID of the AWS Mainframe Modernization managed application + // step input. + // + // ApplicationId is a required field + ApplicationId *string `locationName:"applicationId" type:"string" required:"true"` + + // The listener port of the AWS Mainframe Modernization managed application + // step input. + ListenerPort *int64 `locationName:"listenerPort" type:"integer"` + + // The properties of the AWS Mainframe Modernization managed application step + // input. + Properties *M2ManagedActionProperties `locationName:"properties" type:"structure"` + + // The runtime of the AWS Mainframe Modernization managed application step input. + // + // Runtime is a required field + Runtime *string `locationName:"runtime" type:"string" required:"true"` + + // The VPC endpoint service name of the AWS Mainframe Modernization managed + // application step input. + VpcEndpointServiceName *string `locationName:"vpcEndpointServiceName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationStepInput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationStepInput_) GoString() string { + return s.String() +} + +// SetActionType sets the ActionType field's value. +func (s *M2ManagedApplicationStepInput_) SetActionType(v string) *M2ManagedApplicationStepInput_ { + s.ActionType = &v + return s +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *M2ManagedApplicationStepInput_) SetApplicationId(v string) *M2ManagedApplicationStepInput_ { + s.ApplicationId = &v + return s +} + +// SetListenerPort sets the ListenerPort field's value. +func (s *M2ManagedApplicationStepInput_) SetListenerPort(v int64) *M2ManagedApplicationStepInput_ { + s.ListenerPort = &v + return s +} + +// SetProperties sets the Properties field's value. +func (s *M2ManagedApplicationStepInput_) SetProperties(v *M2ManagedActionProperties) *M2ManagedApplicationStepInput_ { + s.Properties = v + return s +} + +// SetRuntime sets the Runtime field's value. +func (s *M2ManagedApplicationStepInput_) SetRuntime(v string) *M2ManagedApplicationStepInput_ { + s.Runtime = &v + return s +} + +// SetVpcEndpointServiceName sets the VpcEndpointServiceName field's value. +func (s *M2ManagedApplicationStepInput_) SetVpcEndpointServiceName(v string) *M2ManagedApplicationStepInput_ { + s.VpcEndpointServiceName = &v + return s +} + +// Specifies the AWS Mainframe Modernization managed application step output. +type M2ManagedApplicationStepOutput_ struct { + _ struct{} `type:"structure"` + + // The import data set summary of the AWS Mainframe Modernization managed application + // step output. + ImportDataSetSummary map[string]*string `locationName:"importDataSetSummary" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationStepOutput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationStepOutput_) GoString() string { + return s.String() +} + +// SetImportDataSetSummary sets the ImportDataSetSummary field's value. +func (s *M2ManagedApplicationStepOutput_) SetImportDataSetSummary(v map[string]*string) *M2ManagedApplicationStepOutput_ { + s.ImportDataSetSummary = v + return s +} + +// Specifies the AWS Mainframe Modernization managed application step summary. +type M2ManagedApplicationStepSummary struct { + _ struct{} `type:"structure"` + + // The step input of the AWS Mainframe Modernization managed application step + // summary. + // + // StepInput is a required field + StepInput *M2ManagedApplicationStepInput_ `locationName:"stepInput" type:"structure" required:"true"` + + // The step output of the AWS Mainframe Modernization managed application step + // summary. + StepOutput *M2ManagedApplicationStepOutput_ `locationName:"stepOutput" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationStepSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationStepSummary) GoString() string { + return s.String() +} + +// SetStepInput sets the StepInput field's value. +func (s *M2ManagedApplicationStepSummary) SetStepInput(v *M2ManagedApplicationStepInput_) *M2ManagedApplicationStepSummary { + s.StepInput = v + return s +} + +// SetStepOutput sets the StepOutput field's value. +func (s *M2ManagedApplicationStepSummary) SetStepOutput(v *M2ManagedApplicationStepOutput_) *M2ManagedApplicationStepSummary { + s.StepOutput = v + return s +} + +// Specifies the AWS Mainframe Modernization managed application summary. +type M2ManagedApplicationSummary struct { + _ struct{} `type:"structure"` + + // The application ID of the AWS Mainframe Modernization managed application + // summary. + // + // ApplicationId is a required field + ApplicationId *string `locationName:"applicationId" type:"string" required:"true"` + + // The listener port of the AWS Mainframe Modernization managed application + // summary. + ListenerPort *int64 `locationName:"listenerPort" type:"integer"` + + // The runtime of the AWS Mainframe Modernization managed application summary. + // + // Runtime is a required field + Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"M2ManagedRuntime"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2ManagedApplicationSummary) GoString() string { + return s.String() +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *M2ManagedApplicationSummary) SetApplicationId(v string) *M2ManagedApplicationSummary { + s.ApplicationId = &v + return s +} + +// SetListenerPort sets the ListenerPort field's value. +func (s *M2ManagedApplicationSummary) SetListenerPort(v int64) *M2ManagedApplicationSummary { + s.ListenerPort = &v + return s +} + +// SetRuntime sets the Runtime field's value. +func (s *M2ManagedApplicationSummary) SetRuntime(v string) *M2ManagedApplicationSummary { + s.Runtime = &v + return s +} + +// Specifies the AWS Mainframe Modernization non-managed application. +type M2NonManagedApplication struct { + _ struct{} `type:"structure"` + + // The listener port of the AWS Mainframe Modernization non-managed application. + // + // ListenerPort is a required field + ListenerPort *string `locationName:"listenerPort" type:"string" required:"true"` + + // The runtime of the AWS Mainframe Modernization non-managed application. + // + // Runtime is a required field + Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"M2NonManagedRuntime"` + + // The VPC endpoint service name of the AWS Mainframe Modernization non-managed + // application. + // + // VpcEndpointServiceName is a required field + VpcEndpointServiceName *string `locationName:"vpcEndpointServiceName" type:"string" required:"true"` + + // The web application name of the AWS Mainframe Modernization non-managed application. + WebAppName *string `locationName:"webAppName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplication) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplication) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *M2NonManagedApplication) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "M2NonManagedApplication"} + if s.ListenerPort == nil { + invalidParams.Add(request.NewErrParamRequired("ListenerPort")) + } + if s.Runtime == nil { + invalidParams.Add(request.NewErrParamRequired("Runtime")) + } + if s.VpcEndpointServiceName == nil { + invalidParams.Add(request.NewErrParamRequired("VpcEndpointServiceName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetListenerPort sets the ListenerPort field's value. +func (s *M2NonManagedApplication) SetListenerPort(v string) *M2NonManagedApplication { + s.ListenerPort = &v + return s +} + +// SetRuntime sets the Runtime field's value. +func (s *M2NonManagedApplication) SetRuntime(v string) *M2NonManagedApplication { + s.Runtime = &v + return s +} + +// SetVpcEndpointServiceName sets the VpcEndpointServiceName field's value. +func (s *M2NonManagedApplication) SetVpcEndpointServiceName(v string) *M2NonManagedApplication { + s.VpcEndpointServiceName = &v + return s +} + +// SetWebAppName sets the WebAppName field's value. +func (s *M2NonManagedApplication) SetWebAppName(v string) *M2NonManagedApplication { + s.WebAppName = &v + return s +} + +// Specifies the AWS Mainframe Modernization non-managed application action. +type M2NonManagedApplicationAction struct { + _ struct{} `type:"structure"` + + // The action type of the AWS Mainframe Modernization non-managed application + // action. + // + // ActionType is a required field + ActionType *string `locationName:"actionType" type:"string" required:"true" enum:"M2NonManagedActionType"` + + // The resource of the AWS Mainframe Modernization non-managed application action. + // + // Resource is a required field + Resource *string `locationName:"resource" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *M2NonManagedApplicationAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "M2NonManagedApplicationAction"} + if s.ActionType == nil { + invalidParams.Add(request.NewErrParamRequired("ActionType")) + } + if s.Resource == nil { + invalidParams.Add(request.NewErrParamRequired("Resource")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActionType sets the ActionType field's value. +func (s *M2NonManagedApplicationAction) SetActionType(v string) *M2NonManagedApplicationAction { + s.ActionType = &v + return s +} + +// SetResource sets the Resource field's value. +func (s *M2NonManagedApplicationAction) SetResource(v string) *M2NonManagedApplicationAction { + s.Resource = &v + return s +} + +// Specifies the AWS Mainframe Modernization non-managed application step input. +type M2NonManagedApplicationStepInput_ struct { + _ struct{} `type:"structure"` + + // The action type of the AWS Mainframe Modernization non-managed application + // step input. + // + // ActionType is a required field + ActionType *string `locationName:"actionType" type:"string" required:"true" enum:"M2NonManagedActionType"` + + // The listener port of the AWS Mainframe Modernization non-managed application + // step input. + // + // ListenerPort is a required field + ListenerPort *int64 `locationName:"listenerPort" type:"integer" required:"true"` + + // The runtime of the AWS Mainframe Modernization non-managed application step + // input. + // + // Runtime is a required field + Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"M2NonManagedRuntime"` + + // The VPC endpoint service name of the AWS Mainframe Modernization non-managed + // application step input. + // + // VpcEndpointServiceName is a required field + VpcEndpointServiceName *string `locationName:"vpcEndpointServiceName" type:"string" required:"true"` + + // The web app name of the AWS Mainframe Modernization non-managed application + // step input. + WebAppName *string `locationName:"webAppName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationStepInput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationStepInput_) GoString() string { + return s.String() +} + +// SetActionType sets the ActionType field's value. +func (s *M2NonManagedApplicationStepInput_) SetActionType(v string) *M2NonManagedApplicationStepInput_ { + s.ActionType = &v + return s +} + +// SetListenerPort sets the ListenerPort field's value. +func (s *M2NonManagedApplicationStepInput_) SetListenerPort(v int64) *M2NonManagedApplicationStepInput_ { + s.ListenerPort = &v + return s +} + +// SetRuntime sets the Runtime field's value. +func (s *M2NonManagedApplicationStepInput_) SetRuntime(v string) *M2NonManagedApplicationStepInput_ { + s.Runtime = &v + return s +} + +// SetVpcEndpointServiceName sets the VpcEndpointServiceName field's value. +func (s *M2NonManagedApplicationStepInput_) SetVpcEndpointServiceName(v string) *M2NonManagedApplicationStepInput_ { + s.VpcEndpointServiceName = &v + return s +} + +// SetWebAppName sets the WebAppName field's value. +func (s *M2NonManagedApplicationStepInput_) SetWebAppName(v string) *M2NonManagedApplicationStepInput_ { + s.WebAppName = &v + return s +} + +// Specifies the AWS Mainframe Modernization non-managed application step output. +type M2NonManagedApplicationStepOutput_ struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationStepOutput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationStepOutput_) GoString() string { + return s.String() +} + +// Specifies the AWS Mainframe Modernization non-managed application step summary. +type M2NonManagedApplicationStepSummary struct { + _ struct{} `type:"structure"` + + // The step input of the AWS Mainframe Modernization non-managed application + // step summary. + // + // StepInput is a required field + StepInput *M2NonManagedApplicationStepInput_ `locationName:"stepInput" type:"structure" required:"true"` + + // The step output of the AWS Mainframe Modernization non-managed application + // step summary. + StepOutput *M2NonManagedApplicationStepOutput_ `locationName:"stepOutput" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationStepSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationStepSummary) GoString() string { + return s.String() +} + +// SetStepInput sets the StepInput field's value. +func (s *M2NonManagedApplicationStepSummary) SetStepInput(v *M2NonManagedApplicationStepInput_) *M2NonManagedApplicationStepSummary { + s.StepInput = v + return s +} + +// SetStepOutput sets the StepOutput field's value. +func (s *M2NonManagedApplicationStepSummary) SetStepOutput(v *M2NonManagedApplicationStepOutput_) *M2NonManagedApplicationStepSummary { + s.StepOutput = v + return s +} + +// Specifies the AWS Mainframe Modernization non-managed application summary. +type M2NonManagedApplicationSummary struct { + _ struct{} `type:"structure"` + + // The listener port of the AWS Mainframe Modernization non-managed application + // summary. + // + // ListenerPort is a required field + ListenerPort *int64 `locationName:"listenerPort" type:"integer" required:"true"` + + // The runtime of the AWS Mainframe Modernization non-managed application summary. + // + // Runtime is a required field + Runtime *string `locationName:"runtime" type:"string" required:"true" enum:"M2NonManagedRuntime"` + + // The VPC endpoint service name of the AWS Mainframe Modernization non-managed + // application summary. + // + // VpcEndpointServiceName is a required field + VpcEndpointServiceName *string `locationName:"vpcEndpointServiceName" type:"string" required:"true"` + + // The web application name of the AWS Mainframe Modernization non-managed application + // summary. + WebAppName *string `locationName:"webAppName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s M2NonManagedApplicationSummary) GoString() string { + return s.String() +} + +// SetListenerPort sets the ListenerPort field's value. +func (s *M2NonManagedApplicationSummary) SetListenerPort(v int64) *M2NonManagedApplicationSummary { + s.ListenerPort = &v + return s +} + +// SetRuntime sets the Runtime field's value. +func (s *M2NonManagedApplicationSummary) SetRuntime(v string) *M2NonManagedApplicationSummary { + s.Runtime = &v + return s +} + +// SetVpcEndpointServiceName sets the VpcEndpointServiceName field's value. +func (s *M2NonManagedApplicationSummary) SetVpcEndpointServiceName(v string) *M2NonManagedApplicationSummary { + s.VpcEndpointServiceName = &v + return s +} + +// SetWebAppName sets the WebAppName field's value. +func (s *M2NonManagedApplicationSummary) SetWebAppName(v string) *M2NonManagedApplicationSummary { + s.WebAppName = &v + return s +} + +// Specifies the mainframe action. +type MainframeAction struct { + _ struct{} `type:"structure"` + + // The action type of the mainframe action. + // + // ActionType is a required field + ActionType *MainframeActionType `locationName:"actionType" type:"structure" required:"true"` + + // The properties of the mainframe action. + Properties *MainframeActionProperties `locationName:"properties" type:"structure"` + + // The resource of the mainframe action. + // + // Resource is a required field + Resource *string `locationName:"resource" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MainframeAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MainframeAction"} + if s.ActionType == nil { + invalidParams.Add(request.NewErrParamRequired("ActionType")) + } + if s.Resource == nil { + invalidParams.Add(request.NewErrParamRequired("Resource")) + } + if s.ActionType != nil { + if err := s.ActionType.Validate(); err != nil { + invalidParams.AddNested("ActionType", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActionType sets the ActionType field's value. +func (s *MainframeAction) SetActionType(v *MainframeActionType) *MainframeAction { + s.ActionType = v + return s +} + +// SetProperties sets the Properties field's value. +func (s *MainframeAction) SetProperties(v *MainframeActionProperties) *MainframeAction { + s.Properties = v + return s +} + +// SetResource sets the Resource field's value. +func (s *MainframeAction) SetResource(v string) *MainframeAction { + s.Resource = &v + return s +} + +// Specifies the mainframe action properties. +type MainframeActionProperties struct { + _ struct{} `type:"structure"` + + // The DMS task ARN of the mainframe action properties. + DmsTaskArn *string `locationName:"dmsTaskArn" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeActionProperties) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeActionProperties) GoString() string { + return s.String() +} + +// SetDmsTaskArn sets the DmsTaskArn field's value. +func (s *MainframeActionProperties) SetDmsTaskArn(v string) *MainframeActionProperties { + s.DmsTaskArn = &v + return s +} + +// Specifies the mainframe action summary. +type MainframeActionSummary struct { + _ struct{} `type:"structure"` + + // The batch of the mainframe action summary. + Batch *BatchSummary `locationName:"batch" type:"structure"` + + // The tn3270 port of the mainframe action summary. + Tn3270 *TN3270Summary `locationName:"tn3270" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeActionSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeActionSummary) GoString() string { + return s.String() +} + +// SetBatch sets the Batch field's value. +func (s *MainframeActionSummary) SetBatch(v *BatchSummary) *MainframeActionSummary { + s.Batch = v + return s +} + +// SetTn3270 sets the Tn3270 field's value. +func (s *MainframeActionSummary) SetTn3270(v *TN3270Summary) *MainframeActionSummary { + s.Tn3270 = v + return s +} + +// Specifies the mainframe action type. +type MainframeActionType struct { + _ struct{} `type:"structure"` + + // The batch of the mainframe action type. + Batch *Batch `locationName:"batch" type:"structure"` + + // The tn3270 port of the mainframe action type. + Tn3270 *TN3270 `locationName:"tn3270" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeActionType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeActionType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MainframeActionType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MainframeActionType"} + if s.Batch != nil { + if err := s.Batch.Validate(); err != nil { + invalidParams.AddNested("Batch", err.(request.ErrInvalidParams)) + } + } + if s.Tn3270 != nil { + if err := s.Tn3270.Validate(); err != nil { + invalidParams.AddNested("Tn3270", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBatch sets the Batch field's value. +func (s *MainframeActionType) SetBatch(v *Batch) *MainframeActionType { + s.Batch = v + return s +} + +// SetTn3270 sets the Tn3270 field's value. +func (s *MainframeActionType) SetTn3270(v *TN3270) *MainframeActionType { + s.Tn3270 = v + return s +} + +// Specifies the mainframe resource summary. +type MainframeResourceSummary struct { + _ struct{} `type:"structure"` + + // The AWS Mainframe Modernization managed application in the mainframe resource + // summary. + M2ManagedApplication *M2ManagedApplicationSummary `locationName:"m2ManagedApplication" type:"structure"` + + // The AWS Mainframe Modernization non-managed application in the mainframe + // resource summary. + M2NonManagedApplication *M2NonManagedApplicationSummary `locationName:"m2NonManagedApplication" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeResourceSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MainframeResourceSummary) GoString() string { + return s.String() +} + +// SetM2ManagedApplication sets the M2ManagedApplication field's value. +func (s *MainframeResourceSummary) SetM2ManagedApplication(v *M2ManagedApplicationSummary) *MainframeResourceSummary { + s.M2ManagedApplication = v + return s +} + +// SetM2NonManagedApplication sets the M2NonManagedApplication field's value. +func (s *MainframeResourceSummary) SetM2NonManagedApplication(v *M2NonManagedApplicationSummary) *MainframeResourceSummary { + s.M2NonManagedApplication = v + return s +} + +// Specifies an output file. +type OutputFile struct { + _ struct{} `type:"structure"` + + // The file location of the output file. + FileLocation *string `locationName:"fileLocation" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OutputFile) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OutputFile) GoString() string { + return s.String() +} + +// SetFileLocation sets the FileLocation field's value. +func (s *OutputFile) SetFileLocation(v string) *OutputFile { + s.FileLocation = &v + return s +} + +// Specifies an output. +type Output_ struct { + _ struct{} `type:"structure"` + + // The file of the output. + File *OutputFile `locationName:"file" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Output_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Output_) GoString() string { + return s.String() +} + +// SetFile sets the File field's value. +func (s *Output_) SetFile(v *OutputFile) *Output_ { + s.File = v + return s +} + +// Specifies a resource. +type Resource struct { + _ struct{} `type:"structure"` + + // The name of the resource. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The type of the resource. + // + // Type is a required field + Type *ResourceType `locationName:"type" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Resource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Resource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Resource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Resource"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.Type != nil { + if err := s.Type.Validate(); err != nil { + invalidParams.AddNested("Type", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *Resource) SetName(v string) *Resource { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *Resource) SetType(v *ResourceType) *Resource { + s.Type = v + return s +} + +// Specifies a resource action. +type ResourceAction struct { + _ struct{} `type:"structure"` + + // The CloudFormation action of the resource action. + CloudFormationAction *CloudFormationAction `locationName:"cloudFormationAction" type:"structure"` + + // The AWS Mainframe Modernization managed application action of the resource + // action. + M2ManagedApplicationAction *M2ManagedApplicationAction `locationName:"m2ManagedApplicationAction" type:"structure"` + + // The AWS Mainframe Modernization non-managed application action of the resource + // action. + M2NonManagedApplicationAction *M2NonManagedApplicationAction `locationName:"m2NonManagedApplicationAction" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ResourceAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResourceAction"} + if s.CloudFormationAction != nil { + if err := s.CloudFormationAction.Validate(); err != nil { + invalidParams.AddNested("CloudFormationAction", err.(request.ErrInvalidParams)) + } + } + if s.M2ManagedApplicationAction != nil { + if err := s.M2ManagedApplicationAction.Validate(); err != nil { + invalidParams.AddNested("M2ManagedApplicationAction", err.(request.ErrInvalidParams)) + } + } + if s.M2NonManagedApplicationAction != nil { + if err := s.M2NonManagedApplicationAction.Validate(); err != nil { + invalidParams.AddNested("M2NonManagedApplicationAction", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCloudFormationAction sets the CloudFormationAction field's value. +func (s *ResourceAction) SetCloudFormationAction(v *CloudFormationAction) *ResourceAction { + s.CloudFormationAction = v + return s +} + +// SetM2ManagedApplicationAction sets the M2ManagedApplicationAction field's value. +func (s *ResourceAction) SetM2ManagedApplicationAction(v *M2ManagedApplicationAction) *ResourceAction { + s.M2ManagedApplicationAction = v + return s +} + +// SetM2NonManagedApplicationAction sets the M2NonManagedApplicationAction field's value. +func (s *ResourceAction) SetM2NonManagedApplicationAction(v *M2NonManagedApplicationAction) *ResourceAction { + s.M2NonManagedApplicationAction = v + return s +} + +// Specifies the resource action summary. +type ResourceActionSummary struct { + _ struct{} `type:"structure"` + + // The CloudFormation template of the resource action summary. + CloudFormation *CloudFormationStepSummary `locationName:"cloudFormation" type:"structure"` + + // The AWS Mainframe Modernization managed application of the resource action + // summary. + M2ManagedApplication *M2ManagedApplicationStepSummary `locationName:"m2ManagedApplication" type:"structure"` + + // The AWS Mainframe Modernization non-managed application of the resource action + // summary. + M2NonManagedApplication *M2NonManagedApplicationStepSummary `locationName:"m2NonManagedApplication" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceActionSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceActionSummary) GoString() string { + return s.String() +} + +// SetCloudFormation sets the CloudFormation field's value. +func (s *ResourceActionSummary) SetCloudFormation(v *CloudFormationStepSummary) *ResourceActionSummary { + s.CloudFormation = v + return s +} + +// SetM2ManagedApplication sets the M2ManagedApplication field's value. +func (s *ResourceActionSummary) SetM2ManagedApplication(v *M2ManagedApplicationStepSummary) *ResourceActionSummary { + s.M2ManagedApplication = v + return s +} + +// SetM2NonManagedApplication sets the M2NonManagedApplication field's value. +func (s *ResourceActionSummary) SetM2NonManagedApplication(v *M2NonManagedApplicationStepSummary) *ResourceActionSummary { + s.M2NonManagedApplication = v + return s +} + +// The specified resource was not found. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The resource ID of the resource not found. + ResourceId *string `locationName:"resourceId" type:"string"` + + // The resource type of the resource not found. + ResourceType *string `locationName:"resourceType" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceNotFoundException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceNotFoundException) GoString() string { + return s.String() +} + +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} + +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Specifies the resource type. +type ResourceType struct { + _ struct{} `type:"structure"` + + // The CloudFormation template of the resource type. + CloudFormation *CloudFormation `locationName:"cloudFormation" type:"structure"` + + // The AWS Mainframe Modernization managed application of the resource type. + M2ManagedApplication *M2ManagedApplication `locationName:"m2ManagedApplication" type:"structure"` + + // The AWS Mainframe Modernization non-managed application of the resource type. + M2NonManagedApplication *M2NonManagedApplication `locationName:"m2NonManagedApplication" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceType) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ResourceType) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResourceType"} + if s.CloudFormation != nil { + if err := s.CloudFormation.Validate(); err != nil { + invalidParams.AddNested("CloudFormation", err.(request.ErrInvalidParams)) + } + } + if s.M2ManagedApplication != nil { + if err := s.M2ManagedApplication.Validate(); err != nil { + invalidParams.AddNested("M2ManagedApplication", err.(request.ErrInvalidParams)) + } + } + if s.M2NonManagedApplication != nil { + if err := s.M2NonManagedApplication.Validate(); err != nil { + invalidParams.AddNested("M2NonManagedApplication", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCloudFormation sets the CloudFormation field's value. +func (s *ResourceType) SetCloudFormation(v *CloudFormation) *ResourceType { + s.CloudFormation = v + return s +} + +// SetM2ManagedApplication sets the M2ManagedApplication field's value. +func (s *ResourceType) SetM2ManagedApplication(v *M2ManagedApplication) *ResourceType { + s.M2ManagedApplication = v + return s +} + +// SetM2NonManagedApplication sets the M2NonManagedApplication field's value. +func (s *ResourceType) SetM2NonManagedApplication(v *M2NonManagedApplication) *ResourceType { + s.M2NonManagedApplication = v + return s +} + +// Specifies the script. +type Script struct { + _ struct{} `type:"structure"` + + // The script location of the scripts. + // + // ScriptLocation is a required field + ScriptLocation *string `locationName:"scriptLocation" type:"string" required:"true"` + + // The type of the scripts. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"ScriptType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Script) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Script) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Script) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Script"} + if s.ScriptLocation == nil { + invalidParams.Add(request.NewErrParamRequired("ScriptLocation")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetScriptLocation sets the ScriptLocation field's value. +func (s *Script) SetScriptLocation(v string) *Script { + s.ScriptLocation = &v + return s +} + +// SetType sets the Type field's value. +func (s *Script) SetType(v string) *Script { + s.Type = &v + return s +} + +// Specifies the scripts summary. +type ScriptSummary struct { + _ struct{} `type:"structure"` + + // The script location of the script summary. + // + // ScriptLocation is a required field + ScriptLocation *string `locationName:"scriptLocation" type:"string" required:"true"` + + // The type of the script summary. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"ScriptType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ScriptSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ScriptSummary) GoString() string { + return s.String() +} + +// SetScriptLocation sets the ScriptLocation field's value. +func (s *ScriptSummary) SetScriptLocation(v string) *ScriptSummary { + s.ScriptLocation = &v + return s +} + +// SetType sets the Type field's value. +func (s *ScriptSummary) SetType(v string) *ScriptSummary { + s.Type = &v + return s +} + +// One or more quotas for AWS Application Testing exceeds the limit. +type ServiceQuotaExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The quote codes of AWS Application Testing that exceeded the limit. + QuotaCode *string `locationName:"quotaCode" type:"string"` + + // The resource ID of AWS Application Testing that exceeded the limit. + ResourceId *string `locationName:"resourceId" type:"string"` + + // The resource type of AWS Application Testing that exceeded the limit. + ResourceType *string `locationName:"resourceType" type:"string"` + + // The service code of AWS Application Testing that exceeded the limit. + ServiceCode *string `locationName:"serviceCode" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceQuotaExceededException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceQuotaExceededException) GoString() string { + return s.String() +} + +func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { + return &ServiceQuotaExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ServiceQuotaExceededException) Code() string { + return "ServiceQuotaExceededException" +} + +// Message returns the exception's message. +func (s *ServiceQuotaExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceQuotaExceededException) OrigErr() error { + return nil +} + +func (s *ServiceQuotaExceededException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ServiceQuotaExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ServiceQuotaExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Specifies the service settings. +type ServiceSettings struct { + _ struct{} `type:"structure"` + + // The KMS key ID of the service settings. + KmsKeyId *string `locationName:"kmsKeyId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceSettings) GoString() string { + return s.String() +} + +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *ServiceSettings) SetKmsKeyId(v string) *ServiceSettings { + s.KmsKeyId = &v + return s +} + +// Specifies the source database metadata. +type SourceDatabaseMetadata struct { + _ struct{} `type:"structure"` + + // The capture tool of the source database metadata. + // + // CaptureTool is a required field + CaptureTool *string `locationName:"captureTool" type:"string" required:"true" enum:"CaptureTool"` + + // The type of the source database metadata. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"SourceDatabase"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SourceDatabaseMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SourceDatabaseMetadata) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SourceDatabaseMetadata) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SourceDatabaseMetadata"} + if s.CaptureTool == nil { + invalidParams.Add(request.NewErrParamRequired("CaptureTool")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCaptureTool sets the CaptureTool field's value. +func (s *SourceDatabaseMetadata) SetCaptureTool(v string) *SourceDatabaseMetadata { + s.CaptureTool = &v + return s +} + +// SetType sets the Type field's value. +func (s *SourceDatabaseMetadata) SetType(v string) *SourceDatabaseMetadata { + s.Type = &v + return s +} + +type StartTestRunInput struct { + _ struct{} `type:"structure"` + + // The client token of the test run. + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` + + // The tags of the test run. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The configuration ID of the test run. + TestConfigurationId *string `locationName:"testConfigurationId" type:"string"` + + // The test suite ID of the test run. + // + // TestSuiteId is a required field + TestSuiteId *string `locationName:"testSuiteId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartTestRunInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartTestRunInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartTestRunInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartTestRunInput"} + if s.TestSuiteId == nil { + invalidParams.Add(request.NewErrParamRequired("TestSuiteId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *StartTestRunInput) SetClientToken(v string) *StartTestRunInput { + s.ClientToken = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *StartTestRunInput) SetTags(v map[string]*string) *StartTestRunInput { + s.Tags = v + return s +} + +// SetTestConfigurationId sets the TestConfigurationId field's value. +func (s *StartTestRunInput) SetTestConfigurationId(v string) *StartTestRunInput { + s.TestConfigurationId = &v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *StartTestRunInput) SetTestSuiteId(v string) *StartTestRunInput { + s.TestSuiteId = &v + return s +} + +type StartTestRunOutput struct { + _ struct{} `type:"structure"` + + // The test run ID of the test run. + // + // TestRunId is a required field + TestRunId *string `locationName:"testRunId" type:"string" required:"true"` + + // The test run status of the test run. + // + // TestRunStatus is a required field + TestRunStatus *string `locationName:"testRunStatus" type:"string" required:"true" enum:"TestRunStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartTestRunOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartTestRunOutput) GoString() string { + return s.String() +} + +// SetTestRunId sets the TestRunId field's value. +func (s *StartTestRunOutput) SetTestRunId(v string) *StartTestRunOutput { + s.TestRunId = &v + return s +} + +// SetTestRunStatus sets the TestRunStatus field's value. +func (s *StartTestRunOutput) SetTestRunStatus(v string) *StartTestRunOutput { + s.TestRunStatus = &v + return s +} + +// Defines a step. +type Step struct { + _ struct{} `type:"structure"` + + // The action of the step. + // + // Action is a required field + Action *StepAction `locationName:"action" type:"structure" required:"true"` + + // The description of the step. + Description *string `locationName:"description" type:"string"` + + // The name of the step. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Step) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Step) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Step) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Step"} + if s.Action == nil { + invalidParams.Add(request.NewErrParamRequired("Action")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Action != nil { + if err := s.Action.Validate(); err != nil { + invalidParams.AddNested("Action", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAction sets the Action field's value. +func (s *Step) SetAction(v *StepAction) *Step { + s.Action = v + return s +} + +// SetDescription sets the Description field's value. +func (s *Step) SetDescription(v string) *Step { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *Step) SetName(v string) *Step { + s.Name = &v + return s +} + +// Specifies a step action. +type StepAction struct { + _ struct{} `type:"structure"` + + // The compare action of the step action. + CompareAction *CompareAction `locationName:"compareAction" type:"structure"` + + // The mainframe action of the step action. + MainframeAction *MainframeAction `locationName:"mainframeAction" type:"structure"` + + // The resource action of the step action. + ResourceAction *ResourceAction `locationName:"resourceAction" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StepAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StepAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StepAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StepAction"} + if s.CompareAction != nil { + if err := s.CompareAction.Validate(); err != nil { + invalidParams.AddNested("CompareAction", err.(request.ErrInvalidParams)) + } + } + if s.MainframeAction != nil { + if err := s.MainframeAction.Validate(); err != nil { + invalidParams.AddNested("MainframeAction", err.(request.ErrInvalidParams)) + } + } + if s.ResourceAction != nil { + if err := s.ResourceAction.Validate(); err != nil { + invalidParams.AddNested("ResourceAction", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCompareAction sets the CompareAction field's value. +func (s *StepAction) SetCompareAction(v *CompareAction) *StepAction { + s.CompareAction = v + return s +} + +// SetMainframeAction sets the MainframeAction field's value. +func (s *StepAction) SetMainframeAction(v *MainframeAction) *StepAction { + s.MainframeAction = v + return s +} + +// SetResourceAction sets the ResourceAction field's value. +func (s *StepAction) SetResourceAction(v *ResourceAction) *StepAction { + s.ResourceAction = v + return s +} + +// Defines the step run summary. +type StepRunSummary struct { + _ struct{} `type:"structure"` + + // The compare action of the step run summary. + CompareAction *CompareActionSummary `locationName:"compareAction" type:"structure"` + + // The mainframe action of the step run summary. + MainframeAction *MainframeActionSummary `locationName:"mainframeAction" type:"structure"` + + // The resource action of the step run summary. + ResourceAction *ResourceActionSummary `locationName:"resourceAction" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StepRunSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StepRunSummary) GoString() string { + return s.String() +} + +// SetCompareAction sets the CompareAction field's value. +func (s *StepRunSummary) SetCompareAction(v *CompareActionSummary) *StepRunSummary { + s.CompareAction = v + return s +} + +// SetMainframeAction sets the MainframeAction field's value. +func (s *StepRunSummary) SetMainframeAction(v *MainframeActionSummary) *StepRunSummary { + s.MainframeAction = v + return s +} + +// SetResourceAction sets the ResourceAction field's value. +func (s *StepRunSummary) SetResourceAction(v *ResourceActionSummary) *StepRunSummary { + s.ResourceAction = v + return s +} + +// Specifies the TN3270 protocol. +type TN3270 struct { + _ struct{} `type:"structure"` + + // The data set names of the TN3270 protocol. + ExportDataSetNames []*string `locationName:"exportDataSetNames" type:"list"` + + // The script of the TN3270 protocol. + // + // Script is a required field + Script *Script `locationName:"script" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TN3270) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TN3270) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TN3270) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TN3270"} + if s.Script == nil { + invalidParams.Add(request.NewErrParamRequired("Script")) + } + if s.Script != nil { + if err := s.Script.Validate(); err != nil { + invalidParams.AddNested("Script", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExportDataSetNames sets the ExportDataSetNames field's value. +func (s *TN3270) SetExportDataSetNames(v []*string) *TN3270 { + s.ExportDataSetNames = v + return s +} + +// SetScript sets the Script field's value. +func (s *TN3270) SetScript(v *Script) *TN3270 { + s.Script = v + return s +} + +// Specifies a TN3270 step input. +type TN3270StepInput_ struct { + _ struct{} `type:"structure"` + + // The export data set names of the TN3270 step input. + ExportDataSetNames []*string `locationName:"exportDataSetNames" type:"list"` + + // The properties of the TN3270 step input. + Properties *MainframeActionProperties `locationName:"properties" type:"structure"` + + // The resource of the TN3270 step input. + // + // Resource is a required field + Resource *MainframeResourceSummary `locationName:"resource" type:"structure" required:"true"` + + // The script of the TN3270 step input. + // + // Script is a required field + Script *ScriptSummary `locationName:"script" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TN3270StepInput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TN3270StepInput_) GoString() string { + return s.String() +} + +// SetExportDataSetNames sets the ExportDataSetNames field's value. +func (s *TN3270StepInput_) SetExportDataSetNames(v []*string) *TN3270StepInput_ { + s.ExportDataSetNames = v + return s +} + +// SetProperties sets the Properties field's value. +func (s *TN3270StepInput_) SetProperties(v *MainframeActionProperties) *TN3270StepInput_ { + s.Properties = v + return s +} + +// SetResource sets the Resource field's value. +func (s *TN3270StepInput_) SetResource(v *MainframeResourceSummary) *TN3270StepInput_ { + s.Resource = v + return s +} + +// SetScript sets the Script field's value. +func (s *TN3270StepInput_) SetScript(v *ScriptSummary) *TN3270StepInput_ { + s.Script = v + return s +} + +// Specifies a TN3270 step output. +type TN3270StepOutput_ struct { + _ struct{} `type:"structure"` + + // The data set details of the TN3270 step output. + DataSetDetails []*DataSet `locationName:"dataSetDetails" type:"list"` + + // The data set export location of the TN3270 step output. + DataSetExportLocation *string `locationName:"dataSetExportLocation" type:"string"` + + // The output location of the TN3270 step output. + DmsOutputLocation *string `locationName:"dmsOutputLocation" type:"string"` + + // The script output location of the TN3270 step output. + // + // ScriptOutputLocation is a required field + ScriptOutputLocation *string `locationName:"scriptOutputLocation" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TN3270StepOutput_) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TN3270StepOutput_) GoString() string { + return s.String() +} + +// SetDataSetDetails sets the DataSetDetails field's value. +func (s *TN3270StepOutput_) SetDataSetDetails(v []*DataSet) *TN3270StepOutput_ { + s.DataSetDetails = v + return s +} + +// SetDataSetExportLocation sets the DataSetExportLocation field's value. +func (s *TN3270StepOutput_) SetDataSetExportLocation(v string) *TN3270StepOutput_ { + s.DataSetExportLocation = &v + return s +} + +// SetDmsOutputLocation sets the DmsOutputLocation field's value. +func (s *TN3270StepOutput_) SetDmsOutputLocation(v string) *TN3270StepOutput_ { + s.DmsOutputLocation = &v + return s +} + +// SetScriptOutputLocation sets the ScriptOutputLocation field's value. +func (s *TN3270StepOutput_) SetScriptOutputLocation(v string) *TN3270StepOutput_ { + s.ScriptOutputLocation = &v + return s +} + +// Specifies a TN3270 summary. +type TN3270Summary struct { + _ struct{} `type:"structure"` + + // The step input of the TN3270 summary. + // + // StepInput is a required field + StepInput *TN3270StepInput_ `locationName:"stepInput" type:"structure" required:"true"` + + // The step output of the TN3270 summary. + StepOutput *TN3270StepOutput_ `locationName:"stepOutput" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TN3270Summary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TN3270Summary) GoString() string { + return s.String() +} + +// SetStepInput sets the StepInput field's value. +func (s *TN3270Summary) SetStepInput(v *TN3270StepInput_) *TN3270Summary { + s.StepInput = v + return s +} + +// SetStepOutput sets the StepOutput field's value. +func (s *TN3270Summary) SetStepOutput(v *TN3270StepOutput_) *TN3270Summary { + s.StepOutput = v + return s +} + +type TagResourceInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the tag resource. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + + // The tags of the resource. + // + // Tags is a required field + Tags map[string]*string `locationName:"tags" type:"map" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.Tags == nil { + invalidParams.Add(request.NewErrParamRequired("Tags")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { + s.Tags = v + return s +} + +type TagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceOutput) GoString() string { + return s.String() +} + +// Specifies a target database metadata. +type TargetDatabaseMetadata struct { + _ struct{} `type:"structure"` + + // The capture tool of the target database metadata. + // + // CaptureTool is a required field + CaptureTool *string `locationName:"captureTool" type:"string" required:"true" enum:"CaptureTool"` + + // The type of the target database metadata. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"TargetDatabase"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TargetDatabaseMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TargetDatabaseMetadata) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TargetDatabaseMetadata) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TargetDatabaseMetadata"} + if s.CaptureTool == nil { + invalidParams.Add(request.NewErrParamRequired("CaptureTool")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCaptureTool sets the CaptureTool field's value. +func (s *TargetDatabaseMetadata) SetCaptureTool(v string) *TargetDatabaseMetadata { + s.CaptureTool = &v + return s +} + +// SetType sets the Type field's value. +func (s *TargetDatabaseMetadata) SetType(v string) *TargetDatabaseMetadata { + s.Type = &v + return s +} + +// Specifies the latest version of a test case. +type TestCaseLatestVersion struct { + _ struct{} `type:"structure"` + + // The status of the test case latest version. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestCaseLifecycle"` + + // The status reason of the test case latest version. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The version of the test case latest version. + // + // Version is a required field + Version *int64 `locationName:"version" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestCaseLatestVersion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestCaseLatestVersion) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *TestCaseLatestVersion) SetStatus(v string) *TestCaseLatestVersion { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *TestCaseLatestVersion) SetStatusReason(v string) *TestCaseLatestVersion { + s.StatusReason = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *TestCaseLatestVersion) SetVersion(v int64) *TestCaseLatestVersion { + s.Version = &v + return s +} + +// Specifies the test case run summary. +type TestCaseRunSummary struct { + _ struct{} `type:"structure"` + + // The run end time of the test case run summary. + RunEndTime *time.Time `locationName:"runEndTime" type:"timestamp"` + + // The run start time of the test case run summary. + // + // RunStartTime is a required field + RunStartTime *time.Time `locationName:"runStartTime" type:"timestamp" required:"true"` + + // The status of the test case run summary. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestCaseRunStatus"` + + // The status reason of the test case run summary. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The test case id of the test case run summary. + // + // TestCaseId is a required field + TestCaseId *string `locationName:"testCaseId" type:"string" required:"true"` + + // The test case version of the test case run summary. + // + // TestCaseVersion is a required field + TestCaseVersion *int64 `locationName:"testCaseVersion" type:"integer" required:"true"` + + // The test run id of the test case run summary. + // + // TestRunId is a required field + TestRunId *string `locationName:"testRunId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestCaseRunSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestCaseRunSummary) GoString() string { + return s.String() +} + +// SetRunEndTime sets the RunEndTime field's value. +func (s *TestCaseRunSummary) SetRunEndTime(v time.Time) *TestCaseRunSummary { + s.RunEndTime = &v + return s +} + +// SetRunStartTime sets the RunStartTime field's value. +func (s *TestCaseRunSummary) SetRunStartTime(v time.Time) *TestCaseRunSummary { + s.RunStartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *TestCaseRunSummary) SetStatus(v string) *TestCaseRunSummary { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *TestCaseRunSummary) SetStatusReason(v string) *TestCaseRunSummary { + s.StatusReason = &v + return s +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *TestCaseRunSummary) SetTestCaseId(v string) *TestCaseRunSummary { + s.TestCaseId = &v + return s +} + +// SetTestCaseVersion sets the TestCaseVersion field's value. +func (s *TestCaseRunSummary) SetTestCaseVersion(v int64) *TestCaseRunSummary { + s.TestCaseVersion = &v + return s +} + +// SetTestRunId sets the TestRunId field's value. +func (s *TestCaseRunSummary) SetTestRunId(v string) *TestCaseRunSummary { + s.TestRunId = &v + return s +} + +// Specifies a test case summary. +type TestCaseSummary struct { + _ struct{} `type:"structure"` + + // The creation time of the test case summary. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"` + + // The last update time of the test case summary. + // + // LastUpdateTime is a required field + LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp" required:"true"` + + // The latest version of the test case summary. + // + // LatestVersion is a required field + LatestVersion *int64 `locationName:"latestVersion" type:"integer" required:"true"` + + // The name of the test case summary. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The status of the test case summary. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestCaseLifecycle"` + + // The status reason of the test case summary. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The test case Amazon Resource Name (ARN) of the test case summary. + // + // TestCaseArn is a required field + TestCaseArn *string `locationName:"testCaseArn" type:"string" required:"true"` + + // The test case ID of the test case summary. + // + // TestCaseId is a required field + TestCaseId *string `locationName:"testCaseId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestCaseSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestCaseSummary) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *TestCaseSummary) SetCreationTime(v time.Time) *TestCaseSummary { + s.CreationTime = &v + return s +} + +// SetLastUpdateTime sets the LastUpdateTime field's value. +func (s *TestCaseSummary) SetLastUpdateTime(v time.Time) *TestCaseSummary { + s.LastUpdateTime = &v + return s +} + +// SetLatestVersion sets the LatestVersion field's value. +func (s *TestCaseSummary) SetLatestVersion(v int64) *TestCaseSummary { + s.LatestVersion = &v + return s +} + +// SetName sets the Name field's value. +func (s *TestCaseSummary) SetName(v string) *TestCaseSummary { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *TestCaseSummary) SetStatus(v string) *TestCaseSummary { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *TestCaseSummary) SetStatusReason(v string) *TestCaseSummary { + s.StatusReason = &v + return s +} + +// SetTestCaseArn sets the TestCaseArn field's value. +func (s *TestCaseSummary) SetTestCaseArn(v string) *TestCaseSummary { + s.TestCaseArn = &v + return s +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *TestCaseSummary) SetTestCaseId(v string) *TestCaseSummary { + s.TestCaseId = &v + return s +} + +// Specifies test cases. +type TestCases struct { + _ struct{} `type:"structure"` + + // The sequential of the test case. + Sequential []*string `locationName:"sequential" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestCases) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestCases) GoString() string { + return s.String() +} + +// SetSequential sets the Sequential field's value. +func (s *TestCases) SetSequential(v []*string) *TestCases { + s.Sequential = v + return s +} + +// Specifies the latest version of the test configuration. +type TestConfigurationLatestVersion struct { + _ struct{} `type:"structure"` + + // The status of the test configuration latest version. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestConfigurationLifecycle"` + + // The status reason of the test configuration latest version. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The version of the test configuration latest version. + // + // Version is a required field + Version *int64 `locationName:"version" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestConfigurationLatestVersion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestConfigurationLatestVersion) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *TestConfigurationLatestVersion) SetStatus(v string) *TestConfigurationLatestVersion { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *TestConfigurationLatestVersion) SetStatusReason(v string) *TestConfigurationLatestVersion { + s.StatusReason = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *TestConfigurationLatestVersion) SetVersion(v int64) *TestConfigurationLatestVersion { + s.Version = &v + return s +} + +// Specifies a test configuration summary. +type TestConfigurationSummary struct { + _ struct{} `type:"structure"` + + // The creation time of the test configuration summary. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"` + + // The last update time of the test configuration summary. + // + // LastUpdateTime is a required field + LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp" required:"true"` + + // The latest version of the test configuration summary. + // + // LatestVersion is a required field + LatestVersion *int64 `locationName:"latestVersion" type:"integer" required:"true"` + + // The name of the test configuration summary. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The status of the test configuration summary. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestConfigurationLifecycle"` + + // The status reason of the test configuration summary. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The test configuration ARN of the test configuration summary. + // + // TestConfigurationArn is a required field + TestConfigurationArn *string `locationName:"testConfigurationArn" type:"string" required:"true"` + + // The test configuration ID of the test configuration summary. + // + // TestConfigurationId is a required field + TestConfigurationId *string `locationName:"testConfigurationId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestConfigurationSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestConfigurationSummary) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *TestConfigurationSummary) SetCreationTime(v time.Time) *TestConfigurationSummary { + s.CreationTime = &v + return s +} + +// SetLastUpdateTime sets the LastUpdateTime field's value. +func (s *TestConfigurationSummary) SetLastUpdateTime(v time.Time) *TestConfigurationSummary { + s.LastUpdateTime = &v + return s +} + +// SetLatestVersion sets the LatestVersion field's value. +func (s *TestConfigurationSummary) SetLatestVersion(v int64) *TestConfigurationSummary { + s.LatestVersion = &v + return s +} + +// SetName sets the Name field's value. +func (s *TestConfigurationSummary) SetName(v string) *TestConfigurationSummary { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *TestConfigurationSummary) SetStatus(v string) *TestConfigurationSummary { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *TestConfigurationSummary) SetStatusReason(v string) *TestConfigurationSummary { + s.StatusReason = &v + return s +} + +// SetTestConfigurationArn sets the TestConfigurationArn field's value. +func (s *TestConfigurationSummary) SetTestConfigurationArn(v string) *TestConfigurationSummary { + s.TestConfigurationArn = &v + return s +} + +// SetTestConfigurationId sets the TestConfigurationId field's value. +func (s *TestConfigurationSummary) SetTestConfigurationId(v string) *TestConfigurationSummary { + s.TestConfigurationId = &v + return s +} + +// Specifies a test run step summary. +type TestRunStepSummary struct { + _ struct{} `type:"structure"` + + // The after step of the test run step summary. + AfterStep *bool `locationName:"afterStep" type:"boolean"` + + // The before step of the test run step summary. + BeforeStep *bool `locationName:"beforeStep" type:"boolean"` + + // The run end time of the test run step summary. + RunEndTime *time.Time `locationName:"runEndTime" type:"timestamp"` + + // The run start time of the test run step summary. + // + // RunStartTime is a required field + RunStartTime *time.Time `locationName:"runStartTime" type:"timestamp" required:"true"` + + // The status of the test run step summary. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"StepRunStatus"` + + // The status reason of the test run step summary. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The step name of the test run step summary. + // + // StepName is a required field + StepName *string `locationName:"stepName" type:"string" required:"true"` + + // The test case ID of the test run step summary. + TestCaseId *string `locationName:"testCaseId" type:"string"` + + // The test case version of the test run step summary. + TestCaseVersion *int64 `locationName:"testCaseVersion" type:"integer"` + + // The test run ID of the test run step summary. + // + // TestRunId is a required field + TestRunId *string `locationName:"testRunId" type:"string" required:"true"` + + // The test suite ID of the test run step summary. + TestSuiteId *string `locationName:"testSuiteId" type:"string"` + + // The test suite version of the test run step summary. + TestSuiteVersion *int64 `locationName:"testSuiteVersion" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestRunStepSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestRunStepSummary) GoString() string { + return s.String() +} + +// SetAfterStep sets the AfterStep field's value. +func (s *TestRunStepSummary) SetAfterStep(v bool) *TestRunStepSummary { + s.AfterStep = &v + return s +} + +// SetBeforeStep sets the BeforeStep field's value. +func (s *TestRunStepSummary) SetBeforeStep(v bool) *TestRunStepSummary { + s.BeforeStep = &v + return s +} + +// SetRunEndTime sets the RunEndTime field's value. +func (s *TestRunStepSummary) SetRunEndTime(v time.Time) *TestRunStepSummary { + s.RunEndTime = &v + return s +} + +// SetRunStartTime sets the RunStartTime field's value. +func (s *TestRunStepSummary) SetRunStartTime(v time.Time) *TestRunStepSummary { + s.RunStartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *TestRunStepSummary) SetStatus(v string) *TestRunStepSummary { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *TestRunStepSummary) SetStatusReason(v string) *TestRunStepSummary { + s.StatusReason = &v + return s +} + +// SetStepName sets the StepName field's value. +func (s *TestRunStepSummary) SetStepName(v string) *TestRunStepSummary { + s.StepName = &v + return s +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *TestRunStepSummary) SetTestCaseId(v string) *TestRunStepSummary { + s.TestCaseId = &v + return s +} + +// SetTestCaseVersion sets the TestCaseVersion field's value. +func (s *TestRunStepSummary) SetTestCaseVersion(v int64) *TestRunStepSummary { + s.TestCaseVersion = &v + return s +} + +// SetTestRunId sets the TestRunId field's value. +func (s *TestRunStepSummary) SetTestRunId(v string) *TestRunStepSummary { + s.TestRunId = &v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *TestRunStepSummary) SetTestSuiteId(v string) *TestRunStepSummary { + s.TestSuiteId = &v + return s +} + +// SetTestSuiteVersion sets the TestSuiteVersion field's value. +func (s *TestRunStepSummary) SetTestSuiteVersion(v int64) *TestRunStepSummary { + s.TestSuiteVersion = &v + return s +} + +// Specifies a test run summary. +type TestRunSummary struct { + _ struct{} `type:"structure"` + + // The run end time of the test run summary. + RunEndTime *time.Time `locationName:"runEndTime" type:"timestamp"` + + // The run start time of the test run summary. + // + // RunStartTime is a required field + RunStartTime *time.Time `locationName:"runStartTime" type:"timestamp" required:"true"` + + // The status of the test run summary. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestRunStatus"` + + // The status reason of the test run summary. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The test configuration ID of the test run summary. + TestConfigurationId *string `locationName:"testConfigurationId" type:"string"` + + // The test configuration version of the test run summary. + TestConfigurationVersion *int64 `locationName:"testConfigurationVersion" type:"integer"` + + // The test run ARN of the test run summary. + // + // TestRunArn is a required field + TestRunArn *string `locationName:"testRunArn" type:"string" required:"true"` + + // The test run ID of the test run summary. + // + // TestRunId is a required field + TestRunId *string `locationName:"testRunId" type:"string" required:"true"` + + // The test suite ID of the test run summary. + // + // TestSuiteId is a required field + TestSuiteId *string `locationName:"testSuiteId" type:"string" required:"true"` + + // The test suite version of the test run summary. + // + // TestSuiteVersion is a required field + TestSuiteVersion *int64 `locationName:"testSuiteVersion" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestRunSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestRunSummary) GoString() string { + return s.String() +} + +// SetRunEndTime sets the RunEndTime field's value. +func (s *TestRunSummary) SetRunEndTime(v time.Time) *TestRunSummary { + s.RunEndTime = &v + return s +} + +// SetRunStartTime sets the RunStartTime field's value. +func (s *TestRunSummary) SetRunStartTime(v time.Time) *TestRunSummary { + s.RunStartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *TestRunSummary) SetStatus(v string) *TestRunSummary { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *TestRunSummary) SetStatusReason(v string) *TestRunSummary { + s.StatusReason = &v + return s +} + +// SetTestConfigurationId sets the TestConfigurationId field's value. +func (s *TestRunSummary) SetTestConfigurationId(v string) *TestRunSummary { + s.TestConfigurationId = &v + return s +} + +// SetTestConfigurationVersion sets the TestConfigurationVersion field's value. +func (s *TestRunSummary) SetTestConfigurationVersion(v int64) *TestRunSummary { + s.TestConfigurationVersion = &v + return s +} + +// SetTestRunArn sets the TestRunArn field's value. +func (s *TestRunSummary) SetTestRunArn(v string) *TestRunSummary { + s.TestRunArn = &v + return s +} + +// SetTestRunId sets the TestRunId field's value. +func (s *TestRunSummary) SetTestRunId(v string) *TestRunSummary { + s.TestRunId = &v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *TestRunSummary) SetTestSuiteId(v string) *TestRunSummary { + s.TestSuiteId = &v + return s +} + +// SetTestSuiteVersion sets the TestSuiteVersion field's value. +func (s *TestRunSummary) SetTestSuiteVersion(v int64) *TestRunSummary { + s.TestSuiteVersion = &v + return s +} + +// Specifies the latest version of a test suite. +type TestSuiteLatestVersion struct { + _ struct{} `type:"structure"` + + // The status of the test suite latest version. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestSuiteLifecycle"` + + // The status reason of the test suite latest version. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The version of the test suite latest version. + // + // Version is a required field + Version *int64 `locationName:"version" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestSuiteLatestVersion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestSuiteLatestVersion) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *TestSuiteLatestVersion) SetStatus(v string) *TestSuiteLatestVersion { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *TestSuiteLatestVersion) SetStatusReason(v string) *TestSuiteLatestVersion { + s.StatusReason = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *TestSuiteLatestVersion) SetVersion(v int64) *TestSuiteLatestVersion { + s.Version = &v + return s +} + +// Specifies the test suite summary. +type TestSuiteSummary struct { + _ struct{} `type:"structure"` + + // The creation time of the test suite summary. + // + // CreationTime is a required field + CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"` + + // The last update time of the test suite summary. + // + // LastUpdateTime is a required field + LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp" required:"true"` + + // The latest version of the test suite summary. + // + // LatestVersion is a required field + LatestVersion *int64 `locationName:"latestVersion" type:"integer" required:"true"` + + // The name of the test suite summary. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The status of the test suite summary. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"TestSuiteLifecycle"` + + // The status reason of the test suite summary. + StatusReason *string `locationName:"statusReason" type:"string"` + + // The test suite Amazon Resource Name (ARN) of the test suite summary. + // + // TestSuiteArn is a required field + TestSuiteArn *string `locationName:"testSuiteArn" type:"string" required:"true"` + + // The test suite ID of the test suite summary. + // + // TestSuiteId is a required field + TestSuiteId *string `locationName:"testSuiteId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestSuiteSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestSuiteSummary) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *TestSuiteSummary) SetCreationTime(v time.Time) *TestSuiteSummary { + s.CreationTime = &v + return s +} + +// SetLastUpdateTime sets the LastUpdateTime field's value. +func (s *TestSuiteSummary) SetLastUpdateTime(v time.Time) *TestSuiteSummary { + s.LastUpdateTime = &v + return s +} + +// SetLatestVersion sets the LatestVersion field's value. +func (s *TestSuiteSummary) SetLatestVersion(v int64) *TestSuiteSummary { + s.LatestVersion = &v + return s +} + +// SetName sets the Name field's value. +func (s *TestSuiteSummary) SetName(v string) *TestSuiteSummary { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *TestSuiteSummary) SetStatus(v string) *TestSuiteSummary { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *TestSuiteSummary) SetStatusReason(v string) *TestSuiteSummary { + s.StatusReason = &v + return s +} + +// SetTestSuiteArn sets the TestSuiteArn field's value. +func (s *TestSuiteSummary) SetTestSuiteArn(v string) *TestSuiteSummary { + s.TestSuiteArn = &v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *TestSuiteSummary) SetTestSuiteId(v string) *TestSuiteSummary { + s.TestSuiteId = &v + return s +} + +// The number of requests made exceeds the limit. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The quota code of requests that exceed the limit. + QuotaCode *string `locationName:"quotaCode" type:"string"` + + // The number of seconds to retry after for requests that exceed the limit. + RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` + + // The service code of requests that exceed the limit. + ServiceCode *string `locationName:"serviceCode" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +type UntagResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Resource Name (ARN) of the resource. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + + // The tag keys of the resource. + // + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v + return s +} + +type UntagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceOutput) GoString() string { + return s.String() +} + +type UpdateTestCaseInput struct { + _ struct{} `type:"structure"` + + // The description of the test case. + Description *string `locationName:"description" type:"string"` + + // The steps of the test case. + Steps []*Step `locationName:"steps" min:"1" type:"list"` + + // The test case ID of the test case. + // + // TestCaseId is a required field + TestCaseId *string `location:"uri" locationName:"testCaseId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestCaseInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestCaseInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateTestCaseInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateTestCaseInput"} + if s.Steps != nil && len(s.Steps) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Steps", 1)) + } + if s.TestCaseId == nil { + invalidParams.Add(request.NewErrParamRequired("TestCaseId")) + } + if s.TestCaseId != nil && len(*s.TestCaseId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestCaseId", 1)) + } + if s.Steps != nil { + for i, v := range s.Steps { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Steps", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateTestCaseInput) SetDescription(v string) *UpdateTestCaseInput { + s.Description = &v + return s +} + +// SetSteps sets the Steps field's value. +func (s *UpdateTestCaseInput) SetSteps(v []*Step) *UpdateTestCaseInput { + s.Steps = v + return s +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *UpdateTestCaseInput) SetTestCaseId(v string) *UpdateTestCaseInput { + s.TestCaseId = &v + return s +} + +type UpdateTestCaseOutput struct { + _ struct{} `type:"structure"` + + // The test case ID of the test case. + // + // TestCaseId is a required field + TestCaseId *string `locationName:"testCaseId" type:"string" required:"true"` + + // The test case version of the test case. + // + // TestCaseVersion is a required field + TestCaseVersion *int64 `locationName:"testCaseVersion" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestCaseOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestCaseOutput) GoString() string { + return s.String() +} + +// SetTestCaseId sets the TestCaseId field's value. +func (s *UpdateTestCaseOutput) SetTestCaseId(v string) *UpdateTestCaseOutput { + s.TestCaseId = &v + return s +} + +// SetTestCaseVersion sets the TestCaseVersion field's value. +func (s *UpdateTestCaseOutput) SetTestCaseVersion(v int64) *UpdateTestCaseOutput { + s.TestCaseVersion = &v + return s +} + +type UpdateTestConfigurationInput struct { + _ struct{} `type:"structure"` + + // The description of the test configuration. + Description *string `locationName:"description" type:"string"` + + // The properties of the test configuration. + Properties map[string]*string `locationName:"properties" type:"map"` + + // The resources of the test configuration. + Resources []*Resource `locationName:"resources" min:"1" type:"list"` + + // The service settings of the test configuration. + ServiceSettings *ServiceSettings `locationName:"serviceSettings" type:"structure"` + + // The test configuration ID of the test configuration. + // + // TestConfigurationId is a required field + TestConfigurationId *string `location:"uri" locationName:"testConfigurationId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateTestConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateTestConfigurationInput"} + if s.Resources != nil && len(s.Resources) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Resources", 1)) + } + if s.TestConfigurationId == nil { + invalidParams.Add(request.NewErrParamRequired("TestConfigurationId")) + } + if s.TestConfigurationId != nil && len(*s.TestConfigurationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestConfigurationId", 1)) + } + if s.Resources != nil { + for i, v := range s.Resources { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Resources", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateTestConfigurationInput) SetDescription(v string) *UpdateTestConfigurationInput { + s.Description = &v + return s +} + +// SetProperties sets the Properties field's value. +func (s *UpdateTestConfigurationInput) SetProperties(v map[string]*string) *UpdateTestConfigurationInput { + s.Properties = v + return s +} + +// SetResources sets the Resources field's value. +func (s *UpdateTestConfigurationInput) SetResources(v []*Resource) *UpdateTestConfigurationInput { + s.Resources = v + return s +} + +// SetServiceSettings sets the ServiceSettings field's value. +func (s *UpdateTestConfigurationInput) SetServiceSettings(v *ServiceSettings) *UpdateTestConfigurationInput { + s.ServiceSettings = v + return s +} + +// SetTestConfigurationId sets the TestConfigurationId field's value. +func (s *UpdateTestConfigurationInput) SetTestConfigurationId(v string) *UpdateTestConfigurationInput { + s.TestConfigurationId = &v + return s +} + +type UpdateTestConfigurationOutput struct { + _ struct{} `type:"structure"` + + // The configuration ID of the test configuration. + // + // TestConfigurationId is a required field + TestConfigurationId *string `locationName:"testConfigurationId" type:"string" required:"true"` + + // The configuration version of the test configuration. + // + // TestConfigurationVersion is a required field + TestConfigurationVersion *int64 `locationName:"testConfigurationVersion" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestConfigurationOutput) GoString() string { + return s.String() +} + +// SetTestConfigurationId sets the TestConfigurationId field's value. +func (s *UpdateTestConfigurationOutput) SetTestConfigurationId(v string) *UpdateTestConfigurationOutput { + s.TestConfigurationId = &v + return s +} + +// SetTestConfigurationVersion sets the TestConfigurationVersion field's value. +func (s *UpdateTestConfigurationOutput) SetTestConfigurationVersion(v int64) *UpdateTestConfigurationOutput { + s.TestConfigurationVersion = &v + return s +} + +type UpdateTestSuiteInput struct { + _ struct{} `type:"structure"` + + // The after steps of the test suite. + AfterSteps []*Step `locationName:"afterSteps" min:"1" type:"list"` + + // The before steps for the test suite. + BeforeSteps []*Step `locationName:"beforeSteps" min:"1" type:"list"` + + // The description of the test suite. + Description *string `locationName:"description" type:"string"` + + // The test cases in the test suite. + TestCases *TestCases `locationName:"testCases" type:"structure"` + + // The test suite ID of the test suite. + // + // TestSuiteId is a required field + TestSuiteId *string `location:"uri" locationName:"testSuiteId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestSuiteInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestSuiteInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateTestSuiteInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateTestSuiteInput"} + if s.AfterSteps != nil && len(s.AfterSteps) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AfterSteps", 1)) + } + if s.BeforeSteps != nil && len(s.BeforeSteps) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BeforeSteps", 1)) + } + if s.TestSuiteId == nil { + invalidParams.Add(request.NewErrParamRequired("TestSuiteId")) + } + if s.TestSuiteId != nil && len(*s.TestSuiteId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TestSuiteId", 1)) + } + if s.AfterSteps != nil { + for i, v := range s.AfterSteps { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AfterSteps", i), err.(request.ErrInvalidParams)) + } + } + } + if s.BeforeSteps != nil { + for i, v := range s.BeforeSteps { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BeforeSteps", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAfterSteps sets the AfterSteps field's value. +func (s *UpdateTestSuiteInput) SetAfterSteps(v []*Step) *UpdateTestSuiteInput { + s.AfterSteps = v + return s +} + +// SetBeforeSteps sets the BeforeSteps field's value. +func (s *UpdateTestSuiteInput) SetBeforeSteps(v []*Step) *UpdateTestSuiteInput { + s.BeforeSteps = v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateTestSuiteInput) SetDescription(v string) *UpdateTestSuiteInput { + s.Description = &v + return s +} + +// SetTestCases sets the TestCases field's value. +func (s *UpdateTestSuiteInput) SetTestCases(v *TestCases) *UpdateTestSuiteInput { + s.TestCases = v + return s +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *UpdateTestSuiteInput) SetTestSuiteId(v string) *UpdateTestSuiteInput { + s.TestSuiteId = &v + return s +} + +type UpdateTestSuiteOutput struct { + _ struct{} `type:"structure"` + + // The test suite ID of the test suite. + // + // TestSuiteId is a required field + TestSuiteId *string `locationName:"testSuiteId" type:"string" required:"true"` + + // The test suite version of the test suite. + TestSuiteVersion *int64 `locationName:"testSuiteVersion" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestSuiteOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateTestSuiteOutput) GoString() string { + return s.String() +} + +// SetTestSuiteId sets the TestSuiteId field's value. +func (s *UpdateTestSuiteOutput) SetTestSuiteId(v string) *UpdateTestSuiteOutput { + s.TestSuiteId = &v + return s +} + +// SetTestSuiteVersion sets the TestSuiteVersion field's value. +func (s *UpdateTestSuiteOutput) SetTestSuiteVersion(v int64) *UpdateTestSuiteOutput { + s.TestSuiteVersion = &v + return s +} + +// One or more parameter provided in the request is not valid. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The field list of the validation exception. + FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"` + + Message_ *string `locationName:"message" type:"string"` + + // The reason for the validation exception. + Reason *string `locationName:"reason" type:"string" enum:"ValidationExceptionReason"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Specifies a validation exception field. +type ValidationExceptionField struct { + _ struct{} `type:"structure"` + + // The message stating reason for why service validation failed. + // + // Message is a required field + Message *string `locationName:"message" type:"string" required:"true"` + + // The name of the validation exception field. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationExceptionField) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationExceptionField) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField { + s.Message = &v + return s +} + +// SetName sets the Name field's value. +func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField { + s.Name = &v + return s +} + +const ( + // CaptureToolPrecisely is a CaptureTool enum value + CaptureToolPrecisely = "Precisely" + + // CaptureToolAwsdms is a CaptureTool enum value + CaptureToolAwsdms = "AWS DMS" +) + +// CaptureTool_Values returns all elements of the CaptureTool enum +func CaptureTool_Values() []string { + return []string{ + CaptureToolPrecisely, + CaptureToolAwsdms, + } +} + +const ( + // CloudFormationActionTypeCreate is a CloudFormationActionType enum value + CloudFormationActionTypeCreate = "Create" + + // CloudFormationActionTypeDelete is a CloudFormationActionType enum value + CloudFormationActionTypeDelete = "Delete" +) + +// CloudFormationActionType_Values returns all elements of the CloudFormationActionType enum +func CloudFormationActionType_Values() []string { + return []string{ + CloudFormationActionTypeCreate, + CloudFormationActionTypeDelete, + } +} + +const ( + // ComparisonStatusEnumDifferent is a ComparisonStatusEnum enum value + ComparisonStatusEnumDifferent = "Different" + + // ComparisonStatusEnumEquivalent is a ComparisonStatusEnum enum value + ComparisonStatusEnumEquivalent = "Equivalent" + + // ComparisonStatusEnumEqual is a ComparisonStatusEnum enum value + ComparisonStatusEnumEqual = "Equal" +) + +// ComparisonStatusEnum_Values returns all elements of the ComparisonStatusEnum enum +func ComparisonStatusEnum_Values() []string { + return []string{ + ComparisonStatusEnumDifferent, + ComparisonStatusEnumEquivalent, + ComparisonStatusEnumEqual, + } +} + +const ( + // DataSetTypePs is a DataSetType enum value + DataSetTypePs = "PS" +) + +// DataSetType_Values returns all elements of the DataSetType enum +func DataSetType_Values() []string { + return []string{ + DataSetTypePs, + } +} + +const ( + // FormatFixed is a Format enum value + FormatFixed = "FIXED" + + // FormatVariable is a Format enum value + FormatVariable = "VARIABLE" + + // FormatLineSequential is a Format enum value + FormatLineSequential = "LINE_SEQUENTIAL" +) + +// Format_Values returns all elements of the Format enum +func Format_Values() []string { + return []string{ + FormatFixed, + FormatVariable, + FormatLineSequential, + } +} + +const ( + // M2ManagedActionTypeConfigure is a M2ManagedActionType enum value + M2ManagedActionTypeConfigure = "Configure" + + // M2ManagedActionTypeDeconfigure is a M2ManagedActionType enum value + M2ManagedActionTypeDeconfigure = "Deconfigure" +) + +// M2ManagedActionType_Values returns all elements of the M2ManagedActionType enum +func M2ManagedActionType_Values() []string { + return []string{ + M2ManagedActionTypeConfigure, + M2ManagedActionTypeDeconfigure, + } +} + +const ( + // M2ManagedRuntimeMicroFocus is a M2ManagedRuntime enum value + M2ManagedRuntimeMicroFocus = "MicroFocus" +) + +// M2ManagedRuntime_Values returns all elements of the M2ManagedRuntime enum +func M2ManagedRuntime_Values() []string { + return []string{ + M2ManagedRuntimeMicroFocus, + } +} + +const ( + // M2NonManagedActionTypeConfigure is a M2NonManagedActionType enum value + M2NonManagedActionTypeConfigure = "Configure" + + // M2NonManagedActionTypeDeconfigure is a M2NonManagedActionType enum value + M2NonManagedActionTypeDeconfigure = "Deconfigure" +) + +// M2NonManagedActionType_Values returns all elements of the M2NonManagedActionType enum +func M2NonManagedActionType_Values() []string { + return []string{ + M2NonManagedActionTypeConfigure, + M2NonManagedActionTypeDeconfigure, + } +} + +const ( + // M2NonManagedRuntimeBluAge is a M2NonManagedRuntime enum value + M2NonManagedRuntimeBluAge = "BluAge" +) + +// M2NonManagedRuntime_Values returns all elements of the M2NonManagedRuntime enum +func M2NonManagedRuntime_Values() []string { + return []string{ + M2NonManagedRuntimeBluAge, + } +} + +const ( + // ScriptTypeSelenium is a ScriptType enum value + ScriptTypeSelenium = "Selenium" +) + +// ScriptType_Values returns all elements of the ScriptType enum +func ScriptType_Values() []string { + return []string{ + ScriptTypeSelenium, + } +} + +const ( + // SourceDatabaseZOsDb2 is a SourceDatabase enum value + SourceDatabaseZOsDb2 = "z/OS-DB2" +) + +// SourceDatabase_Values returns all elements of the SourceDatabase enum +func SourceDatabase_Values() []string { + return []string{ + SourceDatabaseZOsDb2, + } +} + +const ( + // StepRunStatusSuccess is a StepRunStatus enum value + StepRunStatusSuccess = "Success" + + // StepRunStatusFailed is a StepRunStatus enum value + StepRunStatusFailed = "Failed" + + // StepRunStatusRunning is a StepRunStatus enum value + StepRunStatusRunning = "Running" +) + +// StepRunStatus_Values returns all elements of the StepRunStatus enum +func StepRunStatus_Values() []string { + return []string{ + StepRunStatusSuccess, + StepRunStatusFailed, + StepRunStatusRunning, + } +} + +const ( + // TargetDatabasePostgreSql is a TargetDatabase enum value + TargetDatabasePostgreSql = "PostgreSQL" +) + +// TargetDatabase_Values returns all elements of the TargetDatabase enum +func TargetDatabase_Values() []string { + return []string{ + TargetDatabasePostgreSql, + } +} + +const ( + // TestCaseLifecycleActive is a TestCaseLifecycle enum value + TestCaseLifecycleActive = "Active" + + // TestCaseLifecycleDeleting is a TestCaseLifecycle enum value + TestCaseLifecycleDeleting = "Deleting" +) + +// TestCaseLifecycle_Values returns all elements of the TestCaseLifecycle enum +func TestCaseLifecycle_Values() []string { + return []string{ + TestCaseLifecycleActive, + TestCaseLifecycleDeleting, + } +} + +const ( + // TestCaseRunStatusSuccess is a TestCaseRunStatus enum value + TestCaseRunStatusSuccess = "Success" + + // TestCaseRunStatusRunning is a TestCaseRunStatus enum value + TestCaseRunStatusRunning = "Running" + + // TestCaseRunStatusFailed is a TestCaseRunStatus enum value + TestCaseRunStatusFailed = "Failed" +) + +// TestCaseRunStatus_Values returns all elements of the TestCaseRunStatus enum +func TestCaseRunStatus_Values() []string { + return []string{ + TestCaseRunStatusSuccess, + TestCaseRunStatusRunning, + TestCaseRunStatusFailed, + } +} + +const ( + // TestConfigurationLifecycleActive is a TestConfigurationLifecycle enum value + TestConfigurationLifecycleActive = "Active" + + // TestConfigurationLifecycleDeleting is a TestConfigurationLifecycle enum value + TestConfigurationLifecycleDeleting = "Deleting" +) + +// TestConfigurationLifecycle_Values returns all elements of the TestConfigurationLifecycle enum +func TestConfigurationLifecycle_Values() []string { + return []string{ + TestConfigurationLifecycleActive, + TestConfigurationLifecycleDeleting, + } +} + +const ( + // TestRunStatusSuccess is a TestRunStatus enum value + TestRunStatusSuccess = "Success" + + // TestRunStatusRunning is a TestRunStatus enum value + TestRunStatusRunning = "Running" + + // TestRunStatusFailed is a TestRunStatus enum value + TestRunStatusFailed = "Failed" + + // TestRunStatusDeleting is a TestRunStatus enum value + TestRunStatusDeleting = "Deleting" +) + +// TestRunStatus_Values returns all elements of the TestRunStatus enum +func TestRunStatus_Values() []string { + return []string{ + TestRunStatusSuccess, + TestRunStatusRunning, + TestRunStatusFailed, + TestRunStatusDeleting, + } +} + +const ( + // TestSuiteLifecycleCreating is a TestSuiteLifecycle enum value + TestSuiteLifecycleCreating = "Creating" + + // TestSuiteLifecycleUpdating is a TestSuiteLifecycle enum value + TestSuiteLifecycleUpdating = "Updating" + + // TestSuiteLifecycleActive is a TestSuiteLifecycle enum value + TestSuiteLifecycleActive = "Active" + + // TestSuiteLifecycleFailed is a TestSuiteLifecycle enum value + TestSuiteLifecycleFailed = "Failed" + + // TestSuiteLifecycleDeleting is a TestSuiteLifecycle enum value + TestSuiteLifecycleDeleting = "Deleting" +) + +// TestSuiteLifecycle_Values returns all elements of the TestSuiteLifecycle enum +func TestSuiteLifecycle_Values() []string { + return []string{ + TestSuiteLifecycleCreating, + TestSuiteLifecycleUpdating, + TestSuiteLifecycleActive, + TestSuiteLifecycleFailed, + TestSuiteLifecycleDeleting, + } +} + +const ( + // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value + ValidationExceptionReasonUnknownOperation = "unknownOperation" + + // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value + ValidationExceptionReasonCannotParse = "cannotParse" + + // ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value + ValidationExceptionReasonFieldValidationFailed = "fieldValidationFailed" + + // ValidationExceptionReasonOther is a ValidationExceptionReason enum value + ValidationExceptionReasonOther = "other" +) + +// ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum +func ValidationExceptionReason_Values() []string { + return []string{ + ValidationExceptionReasonUnknownOperation, + ValidationExceptionReasonCannotParse, + ValidationExceptionReasonFieldValidationFailed, + ValidationExceptionReasonOther, + } +} diff --git a/service/apptest/apptestiface/interface.go b/service/apptest/apptestiface/interface.go new file mode 100644 index 00000000000..8bfc113b67d --- /dev/null +++ b/service/apptest/apptestiface/interface.go @@ -0,0 +1,178 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package apptestiface provides an interface to enable mocking the AWS Mainframe Modernization Application Testing service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package apptestiface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/apptest" +) + +// AppTestAPI provides an interface to enable mocking the +// apptest.AppTest service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // AWS Mainframe Modernization Application Testing. +// func myFunc(svc apptestiface.AppTestAPI) bool { +// // Make svc.CreateTestCase request +// } +// +// func main() { +// sess := session.New() +// svc := apptest.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppTestClient struct { +// apptestiface.AppTestAPI +// } +// func (m *mockAppTestClient) CreateTestCase(input *apptest.CreateTestCaseInput) (*apptest.CreateTestCaseOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppTestClient{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type AppTestAPI interface { + CreateTestCase(*apptest.CreateTestCaseInput) (*apptest.CreateTestCaseOutput, error) + CreateTestCaseWithContext(aws.Context, *apptest.CreateTestCaseInput, ...request.Option) (*apptest.CreateTestCaseOutput, error) + CreateTestCaseRequest(*apptest.CreateTestCaseInput) (*request.Request, *apptest.CreateTestCaseOutput) + + CreateTestConfiguration(*apptest.CreateTestConfigurationInput) (*apptest.CreateTestConfigurationOutput, error) + CreateTestConfigurationWithContext(aws.Context, *apptest.CreateTestConfigurationInput, ...request.Option) (*apptest.CreateTestConfigurationOutput, error) + CreateTestConfigurationRequest(*apptest.CreateTestConfigurationInput) (*request.Request, *apptest.CreateTestConfigurationOutput) + + CreateTestSuite(*apptest.CreateTestSuiteInput) (*apptest.CreateTestSuiteOutput, error) + CreateTestSuiteWithContext(aws.Context, *apptest.CreateTestSuiteInput, ...request.Option) (*apptest.CreateTestSuiteOutput, error) + CreateTestSuiteRequest(*apptest.CreateTestSuiteInput) (*request.Request, *apptest.CreateTestSuiteOutput) + + DeleteTestCase(*apptest.DeleteTestCaseInput) (*apptest.DeleteTestCaseOutput, error) + DeleteTestCaseWithContext(aws.Context, *apptest.DeleteTestCaseInput, ...request.Option) (*apptest.DeleteTestCaseOutput, error) + DeleteTestCaseRequest(*apptest.DeleteTestCaseInput) (*request.Request, *apptest.DeleteTestCaseOutput) + + DeleteTestConfiguration(*apptest.DeleteTestConfigurationInput) (*apptest.DeleteTestConfigurationOutput, error) + DeleteTestConfigurationWithContext(aws.Context, *apptest.DeleteTestConfigurationInput, ...request.Option) (*apptest.DeleteTestConfigurationOutput, error) + DeleteTestConfigurationRequest(*apptest.DeleteTestConfigurationInput) (*request.Request, *apptest.DeleteTestConfigurationOutput) + + DeleteTestRun(*apptest.DeleteTestRunInput) (*apptest.DeleteTestRunOutput, error) + DeleteTestRunWithContext(aws.Context, *apptest.DeleteTestRunInput, ...request.Option) (*apptest.DeleteTestRunOutput, error) + DeleteTestRunRequest(*apptest.DeleteTestRunInput) (*request.Request, *apptest.DeleteTestRunOutput) + + DeleteTestSuite(*apptest.DeleteTestSuiteInput) (*apptest.DeleteTestSuiteOutput, error) + DeleteTestSuiteWithContext(aws.Context, *apptest.DeleteTestSuiteInput, ...request.Option) (*apptest.DeleteTestSuiteOutput, error) + DeleteTestSuiteRequest(*apptest.DeleteTestSuiteInput) (*request.Request, *apptest.DeleteTestSuiteOutput) + + GetTestCase(*apptest.GetTestCaseInput) (*apptest.GetTestCaseOutput, error) + GetTestCaseWithContext(aws.Context, *apptest.GetTestCaseInput, ...request.Option) (*apptest.GetTestCaseOutput, error) + GetTestCaseRequest(*apptest.GetTestCaseInput) (*request.Request, *apptest.GetTestCaseOutput) + + GetTestConfiguration(*apptest.GetTestConfigurationInput) (*apptest.GetTestConfigurationOutput, error) + GetTestConfigurationWithContext(aws.Context, *apptest.GetTestConfigurationInput, ...request.Option) (*apptest.GetTestConfigurationOutput, error) + GetTestConfigurationRequest(*apptest.GetTestConfigurationInput) (*request.Request, *apptest.GetTestConfigurationOutput) + + GetTestRunStep(*apptest.GetTestRunStepInput) (*apptest.GetTestRunStepOutput, error) + GetTestRunStepWithContext(aws.Context, *apptest.GetTestRunStepInput, ...request.Option) (*apptest.GetTestRunStepOutput, error) + GetTestRunStepRequest(*apptest.GetTestRunStepInput) (*request.Request, *apptest.GetTestRunStepOutput) + + GetTestSuite(*apptest.GetTestSuiteInput) (*apptest.GetTestSuiteOutput, error) + GetTestSuiteWithContext(aws.Context, *apptest.GetTestSuiteInput, ...request.Option) (*apptest.GetTestSuiteOutput, error) + GetTestSuiteRequest(*apptest.GetTestSuiteInput) (*request.Request, *apptest.GetTestSuiteOutput) + + ListTagsForResource(*apptest.ListTagsForResourceInput) (*apptest.ListTagsForResourceOutput, error) + ListTagsForResourceWithContext(aws.Context, *apptest.ListTagsForResourceInput, ...request.Option) (*apptest.ListTagsForResourceOutput, error) + ListTagsForResourceRequest(*apptest.ListTagsForResourceInput) (*request.Request, *apptest.ListTagsForResourceOutput) + + ListTestCases(*apptest.ListTestCasesInput) (*apptest.ListTestCasesOutput, error) + ListTestCasesWithContext(aws.Context, *apptest.ListTestCasesInput, ...request.Option) (*apptest.ListTestCasesOutput, error) + ListTestCasesRequest(*apptest.ListTestCasesInput) (*request.Request, *apptest.ListTestCasesOutput) + + ListTestCasesPages(*apptest.ListTestCasesInput, func(*apptest.ListTestCasesOutput, bool) bool) error + ListTestCasesPagesWithContext(aws.Context, *apptest.ListTestCasesInput, func(*apptest.ListTestCasesOutput, bool) bool, ...request.Option) error + + ListTestConfigurations(*apptest.ListTestConfigurationsInput) (*apptest.ListTestConfigurationsOutput, error) + ListTestConfigurationsWithContext(aws.Context, *apptest.ListTestConfigurationsInput, ...request.Option) (*apptest.ListTestConfigurationsOutput, error) + ListTestConfigurationsRequest(*apptest.ListTestConfigurationsInput) (*request.Request, *apptest.ListTestConfigurationsOutput) + + ListTestConfigurationsPages(*apptest.ListTestConfigurationsInput, func(*apptest.ListTestConfigurationsOutput, bool) bool) error + ListTestConfigurationsPagesWithContext(aws.Context, *apptest.ListTestConfigurationsInput, func(*apptest.ListTestConfigurationsOutput, bool) bool, ...request.Option) error + + ListTestRunSteps(*apptest.ListTestRunStepsInput) (*apptest.ListTestRunStepsOutput, error) + ListTestRunStepsWithContext(aws.Context, *apptest.ListTestRunStepsInput, ...request.Option) (*apptest.ListTestRunStepsOutput, error) + ListTestRunStepsRequest(*apptest.ListTestRunStepsInput) (*request.Request, *apptest.ListTestRunStepsOutput) + + ListTestRunStepsPages(*apptest.ListTestRunStepsInput, func(*apptest.ListTestRunStepsOutput, bool) bool) error + ListTestRunStepsPagesWithContext(aws.Context, *apptest.ListTestRunStepsInput, func(*apptest.ListTestRunStepsOutput, bool) bool, ...request.Option) error + + ListTestRunTestCases(*apptest.ListTestRunTestCasesInput) (*apptest.ListTestRunTestCasesOutput, error) + ListTestRunTestCasesWithContext(aws.Context, *apptest.ListTestRunTestCasesInput, ...request.Option) (*apptest.ListTestRunTestCasesOutput, error) + ListTestRunTestCasesRequest(*apptest.ListTestRunTestCasesInput) (*request.Request, *apptest.ListTestRunTestCasesOutput) + + ListTestRunTestCasesPages(*apptest.ListTestRunTestCasesInput, func(*apptest.ListTestRunTestCasesOutput, bool) bool) error + ListTestRunTestCasesPagesWithContext(aws.Context, *apptest.ListTestRunTestCasesInput, func(*apptest.ListTestRunTestCasesOutput, bool) bool, ...request.Option) error + + ListTestRuns(*apptest.ListTestRunsInput) (*apptest.ListTestRunsOutput, error) + ListTestRunsWithContext(aws.Context, *apptest.ListTestRunsInput, ...request.Option) (*apptest.ListTestRunsOutput, error) + ListTestRunsRequest(*apptest.ListTestRunsInput) (*request.Request, *apptest.ListTestRunsOutput) + + ListTestRunsPages(*apptest.ListTestRunsInput, func(*apptest.ListTestRunsOutput, bool) bool) error + ListTestRunsPagesWithContext(aws.Context, *apptest.ListTestRunsInput, func(*apptest.ListTestRunsOutput, bool) bool, ...request.Option) error + + ListTestSuites(*apptest.ListTestSuitesInput) (*apptest.ListTestSuitesOutput, error) + ListTestSuitesWithContext(aws.Context, *apptest.ListTestSuitesInput, ...request.Option) (*apptest.ListTestSuitesOutput, error) + ListTestSuitesRequest(*apptest.ListTestSuitesInput) (*request.Request, *apptest.ListTestSuitesOutput) + + ListTestSuitesPages(*apptest.ListTestSuitesInput, func(*apptest.ListTestSuitesOutput, bool) bool) error + ListTestSuitesPagesWithContext(aws.Context, *apptest.ListTestSuitesInput, func(*apptest.ListTestSuitesOutput, bool) bool, ...request.Option) error + + StartTestRun(*apptest.StartTestRunInput) (*apptest.StartTestRunOutput, error) + StartTestRunWithContext(aws.Context, *apptest.StartTestRunInput, ...request.Option) (*apptest.StartTestRunOutput, error) + StartTestRunRequest(*apptest.StartTestRunInput) (*request.Request, *apptest.StartTestRunOutput) + + TagResource(*apptest.TagResourceInput) (*apptest.TagResourceOutput, error) + TagResourceWithContext(aws.Context, *apptest.TagResourceInput, ...request.Option) (*apptest.TagResourceOutput, error) + TagResourceRequest(*apptest.TagResourceInput) (*request.Request, *apptest.TagResourceOutput) + + UntagResource(*apptest.UntagResourceInput) (*apptest.UntagResourceOutput, error) + UntagResourceWithContext(aws.Context, *apptest.UntagResourceInput, ...request.Option) (*apptest.UntagResourceOutput, error) + UntagResourceRequest(*apptest.UntagResourceInput) (*request.Request, *apptest.UntagResourceOutput) + + UpdateTestCase(*apptest.UpdateTestCaseInput) (*apptest.UpdateTestCaseOutput, error) + UpdateTestCaseWithContext(aws.Context, *apptest.UpdateTestCaseInput, ...request.Option) (*apptest.UpdateTestCaseOutput, error) + UpdateTestCaseRequest(*apptest.UpdateTestCaseInput) (*request.Request, *apptest.UpdateTestCaseOutput) + + UpdateTestConfiguration(*apptest.UpdateTestConfigurationInput) (*apptest.UpdateTestConfigurationOutput, error) + UpdateTestConfigurationWithContext(aws.Context, *apptest.UpdateTestConfigurationInput, ...request.Option) (*apptest.UpdateTestConfigurationOutput, error) + UpdateTestConfigurationRequest(*apptest.UpdateTestConfigurationInput) (*request.Request, *apptest.UpdateTestConfigurationOutput) + + UpdateTestSuite(*apptest.UpdateTestSuiteInput) (*apptest.UpdateTestSuiteOutput, error) + UpdateTestSuiteWithContext(aws.Context, *apptest.UpdateTestSuiteInput, ...request.Option) (*apptest.UpdateTestSuiteOutput, error) + UpdateTestSuiteRequest(*apptest.UpdateTestSuiteInput) (*request.Request, *apptest.UpdateTestSuiteOutput) +} + +var _ AppTestAPI = (*apptest.AppTest)(nil) diff --git a/service/apptest/doc.go b/service/apptest/doc.go new file mode 100644 index 00000000000..68f66a578fc --- /dev/null +++ b/service/apptest/doc.go @@ -0,0 +1,29 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package apptest provides the client and types for making API +// requests to AWS Mainframe Modernization Application Testing. +// +// AWS Mainframe Modernization Application Testing provides tools and resources +// for automated functional equivalence testing for your migration projects. +// +// See https://docs.aws.amazon.com/goto/WebAPI/apptest-2022-12-06 for more information on this service. +// +// See apptest package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/apptest/ +// +// # Using the Client +// +// To contact AWS Mainframe Modernization Application Testing with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS Mainframe Modernization Application Testing client AppTest for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/apptest/#New +package apptest diff --git a/service/apptest/errors.go b/service/apptest/errors.go new file mode 100644 index 00000000000..95a4235610a --- /dev/null +++ b/service/apptest/errors.go @@ -0,0 +1,62 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package apptest + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // The account or role doesn't have the right permissions to make the request. + ErrCodeAccessDeniedException = "AccessDeniedException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // The parameters provided in the request conflict with existing resources. + ErrCodeConflictException = "ConflictException" + + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // An unexpected error occurred during the processing of the request. + ErrCodeInternalServerException = "InternalServerException" + + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // The specified resource was not found. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" + + // ErrCodeServiceQuotaExceededException for service response error code + // "ServiceQuotaExceededException". + // + // One or more quotas for AWS Application Testing exceeds the limit. + ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" + + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // The number of requests made exceeds the limit. + ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // One or more parameter provided in the request is not valid. + ErrCodeValidationException = "ValidationException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, + "ConflictException": newErrorConflictException, + "InternalServerException": newErrorInternalServerException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, + "ThrottlingException": newErrorThrottlingException, + "ValidationException": newErrorValidationException, +} diff --git a/service/apptest/service.go b/service/apptest/service.go new file mode 100644 index 00000000000..a5753fca788 --- /dev/null +++ b/service/apptest/service.go @@ -0,0 +1,106 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package apptest + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// AppTest provides the API operation methods for making requests to +// AWS Mainframe Modernization Application Testing. See this package's package overview docs +// for details on the service. +// +// AppTest methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type AppTest struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "AppTest" // Name of service. + EndpointsID = "apptest" // ID to lookup a service endpoint with. + ServiceID = "AppTest" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the AppTest client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// +// mySession := session.Must(session.NewSession()) +// +// // Create a AppTest client from just a session. +// svc := apptest.New(mySession) +// +// // Create a AppTest client with additional configuration +// svc := apptest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppTest { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "apptest" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *AppTest { + svc := &AppTest{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2022-12-06", + ResolvedRegion: resolvedRegion, + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a AppTest operation and runs any +// custom request initialization. +func (c *AppTest) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/ec2/api.go b/service/ec2/api.go index b4a4f846a33..2009482cb0b 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -31050,6 +31050,79 @@ func (c *EC2) DescribeTagsPagesWithContext(ctx aws.Context, input *DescribeTagsI return p.Err() } +const opDescribeTrafficMirrorFilterRules = "DescribeTrafficMirrorFilterRules" + +// DescribeTrafficMirrorFilterRulesRequest generates a "aws/request.Request" representing the +// client's request for the DescribeTrafficMirrorFilterRules operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeTrafficMirrorFilterRules for more information on using the DescribeTrafficMirrorFilterRules +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeTrafficMirrorFilterRulesRequest method. +// req, resp := client.DescribeTrafficMirrorFilterRulesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorFilterRules +func (c *EC2) DescribeTrafficMirrorFilterRulesRequest(input *DescribeTrafficMirrorFilterRulesInput) (req *request.Request, output *DescribeTrafficMirrorFilterRulesOutput) { + op := &request.Operation{ + Name: opDescribeTrafficMirrorFilterRules, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeTrafficMirrorFilterRulesInput{} + } + + output = &DescribeTrafficMirrorFilterRulesOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeTrafficMirrorFilterRules API operation for Amazon Elastic Compute Cloud. +// +// Describe traffic mirror filters that determine the traffic that is mirrored. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeTrafficMirrorFilterRules for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorFilterRules +func (c *EC2) DescribeTrafficMirrorFilterRules(input *DescribeTrafficMirrorFilterRulesInput) (*DescribeTrafficMirrorFilterRulesOutput, error) { + req, out := c.DescribeTrafficMirrorFilterRulesRequest(input) + return out, req.Send() +} + +// DescribeTrafficMirrorFilterRulesWithContext is the same as DescribeTrafficMirrorFilterRules with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeTrafficMirrorFilterRules for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeTrafficMirrorFilterRulesWithContext(ctx aws.Context, input *DescribeTrafficMirrorFilterRulesInput, opts ...request.Option) (*DescribeTrafficMirrorFilterRulesOutput, error) { + req, out := c.DescribeTrafficMirrorFilterRulesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeTrafficMirrorFilters = "DescribeTrafficMirrorFilters" // DescribeTrafficMirrorFiltersRequest generates a "aws/request.Request" representing the @@ -78671,7 +78744,7 @@ type CreateTrafficMirrorFilterInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror filter. @@ -78733,7 +78806,7 @@ type CreateTrafficMirrorFilterOutput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Information about the Traffic Mirror filter. @@ -78774,7 +78847,7 @@ type CreateTrafficMirrorFilterRuleInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror rule. @@ -78820,6 +78893,9 @@ type CreateTrafficMirrorFilterRuleInput struct { // The source port range. SourcePortRange *TrafficMirrorPortRangeRequest `type:"structure"` + // Traffic Mirroring tags specifications. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` + // The type of traffic. // // TrafficDirection is a required field @@ -78937,6 +79013,12 @@ func (s *CreateTrafficMirrorFilterRuleInput) SetSourcePortRange(v *TrafficMirror return s } +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *CreateTrafficMirrorFilterRuleInput) SetTagSpecifications(v []*TagSpecification) *CreateTrafficMirrorFilterRuleInput { + s.TagSpecifications = v + return s +} + // SetTrafficDirection sets the TrafficDirection field's value. func (s *CreateTrafficMirrorFilterRuleInput) SetTrafficDirection(v string) *CreateTrafficMirrorFilterRuleInput { s.TrafficDirection = &v @@ -78953,7 +79035,7 @@ type CreateTrafficMirrorFilterRuleOutput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // The Traffic Mirror rule. @@ -78994,7 +79076,7 @@ type CreateTrafficMirrorSessionInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror session. @@ -79048,9 +79130,9 @@ type CreateTrafficMirrorSessionInput struct { TrafficMirrorTargetId *string `type:"string" required:"true"` // The VXLAN ID for the Traffic Mirror session. For more information about the - // VXLAN protocol, see RFC 7348 (https://tools.ietf.org/html/rfc7348). If you - // do not specify a VirtualNetworkId, an account-wide unique id is chosen at - // random. + // VXLAN protocol, see RFC 7348 (https://datatracker.ietf.org/doc/html/rfc7348). + // If you do not specify a VirtualNetworkId, an account-wide unique ID is chosen + // at random. VirtualNetworkId *int64 `type:"integer"` } @@ -79158,7 +79240,7 @@ type CreateTrafficMirrorSessionOutput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Information about the Traffic Mirror session. @@ -79199,7 +79281,7 @@ type CreateTrafficMirrorTargetInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror target. @@ -79289,7 +79371,7 @@ type CreateTrafficMirrorTargetOutput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Information about the Traffic Mirror target. @@ -108277,6 +108359,164 @@ func (s *DescribeTagsOutput) SetTags(v []*TagDescription) *DescribeTagsOutput { return s } +type DescribeTrafficMirrorFilterRulesInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // Traffic mirror filters. + // + // * traffic-mirror-filter-rule-id: The ID of the Traffic Mirror rule. + // + // * traffic-mirror-filter-id: The ID of the filter that this rule is associated + // with. + // + // * rule-number: The number of the Traffic Mirror rule. + // + // * rule-action: The action taken on the filtered traffic. Possible actions + // are accept and reject. + // + // * traffic-direction: The traffic direction. Possible directions are ingress + // and egress. + // + // * protocol: The protocol, for example UDP, assigned to the Traffic Mirror + // rule. + // + // * source-cidr-block: The source CIDR block assigned to the Traffic Mirror + // rule. + // + // * destination-cidr-block: The destination CIDR block assigned to the Traffic + // Mirror rule. + // + // * description: The description of the Traffic Mirror rule. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"5" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // Traffic filter ID. + TrafficMirrorFilterId *string `type:"string"` + + // Traffic filter rule IDs. + TrafficMirrorFilterRuleIds []*string `locationName:"TrafficMirrorFilterRuleId" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeTrafficMirrorFilterRulesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeTrafficMirrorFilterRulesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeTrafficMirrorFilterRulesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeTrafficMirrorFilterRulesInput"} + if s.MaxResults != nil && *s.MaxResults < 5 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeTrafficMirrorFilterRulesInput) SetDryRun(v bool) *DescribeTrafficMirrorFilterRulesInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeTrafficMirrorFilterRulesInput) SetFilters(v []*Filter) *DescribeTrafficMirrorFilterRulesInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeTrafficMirrorFilterRulesInput) SetMaxResults(v int64) *DescribeTrafficMirrorFilterRulesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeTrafficMirrorFilterRulesInput) SetNextToken(v string) *DescribeTrafficMirrorFilterRulesInput { + s.NextToken = &v + return s +} + +// SetTrafficMirrorFilterId sets the TrafficMirrorFilterId field's value. +func (s *DescribeTrafficMirrorFilterRulesInput) SetTrafficMirrorFilterId(v string) *DescribeTrafficMirrorFilterRulesInput { + s.TrafficMirrorFilterId = &v + return s +} + +// SetTrafficMirrorFilterRuleIds sets the TrafficMirrorFilterRuleIds field's value. +func (s *DescribeTrafficMirrorFilterRulesInput) SetTrafficMirrorFilterRuleIds(v []*string) *DescribeTrafficMirrorFilterRulesInput { + s.TrafficMirrorFilterRuleIds = v + return s +} + +type DescribeTrafficMirrorFilterRulesOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. The value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // Traffic mirror rules. + TrafficMirrorFilterRules []*TrafficMirrorFilterRule `locationName:"trafficMirrorFilterRuleSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeTrafficMirrorFilterRulesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeTrafficMirrorFilterRulesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeTrafficMirrorFilterRulesOutput) SetNextToken(v string) *DescribeTrafficMirrorFilterRulesOutput { + s.NextToken = &v + return s +} + +// SetTrafficMirrorFilterRules sets the TrafficMirrorFilterRules field's value. +func (s *DescribeTrafficMirrorFilterRulesOutput) SetTrafficMirrorFilterRules(v []*TrafficMirrorFilterRule) *DescribeTrafficMirrorFilterRulesOutput { + s.TrafficMirrorFilterRules = v + return s +} + type DescribeTrafficMirrorFiltersInput struct { _ struct{} `type:"structure"` @@ -153691,7 +153931,10 @@ func (s *ModifyTrafficMirrorFilterRuleInput) SetTrafficMirrorFilterRuleId(v stri type ModifyTrafficMirrorFilterRuleOutput struct { _ struct{} `type:"structure"` - // Modifies a Traffic Mirror rule. + // + // Tags are not returned for ModifyTrafficMirrorFilterRule. + // + // A Traffic Mirror rule. TrafficMirrorFilterRule *TrafficMirrorFilterRule `locationName:"trafficMirrorFilterRule" type:"structure"` } @@ -181800,6 +182043,9 @@ type TrafficMirrorFilterRule struct { // The source port range assigned to the Traffic Mirror rule. SourcePortRange *TrafficMirrorPortRange `locationName:"sourcePortRange" type:"structure"` + // Tags on Traffic Mirroring filter rules. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + // The traffic direction assigned to the Traffic Mirror rule. TrafficDirection *string `locationName:"trafficDirection" type:"string" enum:"TrafficDirection"` @@ -181876,6 +182122,12 @@ func (s *TrafficMirrorFilterRule) SetSourcePortRange(v *TrafficMirrorPortRange) return s } +// SetTags sets the Tags field's value. +func (s *TrafficMirrorFilterRule) SetTags(v []*Tag) *TrafficMirrorFilterRule { + s.Tags = v + return s +} + // SetTrafficDirection sets the TrafficDirection field's value. func (s *TrafficMirrorFilterRule) SetTrafficDirection(v string) *TrafficMirrorFilterRule { s.TrafficDirection = &v @@ -199926,6 +200178,9 @@ const ( // ResourceTypeVpcBlockPublicAccessExclusion is a ResourceType enum value ResourceTypeVpcBlockPublicAccessExclusion = "vpc-block-public-access-exclusion" + // ResourceTypeVpcEncryptionControl is a ResourceType enum value + ResourceTypeVpcEncryptionControl = "vpc-encryption-control" + // ResourceTypeIpamResourceDiscovery is a ResourceType enum value ResourceTypeIpamResourceDiscovery = "ipam-resource-discovery" @@ -200022,6 +200277,7 @@ func ResourceType_Values() []string { ResourceTypeVerifiedAccessTrustProvider, ResourceTypeVpnConnectionDeviceType, ResourceTypeVpcBlockPublicAccessExclusion, + ResourceTypeVpcEncryptionControl, ResourceTypeIpamResourceDiscovery, ResourceTypeIpamResourceDiscoveryAssociation, ResourceTypeInstanceConnectEndpoint, diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index 5a1c447647b..3efee85fa1c 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -1644,6 +1644,10 @@ type EC2API interface { DescribeTagsPages(*ec2.DescribeTagsInput, func(*ec2.DescribeTagsOutput, bool) bool) error DescribeTagsPagesWithContext(aws.Context, *ec2.DescribeTagsInput, func(*ec2.DescribeTagsOutput, bool) bool, ...request.Option) error + DescribeTrafficMirrorFilterRules(*ec2.DescribeTrafficMirrorFilterRulesInput) (*ec2.DescribeTrafficMirrorFilterRulesOutput, error) + DescribeTrafficMirrorFilterRulesWithContext(aws.Context, *ec2.DescribeTrafficMirrorFilterRulesInput, ...request.Option) (*ec2.DescribeTrafficMirrorFilterRulesOutput, error) + DescribeTrafficMirrorFilterRulesRequest(*ec2.DescribeTrafficMirrorFilterRulesInput) (*request.Request, *ec2.DescribeTrafficMirrorFilterRulesOutput) + DescribeTrafficMirrorFilters(*ec2.DescribeTrafficMirrorFiltersInput) (*ec2.DescribeTrafficMirrorFiltersOutput, error) DescribeTrafficMirrorFiltersWithContext(aws.Context, *ec2.DescribeTrafficMirrorFiltersInput, ...request.Option) (*ec2.DescribeTrafficMirrorFiltersOutput, error) DescribeTrafficMirrorFiltersRequest(*ec2.DescribeTrafficMirrorFiltersInput) (*request.Request, *ec2.DescribeTrafficMirrorFiltersOutput) diff --git a/service/osis/api.go b/service/osis/api.go index 776c21d0481..b5d370db77a 100644 --- a/service/osis/api.go +++ b/service/osis/api.go @@ -2941,6 +2941,9 @@ type Pipeline struct { // A list of tags associated with the given pipeline. Tags []*Tag `type:"list"` + // The VPC endpoint service name for the pipeline. + VpcEndpointService *string `type:"string"` + // The VPC interface endpoints that have access to the pipeline. VpcEndpoints []*VpcEndpoint `type:"list"` } @@ -3059,6 +3062,12 @@ func (s *Pipeline) SetTags(v []*Tag) *Pipeline { return s } +// SetVpcEndpointService sets the VpcEndpointService field's value. +func (s *Pipeline) SetVpcEndpointService(v string) *Pipeline { + s.VpcEndpointService = &v + return s +} + // SetVpcEndpoints sets the VpcEndpoints field's value. func (s *Pipeline) SetVpcEndpoints(v []*VpcEndpoint) *Pipeline { s.VpcEndpoints = v @@ -4445,6 +4454,10 @@ type VpcOptions struct { // Options for attaching a VPC to a pipeline. VpcAttachmentOptions *VpcAttachmentOptions `type:"structure"` + + // Defines whether you or Amazon OpenSearch Ingestion service create and manage + // the VPC endpoint configured for the pipeline. + VpcEndpointManagement *string `type:"string" enum:"VpcEndpointManagement"` } // String returns the string representation. @@ -4507,6 +4520,12 @@ func (s *VpcOptions) SetVpcAttachmentOptions(v *VpcAttachmentOptions) *VpcOption return s } +// SetVpcEndpointManagement sets the VpcEndpointManagement field's value. +func (s *VpcOptions) SetVpcEndpointManagement(v string) *VpcOptions { + s.VpcEndpointManagement = &v + return s +} + const ( // ChangeProgressStageStatusesPending is a ChangeProgressStageStatuses enum value ChangeProgressStageStatusesPending = "PENDING" @@ -4603,6 +4622,22 @@ func PipelineStatus_Values() []string { } } +const ( + // VpcEndpointManagementCustomer is a VpcEndpointManagement enum value + VpcEndpointManagementCustomer = "CUSTOMER" + + // VpcEndpointManagementService is a VpcEndpointManagement enum value + VpcEndpointManagementService = "SERVICE" +) + +// VpcEndpointManagement_Values returns all elements of the VpcEndpointManagement enum +func VpcEndpointManagement_Values() []string { + return []string{ + VpcEndpointManagementCustomer, + VpcEndpointManagementService, + } +} + const ( // VpcEndpointServiceNameOpensearchServerless is a VpcEndpointServiceName enum value VpcEndpointServiceNameOpensearchServerless = "OPENSEARCH_SERVERLESS" diff --git a/service/redshift/api.go b/service/redshift/api.go index 897ed8b8a5a..641c9a3cd8b 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -13510,9 +13510,8 @@ func (c *Redshift) ResizeClusterRequest(input *ResizeClusterInput) (req *request // // Elastic resize operations have the following restrictions: // -// - You can only resize clusters of the following types: dc1.large (if your -// cluster is in a VPC) dc1.8xlarge (if your cluster is in a VPC) dc2.large -// dc2.8xlarge ds2.xlarge ds2.8xlarge ra3.xlplus ra3.4xlarge ra3.16xlarge +// - You can only resize clusters of the following types: dc2.large dc2.8xlarge +// ra3.xlplus ra3.4xlarge ra3.16xlarge // // - The type of nodes that you add must match the node type for the cluster. // @@ -18132,8 +18131,7 @@ type CreateClusterInput struct { // types, go to Working with Clusters (https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes) // in the Amazon Redshift Cluster Management Guide. // - // Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large - // | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge + // Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge // // NodeType is a required field NodeType *string `type:"string" required:"true"` @@ -18168,8 +18166,7 @@ type CreateClusterInput struct { // or 8191-8215. (If you have an existing cluster with ra3 nodes, it isn't // required that you change the port to these ranges.) // - // * For clusters with ds2 or dc2 nodes - Select a port within the range - // 1150-65535. + // * For clusters with dc2 nodes - Select a port within the range 1150-65535. Port *int64 `type:"integer"` // The weekly time range (in UTC) during which automated cluster maintenance @@ -20140,7 +20137,7 @@ type CreateScheduledActionOutput struct { // A JSON format string of the Amazon Redshift API operation with input parameters. // - // "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}". + // "{\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}". TargetAction *ScheduledActionType `type:"structure"` } @@ -31218,8 +31215,7 @@ type ModifyClusterInput struct { // Amazon Redshift (https://docs.aws.amazon.com/redshift/latest/mgmt/rs-resize-tutorial.html) // in the Amazon Redshift Cluster Management Guide. // - // Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large - // | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge + // Valid Values: dc2.large | dc2.8xlarge | ra3.xlplus | ra3.4xlarge | ra3.16xlarge NodeType *string `type:"string"` // The new number of nodes of the cluster. If you specify a new number of nodes, @@ -31240,8 +31236,7 @@ type ModifyClusterInput struct { // or 8191-8215. (If you have an existing cluster with ra3 nodes, it isn't // required that you change the port to these ranges.) // - // * For clusters with ds2 or dc2 nodes - Select a port within the range - // 1150-65535. + // * For clusters with dc2 nodes - Select a port within the range 1150-65535. Port *int64 `type:"integer"` // The weekly time range (in UTC) during which system maintenance can occur, @@ -32769,7 +32764,7 @@ type ModifyScheduledActionOutput struct { // A JSON format string of the Amazon Redshift API operation with input parameters. // - // "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}". + // "{\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}". TargetAction *ScheduledActionType `type:"structure"` } @@ -33367,7 +33362,7 @@ type NodeConfigurationOption struct { // The category of the node configuration recommendation. Mode *string `type:"string" enum:"Mode"` - // The node type, such as, "ds2.8xlarge". + // The node type, such as, "ra3.4xlarge". NodeType *string `type:"string"` // The number of nodes. @@ -34978,7 +34973,7 @@ type ReservedNodeExchangeStatus struct { // The identifier of the source reserved node. SourceReservedNodeId *string `type:"string"` - // The source reserved-node type, for example ds2.xlarge. + // The source reserved-node type, for example ra3.4xlarge. SourceReservedNodeType *string `type:"string"` // The status of the reserved-node exchange request. Statuses include in-progress @@ -35741,16 +35736,10 @@ type RestoreFromClusterSnapshotInput struct { // The node type that the restored cluster will be provisioned with. // - // Default: The node type of the cluster from which the snapshot was taken. - // You can modify this if you are using any DS node type. In that case, you - // can choose to restore into another DS node type of the same size. For example, - // you can restore ds1.8xlarge into ds2.8xlarge, or ds1.xlarge into ds2.xlarge. // If you have a DC instance type, you must restore into that same instance - // type and size. In other words, you can only restore a dc1.large instance - // type into another dc1.large instance type or dc2.large instance type. You - // can't restore dc1.8xlarge to dc2.8xlarge. First restore to a dc1.8xlarge - // cluster, then resize to a dc2.8large cluster. For more information about - // node types, see About Clusters and Nodes (https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-about-clusters-and-nodes) + // type and size. In other words, you can only restore a dc2.large node type + // into another dc2 type. For more information about node types, see About Clusters + // and Nodes (https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-about-clusters-and-nodes) // in the Amazon Redshift Cluster Management Guide. NodeType *string `type:"string"` @@ -35765,9 +35754,8 @@ type RestoreFromClusterSnapshotInput struct { // // Default: The same port as the original cluster. // - // Valid values: For clusters with ds2 or dc2 nodes, must be within the range - // 1150-65535. For clusters with ra3 nodes, must be within the ranges 5431-5455 - // or 8191-8215. + // Valid values: For clusters with DC2 nodes, must be within the range 1150-65535. + // For clusters with ra3 nodes, must be within the ranges 5431-5455 or 8191-8215. Port *int64 `type:"integer"` // The weekly time range (in UTC) during which automated cluster maintenance @@ -36114,25 +36102,25 @@ type RestoreStatus struct { // The number of megabytes per second being transferred from the backup storage. // Returns the average rate for a completed backup. This field is only updated - // when you restore to DC2 and DS2 node types. + // when you restore to DC2 node types. CurrentRestoreRateInMegaBytesPerSecond *float64 `type:"double"` // The amount of time an in-progress restore has been running, or the amount // of time it took a completed restore to finish. This field is only updated - // when you restore to DC2 and DS2 node types. + // when you restore to DC2 node types. ElapsedTimeInSeconds *int64 `type:"long"` // The estimate of the time remaining before the restore will complete. Returns // 0 for a completed restore. This field is only updated when you restore to - // DC2 and DS2 node types. + // DC2 node types. EstimatedTimeToCompletionInSeconds *int64 `type:"long"` // The number of megabytes that have been transferred from snapshot storage. - // This field is only updated when you restore to DC2 and DS2 node types. + // This field is only updated when you restore to DC2 node types. ProgressInMegaBytes *int64 `type:"long"` // The size of the set of snapshot data used to restore the cluster. This field - // is only updated when you restore to DC2 and DS2 node types. + // is only updated when you restore to DC2 node types. SnapshotSizeInMegaBytes *int64 `type:"long"` // The status of the restore action. Returns starting, restoring, completed, @@ -37061,7 +37049,7 @@ type ScheduledAction struct { // A JSON format string of the Amazon Redshift API operation with input parameters. // - // "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}". + // "{\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}". TargetAction *ScheduledActionType `type:"structure"` } diff --git a/service/secretsmanager/api.go b/service/secretsmanager/api.go index 97c1ac7b74d..0d59a266109 100644 --- a/service/secretsmanager/api.go +++ b/service/secretsmanager/api.go @@ -1700,9 +1700,9 @@ func (c *SecretsManager) PutSecretValueRequest(input *PutSecretValueInput) (req // version; you can only create new ones. // // Secrets Manager generates a CloudTrail log entry when you call this action. -// Do not include sensitive information in request parameters except SecretBinary -// or SecretString because it might be logged. For more information, see Logging -// Secrets Manager events with CloudTrail (https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html). +// Do not include sensitive information in request parameters except SecretBinary, +// SecretString, or RotationToken because it might be logged. For more information, +// see Logging Secrets Manager events with CloudTrail (https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html). // // Required permissions: secretsmanager:PutSecretValue. For more information, // see IAM policy actions for Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions) @@ -3393,6 +3393,10 @@ type CreateSecretInput struct { // // This parameter is not available in the Secrets Manager console. // + // Sensitive: This field contains sensitive information, so the service does + // not include it in CloudTrail log entries. If you create your own log entries, + // you must also avoid logging the information in this field. + // // SecretBinary is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateSecretInput's // String and GoString methods. @@ -3410,6 +3414,10 @@ type CreateSecretInput struct { // The Secrets Manager console stores the information as a JSON structure of // key/value pairs that a Lambda rotation function can parse. // + // Sensitive: This field contains sensitive information, so the service does + // not include it in CloudTrail log entries. If you create your own log entries, + // you must also avoid logging the information in this field. + // // SecretString is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateSecretInput's // String and GoString methods. @@ -4054,7 +4062,8 @@ type DescribeSecretOutput struct { // * InSync, which indicates that the replica was created. ReplicationStatus []*ReplicationStatusType `type:"list"` - // Specifies whether automatic rotation is turned on for this secret. + // Specifies whether automatic rotation is turned on for this secret. If the + // secret has never been configured for rotation, Secrets Manager returns null. // // To turn on rotation, use RotateSecret. To turn off rotation, use CancelRotateSecret. RotationEnabled *bool `type:"boolean"` @@ -4619,7 +4628,8 @@ func (s *GetResourcePolicyOutput) SetResourcePolicy(v string) *GetResourcePolicy type GetSecretValueInput struct { _ struct{} `type:"structure"` - // The ARN or name of the secret to retrieve. + // The ARN or name of the secret to retrieve. To retrieve a secret from another + // account, you must use an ARN. // // For an ARN, we recommend that you specify a complete ARN rather than a partial // ARN. See Finding a secret from a partial ARN (https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen). @@ -4727,6 +4737,10 @@ type GetSecretValueOutput struct { // secret value was originally provided as a string, then this field is omitted. // The secret value appears in SecretString instead. // + // Sensitive: This field contains sensitive information, so the service does + // not include it in CloudTrail log entries. If you create your own log entries, + // you must also avoid logging the information in this field. + // // SecretBinary is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetSecretValueOutput's // String and GoString methods. @@ -4740,6 +4754,10 @@ type GetSecretValueOutput struct { // If this secret was created by using the console, then Secrets Manager stores // the information as a JSON structure of key/value pairs. // + // Sensitive: This field contains sensitive information, so the service does + // not include it in CloudTrail log entries. If you create your own log entries, + // you must also avoid logging the information in this field. + // // SecretString is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetSecretValueOutput's // String and GoString methods. @@ -5806,6 +5824,21 @@ type PutSecretValueInput struct { // This value becomes the VersionId of the new version. ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` + // A unique identifier that indicates the source of the request. For cross-account + // rotation (when you rotate a secret in one account by using a Lambda rotation + // function in another account) and the Lambda rotation function assumes an + // IAM role to call Secrets Manager, Secrets Manager validates the identity + // with the rotation token. For more information, see How rotation works (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html). + // + // Sensitive: This field contains sensitive information, so the service does + // not include it in CloudTrail log entries. If you create your own log entries, + // you must also avoid logging the information in this field. + // + // RotationToken is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PutSecretValueInput's + // String and GoString methods. + RotationToken *string `min:"36" type:"string" sensitive:"true"` + // The binary data to encrypt and store in the new version of the secret. To // use this parameter in the command-line tools, we recommend that you store // your binary data in a file and then pass the contents of the file as a parameter. @@ -5814,6 +5847,10 @@ type PutSecretValueInput struct { // // You can't access this value from the Secrets Manager console. // + // Sensitive: This field contains sensitive information, so the service does + // not include it in CloudTrail log entries. If you create your own log entries, + // you must also avoid logging the information in this field. + // // SecretBinary is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PutSecretValueInput's // String and GoString methods. @@ -5838,6 +5875,10 @@ type PutSecretValueInput struct { // We recommend you create the secret string as JSON key/value pairs, as shown // in the example. // + // Sensitive: This field contains sensitive information, so the service does + // not include it in CloudTrail log entries. If you create your own log entries, + // you must also avoid logging the information in this field. + // // SecretString is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PutSecretValueInput's // String and GoString methods. @@ -5883,6 +5924,9 @@ func (s *PutSecretValueInput) Validate() error { if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) } + if s.RotationToken != nil && len(*s.RotationToken) < 36 { + invalidParams.Add(request.NewErrParamMinLen("RotationToken", 36)) + } if s.SecretBinary != nil && len(s.SecretBinary) < 1 { invalidParams.Add(request.NewErrParamMinLen("SecretBinary", 1)) } @@ -5911,6 +5955,12 @@ func (s *PutSecretValueInput) SetClientRequestToken(v string) *PutSecretValueInp return s } +// SetRotationToken sets the RotationToken field's value. +func (s *PutSecretValueInput) SetRotationToken(v string) *PutSecretValueInput { + s.RotationToken = &v + return s +} + // SetSecretBinary sets the SecretBinary field's value. func (s *PutSecretValueInput) SetSecretBinary(v []byte) *PutSecretValueInput { s.SecretBinary = v @@ -7615,6 +7665,10 @@ type UpdateSecretInput struct { // // You can't access this parameter in the Secrets Manager console. // + // Sensitive: This field contains sensitive information, so the service does + // not include it in CloudTrail log entries. If you create your own log entries, + // you must also avoid logging the information in this field. + // // SecretBinary is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateSecretInput's // String and GoString methods. @@ -7635,6 +7689,10 @@ type UpdateSecretInput struct { // // Either SecretBinary or SecretString must have a value, but not both. // + // Sensitive: This field contains sensitive information, so the service does + // not include it in CloudTrail log entries. If you create your own log entries, + // you must also avoid logging the information in this field. + // // SecretString is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateSecretInput's // String and GoString methods. @@ -7923,7 +7981,8 @@ type ValidateResourcePolicyInput struct { // ResourcePolicy is a required field ResourcePolicy *string `min:"1" type:"string" required:"true"` - // This field is reserved for internal use. + // The ARN or name of the secret with the resource-based policy you want to + // validate. SecretId *string `min:"1" type:"string"` } diff --git a/service/securitylake/api.go b/service/securitylake/api.go index b65e4476b1b..2ea71eca5a1 100644 --- a/service/securitylake/api.go +++ b/service/securitylake/api.go @@ -4540,7 +4540,7 @@ type CreateSubscriberInput struct { // The description for your subscriber account in Security Lake. SubscriberDescription *string `locationName:"subscriberDescription" type:"string"` - // The AWS identity used to access your data. + // The Amazon Web Services identity used to access your data. // // SubscriberIdentity is a required field SubscriberIdentity *AwsIdentity `locationName:"subscriberIdentity" type:"structure" required:"true"` @@ -7803,9 +7803,9 @@ type SubscriberResource struct { // The date and time when the subscriber was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - // The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource - // share. Before accepting the RAM resource share invitation, you can view details - // related to the RAM resource share. + // The Amazon Resource Name (ARN) which uniquely defines the Amazon Web Services + // RAM resource share. Before accepting the RAM resource share invitation, you + // can view details related to the RAM resource share. // // This field is available only for Lake Formation subscribers created after // March 8, 2023. @@ -7844,7 +7844,7 @@ type SubscriberResource struct { // SubscriberId is a required field SubscriberId *string `locationName:"subscriberId" type:"string" required:"true"` - // The AWS identity used to access your data. + // The Amazon Web Services identity used to access your data. // // SubscriberIdentity is a required field SubscriberIdentity *AwsIdentity `locationName:"subscriberIdentity" type:"structure" required:"true"` diff --git a/service/sesv2/api.go b/service/sesv2/api.go index 914412de23e..b46aa5aa7a8 100644 --- a/service/sesv2/api.go +++ b/service/sesv2/api.go @@ -337,9 +337,8 @@ func (c *SESV2) CreateConfigurationSetEventDestinationRequest(input *CreateConfi // Create an event destination. Events include message sends, deliveries, opens, // clicks, bounces, and complaints. Event destinations are places that you can // send information about these events to. For example, you can send event data -// to Amazon SNS to receive notifications when you receive bounces or complaints, -// or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for -// long-term storage. +// to Amazon EventBridge and associate a rule to send the event to the specified +// target. // // A single configuration set can include more than one event destination. // @@ -1512,9 +1511,8 @@ func (c *SESV2) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfi // // Events include message sends, deliveries, opens, clicks, bounces, and complaints. // Event destinations are places that you can send information about these events -// to. For example, you can send event data to Amazon SNS to receive notifications -// when you receive bounces or complaints, or you can use Amazon Kinesis Data -// Firehose to stream data to Amazon S3 for long-term storage. +// to. For example, you can send event data to Amazon EventBridge and associate +// a rule to send the event to the specified target. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2583,9 +2581,8 @@ func (c *SESV2) GetConfigurationSetEventDestinationsRequest(input *GetConfigurat // // Events include message sends, deliveries, opens, clicks, bounces, and complaints. // Event destinations are places that you can send information about these events -// to. For example, you can send event data to Amazon SNS to receive notifications -// when you receive bounces or complaints, or you can use Amazon Kinesis Data -// Firehose to stream data to Amazon S3 for long-term storage. +// to. For example, you can send event data to Amazon EventBridge and associate +// a rule to send the event to the specified target. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8616,9 +8613,8 @@ func (c *SESV2) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfi // // Events include message sends, deliveries, opens, clicks, bounces, and complaints. // Event destinations are places that you can send information about these events -// to. For example, you can send event data to Amazon SNS to receive notifications -// when you receive bounces or complaints, or you can use Amazon Kinesis Data -// Firehose to stream data to Amazon S3 for long-term storage. +// to. For example, you can send event data to Amazon EventBridge and associate +// a rule to send the event to the specified target. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14297,6 +14293,56 @@ func (s *EmailTemplateMetadata) SetTemplateName(v string) *EmailTemplateMetadata return s } +// An object that defines an Amazon EventBridge destination for email events. +// You can use Amazon EventBridge to send notifications when certain email events +// occur. +type EventBridgeDestination struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email + // events to. Only the default bus is supported. + // + // EventBusArn is a required field + EventBusArn *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EventBridgeDestination) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EventBridgeDestination) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EventBridgeDestination) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EventBridgeDestination"} + if s.EventBusArn == nil { + invalidParams.Add(request.NewErrParamRequired("EventBusArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEventBusArn sets the EventBusArn field's value. +func (s *EventBridgeDestination) SetEventBusArn(v string) *EventBridgeDestination { + s.EventBusArn = &v + return s +} + // In the Amazon SES API v2, events include message sends, deliveries, opens, // clicks, bounces, complaints and delivery delays. Event destinations are places // that you can send information about these events to. For example, you can @@ -14318,6 +14364,11 @@ type EventDestination struct { // disabled, events aren't sent to the specified destinations. Enabled *bool `type:"boolean"` + // An object that defines an Amazon EventBridge destination for email events. + // You can use Amazon EventBridge to send notifications when certain email events + // occur. + EventBridgeDestination *EventBridgeDestination `type:"structure"` + // An object that defines an Amazon Kinesis Data Firehose destination for email // events. You can use Amazon Kinesis Data Firehose to stream data to other // services, such as Amazon S3 and Amazon Redshift. @@ -14380,7 +14431,7 @@ type EventDestination struct { PinpointDestination *PinpointDestination `type:"structure"` // An object that defines an Amazon SNS destination for email events. You can - // use Amazon SNS to send notification when certain email events occur. + // use Amazon SNS to send notifications when certain email events occur. SnsDestination *SnsDestination `type:"structure"` } @@ -14414,6 +14465,12 @@ func (s *EventDestination) SetEnabled(v bool) *EventDestination { return s } +// SetEventBridgeDestination sets the EventBridgeDestination field's value. +func (s *EventDestination) SetEventBridgeDestination(v *EventBridgeDestination) *EventDestination { + s.EventBridgeDestination = v + return s +} + // SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value. func (s *EventDestination) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestination { s.KinesisFirehoseDestination = v @@ -14463,6 +14520,11 @@ type EventDestinationDefinition struct { // disabled, events aren't sent to the specified destinations. Enabled *bool `type:"boolean"` + // An object that defines an Amazon EventBridge destination for email events. + // You can use Amazon EventBridge to send notifications when certain email events + // occur. + EventBridgeDestination *EventBridgeDestination `type:"structure"` + // An object that defines an Amazon Kinesis Data Firehose destination for email // events. You can use Amazon Kinesis Data Firehose to stream data to other // services, such as Amazon S3 and Amazon Redshift. @@ -14480,7 +14542,7 @@ type EventDestinationDefinition struct { PinpointDestination *PinpointDestination `type:"structure"` // An object that defines an Amazon SNS destination for email events. You can - // use Amazon SNS to send notification when certain email events occur. + // use Amazon SNS to send notifications when certain email events occur. SnsDestination *SnsDestination `type:"structure"` } @@ -14510,6 +14572,11 @@ func (s *EventDestinationDefinition) Validate() error { invalidParams.AddNested("CloudWatchDestination", err.(request.ErrInvalidParams)) } } + if s.EventBridgeDestination != nil { + if err := s.EventBridgeDestination.Validate(); err != nil { + invalidParams.AddNested("EventBridgeDestination", err.(request.ErrInvalidParams)) + } + } if s.KinesisFirehoseDestination != nil { if err := s.KinesisFirehoseDestination.Validate(); err != nil { invalidParams.AddNested("KinesisFirehoseDestination", err.(request.ErrInvalidParams)) @@ -14539,6 +14606,12 @@ func (s *EventDestinationDefinition) SetEnabled(v bool) *EventDestinationDefinit return s } +// SetEventBridgeDestination sets the EventBridgeDestination field's value. +func (s *EventDestinationDefinition) SetEventBridgeDestination(v *EventBridgeDestination) *EventDestinationDefinition { + s.EventBridgeDestination = v + return s +} + // SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value. func (s *EventDestinationDefinition) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestinationDefinition { s.KinesisFirehoseDestination = v @@ -23885,7 +23958,7 @@ func (s *SendingPausedException) RequestID() string { } // An object that defines an Amazon SNS destination for email events. You can -// use Amazon SNS to send notification when certain email events occur. +// use Amazon SNS to send notifications when certain email events occur. type SnsDestination struct { _ struct{} `type:"structure"`