@aws-sdk/client-fsx 3.200.0 → 3.202.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/CHANGELOG.md +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_json1_1.js +36 -69
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-fsx
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-fsx
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useDualstackEndpoint:
|
|
9
|
-
useFipsEndpoint:
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "fsx",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -2659,10 +2659,9 @@ const serializeAws_json1_1AlternateDNSNames = (input, context) => {
|
|
|
2659
2659
|
});
|
|
2660
2660
|
};
|
|
2661
2661
|
const serializeAws_json1_1AssociateFileSystemAliasesRequest = (input, context) => {
|
|
2662
|
-
var _a;
|
|
2663
2662
|
return {
|
|
2664
2663
|
...(input.Aliases != null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) }),
|
|
2665
|
-
ClientRequestToken:
|
|
2664
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2666
2665
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
2667
2666
|
};
|
|
2668
2667
|
};
|
|
@@ -2697,9 +2696,8 @@ const serializeAws_json1_1CompletionReport = (input, context) => {
|
|
|
2697
2696
|
};
|
|
2698
2697
|
};
|
|
2699
2698
|
const serializeAws_json1_1CopyBackupRequest = (input, context) => {
|
|
2700
|
-
var _a;
|
|
2701
2699
|
return {
|
|
2702
|
-
ClientRequestToken:
|
|
2700
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2703
2701
|
...(input.CopyTags != null && { CopyTags: input.CopyTags }),
|
|
2704
2702
|
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2705
2703
|
...(input.SourceBackupId != null && { SourceBackupId: input.SourceBackupId }),
|
|
@@ -2708,21 +2706,19 @@ const serializeAws_json1_1CopyBackupRequest = (input, context) => {
|
|
|
2708
2706
|
};
|
|
2709
2707
|
};
|
|
2710
2708
|
const serializeAws_json1_1CreateBackupRequest = (input, context) => {
|
|
2711
|
-
var _a;
|
|
2712
2709
|
return {
|
|
2713
|
-
ClientRequestToken:
|
|
2710
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2714
2711
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
2715
2712
|
...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
2716
2713
|
...(input.VolumeId != null && { VolumeId: input.VolumeId }),
|
|
2717
2714
|
};
|
|
2718
2715
|
};
|
|
2719
2716
|
const serializeAws_json1_1CreateDataRepositoryAssociationRequest = (input, context) => {
|
|
2720
|
-
var _a;
|
|
2721
2717
|
return {
|
|
2722
2718
|
...(input.BatchImportMetaDataOnCreate != null && {
|
|
2723
2719
|
BatchImportMetaDataOnCreate: input.BatchImportMetaDataOnCreate,
|
|
2724
2720
|
}),
|
|
2725
|
-
ClientRequestToken:
|
|
2721
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2726
2722
|
...(input.DataRepositoryPath != null && { DataRepositoryPath: input.DataRepositoryPath }),
|
|
2727
2723
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
2728
2724
|
...(input.FileSystemPath != null && { FileSystemPath: input.FileSystemPath }),
|
|
@@ -2732,10 +2728,9 @@ const serializeAws_json1_1CreateDataRepositoryAssociationRequest = (input, conte
|
|
|
2732
2728
|
};
|
|
2733
2729
|
};
|
|
2734
2730
|
const serializeAws_json1_1CreateDataRepositoryTaskRequest = (input, context) => {
|
|
2735
|
-
var _a;
|
|
2736
2731
|
return {
|
|
2737
2732
|
...(input.CapacityToRelease != null && { CapacityToRelease: input.CapacityToRelease }),
|
|
2738
|
-
ClientRequestToken:
|
|
2733
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2739
2734
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
2740
2735
|
...(input.Paths != null && { Paths: serializeAws_json1_1DataRepositoryTaskPaths(input.Paths, context) }),
|
|
2741
2736
|
...(input.Report != null && { Report: serializeAws_json1_1CompletionReport(input.Report, context) }),
|
|
@@ -2761,9 +2756,8 @@ const serializeAws_json1_1CreateFileCacheLustreConfiguration = (input, context)
|
|
|
2761
2756
|
};
|
|
2762
2757
|
};
|
|
2763
2758
|
const serializeAws_json1_1CreateFileCacheRequest = (input, context) => {
|
|
2764
|
-
var _a;
|
|
2765
2759
|
return {
|
|
2766
|
-
ClientRequestToken:
|
|
2760
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2767
2761
|
...(input.CopyTagsToDataRepositoryAssociations != null && {
|
|
2768
2762
|
CopyTagsToDataRepositoryAssociations: input.CopyTagsToDataRepositoryAssociations,
|
|
2769
2763
|
}),
|
|
@@ -2785,10 +2779,9 @@ const serializeAws_json1_1CreateFileCacheRequest = (input, context) => {
|
|
|
2785
2779
|
};
|
|
2786
2780
|
};
|
|
2787
2781
|
const serializeAws_json1_1CreateFileSystemFromBackupRequest = (input, context) => {
|
|
2788
|
-
var _a;
|
|
2789
2782
|
return {
|
|
2790
2783
|
...(input.BackupId != null && { BackupId: input.BackupId }),
|
|
2791
|
-
ClientRequestToken:
|
|
2784
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2792
2785
|
...(input.FileSystemTypeVersion != null && { FileSystemTypeVersion: input.FileSystemTypeVersion }),
|
|
2793
2786
|
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2794
2787
|
...(input.LustreConfiguration != null && {
|
|
@@ -2879,9 +2872,8 @@ const serializeAws_json1_1CreateFileSystemOpenZFSConfiguration = (input, context
|
|
|
2879
2872
|
};
|
|
2880
2873
|
};
|
|
2881
2874
|
const serializeAws_json1_1CreateFileSystemRequest = (input, context) => {
|
|
2882
|
-
var _a;
|
|
2883
2875
|
return {
|
|
2884
|
-
ClientRequestToken:
|
|
2876
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2885
2877
|
...(input.FileSystemType != null && { FileSystemType: input.FileSystemType }),
|
|
2886
2878
|
...(input.FileSystemTypeVersion != null && { FileSystemTypeVersion: input.FileSystemTypeVersion }),
|
|
2887
2879
|
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
@@ -2968,21 +2960,19 @@ const serializeAws_json1_1CreateOpenZFSVolumeConfiguration = (input, context) =>
|
|
|
2968
2960
|
};
|
|
2969
2961
|
};
|
|
2970
2962
|
const serializeAws_json1_1CreateSnapshotRequest = (input, context) => {
|
|
2971
|
-
var _a;
|
|
2972
2963
|
return {
|
|
2973
|
-
ClientRequestToken:
|
|
2964
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2974
2965
|
...(input.Name != null && { Name: input.Name }),
|
|
2975
2966
|
...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
2976
2967
|
...(input.VolumeId != null && { VolumeId: input.VolumeId }),
|
|
2977
2968
|
};
|
|
2978
2969
|
};
|
|
2979
2970
|
const serializeAws_json1_1CreateStorageVirtualMachineRequest = (input, context) => {
|
|
2980
|
-
var _a;
|
|
2981
2971
|
return {
|
|
2982
2972
|
...(input.ActiveDirectoryConfiguration != null && {
|
|
2983
2973
|
ActiveDirectoryConfiguration: serializeAws_json1_1CreateSvmActiveDirectoryConfiguration(input.ActiveDirectoryConfiguration, context),
|
|
2984
2974
|
}),
|
|
2985
|
-
ClientRequestToken:
|
|
2975
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
2986
2976
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
2987
2977
|
...(input.Name != null && { Name: input.Name }),
|
|
2988
2978
|
...(input.RootVolumeSecurityStyle != null && { RootVolumeSecurityStyle: input.RootVolumeSecurityStyle }),
|
|
@@ -2999,10 +2989,9 @@ const serializeAws_json1_1CreateSvmActiveDirectoryConfiguration = (input, contex
|
|
|
2999
2989
|
};
|
|
3000
2990
|
};
|
|
3001
2991
|
const serializeAws_json1_1CreateVolumeFromBackupRequest = (input, context) => {
|
|
3002
|
-
var _a;
|
|
3003
2992
|
return {
|
|
3004
2993
|
...(input.BackupId != null && { BackupId: input.BackupId }),
|
|
3005
|
-
ClientRequestToken:
|
|
2994
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3006
2995
|
...(input.Name != null && { Name: input.Name }),
|
|
3007
2996
|
...(input.OntapConfiguration != null && {
|
|
3008
2997
|
OntapConfiguration: serializeAws_json1_1CreateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
@@ -3011,9 +3000,8 @@ const serializeAws_json1_1CreateVolumeFromBackupRequest = (input, context) => {
|
|
|
3011
3000
|
};
|
|
3012
3001
|
};
|
|
3013
3002
|
const serializeAws_json1_1CreateVolumeRequest = (input, context) => {
|
|
3014
|
-
var _a;
|
|
3015
3003
|
return {
|
|
3016
|
-
ClientRequestToken:
|
|
3004
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3017
3005
|
...(input.Name != null && { Name: input.Name }),
|
|
3018
3006
|
...(input.OntapConfiguration != null && {
|
|
3019
3007
|
OntapConfiguration: serializeAws_json1_1CreateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
@@ -3060,24 +3048,21 @@ const serializeAws_json1_1DataRepositoryTaskPaths = (input, context) => {
|
|
|
3060
3048
|
});
|
|
3061
3049
|
};
|
|
3062
3050
|
const serializeAws_json1_1DeleteBackupRequest = (input, context) => {
|
|
3063
|
-
var _a;
|
|
3064
3051
|
return {
|
|
3065
3052
|
...(input.BackupId != null && { BackupId: input.BackupId }),
|
|
3066
|
-
ClientRequestToken:
|
|
3053
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3067
3054
|
};
|
|
3068
3055
|
};
|
|
3069
3056
|
const serializeAws_json1_1DeleteDataRepositoryAssociationRequest = (input, context) => {
|
|
3070
|
-
var _a;
|
|
3071
3057
|
return {
|
|
3072
3058
|
...(input.AssociationId != null && { AssociationId: input.AssociationId }),
|
|
3073
|
-
ClientRequestToken:
|
|
3059
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3074
3060
|
...(input.DeleteDataInFileSystem != null && { DeleteDataInFileSystem: input.DeleteDataInFileSystem }),
|
|
3075
3061
|
};
|
|
3076
3062
|
};
|
|
3077
3063
|
const serializeAws_json1_1DeleteFileCacheRequest = (input, context) => {
|
|
3078
|
-
var _a;
|
|
3079
3064
|
return {
|
|
3080
|
-
ClientRequestToken:
|
|
3065
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3081
3066
|
...(input.FileCacheId != null && { FileCacheId: input.FileCacheId }),
|
|
3082
3067
|
};
|
|
3083
3068
|
};
|
|
@@ -3104,9 +3089,8 @@ const serializeAws_json1_1DeleteFileSystemOpenZFSOptions = (input, context) => {
|
|
|
3104
3089
|
});
|
|
3105
3090
|
};
|
|
3106
3091
|
const serializeAws_json1_1DeleteFileSystemRequest = (input, context) => {
|
|
3107
|
-
var _a;
|
|
3108
3092
|
return {
|
|
3109
|
-
ClientRequestToken:
|
|
3093
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3110
3094
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
3111
3095
|
...(input.LustreConfiguration != null && {
|
|
3112
3096
|
LustreConfiguration: serializeAws_json1_1DeleteFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
@@ -3133,16 +3117,14 @@ const serializeAws_json1_1DeleteOpenZFSVolumeOptions = (input, context) => {
|
|
|
3133
3117
|
});
|
|
3134
3118
|
};
|
|
3135
3119
|
const serializeAws_json1_1DeleteSnapshotRequest = (input, context) => {
|
|
3136
|
-
var _a;
|
|
3137
3120
|
return {
|
|
3138
|
-
ClientRequestToken:
|
|
3121
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3139
3122
|
...(input.SnapshotId != null && { SnapshotId: input.SnapshotId }),
|
|
3140
3123
|
};
|
|
3141
3124
|
};
|
|
3142
3125
|
const serializeAws_json1_1DeleteStorageVirtualMachineRequest = (input, context) => {
|
|
3143
|
-
var _a;
|
|
3144
3126
|
return {
|
|
3145
|
-
ClientRequestToken:
|
|
3127
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3146
3128
|
...(input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId }),
|
|
3147
3129
|
};
|
|
3148
3130
|
};
|
|
@@ -3158,9 +3140,8 @@ const serializeAws_json1_1DeleteVolumeOpenZFSConfiguration = (input, context) =>
|
|
|
3158
3140
|
};
|
|
3159
3141
|
};
|
|
3160
3142
|
const serializeAws_json1_1DeleteVolumeRequest = (input, context) => {
|
|
3161
|
-
var _a;
|
|
3162
3143
|
return {
|
|
3163
|
-
ClientRequestToken:
|
|
3144
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3164
3145
|
...(input.OntapConfiguration != null && {
|
|
3165
3146
|
OntapConfiguration: serializeAws_json1_1DeleteVolumeOntapConfiguration(input.OntapConfiguration, context),
|
|
3166
3147
|
}),
|
|
@@ -3204,9 +3185,8 @@ const serializeAws_json1_1DescribeFileCachesRequest = (input, context) => {
|
|
|
3204
3185
|
};
|
|
3205
3186
|
};
|
|
3206
3187
|
const serializeAws_json1_1DescribeFileSystemAliasesRequest = (input, context) => {
|
|
3207
|
-
var _a;
|
|
3208
3188
|
return {
|
|
3209
|
-
ClientRequestToken:
|
|
3189
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3210
3190
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
3211
3191
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3212
3192
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
@@ -3248,10 +3228,9 @@ const serializeAws_json1_1DescribeVolumesRequest = (input, context) => {
|
|
|
3248
3228
|
};
|
|
3249
3229
|
};
|
|
3250
3230
|
const serializeAws_json1_1DisassociateFileSystemAliasesRequest = (input, context) => {
|
|
3251
|
-
var _a;
|
|
3252
3231
|
return {
|
|
3253
3232
|
...(input.Aliases != null && { Aliases: serializeAws_json1_1AlternateDNSNames(input.Aliases, context) }),
|
|
3254
|
-
ClientRequestToken:
|
|
3233
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3255
3234
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
3256
3235
|
};
|
|
3257
3236
|
};
|
|
@@ -3419,9 +3398,8 @@ const serializeAws_json1_1OpenZFSUserOrGroupQuota = (input, context) => {
|
|
|
3419
3398
|
};
|
|
3420
3399
|
};
|
|
3421
3400
|
const serializeAws_json1_1ReleaseFileSystemNfsV3LocksRequest = (input, context) => {
|
|
3422
|
-
var _a;
|
|
3423
3401
|
return {
|
|
3424
|
-
ClientRequestToken:
|
|
3402
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3425
3403
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
3426
3404
|
};
|
|
3427
3405
|
};
|
|
@@ -3440,9 +3418,8 @@ const serializeAws_json1_1RestoreOpenZFSVolumeOptions = (input, context) => {
|
|
|
3440
3418
|
});
|
|
3441
3419
|
};
|
|
3442
3420
|
const serializeAws_json1_1RestoreVolumeFromSnapshotRequest = (input, context) => {
|
|
3443
|
-
var _a;
|
|
3444
3421
|
return {
|
|
3445
|
-
ClientRequestToken:
|
|
3422
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3446
3423
|
...(input.Options != null && { Options: serializeAws_json1_1RestoreOpenZFSVolumeOptions(input.Options, context) }),
|
|
3447
3424
|
...(input.SnapshotId != null && { SnapshotId: input.SnapshotId }),
|
|
3448
3425
|
...(input.VolumeId != null && { VolumeId: input.VolumeId }),
|
|
@@ -3609,10 +3586,9 @@ const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
|
3609
3586
|
};
|
|
3610
3587
|
};
|
|
3611
3588
|
const serializeAws_json1_1UpdateDataRepositoryAssociationRequest = (input, context) => {
|
|
3612
|
-
var _a;
|
|
3613
3589
|
return {
|
|
3614
3590
|
...(input.AssociationId != null && { AssociationId: input.AssociationId }),
|
|
3615
|
-
ClientRequestToken:
|
|
3591
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3616
3592
|
...(input.ImportedFileChunkSize != null && { ImportedFileChunkSize: input.ImportedFileChunkSize }),
|
|
3617
3593
|
...(input.S3 != null && { S3: serializeAws_json1_1S3DataRepositoryConfiguration(input.S3, context) }),
|
|
3618
3594
|
};
|
|
@@ -3623,9 +3599,8 @@ const serializeAws_json1_1UpdateFileCacheLustreConfiguration = (input, context)
|
|
|
3623
3599
|
};
|
|
3624
3600
|
};
|
|
3625
3601
|
const serializeAws_json1_1UpdateFileCacheRequest = (input, context) => {
|
|
3626
|
-
var _a;
|
|
3627
3602
|
return {
|
|
3628
|
-
ClientRequestToken:
|
|
3603
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3629
3604
|
...(input.FileCacheId != null && { FileCacheId: input.FileCacheId }),
|
|
3630
3605
|
...(input.LustreConfiguration != null && {
|
|
3631
3606
|
LustreConfiguration: serializeAws_json1_1UpdateFileCacheLustreConfiguration(input.LustreConfiguration, context),
|
|
@@ -3685,9 +3660,8 @@ const serializeAws_json1_1UpdateFileSystemOpenZFSConfiguration = (input, context
|
|
|
3685
3660
|
};
|
|
3686
3661
|
};
|
|
3687
3662
|
const serializeAws_json1_1UpdateFileSystemRequest = (input, context) => {
|
|
3688
|
-
var _a;
|
|
3689
3663
|
return {
|
|
3690
|
-
ClientRequestToken:
|
|
3664
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3691
3665
|
...(input.FileSystemId != null && { FileSystemId: input.FileSystemId }),
|
|
3692
3666
|
...(input.LustreConfiguration != null && {
|
|
3693
3667
|
LustreConfiguration: serializeAws_json1_1UpdateFileSystemLustreConfiguration(input.LustreConfiguration, context),
|
|
@@ -3749,20 +3723,18 @@ const serializeAws_json1_1UpdateOpenZFSVolumeConfiguration = (input, context) =>
|
|
|
3749
3723
|
};
|
|
3750
3724
|
};
|
|
3751
3725
|
const serializeAws_json1_1UpdateSnapshotRequest = (input, context) => {
|
|
3752
|
-
var _a;
|
|
3753
3726
|
return {
|
|
3754
|
-
ClientRequestToken:
|
|
3727
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3755
3728
|
...(input.Name != null && { Name: input.Name }),
|
|
3756
3729
|
...(input.SnapshotId != null && { SnapshotId: input.SnapshotId }),
|
|
3757
3730
|
};
|
|
3758
3731
|
};
|
|
3759
3732
|
const serializeAws_json1_1UpdateStorageVirtualMachineRequest = (input, context) => {
|
|
3760
|
-
var _a;
|
|
3761
3733
|
return {
|
|
3762
3734
|
...(input.ActiveDirectoryConfiguration != null && {
|
|
3763
3735
|
ActiveDirectoryConfiguration: serializeAws_json1_1UpdateSvmActiveDirectoryConfiguration(input.ActiveDirectoryConfiguration, context),
|
|
3764
3736
|
}),
|
|
3765
|
-
ClientRequestToken:
|
|
3737
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3766
3738
|
...(input.StorageVirtualMachineId != null && { StorageVirtualMachineId: input.StorageVirtualMachineId }),
|
|
3767
3739
|
...(input.SvmAdminPassword != null && { SvmAdminPassword: input.SvmAdminPassword }),
|
|
3768
3740
|
};
|
|
@@ -3775,9 +3747,8 @@ const serializeAws_json1_1UpdateSvmActiveDirectoryConfiguration = (input, contex
|
|
|
3775
3747
|
};
|
|
3776
3748
|
};
|
|
3777
3749
|
const serializeAws_json1_1UpdateVolumeRequest = (input, context) => {
|
|
3778
|
-
var _a;
|
|
3779
3750
|
return {
|
|
3780
|
-
ClientRequestToken:
|
|
3751
|
+
ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
|
|
3781
3752
|
...(input.Name != null && { Name: input.Name }),
|
|
3782
3753
|
...(input.OntapConfiguration != null && {
|
|
3783
3754
|
OntapConfiguration: serializeAws_json1_1UpdateOntapVolumeConfiguration(input.OntapConfiguration, context),
|
|
@@ -5195,15 +5166,12 @@ const deserializeAws_json1_1WindowsFileSystemConfiguration = (output, context) =
|
|
|
5195
5166
|
WeeklyMaintenanceStartTime: (0, smithy_client_1.expectString)(output.WeeklyMaintenanceStartTime),
|
|
5196
5167
|
};
|
|
5197
5168
|
};
|
|
5198
|
-
const deserializeMetadata = (output) => {
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
5205
|
-
});
|
|
5206
|
-
};
|
|
5169
|
+
const deserializeMetadata = (output) => ({
|
|
5170
|
+
httpStatusCode: output.statusCode,
|
|
5171
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
5172
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5173
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
5174
|
+
});
|
|
5207
5175
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
5208
5176
|
if (streamBody instanceof Uint8Array) {
|
|
5209
5177
|
return Promise.resolve(streamBody);
|
|
@@ -5236,9 +5204,8 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
5236
5204
|
return {};
|
|
5237
5205
|
});
|
|
5238
5206
|
const parseErrorBody = async (errorBody, context) => {
|
|
5239
|
-
var _a;
|
|
5240
5207
|
const value = await parseBody(errorBody, context);
|
|
5241
|
-
value.message =
|
|
5208
|
+
value.message = value.message ?? value.Message;
|
|
5242
5209
|
return value;
|
|
5243
5210
|
};
|
|
5244
5211
|
const loadRestJsonErrorCode = (output, data) => {
|
|
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
|
16
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
19
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
20
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
|
|
|
25
24
|
...config,
|
|
26
25
|
runtime: "browser",
|
|
27
26
|
defaultsMode,
|
|
28
|
-
base64Decoder:
|
|
29
|
-
base64Encoder:
|
|
30
|
-
bodyLengthChecker:
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
defaultUserAgentProvider:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -19,7 +19,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
22
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
|
|
|
29
28
|
...config,
|
|
30
29
|
runtime: "node",
|
|
31
30
|
defaultsMode,
|
|
32
|
-
base64Decoder:
|
|
33
|
-
base64Encoder:
|
|
34
|
-
bodyLengthChecker:
|
|
35
|
-
credentialDefaultProvider:
|
|
36
|
-
defaultUserAgentProvider:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
+
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: config?.retryMode ??
|
|
41
|
+
(0, node_config_provider_1.loadConfig)({
|
|
42
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
44
|
+
}),
|
|
45
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
46
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
49
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
50
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
50
51
|
};
|
|
51
52
|
};
|
|
52
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
8
|
return {
|
|
10
9
|
...browserDefaults,
|
|
11
10
|
...config,
|
|
12
11
|
runtime: "react-native",
|
|
13
|
-
sha256:
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
|
-
const getRuntimeConfig = (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
-
});
|
|
16
|
-
};
|
|
6
|
+
const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2018-03-01",
|
|
8
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
|
+
logger: config?.logger ?? {},
|
|
11
|
+
serviceId: config?.serviceId ?? "FSx",
|
|
12
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
13
|
+
});
|
|
17
14
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fsx",
|
|
3
3
|
"description": "AWS SDK for JavaScript Fsx Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.202.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,45 +19,45 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.202.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.202.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
42
|
+
"@aws-sdk/types": "3.201.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.202.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
54
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
56
|
"uuid": "^8.3.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
60
|
-
"@tsconfig/
|
|
60
|
+
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^12.7.5",
|
|
62
62
|
"@types/uuid": "^8.3.0",
|
|
63
63
|
"concurrently": "7.0.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
|
-
"node": ">=
|
|
75
|
+
"node": ">=14.0.0"
|
|
76
76
|
},
|
|
77
77
|
"typesVersions": {
|
|
78
78
|
"<4.0": {
|