@aws-sdk/client-config-service 3.972.0 → 3.974.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/index.js CHANGED
@@ -2950,8 +2950,8 @@ var PutConfigurationRecorderRequest$ = [3, n0, _PCRRu,
2950
2950
  ];
2951
2951
  var PutConformancePackRequest$ = [3, n0, _PCPR,
2952
2952
  0,
2953
- [_CPN, _TSU, _TB, _DSB, _DSKP, _CPIP, _TSSMDD],
2954
- [0, 0, 0, 0, 0, () => ConformancePackInputParameters, () => TemplateSSMDocumentDetails$], 1
2953
+ [_CPN, _TSU, _TB, _DSB, _DSKP, _CPIP, _TSSMDD, _Ta],
2954
+ [0, 0, 0, 0, 0, () => ConformancePackInputParameters, () => TemplateSSMDocumentDetails$, () => TagsList], 1
2955
2955
  ];
2956
2956
  var PutConformancePackResponse$ = [3, n0, _PCPRu,
2957
2957
  0,
@@ -2161,8 +2161,8 @@ export var PutConfigurationRecorderRequest$ = [3, n0, _PCRRu,
2161
2161
  ];
2162
2162
  export var PutConformancePackRequest$ = [3, n0, _PCPR,
2163
2163
  0,
2164
- [_CPN, _TSU, _TB, _DSB, _DSKP, _CPIP, _TSSMDD],
2165
- [0, 0, 0, 0, 0, () => ConformancePackInputParameters, () => TemplateSSMDocumentDetails$], 1
2164
+ [_CPN, _TSU, _TB, _DSB, _DSKP, _CPIP, _TSSMDD, _Ta],
2165
+ [0, 0, 0, 0, 0, () => ConformancePackInputParameters, () => TemplateSSMDocumentDetails$, () => TagsList], 1
2166
2166
  ];
2167
2167
  export var PutConformancePackResponse$ = [3, n0, _PCPRu,
2168
2168
  0,
@@ -48,6 +48,15 @@ declare const PutConformancePackCommand_base: {
48
48
  * <note>
49
49
  * <p>You must specify only one of the follow parameters: <code>TemplateS3Uri</code>, <code>TemplateBody</code> or <code>TemplateSSMDocumentDetails</code>.</p>
50
50
  * </note>
51
+ * <note>
52
+ * <p>
53
+ * <b>Tags are added at creation and cannot be updated with this operation</b>
54
+ * </p>
55
+ * <p>
56
+ * <code>PutConformancePack</code> is an idempotent API. Subsequent requests won't create a duplicate resource if one was already created. If a following request has different <code>tags</code> values,
57
+ * Config will ignore these differences and treat it as an idempotent request of the previous. In this case, <code>tags</code> will not be updated, even if they are different.</p>
58
+ * <p>Use <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_TagResource.html">TagResource</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_UntagResource.html">UntagResource</a> to update tags after creation.</p>
59
+ * </note>
51
60
  * @example
52
61
  * Use a bare-bones client and the command you need to make an API call.
53
62
  * ```javascript
@@ -72,6 +81,12 @@ declare const PutConformancePackCommand_base: {
72
81
  * DocumentName: "STRING_VALUE", // required
73
82
  * DocumentVersion: "STRING_VALUE",
74
83
  * },
84
+ * Tags: [ // TagsList
85
+ * { // Tag
86
+ * Key: "STRING_VALUE",
87
+ * Value: "STRING_VALUE",
88
+ * },
89
+ * ],
75
90
  * };
76
91
  * const command = new PutConformancePackCommand(input);
77
92
  * const response = await client.send(command);
@@ -6969,6 +6969,11 @@ export interface PutConformancePackRequest {
6969
6969
  * @public
6970
6970
  */
6971
6971
  TemplateSSMDocumentDetails?: TemplateSSMDocumentDetails | undefined;
6972
+ /**
6973
+ * <p>The tags for the conformance pack. Each tag consists of a key and an optional value, both of which you define.</p>
6974
+ * @public
6975
+ */
6976
+ Tags?: Tag[] | undefined;
6972
6977
  }
6973
6978
  /**
6974
6979
  * @public
@@ -1344,6 +1344,7 @@ export interface PutConformancePackRequest {
1344
1344
  DeliveryS3KeyPrefix?: string | undefined;
1345
1345
  ConformancePackInputParameters?: ConformancePackInputParameter[] | undefined;
1346
1346
  TemplateSSMDocumentDetails?: TemplateSSMDocumentDetails | undefined;
1347
+ Tags?: Tag[] | undefined;
1347
1348
  }
1348
1349
  export interface PutConformancePackResponse {
1349
1350
  ConformancePackArn?: string | undefined;
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.972.0",
4
+ "version": "3.974.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-config-service",
@@ -23,38 +23,38 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "3.972.0",
27
- "@aws-sdk/credential-provider-node": "3.972.0",
28
- "@aws-sdk/middleware-host-header": "3.972.0",
29
- "@aws-sdk/middleware-logger": "3.972.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.972.0",
31
- "@aws-sdk/middleware-user-agent": "3.972.0",
32
- "@aws-sdk/region-config-resolver": "3.972.0",
33
- "@aws-sdk/types": "3.972.0",
26
+ "@aws-sdk/core": "^3.973.0",
27
+ "@aws-sdk/credential-provider-node": "^3.972.1",
28
+ "@aws-sdk/middleware-host-header": "^3.972.1",
29
+ "@aws-sdk/middleware-logger": "^3.972.1",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.1",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.1",
32
+ "@aws-sdk/region-config-resolver": "^3.972.1",
33
+ "@aws-sdk/types": "^3.973.0",
34
34
  "@aws-sdk/util-endpoints": "3.972.0",
35
- "@aws-sdk/util-user-agent-browser": "3.972.0",
36
- "@aws-sdk/util-user-agent-node": "3.972.0",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.1",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.1",
37
37
  "@smithy/config-resolver": "^4.4.6",
38
- "@smithy/core": "^3.20.6",
38
+ "@smithy/core": "^3.21.0",
39
39
  "@smithy/fetch-http-handler": "^5.3.9",
40
40
  "@smithy/hash-node": "^4.2.8",
41
41
  "@smithy/invalid-dependency": "^4.2.8",
42
42
  "@smithy/middleware-content-length": "^4.2.8",
43
- "@smithy/middleware-endpoint": "^4.4.7",
44
- "@smithy/middleware-retry": "^4.4.23",
43
+ "@smithy/middleware-endpoint": "^4.4.10",
44
+ "@smithy/middleware-retry": "^4.4.26",
45
45
  "@smithy/middleware-serde": "^4.2.9",
46
46
  "@smithy/middleware-stack": "^4.2.8",
47
47
  "@smithy/node-config-provider": "^4.3.8",
48
48
  "@smithy/node-http-handler": "^4.4.8",
49
49
  "@smithy/protocol-http": "^5.3.8",
50
- "@smithy/smithy-client": "^4.10.8",
50
+ "@smithy/smithy-client": "^4.10.11",
51
51
  "@smithy/types": "^4.12.0",
52
52
  "@smithy/url-parser": "^4.2.8",
53
53
  "@smithy/util-base64": "^4.3.0",
54
54
  "@smithy/util-body-length-browser": "^4.2.0",
55
55
  "@smithy/util-body-length-node": "^4.2.1",
56
- "@smithy/util-defaults-mode-browser": "^4.3.22",
57
- "@smithy/util-defaults-mode-node": "^4.2.25",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.25",
57
+ "@smithy/util-defaults-mode-node": "^4.2.28",
58
58
  "@smithy/util-endpoints": "^3.2.8",
59
59
  "@smithy/util-middleware": "^4.2.8",
60
60
  "@smithy/util-retry": "^4.2.8",