@aws-sdk/client-ssm 3.204.0 → 3.208.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.
|
@@ -10497,6 +10497,9 @@ const serializeAws_json1_1TargetLocation = (input, context) => {
|
|
|
10497
10497
|
...(input.Accounts != null && { Accounts: serializeAws_json1_1Accounts(input.Accounts, context) }),
|
|
10498
10498
|
...(input.ExecutionRoleName != null && { ExecutionRoleName: input.ExecutionRoleName }),
|
|
10499
10499
|
...(input.Regions != null && { Regions: serializeAws_json1_1Regions(input.Regions, context) }),
|
|
10500
|
+
...(input.TargetLocationAlarmConfiguration != null && {
|
|
10501
|
+
TargetLocationAlarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.TargetLocationAlarmConfiguration, context),
|
|
10502
|
+
}),
|
|
10500
10503
|
...(input.TargetLocationMaxConcurrency != null && {
|
|
10501
10504
|
TargetLocationMaxConcurrency: input.TargetLocationMaxConcurrency,
|
|
10502
10505
|
}),
|
|
@@ -14912,6 +14915,9 @@ const deserializeAws_json1_1StepExecution = (output, context) => {
|
|
|
14912
14915
|
TargetLocation: output.TargetLocation != null ? deserializeAws_json1_1TargetLocation(output.TargetLocation, context) : undefined,
|
|
14913
14916
|
Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
|
|
14914
14917
|
TimeoutSeconds: (0, smithy_client_1.expectLong)(output.TimeoutSeconds),
|
|
14918
|
+
TriggeredAlarms: output.TriggeredAlarms != null
|
|
14919
|
+
? deserializeAws_json1_1AlarmStateInformationList(output.TriggeredAlarms, context)
|
|
14920
|
+
: undefined,
|
|
14915
14921
|
ValidNextSteps: output.ValidNextSteps != null
|
|
14916
14922
|
? deserializeAws_json1_1ValidNextStepList(output.ValidNextSteps, context)
|
|
14917
14923
|
: undefined,
|
|
@@ -14969,6 +14975,9 @@ const deserializeAws_json1_1TargetLocation = (output, context) => {
|
|
|
14969
14975
|
Accounts: output.Accounts != null ? deserializeAws_json1_1Accounts(output.Accounts, context) : undefined,
|
|
14970
14976
|
ExecutionRoleName: (0, smithy_client_1.expectString)(output.ExecutionRoleName),
|
|
14971
14977
|
Regions: output.Regions != null ? deserializeAws_json1_1Regions(output.Regions, context) : undefined,
|
|
14978
|
+
TargetLocationAlarmConfiguration: output.TargetLocationAlarmConfiguration != null
|
|
14979
|
+
? deserializeAws_json1_1AlarmConfiguration(output.TargetLocationAlarmConfiguration, context)
|
|
14980
|
+
: undefined,
|
|
14972
14981
|
TargetLocationMaxConcurrency: (0, smithy_client_1.expectString)(output.TargetLocationMaxConcurrency),
|
|
14973
14982
|
TargetLocationMaxErrors: (0, smithy_client_1.expectString)(output.TargetLocationMaxErrors),
|
|
14974
14983
|
};
|
|
@@ -10219,6 +10219,9 @@ const serializeAws_json1_1TargetLocation = (input, context) => {
|
|
|
10219
10219
|
...(input.Accounts != null && { Accounts: serializeAws_json1_1Accounts(input.Accounts, context) }),
|
|
10220
10220
|
...(input.ExecutionRoleName != null && { ExecutionRoleName: input.ExecutionRoleName }),
|
|
10221
10221
|
...(input.Regions != null && { Regions: serializeAws_json1_1Regions(input.Regions, context) }),
|
|
10222
|
+
...(input.TargetLocationAlarmConfiguration != null && {
|
|
10223
|
+
TargetLocationAlarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.TargetLocationAlarmConfiguration, context),
|
|
10224
|
+
}),
|
|
10222
10225
|
...(input.TargetLocationMaxConcurrency != null && {
|
|
10223
10226
|
TargetLocationMaxConcurrency: input.TargetLocationMaxConcurrency,
|
|
10224
10227
|
}),
|
|
@@ -14634,6 +14637,9 @@ const deserializeAws_json1_1StepExecution = (output, context) => {
|
|
|
14634
14637
|
TargetLocation: output.TargetLocation != null ? deserializeAws_json1_1TargetLocation(output.TargetLocation, context) : undefined,
|
|
14635
14638
|
Targets: output.Targets != null ? deserializeAws_json1_1Targets(output.Targets, context) : undefined,
|
|
14636
14639
|
TimeoutSeconds: __expectLong(output.TimeoutSeconds),
|
|
14640
|
+
TriggeredAlarms: output.TriggeredAlarms != null
|
|
14641
|
+
? deserializeAws_json1_1AlarmStateInformationList(output.TriggeredAlarms, context)
|
|
14642
|
+
: undefined,
|
|
14637
14643
|
ValidNextSteps: output.ValidNextSteps != null
|
|
14638
14644
|
? deserializeAws_json1_1ValidNextStepList(output.ValidNextSteps, context)
|
|
14639
14645
|
: undefined,
|
|
@@ -14691,6 +14697,9 @@ const deserializeAws_json1_1TargetLocation = (output, context) => {
|
|
|
14691
14697
|
Accounts: output.Accounts != null ? deserializeAws_json1_1Accounts(output.Accounts, context) : undefined,
|
|
14692
14698
|
ExecutionRoleName: __expectString(output.ExecutionRoleName),
|
|
14693
14699
|
Regions: output.Regions != null ? deserializeAws_json1_1Regions(output.Regions, context) : undefined,
|
|
14700
|
+
TargetLocationAlarmConfiguration: output.TargetLocationAlarmConfiguration != null
|
|
14701
|
+
? deserializeAws_json1_1AlarmConfiguration(output.TargetLocationAlarmConfiguration, context)
|
|
14702
|
+
: undefined,
|
|
14694
14703
|
TargetLocationMaxConcurrency: __expectString(output.TargetLocationMaxConcurrency),
|
|
14695
14704
|
TargetLocationMaxErrors: __expectString(output.TargetLocationMaxErrors),
|
|
14696
14705
|
};
|
|
@@ -636,6 +636,10 @@ export interface TargetLocation {
|
|
|
636
636
|
* the default value is <code>AWS-SystemsManager-AutomationExecutionRole</code>.</p>
|
|
637
637
|
*/
|
|
638
638
|
ExecutionRoleName?: string;
|
|
639
|
+
/**
|
|
640
|
+
* <p>The details for the CloudWatch alarm you want to apply to an automation or command.</p>
|
|
641
|
+
*/
|
|
642
|
+
TargetLocationAlarmConfiguration?: AlarmConfiguration;
|
|
639
643
|
}
|
|
640
644
|
/**
|
|
641
645
|
* <p>An array of search criteria that targets managed nodes using a key-value pair that you
|
|
@@ -4011,6 +4015,10 @@ export interface StepExecution {
|
|
|
4011
4015
|
* execution.</p>
|
|
4012
4016
|
*/
|
|
4013
4017
|
TargetLocation?: TargetLocation;
|
|
4018
|
+
/**
|
|
4019
|
+
* <p>The CloudWatch alarms that were invoked by the automation.</p>
|
|
4020
|
+
*/
|
|
4021
|
+
TriggeredAlarms?: AlarmStateInformation[];
|
|
4014
4022
|
}
|
|
4015
4023
|
export interface DescribeAutomationStepExecutionsResult {
|
|
4016
4024
|
/**
|
|
@@ -243,6 +243,7 @@ export interface TargetLocation {
|
|
|
243
243
|
TargetLocationMaxConcurrency?: string;
|
|
244
244
|
TargetLocationMaxErrors?: string;
|
|
245
245
|
ExecutionRoleName?: string;
|
|
246
|
+
TargetLocationAlarmConfiguration?: AlarmConfiguration;
|
|
246
247
|
}
|
|
247
248
|
export interface Target {
|
|
248
249
|
Key?: string;
|
|
@@ -1378,6 +1379,7 @@ export interface StepExecution {
|
|
|
1378
1379
|
ValidNextSteps?: string[];
|
|
1379
1380
|
Targets?: Target[];
|
|
1380
1381
|
TargetLocation?: TargetLocation;
|
|
1382
|
+
TriggeredAlarms?: AlarmStateInformation[];
|
|
1381
1383
|
}
|
|
1382
1384
|
export interface DescribeAutomationStepExecutionsResult {
|
|
1383
1385
|
StepExecutions?: StepExecution[];
|
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.208.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",
|
|
@@ -19,48 +19,48 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64": "3.
|
|
45
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
46
|
-
"@aws-sdk/util-base64-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.208.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.208.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.208.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.208.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.208.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.208.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.208.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.208.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.208.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.208.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.208.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.208.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.208.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.208.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.208.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.208.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.208.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.208.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.208.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.208.0",
|
|
42
|
+
"@aws-sdk/types": "3.208.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.208.0",
|
|
44
|
+
"@aws-sdk/util-base64": "3.208.0",
|
|
45
|
+
"@aws-sdk/util-base64-browser": "3.208.0",
|
|
46
|
+
"@aws-sdk/util-base64-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.208.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.208.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.208.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.208.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.208.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.208.0",
|
|
57
57
|
"tslib": "^2.3.1",
|
|
58
58
|
"uuid": "^8.3.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/service-client-documentation-generator": "3.208.0",
|
|
62
62
|
"@tsconfig/node14": "1.0.3",
|
|
63
|
-
"@types/node": "^
|
|
63
|
+
"@types/node": "^14.14.31",
|
|
64
64
|
"@types/uuid": "^8.3.0",
|
|
65
65
|
"concurrently": "7.0.0",
|
|
66
66
|
"downlevel-dts": "0.10.1",
|