@aws-sdk/client-elastic-beanstalk 3.46.0 → 3.48.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.
@@ -1,19 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
17
  export var getRuntimeConfig = function (config) {
16
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
17
21
  var clientSharedValues = getSharedRuntimeConfig(config);
18
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
19
28
  };
@@ -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 { AbortEnvironmentUpdateCommandInput, AbortEnvironmentUpdateCommandOutput } from "./commands/AbortEnvironmentUpdateCommand";
10
10
  import { ApplyEnvironmentManagedActionCommandInput, ApplyEnvironmentManagedActionCommandOutput } from "./commands/ApplyEnvironmentManagedActionCommand";
@@ -155,6 +155,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
155
155
  * @internal
156
156
  */
157
157
  defaultUserAgentProvider?: Provider<__UserAgent>;
158
+ /**
159
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
160
+ */
161
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
158
162
  }
159
163
  declare type ElasticBeanstalkClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
160
164
  /**
@@ -32,12 +32,6 @@ export interface InsufficientPrivilegesException extends __SmithyException, $Met
32
32
  */
33
33
  message?: string;
34
34
  }
35
- export declare namespace InsufficientPrivilegesException {
36
- /**
37
- * @internal
38
- */
39
- const filterSensitiveLog: (obj: InsufficientPrivilegesException) => any;
40
- }
41
35
  export declare type ActionHistoryStatus = "Completed" | "Failed" | "Unknown";
42
36
  export declare type ActionStatus = "Pending" | "Running" | "Scheduled" | "Unknown";
43
37
  export declare type ActionType = "InstanceRefresh" | "PlatformUpdate" | "Unknown";
@@ -618,12 +612,6 @@ export interface ElasticBeanstalkServiceException extends __SmithyException, $Me
618
612
  */
619
613
  message?: string;
620
614
  }
621
- export declare namespace ElasticBeanstalkServiceException {
622
- /**
623
- * @internal
624
- */
625
- const filterSensitiveLog: (obj: ElasticBeanstalkServiceException) => any;
626
- }
627
615
  /**
628
616
  * <p>Cannot modify the managed action in its current state.</p>
629
617
  */
@@ -635,12 +623,6 @@ export interface ManagedActionInvalidStateException extends __SmithyException, $
635
623
  */
636
624
  message?: string;
637
625
  }
638
- export declare namespace ManagedActionInvalidStateException {
639
- /**
640
- * @internal
641
- */
642
- const filterSensitiveLog: (obj: ManagedActionInvalidStateException) => any;
643
- }
644
626
  /**
645
627
  * <p>Request to add or change the operations role used by an environment.</p>
646
628
  */
@@ -1088,12 +1070,6 @@ export interface TooManyEnvironmentsException extends __SmithyException, $Metada
1088
1070
  */
1089
1071
  message?: string;
1090
1072
  }
1091
- export declare namespace TooManyEnvironmentsException {
1092
- /**
1093
- * @internal
1094
- */
1095
- const filterSensitiveLog: (obj: TooManyEnvironmentsException) => any;
1096
- }
1097
1073
  /**
1098
1074
  * <p>Describes a tag applied to a resource in an environment.</p>
1099
1075
  */
@@ -1154,12 +1130,6 @@ export interface TooManyApplicationsException extends __SmithyException, $Metada
1154
1130
  */
1155
1131
  message?: string;
1156
1132
  }
1157
- export declare namespace TooManyApplicationsException {
1158
- /**
1159
- * @internal
1160
- */
1161
- const filterSensitiveLog: (obj: TooManyApplicationsException) => any;
1162
- }
1163
1133
  /**
1164
1134
  * <p>AWS CodeBuild is not available in the specified region.</p>
1165
1135
  */
@@ -1171,12 +1141,6 @@ export interface CodeBuildNotInServiceRegionException extends __SmithyException,
1171
1141
  */
1172
1142
  message?: string;
1173
1143
  }
