@aws-sdk/client-fsx 3.940.0 → 3.946.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.
Files changed (92) hide show
  1. package/dist-cjs/index.js +93 -383
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/FSxClient.js +2 -2
  5. package/dist-es/models/enums.js +6 -0
  6. package/dist-es/runtimeConfig.browser.js +2 -2
  7. package/dist-es/runtimeConfig.js +2 -3
  8. package/dist-es/schemas/schemas_0.js +86 -383
  9. package/dist-types/FSx.d.ts +1 -1
  10. package/dist-types/FSxClient.d.ts +10 -10
  11. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  12. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  13. package/dist-types/commands/AssociateFileSystemAliasesCommand.d.ts +3 -3
  14. package/dist-types/commands/CancelDataRepositoryTaskCommand.d.ts +3 -3
  15. package/dist-types/commands/CopyBackupCommand.d.ts +3 -3
  16. package/dist-types/commands/CopySnapshotAndUpdateVolumeCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateAndAttachS3AccessPointCommand.d.ts +30 -6
  18. package/dist-types/commands/CreateBackupCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateDataRepositoryTaskCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateFileCacheCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateFileSystemCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
  25. package/dist-types/commands/CreateStorageVirtualMachineCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateVolumeCommand.d.ts +3 -3
  27. package/dist-types/commands/CreateVolumeFromBackupCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteBackupCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteDataRepositoryAssociationCommand.d.ts +3 -3
  30. package/dist-types/commands/DeleteFileCacheCommand.d.ts +3 -3
  31. package/dist-types/commands/DeleteFileSystemCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteSnapshotCommand.d.ts +3 -3
  33. package/dist-types/commands/DeleteStorageVirtualMachineCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteVolumeCommand.d.ts +3 -3
  35. package/dist-types/commands/DescribeBackupsCommand.d.ts +3 -3
  36. package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +3 -3
  37. package/dist-types/commands/DescribeDataRepositoryTasksCommand.d.ts +3 -3
  38. package/dist-types/commands/DescribeFileCachesCommand.d.ts +3 -3
  39. package/dist-types/commands/DescribeFileSystemAliasesCommand.d.ts +3 -3
  40. package/dist-types/commands/DescribeFileSystemsCommand.d.ts +3 -3
  41. package/dist-types/commands/DescribeS3AccessPointAttachmentsCommand.d.ts +17 -5
  42. package/dist-types/commands/DescribeSharedVpcConfigurationCommand.d.ts +3 -3
  43. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +3 -3
  44. package/dist-types/commands/DescribeStorageVirtualMachinesCommand.d.ts +3 -3
  45. package/dist-types/commands/DescribeVolumesCommand.d.ts +3 -3
  46. package/dist-types/commands/DetachAndDeleteS3AccessPointCommand.d.ts +4 -4
  47. package/dist-types/commands/DisassociateFileSystemAliasesCommand.d.ts +3 -3
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  49. package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +3 -3
  50. package/dist-types/commands/RestoreVolumeFromSnapshotCommand.d.ts +3 -3
  51. package/dist-types/commands/StartMisconfiguredStateRecoveryCommand.d.ts +3 -3
  52. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  53. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  54. package/dist-types/commands/UpdateDataRepositoryAssociationCommand.d.ts +3 -3
  55. package/dist-types/commands/UpdateFileCacheCommand.d.ts +3 -3
  56. package/dist-types/commands/UpdateFileSystemCommand.d.ts +3 -3
  57. package/dist-types/commands/UpdateSharedVpcConfigurationCommand.d.ts +3 -3
  58. package/dist-types/commands/UpdateSnapshotCommand.d.ts +3 -3
  59. package/dist-types/commands/UpdateStorageVirtualMachineCommand.d.ts +3 -3
  60. package/dist-types/commands/UpdateVolumeCommand.d.ts +3 -3
  61. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  62. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  63. package/dist-types/extensionConfiguration.d.ts +4 -4
  64. package/dist-types/models/FSxServiceException.d.ts +1 -1
  65. package/dist-types/models/enums.d.ts +14 -0
  66. package/dist-types/models/errors.d.ts +1 -1
  67. package/dist-types/models/models_0.d.ts +86 -1
  68. package/dist-types/pagination/DescribeBackupsPaginator.d.ts +1 -1
  69. package/dist-types/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +1 -1
  70. package/dist-types/pagination/DescribeDataRepositoryTasksPaginator.d.ts +1 -1
  71. package/dist-types/pagination/DescribeFileCachesPaginator.d.ts +1 -1
  72. package/dist-types/pagination/DescribeFileSystemAliasesPaginator.d.ts +1 -1
  73. package/dist-types/pagination/DescribeFileSystemsPaginator.d.ts +1 -1
  74. package/dist-types/pagination/DescribeS3AccessPointAttachmentsPaginator.d.ts +1 -1
  75. package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +1 -1
  76. package/dist-types/pagination/DescribeStorageVirtualMachinesPaginator.d.ts +1 -1
  77. package/dist-types/pagination/DescribeVolumesPaginator.d.ts +1 -1
  78. package/dist-types/pagination/Interfaces.d.ts +1 -1
  79. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  80. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  81. package/dist-types/runtimeConfig.d.ts +1 -1
  82. package/dist-types/runtimeConfig.native.d.ts +1 -1
  83. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  84. package/dist-types/runtimeExtensions.d.ts +1 -1
  85. package/dist-types/schemas/schemas_0.d.ts +6 -1
  86. package/dist-types/ts3.4/FSxClient.d.ts +3 -3
  87. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  88. package/dist-types/ts3.4/models/FSxServiceException.d.ts +1 -1
  89. package/dist-types/ts3.4/models/enums.d.ts +8 -0
  90. package/dist-types/ts3.4/models/models_0.d.ts +24 -0
  91. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  92. package/package.json +13 -12
