@aws-sdk/client-efs 3.45.0 → 3.47.2

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.
@@ -10,12 +10,6 @@ export interface AccessPointAlreadyExists extends __SmithyException, $MetadataBe
10
10
  Message?: string;
11
11
  AccessPointId: string | undefined;
12
12
  }
13
- export declare namespace AccessPointAlreadyExists {
14
- /**
15
- * @internal
16
- */
17
- const filterSensitiveLog: (obj: AccessPointAlreadyExists) => any;
18
- }
19
13
  export declare enum LifeCycleState {
20
14
  AVAILABLE = "available",
21
15
  CREATING = "creating",
@@ -196,12 +190,6 @@ export interface AccessPointLimitExceeded extends __SmithyException, $MetadataBe
196
190
  ErrorCode: string | undefined;
197
191
  Message?: string;
198
192
  }
199
- export declare namespace AccessPointLimitExceeded {
200
- /**
201
- * @internal
202
- */
203
- const filterSensitiveLog: (obj: AccessPointLimitExceeded) => any;
204
- }
205
193
  /**
206
194
  * <p>Returned if the specified <code>AccessPointId</code> value doesn't exist in the
207
195
  * requester's Amazon Web Services account.</p>
@@ -212,12 +200,6 @@ export interface AccessPointNotFound extends __SmithyException, $MetadataBearer
212
200
  ErrorCode: string | undefined;
213
201
  Message?: string;
214
202
  }
215
- export declare namespace AccessPointNotFound {
216
- /**
217
- * @internal
218
- */
219
- const filterSensitiveLog: (obj: AccessPointNotFound) => any;
220
- }
221
203
  /**
222
204
  * <p>Returned if the Availability Zone that was specified for a mount target is different from the Availability Zone that was specified for One Zone storage classes.
223
205
  * For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html">Regional and One Zone storage redundancy</a>.</p>
@@ -228,12 +210,6 @@ export interface AvailabilityZonesMismatch extends __SmithyException, $MetadataB
228
210
  ErrorCode?: string;
229
211
  Message?: string;
230
212
  }
231
- export declare namespace AvailabilityZonesMismatch {
232
- /**
233
- * @internal
234
- */
235
- const filterSensitiveLog: (obj: AvailabilityZonesMismatch) => any;
236
- }
237
213
  export declare enum Status {
238
214
  DISABLED = "DISABLED",
239
215
  DISABLING = "DISABLING",
@@ -304,12 +280,6 @@ export interface BadRequest extends __SmithyException, $MetadataBearer {
304
280
  ErrorCode: string | undefined;
305
281
  Message?: string;
306
282
  }
307
- export declare namespace BadRequest {
308
- /**
309
- * @internal
310
- */
311
- const filterSensitiveLog: (obj: BadRequest) => any;
312
- }
313
283
  export interface CreateAccessPointRequest {
314
284
  /**
315
285
  * <p>A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent
@@ -360,12 +330,6 @@ export interface FileSystemNotFound extends __SmithyException, $MetadataBearer {
360
330
  ErrorCode: string | undefined;
361
331
  Message?: string;
362
332
  }
363
- export declare namespace FileSystemNotFound {
364
- /**
365
- * @internal
366
- */
367
- const filterSensitiveLog: (obj: FileSystemNotFound) => any;
368
- }
369
333
  /**
370
334
  * <p>Returned if the file system's lifecycle state is not "available".</p>
371
335
  */
@@ -375,12 +339,6 @@ export interface IncorrectFileSystemLifeCycleState extends __SmithyException, $M
375
339
  ErrorCode: string | undefined;
376
340
  Message?: string;
377
341
  }
378
- export declare namespace IncorrectFileSystemLifeCycleState {
379
- /**
380
- * @internal
381
- */
382
- const filterSensitiveLog: (obj: IncorrectFileSystemLifeCycleState) => any;
383
- }
384
342
  /**
385
343
  * <p>Returned if an error occurred on the server side.</p>
386
344
  */
@@ -390,12 +348,6 @@ export interface InternalServerError extends __SmithyException, $MetadataBearer
390
348
  ErrorCode: string | undefined;
