@aws-sdk/client-config-service 3.252.0 → 3.254.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.
|
@@ -5606,9 +5606,7 @@ const serializeAws_json1_1Evaluation = (input, context) => {
|
|
|
5606
5606
|
...(input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId }),
|
|
5607
5607
|
...(input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType }),
|
|
5608
5608
|
...(input.ComplianceType != null && { ComplianceType: input.ComplianceType }),
|
|
5609
|
-
...(input.OrderingTimestamp != null && {
|
|
5610
|
-
OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000).toString(),
|
|
5611
|
-
}),
|
|
5609
|
+
...(input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }),
|
|
5612
5610
|
};
|
|
5613
5611
|
};
|
|
5614
5612
|
const serializeAws_json1_1EvaluationContext = (input, context) => {
|
|
@@ -5655,9 +5653,7 @@ const serializeAws_json1_1ExternalEvaluation = (input, context) => {
|
|
|
5655
5653
|
...(input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId }),
|
|
5656
5654
|
...(input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType }),
|
|
5657
5655
|
...(input.ComplianceType != null && { ComplianceType: input.ComplianceType }),
|
|
5658
|
-
...(input.OrderingTimestamp != null && {
|
|
5659
|
-
OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000).toString(),
|
|
5660
|
-
}),
|
|
5656
|
+
...(input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }),
|
|
5661
5657
|
};
|
|
5662
5658
|
};
|
|
5663
5659
|
const serializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleRequest = (input, context) => {
|
|
@@ -5809,8 +5805,8 @@ const serializeAws_json1_1GetOrganizationCustomRulePolicyRequest = (input, conte
|
|
|
5809
5805
|
const serializeAws_json1_1GetResourceConfigHistoryRequest = (input, context) => {
|
|
5810
5806
|
return {
|
|
5811
5807
|
...(input.chronologicalOrder != null && { chronologicalOrder: input.chronologicalOrder }),
|
|
5812
|
-
...(input.earlierTime != null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000)
|
|
5813
|
-
...(input.laterTime != null && { laterTime: Math.round(input.laterTime.getTime() / 1000)
|
|
5808
|
+
...(input.earlierTime != null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000) }),
|
|
5809
|
+
...(input.laterTime != null && { laterTime: Math.round(input.laterTime.getTime() / 1000) }),
|
|
5814
5810
|
...(input.limit != null && { limit: input.limit }),
|
|
5815
5811
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
5816
5812
|
...(input.resourceId != null && { resourceId: input.resourceId }),
|
|
@@ -6089,9 +6085,7 @@ const serializeAws_json1_1PutRemediationConfigurationsRequest = (input, context)
|
|
|
6089
6085
|
const serializeAws_json1_1PutRemediationExceptionsRequest = (input, context) => {
|
|
6090
6086
|
return {
|
|
6091
6087
|
...(input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName }),
|
|
6092
|
-
...(input.ExpirationTime != null && {
|
|
6093
|
-
ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000).toString(),
|
|
6094
|
-
}),
|
|
6088
|
+
...(input.ExpirationTime != null && { ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000) }),
|
|
6095
6089
|
...(input.Message != null && { Message: input.Message }),
|
|
6096
6090
|
...(input.ResourceKeys != null && {
|
|
6097
6091
|
ResourceKeys: serializeAws_json1_1RemediationExceptionResourceKeys(input.ResourceKeys, context),
|
|
@@ -6461,8 +6455,8 @@ const serializeAws_json1_1TemplateSSMDocumentDetails = (input, context) => {
|
|
|
6461
6455
|
};
|
|
6462
6456
|
const serializeAws_json1_1TimeWindow = (input, context) => {
|
|
6463
6457
|
return {
|
|
6464
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000)
|
|
6465
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000)
|
|
6458
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
6459
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
6466
6460
|
};
|
|
6467
6461
|
};
|
|
6468
6462
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
@@ -5416,9 +5416,7 @@ const serializeAws_json1_1Evaluation = (input, context) => {
|
|
|
5416
5416
|
...(input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId }),
|
|
5417
5417
|
...(input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType }),
|
|
5418
5418
|
...(input.ComplianceType != null && { ComplianceType: input.ComplianceType }),
|
|
5419
|
-
...(input.OrderingTimestamp != null && {
|
|
5420
|
-
OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000).toString(),
|
|
5421
|
-
}),
|
|
5419
|
+
...(input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }),
|
|
5422
5420
|
};
|
|
5423
5421
|
};
|
|
5424
5422
|
const serializeAws_json1_1EvaluationContext = (input, context) => {
|
|
@@ -5465,9 +5463,7 @@ const serializeAws_json1_1ExternalEvaluation = (input, context) => {
|
|
|
5465
5463
|
...(input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId }),
|
|
5466
5464
|
...(input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType }),
|
|
5467
5465
|
...(input.ComplianceType != null && { ComplianceType: input.ComplianceType }),
|
|
5468
|
-
...(input.OrderingTimestamp != null && {
|
|
5469
|
-
OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000).toString(),
|
|
5470
|
-
}),
|
|
5466
|
+
...(input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }),
|
|
5471
5467
|
};
|
|
5472
5468
|
};
|
|
5473
5469
|
const serializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleRequest = (input, context) => {
|
|
@@ -5619,8 +5615,8 @@ const serializeAws_json1_1GetOrganizationCustomRulePolicyRequest = (input, conte
|
|
|
5619
5615
|
const serializeAws_json1_1GetResourceConfigHistoryRequest = (input, context) => {
|
|
5620
5616
|
return {
|
|
5621
5617
|
...(input.chronologicalOrder != null && { chronologicalOrder: input.chronologicalOrder }),
|
|
5622
|
-
...(input.earlierTime != null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000)
|
|
5623
|
-
...(input.laterTime != null && { laterTime: Math.round(input.laterTime.getTime() / 1000)
|
|
5618
|
+
...(input.earlierTime != null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000) }),
|
|
5619
|
+
...(input.laterTime != null && { laterTime: Math.round(input.laterTime.getTime() / 1000) }),
|
|
5624
5620
|
...(input.limit != null && { limit: input.limit }),
|
|
5625
5621
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
5626
5622
|
...(input.resourceId != null && { resourceId: input.resourceId }),
|
|
@@ -5899,9 +5895,7 @@ const serializeAws_json1_1PutRemediationConfigurationsRequest = (input, context)
|
|
|
5899
5895
|
const serializeAws_json1_1PutRemediationExceptionsRequest = (input, context) => {
|
|
5900
5896
|
return {
|
|
5901
5897
|
...(input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName }),
|
|
5902
|
-
...(input.ExpirationTime != null && {
|
|
5903
|
-
ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000).toString(),
|
|
5904
|
-
}),
|
|
5898
|
+
...(input.ExpirationTime != null && { ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000) }),
|
|
5905
5899
|
...(input.Message != null && { Message: input.Message }),
|
|
5906
5900
|
...(input.ResourceKeys != null && {
|
|
5907
5901
|
ResourceKeys: serializeAws_json1_1RemediationExceptionResourceKeys(input.ResourceKeys, context),
|
|
@@ -6271,8 +6265,8 @@ const serializeAws_json1_1TemplateSSMDocumentDetails = (input, context) => {
|
|
|
6271
6265
|
};
|
|
6272
6266
|
const serializeAws_json1_1TimeWindow = (input, context) => {
|
|
6273
6267
|
return {
|
|
6274
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000)
|
|
6275
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000)
|
|
6268
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
6269
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
6276
6270
|
};
|
|
6277
6271
|
};
|
|
6278
6272
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
@@ -6,7 +6,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, 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 "@aws-sdk/types";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, 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 "@aws-sdk/types";
|
|
10
10
|
import { BatchGetAggregateResourceConfigCommandInput, BatchGetAggregateResourceConfigCommandOutput } from "./commands/BatchGetAggregateResourceConfigCommand";
|
|
11
11
|
import { BatchGetResourceConfigCommandInput, BatchGetResourceConfigCommandOutput } from "./commands/BatchGetResourceConfigCommand";
|
|
12
12
|
import { DeleteAggregationAuthorizationCommandInput, DeleteAggregationAuthorizationCommandOutput } from "./commands/DeleteAggregationAuthorizationCommand";
|
|
@@ -108,11 +108,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
108
108
|
*/
|
|
109
109
|
requestHandler?: __HttpHandler;
|
|
110
110
|
/**
|
|
111
|
-
* A constructor for a class implementing the {@link
|
|
111
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
112
112
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
113
113
|
* @internal
|
|
114
114
|
*/
|
|
115
|
-
sha256?: __HashConstructor;
|
|
115
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
116
116
|
/**
|
|
117
117
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
118
118
|
* @internal
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
32
32
|
import {
|
|
33
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
34
35
|
Credentials as __Credentials,
|
|
35
36
|
Decoder as __Decoder,
|
|
36
37
|
Encoder as __Encoder,
|
|
@@ -605,7 +606,7 @@ export declare type ServiceOutputTypes =
|
|
|
605
606
|
export interface ClientDefaults
|
|
606
607
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
607
608
|
requestHandler?: __HttpHandler;
|
|
608
|
-
sha256?: __HashConstructor;
|
|
609
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
609
610
|
urlParser?: __UrlParser;
|
|
610
611
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
611
612
|
streamCollector?: __StreamCollector;
|
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.254.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,39 +18,39 @@
|
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.254.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.254.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.254.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.254.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.254.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.254.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
43
|
+
"@aws-sdk/types": "3.254.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"tslib": "^2.3.1"
|