@aws-sdk/client-cloudhsm-v2 3.325.0 → 3.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,15 @@ export interface CopyBackupToRegionCommandOutput extends CopyBackupToRegionRespo
38
38
  * };
39
39
  * const command = new CopyBackupToRegionCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // CopyBackupToRegionResponse
42
+ * // DestinationBackup: { // DestinationBackup
43
+ * // CreateTimestamp: new Date("TIMESTAMP"),
44
+ * // SourceRegion: "STRING_VALUE",
45
+ * // SourceBackup: "STRING_VALUE",
46
+ * // SourceCluster: "STRING_VALUE",
47
+ * // },
48
+ * // };
49
+ *
41
50
  * ```
42
51
  *
43
52
  * @param CopyBackupToRegionCommandInput - {@link CopyBackupToRegionCommandInput}
@@ -67,6 +76,8 @@ export interface CopyBackupToRegionCommandOutput extends CopyBackupToRegionRespo
67
76
  * @throws {@link CloudHsmTagException} (client fault)
68
77
  * <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
69
78
  *
79
+ * @throws {@link CloudHSMV2ServiceException}
80
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
70
81
  *
71
82
  */
72
83
  export declare class CopyBackupToRegionCommand extends $Command<CopyBackupToRegionCommandInput, CopyBackupToRegionCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -45,6 +45,53 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
45
45
  * };
46
46
  * const command = new CreateClusterCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // CreateClusterResponse
49
+ * // Cluster: { // Cluster
50
+ * // BackupPolicy: "STRING_VALUE",
51
+ * // BackupRetentionPolicy: { // BackupRetentionPolicy
52
+ * // Type: "STRING_VALUE",
53
+ * // Value: "STRING_VALUE",
54
+ * // },
55
+ * // ClusterId: "STRING_VALUE",
56
+ * // CreateTimestamp: new Date("TIMESTAMP"),
57
+ * // Hsms: [ // Hsms
58
+ * // { // Hsm
59
+ * // AvailabilityZone: "STRING_VALUE",
60
+ * // ClusterId: "STRING_VALUE",
61
+ * // SubnetId: "STRING_VALUE",
62
+ * // EniId: "STRING_VALUE",
63
+ * // EniIp: "STRING_VALUE",
64
+ * // HsmId: "STRING_VALUE", // required
65
+ * // State: "STRING_VALUE",
66
+ * // StateMessage: "STRING_VALUE",
67
+ * // },
68
+ * // ],
69
+ * // HsmType: "STRING_VALUE",
70
+ * // PreCoPassword: "STRING_VALUE",
71
+ * // SecurityGroup: "STRING_VALUE",
72
+ * // SourceBackupId: "STRING_VALUE",
73
+ * // State: "STRING_VALUE",
74
+ * // StateMessage: "STRING_VALUE",
75
+ * // SubnetMapping: { // ExternalSubnetMapping
76
+ * // "<keys>": "STRING_VALUE",
77
+ * // },
78
+ * // VpcId: "STRING_VALUE",
79
+ * // Certificates: { // Certificates
80
+ * // ClusterCsr: "STRING_VALUE",
81
+ * // HsmCertificate: "STRING_VALUE",
82
+ * // AwsHardwareCertificate: "STRING_VALUE",
83
+ * // ManufacturerHardwareCertificate: "STRING_VALUE",
84
+ * // ClusterCertificate: "STRING_VALUE",
85
+ * // },
86
+ * // TagList: [ // TagList
87
+ * // { // Tag
88
+ * // Key: "STRING_VALUE", // required
89
+ * // Value: "STRING_VALUE", // required
90
+ * // },
91
+ * // ],
92
+ * // },
93
+ * // };
94
+ *
48
95
  * ```
49
96
  *
50
97
  * @param CreateClusterCommandInput - {@link CreateClusterCommandInput}
@@ -74,6 +121,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
74
121
  * @throws {@link CloudHsmTagException} (client fault)
75
122
  * <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
76
123
  *
124
+ * @throws {@link CloudHSMV2ServiceException}
125
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
77
126
  *
78
127
  */
79
128
  export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -34,6 +34,19 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
