From 1552f49a73bd83cfb268dc813003549ae49ec553 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 31 Aug 2023 19:32:29 +0000 Subject: [PATCH] feat(client-cloudhsm): Deprecating CloudHSM Classic API Service. --- .../src/commands/AddTagsToResourceCommand.ts | 2 + .../src/commands/CreateHapgCommand.ts | 2 + .../src/commands/CreateHsmCommand.ts | 4 +- .../src/commands/CreateLunaClientCommand.ts | 2 + .../src/commands/DeleteHapgCommand.ts | 2 + .../src/commands/DeleteHsmCommand.ts | 2 + .../src/commands/DeleteLunaClientCommand.ts | 2 + .../src/commands/DescribeHapgCommand.ts | 4 +- .../src/commands/DescribeHsmCommand.ts | 6 +- .../src/commands/DescribeLunaClientCommand.ts | 2 + .../src/commands/GetConfigCommand.ts | 4 +- .../src/commands/ListAvailableZonesCommand.ts | 2 + .../src/commands/ListHapgsCommand.ts | 2 + .../src/commands/ListHsmsCommand.ts | 2 + .../src/commands/ListLunaClientsCommand.ts | 2 + .../commands/ListTagsForResourceCommand.ts | 2 + .../src/commands/ModifyHapgCommand.ts | 2 + .../src/commands/ModifyHsmCommand.ts | 2 + .../src/commands/ModifyLunaClientCommand.ts | 2 + .../commands/RemoveTagsFromResourceCommand.ts | 2 + .../client-cloudhsm/src/endpoint/ruleset.ts | 35 +- codegen/sdk-codegen/aws-models/cloudhsm.json | 971 ++++++++++++------ 22 files changed, 720 insertions(+), 336 deletions(-) diff --git a/clients/client-cloudhsm/src/commands/AddTagsToResourceCommand.ts b/clients/client-cloudhsm/src/commands/AddTagsToResourceCommand.ts index 362dd4a4929cd..6b5b00e4c1e3a 100644 --- a/clients/client-cloudhsm/src/commands/AddTagsToResourceCommand.ts +++ b/clients/client-cloudhsm/src/commands/AddTagsToResourceCommand.ts @@ -36,6 +36,8 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceRespons /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/CreateHapgCommand.ts b/clients/client-cloudhsm/src/commands/CreateHapgCommand.ts index 649d9ca96e9d9..e488d8fd479ad 100644 --- a/clients/client-cloudhsm/src/commands/CreateHapgCommand.ts +++ b/clients/client-cloudhsm/src/commands/CreateHapgCommand.ts @@ -36,6 +36,8 @@ export interface CreateHapgCommandOutput extends CreateHapgResponse, __MetadataB /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/CreateHsmCommand.ts b/clients/client-cloudhsm/src/commands/CreateHsmCommand.ts index fa0eb5d426355..aa360715e8dcb 100644 --- a/clients/client-cloudhsm/src/commands/CreateHsmCommand.ts +++ b/clients/client-cloudhsm/src/commands/CreateHsmCommand.ts @@ -36,6 +36,8 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS @@ -68,7 +70,7 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea * EniIp: "STRING_VALUE", * IamRoleArn: "STRING_VALUE", // required * ExternalId: "STRING_VALUE", - * SubscriptionType: "STRING_VALUE", // required + * SubscriptionType: "PRODUCTION", // required * ClientToken: "STRING_VALUE", * SyslogIp: "STRING_VALUE", * }; diff --git a/clients/client-cloudhsm/src/commands/CreateLunaClientCommand.ts b/clients/client-cloudhsm/src/commands/CreateLunaClientCommand.ts index d26b07c13b1a2..c61b9ab7002ed 100644 --- a/clients/client-cloudhsm/src/commands/CreateLunaClientCommand.ts +++ b/clients/client-cloudhsm/src/commands/CreateLunaClientCommand.ts @@ -36,6 +36,8 @@ export interface CreateLunaClientCommandOutput extends CreateLunaClientResponse, /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/DeleteHapgCommand.ts b/clients/client-cloudhsm/src/commands/DeleteHapgCommand.ts index 554896b26a839..6b2b90afeb281 100644 --- a/clients/client-cloudhsm/src/commands/DeleteHapgCommand.ts +++ b/clients/client-cloudhsm/src/commands/DeleteHapgCommand.ts @@ -36,6 +36,8 @@ export interface DeleteHapgCommandOutput extends DeleteHapgResponse, __MetadataB /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/DeleteHsmCommand.ts b/clients/client-cloudhsm/src/commands/DeleteHsmCommand.ts index 1635bff457a0e..2dbf52cc9cf0e 100644 --- a/clients/client-cloudhsm/src/commands/DeleteHsmCommand.ts +++ b/clients/client-cloudhsm/src/commands/DeleteHsmCommand.ts @@ -36,6 +36,8 @@ export interface DeleteHsmCommandOutput extends DeleteHsmResponse, __MetadataBea /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/DeleteLunaClientCommand.ts b/clients/client-cloudhsm/src/commands/DeleteLunaClientCommand.ts index 9cf2b6575a7b1..b43e7005f75ee 100644 --- a/clients/client-cloudhsm/src/commands/DeleteLunaClientCommand.ts +++ b/clients/client-cloudhsm/src/commands/DeleteLunaClientCommand.ts @@ -36,6 +36,8 @@ export interface DeleteLunaClientCommandOutput extends DeleteLunaClientResponse, /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/DescribeHapgCommand.ts b/clients/client-cloudhsm/src/commands/DescribeHapgCommand.ts index 4b04482b75a61..f9d58d379164f 100644 --- a/clients/client-cloudhsm/src/commands/DescribeHapgCommand.ts +++ b/clients/client-cloudhsm/src/commands/DescribeHapgCommand.ts @@ -36,6 +36,8 @@ export interface DescribeHapgCommandOutput extends DescribeHapgResponse, __Metad /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS @@ -75,7 +77,7 @@ export interface DescribeHapgCommandOutput extends DescribeHapgResponse, __Metad * // PartitionSerialList: [ // PartitionSerialList * // "STRING_VALUE", * // ], - * // State: "STRING_VALUE", + * // State: "READY" || "UPDATING" || "DEGRADED", * // }; * * ``` diff --git a/clients/client-cloudhsm/src/commands/DescribeHsmCommand.ts b/clients/client-cloudhsm/src/commands/DescribeHsmCommand.ts index 28c75843aa0f0..30a4d40830695 100644 --- a/clients/client-cloudhsm/src/commands/DescribeHsmCommand.ts +++ b/clients/client-cloudhsm/src/commands/DescribeHsmCommand.ts @@ -36,6 +36,8 @@ export interface DescribeHsmCommandOutput extends DescribeHsmResponse, __Metadat /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS @@ -62,12 +64,12 @@ export interface DescribeHsmCommandOutput extends DescribeHsmResponse, __Metadat * const response = await client.send(command); * // { // DescribeHsmResponse * // HsmArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "PENDING" || "RUNNING" || "UPDATING" || "SUSPENDED" || "TERMINATING" || "TERMINATED" || "DEGRADED", * // StatusDetails: "STRING_VALUE", * // AvailabilityZone: "STRING_VALUE", * // EniId: "STRING_VALUE", * // EniIp: "STRING_VALUE", - * // SubscriptionType: "STRING_VALUE", + * // SubscriptionType: "PRODUCTION", * // SubscriptionStartDate: "STRING_VALUE", * // SubscriptionEndDate: "STRING_VALUE", * // VpcId: "STRING_VALUE", diff --git a/clients/client-cloudhsm/src/commands/DescribeLunaClientCommand.ts b/clients/client-cloudhsm/src/commands/DescribeLunaClientCommand.ts index c14f4f4202109..e1158a2d39f9b 100644 --- a/clients/client-cloudhsm/src/commands/DescribeLunaClientCommand.ts +++ b/clients/client-cloudhsm/src/commands/DescribeLunaClientCommand.ts @@ -36,6 +36,8 @@ export interface DescribeLunaClientCommandOutput extends DescribeLunaClientRespo /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/GetConfigCommand.ts b/clients/client-cloudhsm/src/commands/GetConfigCommand.ts index e77f215ea2449..de2ba401494a2 100644 --- a/clients/client-cloudhsm/src/commands/GetConfigCommand.ts +++ b/clients/client-cloudhsm/src/commands/GetConfigCommand.ts @@ -36,6 +36,8 @@ export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBea /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS @@ -56,7 +58,7 @@ export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBea * const client = new CloudHSMClient(config); * const input = { // GetConfigRequest * ClientArn: "STRING_VALUE", // required - * ClientVersion: "STRING_VALUE", // required + * ClientVersion: "5.1" || "5.3", // required * HapgList: [ // HapgList // required * "STRING_VALUE", * ], diff --git a/clients/client-cloudhsm/src/commands/ListAvailableZonesCommand.ts b/clients/client-cloudhsm/src/commands/ListAvailableZonesCommand.ts index 1c5efa328cd7d..ca21113dd02df 100644 --- a/clients/client-cloudhsm/src/commands/ListAvailableZonesCommand.ts +++ b/clients/client-cloudhsm/src/commands/ListAvailableZonesCommand.ts @@ -36,6 +36,8 @@ export interface ListAvailableZonesCommandOutput extends ListAvailableZonesRespo /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/ListHapgsCommand.ts b/clients/client-cloudhsm/src/commands/ListHapgsCommand.ts index b70df9ff97e85..7bcbc9e2c6a74 100644 --- a/clients/client-cloudhsm/src/commands/ListHapgsCommand.ts +++ b/clients/client-cloudhsm/src/commands/ListHapgsCommand.ts @@ -36,6 +36,8 @@ export interface ListHapgsCommandOutput extends ListHapgsResponse, __MetadataBea /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/ListHsmsCommand.ts b/clients/client-cloudhsm/src/commands/ListHsmsCommand.ts index a996b554db6d2..78b7760f55b42 100644 --- a/clients/client-cloudhsm/src/commands/ListHsmsCommand.ts +++ b/clients/client-cloudhsm/src/commands/ListHsmsCommand.ts @@ -36,6 +36,8 @@ export interface ListHsmsCommandOutput extends ListHsmsResponse, __MetadataBeare /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/ListLunaClientsCommand.ts b/clients/client-cloudhsm/src/commands/ListLunaClientsCommand.ts index be50e13f2361a..6dde1986fbe69 100644 --- a/clients/client-cloudhsm/src/commands/ListLunaClientsCommand.ts +++ b/clients/client-cloudhsm/src/commands/ListLunaClientsCommand.ts @@ -36,6 +36,8 @@ export interface ListLunaClientsCommandOutput extends ListLunaClientsResponse, _ /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/ListTagsForResourceCommand.ts b/clients/client-cloudhsm/src/commands/ListTagsForResourceCommand.ts index 678498ad100aa..6a7f907594f1d 100644 --- a/clients/client-cloudhsm/src/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudhsm/src/commands/ListTagsForResourceCommand.ts @@ -36,6 +36,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/ModifyHapgCommand.ts b/clients/client-cloudhsm/src/commands/ModifyHapgCommand.ts index e3f6f274f3db3..7339ecffd5e11 100644 --- a/clients/client-cloudhsm/src/commands/ModifyHapgCommand.ts +++ b/clients/client-cloudhsm/src/commands/ModifyHapgCommand.ts @@ -36,6 +36,8 @@ export interface ModifyHapgCommandOutput extends ModifyHapgResponse, __MetadataB /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/ModifyHsmCommand.ts b/clients/client-cloudhsm/src/commands/ModifyHsmCommand.ts index fd464249f24d0..edeb57b5d7407 100644 --- a/clients/client-cloudhsm/src/commands/ModifyHsmCommand.ts +++ b/clients/client-cloudhsm/src/commands/ModifyHsmCommand.ts @@ -36,6 +36,8 @@ export interface ModifyHsmCommandOutput extends ModifyHsmResponse, __MetadataBea /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/ModifyLunaClientCommand.ts b/clients/client-cloudhsm/src/commands/ModifyLunaClientCommand.ts index e2b8144635056..84d2c021ef101 100644 --- a/clients/client-cloudhsm/src/commands/ModifyLunaClientCommand.ts +++ b/clients/client-cloudhsm/src/commands/ModifyLunaClientCommand.ts @@ -36,6 +36,8 @@ export interface ModifyLunaClientCommandOutput extends ModifyLunaClientResponse, /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/commands/RemoveTagsFromResourceCommand.ts b/clients/client-cloudhsm/src/commands/RemoveTagsFromResourceCommand.ts index 05afa43b13e3c..3086fd311ebee 100644 --- a/clients/client-cloudhsm/src/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-cloudhsm/src/commands/RemoveTagsFromResourceCommand.ts @@ -36,6 +36,8 @@ export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResou /** * @public + * @deprecated + * *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS diff --git a/clients/client-cloudhsm/src/endpoint/ruleset.ts b/clients/client-cloudhsm/src/endpoint/ruleset.ts index 027de98abfefe..c071f985cc523 100644 --- a/clients/client-cloudhsm/src/endpoint/ruleset.ts +++ b/clients/client-cloudhsm/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/cloudhsm.json */ -const p="required", -q="fn", -r="argv", -s="ref"; -const a="PartitionResult", +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e={[p]:false,"type":"String"}, -f={[p]:true,"default":false,"type":"Boolean"}, -g={[s]:"Endpoint"}, -h={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -i={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -j={}, -k={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsFIPS"]}]}, -l={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:a},"supportsDualStack"]}]}, -m=[g], -n=[h], -o=[i]; -const _data={version:"1.0",parameters:{Region:e,UseDualStack:f,UseFIPS:f,Endpoint:e},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:a}],type:b,rules:[{conditions:[{[q]:"isSet",[r]:m},{[q]:"parseURL",[r]:m,assign:"url"}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:g,properties:j,headers:j},type:d}]}]},{conditions:[h,i],type:b,rules:[{conditions:[k,l],type:b,rules:[{endpoint:{url:"https://cloudhsm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[k],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cloudhsm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cloudhsm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:j,headers:j},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cloudhsm.{Region}.{PartitionResult#dnsSuffix}",properties:j,headers:j},type:d}]}]}; +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], +o=[j], +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://cloudhsm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://cloudhsm-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://cloudhsm.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://cloudhsm.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/codegen/sdk-codegen/aws-models/cloudhsm.json b/codegen/sdk-codegen/aws-models/cloudhsm.json index c7d71714c75ce..1157c67f8b4ab 100644 --- a/codegen/sdk-codegen/aws-models/cloudhsm.json +++ b/codegen/sdk-codegen/aws-models/cloudhsm.json @@ -32,7 +32,7 @@ "com.amazonaws.cloudhsm#AZ": { "type": "string", "traits": { - "smithy.api#pattern": "[a-zA-Z0-9\\-]*" + "smithy.api#pattern": "^[a-zA-Z0-9\\-]*$" } }, "com.amazonaws.cloudhsm#AZList": { @@ -61,6 +61,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Adds or overwrites one or more tags for the specified AWS CloudHSM resource.

