@aws-sdk/client-cloudhsm-v2 3.1137.0 → 3.1138.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.
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -371,10 +371,10 @@ const _e = "error";
|
|
|
371
371
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudhsmv2";
|
|
372
372
|
const _se = "server";
|
|
373
373
|
const n0 = "com.amazonaws.cloudhsmv2";
|
|
374
|
-
const _s_registry = TypeRegistry
|
|
374
|
+
const _s_registry = new TypeRegistry(_s);
|
|
375
375
|
var CloudHSMV2ServiceException$ = [-3, _s, "CloudHSMV2ServiceException", 0, [], []];
|
|
376
376
|
_s_registry.registerError(CloudHSMV2ServiceException$, CloudHSMV2ServiceException);
|
|
377
|
-
const n0_registry = TypeRegistry
|
|
377
|
+
const n0_registry = new TypeRegistry(n0);
|
|
378
378
|
var CloudHsmAccessDeniedException$ = [-3, n0, _CHADE,
|
|
379
379
|
{ [_e]: _c },
|
|
380
380
|
[_M],
|
|
@@ -130,10 +130,10 @@ const n0 = "com.amazonaws.cloudhsmv2";
|
|
|
130
130
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
131
131
|
import { CloudHSMV2ServiceException } from "../models/CloudHSMV2ServiceException";
|
|
132
132
|
import { CloudHsmAccessDeniedException, CloudHsmInternalFailureException, CloudHsmInvalidRequestException, CloudHsmResourceLimitExceededException, CloudHsmResourceNotFoundException, CloudHsmServiceException, CloudHsmTagException, } from "../models/errors";
|
|
133
|
-
const _s_registry = TypeRegistry
|
|
133
|
+
const _s_registry = new TypeRegistry(_s);
|
|
134
134
|
export var CloudHSMV2ServiceException$ = [-3, _s, "CloudHSMV2ServiceException", 0, [], []];
|
|
135
135
|
_s_registry.registerError(CloudHSMV2ServiceException$, CloudHSMV2ServiceException);
|
|
136
|
-
const n0_registry = TypeRegistry
|
|
136
|
+
const n0_registry = new TypeRegistry(n0);
|
|
137
137
|
export var CloudHsmAccessDeniedException$ = [-3, n0, _CHADE,
|
|
138
138
|
{ [_e]: _c },
|
|
139
139
|
[_M],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CloudHSMV2Client } from "./CloudHSMV2Client";
|
|
3
3
|
import { type CopyBackupToRegionCommandInput, type CopyBackupToRegionCommandOutput } from "./commands/CopyBackupToRegionCommand";
|
|
4
4
|
import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
@@ -18,120 +18,126 @@ import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput
|
|
|
18
18
|
import { type RestoreBackupCommandInput, type RestoreBackupCommandOutput } from "./commands/RestoreBackupCommand";
|
|
19
19
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
20
20
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface CloudHSMV2RequestOptions extends __HttpHandlerOptions {
|
|
25
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
26
|
+
}
|
|
21
27
|
export interface CloudHSMV2 {
|
|
22
28
|
/**
|
|
23
29
|
* @see {@link CopyBackupToRegionCommand}
|
|
24
30
|
*/
|
|
25
|
-
copyBackupToRegion(args: CopyBackupToRegionCommandInput, options?:
|
|
31
|
+
copyBackupToRegion(args: CopyBackupToRegionCommandInput, options?: CloudHSMV2RequestOptions): Promise<CopyBackupToRegionCommandOutput>;
|
|
26
32
|
copyBackupToRegion(args: CopyBackupToRegionCommandInput, cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void): void;
|
|
27
|
-
copyBackupToRegion(args: CopyBackupToRegionCommandInput, options:
|
|
33
|
+
copyBackupToRegion(args: CopyBackupToRegionCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void): void;
|
|
28
34
|
/**
|
|
29
35
|
* @see {@link CreateClusterCommand}
|
|
30
36
|
*/
|
|
31
|
-
createCluster(args: CreateClusterCommandInput, options?:
|
|
37
|
+
createCluster(args: CreateClusterCommandInput, options?: CloudHSMV2RequestOptions): Promise<CreateClusterCommandOutput>;
|
|
32
38
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
33
|
-
createCluster(args: CreateClusterCommandInput, options:
|
|
39
|
+
createCluster(args: CreateClusterCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
34
40
|
/**
|
|
35
41
|
* @see {@link CreateHsmCommand}
|
|
36
42
|
*/
|
|
37
|
-
createHsm(args: CreateHsmCommandInput, options?:
|
|
43
|
+
createHsm(args: CreateHsmCommandInput, options?: CloudHSMV2RequestOptions): Promise<CreateHsmCommandOutput>;
|
|
38
44
|
createHsm(args: CreateHsmCommandInput, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
|
|
39
|
-
createHsm(args: CreateHsmCommandInput, options:
|
|
45
|
+
createHsm(args: CreateHsmCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
|
|
40
46
|
/**
|
|
41
47
|
* @see {@link DeleteBackupCommand}
|
|
42
48
|
*/
|
|
43
|
-
deleteBackup(args: DeleteBackupCommandInput, options?:
|
|
49
|
+
deleteBackup(args: DeleteBackupCommandInput, options?: CloudHSMV2RequestOptions): Promise<DeleteBackupCommandOutput>;
|
|
44
50
|
deleteBackup(args: DeleteBackupCommandInput, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void;
|
|
45
|
-
deleteBackup(args: DeleteBackupCommandInput, options:
|
|
51
|
+
deleteBackup(args: DeleteBackupCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void;
|
|
46
52
|
/**
|
|
47
53
|
* @see {@link DeleteClusterCommand}
|
|
48
54
|
*/
|
|
49
|
-
deleteCluster(args: DeleteClusterCommandInput, options?:
|
|
55
|
+
deleteCluster(args: DeleteClusterCommandInput, options?: CloudHSMV2RequestOptions): Promise<DeleteClusterCommandOutput>;
|
|
50
56
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
51
|
-
deleteCluster(args: DeleteClusterCommandInput, options:
|
|
57
|
+
deleteCluster(args: DeleteClusterCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
52
58
|
/**
|
|
53
59
|
* @see {@link DeleteHsmCommand}
|
|
54
60
|
*/
|
|
55
|
-
deleteHsm(args: DeleteHsmCommandInput, options?:
|
|
61
|
+
deleteHsm(args: DeleteHsmCommandInput, options?: CloudHSMV2RequestOptions): Promise<DeleteHsmCommandOutput>;
|
|
56
62
|
deleteHsm(args: DeleteHsmCommandInput, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
|
|
57
|
-
deleteHsm(args: DeleteHsmCommandInput, options:
|
|
63
|
+
deleteHsm(args: DeleteHsmCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
|
|
58
64
|
/**
|
|
59
65
|
* @see {@link DeleteResourcePolicyCommand}
|
|
60
66
|
*/
|
|
61
67
|
deleteResourcePolicy(): Promise<DeleteResourcePolicyCommandOutput>;
|
|
62
|
-
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?:
|
|
68
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: CloudHSMV2RequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
|
|
63
69
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
64
|
-
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options:
|
|
70
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
65
71
|
/**
|
|
66
72
|
* @see {@link DescribeBackupsCommand}
|
|
67
73
|
*/
|
|
68
74
|
describeBackups(): Promise<DescribeBackupsCommandOutput>;
|
|
69
|
-
describeBackups(args: DescribeBackupsCommandInput, options?:
|
|
75
|
+
describeBackups(args: DescribeBackupsCommandInput, options?: CloudHSMV2RequestOptions): Promise<DescribeBackupsCommandOutput>;
|
|
70
76
|
describeBackups(args: DescribeBackupsCommandInput, cb: (err: any, data?: DescribeBackupsCommandOutput) => void): void;
|
|
71
|
-
describeBackups(args: DescribeBackupsCommandInput, options:
|
|
77
|
+
describeBackups(args: DescribeBackupsCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: DescribeBackupsCommandOutput) => void): void;
|
|
72
78
|
/**
|
|
73
79
|
* @see {@link DescribeClustersCommand}
|
|
74
80
|
*/
|
|
75
81
|
describeClusters(): Promise<DescribeClustersCommandOutput>;
|
|
76
|
-
describeClusters(args: DescribeClustersCommandInput, options?:
|
|
82
|
+
describeClusters(args: DescribeClustersCommandInput, options?: CloudHSMV2RequestOptions): Promise<DescribeClustersCommandOutput>;
|
|
77
83
|
describeClusters(args: DescribeClustersCommandInput, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
78
|
-
describeClusters(args: DescribeClustersCommandInput, options:
|
|
84
|
+
describeClusters(args: DescribeClustersCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
79
85
|
/**
|
|
80
86
|
* @see {@link GetResourcePolicyCommand}
|
|
81
87
|
*/
|
|
82
88
|
getResourcePolicy(): Promise<GetResourcePolicyCommandOutput>;
|
|
83
|
-
getResourcePolicy(args: GetResourcePolicyCommandInput, options?:
|
|
89
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: CloudHSMV2RequestOptions): Promise<GetResourcePolicyCommandOutput>;
|
|
84
90
|
getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
85
|
-
getResourcePolicy(args: GetResourcePolicyCommandInput, options:
|
|
91
|
+
getResourcePolicy(args: GetResourcePolicyCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
86
92
|
/**
|
|
87
93
|
* @see {@link InitializeClusterCommand}
|
|
88
94
|
*/
|
|
89
|
-
initializeCluster(args: InitializeClusterCommandInput, options?:
|
|
95
|
+
initializeCluster(args: InitializeClusterCommandInput, options?: CloudHSMV2RequestOptions): Promise<InitializeClusterCommandOutput>;
|
|
90
96
|
initializeCluster(args: InitializeClusterCommandInput, cb: (err: any, data?: InitializeClusterCommandOutput) => void): void;
|
|
91
|
-
initializeCluster(args: InitializeClusterCommandInput, options:
|
|
97
|
+
initializeCluster(args: InitializeClusterCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: InitializeClusterCommandOutput) => void): void;
|
|
92
98
|
/**
|
|
93
99
|
* @see {@link ListTagsCommand}
|
|
94
100
|
*/
|
|
95
|
-
listTags(args: ListTagsCommandInput, options?:
|
|
101
|
+
listTags(args: ListTagsCommandInput, options?: CloudHSMV2RequestOptions): Promise<ListTagsCommandOutput>;
|
|
96
102
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
97
|
-
listTags(args: ListTagsCommandInput, options:
|
|
103
|
+
listTags(args: ListTagsCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
98
104
|
/**
|
|
99
105
|
* @see {@link ModifyBackupAttributesCommand}
|
|
100
106
|
*/
|
|
101
|
-
modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, options?:
|
|
107
|
+
modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, options?: CloudHSMV2RequestOptions): Promise<ModifyBackupAttributesCommandOutput>;
|
|
102
108
|
modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void): void;
|
|
103
|
-
modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, options:
|
|
109
|
+
modifyBackupAttributes(args: ModifyBackupAttributesCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void): void;
|
|
104
110
|
/**
|
|
105
111
|
* @see {@link ModifyClusterCommand}
|
|
106
112
|
*/
|
|
107
|
-
modifyCluster(args: ModifyClusterCommandInput, options?:
|
|
113
|
+
modifyCluster(args: ModifyClusterCommandInput, options?: CloudHSMV2RequestOptions): Promise<ModifyClusterCommandOutput>;
|
|
108
114
|
modifyCluster(args: ModifyClusterCommandInput, cb: (err: any, data?: ModifyClusterCommandOutput) => void): void;
|
|
109
|
-
modifyCluster(args: ModifyClusterCommandInput, options:
|
|
115
|
+
modifyCluster(args: ModifyClusterCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: ModifyClusterCommandOutput) => void): void;
|
|
110
116
|
/**
|
|
111
117
|
* @see {@link PutResourcePolicyCommand}
|
|
112
118
|
*/
|
|
113
119
|
putResourcePolicy(): Promise<PutResourcePolicyCommandOutput>;
|
|
114
|
-
putResourcePolicy(args: PutResourcePolicyCommandInput, options?:
|
|
120
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: CloudHSMV2RequestOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
115
121
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
116
|
-
putResourcePolicy(args: PutResourcePolicyCommandInput, options:
|
|
122
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
117
123
|
/**
|
|
118
124
|
* @see {@link RestoreBackupCommand}
|
|
119
125
|
*/
|
|
120
|
-
restoreBackup(args: RestoreBackupCommandInput, options?:
|
|
126
|
+
restoreBackup(args: RestoreBackupCommandInput, options?: CloudHSMV2RequestOptions): Promise<RestoreBackupCommandOutput>;
|
|
121
127
|
restoreBackup(args: RestoreBackupCommandInput, cb: (err: any, data?: RestoreBackupCommandOutput) => void): void;
|
|
122
|
-
restoreBackup(args: RestoreBackupCommandInput, options:
|
|
128
|
+
restoreBackup(args: RestoreBackupCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: RestoreBackupCommandOutput) => void): void;
|
|
123
129
|
/**
|
|
124
130
|
* @see {@link TagResourceCommand}
|
|
125
131
|
*/
|
|
126
|
-
tagResource(args: TagResourceCommandInput, options?:
|
|
132
|
+
tagResource(args: TagResourceCommandInput, options?: CloudHSMV2RequestOptions): Promise<TagResourceCommandOutput>;
|
|
127
133
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
128
|
-
tagResource(args: TagResourceCommandInput, options:
|
|
134
|
+
tagResource(args: TagResourceCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
129
135
|
/**
|
|
130
136
|
* @see {@link UntagResourceCommand}
|
|
131
137
|
*/
|
|
132
|
-
untagResource(args: UntagResourceCommandInput, options?:
|
|
138
|
+
untagResource(args: UntagResourceCommandInput, options?: CloudHSMV2RequestOptions): Promise<UntagResourceCommandOutput>;
|
|
133
139
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
134
|
-
untagResource(args: UntagResourceCommandInput, options:
|
|
140
|
+
untagResource(args: UntagResourceCommandInput, options: CloudHSMV2RequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
135
141
|
/**
|
|
136
142
|
* @see {@link DescribeBackupsCommand}
|
|
137
143
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -64,10 +65,13 @@ import {
|
|
|
64
65
|
UntagResourceCommandInput,
|
|
65
66
|
UntagResourceCommandOutput,
|
|
66
67
|
} from "./commands/UntagResourceCommand";
|
|
68
|
+
export interface CloudHSMV2RequestOptions extends __HttpHandlerOptions {
|
|
69
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
70
|
+
}
|
|
67
71
|
export interface CloudHSMV2 {
|
|
68
72
|
copyBackupToRegion(
|
|
69
73
|
args: CopyBackupToRegionCommandInput,
|
|
70
|
-
options?:
|
|
74
|
+
options?: CloudHSMV2RequestOptions,
|
|
71
75
|
): Promise<CopyBackupToRegionCommandOutput>;
|
|
72
76
|
copyBackupToRegion(
|
|
73
77
|
args: CopyBackupToRegionCommandInput,
|
|
@@ -75,12 +79,12 @@ export interface CloudHSMV2 {
|
|
|
75
79
|
): void;
|
|
76
80
|
copyBackupToRegion(
|
|
77
81
|
args: CopyBackupToRegionCommandInput,
|
|
78
|
-
options:
|
|
82
|
+
options: CloudHSMV2RequestOptions,
|
|
79
83
|
cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void,
|
|
80
84
|
): void;
|
|
81
85
|
createCluster(
|
|
82
86
|
args: CreateClusterCommandInput,
|
|
83
|
-
options?:
|
|
87
|
+
options?: CloudHSMV2RequestOptions,
|
|
84
88
|
): Promise<CreateClusterCommandOutput>;
|
|
85
89
|
createCluster(
|
|
86
90
|
args: CreateClusterCommandInput,
|
|
@@ -88,12 +92,12 @@ export interface CloudHSMV2 {
|
|
|
88
92
|
): void;
|
|
89
93
|
createCluster(
|
|
90
94
|
args: CreateClusterCommandInput,
|
|
91
|
-
options:
|
|
95
|
+
options: CloudHSMV2RequestOptions,
|
|
92
96
|
cb: (err: any, data?: CreateClusterCommandOutput) => void,
|
|
93
97
|
): void;
|
|
94
98
|
createHsm(
|
|
95
99
|
args: CreateHsmCommandInput,
|
|
96
|
-
options?:
|
|
100
|
+
options?: CloudHSMV2RequestOptions,
|
|
97
101
|
): Promise<CreateHsmCommandOutput>;
|
|
98
102
|
createHsm(
|
|
99
103
|
args: CreateHsmCommandInput,
|
|
@@ -101,12 +105,12 @@ export interface CloudHSMV2 {
|
|
|
101
105
|
): void;
|
|
102
106
|
createHsm(
|
|
103
107
|
args: CreateHsmCommandInput,
|
|
104
|
-
options:
|
|
108
|
+
options: CloudHSMV2RequestOptions,
|
|
105
109
|
cb: (err: any, data?: CreateHsmCommandOutput) => void,
|
|
106
110
|
): void;
|
|
107
111
|
deleteBackup(
|
|
108
112
|
args: DeleteBackupCommandInput,
|
|
109
|
-
options?:
|
|
113
|
+
options?: CloudHSMV2RequestOptions,
|
|
110
114
|
): Promise<DeleteBackupCommandOutput>;
|
|
111
115
|
deleteBackup(
|
|
112
116
|
args: DeleteBackupCommandInput,
|
|
@@ -114,12 +118,12 @@ export interface CloudHSMV2 {
|
|
|
114
118
|
): void;
|
|
115
119
|
deleteBackup(
|
|
116
120
|
args: DeleteBackupCommandInput,
|
|
117
|
-
options:
|
|
121
|
+
options: CloudHSMV2RequestOptions,
|
|
118
122
|
cb: (err: any, data?: DeleteBackupCommandOutput) => void,
|
|
119
123
|
): void;
|
|
120
124
|
deleteCluster(
|
|
121
125
|
args: DeleteClusterCommandInput,
|
|
122
|
-
options?:
|
|
126
|
+
options?: CloudHSMV2RequestOptions,
|
|
123
127
|
): Promise<DeleteClusterCommandOutput>;
|
|
124
128
|
deleteCluster(
|
|
125
129
|
args: DeleteClusterCommandInput,
|
|
@@ -127,12 +131,12 @@ export interface CloudHSMV2 {
|
|
|
127
131
|
): void;
|
|
128
132
|
deleteCluster(
|
|
129
133
|
args: DeleteClusterCommandInput,
|
|
130
|
-
options:
|
|
134
|
+
options: CloudHSMV2RequestOptions,
|
|
131
135
|
cb: (err: any, data?: DeleteClusterCommandOutput) => void,
|
|
132
136
|
): void;
|
|
133
137
|
deleteHsm(
|
|
134
138
|
args: DeleteHsmCommandInput,
|
|
135
|
-
options?:
|
|
139
|
+
options?: CloudHSMV2RequestOptions,
|
|
136
140
|
): Promise<DeleteHsmCommandOutput>;
|
|
137
141
|
deleteHsm(
|
|
138
142
|
args: DeleteHsmCommandInput,
|
|
@@ -140,13 +144,13 @@ export interface CloudHSMV2 {
|
|
|
140
144
|
): void;
|
|
141
145
|
deleteHsm(
|
|
142
146
|
args: DeleteHsmCommandInput,
|
|
143
|
-
options:
|
|
147
|
+
options: CloudHSMV2RequestOptions,
|
|
144
148
|
cb: (err: any, data?: DeleteHsmCommandOutput) => void,
|
|
145
149
|
): void;
|
|
146
150
|
deleteResourcePolicy(): Promise<DeleteResourcePolicyCommandOutput>;
|
|
147
151
|
deleteResourcePolicy(
|
|
148
152
|
args: DeleteResourcePolicyCommandInput,
|
|
149
|
-
options?:
|
|
153
|
+
options?: CloudHSMV2RequestOptions,
|
|
150
154
|
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
151
155
|
deleteResourcePolicy(
|
|
152
156
|
args: DeleteResourcePolicyCommandInput,
|
|
@@ -154,13 +158,13 @@ export interface CloudHSMV2 {
|
|
|
154
158
|
): void;
|
|
155
159
|
deleteResourcePolicy(
|
|
156
160
|
args: DeleteResourcePolicyCommandInput,
|
|
157
|
-
options:
|
|
161
|
+
options: CloudHSMV2RequestOptions,
|
|
158
162
|
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
|
|
159
163
|
): void;
|
|
160
164
|
describeBackups(): Promise<DescribeBackupsCommandOutput>;
|
|
161
165
|
describeBackups(
|
|
162
166
|
args: DescribeBackupsCommandInput,
|
|
163
|
-
options?:
|
|
167
|
+
options?: CloudHSMV2RequestOptions,
|
|
164
168
|
): Promise<DescribeBackupsCommandOutput>;
|
|
165
169
|
describeBackups(
|
|
166
170
|
args: DescribeBackupsCommandInput,
|
|
@@ -168,13 +172,13 @@ export interface CloudHSMV2 {
|
|
|
168
172
|
): void;
|
|
169
173
|
describeBackups(
|
|
170
174
|
args: DescribeBackupsCommandInput,
|
|
171
|
-
options:
|
|
175
|
+
options: CloudHSMV2RequestOptions,
|
|
172
176
|
cb: (err: any, data?: DescribeBackupsCommandOutput) => void,
|
|
173
177
|
): void;
|
|
174
178
|
describeClusters(): Promise<DescribeClustersCommandOutput>;
|
|
175
179
|
describeClusters(
|
|
176
180
|
args: DescribeClustersCommandInput,
|
|
177
|
-
options?:
|
|
181
|
+
options?: CloudHSMV2RequestOptions,
|
|
178
182
|
): Promise<DescribeClustersCommandOutput>;
|
|
179
183
|
describeClusters(
|
|
180
184
|
args: DescribeClustersCommandInput,
|
|
@@ -182,13 +186,13 @@ export interface CloudHSMV2 {
|
|
|
182
186
|
): void;
|
|
183
187
|
describeClusters(
|
|
184
188
|
args: DescribeClustersCommandInput,
|
|
185
|
-
options:
|
|
189
|
+
options: CloudHSMV2RequestOptions,
|
|
186
190
|
cb: (err: any, data?: DescribeClustersCommandOutput) => void,
|
|
187
191
|
): void;
|
|
188
192
|
getResourcePolicy(): Promise<GetResourcePolicyCommandOutput>;
|
|
189
193
|
getResourcePolicy(
|
|
190
194
|
args: GetResourcePolicyCommandInput,
|
|
191
|
-
options?:
|
|
195
|
+
options?: CloudHSMV2RequestOptions,
|
|
192
196
|
): Promise<GetResourcePolicyCommandOutput>;
|
|
193
197
|
getResourcePolicy(
|
|
194
198
|
args: GetResourcePolicyCommandInput,
|
|
@@ -196,12 +200,12 @@ export interface CloudHSMV2 {
|
|
|
196
200
|
): void;
|
|
197
201
|
getResourcePolicy(
|
|
198
202
|
args: GetResourcePolicyCommandInput,
|
|
199
|
-
options:
|
|
203
|
+
options: CloudHSMV2RequestOptions,
|
|
200
204
|
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
201
205
|
): void;
|
|
202
206
|
initializeCluster(
|
|
203
207
|
args: InitializeClusterCommandInput,
|
|
204
|
-
options?:
|
|
208
|
+
options?: CloudHSMV2RequestOptions,
|
|
205
209
|
): Promise<InitializeClusterCommandOutput>;
|
|
206
210
|
initializeCluster(
|
|
207
211
|
args: InitializeClusterCommandInput,
|
|
@@ -209,22 +213,22 @@ export interface CloudHSMV2 {
|
|
|
209
213
|
): void;
|
|
210
214
|
initializeCluster(
|
|
211
215
|
args: InitializeClusterCommandInput,
|
|
212
|
-
options:
|
|
216
|
+
options: CloudHSMV2RequestOptions,
|
|
213
217
|
cb: (err: any, data?: InitializeClusterCommandOutput) => void,
|
|
214
218
|
): void;
|
|
215
219
|
listTags(
|
|
216
220
|
args: ListTagsCommandInput,
|
|
217
|
-
options?:
|
|
221
|
+
options?: CloudHSMV2RequestOptions,
|
|
218
222
|
): Promise<ListTagsCommandOutput>;
|
|
219
223
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
220
224
|
listTags(
|
|
221
225
|
args: ListTagsCommandInput,
|
|
222
|
-
options:
|
|
226
|
+
options: CloudHSMV2RequestOptions,
|
|
223
227
|
cb: (err: any, data?: ListTagsCommandOutput) => void,
|
|
224
228
|
): void;
|
|
225
229
|
modifyBackupAttributes(
|
|
226
230
|
args: ModifyBackupAttributesCommandInput,
|
|
227
|
-
options?:
|
|
231
|
+
options?: CloudHSMV2RequestOptions,
|
|
228
232
|
): Promise<ModifyBackupAttributesCommandOutput>;
|
|
229
233
|
modifyBackupAttributes(
|
|
230
234
|
args: ModifyBackupAttributesCommandInput,
|
|
@@ -232,12 +236,12 @@ export interface CloudHSMV2 {
|
|
|
232
236
|
): void;
|
|
233
237
|
modifyBackupAttributes(
|
|
234
238
|
args: ModifyBackupAttributesCommandInput,
|
|
235
|
-
options:
|
|
239
|
+
options: CloudHSMV2RequestOptions,
|
|
236
240
|
cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void,
|
|
237
241
|
): void;
|
|
238
242
|
modifyCluster(
|
|
239
243
|
args: ModifyClusterCommandInput,
|
|
240
|
-
options?:
|
|
244
|
+
options?: CloudHSMV2RequestOptions,
|
|
241
245
|
): Promise<ModifyClusterCommandOutput>;
|
|
242
246
|
modifyCluster(
|
|
243
247
|
args: ModifyClusterCommandInput,
|
|
@@ -245,13 +249,13 @@ export interface CloudHSMV2 {
|
|
|
245
249
|
): void;
|
|
246
250
|
modifyCluster(
|
|
247
251
|
args: ModifyClusterCommandInput,
|
|
248
|
-
options:
|
|
252
|
+
options: CloudHSMV2RequestOptions,
|
|
249
253
|
cb: (err: any, data?: ModifyClusterCommandOutput) => void,
|
|
250
254
|
): void;
|
|
251
255
|
putResourcePolicy(): Promise<PutResourcePolicyCommandOutput>;
|
|
252
256
|
putResourcePolicy(
|
|
253
257
|
args: PutResourcePolicyCommandInput,
|
|
254
|
-
options?:
|
|
258
|
+
options?: CloudHSMV2RequestOptions,
|
|
255
259
|
): Promise<PutResourcePolicyCommandOutput>;
|
|
256
260
|
putResourcePolicy(
|
|
257
261
|
args: PutResourcePolicyCommandInput,
|
|
@@ -259,12 +263,12 @@ export interface CloudHSMV2 {
|
|
|
259
263
|
): void;
|
|
260
264
|
putResourcePolicy(
|
|
261
265
|
args: PutResourcePolicyCommandInput,
|
|
262
|
-
options:
|
|
266
|
+
options: CloudHSMV2RequestOptions,
|
|
263
267
|
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
|
|
264
268
|
): void;
|
|
265
269
|
restoreBackup(
|
|
266
270
|
args: RestoreBackupCommandInput,
|
|
267
|
-
options?:
|
|
271
|
+
options?: CloudHSMV2RequestOptions,
|
|
268
272
|
): Promise<RestoreBackupCommandOutput>;
|
|
269
273
|
restoreBackup(
|
|
270
274
|
args: RestoreBackupCommandInput,
|
|
@@ -272,12 +276,12 @@ export interface CloudHSMV2 {
|
|
|
272
276
|
): void;
|
|
273
277
|
restoreBackup(
|
|
274
278
|
args: RestoreBackupCommandInput,
|
|
275
|
-
options:
|
|
279
|
+
options: CloudHSMV2RequestOptions,
|
|
276
280
|
cb: (err: any, data?: RestoreBackupCommandOutput) => void,
|
|
277
281
|
): void;
|
|
278
282
|
tagResource(
|
|
279
283
|
args: TagResourceCommandInput,
|
|
280
|
-
options?:
|
|
284
|
+
options?: CloudHSMV2RequestOptions,
|
|
281
285
|
): Promise<TagResourceCommandOutput>;
|
|
282
286
|
tagResource(
|
|
283
287
|
args: TagResourceCommandInput,
|
|
@@ -285,12 +289,12 @@ export interface CloudHSMV2 {
|
|
|
285
289
|
): void;
|
|
286
290
|
tagResource(
|
|
287
291
|
args: TagResourceCommandInput,
|
|
288
|
-
options:
|
|
292
|
+
options: CloudHSMV2RequestOptions,
|
|
289
293
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
290
294
|
): void;
|
|
291
295
|
untagResource(
|
|
292
296
|
args: UntagResourceCommandInput,
|
|
293
|
-
options?:
|
|
297
|
+
options?: CloudHSMV2RequestOptions,
|
|
294
298
|
): Promise<UntagResourceCommandOutput>;
|
|
295
299
|
untagResource(
|
|
296
300
|
args: UntagResourceCommandInput,
|
|
@@ -298,7 +302,7 @@ export interface CloudHSMV2 {
|
|
|
298
302
|
): void;
|
|
299
303
|
untagResource(
|
|
300
304
|
args: UntagResourceCommandInput,
|
|
301
|
-
options:
|
|
305
|
+
options: CloudHSMV2RequestOptions,
|
|
302
306
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
303
307
|
): void;
|
|
304
308
|
paginateDescribeBackups(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudhsm-v2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudhsm V2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudhsm-v2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|