@aws-sdk/client-ssm 3.79.0 → 3.82.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +6 -2
- package/dist-types/SSM.d.ts +14 -13
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +7 -6
- package/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +7 -7
- package/dist-types/models/models_0.d.ts +10 -1
- package/dist-types/models/models_1.d.ts +9 -7
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.82.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.81.0...v3.82.0) (2022-05-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ssm
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.81.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.80.0...v3.81.0) (2022-04-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-ssm:** Update the StartChangeRequestExecution, adding TargetMaps to the Runbook parameter ([1a4fe40](https://github.com/aws/aws-sdk-js-v3/commit/1a4fe402dd33b685b9a7c8d6e4fa080871283f1a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.80.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.79.0...v3.80.0) (2022-04-28)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-ssm
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.79.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.78.0...v3.79.0) (2022-04-27)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-ssm
|
|
@@ -10982,6 +10982,8 @@ const serializeAws_json1_1Runbook = (input, context) => {
|
|
|
10982
10982
|
input.TargetLocations !== null && {
|
|
10983
10983
|
TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
|
|
10984
10984
|
}),
|
|
10985
|
+
...(input.TargetMaps !== undefined &&
|
|
10986
|
+
input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) }),
|
|
10985
10987
|
...(input.TargetParameterName !== undefined &&
|
|
10986
10988
|
input.TargetParameterName !== null && { TargetParameterName: input.TargetParameterName }),
|
|
10987
10989
|
...(input.Targets !== undefined &&
|
|
@@ -15680,6 +15682,9 @@ const deserializeAws_json1_1Runbook = (output, context) => {
|
|
|
15680
15682
|
TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
|
|
15681
15683
|
? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
|
|
15682
15684
|
: undefined,
|
|
15685
|
+
TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
|
|
15686
|
+
? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
|
|
15687
|
+
: undefined,
|
|
15683
15688
|
TargetParameterName: (0, smithy_client_1.expectString)(output.TargetParameterName),
|
|
15684
15689
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
15685
15690
|
? deserializeAws_json1_1Targets(output.Targets, context)
|
|
@@ -12560,7 +12560,7 @@ var serializeAws_json1_1ResumeSessionRequest = function (input, context) {
|
|
|
12560
12560
|
return __assign({}, (input.SessionId !== undefined && input.SessionId !== null && { SessionId: input.SessionId }));
|
|
12561
12561
|
};
|
|
12562
12562
|
var serializeAws_json1_1Runbook = function (input, context) {
|
|
12563
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.DocumentVersion !== undefined &&
|
|
12563
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.DocumentVersion !== undefined &&
|
|
12564
12564
|
input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.MaxConcurrency !== undefined &&
|
|
12565
12565
|
input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.Parameters !== undefined &&
|
|
12566
12566
|
input.Parameters !== null && {
|
|
@@ -12568,7 +12568,8 @@ var serializeAws_json1_1Runbook = function (input, context) {
|
|
|
12568
12568
|
})), (input.TargetLocations !== undefined &&
|
|
12569
12569
|
input.TargetLocations !== null && {
|
|
12570
12570
|
TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
|
|
12571
|
-
})), (input.
|
|
12571
|
+
})), (input.TargetMaps !== undefined &&
|
|
12572
|
+
input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.TargetParameterName !== undefined &&
|
|
12572
12573
|
input.TargetParameterName !== null && { TargetParameterName: input.TargetParameterName })), (input.Targets !== undefined &&
|
|
12573
12574
|
input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
|
|
12574
12575
|
};
|
|
@@ -17043,6 +17044,9 @@ var deserializeAws_json1_1Runbook = function (output, context) {
|
|
|
17043
17044
|
TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
|
|
17044
17045
|
? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
|
|
17045
17046
|
: undefined,
|
|
17047
|
+
TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
|
|
17048
|
+
? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
|
|
17049
|
+
: undefined,
|
|
17046
17050
|
TargetParameterName: __expectString(output.TargetParameterName),
|
|
17047
17051
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
17048
17052
|
? deserializeAws_json1_1Targets(output.Targets, context)
|
package/dist-types/SSM.d.ts
CHANGED
|
@@ -177,11 +177,11 @@ import { SSMClient } from "./SSMClient";
|
|
|
177
177
|
export declare class SSM extends SSMClient {
|
|
178
178
|
/**
|
|
179
179
|
* <p>Adds or overwrites one or more tags for the specified resource. Tags are metadata that you
|
|
180
|
-
* can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store
|
|
181
|
-
* patch baselines. Tags enable you to categorize your resources in different ways,
|
|
182
|
-
* purpose, owner, or environment. Each tag consists of a key and an optional value,
|
|
183
|
-
* you define. For example, you could define a set of tags for your account's managed
|
|
184
|
-
* helps you track each node's owner and stack level. For example:</p>
|
|
180
|
+
* can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store
|
|
181
|
+
* parameters, and patch baselines. Tags enable you to categorize your resources in different ways,
|
|
182
|
+
* for example, by purpose, owner, or environment. Each tag consists of a key and an optional value,
|
|
183
|
+
* both of which you define. For example, you could define a set of tags for your account's managed
|
|
184
|
+
* nodes that helps you track each node's owner and stack level. For example:</p>
|
|
185
185
|
* <ul>
|
|
186
186
|
* <li>
|
|
187
187
|
* <p>
|
|
@@ -214,7 +214,8 @@ export declare class SSM extends SSMClient {
|
|
|
214
214
|
* </p>
|
|
215
215
|
* </li>
|
|
216
216
|
* </ul>
|
|
217
|
-
* <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5
|
|
217
|
+
* <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5
|
|
218
|
+
* tags.</p>
|
|
218
219
|
* <p>We recommend that you devise a set of tag keys that meets your needs for each resource type.
|
|
219
220
|
* Using a consistent set of tag keys makes it easier for you to manage your resources. You can
|
|
220
221
|
* search and filter the resources based on the tags you add. Tags don't have any semantic meaning
|
|
@@ -887,13 +888,13 @@ export declare class SSM extends SSMClient {
|
|
|
887
888
|
getMaintenanceWindowExecutionTaskInvocation(args: GetMaintenanceWindowExecutionTaskInvocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMaintenanceWindowExecutionTaskInvocationCommandOutput) => void): void;
|
|
888
889
|
/**
|
|
889
890
|
* <p>Retrieves the details of a maintenance window task.</p>
|
|
890
|
-
*
|
|
891
|
-
*
|
|
892
|
-
*
|
|
893
|
-
*
|
|
894
|
-
*
|
|
895
|
-
*
|
|
896
|
-
*
|
|
891
|
+
* <note>
|
|
892
|
+
* <p>For maintenance window tasks without a specified target, you can't supply values for
|
|
893
|
+
* <code>--max-errors</code> and <code>--max-concurrency</code>. Instead, the system inserts a
|
|
894
|
+
* placeholder value of <code>1</code>, which may be reported in the response to this command.
|
|
895
|
+
* These values don't affect the running of your task and can be ignored.</p>
|
|
896
|
+
* </note>
|
|
897
|
+
* <p>To retrieve a list of tasks in a maintenance window, instead use the <a>DescribeMaintenanceWindowTasks</a> command.</p>
|
|
897
898
|
*/
|
|
898
899
|
getMaintenanceWindowTask(args: GetMaintenanceWindowTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetMaintenanceWindowTaskCommandOutput>;
|
|
899
900
|
getMaintenanceWindowTask(args: GetMaintenanceWindowTaskCommandInput, cb: (err: any, data?: GetMaintenanceWindowTaskCommandOutput) => void): void;
|
|
@@ -8,11 +8,11 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResult,
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Adds or overwrites one or more tags for the specified resource. Tags are metadata that you
|
|
11
|
-
* can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store
|
|
12
|
-
* patch baselines. Tags enable you to categorize your resources in different ways,
|
|
13
|
-
* purpose, owner, or environment. Each tag consists of a key and an optional value,
|
|
14
|
-
* you define. For example, you could define a set of tags for your account's managed
|
|
15
|
-
* helps you track each node's owner and stack level. For example:</p>
|
|
11
|
+
* can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store
|
|
12
|
+
* parameters, and patch baselines. Tags enable you to categorize your resources in different ways,
|
|
13
|
+
* for example, by purpose, owner, or environment. Each tag consists of a key and an optional value,
|
|
14
|
+
* both of which you define. For example, you could define a set of tags for your account's managed
|
|
15
|
+
* nodes that helps you track each node's owner and stack level. For example:</p>
|
|
16
16
|
* <ul>
|
|
17
17
|
* <li>
|
|
18
18
|
* <p>
|
|
@@ -45,7 +45,8 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResult,
|
|
|
45
45
|
* </p>
|
|
46
46
|
* </li>
|
|
47
47
|
* </ul>
|
|
48
|
-
* <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5
|
|
48
|
+
* <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5
|
|
49
|
+
* tags.</p>
|
|
49
50
|
* <p>We recommend that you devise a set of tag keys that meets your needs for each resource type.
|
|
50
51
|
* Using a consistent set of tag keys makes it easier for you to manage your resources. You can
|
|
51
52
|
* search and filter the resources based on the tags you add. Tags don't have any semantic meaning
|
|
@@ -8,13 +8,13 @@ export interface GetMaintenanceWindowTaskCommandOutput extends GetMaintenanceWin
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Retrieves the details of a maintenance window task.</p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>For maintenance window tasks without a specified target, you can't supply values for
|
|
13
|
+
* <code>--max-errors</code> and <code>--max-concurrency</code>. Instead, the system inserts a
|
|
14
|
+
* placeholder value of <code>1</code>, which may be reported in the response to this command.
|
|
15
|
+
* These values don't affect the running of your task and can be ignored.</p>
|
|
16
|
+
* </note>
|
|
17
|
+
* <p>To retrieve a list of tasks in a maintenance window, instead use the <a>DescribeMaintenanceWindowTasks</a> command.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -961,7 +961,9 @@ export interface CreateAssociationRequest {
|
|
|
961
961
|
/**
|
|
962
962
|
* <p>Number of days to wait after the scheduled day to run an association. For example, if you
|
|
963
963
|
* specified a cron schedule of <code>cron(0 0 ? * THU#2 *)</code>, you could specify an offset of 3
|
|
964
|
-
* to run the association each Sunday after the second Thursday of the month. For more information
|
|
964
|
+
* to run the association each Sunday after the second Thursday of the month. For more information
|
|
965
|
+
* about cron schedules for associations, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html">Reference: Cron
|
|
966
|
+
* and rate expressions for Systems Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. </p>
|
|
965
967
|
* <note>
|
|
966
968
|
* <p>To use offsets, you must specify the <code>ApplyOnlyAtCronInterval</code> parameter. This
|
|
967
969
|
* option tells the system not to run an association immediately after you create it. </p>
|
|
@@ -4165,6 +4167,13 @@ export interface Runbook {
|
|
|
4165
4167
|
* Required if you specify <code>TargetParameterName</code>.</p>
|
|
4166
4168
|
*/
|
|
4167
4169
|
Targets?: Target[];
|
|
4170
|
+
/**
|
|
4171
|
+
* <p>A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps
|
|
4172
|
+
* can't be specified together.</p>
|
|
4173
|
+
*/
|
|
4174
|
+
TargetMaps?: {
|
|
4175
|
+
[key: string]: string[];
|
|
4176
|
+
}[];
|
|
4168
4177
|
/**
|
|
4169
4178
|
* <p>The <code>MaxConcurrency</code> value specified by the user when the operation started,
|
|
4170
4179
|
* indicating the maximum number of resources that the runbook operation can run on at the same
|
|
@@ -974,13 +974,13 @@ export interface GetCommandInvocationRequest {
|
|
|
974
974
|
*/
|
|
975
975
|
InstanceId: string | undefined;
|
|
976
976
|
/**
|
|
977
|
-
* <p>The name of the
|
|
978
|
-
*
|
|
979
|
-
*
|
|
980
|
-
*
|
|
981
|
-
*
|
|
977
|
+
* <p>The name of the step for which you want detailed results. If the document contains only one
|
|
978
|
+
* step, you can omit the name and details for that step. If the document contains more than one
|
|
979
|
+
* step, you must specify the name of the step for which you want to view details. Be sure to
|
|
980
|
+
* specify the name of the step, not the name of a plugin like
|
|
981
|
+
* <code>aws:RunShellScript</code>.</p>
|
|
982
982
|
* <p>To find the <code>PluginName</code>, check the document content and find the name of the
|
|
983
|
-
*
|
|
983
|
+
* step you want details for. Alternatively, use <a>ListCommandInvocations</a> with the
|
|
984
984
|
* <code>CommandId</code> and <code>Details</code> parameters. The <code>PluginName</code> is the
|
|
985
985
|
* <code>Name</code> attribute of the <code>CommandPlugin</code> object in the
|
|
986
986
|
* <code>CommandPlugins</code> list.</p>
|
|
@@ -8321,7 +8321,9 @@ export interface UpdateAssociationRequest {
|
|
|
8321
8321
|
/**
|
|
8322
8322
|
* <p>Number of days to wait after the scheduled day to run an association. For example, if you
|
|
8323
8323
|
* specified a cron schedule of <code>cron(0 0 ? * THU#2 *)</code>, you could specify an offset of 3
|
|
8324
|
-
* to run the association each Sunday after the second Thursday of the month. For more information
|
|
8324
|
+
* to run the association each Sunday after the second Thursday of the month. For more information
|
|
8325
|
+
* about cron schedules for associations, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html">Reference: Cron
|
|
8326
|
+
* and rate expressions for Systems Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. </p>
|
|
8325
8327
|
* <note>
|
|
8326
8328
|
* <p>To use offsets, you must specify the <code>ApplyOnlyAtCronInterval</code> parameter. This
|
|
8327
8329
|
* option tells the system not to run an association immediately after you create it. </p>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.82.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,22 +18,22 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.82.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.82.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
31
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
32
|
"@aws-sdk/middleware-signing": "3.78.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.82.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.78.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.78.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.81.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
51
|
"@aws-sdk/util-waiter": "3.78.0",
|