1174
- export declare namespace CodeBuildNotInServiceRegionException {
1175
- /**
1176
- * @internal
1177
- */
1178
- const filterSensitiveLog: (obj: CodeBuildNotInServiceRegionException) => any;
1179
- }
1180
1144
  export declare enum ComputeType {
1181
1145
  BUILD_GENERAL1_LARGE = "BUILD_GENERAL1_LARGE",
1182
1146
  BUILD_GENERAL1_MEDIUM = "BUILD_GENERAL1_MEDIUM",
@@ -1334,12 +1298,6 @@ export interface S3LocationNotInServiceRegionException extends __SmithyException
1334
1298
  */
1335
1299
  message?: string;
1336
1300
  }
1337
- export declare namespace S3LocationNotInServiceRegionException {
1338
- /**
1339
- * @internal
1340
- */
1341
- const filterSensitiveLog: (obj: S3LocationNotInServiceRegionException) => any;
1342
- }
1343
1301
  /**
1344
1302
  * <p>The specified account has reached its limit of application versions.</p>
1345
1303
  */
@@ -1351,12 +1309,6 @@ export interface TooManyApplicationVersionsException extends __SmithyException,
1351
1309
  */
1352
1310
  message?: string;
1353
1311
  }
1354
- export declare namespace TooManyApplicationVersionsException {
1355
- /**
1356
- * @internal
1357
- */
1358
- const filterSensitiveLog: (obj: TooManyApplicationVersionsException) => any;
1359
- }
1360
1312
  export declare type ConfigurationDeploymentStatus = "deployed" | "failed" | "pending";
1361
1313
  /**
1362
1314
  * <p>A specification identifying an individual configuration option along with its current
@@ -1577,12 +1529,6 @@ export interface TooManyBucketsException extends __SmithyException, $MetadataBea
1577
1529
  */
1578
1530
  message?: string;
1579
1531
  }
1580
- export declare namespace TooManyBucketsException {
1581
- /**
1582
- * @internal
1583
- */
1584
- const filterSensitiveLog: (obj: TooManyBucketsException) => any;
1585
- }
1586
1532
  /**
1587
1533
  * <p>The specified account has reached its limit of configuration templates.</p>
1588
1534
  */
@@ -1594,12 +1540,6 @@ export interface TooManyConfigurationTemplatesException extends __SmithyExceptio
1594
1540
  */
1595
1541
  message?: string;
1596
1542
  }
1597
- export declare namespace TooManyConfigurationTemplatesException {
1598
- /**
1599
- * @internal
1600
- */
1601
- const filterSensitiveLog: (obj: TooManyConfigurationTemplatesException) => any;
1602
- }
1603
1543
  /**
1604
1544
  * <p>A specification identifying an individual configuration option.</p>
1605
1545
  */
@@ -1876,12 +1816,6 @@ export interface TooManyPlatformsException extends __SmithyException, $MetadataB
1876
1816
  */
1877
1817
  message?: string;
1878
1818
  }
1879
- export declare namespace TooManyPlatformsException {
1880
- /**
1881
- * @internal
1882
- */
1883
- const filterSensitiveLog: (obj: TooManyPlatformsException) => any;
1884
- }
1885
1819
  /**
1886
1820
  * <p>Results of a <a>CreateStorageLocationResult</a> call.</p>
1887
1821
  */
@@ -1908,12 +1842,6 @@ export interface S3SubscriptionRequiredException extends __SmithyException, $Met
1908
1842
  */
1909
1843
  message?: string;
1910
1844
  }
1911
- export declare namespace S3SubscriptionRequiredException {
1912
- /**
1913
- * @internal
1914
- */
1915
- const filterSensitiveLog: (obj: S3SubscriptionRequiredException) => any;
1916
- }
1917
1845
  /**
1918
1846
  * <p>Request to delete an application.</p>
1919
1847
  */
@@ -1946,12 +1874,6 @@ export interface OperationInProgressException extends __SmithyException, $Metada
1946
1874
  */
1947
1875
  message?: string;
1948
1876
  }
1949
- export declare namespace OperationInProgressException {
1950
- /**
1951
- * @internal
1952
- */
1953
- const filterSensitiveLog: (obj: OperationInProgressException) => any;
1954
- }
1955
1877
  /**
1956
1878
  * <p>Request to delete an application version.</p>
1957
1879
  */
@@ -1989,12 +1911,6 @@ export interface SourceBundleDeletionException extends __SmithyException, $Metad
1989
1911
  */
1990
1912
  message?: string;
1991
1913
  }