34
34
  * };
35
35
  * const command = new CreateHsmCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // CreateHsmResponse
38
+ * // Hsm: { // Hsm
39
+ * // AvailabilityZone: "STRING_VALUE",
40
+ * // ClusterId: "STRING_VALUE",
41
+ * // SubnetId: "STRING_VALUE",
42
+ * // EniId: "STRING_VALUE",
43
+ * // EniIp: "STRING_VALUE",
44
+ * // HsmId: "STRING_VALUE", // required
45
+ * // State: "STRING_VALUE",
46
+ * // StateMessage: "STRING_VALUE",
47
+ * // },
48
+ * // };
49
+ *
37
50
  * ```
38
51
  *
39
52
  * @param CreateHsmCommandInput - {@link CreateHsmCommandInput}
@@ -60,6 +73,8 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
60
73
  * @throws {@link CloudHsmServiceException} (client fault)
61
74
  * <p>The request was rejected because an error occurred.</p>
62
75
  *
76
+ * @throws {@link CloudHSMV2ServiceException}
77
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
63
78
  *
64
79
  */
65
80
  export declare class CreateHsmCommand extends $Command<CreateHsmCommandInput, CreateHsmCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -33,6 +33,27 @@ export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __Metad
33
33
  * };
34
34
  * const command = new DeleteBackupCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // DeleteBackupResponse
37
+ * // Backup: { // Backup
38
+ * // BackupId: "STRING_VALUE", // required
39
+ * // BackupState: "STRING_VALUE",
40
+ * // ClusterId: "STRING_VALUE",
41
+ * // CreateTimestamp: new Date("TIMESTAMP"),
42
+ * // CopyTimestamp: new Date("TIMESTAMP"),
43
+ * // NeverExpires: true || false,
44
+ * // SourceRegion: "STRING_VALUE",
45
+ * // SourceBackup: "STRING_VALUE",
46
+ * // SourceCluster: "STRING_VALUE",
47
+ * // DeleteTimestamp: new Date("TIMESTAMP"),
48
+ * // TagList: [ // TagList
49
+ * // { // Tag
50
+ * // Key: "STRING_VALUE", // required
51
+ * // Value: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // },
55
+ * // };
56
+ *
36
57
  * ```
37
58
  *
38
59
  * @param DeleteBackupCommandInput - {@link DeleteBackupCommandInput}
@@ -59,6 +80,8 @@ export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __Metad
59
80
  * @throws {@link CloudHsmServiceException} (client fault)
60
81
  * <p>The request was rejected because an error occurred.</p>
61
82
  *
83
+ * @throws {@link CloudHSMV2ServiceException}
84
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
62
85
  *
63
86
  */
64
87
  export declare class DeleteBackupCommand extends $Command<DeleteBackupCommandInput, DeleteBackupCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -32,6 +32,53 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
32
32
  * };
33
33
  * const command = new DeleteClusterCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DeleteClusterResponse