@@ -31,6 +31,7 @@ import {
31
31
  NetworkType,
32
32
  NfsVersion,
33
33
  OntapDeploymentType,
34
+ OntapFileSystemUserType,
34
35
  OntapVolumeType,
35
36
  OpenZFSCopyStrategy,
36
37
  OpenZFSDataCompressionType,
@@ -347,6 +348,21 @@ export interface CopySnapshotAndUpdateVolumeRequest {
347
348
  CopyStrategy?: OpenZFSCopyStrategy | undefined;
348
349
  Options?: UpdateOpenZFSVolumeOption[] | undefined;
349
350
  }
351
+ export interface OntapUnixFileSystemUser {
352
+ Name: string | undefined;
353
+ }
354
+ export interface OntapWindowsFileSystemUser {
355
+ Name: string | undefined;
356
+ }
357
+ export interface OntapFileSystemIdentity {
358
+ Type: OntapFileSystemUserType | undefined;
359
+ UnixUser?: OntapUnixFileSystemUser | undefined;
360
+ WindowsUser?: OntapWindowsFileSystemUser | undefined;
361
+ }
362
+ export interface CreateAndAttachS3AccessPointOntapConfiguration {
363
+ VolumeId: string | undefined;
364
+ FileSystemIdentity: OntapFileSystemIdentity | undefined;
365
+ }
350
366
  export interface OpenZFSPosixFileSystemUser {
351
367
  Uid: number | undefined;
352
368
  Gid: number | undefined;
@@ -374,8 +390,15 @@ export interface CreateAndAttachS3AccessPointRequest {
374
390
  OpenZFSConfiguration?:
375
391
  | CreateAndAttachS3AccessPointOpenZFSConfiguration
376
392
  | undefined;
393
+ OntapConfiguration?:
394
+ | CreateAndAttachS3AccessPointOntapConfiguration
395
+ | undefined;
377
396
  S3AccessPoint?: CreateAndAttachS3AccessPointS3Configuration | undefined;
378
397
  }
398
+ export interface S3AccessPointOntapConfiguration {
399
+ VolumeId?: string | undefined;
400
+ FileSystemIdentity?: OntapFileSystemIdentity | undefined;
401
+ }
379
402
  export interface S3AccessPointOpenZFSConfiguration {
380
403
  VolumeId?: string | undefined;
381
404
  FileSystemIdentity?: OpenZFSFileSystemIdentity | undefined;
@@ -392,6 +415,7 @@ export interface S3AccessPointAttachment {
392
415
  Name?: string | undefined;
393
416
  Type?: S3AccessPointAttachmentType | undefined;
394
417
  OpenZFSConfiguration?: S3AccessPointOpenZFSConfiguration | undefined;
418
+ OntapConfiguration?: S3AccessPointOntapConfiguration | undefined;
395
419
  S3AccessPoint?: S3AccessPoint | undefined;
396
420
  }
397
421
  export interface CreateAndAttachS3AccessPointResponse {
@@ -34,6 +34,7 @@ export declare var CopyBackupResponse: StaticStructureSchema;
34
34
  export declare var CopySnapshotAndUpdateVolumeRequest: StaticStructureSchema;
35
35
  export declare var CopySnapshotAndUpdateVolumeResponse: StaticStructureSchema;
36
36
  export declare var CreateAggregateConfiguration: StaticStructureSchema;
37
+ export declare var CreateAndAttachS3AccessPointOntapConfiguration: StaticStructureSchema;
37
38
  export declare var CreateAndAttachS3AccessPointOpenZFSConfiguration: StaticStructureSchema;
38
39
  export declare var CreateAndAttachS3AccessPointRequest: StaticStructureSchema;
39
40
  export declare var CreateAndAttachS3AccessPointResponse: StaticStructureSchema;
@@ -173,7 +174,10 @@ export declare var MissingVolumeConfiguration: StaticErrorSchema;
173
174
  export declare var NFSDataRepositoryConfiguration: StaticStructureSchema;
174
175
  export declare var NotServiceResourceError: StaticErrorSchema;
175
176
  export declare var OntapFileSystemConfiguration: StaticStructureSchema;
177
+ export declare var OntapFileSystemIdentity: StaticStructureSchema;
178
+ export declare var OntapUnixFileSystemUser: StaticStructureSchema;
176
179
  export declare var OntapVolumeConfiguration: StaticStructureSchema;
180
+ export declare var OntapWindowsFileSystemUser: StaticStructureSchema;
177
181
  export declare var OpenZFSClientConfiguration: StaticStructureSchema;
178
182
  export declare var OpenZFSCreateRootVolumeConfiguration: StaticStructureSchema;
179
183
  export declare var OpenZFSFileSystemConfiguration: StaticStructureSchema;
@@ -196,6 +200,7 @@ export declare var S3AccessPoint: StaticStructureSchema;
196
200
  export declare var S3AccessPointAttachment: StaticStructureSchema;
197
201
  export declare var S3AccessPointAttachmentNotFound: StaticErrorSchema;
198
202
  export declare var S3AccessPointAttachmentsFilter: StaticStructureSchema;
203
+ export declare var S3AccessPointOntapConfiguration: StaticStructureSchema;
199
204
  export declare var S3AccessPointOpenZFSConfiguration: StaticStructureSchema;
200
205
  export declare var S3AccessPointVpcConfiguration: StaticStructureSchema;
201
206
  export declare var S3DataRepositoryConfiguration: StaticStructureSchema;
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.940.0",
4
+ "version": "3.946.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-fsx",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo fsx"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo fsx",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,38 +21,38 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.940.0",
24
- "@aws-sdk/credential-provider-node": "3.940.0",
24
+ "@aws-sdk/core": "3.946.0",
25
+ "@aws-sdk/credential-provider-node": "3.946.0",
25
26
  "@aws-sdk/middleware-host-header": "3.936.0",
26
27
  "@aws-sdk/middleware-logger": "3.936.0",
27
28
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.940.0",
29
+ "@aws-sdk/middleware-user-agent": "3.946.0",
29
30
  "@aws-sdk/region-config-resolver": "3.936.0",
30
31
  "@aws-sdk/types": "3.936.0",
31
32
  "@aws-sdk/util-endpoints": "3.936.0",
32
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.940.0",
34
+ "@aws-sdk/util-user-agent-node": "3.946.0",
34
35
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.5",
36
+ "@smithy/core": "^3.18.7",
36
37
  "@smithy/fetch-http-handler": "^5.3.6",
37
38
  "@smithy/hash-node": "^4.2.5",
38
39
  "@smithy/invalid-dependency": "^4.2.5",
39
40
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.12",
41
- "@smithy/middleware-retry": "^4.4.12",
41
+ "@smithy/middleware-endpoint": "^4.3.14",
42
+ "@smithy/middleware-retry": "^4.4.14",
42
43
  "@smithy/middleware-serde": "^4.2.6",
43
44
  "@smithy/middleware-stack": "^4.2.5",
44
45
  "@smithy/node-config-provider": "^4.3.5",
45
46
  "@smithy/node-http-handler": "^4.4.5",
46
47
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.8",
48
+ "@smithy/smithy-client": "^4.9.10",
48
49
  "@smithy/types": "^4.9.0",
49
50
  "@smithy/url-parser": "^4.2.5",
50
51
  "@smithy/util-base64": "^4.3.0",
51
52
  "@smithy/util-body-length-browser": "^4.2.0",
52
53
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.11",
54
- "@smithy/util-defaults-mode-node": "^4.2.14",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
55
+ "@smithy/util-defaults-mode-node": "^4.2.16",
55
56
  "@smithy/util-endpoints": "^3.2.5",
56
57
  "@smithy/util-middleware": "^4.2.5",
57
58
  "@smithy/util-retry": "^4.2.5",