@aws-sdk/client-storage-gateway 3.750.0 → 3.772.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/README.md +8 -0
- package/dist-cjs/index.js +65 -28
- package/dist-es/StorageGateway.js +2 -0
- package/dist-es/commands/EvictFilesFailingUploadCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +19 -0
- package/dist-types/StorageGateway.d.ts +7 -0
- package/dist-types/StorageGatewayClient.d.ts +3 -2
- package/dist-types/commands/EvictFilesFailingUploadCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +48 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/StorageGateway.d.ts +17 -0
- package/dist-types/ts3.4/StorageGatewayClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/EvictFilesFailingUploadCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -706,6 +706,14 @@ DisassociateFileSystem
|
|
|
706
706
|
|
|
707
707
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/DisassociateFileSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DisassociateFileSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DisassociateFileSystemCommandOutput/)
|
|
708
708
|
|
|
709
|
+
</details>
|
|
710
|
+
<details>
|
|
711
|
+
<summary>
|
|
712
|
+
EvictFilesFailingUpload
|
|
713
|
+
</summary>
|
|
714
|
+
|
|
715
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/EvictFilesFailingUploadCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/EvictFilesFailingUploadCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/EvictFilesFailingUploadCommandOutput/)
|
|
716
|
+
|
|
709
717
|
</details>
|
|
710
718
|
<details>
|
|
711
719
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ActivateGatewayCommand: () => ActivateGatewayCommand,
|
|
25
25
|
ActiveDirectoryStatus: () => ActiveDirectoryStatus,
|
|
26
26
|
AddCacheCommand: () => AddCacheCommand,
|
|
@@ -88,6 +88,7 @@ __export(src_exports, {
|
|
|
88
88
|
DisassociateFileSystemCommand: () => DisassociateFileSystemCommand,
|
|
89
89
|
EncryptionType: () => EncryptionType,
|
|
90
90
|
ErrorCode: () => ErrorCode,
|
|
91
|
+
EvictFilesFailingUploadCommand: () => EvictFilesFailingUploadCommand,
|
|
91
92
|
FileShareType: () => FileShareType,
|
|
92
93
|
GatewayCapacity: () => GatewayCapacity,
|
|
93
94
|
HostEnvironment: () => HostEnvironment,
|
|
@@ -161,7 +162,7 @@ __export(src_exports, {
|
|
|
161
162
|
paginateListTapes: () => paginateListTapes,
|
|
162
163
|
paginateListVolumes: () => paginateListVolumes
|
|
163
164
|
});
|
|
164
|
-
module.exports = __toCommonJS(
|
|
165
|
+
module.exports = __toCommonJS(index_exports);
|
|
165
166
|
|
|
166
167
|
// src/StorageGatewayClient.ts
|
|
167
168
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -288,9 +289,9 @@ var StorageGatewayClient = class extends import_smithy_client.Client {
|
|
|
288
289
|
this.middlewareStack.use(
|
|
289
290
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
290
291
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultStorageGatewayHttpAuthSchemeParametersProvider,
|
|
291
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
292
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
292
293
|
"aws.auth#sigv4": config.credentials
|
|
293
|
-
})
|
|
294
|
+
}), "identityProviderConfigProvider")
|
|
294
295
|
})
|
|
295
296
|
);
|
|
296
297
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -932,6 +933,12 @@ var se_DisassociateFileSystemCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
932
933
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
933
934
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
934
935
|
}, "se_DisassociateFileSystemCommand");
|
|
936
|
+
var se_EvictFilesFailingUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
937
|
+
const headers = sharedHeaders("EvictFilesFailingUpload");
|
|
938
|
+
let body;
|
|
939
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
940
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
941
|
+
}, "se_EvictFilesFailingUploadCommand");
|
|
935
942
|
var se_JoinDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
936
943
|
const headers = sharedHeaders("JoinDomain");
|
|
937
944
|
let body;
|
|
@@ -1887,6 +1894,19 @@ var de_DisassociateFileSystemCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1887
1894
|
};
|
|
1888
1895
|
return response;
|
|
1889
1896
|
}, "de_DisassociateFileSystemCommand");
|
|
1897
|
+
var de_EvictFilesFailingUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1898
|
+
if (output.statusCode >= 300) {
|
|
1899
|
+
return de_CommandError(output, context);
|
|
1900
|
+
}
|
|
1901
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1902
|
+
let contents = {};
|
|
1903
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1904
|
+
const response = {
|
|
1905
|
+
$metadata: deserializeMetadata(output),
|
|
1906
|
+
...contents
|
|
1907
|
+
};
|
|
1908
|
+
return response;
|
|
1909
|
+
}, "de_EvictFilesFailingUploadCommand");
|
|
1890
1910
|
var de_JoinDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1891
1911
|
if (output.statusCode >= 300) {
|
|
1892
1912
|
return de_CommandError(output, context);
|
|
@@ -2461,7 +2481,7 @@ var de_ServiceUnavailableErrorRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
|
2461
2481
|
}, "de_ServiceUnavailableErrorRes");
|
|
2462
2482
|
var de_CachediSCSIVolume = /* @__PURE__ */ __name((output, context) => {
|
|
2463
2483
|
return (0, import_smithy_client.take)(output, {
|
|
2464
|
-
CreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2484
|
+
CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedDate"),
|
|
2465
2485
|
KMSKey: import_smithy_client.expectString,
|
|
2466
2486
|
SourceSnapshotId: import_smithy_client.expectString,
|
|
2467
2487
|
TargetName: import_smithy_client.expectString,
|
|
@@ -2486,7 +2506,7 @@ var de_CacheReportInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
2486
2506
|
return (0, import_smithy_client.take)(output, {
|
|
2487
2507
|
CacheReportARN: import_smithy_client.expectString,
|
|
2488
2508
|
CacheReportStatus: import_smithy_client.expectString,
|
|
2489
|
-
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2509
|
+
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
2490
2510
|
ExclusionFilters: import_smithy_client._json,
|
|
2491
2511
|
FileShareARN: import_smithy_client.expectString,
|
|
2492
2512
|
InclusionFilters: import_smithy_client._json,
|
|
@@ -2494,7 +2514,7 @@ var de_CacheReportInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
2494
2514
|
ReportCompletionPercent: import_smithy_client.expectInt32,
|
|
2495
2515
|
ReportName: import_smithy_client.expectString,
|
|
2496
2516
|
Role: import_smithy_client.expectString,
|
|
2497
|
-
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2517
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
|
|
2498
2518
|
Tags: import_smithy_client._json
|
|
2499
2519
|
});
|
|
2500
2520
|
}, "de_CacheReportInfo");
|
|
@@ -2507,13 +2527,13 @@ var de_CacheReportList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2507
2527
|
var de_DescribeAvailabilityMonitorTestOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2508
2528
|
return (0, import_smithy_client.take)(output, {
|
|
2509
2529
|
GatewayARN: import_smithy_client.expectString,
|
|
2510
|
-
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2530
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
|
|
2511
2531
|
Status: import_smithy_client.expectString
|
|
2512
2532
|
});
|
|
2513
2533
|
}, "de_DescribeAvailabilityMonitorTestOutput");
|
|
2514
2534
|
var de_DescribeCachediSCSIVolumesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2515
2535
|
return (0, import_smithy_client.take)(output, {
|
|
2516
|
-
CachediSCSIVolumes: (_) => de_CachediSCSIVolumes(_, context)
|
|
2536
|
+
CachediSCSIVolumes: /* @__PURE__ */ __name((_) => de_CachediSCSIVolumes(_, context), "CachediSCSIVolumes")
|
|
2517
2537
|
});
|
|
2518
2538
|
}, "de_DescribeCachediSCSIVolumesOutput");
|
|
2519
2539
|
var de_DescribeCacheOutput = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2529,48 +2549,48 @@ var de_DescribeCacheOutput = /* @__PURE__ */ __name((output, context) => {
|
|
|
2529
2549
|
}, "de_DescribeCacheOutput");
|
|
2530
2550
|
var de_DescribeCacheReportOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2531
2551
|
return (0, import_smithy_client.take)(output, {
|
|
2532
|
-
CacheReportInfo: (_) => de_CacheReportInfo(_, context)
|
|
2552
|
+
CacheReportInfo: /* @__PURE__ */ __name((_) => de_CacheReportInfo(_, context), "CacheReportInfo")
|
|
2533
2553
|
});
|
|
2534
2554
|
}, "de_DescribeCacheReportOutput");
|
|
2535
2555
|
var de_DescribeStorediSCSIVolumesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2536
2556
|
return (0, import_smithy_client.take)(output, {
|
|
2537
|
-
StorediSCSIVolumes: (_) => de_StorediSCSIVolumes(_, context)
|
|
2557
|
+
StorediSCSIVolumes: /* @__PURE__ */ __name((_) => de_StorediSCSIVolumes(_, context), "StorediSCSIVolumes")
|
|
2538
2558
|
});
|
|
2539
2559
|
}, "de_DescribeStorediSCSIVolumesOutput");
|
|
2540
2560
|
var de_DescribeTapeArchivesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2541
2561
|
return (0, import_smithy_client.take)(output, {
|
|
2542
2562
|
Marker: import_smithy_client.expectString,
|
|
2543
|
-
TapeArchives: (_) => de_TapeArchives(_, context)
|
|
2563
|
+
TapeArchives: /* @__PURE__ */ __name((_) => de_TapeArchives(_, context), "TapeArchives")
|
|
2544
2564
|
});
|
|
2545
2565
|
}, "de_DescribeTapeArchivesOutput");
|
|
2546
2566
|
var de_DescribeTapeRecoveryPointsOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2547
2567
|
return (0, import_smithy_client.take)(output, {
|
|
2548
2568
|
GatewayARN: import_smithy_client.expectString,
|
|
2549
2569
|
Marker: import_smithy_client.expectString,
|
|
2550
|
-
TapeRecoveryPointInfos: (_) => de_TapeRecoveryPointInfos(_, context)
|
|
2570
|
+
TapeRecoveryPointInfos: /* @__PURE__ */ __name((_) => de_TapeRecoveryPointInfos(_, context), "TapeRecoveryPointInfos")
|
|
2551
2571
|
});
|
|
2552
2572
|
}, "de_DescribeTapeRecoveryPointsOutput");
|
|
2553
2573
|
var de_DescribeTapesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2554
2574
|
return (0, import_smithy_client.take)(output, {
|
|
2555
2575
|
Marker: import_smithy_client.expectString,
|
|
2556
|
-
Tapes: (_) => de_Tapes(_, context)
|
|
2576
|
+
Tapes: /* @__PURE__ */ __name((_) => de_Tapes(_, context), "Tapes")
|
|
2557
2577
|
});
|
|
2558
2578
|
}, "de_DescribeTapesOutput");
|
|
2559
2579
|
var de_ListCacheReportsOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2560
2580
|
return (0, import_smithy_client.take)(output, {
|
|
2561
|
-
CacheReportList: (_) => de_CacheReportList(_, context),
|
|
2581
|
+
CacheReportList: /* @__PURE__ */ __name((_) => de_CacheReportList(_, context), "CacheReportList"),
|
|
2562
2582
|
Marker: import_smithy_client.expectString
|
|
2563
2583
|
});
|
|
2564
2584
|
}, "de_ListCacheReportsOutput");
|
|
2565
2585
|
var de_ListTapesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2566
2586
|
return (0, import_smithy_client.take)(output, {
|
|
2567
2587
|
Marker: import_smithy_client.expectString,
|
|
2568
|
-
TapeInfos: (_) => de_TapeInfos(_, context)
|
|
2588
|
+
TapeInfos: /* @__PURE__ */ __name((_) => de_TapeInfos(_, context), "TapeInfos")
|
|
2569
2589
|
});
|
|
2570
2590
|
}, "de_ListTapesOutput");
|
|
2571
2591
|
var de_StorediSCSIVolume = /* @__PURE__ */ __name((output, context) => {
|
|
2572
2592
|
return (0, import_smithy_client.take)(output, {
|
|
2573
|
-
CreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2593
|
+
CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedDate"),
|
|
2574
2594
|
KMSKey: import_smithy_client.expectString,
|
|
2575
2595
|
PreservedExistingData: import_smithy_client.expectBoolean,
|
|
2576
2596
|
SourceSnapshotId: import_smithy_client.expectString,
|
|
@@ -2596,13 +2616,13 @@ var de_StorediSCSIVolumes = /* @__PURE__ */ __name((output, context) => {
|
|
|
2596
2616
|
var de_Tape = /* @__PURE__ */ __name((output, context) => {
|
|
2597
2617
|
return (0, import_smithy_client.take)(output, {
|
|
2598
2618
|
KMSKey: import_smithy_client.expectString,
|
|
2599
|
-
PoolEntryDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2619
|
+
PoolEntryDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "PoolEntryDate"),
|
|
2600
2620
|
PoolId: import_smithy_client.expectString,
|
|
2601
2621
|
Progress: import_smithy_client.limitedParseDouble,
|
|
2602
|
-
RetentionStartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2622
|
+
RetentionStartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RetentionStartDate"),
|
|
2603
2623
|
TapeARN: import_smithy_client.expectString,
|
|
2604
2624
|
TapeBarcode: import_smithy_client.expectString,
|
|
2605
|
-
TapeCreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2625
|
+
TapeCreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "TapeCreatedDate"),
|
|
2606
2626
|
TapeSizeInBytes: import_smithy_client.expectLong,
|
|
2607
2627
|
TapeStatus: import_smithy_client.expectString,
|
|
2608
2628
|
TapeUsedInBytes: import_smithy_client.expectLong,
|
|
@@ -2612,15 +2632,15 @@ var de_Tape = /* @__PURE__ */ __name((output, context) => {
|
|
|
2612
2632
|
}, "de_Tape");
|
|
2613
2633
|
var de_TapeArchive = /* @__PURE__ */ __name((output, context) => {
|
|
2614
2634
|
return (0, import_smithy_client.take)(output, {
|
|
2615
|
-
CompletionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2635
|
+
CompletionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionTime"),
|
|
2616
2636
|
KMSKey: import_smithy_client.expectString,
|
|
2617
|
-
PoolEntryDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2637
|
+
PoolEntryDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "PoolEntryDate"),
|
|
2618
2638
|
PoolId: import_smithy_client.expectString,
|
|
2619
|
-
RetentionStartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2639
|
+
RetentionStartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RetentionStartDate"),
|
|
2620
2640
|
RetrievedTo: import_smithy_client.expectString,
|
|
2621
2641
|
TapeARN: import_smithy_client.expectString,
|
|
2622
2642
|
TapeBarcode: import_smithy_client.expectString,
|
|
2623
|
-
TapeCreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2643
|
+
TapeCreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "TapeCreatedDate"),
|
|
2624
2644
|
TapeSizeInBytes: import_smithy_client.expectLong,
|
|
2625
2645
|
TapeStatus: import_smithy_client.expectString,
|
|
2626
2646
|
TapeUsedInBytes: import_smithy_client.expectLong,
|
|
@@ -2636,9 +2656,9 @@ var de_TapeArchives = /* @__PURE__ */ __name((output, context) => {
|
|
|
2636
2656
|
var de_TapeInfo = /* @__PURE__ */ __name((output, context) => {
|
|
2637
2657
|
return (0, import_smithy_client.take)(output, {
|
|
2638
2658
|
GatewayARN: import_smithy_client.expectString,
|
|
2639
|
-
PoolEntryDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2659
|
+
PoolEntryDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "PoolEntryDate"),
|
|
2640
2660
|
PoolId: import_smithy_client.expectString,
|
|
2641
|
-
RetentionStartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2661
|
+
RetentionStartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RetentionStartDate"),
|
|
2642
2662
|
TapeARN: import_smithy_client.expectString,
|
|
2643
2663
|
TapeBarcode: import_smithy_client.expectString,
|
|
2644
2664
|
TapeSizeInBytes: import_smithy_client.expectLong,
|
|
@@ -2654,7 +2674,7 @@ var de_TapeInfos = /* @__PURE__ */ __name((output, context) => {
|
|
|
2654
2674
|
var de_TapeRecoveryPointInfo = /* @__PURE__ */ __name((output, context) => {
|
|
2655
2675
|
return (0, import_smithy_client.take)(output, {
|
|
2656
2676
|
TapeARN: import_smithy_client.expectString,
|
|
2657
|
-
TapeRecoveryPointTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2677
|
+
TapeRecoveryPointTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "TapeRecoveryPointTime"),
|
|
2658
2678
|
TapeSizeInBytes: import_smithy_client.expectLong,
|
|
2659
2679
|
TapeStatus: import_smithy_client.expectString
|
|
2660
2680
|
});
|
|
@@ -3526,6 +3546,21 @@ var DisassociateFileSystemCommand = class extends import_smithy_client.Command.c
|
|
|
3526
3546
|
}
|
|
3527
3547
|
};
|
|
3528
3548
|
|
|
3549
|
+
// src/commands/EvictFilesFailingUploadCommand.ts
|
|
3550
|
+
|
|
3551
|
+
|
|
3552
|
+
|
|
3553
|
+
var EvictFilesFailingUploadCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3554
|
+
return [
|
|
3555
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3556
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3557
|
+
];
|
|
3558
|
+
}).s("StorageGateway_20130630", "EvictFilesFailingUpload", {}).n("StorageGatewayClient", "EvictFilesFailingUploadCommand").f(void 0, void 0).ser(se_EvictFilesFailingUploadCommand).de(de_EvictFilesFailingUploadCommand).build() {
|
|
3559
|
+
static {
|
|
3560
|
+
__name(this, "EvictFilesFailingUploadCommand");
|
|
3561
|
+
}
|
|
3562
|
+
};
|
|
3563
|
+
|
|
3529
3564
|
// src/commands/JoinDomainCommand.ts
|
|
3530
3565
|
|
|
3531
3566
|
|
|
@@ -4183,6 +4218,7 @@ var commands = {
|
|
|
4183
4218
|
DetachVolumeCommand,
|
|
4184
4219
|
DisableGatewayCommand,
|
|
4185
4220
|
DisassociateFileSystemCommand,
|
|
4221
|
+
EvictFilesFailingUploadCommand,
|
|
4186
4222
|
JoinDomainCommand,
|
|
4187
4223
|
ListAutomaticTapeCreationPoliciesCommand,
|
|
4188
4224
|
ListCacheReportsCommand,
|
|
@@ -4337,6 +4373,7 @@ var paginateListVolumes = (0, import_core.createPaginator)(StorageGatewayClient,
|
|
|
4337
4373
|
DetachVolumeCommand,
|
|
4338
4374
|
DisableGatewayCommand,
|
|
4339
4375
|
DisassociateFileSystemCommand,
|
|
4376
|
+
EvictFilesFailingUploadCommand,
|
|
4340
4377
|
JoinDomainCommand,
|
|
4341
4378
|
ListAutomaticTapeCreationPoliciesCommand,
|
|
4342
4379
|
ListCacheReportsCommand,
|
|
@@ -54,6 +54,7 @@ import { DescribeWorkingStorageCommand, } from "./commands/DescribeWorkingStorag
|
|
|
54
54
|
import { DetachVolumeCommand, } from "./commands/DetachVolumeCommand";
|
|
55
55
|
import { DisableGatewayCommand, } from "./commands/DisableGatewayCommand";
|
|
56
56
|
import { DisassociateFileSystemCommand, } from "./commands/DisassociateFileSystemCommand";
|
|
57
|
+
import { EvictFilesFailingUploadCommand, } from "./commands/EvictFilesFailingUploadCommand";
|
|
57
58
|
import { JoinDomainCommand } from "./commands/JoinDomainCommand";
|
|
58
59
|
import { ListAutomaticTapeCreationPoliciesCommand, } from "./commands/ListAutomaticTapeCreationPoliciesCommand";
|
|
59
60
|
import { ListCacheReportsCommand, } from "./commands/ListCacheReportsCommand";
|
|
@@ -151,6 +152,7 @@ const commands = {
|
|
|
151
152
|
DetachVolumeCommand,
|
|
152
153
|
DisableGatewayCommand,
|
|
153
154
|
DisassociateFileSystemCommand,
|
|
155
|
+
EvictFilesFailingUploadCommand,
|
|
154
156
|
JoinDomainCommand,
|
|
155
157
|
ListAutomaticTapeCreationPoliciesCommand,
|
|
156
158
|
ListCacheReportsCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_EvictFilesFailingUploadCommand, se_EvictFilesFailingUploadCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class EvictFilesFailingUploadCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("StorageGateway_20130630", "EvictFilesFailingUpload", {})
|
|
17
|
+
.n("StorageGatewayClient", "EvictFilesFailingUploadCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_EvictFilesFailingUploadCommand)
|
|
20
|
+
.de(de_EvictFilesFailingUploadCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -53,6 +53,7 @@ export * from "./DescribeWorkingStorageCommand";
|
|
|
53
53
|
export * from "./DetachVolumeCommand";
|
|
54
54
|
export * from "./DisableGatewayCommand";
|
|
55
55
|
export * from "./DisassociateFileSystemCommand";
|
|
56
|
+
export * from "./EvictFilesFailingUploadCommand";
|
|
56
57
|
export * from "./JoinDomainCommand";
|
|
57
58
|
export * from "./ListAutomaticTapeCreationPoliciesCommand";
|
|
58
59
|
export * from "./ListCacheReportsCommand";
|
|
@@ -333,6 +333,12 @@ export const se_DisassociateFileSystemCommand = async (input, context) => {
|
|
|
333
333
|
body = JSON.stringify(_json(input));
|
|
334
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
335
|
};
|
|
336
|
+
export const se_EvictFilesFailingUploadCommand = async (input, context) => {
|
|
337
|
+
const headers = sharedHeaders("EvictFilesFailingUpload");
|
|
338
|
+
let body;
|
|
339
|
+
body = JSON.stringify(_json(input));
|
|
340
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
|
+
};
|
|
336
342
|
export const se_JoinDomainCommand = async (input, context) => {
|
|
337
343
|
const headers = sharedHeaders("JoinDomain");
|
|
338
344
|
let body;
|
|
@@ -1288,6 +1294,19 @@ export const de_DisassociateFileSystemCommand = async (output, context) => {
|
|
|
1288
1294
|
};
|
|
1289
1295
|
return response;
|
|
1290
1296
|
};
|
|
1297
|
+
export const de_EvictFilesFailingUploadCommand = async (output, context) => {
|
|
1298
|
+
if (output.statusCode >= 300) {
|
|
1299
|
+
return de_CommandError(output, context);
|
|
1300
|
+
}
|
|
1301
|
+
const data = await parseBody(output.body, context);
|
|
1302
|
+
let contents = {};
|
|
1303
|
+
contents = _json(data);
|
|
1304
|
+
const response = {
|
|
1305
|
+
$metadata: deserializeMetadata(output),
|
|
1306
|
+
...contents,
|
|
1307
|
+
};
|
|
1308
|
+
return response;
|
|
1309
|
+
};
|
|
1291
1310
|
export const de_JoinDomainCommand = async (output, context) => {
|
|
1292
1311
|
if (output.statusCode >= 300) {
|
|
1293
1312
|
return de_CommandError(output, context);
|
|
@@ -54,6 +54,7 @@ import { DescribeWorkingStorageCommandInput, DescribeWorkingStorageCommandOutput
|
|
|
54
54
|
import { DetachVolumeCommandInput, DetachVolumeCommandOutput } from "./commands/DetachVolumeCommand";
|
|
55
55
|
import { DisableGatewayCommandInput, DisableGatewayCommandOutput } from "./commands/DisableGatewayCommand";
|
|
56
56
|
import { DisassociateFileSystemCommandInput, DisassociateFileSystemCommandOutput } from "./commands/DisassociateFileSystemCommand";
|
|
57
|
+
import { EvictFilesFailingUploadCommandInput, EvictFilesFailingUploadCommandOutput } from "./commands/EvictFilesFailingUploadCommand";
|
|
57
58
|
import { JoinDomainCommandInput, JoinDomainCommandOutput } from "./commands/JoinDomainCommand";
|
|
58
59
|
import { ListAutomaticTapeCreationPoliciesCommandInput, ListAutomaticTapeCreationPoliciesCommandOutput } from "./commands/ListAutomaticTapeCreationPoliciesCommand";
|
|
59
60
|
import { ListCacheReportsCommandInput, ListCacheReportsCommandOutput } from "./commands/ListCacheReportsCommand";
|
|
@@ -427,6 +428,12 @@ export interface StorageGateway {
|
|
|
427
428
|
disassociateFileSystem(args: DisassociateFileSystemCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateFileSystemCommandOutput>;
|
|
428
429
|
disassociateFileSystem(args: DisassociateFileSystemCommandInput, cb: (err: any, data?: DisassociateFileSystemCommandOutput) => void): void;
|
|
429
430
|
disassociateFileSystem(args: DisassociateFileSystemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateFileSystemCommandOutput) => void): void;
|
|
431
|
+
/**
|
|
432
|
+
* @see {@link EvictFilesFailingUploadCommand}
|
|
433
|
+
*/
|
|
434
|
+
evictFilesFailingUpload(args: EvictFilesFailingUploadCommandInput, options?: __HttpHandlerOptions): Promise<EvictFilesFailingUploadCommandOutput>;
|
|
435
|
+
evictFilesFailingUpload(args: EvictFilesFailingUploadCommandInput, cb: (err: any, data?: EvictFilesFailingUploadCommandOutput) => void): void;
|
|
436
|
+
evictFilesFailingUpload(args: EvictFilesFailingUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EvictFilesFailingUploadCommandOutput) => void): void;
|
|
430
437
|
/**
|
|
431
438
|
* @see {@link JoinDomainCommand}
|
|
432
439
|
*/
|
|
@@ -62,6 +62,7 @@ import { DescribeWorkingStorageCommandInput, DescribeWorkingStorageCommandOutput
|
|
|
62
62
|
import { DetachVolumeCommandInput, DetachVolumeCommandOutput } from "./commands/DetachVolumeCommand";
|
|
63
63
|
import { DisableGatewayCommandInput, DisableGatewayCommandOutput } from "./commands/DisableGatewayCommand";
|
|
64
64
|
import { DisassociateFileSystemCommandInput, DisassociateFileSystemCommandOutput } from "./commands/DisassociateFileSystemCommand";
|
|
65
|
+
import { EvictFilesFailingUploadCommandInput, EvictFilesFailingUploadCommandOutput } from "./commands/EvictFilesFailingUploadCommand";
|
|
65
66
|
import { JoinDomainCommandInput, JoinDomainCommandOutput } from "./commands/JoinDomainCommand";
|
|
66
67
|
import { ListAutomaticTapeCreationPoliciesCommandInput, ListAutomaticTapeCreationPoliciesCommandOutput } from "./commands/ListAutomaticTapeCreationPoliciesCommand";
|
|
67
68
|
import { ListCacheReportsCommandInput, ListCacheReportsCommandOutput } from "./commands/ListCacheReportsCommand";
|
|
@@ -108,11 +109,11 @@ export { __Client };
|
|
|
108
109
|
/**
|
|
109
110
|
* @public
|
|
110
111
|
*/
|
|
111
|
-
export type ServiceInputTypes = ActivateGatewayCommandInput | AddCacheCommandInput | AddTagsToResourceCommandInput | AddUploadBufferCommandInput | AddWorkingStorageCommandInput | AssignTapePoolCommandInput | AssociateFileSystemCommandInput | AttachVolumeCommandInput | CancelArchivalCommandInput | CancelCacheReportCommandInput | CancelRetrievalCommandInput | CreateCachediSCSIVolumeCommandInput | CreateNFSFileShareCommandInput | CreateSMBFileShareCommandInput | CreateSnapshotCommandInput | CreateSnapshotFromVolumeRecoveryPointCommandInput | CreateStorediSCSIVolumeCommandInput | CreateTapePoolCommandInput | CreateTapeWithBarcodeCommandInput | CreateTapesCommandInput | DeleteAutomaticTapeCreationPolicyCommandInput | DeleteBandwidthRateLimitCommandInput | DeleteCacheReportCommandInput | DeleteChapCredentialsCommandInput | DeleteFileShareCommandInput | DeleteGatewayCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTapeArchiveCommandInput | DeleteTapeCommandInput | DeleteTapePoolCommandInput | DeleteVolumeCommandInput | DescribeAvailabilityMonitorTestCommandInput | DescribeBandwidthRateLimitCommandInput | DescribeBandwidthRateLimitScheduleCommandInput | DescribeCacheCommandInput | DescribeCacheReportCommandInput | DescribeCachediSCSIVolumesCommandInput | DescribeChapCredentialsCommandInput | DescribeFileSystemAssociationsCommandInput | DescribeGatewayInformationCommandInput | DescribeMaintenanceStartTimeCommandInput | DescribeNFSFileSharesCommandInput | DescribeSMBFileSharesCommandInput | DescribeSMBSettingsCommandInput | DescribeSnapshotScheduleCommandInput | DescribeStorediSCSIVolumesCommandInput | DescribeTapeArchivesCommandInput | DescribeTapeRecoveryPointsCommandInput | DescribeTapesCommandInput | DescribeUploadBufferCommandInput | DescribeVTLDevicesCommandInput | DescribeWorkingStorageCommandInput | DetachVolumeCommandInput | DisableGatewayCommandInput | DisassociateFileSystemCommandInput | JoinDomainCommandInput | ListAutomaticTapeCreationPoliciesCommandInput | ListCacheReportsCommandInput | ListFileSharesCommandInput | ListFileSystemAssociationsCommandInput | ListGatewaysCommandInput | ListLocalDisksCommandInput | ListTagsForResourceCommandInput | ListTapePoolsCommandInput | ListTapesCommandInput | ListVolumeInitiatorsCommandInput | ListVolumeRecoveryPointsCommandInput | ListVolumesCommandInput | NotifyWhenUploadedCommandInput | RefreshCacheCommandInput | RemoveTagsFromResourceCommandInput | ResetCacheCommandInput | RetrieveTapeArchiveCommandInput | RetrieveTapeRecoveryPointCommandInput | SetLocalConsolePasswordCommandInput | SetSMBGuestPasswordCommandInput | ShutdownGatewayCommandInput | StartAvailabilityMonitorTestCommandInput | StartCacheReportCommandInput | StartGatewayCommandInput | UpdateAutomaticTapeCreationPolicyCommandInput | UpdateBandwidthRateLimitCommandInput | UpdateBandwidthRateLimitScheduleCommandInput | UpdateChapCredentialsCommandInput | UpdateFileSystemAssociationCommandInput | UpdateGatewayInformationCommandInput | UpdateGatewaySoftwareNowCommandInput | UpdateMaintenanceStartTimeCommandInput | UpdateNFSFileShareCommandInput | UpdateSMBFileShareCommandInput | UpdateSMBFileShareVisibilityCommandInput | UpdateSMBLocalGroupsCommandInput | UpdateSMBSecurityStrategyCommandInput | UpdateSnapshotScheduleCommandInput | UpdateVTLDeviceTypeCommandInput;
|
|
112
|
+
export type ServiceInputTypes = ActivateGatewayCommandInput | AddCacheCommandInput | AddTagsToResourceCommandInput | AddUploadBufferCommandInput | AddWorkingStorageCommandInput | AssignTapePoolCommandInput | AssociateFileSystemCommandInput | AttachVolumeCommandInput | CancelArchivalCommandInput | CancelCacheReportCommandInput | CancelRetrievalCommandInput | CreateCachediSCSIVolumeCommandInput | CreateNFSFileShareCommandInput | CreateSMBFileShareCommandInput | CreateSnapshotCommandInput | CreateSnapshotFromVolumeRecoveryPointCommandInput | CreateStorediSCSIVolumeCommandInput | CreateTapePoolCommandInput | CreateTapeWithBarcodeCommandInput | CreateTapesCommandInput | DeleteAutomaticTapeCreationPolicyCommandInput | DeleteBandwidthRateLimitCommandInput | DeleteCacheReportCommandInput | DeleteChapCredentialsCommandInput | DeleteFileShareCommandInput | DeleteGatewayCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTapeArchiveCommandInput | DeleteTapeCommandInput | DeleteTapePoolCommandInput | DeleteVolumeCommandInput | DescribeAvailabilityMonitorTestCommandInput | DescribeBandwidthRateLimitCommandInput | DescribeBandwidthRateLimitScheduleCommandInput | DescribeCacheCommandInput | DescribeCacheReportCommandInput | DescribeCachediSCSIVolumesCommandInput | DescribeChapCredentialsCommandInput | DescribeFileSystemAssociationsCommandInput | DescribeGatewayInformationCommandInput | DescribeMaintenanceStartTimeCommandInput | DescribeNFSFileSharesCommandInput | DescribeSMBFileSharesCommandInput | DescribeSMBSettingsCommandInput | DescribeSnapshotScheduleCommandInput | DescribeStorediSCSIVolumesCommandInput | DescribeTapeArchivesCommandInput | DescribeTapeRecoveryPointsCommandInput | DescribeTapesCommandInput | DescribeUploadBufferCommandInput | DescribeVTLDevicesCommandInput | DescribeWorkingStorageCommandInput | DetachVolumeCommandInput | DisableGatewayCommandInput | DisassociateFileSystemCommandInput | EvictFilesFailingUploadCommandInput | JoinDomainCommandInput | ListAutomaticTapeCreationPoliciesCommandInput | ListCacheReportsCommandInput | ListFileSharesCommandInput | ListFileSystemAssociationsCommandInput | ListGatewaysCommandInput | ListLocalDisksCommandInput | ListTagsForResourceCommandInput | ListTapePoolsCommandInput | ListTapesCommandInput | ListVolumeInitiatorsCommandInput | ListVolumeRecoveryPointsCommandInput | ListVolumesCommandInput | NotifyWhenUploadedCommandInput | RefreshCacheCommandInput | RemoveTagsFromResourceCommandInput | ResetCacheCommandInput | RetrieveTapeArchiveCommandInput | RetrieveTapeRecoveryPointCommandInput | SetLocalConsolePasswordCommandInput | SetSMBGuestPasswordCommandInput | ShutdownGatewayCommandInput | StartAvailabilityMonitorTestCommandInput | StartCacheReportCommandInput | StartGatewayCommandInput | UpdateAutomaticTapeCreationPolicyCommandInput | UpdateBandwidthRateLimitCommandInput | UpdateBandwidthRateLimitScheduleCommandInput | UpdateChapCredentialsCommandInput | UpdateFileSystemAssociationCommandInput | UpdateGatewayInformationCommandInput | UpdateGatewaySoftwareNowCommandInput | UpdateMaintenanceStartTimeCommandInput | UpdateNFSFileShareCommandInput | UpdateSMBFileShareCommandInput | UpdateSMBFileShareVisibilityCommandInput | UpdateSMBLocalGroupsCommandInput | UpdateSMBSecurityStrategyCommandInput | UpdateSnapshotScheduleCommandInput | UpdateVTLDeviceTypeCommandInput;
|
|
112
113
|
/**
|
|
113
114
|
* @public
|
|
114
115
|
*/
|
|
115
|
-
export type ServiceOutputTypes = ActivateGatewayCommandOutput | AddCacheCommandOutput | AddTagsToResourceCommandOutput | AddUploadBufferCommandOutput | AddWorkingStorageCommandOutput | AssignTapePoolCommandOutput | AssociateFileSystemCommandOutput | AttachVolumeCommandOutput | CancelArchivalCommandOutput | CancelCacheReportCommandOutput | CancelRetrievalCommandOutput | CreateCachediSCSIVolumeCommandOutput | CreateNFSFileShareCommandOutput | CreateSMBFileShareCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotFromVolumeRecoveryPointCommandOutput | CreateStorediSCSIVolumeCommandOutput | CreateTapePoolCommandOutput | CreateTapeWithBarcodeCommandOutput | CreateTapesCommandOutput | DeleteAutomaticTapeCreationPolicyCommandOutput | DeleteBandwidthRateLimitCommandOutput | DeleteCacheReportCommandOutput | DeleteChapCredentialsCommandOutput | DeleteFileShareCommandOutput | DeleteGatewayCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTapeArchiveCommandOutput | DeleteTapeCommandOutput | DeleteTapePoolCommandOutput | DeleteVolumeCommandOutput | DescribeAvailabilityMonitorTestCommandOutput | DescribeBandwidthRateLimitCommandOutput | DescribeBandwidthRateLimitScheduleCommandOutput | DescribeCacheCommandOutput | DescribeCacheReportCommandOutput | DescribeCachediSCSIVolumesCommandOutput | DescribeChapCredentialsCommandOutput | DescribeFileSystemAssociationsCommandOutput | DescribeGatewayInformationCommandOutput | DescribeMaintenanceStartTimeCommandOutput | DescribeNFSFileSharesCommandOutput | DescribeSMBFileSharesCommandOutput | DescribeSMBSettingsCommandOutput | DescribeSnapshotScheduleCommandOutput | DescribeStorediSCSIVolumesCommandOutput | DescribeTapeArchivesCommandOutput | DescribeTapeRecoveryPointsCommandOutput | DescribeTapesCommandOutput | DescribeUploadBufferCommandOutput | DescribeVTLDevicesCommandOutput | DescribeWorkingStorageCommandOutput | DetachVolumeCommandOutput | DisableGatewayCommandOutput | DisassociateFileSystemCommandOutput | JoinDomainCommandOutput | ListAutomaticTapeCreationPoliciesCommandOutput | ListCacheReportsCommandOutput | ListFileSharesCommandOutput | ListFileSystemAssociationsCommandOutput | ListGatewaysCommandOutput | ListLocalDisksCommandOutput | ListTagsForResourceCommandOutput | ListTapePoolsCommandOutput | ListTapesCommandOutput | ListVolumeInitiatorsCommandOutput | ListVolumeRecoveryPointsCommandOutput | ListVolumesCommandOutput | NotifyWhenUploadedCommandOutput | RefreshCacheCommandOutput | RemoveTagsFromResourceCommandOutput | ResetCacheCommandOutput | RetrieveTapeArchiveCommandOutput | RetrieveTapeRecoveryPointCommandOutput | SetLocalConsolePasswordCommandOutput | SetSMBGuestPasswordCommandOutput | ShutdownGatewayCommandOutput | StartAvailabilityMonitorTestCommandOutput | StartCacheReportCommandOutput | StartGatewayCommandOutput | UpdateAutomaticTapeCreationPolicyCommandOutput | UpdateBandwidthRateLimitCommandOutput | UpdateBandwidthRateLimitScheduleCommandOutput | UpdateChapCredentialsCommandOutput | UpdateFileSystemAssociationCommandOutput | UpdateGatewayInformationCommandOutput | UpdateGatewaySoftwareNowCommandOutput | UpdateMaintenanceStartTimeCommandOutput | UpdateNFSFileShareCommandOutput | UpdateSMBFileShareCommandOutput | UpdateSMBFileShareVisibilityCommandOutput | UpdateSMBLocalGroupsCommandOutput | UpdateSMBSecurityStrategyCommandOutput | UpdateSnapshotScheduleCommandOutput | UpdateVTLDeviceTypeCommandOutput;
|
|
116
|
+
export type ServiceOutputTypes = ActivateGatewayCommandOutput | AddCacheCommandOutput | AddTagsToResourceCommandOutput | AddUploadBufferCommandOutput | AddWorkingStorageCommandOutput | AssignTapePoolCommandOutput | AssociateFileSystemCommandOutput | AttachVolumeCommandOutput | CancelArchivalCommandOutput | CancelCacheReportCommandOutput | CancelRetrievalCommandOutput | CreateCachediSCSIVolumeCommandOutput | CreateNFSFileShareCommandOutput | CreateSMBFileShareCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotFromVolumeRecoveryPointCommandOutput | CreateStorediSCSIVolumeCommandOutput | CreateTapePoolCommandOutput | CreateTapeWithBarcodeCommandOutput | CreateTapesCommandOutput | DeleteAutomaticTapeCreationPolicyCommandOutput | DeleteBandwidthRateLimitCommandOutput | DeleteCacheReportCommandOutput | DeleteChapCredentialsCommandOutput | DeleteFileShareCommandOutput | DeleteGatewayCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTapeArchiveCommandOutput | DeleteTapeCommandOutput | DeleteTapePoolCommandOutput | DeleteVolumeCommandOutput | DescribeAvailabilityMonitorTestCommandOutput | DescribeBandwidthRateLimitCommandOutput | DescribeBandwidthRateLimitScheduleCommandOutput | DescribeCacheCommandOutput | DescribeCacheReportCommandOutput | DescribeCachediSCSIVolumesCommandOutput | DescribeChapCredentialsCommandOutput | DescribeFileSystemAssociationsCommandOutput | DescribeGatewayInformationCommandOutput | DescribeMaintenanceStartTimeCommandOutput | DescribeNFSFileSharesCommandOutput | DescribeSMBFileSharesCommandOutput | DescribeSMBSettingsCommandOutput | DescribeSnapshotScheduleCommandOutput | DescribeStorediSCSIVolumesCommandOutput | DescribeTapeArchivesCommandOutput | DescribeTapeRecoveryPointsCommandOutput | DescribeTapesCommandOutput | DescribeUploadBufferCommandOutput | DescribeVTLDevicesCommandOutput | DescribeWorkingStorageCommandOutput | DetachVolumeCommandOutput | DisableGatewayCommandOutput | DisassociateFileSystemCommandOutput | EvictFilesFailingUploadCommandOutput | JoinDomainCommandOutput | ListAutomaticTapeCreationPoliciesCommandOutput | ListCacheReportsCommandOutput | ListFileSharesCommandOutput | ListFileSystemAssociationsCommandOutput | ListGatewaysCommandOutput | ListLocalDisksCommandOutput | ListTagsForResourceCommandOutput | ListTapePoolsCommandOutput | ListTapesCommandOutput | ListVolumeInitiatorsCommandOutput | ListVolumeRecoveryPointsCommandOutput | ListVolumesCommandOutput | NotifyWhenUploadedCommandOutput | RefreshCacheCommandOutput | RemoveTagsFromResourceCommandOutput | ResetCacheCommandOutput | RetrieveTapeArchiveCommandOutput | RetrieveTapeRecoveryPointCommandOutput | SetLocalConsolePasswordCommandOutput | SetSMBGuestPasswordCommandOutput | ShutdownGatewayCommandOutput | StartAvailabilityMonitorTestCommandOutput | StartCacheReportCommandOutput | StartGatewayCommandOutput | UpdateAutomaticTapeCreationPolicyCommandOutput | UpdateBandwidthRateLimitCommandOutput | UpdateBandwidthRateLimitScheduleCommandOutput | UpdateChapCredentialsCommandOutput | UpdateFileSystemAssociationCommandOutput | UpdateGatewayInformationCommandOutput | UpdateGatewaySoftwareNowCommandOutput | UpdateMaintenanceStartTimeCommandOutput | UpdateNFSFileShareCommandOutput | UpdateSMBFileShareCommandOutput | UpdateSMBFileShareVisibilityCommandOutput | UpdateSMBLocalGroupsCommandOutput | UpdateSMBSecurityStrategyCommandOutput | UpdateSnapshotScheduleCommandOutput | UpdateVTLDeviceTypeCommandOutput;
|
|
116
117
|
/**
|
|
117
118
|
* @public
|
|
118
119
|
*/
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EvictFilesFailingUploadInput, EvictFilesFailingUploadOutput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EvictFilesFailingUploadCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EvictFilesFailingUploadCommandInput extends EvictFilesFailingUploadInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EvictFilesFailingUploadCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EvictFilesFailingUploadCommandOutput extends EvictFilesFailingUploadOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const EvictFilesFailingUploadCommand_base: {
|
|
25
|
+
new (input: EvictFilesFailingUploadCommandInput): import("@smithy/smithy-client").CommandImpl<EvictFilesFailingUploadCommandInput, EvictFilesFailingUploadCommandOutput, StorageGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: EvictFilesFailingUploadCommandInput): import("@smithy/smithy-client").CommandImpl<EvictFilesFailingUploadCommandInput, EvictFilesFailingUploadCommandOutput, StorageGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Starts a process that cleans the specified file share's cache of file entries that are
|
|
31
|
+
* failing upload to Amazon S3. This API operation reports success if the request is
|
|
32
|
+
* received with valid arguments, and there are no other cache clean operations currently
|
|
33
|
+
* in-progress for the specified file share. After a successful request, the cache clean
|
|
34
|
+
* operation occurs asynchronously and reports progress using CloudWatch logs and
|
|
35
|
+
* notifications.</p>
|
|
36
|
+
* <important>
|
|
37
|
+
* <p>If <code>ForceRemove</code> is set to <code>True</code>, the cache clean operation
|
|
38
|
+
* will delete file data from the gateway which might otherwise be recoverable. We
|
|
39
|
+
* recommend using this operation only after all other methods to clear files failing
|
|
40
|
+
* upload have been exhausted, and if your business need outweighs the potential data
|
|
41
|
+
* loss.</p>
|
|
42
|
+
* </important>
|
|
43
|
+
* @example
|
|
44
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
+
* ```javascript
|
|
46
|
+
* import { StorageGatewayClient, EvictFilesFailingUploadCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import
|
|
47
|
+
* // const { StorageGatewayClient, EvictFilesFailingUploadCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import
|
|
48
|
+
* const client = new StorageGatewayClient(config);
|
|
49
|
+
* const input = { // EvictFilesFailingUploadInput
|
|
50
|
+
* FileShareARN: "STRING_VALUE", // required
|
|
51
|
+
* ForceRemove: true || false,
|
|
52
|
+
* };
|
|
53
|
+
* const command = new EvictFilesFailingUploadCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // EvictFilesFailingUploadOutput
|
|
56
|
+
* // NotificationId: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param EvictFilesFailingUploadCommandInput - {@link EvictFilesFailingUploadCommandInput}
|
|
62
|
+
* @returns {@link EvictFilesFailingUploadCommandOutput}
|
|
63
|
+
* @see {@link EvictFilesFailingUploadCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link EvictFilesFailingUploadCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerError} (server fault)
|
|
68
|
+
* <p>An internal server error has occurred during the request. For more information, see the
|
|
69
|
+
* error and message fields.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidGatewayRequestException} (client fault)
|
|
72
|
+
* <p>An exception occurred because an invalid gateway request was issued to the service. For
|
|
73
|
+
* more information, see the error and message fields.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link StorageGatewayServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class EvictFilesFailingUploadCommand extends EvictFilesFailingUploadCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: EvictFilesFailingUploadInput;
|
|
85
|
+
output: EvictFilesFailingUploadOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: EvictFilesFailingUploadCommandInput;
|
|
89
|
+
output: EvictFilesFailingUploadCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -53,6 +53,7 @@ export * from "./DescribeWorkingStorageCommand";
|
|
|
53
53
|
export * from "./DetachVolumeCommand";
|
|
54
54
|
export * from "./DisableGatewayCommand";
|
|
55
55
|
export * from "./DisassociateFileSystemCommand";
|
|
56
|
+
export * from "./EvictFilesFailingUploadCommand";
|
|
56
57
|
export * from "./JoinDomainCommand";
|
|
57
58
|
export * from "./ListAutomaticTapeCreationPoliciesCommand";
|
|
58
59
|
export * from "./ListCacheReportsCommand";
|
|
@@ -5193,6 +5193,54 @@ export interface Disk {
|
|
|
5193
5193
|
*/
|
|
5194
5194
|
DiskAttributeList?: string[] | undefined;
|
|
5195
5195
|
}
|
|
5196
|
+
/**
|
|
5197
|
+
* @public
|
|
5198
|
+
*/
|
|
5199
|
+
export interface EvictFilesFailingUploadInput {
|
|
5200
|
+
/**
|
|
5201
|
+
* <p>The Amazon Resource Name (ARN) of the file share for which you want to start the cache
|
|
5202
|
+
* clean operation.</p>
|
|
5203
|
+
* @public
|
|
5204
|
+
*/
|
|
5205
|
+
FileShareARN: string | undefined;
|
|
5206
|
+
/**
|
|
5207
|
+
* <p>Specifies whether cache entries with full or partial file data currently stored on the
|
|
5208
|
+
* gateway will be forcibly removed by the cache clean operation.</p>
|
|
5209
|
+
* <p>Valid arguments:</p>
|
|
5210
|
+
* <ul>
|
|
5211
|
+
* <li>
|
|
5212
|
+
* <p>
|
|
5213
|
+
* <code>False</code> - The cache clean operation skips cache entries failing upload
|
|
5214
|
+
* if they are associated with data currently stored on the gateway. This preserves the
|
|
5215
|
+
* cached data.</p>
|
|
5216
|
+
* </li>
|
|
5217
|
+
* <li>
|
|
5218
|
+
* <p>
|
|
5219
|
+
* <code>True</code> - The cache clean operation removes cache entries failing upload
|
|
5220
|
+
* even if they are associated with data currently stored on the gateway. This deletes
|
|
5221
|
+
* the cached data.</p>
|
|
5222
|
+
* <important>
|
|
5223
|
+
* <p>If <code>ForceRemove</code> is set to <code>True</code>, the cache clean
|
|
5224
|
+
* operation will delete file data from the gateway which might otherwise be
|
|
5225
|
+
* recoverable.</p>
|
|
5226
|
+
* </important>
|
|
5227
|
+
* </li>
|
|
5228
|
+
* </ul>
|
|
5229
|
+
* @public
|
|
5230
|
+
*/
|
|
5231
|
+
ForceRemove?: boolean | undefined;
|
|
5232
|
+
}
|
|
5233
|
+
/**
|
|
5234
|
+
* @public
|
|
5235
|
+
*/
|
|
5236
|
+
export interface EvictFilesFailingUploadOutput {
|
|
5237
|
+
/**
|
|
5238
|
+
* <p>The randomly generated ID of the CloudWatch notification associated with the
|
|
5239
|
+
* cache clean operation. This ID is in UUID format.</p>
|
|
5240
|
+
* @public
|
|
5241
|
+
*/
|
|
5242
|
+
NotificationId?: string | undefined;
|
|
5243
|
+
}
|
|
5196
5244
|
/**
|
|
5197
5245
|
* @public
|
|
5198
5246
|
* @enum
|
|
@@ -55,6 +55,7 @@ import { DescribeWorkingStorageCommandInput, DescribeWorkingStorageCommandOutput
|
|
|
55
55
|
import { DetachVolumeCommandInput, DetachVolumeCommandOutput } from "../commands/DetachVolumeCommand";
|
|
56
56
|
import { DisableGatewayCommandInput, DisableGatewayCommandOutput } from "../commands/DisableGatewayCommand";
|
|
57
57
|
import { DisassociateFileSystemCommandInput, DisassociateFileSystemCommandOutput } from "../commands/DisassociateFileSystemCommand";
|
|
58
|
+
import { EvictFilesFailingUploadCommandInput, EvictFilesFailingUploadCommandOutput } from "../commands/EvictFilesFailingUploadCommand";
|
|
58
59
|
import { JoinDomainCommandInput, JoinDomainCommandOutput } from "../commands/JoinDomainCommand";
|
|
59
60
|
import { ListAutomaticTapeCreationPoliciesCommandInput, ListAutomaticTapeCreationPoliciesCommandOutput } from "../commands/ListAutomaticTapeCreationPoliciesCommand";
|
|
60
61
|
import { ListCacheReportsCommandInput, ListCacheReportsCommandOutput } from "../commands/ListCacheReportsCommand";
|
|
@@ -315,6 +316,10 @@ export declare const se_DisableGatewayCommand: (input: DisableGatewayCommandInpu
|
|
|
315
316
|
* serializeAws_json1_1DisassociateFileSystemCommand
|
|
316
317
|
*/
|
|
317
318
|
export declare const se_DisassociateFileSystemCommand: (input: DisassociateFileSystemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
319
|
+
/**
|
|
320
|
+
* serializeAws_json1_1EvictFilesFailingUploadCommand
|
|
321
|
+
*/
|
|
322
|
+
export declare const se_EvictFilesFailingUploadCommand: (input: EvictFilesFailingUploadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
318
323
|
/**
|
|
319
324
|
* serializeAws_json1_1JoinDomainCommand
|
|
320
325
|
*/
|
|
@@ -695,6 +700,10 @@ export declare const de_DisableGatewayCommand: (output: __HttpResponse, context:
|
|
|
695
700
|
* deserializeAws_json1_1DisassociateFileSystemCommand
|
|
696
701
|
*/
|
|
697
702
|
export declare const de_DisassociateFileSystemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateFileSystemCommandOutput>;
|
|
703
|
+
/**
|
|
704
|
+
* deserializeAws_json1_1EvictFilesFailingUploadCommand
|
|
705
|
+
*/
|
|
706
|
+
export declare const de_EvictFilesFailingUploadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EvictFilesFailingUploadCommandOutput>;
|
|
698
707
|
/**
|
|
699
708
|
* deserializeAws_json1_1JoinDomainCommand
|
|
700
709
|
*/
|
|
@@ -219,6 +219,10 @@ import {
|
|
|
219
219
|
DisassociateFileSystemCommandInput,
|
|
220
220
|
DisassociateFileSystemCommandOutput,
|
|
221
221
|
} from "./commands/DisassociateFileSystemCommand";
|
|
222
|
+
import {
|
|
223
|
+
EvictFilesFailingUploadCommandInput,
|
|
224
|
+
EvictFilesFailingUploadCommandOutput,
|
|
225
|
+
} from "./commands/EvictFilesFailingUploadCommand";
|
|
222
226
|
import {
|
|
223
227
|
JoinDomainCommandInput,
|
|
224
228
|
JoinDomainCommandOutput,
|
|
@@ -1115,6 +1119,19 @@ export interface StorageGateway {
|
|
|
1115
1119
|
options: __HttpHandlerOptions,
|
|
1116
1120
|
cb: (err: any, data?: DisassociateFileSystemCommandOutput) => void
|
|
1117
1121
|
): void;
|
|
1122
|
+
evictFilesFailingUpload(
|
|
1123
|
+
args: EvictFilesFailingUploadCommandInput,
|
|
1124
|
+
options?: __HttpHandlerOptions
|
|
1125
|
+
): Promise<EvictFilesFailingUploadCommandOutput>;
|
|
1126
|
+
evictFilesFailingUpload(
|
|
1127
|
+
args: EvictFilesFailingUploadCommandInput,
|
|
1128
|
+
cb: (err: any, data?: EvictFilesFailingUploadCommandOutput) => void
|
|
1129
|
+
): void;
|
|
1130
|
+
evictFilesFailingUpload(
|
|
1131
|
+
args: EvictFilesFailingUploadCommandInput,
|
|
1132
|
+
options: __HttpHandlerOptions,
|
|
1133
|
+
cb: (err: any, data?: EvictFilesFailingUploadCommandOutput) => void
|
|
1134
|
+
): void;
|
|
1118
1135
|
joinDomain(
|
|
1119
1136
|
args: JoinDomainCommandInput,
|
|
1120
1137
|
options?: __HttpHandlerOptions
|
|
@@ -265,6 +265,10 @@ import {
|
|
|
265
265
|
DisassociateFileSystemCommandInput,
|
|
266
266
|
DisassociateFileSystemCommandOutput,
|
|
267
267
|
} from "./commands/DisassociateFileSystemCommand";
|
|
268
|
+
import {
|
|
269
|
+
EvictFilesFailingUploadCommandInput,
|
|
270
|
+
EvictFilesFailingUploadCommandOutput,
|
|
271
|
+
} from "./commands/EvictFilesFailingUploadCommand";
|
|
268
272
|
import {
|
|
269
273
|
JoinDomainCommandInput,
|
|
270
274
|
JoinDomainCommandOutput,
|
|
@@ -488,6 +492,7 @@ export type ServiceInputTypes =
|
|
|
488
492
|
| DetachVolumeCommandInput
|
|
489
493
|
| DisableGatewayCommandInput
|
|
490
494
|
| DisassociateFileSystemCommandInput
|
|
495
|
+
| EvictFilesFailingUploadCommandInput
|
|
491
496
|
| JoinDomainCommandInput
|
|
492
497
|
| ListAutomaticTapeCreationPoliciesCommandInput
|
|
493
498
|
| ListCacheReportsCommandInput
|
|
@@ -584,6 +589,7 @@ export type ServiceOutputTypes =
|
|
|
584
589
|
| DetachVolumeCommandOutput
|
|
585
590
|
| DisableGatewayCommandOutput
|
|
586
591
|
| DisassociateFileSystemCommandOutput
|
|
592
|
+
| EvictFilesFailingUploadCommandOutput
|
|
587
593
|
| JoinDomainCommandOutput
|
|
588
594
|
| ListAutomaticTapeCreationPoliciesCommandOutput
|
|
589
595
|
| ListCacheReportsCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
EvictFilesFailingUploadInput,
|
|
5
|
+
EvictFilesFailingUploadOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
StorageGatewayClientResolvedConfig,
|
|
11
|
+
} from "../StorageGatewayClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface EvictFilesFailingUploadCommandInput
|
|
15
|
+
extends EvictFilesFailingUploadInput {}
|
|
16
|
+
export interface EvictFilesFailingUploadCommandOutput
|
|
17
|
+
extends EvictFilesFailingUploadOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const EvictFilesFailingUploadCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: EvictFilesFailingUploadCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
EvictFilesFailingUploadCommandInput,
|
|
24
|
+
EvictFilesFailingUploadCommandOutput,
|
|
25
|
+
StorageGatewayClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: EvictFilesFailingUploadCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
EvictFilesFailingUploadCommandInput,
|
|
33
|
+
EvictFilesFailingUploadCommandOutput,
|
|
34
|
+
StorageGatewayClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class EvictFilesFailingUploadCommand extends EvictFilesFailingUploadCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: EvictFilesFailingUploadInput;
|
|
44
|
+
output: EvictFilesFailingUploadOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: EvictFilesFailingUploadCommandInput;
|
|
48
|
+
output: EvictFilesFailingUploadCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -53,6 +53,7 @@ export * from "./DescribeWorkingStorageCommand";
|
|
|
53
53
|
export * from "./DetachVolumeCommand";
|
|
54
54
|
export * from "./DisableGatewayCommand";
|
|
55
55
|
export * from "./DisassociateFileSystemCommand";
|
|
56
|
+
export * from "./EvictFilesFailingUploadCommand";
|
|
56
57
|
export * from "./JoinDomainCommand";
|
|
57
58
|
export * from "./ListAutomaticTapeCreationPoliciesCommand";
|
|
58
59
|
export * from "./ListCacheReportsCommand";
|
|
@@ -969,6 +969,13 @@ export interface Disk {
|
|
|
969
969
|
DiskAllocationResource?: string | undefined;
|
|
970
970
|
DiskAttributeList?: string[] | undefined;
|
|
971
971
|
}
|
|
972
|
+
export interface EvictFilesFailingUploadInput {
|
|
973
|
+
FileShareARN: string | undefined;
|
|
974
|
+
ForceRemove?: boolean | undefined;
|
|
975
|
+
}
|
|
976
|
+
export interface EvictFilesFailingUploadOutput {
|
|
977
|
+
NotificationId?: string | undefined;
|
|
978
|
+
}
|
|
972
979
|
export declare const FileShareType: {
|
|
973
980
|
readonly NFS: "NFS";
|
|
974
981
|
readonly SMB: "SMB";
|
|
@@ -223,6 +223,10 @@ import {
|
|
|
223
223
|
DisassociateFileSystemCommandInput,
|
|
224
224
|
DisassociateFileSystemCommandOutput,
|
|
225
225
|
} from "../commands/DisassociateFileSystemCommand";
|
|
226
|
+
import {
|
|
227
|
+
EvictFilesFailingUploadCommandInput,
|
|
228
|
+
EvictFilesFailingUploadCommandOutput,
|
|
229
|
+
} from "../commands/EvictFilesFailingUploadCommand";
|
|
226
230
|
import {
|
|
227
231
|
JoinDomainCommandInput,
|
|
228
232
|
JoinDomainCommandOutput,
|
|
@@ -603,6 +607,10 @@ export declare const se_DisassociateFileSystemCommand: (
|
|
|
603
607
|
input: DisassociateFileSystemCommandInput,
|
|
604
608
|
context: __SerdeContext
|
|
605
609
|
) => Promise<__HttpRequest>;
|
|
610
|
+
export declare const se_EvictFilesFailingUploadCommand: (
|
|
611
|
+
input: EvictFilesFailingUploadCommandInput,
|
|
612
|
+
context: __SerdeContext
|
|
613
|
+
) => Promise<__HttpRequest>;
|
|
606
614
|
export declare const se_JoinDomainCommand: (
|
|
607
615
|
input: JoinDomainCommandInput,
|
|
608
616
|
context: __SerdeContext
|
|
@@ -983,6 +991,10 @@ export declare const de_DisassociateFileSystemCommand: (
|
|
|
983
991
|
output: __HttpResponse,
|
|
984
992
|
context: __SerdeContext
|
|
985
993
|
) => Promise<DisassociateFileSystemCommandOutput>;
|
|
994
|
+
export declare const de_EvictFilesFailingUploadCommand: (
|
|
995
|
+
output: __HttpResponse,
|
|
996
|
+
context: __SerdeContext
|
|
997
|
+
) => Promise<EvictFilesFailingUploadCommandOutput>;
|
|
986
998
|
export declare const de_JoinDomainCommand: (
|
|
987
999
|
output: __HttpResponse,
|
|
988
1000
|
context: __SerdeContext
|
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.
|
|
4
|
+
"version": "3.772.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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|