@aws-sdk/client-dax 3.42.0 → 3.47.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.
@@ -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 { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
10
10
  import { CreateParameterGroupCommandInput, CreateParameterGroupCommandOutput } from "./commands/CreateParameterGroupCommand";
@@ -129,6 +129,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
129
129
  * @internal
130
130
  */
131
131
  defaultUserAgentProvider?: Provider<__UserAgent>;
132
+ /**
133
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
134
+ */
135
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
132
136
  }
133
137
  declare type DAXClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
134
138
  /**
@@ -7,12 +7,6 @@ export interface ClusterAlreadyExistsFault extends __SmithyException, $MetadataB
7
7
  $fault: "client";
8
8
  message?: string;
9
9
  }
10
- export declare namespace ClusterAlreadyExistsFault {
11
- /**
12
- * @internal
13
- */
14
- const filterSensitiveLog: (obj: ClusterAlreadyExistsFault) => any;
15
- }
16
10
  /**
17
11
  * <p>You have attempted to exceed the maximum number of DAX clusters for your AWS
18
12
  * account.</p>
@@ -22,12 +16,6 @@ export interface ClusterQuotaForCustomerExceededFault extends __SmithyException,
22
16
  $fault: "client";
23
17
  message?: string;
24
18
  }
25
- export declare namespace ClusterQuotaForCustomerExceededFault {
26
- /**
27
- * @internal
28
- */
29
- const filterSensitiveLog: (obj: ClusterQuotaForCustomerExceededFault) => any;
30
- }
31
19
  export declare enum ClusterEndpointEncryptionType {
32
20
  NONE = "NONE",
33
21
  TLS = "TLS"
@@ -519,12 +507,6 @@ export interface InsufficientClusterCapacityFault extends __SmithyException, $Me
519
507
  $fault: "client";
520
508
  message?: string;
521
509
  }
522
- export declare namespace InsufficientClusterCapacityFault {
523
- /**
524
- * @internal
525
- */
526
- const filterSensitiveLog: (obj: InsufficientClusterCapacityFault) => any;
527
- }
528
510
  /**
529
511
  * <p>The requested DAX cluster is not in the <i>available</i>
530
512
  * state.</p>
@@ -534,12 +516,6 @@ export interface InvalidClusterStateFault extends __SmithyException, $MetadataBe
534
516
  $fault: "client";
535
517
  message?: string;
536
518
  }
537
- export declare namespace InvalidClusterStateFault {
538
- /**
539
- * @internal
540
- */
541
- const filterSensitiveLog: (obj: InvalidClusterStateFault) => any;
542
- }
543
519
  /**
544
520
  * <p>Two or more incompatible parameters were specified.</p>
545
521
  */
@@ -548,12 +524,6 @@ export interface InvalidParameterCombinationException extends __SmithyException,
548
524
  $fault: "client";
549
525
  message?: string;
550
526
  }
551
- export declare namespace InvalidParameterCombinationException {
552
- /**
553
- * @internal
554
- */
555
- const filterSensitiveLog: (obj: InvalidParameterCombinationException) => any;
556
- }
557
527
  /**
558
528
  * <p>One or more parameters in a parameter group are in an invalid state.</p>
559
529
  */
@@ -562,12 +532,6 @@ export interface InvalidParameterGroupStateFault extends __SmithyException, $Met
562
532
  $fault: "client";
563
533
  message?: string;
564
534
  }
565
- export declare namespace InvalidParameterGroupStateFault {
566
- /**
567
- * @internal
568
- */
569
- const filterSensitiveLog: (obj: InvalidParameterGroupStateFault) => any;
570
- }
571
535
  /**
572
536
  * <p>The value for a parameter is invalid.</p>
573
537
  */
@@ -576,12 +540,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
576
540
  $fault: "client";
577
541
  message?: string;
578
542
  }