1992
- export declare namespace SourceBundleDeletionException {
1993
- /**
1994
- * @internal
1995
- */
1996
- const filterSensitiveLog: (obj: SourceBundleDeletionException) => any;
1997
- }
1998
1914
  /**
1999
1915
  * <p>Request to delete a configuration template.</p>
2000
1916
  */
@@ -2068,12 +1984,6 @@ export interface PlatformVersionStillReferencedException extends __SmithyExcepti
2068
1984
  */
2069
1985
  message?: string;
2070
1986
  }
2071
- export declare namespace PlatformVersionStillReferencedException {
2072
- /**
2073
- * @internal
2074
- */
2075
- const filterSensitiveLog: (obj: PlatformVersionStillReferencedException) => any;
2076
- }
2077
1987
  /**
2078
1988
  * <p>The AWS Elastic Beanstalk quota information for a single resource type in an AWS account. It
2079
1989
  * reflects the resource's limits for this account.</p>
@@ -2590,12 +2500,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
2590
2500
  */
2591
2501
  message?: string;
2592
2502
  }
2593
- export declare namespace InvalidRequestException {
2594
- /**
2595
- * @internal
2596
- */
2597
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
2598
- }
2599
2503
  /**
2600
2504
  * <p>Request to list completed and failed managed actions.</p>
2601
2505
  */
@@ -3911,12 +3815,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
3911
3815
  */
3912
3816
  message?: string;
3913
3817
  }
3914
- export declare namespace ResourceNotFoundException {
3915
- /**
3916
- * @internal
3917
- */
3918
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
3919
- }
3920
3818
  export interface ResourceTagsDescriptionMessage {
3921
3819
  /**
3922
3820
  * <p>The Amazon Resource Name (ARN) of the resource for which a tag list was requested.</p>
@@ -3944,12 +3842,6 @@ export interface ResourceTypeNotSupportedException extends __SmithyException, $M
3944
3842
  */
3945
3843
  message?: string;
3946
3844
  }
3947
- export declare namespace ResourceTypeNotSupportedException {
3948
- /**
3949
- * @internal
3950
- */
3951
- const filterSensitiveLog: (obj: ResourceTypeNotSupportedException) => any;
3952
- }
3953
3845
  /**
3954
3846
  * <p></p>
3955
3847
  */
@@ -4409,12 +4301,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
4409
4301
  */
4410
4302
  message?: string;
4411
4303
  }
