@aws-sdk/client-fsx 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AssociateFileSystemAliasesCommand.js +2 -2
- package/dist-cjs/commands/CancelDataRepositoryTaskCommand.js +2 -2
- package/dist-cjs/commands/CopyBackupCommand.js +2 -2
- package/dist-cjs/commands/CreateBackupCommand.js +2 -2
- package/dist-cjs/commands/CreateDataRepositoryAssociationCommand.js +2 -2
- package/dist-cjs/commands/CreateDataRepositoryTaskCommand.js +2 -2
- package/dist-cjs/commands/CreateFileCacheCommand.js +2 -2
- package/dist-cjs/commands/CreateFileSystemCommand.js +2 -2
- package/dist-cjs/commands/CreateFileSystemFromBackupCommand.js +2 -2
- package/dist-cjs/commands/CreateSnapshotCommand.js +2 -2
- package/dist-cjs/commands/CreateStorageVirtualMachineCommand.js +2 -2
- package/dist-cjs/commands/CreateVolumeCommand.js +2 -2
- package/dist-cjs/commands/CreateVolumeFromBackupCommand.js +2 -2
- package/dist-cjs/commands/DeleteBackupCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataRepositoryAssociationCommand.js +2 -2
- package/dist-cjs/commands/DeleteFileCacheCommand.js +2 -2
- package/dist-cjs/commands/DeleteFileSystemCommand.js +2 -2
- package/dist-cjs/commands/DeleteSnapshotCommand.js +2 -2
- package/dist-cjs/commands/DeleteStorageVirtualMachineCommand.js +2 -2
- package/dist-cjs/commands/DeleteVolumeCommand.js +2 -2
- package/dist-cjs/commands/DescribeBackupsCommand.js +2 -2
- package/dist-cjs/commands/DescribeDataRepositoryAssociationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeDataRepositoryTasksCommand.js +2 -2
- package/dist-cjs/commands/DescribeFileCachesCommand.js +2 -2
- package/dist-cjs/commands/DescribeFileSystemAliasesCommand.js +2 -2
- package/dist-cjs/commands/DescribeFileSystemsCommand.js +2 -2
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +2 -2
- package/dist-cjs/commands/DescribeStorageVirtualMachinesCommand.js +2 -2
- package/dist-cjs/commands/DescribeVolumesCommand.js +2 -2
- package/dist-cjs/commands/DisassociateFileSystemAliasesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ReleaseFileSystemNfsV3LocksCommand.js +2 -2
- package/dist-cjs/commands/RestoreVolumeFromSnapshotCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateDataRepositoryAssociationCommand.js +2 -2
- package/dist-cjs/commands/UpdateFileCacheCommand.js +2 -2
- package/dist-cjs/commands/UpdateFileSystemCommand.js +2 -2
- package/dist-cjs/commands/UpdateSnapshotCommand.js +2 -2
- package/dist-cjs/commands/UpdateStorageVirtualMachineCommand.js +2 -2
- package/dist-cjs/commands/UpdateVolumeCommand.js +2 -2
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_json1_1.js +1168 -1258
- package/dist-es/commands/AssociateFileSystemAliasesCommand.js +3 -3
- package/dist-es/commands/CancelDataRepositoryTaskCommand.js +3 -3
- package/dist-es/commands/CopyBackupCommand.js +3 -3
- package/dist-es/commands/CreateBackupCommand.js +3 -3
- package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +3 -3
- package/dist-es/commands/CreateDataRepositoryTaskCommand.js +3 -3
- package/dist-es/commands/CreateFileCacheCommand.js +3 -3
- package/dist-es/commands/CreateFileSystemCommand.js +3 -3
- package/dist-es/commands/CreateFileSystemFromBackupCommand.js +3 -3
- package/dist-es/commands/CreateSnapshotCommand.js +3 -3
- package/dist-es/commands/CreateStorageVirtualMachineCommand.js +3 -3
- package/dist-es/commands/CreateVolumeCommand.js +3 -3
- package/dist-es/commands/CreateVolumeFromBackupCommand.js +3 -3
- package/dist-es/commands/DeleteBackupCommand.js +3 -3
- package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +3 -3
- package/dist-es/commands/DeleteFileCacheCommand.js +3 -3
- package/dist-es/commands/DeleteFileSystemCommand.js +3 -3
- package/dist-es/commands/DeleteSnapshotCommand.js +3 -3
- package/dist-es/commands/DeleteStorageVirtualMachineCommand.js +3 -3
- package/dist-es/commands/DeleteVolumeCommand.js +3 -3
- package/dist-es/commands/DescribeBackupsCommand.js +3 -3
- package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +3 -3
- package/dist-es/commands/DescribeDataRepositoryTasksCommand.js +3 -3
- package/dist-es/commands/DescribeFileCachesCommand.js +3 -3
- package/dist-es/commands/DescribeFileSystemAliasesCommand.js +3 -3
- package/dist-es/commands/DescribeFileSystemsCommand.js +3 -3
- package/dist-es/commands/DescribeSnapshotsCommand.js +3 -3
- package/dist-es/commands/DescribeStorageVirtualMachinesCommand.js +3 -3
- package/dist-es/commands/DescribeVolumesCommand.js +3 -3
- package/dist-es/commands/DisassociateFileSystemAliasesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +3 -3
- package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +3 -3
- package/dist-es/commands/UpdateFileCacheCommand.js +3 -3
- package/dist-es/commands/UpdateFileSystemCommand.js +3 -3
- package/dist-es/commands/UpdateSnapshotCommand.js +3 -3
- package/dist-es/commands/UpdateStorageVirtualMachineCommand.js +3 -3
- package/dist-es/commands/UpdateVolumeCommand.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +1084 -1174
- package/dist-types/FSx.d.ts +33 -12
- package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDataRepositoryAssociationCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDataRepositoryAssociationCommand.d.ts +3 -2
- package/dist-types/commands/UpdateFileSystemCommand.d.ts +24 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +109 -108
- package/dist-types/protocols/Aws_json1_1.d.ts +328 -82
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +82 -82
- package/package.json +29 -29
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DescribeVolumesCommand, se_DescribeVolumesCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DescribeVolumesCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DescribeVolumesCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DescribeVolumesCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DescribeVolumesCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DisassociateFileSystemAliasesCommand, se_DisassociateFileSystemAliasesCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class DisassociateFileSystemAliasesCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DisassociateFileSystemAliasesCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DisassociateFileSystemAliasesCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DisassociateFileSystemAliasesCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class ListTagsForResourceCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_ListTagsForResourceCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_ListTagsForResourceCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_ReleaseFileSystemNfsV3LocksCommand, se_ReleaseFileSystemNfsV3LocksCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class ReleaseFileSystemNfsV3LocksCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class ReleaseFileSystemNfsV3LocksCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_ReleaseFileSystemNfsV3LocksCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_ReleaseFileSystemNfsV3LocksCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_RestoreVolumeFromSnapshotCommand, se_RestoreVolumeFromSnapshotCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class RestoreVolumeFromSnapshotCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class RestoreVolumeFromSnapshotCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_RestoreVolumeFromSnapshotCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_RestoreVolumeFromSnapshotCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class TagResourceCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class TagResourceCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_TagResourceCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_TagResourceCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UntagResourceCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UntagResourceCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UntagResourceCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UntagResourceCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateDataRepositoryAssociationCommand, se_UpdateDataRepositoryAssociationCommand, } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateDataRepositoryAssociationCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateDataRepositoryAssociationCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateDataRepositoryAssociationCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateDataRepositoryAssociationCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateFileCacheCommand, se_UpdateFileCacheCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateFileCacheCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateFileCacheCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateFileCacheCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateFileCacheCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { UpdateFileSystemRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { de_UpdateFileSystemCommand, se_UpdateFileSystemCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class UpdateFileSystemCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
@@ -34,9 +34,9 @@ export class UpdateFileSystemCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_UpdateFileSystemCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_UpdateFileSystemCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateSnapshotCommand, se_UpdateSnapshotCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateSnapshotCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateSnapshotCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateSnapshotCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateSnapshotCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { UpdateStorageVirtualMachineRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { de_UpdateStorageVirtualMachineCommand, se_UpdateStorageVirtualMachineCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class UpdateStorageVirtualMachineCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
@@ -34,9 +34,9 @@ export class UpdateStorageVirtualMachineCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_UpdateStorageVirtualMachineCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_UpdateStorageVirtualMachineCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateVolumeCommand, se_UpdateVolumeCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class UpdateVolumeCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateVolumeCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateVolumeCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateVolumeCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://fsx-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://fsx-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://fsx.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://fsx.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|