36
+ * // Cluster: { // Cluster
37
+ * // BackupPolicy: "STRING_VALUE",
38
+ * // BackupRetentionPolicy: { // BackupRetentionPolicy
39
+ * // Type: "STRING_VALUE",
40
+ * // Value: "STRING_VALUE",
41
+ * // },
42
+ * // ClusterId: "STRING_VALUE",
43
+ * // CreateTimestamp: new Date("TIMESTAMP"),
44
+ * // Hsms: [ // Hsms
45
+ * // { // Hsm
46
+ * // AvailabilityZone: "STRING_VALUE",
47
+ * // ClusterId: "STRING_VALUE",
48
+ * // SubnetId: "STRING_VALUE",
49
+ * // EniId: "STRING_VALUE",
50
+ * // EniIp: "STRING_VALUE",
51
+ * // HsmId: "STRING_VALUE", // required
52
+ * // State: "STRING_VALUE",
53
+ * // StateMessage: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // HsmType: "STRING_VALUE",
57
+ * // PreCoPassword: "STRING_VALUE",
58
+ * // SecurityGroup: "STRING_VALUE",
59
+ * // SourceBackupId: "STRING_VALUE",
60
+ * // State: "STRING_VALUE",
61
+ * // StateMessage: "STRING_VALUE",
62
+ * // SubnetMapping: { // ExternalSubnetMapping
63
+ * // "<keys>": "STRING_VALUE",
64
+ * // },
65
+ * // VpcId: "STRING_VALUE",
66
+ * // Certificates: { // Certificates
67
+ * // ClusterCsr: "STRING_VALUE",
68
+ * // HsmCertificate: "STRING_VALUE",
69
+ * // AwsHardwareCertificate: "STRING_VALUE",
70
+ * // ManufacturerHardwareCertificate: "STRING_VALUE",
71
+ * // ClusterCertificate: "STRING_VALUE",
72
+ * // },
73
+ * // TagList: [ // TagList
74
+ * // { // Tag
75
+ * // Key: "STRING_VALUE", // required
76
+ * // Value: "STRING_VALUE", // required
77
+ * // },
78
+ * // ],
79
+ * // },
80
+ * // };
81
+ *
35
82
  * ```
36
83
  *
37
84
  * @param DeleteClusterCommandInput - {@link DeleteClusterCommandInput}
@@ -61,6 +108,8 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
61
108
  * @throws {@link CloudHsmTagException} (client fault)
62
109
  * <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
63
110
  *
111
+ * @throws {@link CloudHSMV2ServiceException}
112
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
64
113
  *
65
114
  */
66
115
  export declare class DeleteClusterCommand extends $Command<DeleteClusterCommandInput, DeleteClusterCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -36,6 +36,10 @@ export interface DeleteHsmCommandOutput extends DeleteHsmResponse, __MetadataBea
36
36
  * };
37
37
  * const command = new DeleteHsmCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DeleteHsmResponse
40
+ * // HsmId: "STRING_VALUE",
41
+ * // };
42
+ *
39
43
  * ```
40
44
  *
41
45
  * @param DeleteHsmCommandInput - {@link DeleteHsmCommandInput}
@@ -62,6 +66,8 @@ export interface DeleteHsmCommandOutput extends DeleteHsmResponse, __MetadataBea
62
66
  * @throws {@link CloudHsmServiceException} (client fault)
63
67
  * <p>The request was rejected because an error occurred.</p>
64
68
  *
69
+ * @throws {@link CloudHSMV2ServiceException}
70
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
65
71
  *
66
72
  */
67
73
  export declare class DeleteHsmCommand extends $Command<DeleteHsmCommandInput, DeleteHsmCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -43,6 +43,30 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _
43
43
  * };
44
44
  * const command = new DescribeBackupsCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // DescribeBackupsResponse