579
- export declare namespace InvalidParameterValueException {
580
- /**
581
- * @internal
582
- */
583
- const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
584
- }
585
543
  /**
586
544
  * <p>The VPC network is in an invalid state.</p>
587
545
  */
@@ -590,12 +548,6 @@ export interface InvalidVPCNetworkStateFault extends __SmithyException, $Metadat
590
548
  $fault: "client";
591
549
  message?: string;
592
550
  }
593
- export declare namespace InvalidVPCNetworkStateFault {
594
- /**
595
- * @internal
596
- */
597
- const filterSensitiveLog: (obj: InvalidVPCNetworkStateFault) => any;
598
- }
599
551
  /**
600
552
  * <p>You have attempted to exceed the maximum number of nodes for a DAX
601
553
  * cluster.</p>
@@ -605,12 +557,6 @@ export interface NodeQuotaForClusterExceededFault extends __SmithyException, $Me
605
557
  $fault: "client";
606
558
  message?: string;
607
559
  }
608
- export declare namespace NodeQuotaForClusterExceededFault {
609
- /**
610
- * @internal
611
- */
612
- const filterSensitiveLog: (obj: NodeQuotaForClusterExceededFault) => any;
613
- }
614
560
  /**
615
561
  * <p>You have attempted to exceed the maximum number of nodes for your AWS
616
562
  * account.</p>
@@ -620,12 +566,6 @@ export interface NodeQuotaForCustomerExceededFault extends __SmithyException, $M
620
566
  $fault: "client";
621
567
  message?: string;
622
568
  }
623
- export declare namespace NodeQuotaForCustomerExceededFault {
624
- /**
625
- * @internal
626
- */
627
- const filterSensitiveLog: (obj: NodeQuotaForCustomerExceededFault) => any;
628
- }
629
569
  /**
630
570
  * <p>The specified parameter group does not exist.</p>
631
571
  */
@@ -634,12 +574,6 @@ export interface ParameterGroupNotFoundFault extends __SmithyException, $Metadat
634
574
  $fault: "client";
635
575
  message?: string;
636
576
  }
637
- export declare namespace ParameterGroupNotFoundFault {
638
- /**
639
- * @internal
640
- */
641
- const filterSensitiveLog: (obj: ParameterGroupNotFoundFault) => any;
642
- }
643
577
  /**
644
578
  * <p>The specified service linked role (SLR) was not found.</p>
645
579
  */
@@ -648,12 +582,6 @@ export interface ServiceLinkedRoleNotFoundFault extends __SmithyException, $Meta
648
582
  $fault: "client";
649
583
  message?: string;
650
584
  }
651
- export declare namespace ServiceLinkedRoleNotFoundFault {
652
- /**
653
- * @internal
654
- */
655
- const filterSensitiveLog: (obj: ServiceLinkedRoleNotFoundFault) => any;
656
- }
657
585
  /**
658
586
  * <p>You have reached the maximum number of x509 certificates that can be created for
659
587
  * encrypted clusters in a 30 day period. Contact AWS customer support to discuss options
@@ -663,12 +591,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
663
591
  name: "ServiceQuotaExceededException";
664
592
  $fault: "client";
665
593
  }
666
- export declare namespace ServiceQuotaExceededException {
667
- /**
668
- * @internal
669
- */
670
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
671
- }
672
594
  /**
673
595
  * <p>The requested subnet group name does not refer to an existing subnet
674
596
  * group.</p>
@@ -678,12 +600,6 @@ export interface SubnetGroupNotFoundFault extends __SmithyException, $MetadataBe
678
600
  $fault: "client";
679
601
  message?: string;
680
602
  }
681
- export declare namespace SubnetGroupNotFoundFault {
682
- /**
683
- * @internal
684
- */
685
- const filterSensitiveLog: (obj: SubnetGroupNotFoundFault) => any;
686
- }
687
603
  /**
688
604
  * <p>You have exceeded the maximum number of tags for this DAX cluster.</p>
689
605
  */
