@aws-sdk/client-cloudhsm-v2 3.428.0 → 3.429.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.
@@ -49,7 +49,7 @@ export interface Backup {
49
49
  * @public
50
50
  * <p>The state of the backup.</p>
51
51
  */
52
- BackupState?: BackupState | string;
52
+ BackupState?: BackupState;
53
53
  /**
54
54
  * @public
55
55
  * <p>The identifier (ID) of the cluster that was backed up.</p>
@@ -132,7 +132,7 @@ export interface BackupRetentionPolicy {
132
132
  * <p>The type of backup retention policy. For the <code>DAYS</code> type, the value is
133
133
  * the number of days to retain backups.</p>
134
134
  */
135
- Type?: BackupRetentionType | string;
135
+ Type?: BackupRetentionType;
136
136
  /**
137
137
  * @public
138
138
  * <p>Use a value between 7 - 379.</p>
@@ -411,7 +411,7 @@ export interface Hsm {
411
411
  * @public
412
412
  * <p>The HSM's state.</p>
413
413
  */
414
- State?: HsmState | string;
414
+ State?: HsmState;
415
415
  /**
416
416
  * @public
417
417
  * <p>A description of the HSM's state.</p>
@@ -446,7 +446,7 @@ export interface Cluster {
446
446
  * @public
447
447
  * <p>The cluster's backup policy.</p>
448
448
  */
449
- BackupPolicy?: BackupPolicy | string;
449
+ BackupPolicy?: BackupPolicy;
450
450
  /**
451
451
  * @public
452
452
  * <p>A policy that defines how the service retains backups.</p>
@@ -492,7 +492,7 @@ export interface Cluster {
492
492
  * @public
493
493
  * <p>The cluster's state.</p>
494
494
  */
495
- State?: ClusterState | string;
495
+ State?: ClusterState;
496
496
  /**
497
497
  * @public
498
498
  * <p>A description of the cluster's state.</p>
@@ -777,7 +777,7 @@ export interface InitializeClusterResponse {
777
777
  * @public
778
778
  * <p>The cluster's state.</p>
779
779
  */
780
- State?: ClusterState | string;
780
+ State?: ClusterState;
781
781
  /**
782
782
  * @public
783
783
  * <p>A description of the cluster's state.</p>
@@ -13,7 +13,7 @@ export interface Tag {
13
13
  }
14
14
  export interface Backup {
15
15
  BackupId: string | undefined;
16
- BackupState?: BackupState | string;
16
+ BackupState?: BackupState;
17
17
  ClusterId?: string;
18
18
  CreateTimestamp?: Date;
19
19
  CopyTimestamp?: Date;
@@ -34,7 +34,7 @@ export declare const BackupRetentionType: {
34
34
  export type BackupRetentionType =
35
35
  (typeof BackupRetentionType)[keyof typeof BackupRetentionType];
36
36
  export interface BackupRetentionPolicy {
37
- Type?: BackupRetentionType | string;
37
+ Type?: BackupRetentionType;
38
38
  Value?: string;
39
39
  }
40
40
  export declare class CloudHsmAccessDeniedException extends __BaseException {
@@ -137,7 +137,7 @@ export interface Hsm {
137
137
  EniId?: string;
138
138
  EniIp?: string;
139
139
  HsmId: string | undefined;
140
- State?: HsmState | string;
140
+ State?: HsmState;
141
141
  StateMessage?: string;
142
142
  }
143
143
  export declare const ClusterState: {
@@ -153,7 +153,7 @@ export declare const ClusterState: {
153
153
  };
154
154
  export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
155
155
  export interface Cluster {
156
- BackupPolicy?: BackupPolicy | string;
156
+ BackupPolicy?: BackupPolicy;
157
157
  BackupRetentionPolicy?: BackupRetentionPolicy;
158
158
  ClusterId?: string;
159
159
  CreateTimestamp?: Date;
@@ -162,7 +162,7 @@ export interface Cluster {
162
162
  PreCoPassword?: string;
163
163
  SecurityGroup?: string;
164
164
  SourceBackupId?: string;
165
- State?: ClusterState | string;
165
+ State?: ClusterState;
166
166
  StateMessage?: string;
167
167
  SubnetMapping?: Record<string, string>;
168
168
  VpcId?: string;
@@ -226,7 +226,7 @@ export interface InitializeClusterRequest {
226
226
  TrustAnchor: string | undefined;
227
227
  }
228
228
  export interface InitializeClusterResponse {
229
- State?: ClusterState | string;
229
+ State?: ClusterState;
230
230
  StateMessage?: string;
231
231
  }
232
232
  export interface ListTagsRequest {
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.428.0",
4
+ "version": "3.429.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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",