47
+ * // Backups: [ // Backups
48
+ * // { // Backup
49
+ * // BackupId: "STRING_VALUE", // required
50
+ * // BackupState: "STRING_VALUE",
51
+ * // ClusterId: "STRING_VALUE",
52
+ * // CreateTimestamp: new Date("TIMESTAMP"),
53
+ * // CopyTimestamp: new Date("TIMESTAMP"),
54
+ * // NeverExpires: true || false,
55
+ * // SourceRegion: "STRING_VALUE",
56
+ * // SourceBackup: "STRING_VALUE",
57
+ * // SourceCluster: "STRING_VALUE",
58
+ * // DeleteTimestamp: new Date("TIMESTAMP"),
59
+ * // TagList: [ // TagList
60
+ * // { // Tag
61
+ * // Key: "STRING_VALUE", // required
62
+ * // Value: "STRING_VALUE", // required
63
+ * // },
64
+ * // ],
65
+ * // },
66
+ * // ],
67
+ * // NextToken: "STRING_VALUE",
68
+ * // };
69
+ *
46
70
  * ```
47
71
  *
48
72
  * @param DescribeBackupsCommandInput - {@link DescribeBackupsCommandInput}
@@ -72,6 +96,8 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _
72
96
  * @throws {@link CloudHsmTagException} (client fault)
73
97
  * <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
74
98
  *
99
+ * @throws {@link CloudHSMV2ServiceException}
100
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
75
101
  *
76
102
  */
77
103
  export declare class DescribeBackupsCommand extends $Command<DescribeBackupsCommandInput, DescribeBackupsCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -42,6 +42,56 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
42
42
  * };
43
43
  * const command = new DescribeClustersCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // DescribeClustersResponse
46
+ * // Clusters: [ // Clusters
47
+ * // { // Cluster
48
+ * // BackupPolicy: "STRING_VALUE",
49
+ * // BackupRetentionPolicy: { // BackupRetentionPolicy
50
+ * // Type: "STRING_VALUE",
51
+ * // Value: "STRING_VALUE",
52
+ * // },
53
+ * // ClusterId: "STRING_VALUE",
54
+ * // CreateTimestamp: new Date("TIMESTAMP"),
55
+ * // Hsms: [ // Hsms
56
+ * // { // Hsm
57
+ * // AvailabilityZone: "STRING_VALUE",
58
+ * // ClusterId: "STRING_VALUE",
59
+ * // SubnetId: "STRING_VALUE",
60
+ * // EniId: "STRING_VALUE",
61
+ * // EniIp: "STRING_VALUE",
62
+ * // HsmId: "STRING_VALUE", // required
63
+ * // State: "STRING_VALUE",
64
+ * // StateMessage: "STRING_VALUE",
65
+ * // },
66
+ * // ],
67
+ * // HsmType: "STRING_VALUE",
68
+ * // PreCoPassword: "STRING_VALUE",
69
+ * // SecurityGroup: "STRING_VALUE",
70
+ * // SourceBackupId: "STRING_VALUE",
71
+ * // State: "STRING_VALUE",
72
+ * // StateMessage: "STRING_VALUE",
73
+ * // SubnetMapping: { // ExternalSubnetMapping
74
+ * // "<keys>": "STRING_VALUE",
75
+ * // },
76
+ * // VpcId: "STRING_VALUE",
77
+ * // Certificates: { // Certificates
78
+ * // ClusterCsr: "STRING_VALUE",
79
+ * // HsmCertificate: "STRING_VALUE",
80
+ * // AwsHardwareCertificate: "STRING_VALUE",
81
+ * // ManufacturerHardwareCertificate: "STRING_VALUE",
82
+ * // ClusterCertificate: "STRING_VALUE",
83
+ * // },
84
+ * // TagList: [ // TagList
85
+ * // { // Tag
86
+ * // Key: "STRING_VALUE", // required
87
+ * // Value: "STRING_VALUE", // required
88
+ * // },
89
+ * // ],
90
+ * // },
91
+ * // ],
92
+ * // NextToken: "STRING_VALUE",
93
+ * // };
94
+ *
45
95
  * ```
46
96
  *
47
97
  * @param DescribeClustersCommandInput - {@link DescribeClustersCommandInput}
@@ -67,6 +117,8 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
67
117
  * @throws {@link CloudHsmTagException} (client fault)
68
118
  * <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
69
119
  *
120
+ * @throws {@link CloudHSMV2ServiceException}
121
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
70
122
  *
71
123
  */
72
124
  export declare class DescribeClustersCommand extends $Command<DescribeClustersCommandInput, DescribeClustersCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -36,6 +36,11 @@ export interface InitializeClusterCommandOutput extends InitializeClusterRespons
36
36
  * };
37
37
  * const command = new InitializeClusterCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // InitializeClusterResponse
40
+ * // State: "STRING_VALUE",
41
+ * // StateMessage: "STRING_VALUE",
42
+ * // };
43
+ *
39
44
  * ```
40
45
  *
41
46
  * @param InitializeClusterCommandInput - {@link InitializeClusterCommandInput}
@@ -62,6 +67,8 @@ export interface InitializeClusterCommandOutput extends InitializeClusterRespons
62
67
  * @throws {@link CloudHsmServiceException} (client fault)
63
68
  * <p>The request was rejected because an error occurred.</p>
64
69
  *
70
+ * @throws {@link CloudHSMV2ServiceException}
71
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
65
72
  *
66
73
  */
67
74
  export declare class InitializeClusterCommand extends $Command<InitializeClusterCommandInput, InitializeClusterCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -38,6 +38,16 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
38
38
  * };
39
39
  * const command = new ListTagsCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListTagsResponse
42
+ * // TagList: [ // TagList // required
43
+ * // { // Tag
44
+ * // Key: "STRING_VALUE", // required
45
+ * // Value: "STRING_VALUE", // required
46
+ * // },
47
+ * // ],
48
+ * // NextToken: "STRING_VALUE",
49
+ * // };
50
+ *
41
51
  * ```
