@aws-sdk/client-ssm 3.241.0 → 3.245.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.
@@ -425,6 +425,7 @@ var DocumentType;
425
425
  DocumentType["Policy"] = "Policy";
426
426
  DocumentType["ProblemAnalysis"] = "ProblemAnalysis";
427
427
  DocumentType["ProblemAnalysisTemplate"] = "ProblemAnalysisTemplate";
428
+ DocumentType["QuickSetup"] = "QuickSetup";
428
429
  DocumentType["Session"] = "Session";
429
430
  })(DocumentType = exports.DocumentType || (exports.DocumentType = {}));
430
431
  var DocumentHashType;
@@ -9259,7 +9259,9 @@ const serializeAws_json1_1DocumentKeyValuesFilterValues = (input, context) => {
9259
9259
  const serializeAws_json1_1DocumentRequires = (input, context) => {
9260
9260
  return {
9261
9261
  ...(input.Name != null && { Name: input.Name }),
9262
+ ...(input.RequireType != null && { RequireType: input.RequireType }),
9262
9263
  ...(input.Version != null && { Version: input.Version }),
9264
+ ...(input.VersionName != null && { VersionName: input.VersionName }),
9263
9265
  };
9264
9266
  };
9265
9267
  const serializeAws_json1_1DocumentRequiresList = (input, context) => {
@@ -12311,7 +12313,9 @@ const deserializeAws_json1_1DocumentPermissionLimit = (output, context) => {
12311
12313
  const deserializeAws_json1_1DocumentRequires = (output, context) => {
12312
12314
  return {
12313
12315
  Name: (0, smithy_client_1.expectString)(output.Name),
12316
+ RequireType: (0, smithy_client_1.expectString)(output.RequireType),
12314
12317
  Version: (0, smithy_client_1.expectString)(output.Version),
12318
+ VersionName: (0, smithy_client_1.expectString)(output.VersionName),
12315
12319
  };
12316
12320
  };
12317
12321
  const deserializeAws_json1_1DocumentRequiresList = (output, context) => {
@@ -392,6 +392,7 @@ export var DocumentType;
392
392
  DocumentType["Policy"] = "Policy";
393
393
  DocumentType["ProblemAnalysis"] = "ProblemAnalysis";
394
394
  DocumentType["ProblemAnalysisTemplate"] = "ProblemAnalysisTemplate";
395
+ DocumentType["QuickSetup"] = "QuickSetup";
395
396
  DocumentType["Session"] = "Session";
396
397
  })(DocumentType || (DocumentType = {}));
397
398
  export var DocumentHashType;
@@ -8975,7 +8975,9 @@ const serializeAws_json1_1DocumentKeyValuesFilterValues = (input, context) => {
8975
8975
  const serializeAws_json1_1DocumentRequires = (input, context) => {
8976
8976
  return {
8977
8977
  ...(input.Name != null && { Name: input.Name }),
8978
+ ...(input.RequireType != null && { RequireType: input.RequireType }),
8978
8979
  ...(input.Version != null && { Version: input.Version }),
8980
+ ...(input.VersionName != null && { VersionName: input.VersionName }),
8979
8981
  };
8980
8982
  };
8981
8983
  const serializeAws_json1_1DocumentRequiresList = (input, context) => {
@@ -12027,7 +12029,9 @@ const deserializeAws_json1_1DocumentPermissionLimit = (output, context) => {
12027
12029
  const deserializeAws_json1_1DocumentRequires = (output, context) => {
12028
12030
  return {
12029
12031
  Name: __expectString(output.Name),
12032
+ RequireType: __expectString(output.RequireType),
12030
12033
  Version: __expectString(output.Version),
12034
+ VersionName: __expectString(output.VersionName),
12031
12035
  };
12032
12036
  };
12033
12037
  const deserializeAws_json1_1DocumentRequiresList = (output, context) => {
@@ -1417,7 +1417,6 @@ export declare class SSM extends SSMClient {
1417
1417
  * includes the <code>Name</code> parameter. Before calling this API action, we recommend that you
1418
1418
  * call the <a>DescribeAssociation</a> API operation and make a note of all optional
1419
1419
  * parameters required for your <code>UpdateAssociation</code> call.</p>
1420
- *
1421
1420
  * <p>In order to call this API operation, your Identity and Access Management (IAM) user
1422
1421
  * account, group, or role must be configured with permission to call the <a>DescribeAssociation</a> API operation. If you don't have permission to call
1423
1422
  * <code>DescribeAssociation</code>, then you receive the following error: <code>An error occurred
@@ -1486,7 +1485,6 @@ export declare class SSM extends SSMClient {
1486
1485
  /**
1487
1486
  * <p>Modifies the target of an existing maintenance window. You
1488
1487
  * can change the following:</p>
1489
- *
1490
1488
  * <ul>
1491
1489
  * <li>
1492
1490
  * <p>Name</p>
@@ -16,7 +16,6 @@ export interface UpdateAssociationCommandOutput extends UpdateAssociationResult,
16
16
  * includes the <code>Name</code> parameter. Before calling this API action, we recommend that you
17
17
  * call the <a>DescribeAssociation</a> API operation and make a note of all optional
18
18
  * parameters required for your <code>UpdateAssociation</code> call.</p>
19
- *
20
19
  * <p>In order to call this API operation, your Identity and Access Management (IAM) user
21
20
  * account, group, or role must be configured with permission to call the <a>DescribeAssociation</a> API operation. If you don't have permission to call
22
21
  * <code>DescribeAssociation</code>, then you receive the following error: <code>An error occurred
@@ -10,7 +10,6 @@ export interface UpdateMaintenanceWindowTargetCommandOutput extends UpdateMainte
10
10
  /**
11
11
  * <p>Modifies the target of an existing maintenance window. You
12
12
  * can change the following:</p>
13
- *
14
13
  * <ul>
15
14
  * <li>
16
15
  * <p>Name</p>
@@ -1492,6 +1492,7 @@ export declare enum DocumentType {
1492
1492
  Policy = "Policy",
1493
1493
  ProblemAnalysis = "ProblemAnalysis",
1494
1494
  ProblemAnalysisTemplate = "ProblemAnalysisTemplate",
1495
+ QuickSetup = "QuickSetup",
1495
1496
  Session = "Session"
1496
1497
  }
1497
1498
  /**
@@ -1506,6 +1507,14 @@ export interface DocumentRequires {
1506
1507
  * <p>The document version required by the current document.</p>
1507
1508
  */
1508
1509
  Version?: string;
1510
+ /**
1511
+ * <p>The document type of the required SSM document.</p>
1512
+ */
1513
+ RequireType?: string;
1514
+ /**
1515
+ * <p>An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.</p>
1516
+ */
1517
+ VersionName?: string;
1509
1518
  }
1510
1519
  export interface CreateDocumentRequest {
1511
1520
  /**
@@ -4236,7 +4245,6 @@ export interface DescribeAvailablePatchesRequest {
4236
4245
  * </p>
4237
4246
  * </li>
4238
4247
  * </ul>
4239
- *
4240
4248
  * <p>
4241
4249
  * <b>Linux</b>
4242
4250
  * </p>
@@ -2140,7 +2140,6 @@ export interface MaintenanceWindowAutomationParameters {
2140
2140
  * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
2141
2141
  * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
2142
2142
  * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2143
- *
2144
2143
  * <p>
2145
2144
  * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
2146
2145
  * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
@@ -2161,7 +2160,6 @@ export interface MaintenanceWindowAutomationParameters {
2161
2160
  * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
2162
2161
  * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
2163
2162
  * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2164
- *
2165
2163
  * <p>
2166
2164
  * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
2167
2165
  * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
@@ -2243,7 +2241,6 @@ export interface NotificationConfig {
2243
2241
  * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
2244
2242
  * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
2245
2243
  * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2246
- *
2247
2244
  * <p>
2248
2245
  * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
2249
2246
  * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
@@ -2325,7 +2322,6 @@ export interface MaintenanceWindowRunCommandParameters {
2325
2322
  * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
2326
2323
  * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
2327
2324
  * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2328
- *
2329
2325
  * <p>
2330
2326
  * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
2331
2327
  * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
@@ -3411,7 +3407,6 @@ export interface Association {
3411
3407
  * <p>The version of the document used in the association. If you change a document version for a
3412
3408
  * State Manager association, Systems Manager immediately runs the association unless you previously specifed
3413
3409
  * the <code>apply-only-at-cron-interval</code> parameter.</p>
3414
- *
3415
3410
  * <important>
3416
3411
  * <p>State Manager doesn't support running associations that use a new version of a document if
3417
3412
  * that document is shared from another account. State Manager always runs the <code>default</code>
@@ -5605,10 +5600,8 @@ export interface ListTagsForResourceResult {
5605
5600
  /**
5606
5601
  * <p>The document can't be shared with more Amazon Web Services user accounts. You can specify a maximum of
5607
5602
  * 20 accounts per API operation to share a private document.</p>
5608
- *
5609
5603
  * <p>By default, you can share a private document with a maximum of 1,000 accounts and publicly
5610
5604
  * share up to five documents.</p>
5611
- *
5612
5605
  * <p>If you need to increase the quota for privately or publicly shared Systems Manager documents, contact
5613
5606
  * Amazon Web Services Support.</p>
5614
5607
  */
@@ -6442,7 +6435,6 @@ export interface RegisterTargetWithMaintenanceWindowRequest {
6442
6435
  * <p>
6443
6436
  * <code>Key=tag-key,Values=<my-tag-key-1>,<my-tag-key-2></code>
6444
6437
  * </p>
6445
- *
6446
6438
  * <p>
6447
6439
  * <b>Example 4</b>: Use resource group names</p>
6448
6440
  * <p>
@@ -6460,7 +6452,6 @@ export interface RegisterTargetWithMaintenanceWindowRequest {
6460
6452
  * <code>Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC</code>
6461
6453
  * </p>
6462
6454
  * </note>
6463
- *
6464
6455
  * <p>For more information about these examples formats, including the best use case for each one,
6465
6456
  * see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html">Examples: Register
6466
6457
  * targets with a maintenance window</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
@@ -130,7 +130,6 @@ export interface UpdateAssociationRequest {
130
130
  * updated and then according to the schedule you specified. Specify this option if you don't want
131
131
  * an association to run immediately after you update it. This parameter isn't supported for rate
132
132
  * expressions.</p>
133
- *
134
133
  * <p>If you chose this option when you created an association and later you edit that association
135
134
  * or you make changes to the SSM document on which that association is based (by using the
136
135
  * Documents page in the console), State Manager applies the association at the next specified cron
@@ -440,11 +440,14 @@ export declare enum DocumentType {
440
440
  Policy = "Policy",
441
441
  ProblemAnalysis = "ProblemAnalysis",
442
442
  ProblemAnalysisTemplate = "ProblemAnalysisTemplate",
443
+ QuickSetup = "QuickSetup",
443
444
  Session = "Session",
444
445
  }
445
446
  export interface DocumentRequires {
446
447
  Name: string | undefined;
447
448
  Version?: string;
449
+ RequireType?: string;
450
+ VersionName?: string;
448
451
  }
449
452
  export interface CreateDocumentRequest {
450
453
  Content: string | undefined;
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.241.0",
4
+ "version": "3.245.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.241.0",
23
+ "@aws-sdk/client-sts": "3.245.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.241.0",
25
+ "@aws-sdk/credential-provider-node": "3.245.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.226.0",
27
27
  "@aws-sdk/hash-node": "3.226.0",
28
28
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -47,7 +47,7 @@
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
49
  "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.241.0",
50
+ "@aws-sdk/util-endpoints": "3.245.0",
51
51
  "@aws-sdk/util-retry": "3.229.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.226.0",
53
53
  "@aws-sdk/util-user-agent-node": "3.226.0",