@aws-sdk/client-ssm 3.41.0 → 3.42.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 +16 -0
- package/dist-cjs/endpoints.js +8 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +3 -0
- package/dist-es/endpoints.js +8 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +4 -2
- package/dist-types/models/models_0.d.ts +8 -7
- package/dist-types/models/models_1.d.ts +15 -3
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +6 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** merge default variants by comparing tags ([#3044](https://github.com/aws/aws-sdk-js-v3/issues/3044)) ([d65a310](https://github.com/aws/aws-sdk-js-v3/commit/d65a310ed5a471e72633a18ae6f3c98390e20783))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** update clients as of 11/18/2021 ([#3039](https://github.com/aws/aws-sdk-js-v3/issues/3039)) ([d2b2c45](https://github.com/aws/aws-sdk-js-v3/commit/d2b2c453315fc7bff798c1fb97c792e59274b4d6))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
23
|
|
|
8
24
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -200,6 +200,14 @@ const partitionHash = {
|
|
|
200
200
|
hostname: "ssm.{region}.amazonaws.com",
|
|
201
201
|
tags: ["fips"],
|
|
202
202
|
},
|
|
203
|
+
{
|
|
204
|
+
hostname: "ssm-fips.{region}.api.aws",
|
|
205
|
+
tags: ["dualstack", "fips"],
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
hostname: "ssm.{region}.api.aws",
|
|
209
|
+
tags: ["dualstack"],
|
|
210
|
+
},
|
|
203
211
|
],
|
|
204
212
|
},
|
|
205
213
|
};
|
|
@@ -631,6 +631,7 @@ var OperatingSystem;
|
|
|
631
631
|
OperatingSystem["Debian"] = "DEBIAN";
|
|
632
632
|
OperatingSystem["MacOS"] = "MACOS";
|
|
633
633
|
OperatingSystem["OracleLinux"] = "ORACLE_LINUX";
|
|
634
|
+
OperatingSystem["Raspbian"] = "RASPBIAN";
|
|
634
635
|
OperatingSystem["RedhatEnterpriseLinux"] = "REDHAT_ENTERPRISE_LINUX";
|
|
635
636
|
OperatingSystem["Suse"] = "SUSE";
|
|
636
637
|
OperatingSystem["Ubuntu"] = "UBUNTU";
|
|
@@ -14668,6 +14668,7 @@ const serializeAws_json1_1StartSessionRequest = (input, context) => {
|
|
|
14668
14668
|
input.Parameters !== null && {
|
|
14669
14669
|
Parameters: serializeAws_json1_1SessionManagerParameters(input.Parameters, context),
|
|
14670
14670
|
}),
|
|
14671
|
+
...(input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason }),
|
|
14671
14672
|
...(input.Target !== undefined && input.Target !== null && { Target: input.Target }),
|
|
14672
14673
|
};
|
|
14673
14674
|
};
|
|
@@ -19145,10 +19146,12 @@ const deserializeAws_json1_1Session = (output, context) => {
|
|
|
19145
19146
|
EndDate: output.EndDate !== undefined && output.EndDate !== null
|
|
19146
19147
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndDate)))
|
|
19147
19148
|
: undefined,
|
|
19149
|
+
MaxSessionDuration: smithy_client_1.expectString(output.MaxSessionDuration),
|
|
19148
19150
|
OutputUrl: output.OutputUrl !== undefined && output.OutputUrl !== null
|
|
19149
19151
|
? deserializeAws_json1_1SessionManagerOutputUrl(output.OutputUrl, context)
|
|
19150
19152
|
: undefined,
|
|
19151
19153
|
Owner: smithy_client_1.expectString(output.Owner),
|
|
19154
|
+
Reason: smithy_client_1.expectString(output.Reason),
|
|
19152
19155
|
SessionId: smithy_client_1.expectString(output.SessionId),
|
|
19153
19156
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
19154
19157
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDate)))
|
package/dist-es/endpoints.js
CHANGED
|
@@ -198,6 +198,14 @@ var partitionHash = {
|
|
|
198
198
|
hostname: "ssm.{region}.amazonaws.com",
|
|
199
199
|
tags: ["fips"],
|
|
200
200
|
},
|
|
201
|
+
{
|
|
202
|
+
hostname: "ssm-fips.{region}.api.aws",
|
|
203
|
+
tags: ["dualstack", "fips"],
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
hostname: "ssm.{region}.api.aws",
|
|
207
|
+
tags: ["dualstack"],
|
|
208
|
+
},
|
|
201
209
|
],
|
|
202
210
|
},
|
|
203
211
|
};
|
|
@@ -457,6 +457,7 @@ export var OperatingSystem;
|
|
|
457
457
|
OperatingSystem["Debian"] = "DEBIAN";
|
|
458
458
|
OperatingSystem["MacOS"] = "MACOS";
|
|
459
459
|
OperatingSystem["OracleLinux"] = "ORACLE_LINUX";
|
|
460
|
+
OperatingSystem["Raspbian"] = "RASPBIAN";
|
|
460
461
|
OperatingSystem["RedhatEnterpriseLinux"] = "REDHAT_ENTERPRISE_LINUX";
|
|
461
462
|
OperatingSystem["Suse"] = "SUSE";
|
|
462
463
|
OperatingSystem["Ubuntu"] = "UBUNTU";
|
|
@@ -14914,10 +14914,10 @@ var serializeAws_json1_1StartChangeRequestExecutionRequest = function (input, co
|
|
|
14914
14914
|
input.ScheduledTime !== null && { ScheduledTime: Math.round(input.ScheduledTime.getTime() / 1000) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
14915
14915
|
};
|
|
14916
14916
|
var serializeAws_json1_1StartSessionRequest = function (input, context) {
|
|
14917
|
-
return __assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.Parameters !== undefined &&
|
|
14917
|
+
return __assign(__assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.Parameters !== undefined &&
|
|
14918
14918
|
input.Parameters !== null && {
|
|
14919
14919
|
Parameters: serializeAws_json1_1SessionManagerParameters(input.Parameters, context),
|
|
14920
|
-
})), (input.Target !== undefined && input.Target !== null && { Target: input.Target }));
|
|
14920
|
+
})), (input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason })), (input.Target !== undefined && input.Target !== null && { Target: input.Target }));
|
|
14921
14921
|
};
|
|
14922
14922
|
var serializeAws_json1_1StepExecutionFilter = function (input, context) {
|
|
14923
14923
|
return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
|
|
@@ -19235,10 +19235,12 @@ var deserializeAws_json1_1Session = function (output, context) {
|
|
|
19235
19235
|
EndDate: output.EndDate !== undefined && output.EndDate !== null
|
|
19236
19236
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndDate)))
|
|
19237
19237
|
: undefined,
|
|
19238
|
+
MaxSessionDuration: __expectString(output.MaxSessionDuration),
|
|
19238
19239
|
OutputUrl: output.OutputUrl !== undefined && output.OutputUrl !== null
|
|
19239
19240
|
? deserializeAws_json1_1SessionManagerOutputUrl(output.OutputUrl, context)
|
|
19240
19241
|
: undefined,
|
|
19241
19242
|
Owner: __expectString(output.Owner),
|
|
19243
|
+
Reason: __expectString(output.Reason),
|
|
19242
19244
|
SessionId: __expectString(output.SessionId),
|
|
19243
19245
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
19244
19246
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartDate)))
|
|
@@ -886,9 +886,9 @@ export interface CreateAssociationRequest {
|
|
|
886
886
|
*/
|
|
887
887
|
AssociationName?: string;
|
|
888
888
|
/**
|
|
889
|
-
* <p>
|
|
890
|
-
* Automation runbook and target resources by using rate
|
|
891
|
-
* Amazon Web Services Systems Manager.</p>
|
|
889
|
+
* <p>Choose the parameter that will define how your automation will branch out. This target is
|
|
890
|
+
* required for associations that use an Automation runbook and target resources by using rate
|
|
891
|
+
* controls. Automation is a capability of Amazon Web Services Systems Manager.</p>
|
|
892
892
|
*/
|
|
893
893
|
AutomationTargetParameterName?: string;
|
|
894
894
|
/**
|
|
@@ -1054,9 +1054,9 @@ export interface AssociationDescription {
|
|
|
1054
1054
|
*/
|
|
1055
1055
|
DocumentVersion?: string;
|
|
1056
1056
|
/**
|
|
1057
|
-
* <p>
|
|
1058
|
-
* Automation runbook and target resources by using rate
|
|
1059
|
-
* Amazon Web Services Systems Manager.</p>
|
|
1057
|
+
* <p>Choose the parameter that will define how your automation will branch out. This target is
|
|
1058
|
+
* required for associations that use an Automation runbook and target resources by using rate
|
|
1059
|
+
* controls. Automation is a capability of Amazon Web Services Systems Manager.</p>
|
|
1060
1060
|
*/
|
|
1061
1061
|
AutomationTargetParameterName?: string;
|
|
1062
1062
|
/**
|
|
@@ -2604,6 +2604,7 @@ export declare enum OperatingSystem {
|
|
|
2604
2604
|
Debian = "DEBIAN",
|
|
2605
2605
|
MacOS = "MACOS",
|
|
2606
2606
|
OracleLinux = "ORACLE_LINUX",
|
|
2607
|
+
Raspbian = "RASPBIAN",
|
|
2607
2608
|
RedhatEnterpriseLinux = "REDHAT_ENTERPRISE_LINUX",
|
|
2608
2609
|
Suse = "SUSE",
|
|
2609
2610
|
Ubuntu = "UBUNTU",
|
|
@@ -7525,7 +7526,7 @@ export interface ParameterStringFilter {
|
|
|
7525
7526
|
* <p>The <code>ParameterStringFilter</code> object is used by the <a>DescribeParameters</a> and <a>GetParametersByPath</a> API operations.
|
|
7526
7527
|
* However, not all of the pattern values listed for <code>Key</code> can be used with both
|
|
7527
7528
|
* operations.</p>
|
|
7528
|
-
* <p>For <code>
|
|
7529
|
+
* <p>For <code>DescribeParameters</code>, all of the listed patterns are valid except
|
|
7529
7530
|
* <code>Label</code>.</p>
|
|
7530
7531
|
* <p>For <code>GetParametersByPath</code>, the following patterns listed for <code>Key</code>
|
|
7531
7532
|
* aren't valid: <code>tag</code>, <code>DataType</code>, <code>Name</code>, <code>Path</code>, and
|
|
@@ -534,6 +534,10 @@ export interface Session {
|
|
|
534
534
|
* <p>The ID of the Amazon Web Services user account that started the session.</p>
|
|
535
535
|
*/
|
|
536
536
|
Owner?: string;
|
|
537
|
+
/**
|
|
538
|
+
* <p>The reason for connecting to the instance.</p>
|
|
539
|
+
*/
|
|
540
|
+
Reason?: string;
|
|
537
541
|
/**
|
|
538
542
|
* <p>Reserved for future use.</p>
|
|
539
543
|
*/
|
|
@@ -542,6 +546,10 @@ export interface Session {
|
|
|
542
546
|
* <p>Reserved for future use.</p>
|
|
543
547
|
*/
|
|
544
548
|
OutputUrl?: SessionManagerOutputUrl;
|
|
549
|
+
/**
|
|
550
|
+
* <p>The maximum duration of a session before it terminates.</p>
|
|
551
|
+
*/
|
|
552
|
+
MaxSessionDuration?: string;
|
|
545
553
|
}
|
|
546
554
|
export declare namespace Session {
|
|
547
555
|
/**
|
|
@@ -8003,6 +8011,10 @@ export interface StartSessionRequest {
|
|
|
8003
8011
|
* If no document name is provided, a shell to the instance is launched by default.</p>
|
|
8004
8012
|
*/
|
|
8005
8013
|
DocumentName?: string;
|
|
8014
|
+
/**
|
|
8015
|
+
* <p>The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.</p>
|
|
8016
|
+
*/
|
|
8017
|
+
Reason?: string;
|
|
8006
8018
|
/**
|
|
8007
8019
|
* <p>Reserved for future use.</p>
|
|
8008
8020
|
*/
|
|
@@ -8257,9 +8269,9 @@ export interface UpdateAssociationRequest {
|
|
|
8257
8269
|
*/
|
|
8258
8270
|
AssociationVersion?: string;
|
|
8259
8271
|
/**
|
|
8260
|
-
* <p>
|
|
8261
|
-
* Automation runbook and target resources by using rate
|
|
8262
|
-
* Amazon Web Services Systems Manager.</p>
|
|
8272
|
+
* <p>Choose the parameter that will define how your automation will branch out. This target is
|
|
8273
|
+
* required for associations that use an Automation runbook and target resources by using rate
|
|
8274
|
+
* controls. Automation is a capability of Amazon Web Services Systems Manager.</p>
|
|
8263
8275
|
*/
|
|
8264
8276
|
AutomationTargetParameterName?: string;
|
|
8265
8277
|
/**
|
|
@@ -1218,6 +1218,7 @@ export declare enum OperatingSystem {
|
|
|
1218
1218
|
Debian = "DEBIAN",
|
|
1219
1219
|
MacOS = "MACOS",
|
|
1220
1220
|
OracleLinux = "ORACLE_LINUX",
|
|
1221
|
+
Raspbian = "RASPBIAN",
|
|
1221
1222
|
RedhatEnterpriseLinux = "REDHAT_ENTERPRISE_LINUX",
|
|
1222
1223
|
Suse = "SUSE",
|
|
1223
1224
|
Ubuntu = "UBUNTU",
|
|
@@ -244,9 +244,13 @@ export interface Session {
|
|
|
244
244
|
|
|
245
245
|
Owner?: string;
|
|
246
246
|
|
|
247
|
+
Reason?: string;
|
|
248
|
+
|
|
247
249
|
Details?: string;
|
|
248
250
|
|
|
249
251
|
OutputUrl?: SessionManagerOutputUrl;
|
|
252
|
+
|
|
253
|
+
MaxSessionDuration?: string;
|
|
250
254
|
}
|
|
251
255
|
export declare namespace Session {
|
|
252
256
|
|
|
@@ -3604,6 +3608,8 @@ export interface StartSessionRequest {
|
|
|
3604
3608
|
|
|
3605
3609
|
DocumentName?: string;
|
|
3606
3610
|
|
|
3611
|
+
Reason?: string;
|
|
3612
|
+
|
|
3607
3613
|
Parameters?: {
|
|
3608
3614
|
[key: string]: string[];
|
|
3609
3615
|
};
|
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.42.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.42.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.40.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|