@aws-sdk/client-storage-gateway 3.750.0 → 3.758.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 +37 -0
- 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 +12 -12
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
|
@@ -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,
|
|
@@ -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);
|
|
@@ -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.758.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.758.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
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",
|