\n

Each tag consists of a key and a value. Tag keys must be unique to each\n resource.

" } }, @@ -81,6 +84,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#AddTagsToResourceResponse": { @@ -93,6 +99,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#Boolean": { @@ -108,25 +117,25 @@ "min": 600, "max": 2400 }, - "smithy.api#pattern": "[\\w :+=./\\n-]*" + "smithy.api#pattern": "^[\\w :+=./\\n-]*$" } }, "com.amazonaws.cloudhsm#CertificateFingerprint": { "type": "string", "traits": { - "smithy.api#pattern": "([0-9a-fA-F][0-9a-fA-F]:){15}[0-9a-fA-F][0-9a-fA-F]" + "smithy.api#pattern": "^([0-9a-fA-F][0-9a-fA-F]:){15}[0-9a-fA-F][0-9a-fA-F]$" } }, "com.amazonaws.cloudhsm#ClientArn": { "type": "string", "traits": { - "smithy.api#pattern": "arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\\-]*:[0-9]{12}:client-[0-9a-f]{8}" + "smithy.api#pattern": "^arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\\-]*:[0-9]{12}:client-[0-9a-f]{8}$" } }, "com.amazonaws.cloudhsm#ClientLabel": { "type": "string", "traits": { - "smithy.api#pattern": "[a-zA-Z0-9_.-]{2,64}" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]{2,64}$" } }, "com.amazonaws.cloudhsm#ClientList": { @@ -138,22 +147,24 @@ "com.amazonaws.cloudhsm#ClientToken": { "type": "string", "traits": { - "smithy.api#pattern": "[a-zA-Z0-9]{1,64}" + "smithy.api#pattern": "^[a-zA-Z0-9]{1,64}$" } }, "com.amazonaws.cloudhsm#ClientVersion": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "5.1", - "name": "FIVE_ONE" - }, - { - "value": "5.3", - "name": "FIVE_THREE" + "type": "enum", + "members": { + "FIVE_ONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "5.1" + } + }, + "FIVE_THREE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "5.3" } - ] + } } }, "com.amazonaws.cloudhsm#CloudHsmFrontendService": { @@ -269,13 +280,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -283,21 +293,69 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "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" + } + ] + }, + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "fn": "parseURL", + "fn": "aws.partition", "argv": [ { - "ref": "Endpoint" + "ref": "Region" } ], - "assign": "url" + "assign": "PartitionResult" } ], "type": "tree", @@ -312,13 +370,17 @@ }, true ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], "type": "tree", "rules": [ { @@ -326,143 +388,86 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ + true, { - "ref": "PartitionResult" - }, - "supportsFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } ] } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, + ], + "type": "tree", + "rules": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] + "conditions": [], + "endpoint": { + "url": "https://cloudhsm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], - "endpoint": { - "url": "https://cloudhsm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "UseFIPS" + }, + true ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], "type": "tree", "rules": [ { @@ -475,120 +480,190 @@ "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } + "ref": "UseDualStack" + }, + true ] } ], "type": "tree", "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cloudhsm.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://cloudhsm.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://cloudhsm.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudhsm.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudhsm-fips.us-gov-west-1.api.aws" + "url": "https://cloudhsm.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-west-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cloudhsm-fips.us-gov-west-1.amazonaws.com" + "url": "https://cloudhsm-fips.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudhsm.us-gov-west-1.api.aws" + "url": "https://cloudhsm-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-west-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudhsm.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudhsm-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://cloudhsm-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://cloudhsm.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://cloudhsm.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -600,64 +675,160 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cloudhsm-fips.us-east-1.api.aws" + "url": "https://cloudhsm-fips.us-gov-east-1.api.aws" } }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudhsm-fips.us-east-1.amazonaws.com" + "url": "https://cloudhsm-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cloudhsm.us-east-1.api.aws" + "url": "https://cloudhsm.us-gov-east-1.api.aws" } }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudhsm.us-east-1.amazonaws.com" + "url": "https://cloudhsm.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "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://cloudhsm-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://cloudhsm.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://cloudhsm-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://cloudhsm.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -665,8 +836,21 @@ }, "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" } }, @@ -677,8 +861,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -689,10 +873,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -722,22 +912,26 @@ } }, "com.amazonaws.cloudhsm#CloudHsmObjectState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "READY", - "name": "READY" - }, - { - "value": "UPDATING", - "name": "UPDATING" - }, - { - "value": "DEGRADED", - "name": "DEGRADED" + "type": "enum", + "members": { + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "DEGRADED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEGRADED" } - ] + } } }, "com.amazonaws.cloudhsm#CloudHsmServiceException": { @@ -782,6 +976,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Creates a high-availability partition group. A high-availability partition group is a\n group of partitions that spans multiple physical HSMs.

" } }, @@ -797,7 +994,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the inputs for the CreateHapgRequest action.

" + "smithy.api#documentation": "

Contains the inputs for the CreateHapgRequest action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#CreateHapgResponse": { @@ -811,7 +1009,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the output of the CreateHAPartitionGroup action.

" + "smithy.api#documentation": "

Contains the output of the CreateHAPartitionGroup action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#CreateHsm": { @@ -834,6 +1033,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Creates an uninitialized HSM instance.

\n

There is an upfront fee charged for each HSM instance that you create with the\n CreateHsm operation. If you accidentally provision an HSM and want to request a\n refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select\n Account and Billing Support.

\n \n

It can take up to 20 minutes to create and provision an HSM. You can monitor the\n status of the HSM with the DescribeHsm operation. The HSM is ready to be\n initialized when the status changes to RUNNING.

\n
" } }, @@ -902,6 +1104,7 @@ }, "traits": { "smithy.api#documentation": "

Contains the inputs for the CreateHsm operation.

", + "smithy.api#input": {}, "smithy.api#xmlName": "CreateHsmRequest" } }, @@ -916,7 +1119,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the output of the CreateHsm operation.

" + "smithy.api#documentation": "

Contains the output of the CreateHsm operation.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#CreateLunaClient": { @@ -939,6 +1143,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Creates an HSM client.

" } }, @@ -960,7 +1167,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the inputs for the CreateLunaClient action.

" + "smithy.api#documentation": "

Contains the inputs for the CreateLunaClient action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#CreateLunaClientResponse": { @@ -974,7 +1182,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the output of the CreateLunaClient action.

" + "smithy.api#documentation": "

Contains the output of the CreateLunaClient action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#DeleteHapg": { @@ -997,6 +1206,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Deletes a high-availability partition group.

" } }, @@ -1012,7 +1224,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the inputs for the DeleteHapg action.

" + "smithy.api#documentation": "

Contains the inputs for the DeleteHapg action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#DeleteHapgResponse": { @@ -1027,7 +1240,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the output of the DeleteHapg action.

" + "smithy.api#documentation": "

Contains the output of the DeleteHapg action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#DeleteHsm": { @@ -1050,6 +1264,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Deletes an HSM. After completion, this operation cannot be undone and your key material\n cannot be recovered.

" } }, @@ -1067,6 +1284,7 @@ }, "traits": { "smithy.api#documentation": "

Contains the inputs for the DeleteHsm operation.

", + "smithy.api#input": {}, "smithy.api#xmlName": "DeleteHsmRequest" } }, @@ -1082,7 +1300,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the output of the DeleteHsm operation.

" + "smithy.api#documentation": "

Contains the output of the DeleteHsm operation.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#DeleteLunaClient": { @@ -1105,6 +1324,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Deletes a client.

" } }, @@ -1118,6 +1340,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#DeleteLunaClientResponse": { @@ -1130,6 +1355,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#DescribeHapg": { @@ -1152,6 +1380,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Retrieves information about a high-availability partition group.

" } }, @@ -1167,7 +1398,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the inputs for the DescribeHapg action.

" + "smithy.api#documentation": "

Contains the inputs for the DescribeHapg action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#DescribeHapgResponse": { @@ -1229,7 +1461,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the output of the DescribeHapg action.

" + "smithy.api#documentation": "

Contains the output of the DescribeHapg action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#DescribeHsm": { @@ -1252,6 +1485,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Retrieves information about an HSM. You can identify the HSM by its ARN or its serial\n number.

" } }, @@ -1272,7 +1508,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the inputs for the DescribeHsm operation.

" + "smithy.api#documentation": "

Contains the inputs for the DescribeHsm operation.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#DescribeHsmResponse": { @@ -1403,7 +1640,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the output of the DescribeHsm operation.

" + "smithy.api#documentation": "

Contains the output of the DescribeHsm operation.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#DescribeLunaClient": { @@ -1426,6 +1664,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Retrieves information about an HSM client.

" } }, @@ -1444,6 +1685,9 @@ "smithy.api#documentation": "

The certificate fingerprint.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#DescribeLunaClientResponse": { @@ -1479,18 +1723,21 @@ "smithy.api#documentation": "

The label of the client.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#EniId": { "type": "string", "traits": { - "smithy.api#pattern": "eni-[0-9a-f]{8}" + "smithy.api#pattern": "^eni-[0-9a-f]{8}$" } }, "com.amazonaws.cloudhsm#ExternalId": { "type": "string", "traits": { - "smithy.api#pattern": "[\\w :+=./-]*" + "smithy.api#pattern": "^[\\w :+=./-]*$" } }, "com.amazonaws.cloudhsm#GetConfig": { @@ -1513,6 +1760,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Gets the configuration files necessary to connect to all high availability partition\n groups the client is associated with.

" } }, @@ -1540,6 +1790,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#GetConfigResponse": { @@ -1563,12 +1816,15 @@ "smithy.api#documentation": "

The certificate file containing the server.pem files of the HSMs.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#HapgArn": { "type": "string", "traits": { - "smithy.api#pattern": "arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\\-]*:[0-9]{12}:hapg-[0-9a-f]{8}" + "smithy.api#pattern": "^arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\\-]*:[0-9]{12}:hapg-[0-9a-f]{8}$" } }, "com.amazonaws.cloudhsm#HapgList": { @@ -1581,7 +1837,7 @@ "type": "string", "traits": { "smithy.api#documentation": "

An ARN that identifies an HSM.

", - "smithy.api#pattern": "arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\\-]*:[0-9]{12}:hsm-[0-9a-f]{8}" + "smithy.api#pattern": "^arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\\-]*:[0-9]{12}:hsm-[0-9a-f]{8}$" } }, "com.amazonaws.cloudhsm#HsmList": { @@ -1596,48 +1852,60 @@ "com.amazonaws.cloudhsm#HsmSerialNumber": { "type": "string", "traits": { - "smithy.api#pattern": "\\d{1,16}" + "smithy.api#pattern": "^\\d{1,16}$" } }, "com.amazonaws.cloudhsm#HsmStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "UPDATING", - "name": "UPDATING" - }, - { - "value": "SUSPENDED", - "name": "SUSPENDED" - }, - { - "value": "TERMINATING", - "name": "TERMINATING" - }, - { - "value": "TERMINATED", - "name": "TERMINATED" - }, - { - "value": "DEGRADED", - "name": "DEGRADED" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "SUSPENDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUSPENDED" + } + }, + "TERMINATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATING" + } + }, + "TERMINATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATED" } - ] + }, + "DEGRADED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEGRADED" + } + } } }, "com.amazonaws.cloudhsm#IamRoleArn": { "type": "string", "traits": { - "smithy.api#pattern": "arn:aws(-iso)?:iam::[0-9]{12}:role/[a-zA-Z0-9_\\+=,\\.\\-@]{1,64}" + "smithy.api#pattern": "^arn:aws(-iso)?:iam::[0-9]{12}:role/[a-zA-Z0-9_\\+=,\\.\\-@]{1,64}$" } }, "com.amazonaws.cloudhsm#InvalidRequestException": { @@ -1665,13 +1933,13 @@ "com.amazonaws.cloudhsm#IpAddress": { "type": "string", "traits": { - "smithy.api#pattern": "\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}" + "smithy.api#pattern": "^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$" } }, "com.amazonaws.cloudhsm#Label": { "type": "string", "traits": { - "smithy.api#pattern": "[a-zA-Z0-9_.-]{1,64}" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]{1,64}$" } }, "com.amazonaws.cloudhsm#ListAvailableZones": { @@ -1694,6 +1962,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Lists the Availability Zones that have available AWS CloudHSM capacity.

" } }, @@ -1701,7 +1972,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

Contains the inputs for the ListAvailableZones action.

" + "smithy.api#documentation": "

Contains the inputs for the ListAvailableZones action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#ListAvailableZonesResponse": { @@ -1713,6 +1985,9 @@ "smithy.api#documentation": "

The list of Availability Zones that have available AWS CloudHSM capacity.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#ListHapgs": { @@ -1735,6 +2010,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Lists the high-availability partition groups for the account.

\n

This operation supports pagination with the use of the NextToken member.\n If more results are available, the NextToken member of the response contains a\n token that you pass in the next call to ListHapgs to retrieve the next set of\n items.

" } }, @@ -1747,6 +2025,9 @@ "smithy.api#documentation": "

The NextToken value from a previous call to ListHapgs. Pass\n null if this is the first call.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#ListHapgsResponse": { @@ -1765,6 +2046,9 @@ "smithy.api#documentation": "

If not null, more results are available. Pass this value to ListHapgs to\n retrieve the next set of items.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#ListHsms": { @@ -1787,6 +2071,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Retrieves the identifiers of all of the HSMs provisioned for the current\n customer.

\n

This operation supports pagination with the use of the NextToken member.\n If more results are available, the NextToken member of the response contains a\n token that you pass in the next call to ListHsms to retrieve the next set of\n items.

" } }, @@ -1799,6 +2086,9 @@ "smithy.api#documentation": "

The NextToken value from a previous call to ListHsms. Pass\n null if this is the first call.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#ListHsmsResponse": { @@ -1818,7 +2108,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the output of the ListHsms operation.

" + "smithy.api#documentation": "

Contains the output of the ListHsms operation.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#ListLunaClients": { @@ -1841,6 +2132,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Lists all of the clients.

\n

This operation supports pagination with the use of the NextToken member.\n If more results are available, the NextToken member of the response contains a\n token that you pass in the next call to ListLunaClients to retrieve the next set\n of items.

" } }, @@ -1853,6 +2147,9 @@ "smithy.api#documentation": "

The NextToken value from a previous call to ListLunaClients.\n Pass null if this is the first call.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#ListLunaClientsResponse": { @@ -1871,6 +2168,9 @@ "smithy.api#documentation": "

If not null, more results are available. Pass this to ListLunaClients to\n retrieve the next set of items.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#ListTagsForResource": { @@ -1893,6 +2193,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Returns a list of all tags for the specified AWS CloudHSM resource.

" } }, @@ -1906,6 +2209,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#ListTagsForResourceResponse": { @@ -1918,6 +2224,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#ModifyHapg": { @@ -1940,6 +2249,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Modifies an existing high-availability partition group.

" } }, @@ -1965,6 +2277,9 @@ "smithy.api#documentation": "

The list of partition serial numbers to make members of the high-availability partition\n group.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#ModifyHapgResponse": { @@ -1976,6 +2291,9 @@ "smithy.api#documentation": "

The ARN of the high-availability partition group.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#ModifyHsm": { @@ -1998,6 +2316,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Modifies an HSM.

\n \n

This operation can result in the HSM being offline for up to 15 minutes while the AWS\n CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure\n that your AWS CloudHSM service is configured for high availability, and consider executing this\n operation during a maintenance window.

\n
" } }, @@ -2050,6 +2371,7 @@ }, "traits": { "smithy.api#documentation": "

Contains the inputs for the ModifyHsm operation.

", + "smithy.api#input": {}, "smithy.api#xmlName": "ModifyHsmRequest" } }, @@ -2064,7 +2386,8 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the output of the ModifyHsm operation.

" + "smithy.api#documentation": "

Contains the output of the ModifyHsm operation.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#ModifyLunaClient": { @@ -2081,6 +2404,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Modifies the certificate used by the client.

\n

This action can potentially start a workflow to install the new certificate on the\n client's HSMs.

" } }, @@ -2101,6 +2427,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#ModifyLunaClientResponse": { @@ -2112,18 +2441,21 @@ "smithy.api#documentation": "

The ARN of the client.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#PaginationToken": { "type": "string", "traits": { - "smithy.api#pattern": "[a-zA-Z0-9+/]*" + "smithy.api#pattern": "^[a-zA-Z0-9+/]*$" } }, "com.amazonaws.cloudhsm#PartitionArn": { "type": "string", "traits": { - "smithy.api#pattern": "arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\\-]*:[0-9]{12}:hsm-[0-9a-f]{8}/partition-[0-9]{6,12}" + "smithy.api#pattern": "^arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\\-]*:[0-9]{12}:hsm-[0-9a-f]{8}/partition-[0-9]{6,12}$" } }, "com.amazonaws.cloudhsm#PartitionList": { @@ -2135,7 +2467,7 @@ "com.amazonaws.cloudhsm#PartitionSerial": { "type": "string", "traits": { - "smithy.api#pattern": "\\d{6,12}" + "smithy.api#pattern": "^\\d{6,12}$" } }, "com.amazonaws.cloudhsm#PartitionSerialList": { @@ -2164,6 +2496,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This API is deprecated." + }, "smithy.api#documentation": "

This is documentation for AWS CloudHSM Classic. For\n more information, see AWS CloudHSM\n Classic FAQs, the AWS\n CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

\n

\n For information about the current version of AWS\n CloudHSM, see AWS CloudHSM, the\n AWS CloudHSM User Guide,\n and the AWS CloudHSM API\n Reference.

\n

Removes one or more tags from the specified AWS CloudHSM resource.

\n

To remove a tag, specify only the tag key to remove (not the value). To overwrite the\n value for an existing tag, use AddTagsToResource.

" } }, @@ -2184,6 +2519,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsm#RemoveTagsFromResourceResponse": { @@ -2196,36 +2534,41 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsm#SshKey": { "type": "string", "traits": { - "smithy.api#pattern": "[a-zA-Z0-9+/= ._:\\\\@-]*" + "smithy.api#pattern": "^[a-zA-Z0-9+/= ._:\\\\@-]*$" } }, "com.amazonaws.cloudhsm#String": { "type": "string", "traits": { - "smithy.api#pattern": "[\\w :+=./\\\\-]*" + "smithy.api#pattern": "^[\\w :+=./\\\\-]*$" } }, "com.amazonaws.cloudhsm#SubnetId": { "type": "string", "traits": { - "smithy.api#pattern": "subnet-[0-9a-f]{8}" + "smithy.api#pattern": "^subnet-[0-9a-f]{8}$" } }, "com.amazonaws.cloudhsm#SubscriptionType": { - "type": "string", - "traits": { - "smithy.api#documentation": "

Specifies the type of subscription for the HSM.

\n ", - "smithy.api#enum": [ - { - "value": "PRODUCTION", - "name": "PRODUCTION" + "type": "enum", + "members": { + "PRODUCTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRODUCTION" } - ] + } + }, + "traits": { + "smithy.api#documentation": "

Specifies the type of subscription for the HSM.

\n " } }, "com.amazonaws.cloudhsm#Tag": { @@ -2283,14 +2626,14 @@ "com.amazonaws.cloudhsm#Timestamp": { "type": "string", "traits": { - "smithy.api#pattern": "\\d*" + "smithy.api#pattern": "^\\d*$" } }, "com.amazonaws.cloudhsm#VpcId": { "type": "string", "traits": { - "smithy.api#pattern": "vpc-[0-9a-f]{8}" + "smithy.api#pattern": "^vpc-[0-9a-f]{8}$" } } } -} \ No newline at end of file +}