391
349
  Message?: string;
392
350
  }
393
- export declare namespace InternalServerError {
394
- /**
395
- * @internal
396
- */
397
- const filterSensitiveLog: (obj: InternalServerError) => any;
398
- }
399
351
  export declare enum PerformanceMode {
400
352
  GENERAL_PURPOSE = "generalPurpose",
401
353
  MAX_IO = "maxIO"
@@ -528,12 +480,6 @@ export interface FileSystemAlreadyExists extends __SmithyException, $MetadataBea
528
480
  Message?: string;
529
481
  FileSystemId: string | undefined;
530
482
  }
531
- export declare namespace FileSystemAlreadyExists {
532
- /**
533
- * @internal
534
- */
535
- const filterSensitiveLog: (obj: FileSystemAlreadyExists) => any;
536
- }
537
483
  /**
538
484
  * <p>The latest known metered size (in bytes) of data stored in the file system, in its
539
485
  * <code>Value</code> field, and the time at which that size was determined in its
@@ -685,12 +631,6 @@ export interface FileSystemLimitExceeded extends __SmithyException, $MetadataBea
685
631
  ErrorCode: string | undefined;
686
632
  Message?: string;
687
633
  }
688
- export declare namespace FileSystemLimitExceeded {
689
- /**
690
- * @internal
691
- */
692
- const filterSensitiveLog: (obj: FileSystemLimitExceeded) => any;
693
- }
694
634
  /**
695
635
  * <p>Returned if there's not enough capacity to provision additional throughput. This value
696
636
  * might be returned when you try to create a file system in provisioned throughput mode,
@@ -704,12 +644,6 @@ export interface InsufficientThroughputCapacity extends __SmithyException, $Meta
704
644
  ErrorCode: string | undefined;
705
645
  Message?: string;
706
646
  }
707
- export declare namespace InsufficientThroughputCapacity {
708
- /**
709
- * @internal
710
- */
711
- const filterSensitiveLog: (obj: InsufficientThroughputCapacity) => any;
712
- }
713
647
  /**
714
648
  * <p>Returned if the throughput mode or amount of provisioned throughput can't be changed
715
649
  * because the throughput limit of 1024 MiB/s has been reached.</p>
@@ -720,12 +654,6 @@ export interface ThroughputLimitExceeded extends __SmithyException, $MetadataBea
720
654
  ErrorCode: string | undefined;
721
655
  Message?: string;
722
656
  }
723
- export declare namespace ThroughputLimitExceeded {
724
- /**
725
- * @internal
726
- */
727
- const filterSensitiveLog: (obj: ThroughputLimitExceeded) => any;
728
- }
729
657
  /**
730
658
  * <p>Returned if the requested Amazon EFS functionality is not available in the specified Availability Zone.</p>
731
659
  */
@@ -735,12 +663,6 @@ export interface UnsupportedAvailabilityZone extends __SmithyException, $Metadat
735
663
  ErrorCode: string | undefined;
736
664
  Message?: string;
737
665
  }
738
- export declare namespace UnsupportedAvailabilityZone {
739
- /**
740
- * @internal
741
- */
742
- const filterSensitiveLog: (obj: UnsupportedAvailabilityZone) => any;
743
- }
744
666
  /**
745
667
  * <p></p>
746
668
  */
@@ -780,12 +702,6 @@ export interface IpAddressInUse extends __SmithyException, $MetadataBearer {
780
702
  ErrorCode: string | undefined;
781
703
  Message?: string;
782
704
  }
783
- export declare namespace IpAddressInUse {
784
- /**
785
- * @internal
786
- */
787
- const filterSensitiveLog: (obj: IpAddressInUse) => any;
788
- }
789
705
  /**
790
706
  * <p>Returned if the mount target would violate one of the specified restrictions based
791
707
  * on the file system's existing mount targets.</p>
@@ -796,12 +712,6 @@ export interface MountTargetConflict extends __SmithyException, $MetadataBearer
796
712
  ErrorCode: string | undefined;
797
713
  Message?: string;
798
714
  }
799
- export declare namespace MountTargetConflict {
800
- /**
801
- * @internal
802
- */
803
- const filterSensitiveLog: (obj: MountTargetConflict) => any;
804
- }
805
715
  /**
806
716
  * <p>Provides a description of a mount target.</p>
807
717
  */