4412
- export declare namespace TooManyTagsException {
4413
- /**
4414
- * @internal
4415
- */
4416
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
4417
- }
4418
4304
  export interface UpdateTagsForResourceMessage {
4419
4305
  /**
4420
4306
  * <p>The Amazon Resource Name (ARN) of the resouce to be updated.</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 { ElasticBeanstalkClientConfig } from "./ElasticBeanstalkClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ElasticBeanstalkClientConfig) => {
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: ElasticBeanstalkClientConfig) =>
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 { ElasticBeanstalkClientConfig } from "./ElasticBeanstalkClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ElasticBeanstalkClientConfig) => {
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: ElasticBeanstalkClientConfig) =>
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 { AbortEnvironmentUpdateCommandInput, AbortEnvironmentUpdateCommandOutput } from "./commands/AbortEnvironmentUpdateCommand";
10
10
  import { ApplyEnvironmentManagedActionCommandInput, ApplyEnvironmentManagedActionCommandOutput } from "./commands/ApplyEnvironmentManagedActionCommand";
@@ -98,6 +98,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
98
98
  regionInfoProvider?: RegionInfoProvider;
99
99
 
100
100
  defaultUserAgentProvider?: Provider<__UserAgent>;
101
+
102
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
101
103
  }
102
104
  declare type ElasticBeanstalkClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
103
105
 
@@ -17,10 +17,6 @@ export interface InsufficientPrivilegesException extends __SmithyException, $Met
17
17
 
18
18
  message?: string;
19
19
  }
20
- export declare namespace InsufficientPrivilegesException {
21
-
22
- const filterSensitiveLog: (obj: InsufficientPrivilegesException) => any;
23
- }
24
20
  export declare type ActionHistoryStatus = "Completed" | "Failed" | "Unknown";
25
21
  export declare type ActionStatus = "Pending" | "Running" | "Scheduled" | "Unknown";
26
22
  export declare type ActionType = "InstanceRefresh" | "PlatformUpdate" | "Unknown";
@@ -285,10 +281,6 @@ export interface ElasticBeanstalkServiceException extends __SmithyException, $Me
285
281
 
286
282
  message?: string;
287
283
  }
288
- export declare namespace ElasticBeanstalkServiceException {
289
-
290
- const filterSensitiveLog: (obj: ElasticBeanstalkServiceException) => any;
291
- }
292
284
 
293
285
  export interface ManagedActionInvalidStateException extends __SmithyException, $MetadataBearer {
294
286
  name: "ManagedActionInvalidStateException";
@@ -296,10 +288,6 @@ export interface ManagedActionInvalidStateException extends __SmithyException, $
296
288
 
297
289
  message?: string;
298
290
  }
299
- export declare namespace ManagedActionInvalidStateException {
300
-
301
- const filterSensitiveLog: (obj: ManagedActionInvalidStateException) => any;
302
- }
303
291
 
304
292
  export interface AssociateEnvironmentOperationsRoleMessage {
305
293
 
@@ -491,10 +479,6 @@ export interface TooManyEnvironmentsException extends __SmithyException, $Metada
491
479
 
492
480
  message?: string;
493
481
  }
494
- export declare namespace TooManyEnvironmentsException {
495
-
496
- const filterSensitiveLog: (obj: TooManyEnvironmentsException) => any;
497
- }
498
482
 
499
483
  export interface Tag {
500
484
 
@@ -528,10 +512,6 @@ export interface TooManyApplicationsException extends __SmithyException, $Metada
528
512
 
529
513
  message?: string;
530
514
  }
531
- export declare namespace TooManyApplicationsException {
532
-
533
- const filterSensitiveLog: (obj: TooManyApplicationsException) => any;
534
- }
535
515
 
536
516
  export interface CodeBuildNotInServiceRegionException extends __SmithyException, $MetadataBearer {
537
517
  name: "CodeBuildNotInServiceRegionException";
@@ -539,10 +519,6 @@ export interface CodeBuildNotInServiceRegionException extends __SmithyException,
539
519
 
540
520
  message?: string;
541
521
  }
542
- export declare namespace CodeBuildNotInServiceRegionException {
543
-
544
- const filterSensitiveLog: (obj: CodeBuildNotInServiceRegionException) => any;
545
- }
546
522
  export declare enum ComputeType {
547
523
  BUILD_GENERAL1_LARGE = "BUILD_GENERAL1_LARGE",
548
524
  BUILD_GENERAL1_MEDIUM = "BUILD_GENERAL1_MEDIUM",
@@ -597,10 +573,6 @@ export interface S3LocationNotInServiceRegionException extends __SmithyException
597
573
 
598
574
  message?: string;
599
575
  }
600
- export declare namespace S3LocationNotInServiceRegionException {
601
-
602
- const filterSensitiveLog: (obj: S3LocationNotInServiceRegionException) => any;
603
- }
604
576
 
605
577
  export interface TooManyApplicationVersionsException extends __SmithyException, $MetadataBearer {
606
578
  name: "TooManyApplicationVersionsException";
@@ -608,10 +580,6 @@ export interface TooManyApplicationVersionsException extends __SmithyException,
608
580
 
609
581
  message?: string;
610
582
  }
611
- export declare namespace TooManyApplicationVersionsException {
612
-
613
- const filterSensitiveLog: (obj: TooManyApplicationVersionsException) => any;
614
- }
615
583
  export declare type ConfigurationDeploymentStatus = "deployed" | "failed" | "pending";
616
584
 
617
585
  export interface ConfigurationOptionSetting {
@@ -698,10 +666,6 @@ export interface TooManyBucketsException extends __SmithyException, $MetadataBea
698
666
 
699
667
  message?: string;
700
668
  }
701
- export declare namespace TooManyBucketsException {
702
-
703
- const filterSensitiveLog: (obj: TooManyBucketsException) => any;
704
- }
705
669
 
706
670
  export interface TooManyConfigurationTemplatesException extends __SmithyException, $MetadataBearer {
707
671
  name: "TooManyConfigurationTemplatesException";
@@ -709,10 +673,6 @@ export interface TooManyConfigurationTemplatesException extends __SmithyExceptio
709
673
 
710
674
  message?: string;
711
675
  }
712
- export declare namespace TooManyConfigurationTemplatesException {
713
-
714
- const filterSensitiveLog: (obj: TooManyConfigurationTemplatesException) => any;
715
- }
716
676
 
717
677
  export interface OptionSpecification {
718
678
 
@@ -838,10 +798,6 @@ export interface TooManyPlatformsException extends __SmithyException, $MetadataB
838
798
 
839
799
  message?: string;
840
800
  }
841
- export declare namespace TooManyPlatformsException {
842
-
843
- const filterSensitiveLog: (obj: TooManyPlatformsException) => any;
844
- }
845
801
 
846
802
  export interface CreateStorageLocationResultMessage {
847
803
 
@@ -858,10 +814,6 @@ export interface S3SubscriptionRequiredException extends __SmithyException, $Met
858
814
 
859
815
  message?: string;
860
816
  }
861
- export declare namespace S3SubscriptionRequiredException {
862
-
863
- const filterSensitiveLog: (obj: S3SubscriptionRequiredException) => any;
864
- }
865
817
 
866
818
  export interface DeleteApplicationMessage {
867
819
 
@@ -880,10 +832,6 @@ export interface OperationInProgressException extends __SmithyException, $Metada
880
832
 
881
833
  message?: string;
882
834
  }
883
- export declare namespace OperationInProgressException {
884
-
885
- const filterSensitiveLog: (obj: OperationInProgressException) => any;
886
- }
887
835
 
888
836
  export interface DeleteApplicationVersionMessage {
889
837
 
@@ -904,10 +852,6 @@ export interface SourceBundleDeletionException extends __SmithyException, $Metad
904
852
 
905
853
  message?: string;
906
854
  }
907
- export declare namespace SourceBundleDeletionException {
908
-
909
- const filterSensitiveLog: (obj: SourceBundleDeletionException) => any;
910
- }
911
855
 
912
856
  export interface DeleteConfigurationTemplateMessage {
913
857
 
@@ -953,10 +897,6 @@ export interface PlatformVersionStillReferencedException extends __SmithyExcepti
953
897
 
954
898
  message?: string;
955
899
  }
956
- export declare namespace PlatformVersionStillReferencedException {
957
-
958
- const filterSensitiveLog: (obj: PlatformVersionStillReferencedException) => any;
959
- }
960
900
 
961
901
  export interface ResourceQuota {
962
902
 
@@ -1186,10 +1126,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
1186
1126
 
1187
1127
  message?: string;
1188
1128
  }
1189
- export declare namespace InvalidRequestException {
1190
-
1191
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
1192
- }
1193
1129
 
1194
1130
  export interface DescribeEnvironmentManagedActionHistoryRequest {
1195
1131
 
@@ -1806,10 +1742,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
1806
1742
 
1807
1743
  message?: string;
1808
1744
  }
1809
- export declare namespace ResourceNotFoundException {
1810
-
1811
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
1812
- }
1813
1745
  export interface ResourceTagsDescriptionMessage {
1814
1746
 
1815
1747
  ResourceArn?: string;
@@ -1827,10 +1759,6 @@ export interface ResourceTypeNotSupportedException extends __SmithyException, $M
1827
1759
 
1828
1760
  message?: string;
1829
1761
  }
1830
- export declare namespace ResourceTypeNotSupportedException {
1831
-
1832
- const filterSensitiveLog: (obj: ResourceTypeNotSupportedException) => any;
1833
- }
1834
1762
 
1835
1763
  export interface RebuildEnvironmentMessage {
1836
1764
 
@@ -2023,10 +1951,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
2023
1951
 
2024
1952
  message?: string;
2025
1953
  }
2026
- export declare namespace TooManyTagsException {
2027
-
2028
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
2029
- }
2030
1954
  export interface UpdateTagsForResourceMessage {
2031
1955
 
2032
1956
  ResourceArn: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { ElasticBeanstalkClientConfig } from "./ElasticBeanstalkClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ElasticBeanstalkClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: ElasticBeanstalkClientConfig) =>
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { ElasticBeanstalkClientConfig } from "./ElasticBeanstalkClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ElasticBeanstalkClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: ElasticBeanstalkClientConfig) =>
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ 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>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;