Skip to content

Commit c87de6a

Browse files
author
awstools
committedMay 30, 2024
feat(client-acm): add v2 smoke tests and smithy smokeTests trait for SDK testing.
1 parent 512d901 commit c87de6a

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed
 

‎codegen/sdk-codegen/aws-models/acm.json

+31-3
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,7 @@
18441844
"ResourceRecord": {
18451845
"target": "com.amazonaws.acm#ResourceRecord",
18461846
"traits": {
1847-
"smithy.api#documentation": "<p>Contains the CNAME record that you add to your DNS database for domain validation. For\n more information, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html\">Use DNS to Validate Domain Ownership</a>.</p>\n <p>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.</p>"
1847+
"smithy.api#documentation": "<p>Contains the CNAME record that you add to your DNS database for domain validation. For\n more information, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html\">Use DNS to Validate Domain Ownership</a>.</p>\n <p>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.</p>"
18481848
}
18491849
},
18501850
"ValidationMethod": {
@@ -2291,7 +2291,22 @@
22912291
}
22922292
],
22932293
"traits": {
2294-
"smithy.api#documentation": "<p>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 <a href=\"https://wiki.openssl.org/index.php/Command_Line_Utilities\">OpenSSL</a> to decode\n the certificates and inspect individual fields.</p>"
2294+
"smithy.api#documentation": "<p>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 <a href=\"https://wiki.openssl.org/index.php/Command_Line_Utilities\">OpenSSL</a> to decode\n the certificates and inspect individual fields.</p>",
2295+
"smithy.test#smokeTests": [
2296+
{
2297+
"id": "GetCertificateFailure",
2298+
"params": {
2299+
"CertificateArn": "arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012"
2300+
},
2301+
"vendorParams": {
2302+
"region": "us-west-2"
2303+
},
2304+
"vendorParamsShape": "aws.test#AwsVendorParams",
2305+
"expect": {
2306+
"failure": {}
2307+
}
2308+
}
2309+
]
22952310
}
22962311
},
22972312
"com.amazonaws.acm#GetCertificateRequest": {
@@ -2697,7 +2712,20 @@
26972712
"outputToken": "NextToken",
26982713
"items": "CertificateSummaryList",
26992714
"pageSize": "MaxItems"
2700-
}
2715+
},
2716+
"smithy.test#smokeTests": [
2717+
{
2718+
"id": "ListCertificatesSuccess",
2719+
"params": {},
2720+
"vendorParams": {
2721+
"region": "us-west-2"
2722+
},
2723+
"vendorParamsShape": "aws.test#AwsVendorParams",
2724+
"expect": {
2725+
"success": {}
2726+
}
2727+
}
2728+
]
27012729
}
27022730
},
27032731
"com.amazonaws.acm#ListCertificatesRequest": {

0 commit comments

Comments
 (0)
Please sign in to comment.