@aws-sdk/client-config-service 3.515.0 → 3.521.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -1
- package/dist-types/ConfigServiceClient.d.ts +4 -4
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConformancePacksCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +16 -0
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +19 -0
- package/dist-types/models/models_0.d.ts +29 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -4
- package/dist-types/runtimeConfig.d.ts +1 -4
- package/dist-types/runtimeConfig.native.d.ts +1 -4
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +3 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
- package/package.json +34 -34
|
@@ -28,7 +28,7 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
29
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
30
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
|
-
requestHandler: config?.requestHandler ??
|
|
31
|
+
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
32
32
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
33
33
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
34
34
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
@@ -34,7 +34,7 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
35
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
36
|
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
|
-
requestHandler: config?.requestHandler ??
|
|
37
|
+
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
38
38
|
retryMode: config?.retryMode ??
|
|
39
39
|
(0, node_config_provider_1.loadConfig)({
|
|
40
40
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -24,7 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
25
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
26
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
|
-
requestHandler: config?.requestHandler ??
|
|
27
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
28
28
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
29
|
sha256: config?.sha256 ?? Sha256,
|
|
30
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -30,7 +30,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
-
requestHandler: config?.requestHandler ??
|
|
33
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
34
|
retryMode: config?.retryMode ??
|
|
35
35
|
loadNodeConfig({
|
|
36
36
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -3,7 +3,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
3
3
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
4
|
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import {
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
@@ -113,11 +113,11 @@ export type ServiceOutputTypes = BatchGetAggregateResourceConfigCommandOutput |
|
|
|
113
113
|
/**
|
|
114
114
|
* @public
|
|
115
115
|
*/
|
|
116
|
-
export interface ClientDefaults extends Partial<
|
|
116
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
117
117
|
/**
|
|
118
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
118
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
119
119
|
*/
|
|
120
|
-
requestHandler?:
|
|
120
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
121
121
|
/**
|
|
122
122
|
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
123
123
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
@@ -32,7 +32,7 @@ declare const DescribeOrganizationConfigRulesCommand_base: {
|
|
|
32
32
|
* <p>Limit and next token are not applicable if you specify organization Config rule names.
|
|
33
33
|
* It is only applicable, when you request all the organization Config rules.</p>
|
|
34
34
|
* <p>
|
|
35
|
-
* <i>For accounts within an
|
|
35
|
+
* <i>For accounts within an organization</i>
|
|
36
36
|
* </p>
|
|
37
37
|
* <p>If you deploy an organizational rule or conformance pack in an organization
|
|
38
38
|
* administrator account, and then establish a delegated administrator and deploy an
|
|
@@ -32,7 +32,7 @@ declare const DescribeOrganizationConformancePacksCommand_base: {
|
|
|
32
32
|
* <p>Limit and next token are not applicable if you specify organization conformance packs names. They are only applicable,
|
|
33
33
|
* when you request all the organization conformance packs. </p>
|
|
34
34
|
* <p>
|
|
35
|
-
* <i>For accounts within an
|
|
35
|
+
* <i>For accounts within an organization</i>
|
|
36
36
|
* </p>
|
|
37
37
|
* <p>If you deploy an organizational rule or conformance pack in an organization
|
|
38
38
|
* administrator account, and then establish a delegated administrator and deploy an
|
|
@@ -32,15 +32,31 @@ declare const PutRemediationConfigurationsCommand_base: {
|
|
|
32
32
|
* The Config rule must already exist for you to add a remediation configuration.
|
|
33
33
|
* The target (SSM document) must exist and have permissions to use the target. </p>
|
|
34
34
|
* <note>
|
|
35
|
+
* <p>
|
|
36
|
+
* <b>Be aware of backward incompatible changes</b>
|
|
37
|
+
* </p>
|
|
35
38
|
* <p>If you make backward incompatible changes to the SSM document,
|
|
36
39
|
* you must call this again to ensure the remediations can run.</p>
|
|
37
40
|
* <p>This API does not support adding remediation configurations for service-linked Config Rules such as Organization Config rules,
|
|
38
41
|
* the rules deployed by conformance packs, and rules deployed by Amazon Web Services Security Hub.</p>
|
|
39
42
|
* </note>
|
|
40
43
|
* <note>
|
|
44
|
+
* <p>
|
|
45
|
+
* <b>Required fields</b>
|
|
46
|
+
* </p>
|
|
41
47
|
* <p>For manual remediation configuration, you need to provide a value for <code>automationAssumeRole</code> or use a value in the <code>assumeRole</code>field to remediate your resources. The SSM automation document can use either as long as it maps to a valid parameter.</p>
|
|
42
48
|
* <p>However, for automatic remediation configuration, the only valid <code>assumeRole</code> field value is <code>AutomationAssumeRole</code> and you need to provide a value for <code>AutomationAssumeRole</code> to remediate your resources.</p>
|
|
43
49
|
* </note>
|
|
50
|
+
* <note>
|
|
51
|
+
* <p>
|
|
52
|
+
* <b>Auto remediation can be initiated even for compliant resources</b>
|
|
53
|
+
* </p>
|
|
54
|
+
* <p>If you enable auto remediation for a specific Config rule using the <a href="https://docs.aws.amazon.com/config/latest/APIReference/emAPI_PutRemediationConfigurations.html">PutRemediationConfigurations</a> API or the Config console,
|
|
55
|
+
* it initiates the remediation process for all non-compliant resources for that specific rule.
|
|
56
|
+
* The auto remediation process relies on the compliance data snapshot which is captured on a periodic basis.
|
|
57
|
+
* Any non-compliant resource that is updated between the snapshot schedule will continue to be remediated based on the last known compliance data snapshot.</p>
|
|
58
|
+
* <p>This means that in some cases auto remediation can be initiated even for compliant resources, since the bootstrap processor uses a database that can have stale evaluation results based on the last known compliance data snapshot.</p>
|
|
59
|
+
* </note>
|
|
44
60
|
* @example
|
|
45
61
|
* Use a bare-bones client and the command you need to make an API call.
|
|
46
62
|
* ```javascript
|
|
@@ -29,21 +29,40 @@ declare const PutRemediationExceptionsCommand_base: {
|
|
|
29
29
|
* <p>A remediation exception is when a specified resource is no longer considered for auto-remediation.
|
|
30
30
|
* This API adds a new exception or updates an existing exception for a specified resource with a specified Config rule. </p>
|
|
31
31
|
* <note>
|
|
32
|
+
* <p>
|
|
33
|
+
* <b>Exceptions block auto remediation</b>
|
|
34
|
+
* </p>
|
|
32
35
|
* <p>Config generates a remediation exception when a problem occurs running a remediation action for a specified resource.
|
|
33
36
|
* Remediation exceptions blocks auto-remediation until the exception is cleared.</p>
|
|
34
37
|
* </note>
|
|
35
38
|
* <note>
|
|
39
|
+
* <p>
|
|
40
|
+
* <b>Manual remediation is recommended when placing an exception</b>
|
|
41
|
+
* </p>
|
|
36
42
|
* <p>When placing an exception on an Amazon Web Services resource, it is recommended that remediation is set as manual remediation until
|
|
37
43
|
* the given Config rule for the specified resource evaluates the resource as <code>NON_COMPLIANT</code>.
|
|
38
44
|
* Once the resource has been evaluated as <code>NON_COMPLIANT</code>, you can add remediation exceptions and change the remediation type back from Manual to Auto if you want to use auto-remediation.
|
|
39
45
|
* Otherwise, using auto-remediation before a <code>NON_COMPLIANT</code> evaluation result can delete resources before the exception is applied.</p>
|
|
40
46
|
* </note>
|
|
41
47
|
* <note>
|
|
48
|
+
* <p>
|
|
49
|
+
* <b>Exceptions can only be performed on non-compliant resources</b>
|
|
50
|
+
* </p>
|
|
42
51
|
* <p>Placing an exception can only be performed on resources that are <code>NON_COMPLIANT</code>.
|
|
43
52
|
* If you use this API for <code>COMPLIANT</code> resources or resources that are <code>NOT_APPLICABLE</code>, a remediation exception will not be generated.
|
|
44
53
|
* For more information on the conditions that initiate the possible Config evaluation results,
|
|
45
54
|
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/config-concepts.html#aws-config-rules">Concepts | Config Rules</a> in the <i>Config Developer Guide</i>.</p>
|
|
46
55
|
* </note>
|
|
56
|
+
* <note>
|
|
57
|
+
* <p>
|
|
58
|
+
* <b>Auto remediation can be initiated even for compliant resources</b>
|
|
59
|
+
* </p>
|
|
60
|
+
* <p>If you enable auto remediation for a specific Config rule using the <a href="https://docs.aws.amazon.com/config/latest/APIReference/emAPI_PutRemediationConfigurations.html">PutRemediationConfigurations</a> API or the Config console,
|
|
61
|
+
* it initiates the remediation process for all non-compliant resources for that specific rule.
|
|
62
|
+
* The auto remediation process relies on the compliance data snapshot which is captured on a periodic basis.
|
|
63
|
+
* Any non-compliant resource that is updated between the snapshot schedule will continue to be remediated based on the last known compliance data snapshot.</p>
|
|
64
|
+
* <p>This means that in some cases auto remediation can be initiated even for compliant resources, since the bootstrap processor uses a database that can have stale evaluation results based on the last known compliance data snapshot.</p>
|
|
65
|
+
* </note>
|
|
47
66
|
* @example
|
|
48
67
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
68
|
* ```javascript
|
|
@@ -2311,6 +2311,9 @@ export interface ConfigurationItem {
|
|
|
2311
2311
|
* <p>Asia Pacific (Melbourne)</p>
|
|
2312
2312
|
* </li>
|
|
2313
2313
|
* <li>
|
|
2314
|
+
* <p>Canada West (Calgary)</p>
|
|
2315
|
+
* </li>
|
|
2316
|
+
* <li>
|
|
2314
2317
|
* <p>Europe (Spain)</p>
|
|
2315
2318
|
* </li>
|
|
2316
2319
|
* <li>
|
|
@@ -2410,6 +2413,9 @@ export interface RecordingStrategy {
|
|
|
2410
2413
|
* <p>Asia Pacific (Melbourne)</p>
|
|
2411
2414
|
* </li>
|
|
2412
2415
|
* <li>
|
|
2416
|
+
* <p>Canada West (Calgary)</p>
|
|
2417
|
+
* </li>
|
|
2418
|
+
* <li>
|
|
2413
2419
|
* <p>Europe (Spain)</p>
|
|
2414
2420
|
* </li>
|
|
2415
2421
|
* <li>
|
|
@@ -2487,6 +2493,9 @@ export interface RecordingGroup {
|
|
|
2487
2493
|
* <p>Asia Pacific (Melbourne)</p>
|
|
2488
2494
|
* </li>
|
|
2489
2495
|
* <li>
|
|
2496
|
+
* <p>Canada West (Calgary)</p>
|
|
2497
|
+
* </li>
|
|
2498
|
+
* <li>
|
|
2490
2499
|
* <p>Europe (Spain)</p>
|
|
2491
2500
|
* </li>
|
|
2492
2501
|
* <li>
|
|
@@ -2503,7 +2512,7 @@ export interface RecordingGroup {
|
|
|
2503
2512
|
* <p>
|
|
2504
2513
|
* <b>Aurora global clusters are recorded in all enabled Regions</b>
|
|
2505
2514
|
* </p>
|
|
2506
|
-
* <p>The <code>AWS::RDS::GlobalCluster</code> resource type will be recorded in all supported Config Regions where the configuration recorder is enabled, even if <code>includeGlobalResourceTypes</code> is
|
|
2515
|
+
* <p>The <code>AWS::RDS::GlobalCluster</code> resource type will be recorded in all supported Config Regions where the configuration recorder is enabled, even if <code>includeGlobalResourceTypes</code> is set<code>false</code>.
|
|
2507
2516
|
* The <code>includeGlobalResourceTypes</code> option is a bundle which only applies to IAM users, groups, roles, and customer managed policies.
|
|
2508
2517
|
* </p>
|
|
2509
2518
|
* <p>If you do not want to record <code>AWS::RDS::GlobalCluster</code> in all enabled Regions, use one of the following recording strategies:</p>
|
|
@@ -2519,7 +2528,22 @@ export interface RecordingGroup {
|
|
|
2519
2528
|
* </ol>
|
|
2520
2529
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/select-resources.html#select-resources-all">Selecting Which Resources are Recorded</a> in the <i>Config developer guide</i>.</p>
|
|
2521
2530
|
* </important>
|
|
2531
|
+
* <important>
|
|
2532
|
+
* <p>
|
|
2533
|
+
* <b>includeGlobalResourceTypes and the exclusion recording strategy</b>
|
|
2534
|
+
* </p>
|
|
2535
|
+
* <p>The <code>includeGlobalResourceTypes</code> field has no impact on the <code>EXCLUSION_BY_RESOURCE_TYPES</code> recording strategy.
|
|
2536
|
+
* This means that the global IAM resource types (IAM users, groups, roles, and customer managed policies) will
|
|
2537
|
+
* not be automatically added as exclusions for <code>exclusionByResourceTypes</code> when <code>includeGlobalResourceTypes</code> is set to <code>false</code>.</p>
|
|
2538
|
+
* <p>The <code>includeGlobalResourceTypes</code> field should only be used to modify the <code>AllSupported</code> field, as the default for
|
|
2539
|
+
* the <code>AllSupported</code> field is to record configuration changes for all supported resource types excluding the global
|
|
2540
|
+
* IAM resource types. To include the global IAM resource types when <code>AllSupported</code> is set to <code>true</code>, make sure to set <code>includeGlobalResourceTypes</code> to <code>true</code>.</p>
|
|
2541
|
+
* <p>To exclude the global IAM resource types for the <code>EXCLUSION_BY_RESOURCE_TYPES</code> recording strategy, you need to manually add them to the <code>resourceTypes</code> field of <code>exclusionByResourceTypes</code>.</p>
|
|
2542
|
+
* </important>
|
|
2522
2543
|
* <note>
|
|
2544
|
+
* <p>
|
|
2545
|
+
* <b>Required and optional fields</b>
|
|
2546
|
+
* </p>
|
|
2523
2547
|
* <p>Before you set this field to <code>true</code>,
|
|
2524
2548
|
* set the <code>allSupported</code> field of <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html">RecordingGroup</a> to
|
|
2525
2549
|
* <code>true</code>. Optionally, you can set the <code>useOnly</code> field of <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingStrategy.html">RecordingStrategy</a> to <code>ALL_SUPPORTED_RESOURCE_TYPES</code>.</p>
|
|
@@ -2629,6 +2653,9 @@ export interface RecordingGroup {
|
|
|
2629
2653
|
* <p>Asia Pacific (Melbourne)</p>
|
|
2630
2654
|
* </li>
|
|
2631
2655
|
* <li>
|
|
2656
|
+
* <p>Canada West (Calgary)</p>
|
|
2657
|
+
* </li>
|
|
2658
|
+
* <li>
|
|
2632
2659
|
* <p>Europe (Spain)</p>
|
|
2633
2660
|
* </li>
|
|
2634
2661
|
* <li>
|
|
@@ -2999,7 +3026,7 @@ export interface TemplateSSMDocumentDetails {
|
|
|
2999
3026
|
/**
|
|
3000
3027
|
* @public
|
|
3001
3028
|
* <p>The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack.
|
|
3002
|
-
* If you use the document name, Config checks only your account and Amazon Web Services Region for the SSM document
|
|
3029
|
+
* If you use the document name, Config checks only your account and Amazon Web Services Region for the SSM document.</p>
|
|
3003
3030
|
*/
|
|
3004
3031
|
DocumentName: string | undefined;
|
|
3005
3032
|
/**
|
|
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler:
|
|
15
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
-
httpHandlerConfigs(): {};
|
|
17
|
-
}) | RequestHandler;
|
|
14
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
18
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler:
|
|
15
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
-
httpHandlerConfigs(): {};
|
|
17
|
-
}) | RequestHandler;
|
|
14
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
18
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,10 +5,7 @@ import { ConfigServiceClientConfig } from "./ConfigServiceClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler:
|
|
9
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
-
httpHandlerConfigs(): {};
|
|
11
|
-
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
12
9
|
apiVersion: string;
|
|
13
10
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
RetryInputConfig,
|
|
19
19
|
RetryResolvedConfig,
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
|
-
import {
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
23
|
Client as __Client,
|
|
24
24
|
DefaultsMode as __DefaultsMode,
|
|
@@ -607,8 +607,8 @@ export type ServiceOutputTypes =
|
|
|
607
607
|
| TagResourceCommandOutput
|
|
608
608
|
| UntagResourceCommandOutput;
|
|
609
609
|
export interface ClientDefaults
|
|
610
|
-
extends Partial<
|
|
611
|
-
requestHandler?:
|
|
610
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
611
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
612
612
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
613
613
|
urlParser?: __UrlParser;
|
|
614
614
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
@@ -15,19 +15,7 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
|
|
|
15
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
17
17
|
requestHandler:
|
|
18
|
-
|
|
|
19
|
-
any,
|
|
20
|
-
any,
|
|
21
|
-
import("@smithy/types").HttpHandlerOptions
|
|
22
|
-
> &
|
|
23
|
-
import("@smithy/types").RequestHandler<
|
|
24
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
-
import("@smithy/types").HttpHandlerOptions
|
|
27
|
-
> & {
|
|
28
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
-
httpHandlerConfigs(): {};
|
|
30
|
-
})
|
|
18
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
31
19
|
| RequestHandler;
|
|
32
20
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
21
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -19,20 +19,8 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
|
|
|
19
19
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
20
|
region: string | import("@smithy/types").Provider<string>;
|
|
21
21
|
requestHandler:
|
|
22
|
-
|
|
|
23
|
-
|
|
24
|
-
any,
|
|
25
|
-
import("@smithy/types").HttpHandlerOptions
|
|
26
|
-
> &
|
|
27
|
-
import("@smithy/types").RequestHandler<
|
|
28
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
29
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
30
|
-
import("@smithy/types").HttpHandlerOptions
|
|
31
|
-
> & {
|
|
32
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
33
|
-
httpHandlerConfigs(): {};
|
|
34
|
-
})
|
|
35
|
-
| RequestHandler;
|
|
22
|
+
| RequestHandler
|
|
23
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
36
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
37
25
|
sha256: import("@smithy/types").HashConstructor;
|
|
38
26
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -3,19 +3,10 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
|
|
|
3
3
|
runtime: string;
|
|
4
4
|
sha256: import("@smithy/types").HashConstructor;
|
|
5
5
|
requestHandler:
|
|
6
|
-
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
> &
|
|
11
|
-
import("@smithy/types").RequestHandler<
|
|
12
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
-
import("@smithy/types").HttpHandlerOptions
|
|
15
|
-
> & {
|
|
16
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
-
httpHandlerConfigs(): {};
|
|
18
|
-
})
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
19
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
20
11
|
apiVersion: string;
|
|
21
12
|
urlParser: import("@smithy/types").UrlParser;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-config-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Config Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.521.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-config-service",
|
|
@@ -20,42 +20,42 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
38
|
-
"@smithy/hash-node": "^2.1.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
43
|
-
"@smithy/middleware-serde": "^2.1.
|
|
44
|
-
"@smithy/middleware-stack": "^2.1.
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.1.
|
|
23
|
+
"@aws-sdk/client-sts": "3.521.0",
|
|
24
|
+
"@aws-sdk/core": "3.521.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.521.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.521.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.521.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.521.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.521.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.521.0",
|
|
31
|
+
"@aws-sdk/types": "3.521.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.521.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.521.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.521.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.2",
|
|
36
|
+
"@smithy/core": "^1.3.3",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.2",
|
|
38
|
+
"@smithy/hash-node": "^2.1.2",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.1.2",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.1.2",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.2",
|
|
43
|
+
"@smithy/middleware-serde": "^2.1.2",
|
|
44
|
+
"@smithy/middleware-stack": "^2.1.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.2",
|
|
46
|
+
"@smithy/node-http-handler": "^2.4.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.2.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.4.0",
|
|
49
|
+
"@smithy/types": "^2.10.0",
|
|
50
|
+
"@smithy/url-parser": "^2.1.2",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
57
|
-
"@smithy/util-middleware": "^2.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.2",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.1",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.2",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.2",
|
|
58
|
+
"@smithy/util-retry": "^2.1.2",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|