@@ -692,12 +608,6 @@ export interface TagQuotaPerResourceExceeded extends __SmithyException, $Metadat
692
608
  $fault: "client";
693
609
  message?: string;
694
610
  }
695
- export declare namespace TagQuotaPerResourceExceeded {
696
- /**
697
- * @internal
698
- */
699
- const filterSensitiveLog: (obj: TagQuotaPerResourceExceeded) => any;
700
- }
701
611
  export interface CreateParameterGroupRequest {
702
612
  /**
703
613
  * <p>The name of the parameter group to apply to all of the clusters in this replication
@@ -756,12 +666,6 @@ export interface ParameterGroupAlreadyExistsFault extends __SmithyException, $Me
756
666
  $fault: "client";
757
667
  message?: string;
758
668
  }
759
- export declare namespace ParameterGroupAlreadyExistsFault {
760
- /**
761
- * @internal
762
- */
763
- const filterSensitiveLog: (obj: ParameterGroupAlreadyExistsFault) => any;
764
- }
765
669
  /**
766
670
  * <p>You have attempted to exceed the maximum number of parameter groups.</p>
767
671
  */
@@ -770,12 +674,6 @@ export interface ParameterGroupQuotaExceededFault extends __SmithyException, $Me
770
674
  $fault: "client";
771
675
  message?: string;
772
676
  }
773
- export declare namespace ParameterGroupQuotaExceededFault {
774
- /**
775
- * @internal
776
- */
777
- const filterSensitiveLog: (obj: ParameterGroupQuotaExceededFault) => any;
778
- }
779
677
  export interface CreateSubnetGroupRequest {
780
678
  /**
781
679
  * <p>A name for the subnet group. This value is stored as a lowercase string. </p>
@@ -877,12 +775,6 @@ export interface InvalidSubnet extends __SmithyException, $MetadataBearer {
877
775
  $fault: "client";
878
776
  message?: string;
879
777
  }
880
- export declare namespace InvalidSubnet {
881
- /**
882
- * @internal
883
- */
884
- const filterSensitiveLog: (obj: InvalidSubnet) => any;
885
- }
886
778
  /**
887
779
  * <p>The specified subnet group already exists.</p>
888
780
  */
@@ -891,12 +783,6 @@ export interface SubnetGroupAlreadyExistsFault extends __SmithyException, $Metad
891
783
  $fault: "client";
892
784
  message?: string;
893
785
  }
894
- export declare namespace SubnetGroupAlreadyExistsFault {
895
- /**
896
- * @internal
897
- */
898
- const filterSensitiveLog: (obj: SubnetGroupAlreadyExistsFault) => any;
899
- }
900
786
  /**
901
787
  * <p>The request cannot be processed because it would exceed the allowed number of
902
788
  * subnets in a subnet group.</p>
@@ -906,12 +792,6 @@ export interface SubnetGroupQuotaExceededFault extends __SmithyException, $Metad
906
792
  $fault: "client";
907
793
  message?: string;
908
794
  }
909
- export declare namespace SubnetGroupQuotaExceededFault {
910
- /**
911
- * @internal
912
- */
913
- const filterSensitiveLog: (obj: SubnetGroupQuotaExceededFault) => any;
914
- }
915
795
  /**
916
796
  * <p>The request cannot be processed because it would exceed the allowed number of
917
797
  * subnets in a subnet group.</p>
@@ -921,12 +801,6 @@ export interface SubnetQuotaExceededFault extends __SmithyException, $MetadataBe
921
801
  $fault: "client";
922
802
  message?: string;
923
803
  }
924
- export declare namespace SubnetQuotaExceededFault {
925
- /**
926
- * @internal
927
- */
928
- const filterSensitiveLog: (obj: SubnetQuotaExceededFault) => any;
929
- }
930
804
  /**
931
805
  * <p>The requested cluster ID does not refer to an existing DAX cluster.</p>
932
806
  */
@@ -935,12 +809,6 @@ export interface ClusterNotFoundFault extends __SmithyException, $MetadataBearer
935
809
  $fault: "client";