42
52
  *
43
53
  * @param ListTagsCommandInput - {@link ListTagsCommandInput}
@@ -67,6 +77,8 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
67
77
  * @throws {@link CloudHsmTagException} (client fault)
68
78
  * <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
69
79
  *
80
+ * @throws {@link CloudHSMV2ServiceException}
81
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
70
82
  *
71
83
  */
72
84
  export declare class ListTagsCommand extends $Command<ListTagsCommandInput, ListTagsCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -32,6 +32,27 @@ export interface ModifyBackupAttributesCommandOutput extends ModifyBackupAttribu
32
32
  * };
33
33
  * const command = new ModifyBackupAttributesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ModifyBackupAttributesResponse
36
+ * // Backup: { // Backup
37
+ * // BackupId: "STRING_VALUE", // required
38
+ * // BackupState: "STRING_VALUE",
39
+ * // ClusterId: "STRING_VALUE",
40
+ * // CreateTimestamp: new Date("TIMESTAMP"),
41
+ * // CopyTimestamp: new Date("TIMESTAMP"),
42
+ * // NeverExpires: true || false,
43
+ * // SourceRegion: "STRING_VALUE",
44
+ * // SourceBackup: "STRING_VALUE",
45
+ * // SourceCluster: "STRING_VALUE",
46
+ * // DeleteTimestamp: new Date("TIMESTAMP"),
47
+ * // TagList: [ // TagList
48
+ * // { // Tag
49
+ * // Key: "STRING_VALUE", // required
50
+ * // Value: "STRING_VALUE", // required
51
+ * // },
52
+ * // ],
53
+ * // },
54
+ * // };
55
+ *
35
56
  * ```
36
57
  *
37
58
  * @param ModifyBackupAttributesCommandInput - {@link ModifyBackupAttributesCommandInput}
@@ -58,6 +79,8 @@ export interface ModifyBackupAttributesCommandOutput extends ModifyBackupAttribu
58
79
  * @throws {@link CloudHsmServiceException} (client fault)
59
80
  * <p>The request was rejected because an error occurred.</p>
60
81
  *
82
+ * @throws {@link CloudHSMV2ServiceException}
83
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
61
84
  *
62
85
  */
63
86
  export declare class ModifyBackupAttributesCommand extends $Command<ModifyBackupAttributesCommandInput, ModifyBackupAttributesCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -35,6 +35,53 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met
35
35
  * };
36
36
  * const command = new ModifyClusterCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ModifyClusterResponse
39
+ * // Cluster: { // Cluster
40
+ * // BackupPolicy: "STRING_VALUE",
41
+ * // BackupRetentionPolicy: { // BackupRetentionPolicy
42
+ * // Type: "STRING_VALUE",
43
+ * // Value: "STRING_VALUE",
44
+ * // },
45
+ * // ClusterId: "STRING_VALUE",
46
+ * // CreateTimestamp: new Date("TIMESTAMP"),
47
+ * // Hsms: [ // Hsms
48
+ * // { // Hsm
49
+ * // AvailabilityZone: "STRING_VALUE",
50
+ * // ClusterId: "STRING_VALUE",
51
+ * // SubnetId: "STRING_VALUE",
52
+ * // EniId: "STRING_VALUE",
53
+ * // EniIp: "STRING_VALUE",
54
+ * // HsmId: "STRING_VALUE", // required
55
+ * // State: "STRING_VALUE",
56
+ * // StateMessage: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // HsmType: "STRING_VALUE",
60
+ * // PreCoPassword: "STRING_VALUE",
61
+ * // SecurityGroup: "STRING_VALUE",
62
+ * // SourceBackupId: "STRING_VALUE",
63
+ * // State: "STRING_VALUE",
64
+ * // StateMessage: "STRING_VALUE",
65
+ * // SubnetMapping: { // ExternalSubnetMapping
66
+ * // "<keys>": "STRING_VALUE",
67
+ * // },
68
+ * // VpcId: "STRING_VALUE",
69
+ * // Certificates: { // Certificates
70
+ * // ClusterCsr: "STRING_VALUE",
71
+ * // HsmCertificate: "STRING_VALUE",
72
+ * // AwsHardwareCertificate: "STRING_VALUE",
73
+ * // ManufacturerHardwareCertificate: "STRING_VALUE",
74
+ * // ClusterCertificate: "STRING_VALUE",
75
+ * // },
76
+ * // TagList: [ // TagList
77
+ * // { // Tag
78
+ * // Key: "STRING_VALUE", // required
79
+ * // Value: "STRING_VALUE", // required
80
+ * // },
81
+ * // ],
82
+ * // },
83
+ * // };
84
+ *
38
85
  * ```
