@aws-sdk/client-ssm 3.51.0 → 3.52.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 CHANGED
@@ -3,6 +3,17 @@
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.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-ssm
@@ -9455,14 +9455,6 @@ const deserializeAws_json1_1TerminateSessionCommandError = async (output, contex
9455
9455
  let errorCode = "UnknownError";
9456
9456
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9457
9457
  switch (errorCode) {
9458
- case "DoesNotExistException":
9459
- case "com.amazonaws.ssm#DoesNotExistException":
9460
- response = {
9461
- ...(await deserializeAws_json1_1DoesNotExistExceptionResponse(parsedOutput, context)),
9462
- name: errorCode,
9463
- $metadata: deserializeMetadata(output),
9464
- };
9465
- break;
9466
9458
  case "InternalServerError":
9467
9459
  case "com.amazonaws.ssm#InternalServerError":
9468
9460
  response = {
@@ -10650,44 +10650,36 @@ export var deserializeAws_json1_1TerminateSessionCommand = function (output, con
10650
10650
  });
10651
10651
  }); };
10652
10652
  var deserializeAws_json1_1TerminateSessionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
10653
- var parsedOutput, _a, response, errorCode, _b, _c, _d, parsedBody, message;
10654
- var _e;
10655
- return __generator(this, function (_f) {
10656
- switch (_f.label) {
10653
+ var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
10654
+ var _d;
10655
+ return __generator(this, function (_e) {
10656
+ switch (_e.label) {
10657
10657
  case 0:
10658
10658
  _a = [__assign({}, output)];
10659
- _e = {};
10659
+ _d = {};
10660
10660
  return [4, parseBody(output.body, context)];
10661
10661
  case 1:
10662
- parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
10662
+ parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
10663
10663
  errorCode = "UnknownError";
10664
10664
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10665
10665
  _b = errorCode;
10666
10666
  switch (_b) {
10667
- case "DoesNotExistException": return [3, 2];
10668
- case "com.amazonaws.ssm#DoesNotExistException": return [3, 2];
10669
- case "InternalServerError": return [3, 4];
10670
- case "com.amazonaws.ssm#InternalServerError": return [3, 4];
10667
+ case "InternalServerError": return [3, 2];
10668
+ case "com.amazonaws.ssm#InternalServerError": return [3, 2];
10671
10669
  }
10672
- return [3, 6];
10670
+ return [3, 4];
10673
10671
  case 2:
10674
10672
  _c = [{}];
10675
- return [4, deserializeAws_json1_1DoesNotExistExceptionResponse(parsedOutput, context)];
10673
+ return [4, deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)];
10676
10674
  case 3:
10677
- response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
10678
- return [3, 7];
10675
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
10676
+ return [3, 5];
10679
10677
  case 4:
10680
- _d = [{}];
10681
- return [4, deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)];
10682
- case 5:
10683
- response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
10684
- return [3, 7];
10685
- case 6:
10686
10678
  parsedBody = parsedOutput.body;
10687
10679
  errorCode = parsedBody.code || parsedBody.Code || errorCode;
10688
10680
  response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
10689
- _f.label = 7;
10690
- case 7:
10681
+ _e.label = 5;
10682
+ case 5:
10691
10683
  message = response.message || response.Message || errorCode;
10692
10684
  response.message = message;
10693
10685
  delete response.Message;
@@ -1367,7 +1367,7 @@ export declare class SSM extends SSMClient {
1367
1367
  stopAutomationExecution(args: StopAutomationExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAutomationExecutionCommandOutput) => void): void;
1368
1368
  /**
1369
1369
  * <p>Permanently ends a session and closes the data connection between the Session Manager client and
1370
- * SSM Agent on the managed node. A terminated session isn't be resumed.</p>
1370
+ * SSM Agent on the managed node. A terminated session can't be resumed.</p>
1371
1371
  */
1372
1372
  terminateSession(args: TerminateSessionCommandInput, options?: __HttpHandlerOptions): Promise<TerminateSessionCommandOutput>;
1373
1373
  terminateSession(args: TerminateSessionCommandInput, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void;
@@ -1381,7 +1381,7 @@ export declare class SSM extends SSMClient {
1381
1381
  /**
1382
1382
  * <p>Updates an association. You can update the association name and version, the document
1383
1383
  * version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you
1384
- * call <code>UpdateAssociation</code>, the system drops all optional parameters from the request
1384
+ * call <code>UpdateAssociation</code>, the system removes all optional parameters from the request
1385
1385
  * and overwrites the association with null values for those parameters. This is by design. You must
1386
1386
  * specify all optional parameters in the call, even if you are not changing the parameters. This
1387
1387
  * includes the <code>Name</code> parameter. Before calling this API action, we recommend that you
@@ -8,7 +8,7 @@ export interface TerminateSessionCommandOutput extends TerminateSessionResponse,
8
8
  }
9
9
  /**
10
10
  * <p>Permanently ends a session and closes the data connection between the Session Manager client and
11
- * SSM Agent on the managed node. A terminated session isn't be resumed.</p>
11
+ * SSM Agent on the managed node. A terminated session can't be resumed.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -9,7 +9,7 @@ export interface UpdateAssociationCommandOutput extends UpdateAssociationResult,
9
9
  /**
10
10
  * <p>Updates an association. You can update the association name and version, the document
11
11
  * version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you
12
- * call <code>UpdateAssociation</code>, the system drops all optional parameters from the request
12
+ * call <code>UpdateAssociation</code>, the system removes all optional parameters from the request
13
13
  * and overwrites the association with null values for those parameters. This is by design. You must
14
14
  * specify all optional parameters in the call, even if you are not changing the parameters. This
15
15
  * includes the <code>Name</code> parameter. Before calling this API action, we recommend that you
@@ -769,7 +769,11 @@ export interface CreateAssociationRequest {
769
769
  * <p>The document version you want to associate with the target(s). Can be a specific version or
770
770
  * the default version.</p>
771
771
  * <important>
772
- * <p>State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the <code>default</code> version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to <code>default</code>.</p>
772
+ * <p>State Manager doesn't support running associations that use a new version of a document if
773
+ * that document is shared from another account. State Manager always runs the <code>default</code>
774
+ * version of a document if shared from another account, even though the Systems Manager console shows that a
775
+ * new version was processed. If you want to run an association using a new version of a document
776
+ * shared form another account, you must set the document version to <code>default</code>.</p>
773
777
  * </important>
774
778
  */
775
779
  DocumentVersion?: string;
@@ -1523,6 +1527,10 @@ export interface CreateDocumentRequest {
1523
1527
  VersionName?: string;
1524
1528
  /**
1525
1529
  * <p>The type of document to create.</p>
1530
+ * <note>
1531
+ * <p>The <code>DeploymentStrategy</code> document type is an internal-use-only document type
1532
+ * reserved for AppConfig.</p>
1533
+ * </note>
1526
1534
  */
1527
1535
  DocumentType?: DocumentType | string;
1528
1536
  /**
@@ -5484,7 +5492,7 @@ export interface PatchComplianceData {
5484
5492
  */
5485
5493
  Classification: string | undefined;
5486
5494
  /**
5487
- * <p>The severity of the patchsuch as <code>Critical</code>, <code>Important</code>, and
5495
+ * <p>The severity of the patch such as <code>Critical</code>, <code>Important</code>, and
5488
5496
  * <code>Moderate</code>.</p>
5489
5497
  */
5490
5498
  Severity: string | undefined;
@@ -6846,10 +6854,26 @@ export interface MaintenanceWindowTask {
6846
6854
  ServiceRoleArn?: string;
6847
6855
  /**
6848
6856
  * <p>The maximum number of targets this task can be run for, in parallel.</p>
6857
+ * <note>
6858
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
6859
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
6860
+ * task</a> You must provide a value in all other cases.</p>
6861
+ * <p>For maintenance window tasks without a target specified, you can't supply a value for this
6862
+ * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
6863
+ * affect the running of your task.</p>
6864
+ * </note>
6849
6865
  */
6850
6866
  MaxConcurrency?: string;
6851
6867
  /**
6852
6868
  * <p>The maximum number of errors allowed before this task stops being scheduled.</p>
6869
+ * <note>
6870
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
6871
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
6872
+ * task</a> You must provide a value in all other cases.</p>
6873
+ * <p>For maintenance window tasks without a target specified, you can't supply a value for this
6874
+ * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
6875
+ * affect the running of your task.</p>
6876
+ * </note>
6853
6877
  */
6854
6878
  MaxErrors?: string;
6855
6879
  /**
@@ -7254,7 +7278,7 @@ export interface ParameterInlinePolicy {
7254
7278
  */
7255
7279
  PolicyText?: string;
7256
7280
  /**
7257
- * <p>The type of policy. Parameter Store, a capablility of Amazon Web Services Systems Manager, supports the following
7281
+ * <p>The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following
7258
7282
  * policy types: Expiration, ExpirationNotification, and NoChangeNotification. </p>
7259
7283
  */
7260
7284
  PolicyType?: string;
@@ -2120,13 +2120,14 @@ export interface MaintenanceWindowAutomationParameters {
2120
2120
  * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
2121
2121
  * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
2122
2122
  * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2123
+ *
2123
2124
  * <p>
2124
2125
  * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
2125
2126
  * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
2126
2127
  * about how Systems Manager handles these options for the supported maintenance window task
2127
2128
  * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2128
- * <p>For <code>AUTOMATION</code>
2129
- * task types, Amazon Web Services Systems Manager ignores any values specified for these parameters.</p>
2129
+ * <p>For <code>AUTOMATION</code> task types, Amazon Web Services Systems Manager ignores any values specified for these
2130
+ * parameters.</p>
2130
2131
  * </note>
2131
2132
  */
2132
2133
  Parameters?: {
@@ -2148,13 +2149,14 @@ export declare namespace MaintenanceWindowAutomationParameters {
2148
2149
  * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
2149
2150
  * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
2150
2151
  * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2152
+ *
2151
2153
  * <p>
2152
2154
  * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
2153
2155
  * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
2154
2156
  * about how Systems Manager handles these options for the supported maintenance window task
2155
2157
  * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2156
- * <p>For Lambda tasks, Systems Manager ignores
2157
- * any values specified for TaskParameters and LoggingInfo.</p>
2158
+ * <p>For Lambda tasks, Systems Manager ignores any values specified for TaskParameters and
2159
+ * LoggingInfo.</p>
2158
2160
  * </note>
2159
2161
  */
2160
2162
  export interface MaintenanceWindowLambdaParameters {
@@ -2241,14 +2243,15 @@ export declare namespace NotificationConfig {
2241
2243
  * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
2242
2244
  * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
2243
2245
  * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2246
+ *
2244
2247
  * <p>
2245
2248
  * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
2246
2249
  * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
2247
2250
  * about how Systems Manager handles these options for the supported maintenance window task
2248
2251
  * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2249
- * <p>For <code>RUN_COMMAND</code>
2250
- * tasks, Systems Manager uses specified values for <code>TaskParameters</code> and <code>LoggingInfo</code>
2251
- * only if no values are specified for <code>TaskInvocationParameters</code>. </p>
2252
+ * <p>For <code>RUN_COMMAND</code> tasks, Systems Manager uses specified values for
2253
+ * <code>TaskParameters</code> and <code>LoggingInfo</code> only if no values are specified for
2254
+ * <code>TaskInvocationParameters</code>. </p>
2252
2255
  * </note>
2253
2256
  */
2254
2257
  export interface MaintenanceWindowRunCommandParameters {
@@ -2330,14 +2333,14 @@ export declare namespace MaintenanceWindowRunCommandParameters {
2330
2333
  * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
2331
2334
  * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
2332
2335
  * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2336
+ *
2333
2337
  * <p>
2334
2338
  * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
2335
2339
  * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
2336
2340
  * about how Systems Manager handles these options for the supported maintenance window task
2337
2341
  * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
2338
- * <p>For Step Functions tasks, Systems Manager
2339
- * ignores any values specified for <code>TaskParameters</code> and
2340
- * <code>LoggingInfo</code>.</p>
2342
+ * <p>For Step Functions tasks, Systems Manager ignores any values specified for
2343
+ * <code>TaskParameters</code> and <code>LoggingInfo</code>.</p>
2341
2344
  * </note>
2342
2345
  */
2343
2346
  export interface MaintenanceWindowStepFunctionsParameters {
@@ -2832,10 +2835,18 @@ export interface Parameter {
2832
2835
  /**
2833
2836
  * <p>The type of parameter. Valid values include the following: <code>String</code>,
2834
2837
  * <code>StringList</code>, and <code>SecureString</code>.</p>
2838
+ * <note>
2839
+ * <p>If type is <code>StringList</code>, the system returns a comma-separated string with no
2840
+ * spaces between commas in the <code>Value</code> field.</p>
2841
+ * </note>
2835
2842
  */
2836
2843
  Type?: ParameterType | string;
2837
2844
  /**
2838
2845
  * <p>The parameter value.</p>
2846
+ * <note>
2847
+ * <p>If type is <code>StringList</code>, the system returns a comma-separated string with no
2848
+ * spaces between commas in the <code>Value</code> field.</p>
2849
+ * </note>
2839
2850
  */
2840
2851
  Value?: string;
2841
2852
  /**
@@ -3053,11 +3064,11 @@ export declare namespace GetParametersResult {
3053
3064
  }
3054
3065
  export interface GetParametersByPathRequest {
3055
3066
  /**
3056
- * <p>The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierachy is
3057
- * the parameter name except the last part of the parameter. For the API call to succeeed, the last
3058
- * part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of
3059
- * 15 levels. Here is an example of a hierarchy: <code>/Finance/Prod/IAD/WinServ2016/license33
3060
- * </code>
3067
+ * <p>The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierarchy
3068
+ * is the parameter name except the last part of the parameter. For the API call to succeed, the
3069
+ * last part of the parameter name can't be in the path. A parameter name hierarchy can have a
3070
+ * maximum of 15 levels. Here is an example of a hierarchy:
3071
+ * <code>/Finance/Prod/IAD/WinServ2016/license33 </code>
3061
3072
  * </p>
3062
3073
  */
3063
3074
  Path: string | undefined;
@@ -3515,7 +3526,11 @@ export interface Association {
3515
3526
  /**
3516
3527
  * <p>The version of the document used in the association.</p>
3517
3528
  * <important>
3518
- * <p>State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the <code>default</code> version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to <code>default</code>.</p>
3529
+ * <p>State Manager doesn't support running associations that use a new version of a document if
3530
+ * that document is shared from another account. State Manager always runs the <code>default</code>
3531
+ * version of a document if shared from another account, even though the Systems Manager console shows that a
3532
+ * new version was processed. If you want to run an association using a new version of a document
3533
+ * shared form another account, you must set the document version to <code>default</code>.</p>
3519
3534
  * </important>
3520
3535
  */
3521
3536
  DocumentVersion?: string;
@@ -4447,8 +4462,8 @@ export interface Command {
4447
4462
  TargetCount?: number;
4448
4463
  /**
4449
4464
  * <p>The number of targets for which the command invocation reached a terminal state. Terminal
4450
- * states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out, Cancelled,
4451
- * Terminated, or Undeliverable.</p>
4465
+ * states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out,
4466
+ * Cancelled, Terminated, or Undeliverable.</p>
4452
4467
  */
4453
4468
  CompletedCount?: number;
4454
4469
  /**
@@ -5030,11 +5045,6 @@ export declare namespace DocumentFilter {
5030
5045
  * </li>
5031
5046
  * <li>
5032
5047
  * <p>
5033
- * <code>DeploymentStrategy</code>
5034
- * </p>
5035
- * </li>
5036
- * <li>
5037
- * <p>
5038
5048
  * <code>Package</code>
5039
5049
  * </p>
5040
5050
  * </li>
@@ -6718,6 +6728,11 @@ export interface PutParameterRequest {
6718
6728
  * <code>aws:ec2:image</code>
6719
6729
  * </p>
6720
6730
  * </li>
6731
+ * <li>
6732
+ * <p>
6733
+ * <code>aws:ssm:integration</code>
6734
+ * </p>
6735
+ * </li>
6721
6736
  * </ul>
6722
6737
  * <p>When you create a <code>String</code> parameter and specify <code>aws:ec2:image</code>,
6723
6738
  * Amazon Web Services Systems Manager validates the parameter value is in the required format, such as
@@ -7002,8 +7017,11 @@ export interface RegisterTaskWithMaintenanceWindowRequest {
7002
7017
  */
7003
7018
  Priority?: number;
7004
7019
  /**
7005
- * <p>The maximum number of targets this task can be run for in parallel.</p>
7020
+ * <p>The maximum number of targets this task can be run for, in parallel.</p>
7006
7021
  * <note>
7022
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
7023
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
7024
+ * task</a> You must provide a value in all other cases.</p>
7007
7025
  * <p>For maintenance window tasks without a target specified, you can't supply a value for this
7008
7026
  * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
7009
7027
  * affect the running of your task.</p>
@@ -7013,6 +7031,9 @@ export interface RegisterTaskWithMaintenanceWindowRequest {
7013
7031
  /**
7014
7032
  * <p>The maximum number of errors allowed before this task stops being scheduled.</p>
7015
7033
  * <note>
7034
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
7035
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
7036
+ * task</a> You must provide a value in all other cases.</p>
7016
7037
  * <p>For maintenance window tasks without a target specified, you can't supply a value for this
7017
7038
  * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
7018
7039
  * affect the running of your task.</p>
@@ -7977,7 +7998,11 @@ export interface UpdateAssociationRequest {
7977
7998
  /**
7978
7999
  * <p>The document version you want update for the association. </p>
7979
8000
  * <important>
7980
- * <p>State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the <code>default</code> version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to <code>default</code>.</p>
8001
+ * <p>State Manager doesn't support running associations that use a new version of a document if
8002
+ * that document is shared from another account. State Manager always runs the <code>default</code>
8003
+ * version of a document if shared from another account, even though the Systems Manager console shows that a
8004
+ * new version was processed. If you want to run an association using a new version of a document
8005
+ * shared form another account, you must set the document version to <code>default</code>.</p>
7981
8006
  * </important>
7982
8007
  */
7983
8008
  DocumentVersion?: string;
@@ -23,10 +23,9 @@ export interface UpdateMaintenanceWindowRequest {
23
23
  */
24
24
  Description?: string;
25
25
  /**
26
- * <p>The time zone that the scheduled maintenance window executions are based on, in Internet
27
- * Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or
28
- * "Asia/Seoul". For more information, see the <a href="https://www.iana.org/time-zones">Time
29
- * Zone Database</a> on the IANA website.</p>
26
+ * <p>The date and time, in ISO-8601 Extended format, for when you want the maintenance window to
27
+ * become active. <code>StartDate</code> allows you to delay activation of the maintenance window
28
+ * until the specified future date.</p>
30
29
  */
31
30
  StartDate?: string;
32
31
  /**
@@ -309,12 +308,14 @@ export interface UpdateMaintenanceWindowTaskRequest {
309
308
  Priority?: number;
310
309
  /**
311
310
  * <p>The new <code>MaxConcurrency</code> value you want to specify. <code>MaxConcurrency</code>
312
- * is the number of targets that are allowed to run this task in parallel.</p>
311
+ * is the number of targets that are allowed to run this task, in parallel.</p>
313
312
  * <note>
313
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
314
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
315
+ * task</a> You must provide a value in all other cases.</p>
314
316
  * <p>For maintenance window tasks without a target specified, you can't supply a value for this
315
- * option. Instead, the system inserts a placeholder value of <code>1</code>, which may be reported
316
- * in the response to this command. This value doesn't affect the running of your task and can be
317
- * ignored.</p>
317
+ * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
318
+ * affect the running of your task.</p>
318
319
  * </note>
319
320
  */
320
321
  MaxConcurrency?: string;
@@ -322,10 +323,12 @@ export interface UpdateMaintenanceWindowTaskRequest {
322
323
  * <p>The new <code>MaxErrors</code> value to specify. <code>MaxErrors</code> is the maximum
323
324
  * number of errors that are allowed before the task stops being scheduled.</p>
324
325
  * <note>
326
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
327
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
328
+ * task</a> You must provide a value in all other cases.</p>
325
329
  * <p>For maintenance window tasks without a target specified, you can't supply a value for this
326
- * option. Instead, the system inserts a placeholder value of <code>1</code>, which may be reported
327
- * in the response to this command. This value doesn't affect the running of your task and can be
328
- * ignored.</p>
330
+ * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
331
+ * affect the running of your task.</p>
329
332
  * </note>
330
333
  */
331
334
  MaxErrors?: string;
@@ -612,7 +615,7 @@ export interface OpsMetadataKeyLimitExceededException extends __SmithyException,
612
615
  }
613
616
  export interface UpdateOpsMetadataRequest {
614
617
  /**
615
- * <p>The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.</p>
618
+ * <p>The Amazon Resource Name (ARN) of the OpsMetadata Object to update.</p>
616
619
  */
617
620
  OpsMetadataArn: string | undefined;
618
621
  /**
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.51.0",
4
+ "version": "3.52.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,42 +18,42 @@
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.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
51
- "@aws-sdk/util-waiter": "3.50.0",
21
+ "@aws-sdk/client-sts": "3.52.0",
22
+ "@aws-sdk/config-resolver": "3.52.0",
23
+ "@aws-sdk/credential-provider-node": "3.52.0",
24
+ "@aws-sdk/fetch-http-handler": "3.52.0",
25
+ "@aws-sdk/hash-node": "3.52.0",
26
+ "@aws-sdk/invalid-dependency": "3.52.0",
27
+ "@aws-sdk/middleware-content-length": "3.52.0",
28
+ "@aws-sdk/middleware-host-header": "3.52.0",
29
+ "@aws-sdk/middleware-logger": "3.52.0",
30
+ "@aws-sdk/middleware-retry": "3.52.0",
31
+ "@aws-sdk/middleware-serde": "3.52.0",
32
+ "@aws-sdk/middleware-signing": "3.52.0",
33
+ "@aws-sdk/middleware-stack": "3.52.0",
34
+ "@aws-sdk/middleware-user-agent": "3.52.0",
35
+ "@aws-sdk/node-config-provider": "3.52.0",
36
+ "@aws-sdk/node-http-handler": "3.52.0",
37
+ "@aws-sdk/protocol-http": "3.52.0",
38
+ "@aws-sdk/smithy-client": "3.52.0",
39
+ "@aws-sdk/types": "3.52.0",
40
+ "@aws-sdk/url-parser": "3.52.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.52.0",
44
+ "@aws-sdk/util-body-length-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.52.0",
48
+ "@aws-sdk/util-user-agent-node": "3.52.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
+ "@aws-sdk/util-waiter": "3.52.0",
52
52
  "tslib": "^2.3.0",
53
53
  "uuid": "^8.3.2"
54
54
  },
55
55
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
57
57
  "@tsconfig/recommended": "1.0.1",
58
58
  "@types/node": "^12.7.5",
59
59
  "@types/uuid": "^8.3.0",