@@ -870,12 +780,6 @@ export interface NetworkInterfaceLimitExceeded extends __SmithyException, $Metad
870
780
  ErrorCode: string | undefined;
871
781
  Message?: string;
872
782
  }
873
- export declare namespace NetworkInterfaceLimitExceeded {
874
- /**
875
- * @internal
876
- */
877
- const filterSensitiveLog: (obj: NetworkInterfaceLimitExceeded) => any;
878
- }
879
783
  /**
880
784
  * <p>Returned if <code>IpAddress</code> was not specified in the request and there are
881
785
  * no free IP addresses in the subnet.</p>
@@ -886,12 +790,6 @@ export interface NoFreeAddressesInSubnet extends __SmithyException, $MetadataBea
886
790
  ErrorCode: string | undefined;
887
791
  Message?: string;
888
792
  }
889
- export declare namespace NoFreeAddressesInSubnet {
890
- /**
891
- * @internal
892
- */
893
- const filterSensitiveLog: (obj: NoFreeAddressesInSubnet) => any;
894
- }
895
793
  /**
896
794
  * <p>Returned if the size of <code>SecurityGroups</code> specified in the request is
897
795
  * greater than five.</p>
@@ -902,12 +800,6 @@ export interface SecurityGroupLimitExceeded extends __SmithyException, $Metadata
902
800
  ErrorCode: string | undefined;
903
801
  Message?: string;
904
802
  }
905
- export declare namespace SecurityGroupLimitExceeded {
906
- /**
907
- * @internal
908
- */
909
- const filterSensitiveLog: (obj: SecurityGroupLimitExceeded) => any;
910
- }
911
803
  /**
912
804
  * <p>Returned if one of the specified security groups doesn't exist in the subnet's
913
805
  * VPC.</p>
@@ -918,12 +810,6 @@ export interface SecurityGroupNotFound extends __SmithyException, $MetadataBeare
918
810
  ErrorCode: string | undefined;
919
811
  Message?: string;
920
812
  }
921
- export declare namespace SecurityGroupNotFound {
922
- /**
923
- * @internal
924
- */
925
- const filterSensitiveLog: (obj: SecurityGroupNotFound) => any;
926
- }
927
813
  /**
928
814
  * <p>Returned if there is no subnet with ID <code>SubnetId</code> provided in the
929
815
  * request.</p>
@@ -934,12 +820,6 @@ export interface SubnetNotFound extends __SmithyException, $MetadataBearer {
934
820
  ErrorCode: string | undefined;
935
821
  Message?: string;
936
822
  }
937
- export declare namespace SubnetNotFound {
938
- /**
939
- * @internal
940
- */
941
- const filterSensitiveLog: (obj: SubnetNotFound) => any;
942
- }
943
823
  /**
944
824
  * <p></p>
945
825
  */
@@ -997,12 +877,6 @@ export interface FileSystemInUse extends __SmithyException, $MetadataBearer {
997
877
  ErrorCode: string | undefined;
998
878
  Message?: string;
999
879
  }
1000
- export declare namespace FileSystemInUse {
1001
- /**
1002
- * @internal
1003
- */
1004
- const filterSensitiveLog: (obj: FileSystemInUse) => any;
1005
- }
1006
880
  export interface DeleteFileSystemPolicyRequest {
1007
881
  /**
1008
882
  * <p>Specifies the EFS file system for which to delete the <code>FileSystemPolicy</code>.</p>
@@ -1040,12 +914,6 @@ export interface DependencyTimeout extends __SmithyException, $MetadataBearer {
1040
914
  ErrorCode: string | undefined;
1041
915
  Message?: string;
1042
916
  }
1043
- export declare namespace DependencyTimeout {
1044
- /**
1045
- * @internal
1046
- */
1047
- const filterSensitiveLog: (obj: DependencyTimeout) => any;
1048
- }
1049
917
  /**
1050
918
  * <p>Returned if there is no mount target with the specified ID found in the
1051
919
  * caller's Amazon Web Services account.</p>
@@ -1056,12 +924,6 @@ export interface MountTargetNotFound extends __SmithyException, $MetadataBearer
1056
924
  ErrorCode: string | undefined;
1057
925
  Message?: string;
1058
926
  }
1059
- export declare namespace MountTargetNotFound {
1060
- /**
1061
- * @internal
1062
- */
1063
- const filterSensitiveLog: (obj: MountTargetNotFound) => any;
1064
- }
1065
927
  /**
1066
928
  * <p></p>
1067
929
  */
