@aws-sdk/client-storage-gateway 3.934.0 → 3.936.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.
@@ -1,5 +1,21 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { StorageGatewayServiceException as __BaseException } from "./StorageGatewayServiceException";
1
+ import {
2
+ ActiveDirectoryStatus,
3
+ AutomaticUpdatePolicy,
4
+ AvailabilityMonitorTestStatus,
5
+ CacheReportFilterName,
6
+ CacheReportStatus,
7
+ CaseSensitivity,
8
+ EncryptionType,
9
+ ErrorCode,
10
+ FileShareType,
11
+ GatewayCapacity,
12
+ HostEnvironment,
13
+ ObjectACL,
14
+ PoolStatus,
15
+ RetentionLockType,
16
+ SMBSecurityStrategy,
17
+ TapeStorageClass,
18
+ } from "./enums";
3
19
  export interface Tag {
4
20
  Key: string | undefined;
5
21
  Value: string | undefined;
@@ -17,103 +33,10 @@ export interface ActivateGatewayInput {
17
33
  export interface ActivateGatewayOutput {
18
34
  GatewayARN?: string | undefined;
19
35
  }
20
- export declare const ErrorCode: {
21
- readonly ActivationKeyExpired: "ActivationKeyExpired";
22
- readonly ActivationKeyInvalid: "ActivationKeyInvalid";
23
- readonly ActivationKeyNotFound: "ActivationKeyNotFound";
24
- readonly AuthenticationFailure: "AuthenticationFailure";
25
- readonly BandwidthThrottleScheduleNotFound: "BandwidthThrottleScheduleNotFound";
26
- readonly Blocked: "Blocked";
27
- readonly CannotExportSnapshot: "CannotExportSnapshot";
28
- readonly ChapCredentialNotFound: "ChapCredentialNotFound";
29
- readonly DiskAlreadyAllocated: "DiskAlreadyAllocated";
30
- readonly DiskDoesNotExist: "DiskDoesNotExist";
31
- readonly DiskSizeGreaterThanVolumeMaxSize: "DiskSizeGreaterThanVolumeMaxSize";
32
- readonly DiskSizeLessThanVolumeSize: "DiskSizeLessThanVolumeSize";
33
- readonly DiskSizeNotGigAligned: "DiskSizeNotGigAligned";
34
- readonly DuplicateCertificateInfo: "DuplicateCertificateInfo";
35
- readonly DuplicateSchedule: "DuplicateSchedule";
36
- readonly EndpointNotFound: "EndpointNotFound";
37
- readonly GatewayInternalError: "GatewayInternalError";
38
- readonly GatewayNotConnected: "GatewayNotConnected";
39
- readonly GatewayNotFound: "GatewayNotFound";
40
- readonly GatewayProxyNetworkConnectionBusy: "GatewayProxyNetworkConnectionBusy";
41
- readonly IAMNotSupported: "IAMNotSupported";
42
- readonly InitiatorInvalid: "InitiatorInvalid";
43
- readonly InitiatorNotFound: "InitiatorNotFound";
44
- readonly InternalError: "InternalError";
45
- readonly InvalidEndpoint: "InvalidEndpoint";
46
- readonly InvalidGateway: "InvalidGateway";
47
- readonly InvalidParameters: "InvalidParameters";
48
- readonly InvalidSchedule: "InvalidSchedule";
49
- readonly JoinDomainInProgress: "JoinDomainInProgress";
50
- readonly LocalStorageLimitExceeded: "LocalStorageLimitExceeded";
51
- readonly LunAlreadyAllocated_: "LunAlreadyAllocated ";
52
- readonly LunInvalid: "LunInvalid";
53
- readonly MaximumContentLengthExceeded: "MaximumContentLengthExceeded";
54
- readonly MaximumTapeCartridgeCountExceeded: "MaximumTapeCartridgeCountExceeded";
55
- readonly MaximumVolumeCountExceeded: "MaximumVolumeCountExceeded";
56
- readonly NetworkConfigurationChanged: "NetworkConfigurationChanged";
57
- readonly NoDisksAvailable: "NoDisksAvailable";
58
- readonly NotImplemented: "NotImplemented";
59
- readonly NotSupported: "NotSupported";
60
- readonly OperationAborted: "OperationAborted";
61
- readonly OutdatedGateway: "OutdatedGateway";
62
- readonly ParametersNotImplemented: "ParametersNotImplemented";
63
- readonly RegionInvalid: "RegionInvalid";
64
- readonly RequestTimeout: "RequestTimeout";
65
- readonly ServiceUnavailable: "ServiceUnavailable";
66
- readonly SnapshotDeleted: "SnapshotDeleted";
67
- readonly SnapshotIdInvalid: "SnapshotIdInvalid";
68
- readonly SnapshotInProgress: "SnapshotInProgress";
69
- readonly SnapshotNotFound: "SnapshotNotFound";
70
- readonly SnapshotScheduleNotFound: "SnapshotScheduleNotFound";
71
- readonly StagingAreaFull: "StagingAreaFull";
72
- readonly StorageFailure: "StorageFailure";
73
- readonly TapeCartridgeNotFound: "TapeCartridgeNotFound";
74
- readonly TargetAlreadyExists: "TargetAlreadyExists";
75
- readonly TargetInvalid: "TargetInvalid";
76
- readonly TargetNotFound: "TargetNotFound";
77
- readonly UnauthorizedOperation: "UnauthorizedOperation";
78
- readonly VolumeAlreadyExists: "VolumeAlreadyExists";
79
- readonly VolumeIdInvalid: "VolumeIdInvalid";
80
- readonly VolumeInUse: "VolumeInUse";
81
- readonly VolumeNotFound: "VolumeNotFound";
82
- readonly VolumeNotReady: "VolumeNotReady";
83
- };
84
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
85
36
  export interface StorageGatewayError {
86
37
  errorCode?: ErrorCode | undefined;
87
38
  errorDetails?: Record<string, string> | undefined;
88
39
  }
89
- export declare class InternalServerError extends __BaseException {
90
- readonly name: "InternalServerError";
91
- readonly $fault: "server";
92
- error?: StorageGatewayError | undefined;
93
- constructor(
94
- opts: __ExceptionOptionType<InternalServerError, __BaseException>
95
- );
96
- }
97
- export declare class InvalidGatewayRequestException extends __BaseException {
98
- readonly name: "InvalidGatewayRequestException";
99
- readonly $fault: "client";
100
- error?: StorageGatewayError | undefined;
101
- constructor(
102
- opts: __ExceptionOptionType<InvalidGatewayRequestException, __BaseException>
103
- );
104
- }
105
- export declare const ActiveDirectoryStatus: {
106
- readonly ACCESS_DENIED: "ACCESS_DENIED";
107
- readonly DETACHED: "DETACHED";
108
- readonly INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS";
109
- readonly JOINED: "JOINED";
110
- readonly JOINING: "JOINING";
111
- readonly NETWORK_ERROR: "NETWORK_ERROR";
112
- readonly TIMEOUT: "TIMEOUT";
113
- readonly UNKNOWN_ERROR: "UNKNOWN_ERROR";
114
- };
115
- export type ActiveDirectoryStatus =
116
- (typeof ActiveDirectoryStatus)[keyof typeof ActiveDirectoryStatus];
117
40
  export interface AddCacheInput {
118
41
  GatewayARN: string | undefined;
119
42
  DiskIds: string[] | undefined;
@@ -192,19 +115,6 @@ export interface AutomaticTapeCreationPolicyInfo {
192
115
  AutomaticTapeCreationRules?: AutomaticTapeCreationRule[] | undefined;
193
116
  GatewayARN?: string | undefined;
194
117
  }
195
- export declare const AutomaticUpdatePolicy: {
196
- readonly ALL_VERSIONS: "ALL_VERSIONS";
197
- readonly EMERGENCY_VERSIONS_ONLY: "EMERGENCY_VERSIONS_ONLY";
198
- };
199
- export type AutomaticUpdatePolicy =
200
- (typeof AutomaticUpdatePolicy)[keyof typeof AutomaticUpdatePolicy];
201
- export declare const AvailabilityMonitorTestStatus: {
202
- readonly COMPLETE: "COMPLETE";
203
- readonly FAILED: "FAILED";
204
- readonly PENDING: "PENDING";
205
- };
206
- export type AvailabilityMonitorTestStatus =
207
- (typeof AvailabilityMonitorTestStatus)[keyof typeof AvailabilityMonitorTestStatus];
208
118
  export interface BandwidthRateLimitInterval {
209
119
  StartHourOfDay: number | undefined;
210
120
  StartMinuteOfHour: number | undefined;
@@ -236,25 +146,10 @@ export interface CachediSCSIVolume {
236
146
  KMSKey?: string | undefined;
237
147
  TargetName?: string | undefined;
238
148
  }
239
- export declare const CacheReportFilterName: {
240
- readonly UploadFailureReason: "UploadFailureReason";
241
- readonly UploadState: "UploadState";
242
- };
243
- export type CacheReportFilterName =
244
- (typeof CacheReportFilterName)[keyof typeof CacheReportFilterName];
245
149
  export interface CacheReportFilter {
246
150
  Name: CacheReportFilterName | undefined;
247
151
  Values: string[] | undefined;
248
152
  }
249
- export declare const CacheReportStatus: {
250
- readonly CANCELED: "CANCELED";
251
- readonly COMPLETED: "COMPLETED";
252
- readonly ERROR: "ERROR";
253
- readonly FAILED: "FAILED";
254
- readonly IN_PROGRESS: "IN_PROGRESS";
255
- };
256
- export type CacheReportStatus =
257
- (typeof CacheReportStatus)[keyof typeof CacheReportStatus];
258
153
  export interface CacheReportInfo {
259
154
  CacheReportARN?: string | undefined;
260
155
  CacheReportStatus?: CacheReportStatus | undefined;
@@ -289,12 +184,6 @@ export interface CancelRetrievalInput {
289
184
  export interface CancelRetrievalOutput {
290
185
  TapeARN?: string | undefined;
291
186
  }
292
- export declare const CaseSensitivity: {
293
- readonly CaseSensitive: "CaseSensitive";
294
- readonly ClientSpecified: "ClientSpecified";
295
- };
296
- export type CaseSensitivity =
297
- (typeof CaseSensitivity)[keyof typeof CaseSensitivity];
298
187
  export interface ChapInfo {
299
188
  TargetARN?: string | undefined;
300
189
  SecretToAuthenticateInitiator?: string | undefined;
@@ -317,29 +206,12 @@ export interface CreateCachediSCSIVolumeOutput {
317
206
  VolumeARN?: string | undefined;
318
207
  TargetARN?: string | undefined;
319
208
  }
320
- export declare const EncryptionType: {
321
- readonly DsseKms: "DsseKms";
322
- readonly SseKms: "SseKms";
323
- readonly SseS3: "SseS3";
324
- };
325
- export type EncryptionType =
326
- (typeof EncryptionType)[keyof typeof EncryptionType];
327
209
  export interface NFSFileShareDefaults {
328
210
  FileMode?: string | undefined;
329
211
  DirectoryMode?: string | undefined;
330
212
  GroupId?: number | undefined;
331
213
  OwnerId?: number | undefined;
332
214
  }
333
- export declare const ObjectACL: {
334
- readonly authenticated_read: "authenticated-read";
335
- readonly aws_exec_read: "aws-exec-read";
336
- readonly bucket_owner_full_control: "bucket-owner-full-control";
337
- readonly bucket_owner_read: "bucket-owner-read";
338
- readonly private: "private";
339
- readonly public_read: "public-read";
340
- readonly public_read_write: "public-read-write";
341
- };
342
- export type ObjectACL = (typeof ObjectACL)[keyof typeof ObjectACL];
343
215
  export interface CreateNFSFileShareInput {
344
216
  ClientToken: string | undefined;
345
217
  NFSFileShareDefaults?: NFSFileShareDefaults | undefined;
@@ -408,14 +280,6 @@ export interface CreateSnapshotOutput {
408
280
  VolumeARN?: string | undefined;
409
281
  SnapshotId?: string | undefined;
410
282
  }
411
- export declare class ServiceUnavailableError extends __BaseException {
412
- readonly name: "ServiceUnavailableError";
413
- readonly $fault: "server";
414
- error?: StorageGatewayError | undefined;
415
- constructor(
416
- opts: __ExceptionOptionType<ServiceUnavailableError, __BaseException>
417
- );
418
- }
419
283
  export interface CreateSnapshotFromVolumeRecoveryPointInput {
420
284
  VolumeARN: string | undefined;
421
285
  SnapshotDescription: string | undefined;
@@ -442,19 +306,6 @@ export interface CreateStorediSCSIVolumeOutput {
442
306
  VolumeSizeInBytes?: number | undefined;
443
307
  TargetARN?: string | undefined;
444
308
  }
445
- export declare const RetentionLockType: {
446
- readonly COMPLIANCE: "COMPLIANCE";
447
- readonly GOVERNANCE: "GOVERNANCE";
448
- readonly NONE: "NONE";
449
- };
450
- export type RetentionLockType =
451
- (typeof RetentionLockType)[keyof typeof RetentionLockType];
452
- export declare const TapeStorageClass: {
453
- readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
454
- readonly GLACIER: "GLACIER";
455
- };
456
- export type TapeStorageClass =
457
- (typeof TapeStorageClass)[keyof typeof TapeStorageClass];
458
309
  export interface CreateTapePoolInput {
459
310
  PoolName: string | undefined;
460
311
  StorageClass: TapeStorageClass | undefined;
@@ -644,28 +495,11 @@ export interface DescribeFileSystemAssociationsOutput {
644
495
  export interface DescribeGatewayInformationInput {
645
496
  GatewayARN: string | undefined;
646
497
  }
647
- export declare const GatewayCapacity: {
648
- readonly Large: "Large";
649
- readonly Medium: "Medium";
650
- readonly Small: "Small";
651
- };
652
- export type GatewayCapacity =
653
- (typeof GatewayCapacity)[keyof typeof GatewayCapacity];
654
498
  export interface NetworkInterface {
655
499
  Ipv4Address?: string | undefined;
656
500
  MacAddress?: string | undefined;
657
501
  Ipv6Address?: string | undefined;
658
502
  }
659
- export declare const HostEnvironment: {
660
- readonly EC2: "EC2";
661
- readonly HYPER_V: "HYPER-V";
662
- readonly KVM: "KVM";
663
- readonly OTHER: "OTHER";
664
- readonly SNOWBALL: "SNOWBALL";
665
- readonly VMWARE: "VMWARE";
666
- };
667
- export type HostEnvironment =
668
- (typeof HostEnvironment)[keyof typeof HostEnvironment];
669
503
  export interface DescribeGatewayInformationOutput {
670
504
  GatewayARN?: string | undefined;
671
505
  GatewayId?: string | undefined;
@@ -782,14 +616,6 @@ export interface DescribeSMBSettingsInput {
782
616
  export interface SMBLocalGroups {
783
617
  GatewayAdmins?: string[] | undefined;
784
618
  }
785
- export declare const SMBSecurityStrategy: {
786
- readonly ClientSpecified: "ClientSpecified";
787
- readonly MandatoryEncryption: "MandatoryEncryption";
788
- readonly MandatoryEncryptionNoAes128: "MandatoryEncryptionNoAes128";
789
- readonly MandatorySigning: "MandatorySigning";
790
- };
791
- export type SMBSecurityStrategy =
792
- (typeof SMBSecurityStrategy)[keyof typeof SMBSecurityStrategy];
793
619
  export interface DescribeSMBSettingsOutput {
794
620
  GatewayARN?: string | undefined;
795
621
  DomainName?: string | undefined;
@@ -977,11 +803,6 @@ export interface EvictFilesFailingUploadInput {
977
803
  export interface EvictFilesFailingUploadOutput {
978
804
  NotificationId?: string | undefined;
979
805
  }
980
- export declare const FileShareType: {
981
- readonly NFS: "NFS";
982
- readonly SMB: "SMB";
983
- };
984
- export type FileShareType = (typeof FileShareType)[keyof typeof FileShareType];
985
806
  export interface FileShareInfo {
986
807
  FileShareType?: FileShareType | undefined;
987
808
  FileShareARN?: string | undefined;
@@ -1086,11 +907,6 @@ export interface ListTapePoolsInput {
1086
907
  Marker?: string | undefined;
1087
908
  Limit?: number | undefined;
1088
909
  }
1089
- export declare const PoolStatus: {
1090
- readonly ACTIVE: "ACTIVE";
1091
- readonly DELETED: "DELETED";
1092
- };
1093
- export type PoolStatus = (typeof PoolStatus)[keyof typeof PoolStatus];
1094
910
  export interface PoolInfo {
1095
911
  PoolARN?: string | undefined;
1096
912
  PoolName?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-storage-gateway",
3
3
  "description": "AWS SDK for JavaScript Storage Gateway Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-storage-gateway",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";