936
810
  message?: string;
937
811
  }
938
- export declare namespace ClusterNotFoundFault {
939
- /**
940
- * @internal
941
- */
942
- const filterSensitiveLog: (obj: ClusterNotFoundFault) => any;
943
- }
944
812
  export interface DecreaseReplicationFactorRequest {
945
813
  /**
946
814
  * <p>The name of the DAX cluster from which you want to remove nodes.</p>
@@ -986,12 +854,6 @@ export interface NodeNotFoundFault extends __SmithyException, $MetadataBearer {
986
854
  $fault: "client";
987
855
  message?: string;
988
856
  }
989
- export declare namespace NodeNotFoundFault {
990
- /**
991
- * @internal
992
- */
993
- const filterSensitiveLog: (obj: NodeNotFoundFault) => any;
994
- }
995
857
  export interface DeleteClusterRequest {
996
858
  /**
997
859
  * <p>The name of the cluster to be deleted.</p>
@@ -1074,12 +936,6 @@ export interface SubnetGroupInUseFault extends __SmithyException, $MetadataBeare
1074
936
  $fault: "client";
1075
937
  message?: string;
1076
938
  }
1077
- export declare namespace SubnetGroupInUseFault {
1078
- /**
1079
- * @internal
1080
- */
1081
- const filterSensitiveLog: (obj: SubnetGroupInUseFault) => any;
1082
- }
1083
939
  export interface DescribeClustersRequest {
1084
940
  /**
1085
941
  * <p>The names of the DAX clusters being described.</p>
@@ -1507,12 +1363,6 @@ export interface InvalidARNFault extends __SmithyException, $MetadataBearer {
1507
1363
  $fault: "client";
1508
1364
  message?: string;
1509
1365
  }
1510
- export declare namespace InvalidARNFault {
1511
- /**
1512
- * @internal
1513
- */
1514
- const filterSensitiveLog: (obj: InvalidARNFault) => any;
1515
- }
1516
1366
  export interface ListTagsRequest {
1517
1367
  /**
1518
1368
  * <p>The name of the DAX resource to which the tags belong.</p>
@@ -1612,12 +1462,6 @@ export interface TagNotFoundFault extends __SmithyException, $MetadataBearer {
1612
1462
  $fault: "client";
1613
1463
  message?: string;
1614
1464
  }
1615
- export declare namespace TagNotFoundFault {
1616
- /**
1617
- * @internal
1618
- */
1619
- const filterSensitiveLog: (obj: TagNotFoundFault) => any;
1620
- }
1621
1465
  export interface UntagResourceRequest {
1622
1466
  /**
1623
1467
  * <p>The name of the DAX resource from which the tags should be removed.</p>
@@ -1759,12 +1603,6 @@ export interface SubnetInUse extends __SmithyException, $MetadataBearer {
1759
1603
  $fault: "client";
1760
1604
  message?: string;
1761
1605
  }
1762
- export declare namespace SubnetInUse {
1763
- /**
1764
- * @internal
1765
- */
1766
- const filterSensitiveLog: (obj: SubnetInUse) => any;
1767
- }
1768
1606
  export interface UpdateSubnetGroupRequest {
1769
1607
  /**
1770
1608
  * <p>The name of the subnet group.</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 { DAXClientConfig } from "./DAXClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: DAXClientConfig) => {
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: DAXClientConfig) => {
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 { DAXClientConfig } from "./DAXClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: DAXClientConfig) => {
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: DAXClientConfig) => {
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 { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
10
10
  import { CreateParameterGroupCommandInput, CreateParameterGroupCommandOutput } from "./commands/CreateParameterGroupCommand";
@@ -72,6 +72,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
72
72
  regionInfoProvider?: RegionInfoProvider;
73
73
 
74
74
  defaultUserAgentProvider?: Provider<__UserAgent>;
75
+
76
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
75
77
  }
76
78
  declare type DAXClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
77
79