39
86
  *
40
87
  * @param ModifyClusterCommandInput - {@link ModifyClusterCommandInput}
@@ -61,6 +108,8 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met
61
108
  * @throws {@link CloudHsmServiceException} (client fault)
62
109
  * <p>The request was rejected because an error occurred.</p>
63
110
  *
111
+ * @throws {@link CloudHSMV2ServiceException}
112
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
64
113
  *
65
114
  */
66
115
  export declare class ModifyClusterCommand extends $Command<ModifyClusterCommandInput, ModifyClusterCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -33,6 +33,27 @@ export interface RestoreBackupCommandOutput extends RestoreBackupResponse, __Met
33
33
  * };
34
34
  * const command = new RestoreBackupCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // RestoreBackupResponse
37
+ * // Backup: { // Backup
38
+ * // BackupId: "STRING_VALUE", // required
39
+ * // BackupState: "STRING_VALUE",
40
+ * // ClusterId: "STRING_VALUE",
41
+ * // CreateTimestamp: new Date("TIMESTAMP"),
42
+ * // CopyTimestamp: new Date("TIMESTAMP"),
43
+ * // NeverExpires: true || false,
44
+ * // SourceRegion: "STRING_VALUE",
45
+ * // SourceBackup: "STRING_VALUE",
46
+ * // SourceCluster: "STRING_VALUE",
47
+ * // DeleteTimestamp: new Date("TIMESTAMP"),
48
+ * // TagList: [ // TagList
49
+ * // { // Tag
50
+ * // Key: "STRING_VALUE", // required
51
+ * // Value: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // },
55
+ * // };
56
+ *
36
57
  * ```
37
58
  *
38
59
  * @param RestoreBackupCommandInput - {@link RestoreBackupCommandInput}
@@ -59,6 +80,8 @@ export interface RestoreBackupCommandOutput extends RestoreBackupResponse, __Met
59
80
  * @throws {@link CloudHsmServiceException} (client fault)
60
81
  * <p>The request was rejected because an error occurred.</p>
61
82
  *
83
+ * @throws {@link CloudHSMV2ServiceException}
84
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
62
85
  *
63
86
  */
64
87
  export declare class RestoreBackupCommand extends $Command<RestoreBackupCommandInput, RestoreBackupCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
37
37
  * };
38
38
  * const command = new TagResourceCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -66,6 +68,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
66
68
  * @throws {@link CloudHsmTagException} (client fault)
67
69
  * <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
68
70
  *
71
+ * @throws {@link CloudHSMV2ServiceException}
72
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
69
73
  *
70
74
  */
71
75
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudHSMV2ClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -63,6 +65,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
63
65
  * @throws {@link CloudHsmTagException} (client fault)
64
66
  * <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
65
67
  *
68
+ * @throws {@link CloudHSMV2ServiceException}
69
+ * <p>Base exception class for all service exceptions from CloudHSMV2 service.</p>
66
70
  *
67
71
  */
68
72
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CloudHSMV2ClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm-v2",
3
3
  "description": "AWS SDK for JavaScript Cloudhsm V2 Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",