@@ -1209,12 +1071,6 @@ export interface PolicyNotFound extends __SmithyException, $MetadataBearer {
1209
1071
  ErrorCode?: string;
1210
1072
  Message?: string;
1211
1073
  }
1212
- export declare namespace PolicyNotFound {
1213
- /**
1214
- * @internal
1215
- */
1216
- const filterSensitiveLog: (obj: PolicyNotFound) => any;
1217
- }
1218
1074
  /**
1219
1075
  * <p>Returned if the Backup service is not available in the Amazon Web Services Region in which the request was made.</p>
1220
1076
  */
@@ -1224,12 +1080,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
1224
1080
  ErrorCode: string | undefined;
1225
1081
  Message?: string;
1226
1082
  }
1227
- export declare namespace ValidationException {
1228
- /**
1229
- * @internal
1230
- */
1231
- const filterSensitiveLog: (obj: ValidationException) => any;
1232
- }
1233
1083
  export interface DescribeFileSystemPolicyRequest {
1234
1084
  /**
1235
1085
  * <p>Specifies which EFS file system to retrieve the <code>FileSystemPolicy</code> for.</p>
@@ -1483,12 +1333,6 @@ export interface IncorrectMountTargetState extends __SmithyException, $MetadataB
1483
1333
  ErrorCode: string | undefined;
1484
1334
  Message?: string;
1485
1335
  }
1486
- export declare namespace IncorrectMountTargetState {
1487
- /**
1488
- * @internal
1489
- */
1490
- const filterSensitiveLog: (obj: IncorrectMountTargetState) => any;
1491
- }
1492
1336
  /**
1493
1337
  * <p></p>
1494
1338
  */
@@ -1553,12 +1397,6 @@ export interface InvalidPolicyException extends __SmithyException, $MetadataBear
1553
1397
  ErrorCode?: string;
1554
1398
  Message?: string;
1555
1399
  }
1556
- export declare namespace InvalidPolicyException {
1557
- /**
1558
- * @internal
1559
- */
1560
- const filterSensitiveLog: (obj: InvalidPolicyException) => any;
1561
- }
1562
1400
  export interface ListTagsForResourceRequest {
1563
1401
  /**
1564
1402
  * <p>Specifies the EFS resource you want to retrieve tags for. You can retrieve tags for EFS file systems and access points using this API endpoint.</p>
@@ -1767,12 +1605,6 @@ export interface TooManyRequests extends __SmithyException, $MetadataBearer {
1767
1605
  ErrorCode: string | undefined;
1768
1606
  Message?: string;
1769
1607
  }
1770
- export declare namespace TooManyRequests {
1771
- /**
1772
- * @internal
1773
- */
1774
- const filterSensitiveLog: (obj: TooManyRequests) => any;
1775
- }
1776
1608
  export interface UpdateFileSystemRequest {
1777
1609
  /**
1778
1610
  * <p>The ID of the file system that you want to update.</p>
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { EFSClientConfig } from "./EFSClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: EFSClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: EFSClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { EFSClientConfig } from "./EFSClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: EFSClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: EFSClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
10
10
  import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
@@ -78,6 +78,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
78
78
  regionInfoProvider?: RegionInfoProvider;
79
79
 
80
80
  defaultUserAgentProvider?: Provider<__UserAgent>;
81
+
82
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
81
83
  }
82
84
  declare type EFSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
83
85