From c87de6ae55d719150fe4f5172cfd1f4cb3bb1aa2 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 30 May 2024 18:17:14 +0000 Subject: [PATCH] feat(client-acm): add v2 smoke tests and smithy smokeTests trait for SDK testing. --- codegen/sdk-codegen/aws-models/acm.json | 34 ++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/acm.json b/codegen/sdk-codegen/aws-models/acm.json index f35801028394..9b83e87bd4ec 100644 --- a/codegen/sdk-codegen/aws-models/acm.json +++ b/codegen/sdk-codegen/aws-models/acm.json @@ -1844,7 +1844,7 @@ "ResourceRecord": { "target": "com.amazonaws.acm#ResourceRecord", "traits": { - "smithy.api#documentation": "

Contains the CNAME record that you add to your DNS database for domain validation. For\n more information, see Use DNS to Validate Domain Ownership.

\n

Note: The CNAME information that you need does not include the name of your domain. If you\n include
 your domain name in the DNS database CNAME record, validation fails.
 For example, if\n the name is \"_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com\", only\n \"_a79865eb4cd1a6ab990a45779b4e0b96\" must be used.

" + "smithy.api#documentation": "

Contains the CNAME record that you add to your DNS database for domain validation. For\n more information, see Use DNS to Validate Domain Ownership.

\n

Note: The CNAME information that you need does not include the name of your domain. If you\n include\u2028 your domain name in the DNS database CNAME record, validation fails.\u2028 For example, if\n the name is \"_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com\", only\n \"_a79865eb4cd1a6ab990a45779b4e0b96\" must be used.

" } }, "ValidationMethod": { @@ -2291,7 +2291,22 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of\n the certificate of the issuing CA and the intermediate certificates of any other subordinate\n CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode\n the certificates and inspect individual fields.

" + "smithy.api#documentation": "

Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of\n the certificate of the issuing CA and the intermediate certificates of any other subordinate\n CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode\n the certificates and inspect individual fields.

", + "smithy.test#smokeTests": [ + { + "id": "GetCertificateFailure", + "params": { + "CertificateArn": "arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012" + }, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "failure": {} + } + } + ] } }, "com.amazonaws.acm#GetCertificateRequest": { @@ -2697,7 +2712,20 @@ "outputToken": "NextToken", "items": "CertificateSummaryList", "pageSize": "MaxItems" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListCertificatesSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.acm#ListCertificatesRequest": {