@aws-sdk/client-ssm 3.797.0 → 3.799.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.
Files changed (54) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +333 -71
  3. package/dist-cjs/runtimeConfig.js +1 -0
  4. package/dist-es/SSM.js +4 -0
  5. package/dist-es/commands/GetAccessTokenCommand.js +23 -0
  6. package/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js +1 -1
  7. package/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js +1 -1
  8. package/dist-es/commands/StartAccessRequestCommand.js +22 -0
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/models_0.js +24 -4
  11. package/dist-es/models/models_1.js +57 -27
  12. package/dist-es/models/models_2.js +50 -16
  13. package/dist-es/protocols/Aws_json1_1.js +94 -6
  14. package/dist-es/runtimeConfig.js +2 -1
  15. package/dist-types/SSM.d.ts +14 -0
  16. package/dist-types/SSMClient.d.ts +4 -2
  17. package/dist-types/commands/CreateDocumentCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeDocumentCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +1 -2
  21. package/dist-types/commands/DescribeOpsItemsCommand.d.ts +2 -2
  22. package/dist-types/commands/GetAccessTokenCommand.d.ts +94 -0
  23. package/dist-types/commands/GetAutomationExecutionCommand.d.ts +1 -1
  24. package/dist-types/commands/GetDocumentCommand.d.ts +1 -1
  25. package/dist-types/commands/GetOpsItemCommand.d.ts +1 -1
  26. package/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
  27. package/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
  28. package/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
  29. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  30. package/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
  31. package/dist-types/commands/StartAccessRequestCommand.d.ts +105 -0
  32. package/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateOpsItemCommand.d.ts +1 -1
  34. package/dist-types/commands/index.d.ts +2 -0
  35. package/dist-types/models/models_0.d.ts +31 -51
  36. package/dist-types/models/models_1.d.ts +163 -348
  37. package/dist-types/models/models_2.d.ts +413 -21
  38. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  39. package/dist-types/runtimeConfig.d.ts +1 -1
  40. package/dist-types/ts3.4/SSM.d.ts +34 -0
  41. package/dist-types/ts3.4/SSMClient.d.ts +12 -0
  42. package/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/StartAccessRequestCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +20 -14
  50. package/dist-types/ts3.4/models/models_1.d.ts +61 -58
  51. package/dist-types/ts3.4/models/models_2.d.ts +81 -9
  52. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
  54. package/package.json +11 -11
@@ -1,7 +1,346 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, DocumentHashType, ExecutionMode, InstanceAssociationOutputLocation, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchComplianceStatus, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Runbook, Tag, Target, TargetLocation } from "./models_0";
3
- import { CloudWatchOutputConfig, Command, DocumentReviewCommentSource, InventoryFilter, InventoryGroup, LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskInvocationParameters, MaintenanceWindowTaskParameterValueExpression, NodeAggregatorType, NodeAttributeName, NodeFilter, NodeTypeName, NotificationConfig, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute, ServiceSetting } from "./models_1";
2
+ import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, DocumentHashType, ExecutionMode, InstanceAssociationOutputLocation, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchComplianceStatus, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, ResourceTypeForTagging, Runbook, Tag, Target, TargetLocation } from "./models_0";
3
+ import { CloudWatchOutputConfig, Command, DocumentReviewCommentSource, InventoryFilter, InventoryGroup, LoggingInfo, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskInvocationParameters, MaintenanceWindowTaskParameterValueExpression, NodeAggregatorType, NodeAttributeName, NodeFilter, NodeTypeName, NotificationConfig, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute, ServiceSetting } from "./models_1";
4
4
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface RegisterTargetWithMaintenanceWindowRequest {
9
+ /**
10
+ * <p>The ID of the maintenance window the target should be registered with.</p>
11
+ * @public
12
+ */
13
+ WindowId: string | undefined;
14
+ /**
15
+ * <p>The type of target being registered with the maintenance window.</p>
16
+ * @public
17
+ */
18
+ ResourceType: MaintenanceWindowResourceType | undefined;
19
+ /**
20
+ * <p>The targets to register with the maintenance window. In other words, the managed nodes to
21
+ * run commands on when the maintenance window runs.</p>
22
+ * <note>
23
+ * <p>If a single maintenance window task is registered with multiple targets, its task
24
+ * invocations occur sequentially and not in parallel. If your task must run on multiple targets at
25
+ * the same time, register a task for each target individually and assign each task the same
26
+ * priority level.</p>
27
+ * </note>
28
+ * <p>You can specify targets using managed node IDs, resource group names, or tags that have been
29
+ * applied to managed nodes.</p>
30
+ * <p>
31
+ * <b>Example 1</b>: Specify managed node IDs</p>
32
+ * <p>
33
+ * <code>Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>,<instance-id-3></code>
34
+ * </p>
35
+ * <p>
36
+ * <b>Example 2</b>: Use tag key-pairs applied to managed
37
+ * nodes</p>
38
+ * <p>
39
+ * <code>Key=tag:<my-tag-key>,Values=<my-tag-value-1>,<my-tag-value-2></code>
40
+ * </p>
41
+ * <p>
42
+ * <b>Example 3</b>: Use tag-keys applied to managed nodes</p>
43
+ * <p>
44
+ * <code>Key=tag-key,Values=<my-tag-key-1>,<my-tag-key-2></code>
45
+ * </p>
46
+ * <p>
47
+ * <b>Example 4</b>: Use resource group names</p>
48
+ * <p>
49
+ * <code>Key=resource-groups:Name,Values=<resource-group-name></code>
50
+ * </p>
51
+ * <p>
52
+ * <b>Example 5</b>: Use filters for resource group types</p>
53
+ * <p>
54
+ * <code>Key=resource-groups:ResourceTypeFilters,Values=<resource-type-1>,<resource-type-2></code>
55
+ * </p>
56
+ * <note>
57
+ * <p>For <code>Key=resource-groups:ResourceTypeFilters</code>, specify resource types in the
58
+ * following format</p>
59
+ * <p>
60
+ * <code>Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC</code>
61
+ * </p>
62
+ * </note>
63
+ * <p>For more information about these examples formats, including the best use case for each one,
64
+ * see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html">Examples: Register
65
+ * targets with a maintenance window</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
66
+ * @public
67
+ */
68
+ Targets: Target[] | undefined;
69
+ /**
70
+ * <p>User-provided value that will be included in any Amazon CloudWatch Events events raised while
71
+ * running tasks for these targets in this maintenance window.</p>
72
+ * @public
73
+ */
74
+ OwnerInformation?: string | undefined;
75
+ /**
76
+ * <p>An optional name for the target.</p>
77
+ * @public
78
+ */
79
+ Name?: string | undefined;
80
+ /**
81
+ * <p>An optional description for the target.</p>
82
+ * @public
83
+ */
84
+ Description?: string | undefined;
85
+ /**
86
+ * <p>User-provided idempotency token.</p>
87
+ * @public
88
+ */
89
+ ClientToken?: string | undefined;
90
+ }
91
+ /**
92
+ * @public
93
+ */
94
+ export interface RegisterTargetWithMaintenanceWindowResult {
95
+ /**
96
+ * <p>The ID of the target definition in this maintenance window.</p>
97
+ * @public
98
+ */
99
+ WindowTargetId?: string | undefined;
100
+ }
101
+ /**
102
+ * <p>You attempted to register a <code>LAMBDA</code> or <code>STEP_FUNCTIONS</code> task in a
103
+ * region where the corresponding service isn't available. </p>
104
+ * @public
105
+ */
106
+ export declare class FeatureNotAvailableException extends __BaseException {
107
+ readonly name: "FeatureNotAvailableException";
108
+ readonly $fault: "client";
109
+ Message?: string | undefined;
110
+ /**
111
+ * @internal
112
+ */
113
+ constructor(opts: __ExceptionOptionType<FeatureNotAvailableException, __BaseException>);
114
+ }
115
+ /**
116
+ * @public
117
+ */
118
+ export interface RegisterTaskWithMaintenanceWindowRequest {
119
+ /**
120
+ * <p>The ID of the maintenance window the task should be added to.</p>
121
+ * @public
122
+ */
123
+ WindowId: string | undefined;
124
+ /**
125
+ * <p>The targets (either managed nodes or maintenance window targets).</p>
126
+ * <note>
127
+ * <p>One or more targets must be specified for maintenance window Run Command-type tasks.
128
+ * Depending on the task, targets are optional for other maintenance window task types (Automation,
129
+ * Lambda, and Step Functions). For more information about running tasks
130
+ * that don't specify targets, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">Registering
131
+ * maintenance window tasks without targets</a> in the
132
+ * <i>Amazon Web Services Systems Manager User Guide</i>.</p>
133
+ * </note>
134
+ * <p>Specify managed nodes using the following format: </p>
135
+ * <p>
136
+ * <code>Key=InstanceIds,Values=<instance-id-1>,<instance-id-2></code>
137
+ * </p>
138
+ * <p>Specify maintenance window targets using the following format:</p>
139
+ * <p>
140
+ * <code>Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2></code>
141
+ * </p>
142
+ * @public
143
+ */
144
+ Targets?: Target[] | undefined;
145
+ /**
146
+ * <p>The ARN of the task to run.</p>
147
+ * @public
148
+ */
149
+ TaskArn: string | undefined;
150
+ /**
151
+ * <p>The Amazon Resource Name (ARN) of the IAM service role for
152
+ * Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a
153
+ * service role ARN, Systems Manager uses a service-linked role in your account. If no
154
+ * appropriate service-linked role for Systems Manager exists in your account, it is created when
155
+ * you run <code>RegisterTaskWithMaintenanceWindow</code>.</p>
156
+ * <p>However, for an improved security posture, we strongly recommend creating a custom
157
+ * policy and custom service role for running your maintenance window tasks. The policy
158
+ * can be crafted to provide only the permissions needed for your particular
159
+ * maintenance window tasks. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html">Setting up Maintenance Windows</a> in the in the
160
+ * <i>Amazon Web Services Systems Manager User Guide</i>.</p>
161
+ * @public
162
+ */
163
+ ServiceRoleArn?: string | undefined;
164
+ /**
165
+ * <p>The type of task being registered.</p>
166
+ * @public
167
+ */
168
+ TaskType: MaintenanceWindowTaskType | undefined;
169
+ /**
170
+ * <p>The parameters that should be passed to the task when it is run.</p>
171
+ * <note>
172
+ * <p>
173
+ * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
174
+ * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
175
+ * about how Systems Manager handles these options for the supported maintenance window task
176
+ * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
177
+ * </note>
178
+ * @public
179
+ */
180
+ TaskParameters?: Record<string, MaintenanceWindowTaskParameterValueExpression> | undefined;
181
+ /**
182
+ * <p>The parameters that the task should use during execution. Populate only the fields that
183
+ * match the task type. All other fields should be empty. </p>
184
+ * @public
185
+ */
186
+ TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters | undefined;
187
+ /**
188
+ * <p>The priority of the task in the maintenance window, the lower the number the higher the
189
+ * priority. Tasks in a maintenance window are scheduled in priority order with tasks that have the
190
+ * same priority scheduled in parallel.</p>
191
+ * @public
192
+ */
193
+ Priority?: number | undefined;
194
+ /**
195
+ * <p>The maximum number of targets this task can be run for, in parallel.</p>
196
+ * <note>
197
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
198
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
199
+ * task</a> You must provide a value in all other cases.</p>
200
+ * <p>For maintenance window tasks without a target specified, you can't supply a value for this
201
+ * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
202
+ * affect the running of your task.</p>
203
+ * </note>
204
+ * @public
205
+ */
206
+ MaxConcurrency?: string | undefined;
207
+ /**
208
+ * <p>The maximum number of errors allowed before this task stops being scheduled.</p>
209
+ * <note>
210
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
211
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
212
+ * task</a> You must provide a value in all other cases.</p>
213
+ * <p>For maintenance window tasks without a target specified, you can't supply a value for this
214
+ * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
215
+ * affect the running of your task.</p>
216
+ * </note>
217
+ * @public
218
+ */
219
+ MaxErrors?: string | undefined;
220
+ /**
221
+ * <p>A structure containing information about an Amazon Simple Storage Service (Amazon S3) bucket
222
+ * to write managed node-level logs to. </p>
223
+ * <note>
224
+ * <p>
225
+ * <code>LoggingInfo</code> has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the
226
+ * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
227
+ * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
228
+ * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
229
+ * </note>
230
+ * @public
231
+ */
232
+ LoggingInfo?: LoggingInfo | undefined;
233
+ /**
234
+ * <p>An optional name for the task.</p>
235
+ * @public
236
+ */
237
+ Name?: string | undefined;
238
+ /**
239
+ * <p>An optional description for the task.</p>
240
+ * @public
241
+ */
242
+ Description?: string | undefined;
243
+ /**
244
+ * <p>User-provided idempotency token.</p>
245
+ * @public
246
+ */
247
+ ClientToken?: string | undefined;
248
+ /**
249
+ * <p>Indicates whether tasks should continue to run after the cutoff time specified in the
250
+ * maintenance windows is reached. </p>
251
+ * <ul>
252
+ * <li>
253
+ * <p>
254
+ * <code>CONTINUE_TASK</code>: When the cutoff time is reached, any tasks that are running
255
+ * continue. The default value.</p>
256
+ * </li>
257
+ * <li>
258
+ * <p>
259
+ * <code>CANCEL_TASK</code>:</p>
260
+ * <ul>
261
+ * <li>
262
+ * <p>For Automation, Lambda, Step Functions tasks: When the cutoff
263
+ * time is reached, any task invocations that are already running continue, but no new task
264
+ * invocations are started.</p>
265
+ * </li>
266
+ * <li>
267
+ * <p>For Run Command tasks: When the cutoff time is reached, the system sends a <a>CancelCommand</a> operation that attempts to cancel the command associated with the
268
+ * task. However, there is no guarantee that the command will be terminated and the underlying
269
+ * process stopped.</p>
270
+ * </li>
271
+ * </ul>
272
+ * <p>The status for tasks that are not completed is <code>TIMED_OUT</code>.</p>
273
+ * </li>
274
+ * </ul>
275
+ * @public
276
+ */
277
+ CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior | undefined;
278
+ /**
279
+ * <p>The CloudWatch alarm you want to apply to your maintenance window task.</p>
280
+ * @public
281
+ */
282
+ AlarmConfiguration?: AlarmConfiguration | undefined;
283
+ }
284
+ /**
285
+ * @public
286
+ */
287
+ export interface RegisterTaskWithMaintenanceWindowResult {
288
+ /**
289
+ * <p>The ID of the task in the maintenance window.</p>
290
+ * @public
291
+ */
292
+ WindowTaskId?: string | undefined;
293
+ }
294
+ /**
295
+ * @public
296
+ */
297
+ export interface RemoveTagsFromResourceRequest {
298
+ /**
299
+ * <p>The type of resource from which you want to remove a tag.</p>
300
+ * <note>
301
+ * <p>The <code>ManagedInstance</code> type for this API operation is only for on-premises
302
+ * managed nodes. Specify the name of the managed node in the following format:
303
+ * <code>mi-<i>ID_number</i>
304
+ * </code>. For example,
305
+ * <code>mi-1a2b3c4d5e6f</code>.</p>
306
+ * </note>
307
+ * @public
308
+ */
309
+ ResourceType: ResourceTypeForTagging | undefined;
310
+ /**
311
+ * <p>The ID of the resource from which you want to remove tags. For example:</p>
312
+ * <p>ManagedInstance: mi-012345abcde</p>
313
+ * <p>MaintenanceWindow: mw-012345abcde</p>
314
+ * <p>
315
+ * <code>Automation</code>: <code>example-c160-4567-8519-012345abcde</code>
316
+ * </p>
317
+ * <p>PatchBaseline: pb-012345abcde</p>
318
+ * <p>OpsMetadata object: <code>ResourceID</code> for tagging is created from the Amazon Resource
319
+ * Name (ARN) for the object. Specifically, <code>ResourceID</code> is created from the strings that
320
+ * come after the word <code>opsmetadata</code> in the ARN. For example, an OpsMetadata object with
321
+ * an ARN of <code>arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager</code>
322
+ * has a <code>ResourceID</code> of either <code>aws/ssm/MyGroup/appmanager</code> or
323
+ * <code>/aws/ssm/MyGroup/appmanager</code>.</p>
324
+ * <p>For the Document and Parameter values, use the name of the resource.</p>
325
+ * <note>
326
+ * <p>The <code>ManagedInstance</code> type for this API operation is only for on-premises
327
+ * managed nodes. Specify the name of the managed node in the following format: mi-ID_number. For
328
+ * example, mi-1a2b3c4d5e6f.</p>
329
+ * </note>
330
+ * @public
331
+ */
332
+ ResourceId: string | undefined;
333
+ /**
334
+ * <p>Tag keys that you want to remove from the specified resource.</p>
335
+ * @public
336
+ */
337
+ TagKeys: string[] | undefined;
338
+ }
339
+ /**
340
+ * @public
341
+ */
342
+ export interface RemoveTagsFromResourceResult {
343
+ }
5
344
  /**
6
345
  * <p>The request body of the ResetServiceSetting API operation.</p>
7
346
  * @public
@@ -151,6 +490,7 @@ export declare const SignalType: {
151
490
  readonly APPROVE: "Approve";
152
491
  readonly REJECT: "Reject";
153
492
  readonly RESUME: "Resume";
493
+ readonly REVOKE: "Revoke";
154
494
  readonly START_STEP: "StartStep";
155
495
  readonly STOP_STEP: "StopStep";
156
496
  };
@@ -396,6 +736,69 @@ export interface SendCommandResult {
396
736
  */
397
737
  Command?: Command | undefined;
398
738
  }
739
+ /**
740
+ * <p>The request exceeds the service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.</p>
741
+ * @public
742
+ */
743
+ export declare class ServiceQuotaExceededException extends __BaseException {
744
+ readonly name: "ServiceQuotaExceededException";
745
+ readonly $fault: "client";
746
+ Message: string | undefined;
747
+ /**
748
+ * <p>The unique ID of the resource referenced in the failed request.</p>
749
+ * @public
750
+ */
751
+ ResourceId?: string | undefined;
752
+ /**
753
+ * <p>The resource type of the resource referenced in the failed request.</p>
754
+ * @public
755
+ */
756
+ ResourceType?: string | undefined;
757
+ /**
758
+ * <p>The quota code recognized by the Amazon Web Services Service Quotas service.</p>
759
+ * @public
760
+ */
761
+ QuotaCode: string | undefined;
762
+ /**
763
+ * <p>The code for the Amazon Web Services service that owns the quota.</p>
764
+ * @public
765
+ */
766
+ ServiceCode: string | undefined;
767
+ /**
768
+ * @internal
769
+ */
770
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
771
+ }
772
+ /**
773
+ * @public
774
+ */
775
+ export interface StartAccessRequestRequest {
776
+ /**
777
+ * <p>A brief description explaining why you are requesting access to the node.</p>
778
+ * @public
779
+ */
780
+ Reason: string | undefined;
781
+ /**
782
+ * <p>The node you are requesting access to.</p>
783
+ * @public
784
+ */
785
+ Targets: Target[] | undefined;
786
+ /**
787
+ * <p>Key-value pairs of metadata you want to assign to the access request.</p>
788
+ * @public
789
+ */
790
+ Tags?: Tag[] | undefined;
791
+ }
792
+ /**
793
+ * @public
794
+ */
795
+ export interface StartAccessRequestResponse {
796
+ /**
797
+ * <p>The ID of the access request.</p>
798
+ * @public
799
+ */
800
+ AccessRequestId?: string | undefined;
801
+ }
399
802
  /**
400
803
  * <p>The association isn't valid or doesn't exist. </p>
401
804
  * @public
@@ -854,25 +1257,6 @@ export interface StartExecutionPreviewResponse {
854
1257
  */
855
1258
  ExecutionPreviewId?: string | undefined;
856
1259
  }
857
- /**
858
- * <p>The request isn't valid. Verify that you entered valid contents for the command and try
859
- * again.</p>
860
- * @public
861
- */
862
- export declare class ValidationException extends __BaseException {
863
- readonly name: "ValidationException";
864
- readonly $fault: "client";
865
- Message?: string | undefined;
866
- /**
867
- * <p>The reason code for the invalid request.</p>
868
- * @public
869
- */
870
- ReasonCode?: string | undefined;
871
- /**
872
- * @internal
873
- */
874
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
875
- }
876
1260
  /**
877
1261
  * @public
878
1262
  */
@@ -2840,6 +3224,14 @@ export interface ListNodesSummaryRequest {
2840
3224
  */
2841
3225
  MaxResults?: number | undefined;
2842
3226
  }
3227
+ /**
3228
+ * @internal
3229
+ */
3230
+ export declare const RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog: (obj: RegisterTargetWithMaintenanceWindowRequest) => any;
3231
+ /**
3232
+ * @internal
3233
+ */
3234
+ export declare const RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog: (obj: RegisterTaskWithMaintenanceWindowRequest) => any;
2843
3235
  /**
2844
3236
  * @internal
2845
3237
  */
@@ -63,6 +63,7 @@ import { DescribePatchGroupStateCommandInput, DescribePatchGroupStateCommandOutp
63
63
  import { DescribePatchPropertiesCommandInput, DescribePatchPropertiesCommandOutput } from "../commands/DescribePatchPropertiesCommand";
64
64
  import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "../commands/DescribeSessionsCommand";
65
65
  import { DisassociateOpsItemRelatedItemCommandInput, DisassociateOpsItemRelatedItemCommandOutput } from "../commands/DisassociateOpsItemRelatedItemCommand";
66
+ import { GetAccessTokenCommandInput, GetAccessTokenCommandOutput } from "../commands/GetAccessTokenCommand";
66
67
  import { GetAutomationExecutionCommandInput, GetAutomationExecutionCommandOutput } from "../commands/GetAutomationExecutionCommand";
67
68
  import { GetCalendarStateCommandInput, GetCalendarStateCommandOutput } from "../commands/GetCalendarStateCommand";
68
69
  import { GetCommandInvocationCommandInput, GetCommandInvocationCommandOutput } from "../commands/GetCommandInvocationCommand";
@@ -122,6 +123,7 @@ import { ResetServiceSettingCommandInput, ResetServiceSettingCommandOutput } fro
122
123
  import { ResumeSessionCommandInput, ResumeSessionCommandOutput } from "../commands/ResumeSessionCommand";
123
124
  import { SendAutomationSignalCommandInput, SendAutomationSignalCommandOutput } from "../commands/SendAutomationSignalCommand";
124
125
  import { SendCommandCommandInput, SendCommandCommandOutput } from "../commands/SendCommandCommand";
126
+ import { StartAccessRequestCommandInput, StartAccessRequestCommandOutput } from "../commands/StartAccessRequestCommand";
125
127
  import { StartAssociationsOnceCommandInput, StartAssociationsOnceCommandOutput } from "../commands/StartAssociationsOnceCommand";
126
128
  import { StartAutomationExecutionCommandInput, StartAutomationExecutionCommandOutput } from "../commands/StartAutomationExecutionCommand";
127
129
  import { StartChangeRequestExecutionCommandInput, StartChangeRequestExecutionCommandOutput } from "../commands/StartChangeRequestExecutionCommand";
@@ -396,6 +398,10 @@ export declare const se_DescribeSessionsCommand: (input: DescribeSessionsCommand
396
398
  * serializeAws_json1_1DisassociateOpsItemRelatedItemCommand
397
399
  */
398
400
  export declare const se_DisassociateOpsItemRelatedItemCommand: (input: DisassociateOpsItemRelatedItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
401
+ /**
402
+ * serializeAws_json1_1GetAccessTokenCommand
403
+ */
404
+ export declare const se_GetAccessTokenCommand: (input: GetAccessTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
399
405
  /**
400
406
  * serializeAws_json1_1GetAutomationExecutionCommand
401
407
  */
@@ -632,6 +638,10 @@ export declare const se_SendAutomationSignalCommand: (input: SendAutomationSigna
632
638
  * serializeAws_json1_1SendCommandCommand
633
639
  */
634
640
  export declare const se_SendCommandCommand: (input: SendCommandCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
641
+ /**
642
+ * serializeAws_json1_1StartAccessRequestCommand
643
+ */
644
+ export declare const se_StartAccessRequestCommand: (input: StartAccessRequestCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
635
645
  /**
636
646
  * serializeAws_json1_1StartAssociationsOnceCommand
637
647
  */
@@ -972,6 +982,10 @@ export declare const de_DescribeSessionsCommand: (output: __HttpResponse, contex
972
982
  * deserializeAws_json1_1DisassociateOpsItemRelatedItemCommand
973
983
  */
974
984
  export declare const de_DisassociateOpsItemRelatedItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateOpsItemRelatedItemCommandOutput>;
985
+ /**
986
+ * deserializeAws_json1_1GetAccessTokenCommand
987
+ */
988
+ export declare const de_GetAccessTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccessTokenCommandOutput>;
975
989
  /**
976
990
  * deserializeAws_json1_1GetAutomationExecutionCommand
977
991
  */
@@ -1208,6 +1222,10 @@ export declare const de_SendAutomationSignalCommand: (output: __HttpResponse, co
1208
1222
  * deserializeAws_json1_1SendCommandCommand
1209
1223
  */
1210
1224
  export declare const de_SendCommandCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendCommandCommandOutput>;
1225
+ /**
1226
+ * deserializeAws_json1_1StartAccessRequestCommand
1227
+ */
1228
+ export declare const de_StartAccessRequestCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartAccessRequestCommandOutput>;
1211
1229
  /**
1212
1230
  * deserializeAws_json1_1StartAssociationsOnceCommand
1213
1231
  */
@@ -6,6 +6,7 @@ import { SSMClientConfig } from "./SSMClient";
6
6
  export declare const getRuntimeConfig: (config: SSMClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
11
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
@@ -38,7 +39,6 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
38
39
  }) => import("@smithy/types").EndpointV2;
39
40
  tls?: boolean | undefined;
40
41
  serviceConfiguredEndpoint?: undefined;
41
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
42
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSMHttpAuthSchemeProvider;
44
44
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -251,6 +251,10 @@ import {
251
251
  DisassociateOpsItemRelatedItemCommandInput,
252
252
  DisassociateOpsItemRelatedItemCommandOutput,
253
253
  } from "./commands/DisassociateOpsItemRelatedItemCommand";
254
+ import {
255
+ GetAccessTokenCommandInput,
256
+ GetAccessTokenCommandOutput,
257
+ } from "./commands/GetAccessTokenCommand";
254
258
  import {
255
259
  GetAutomationExecutionCommandInput,
256
260
  GetAutomationExecutionCommandOutput,
@@ -487,6 +491,10 @@ import {
487
491
  SendCommandCommandInput,
488
492
  SendCommandCommandOutput,
489
493
  } from "./commands/SendCommandCommand";
494
+ import {
495
+ StartAccessRequestCommandInput,
496
+ StartAccessRequestCommandOutput,
497
+ } from "./commands/StartAccessRequestCommand";
490
498
  import {
491
499
  StartAssociationsOnceCommandInput,
492
500
  StartAssociationsOnceCommandOutput,
@@ -1488,6 +1496,19 @@ export interface SSM {
1488
1496
  options: __HttpHandlerOptions,
1489
1497
  cb: (err: any, data?: DisassociateOpsItemRelatedItemCommandOutput) => void
1490
1498
  ): void;
1499
+ getAccessToken(
1500
+ args: GetAccessTokenCommandInput,
1501
+ options?: __HttpHandlerOptions
1502
+ ): Promise<GetAccessTokenCommandOutput>;
1503
+ getAccessToken(
1504
+ args: GetAccessTokenCommandInput,
1505
+ cb: (err: any, data?: GetAccessTokenCommandOutput) => void
1506
+ ): void;
1507
+ getAccessToken(
1508
+ args: GetAccessTokenCommandInput,
1509
+ options: __HttpHandlerOptions,
1510
+ cb: (err: any, data?: GetAccessTokenCommandOutput) => void
1511
+ ): void;
1491
1512
  getAutomationExecution(
1492
1513
  args: GetAutomationExecutionCommandInput,
1493
1514
  options?: __HttpHandlerOptions
@@ -2307,6 +2328,19 @@ export interface SSM {
2307
2328
  options: __HttpHandlerOptions,
2308
2329
  cb: (err: any, data?: SendCommandCommandOutput) => void
2309
2330
  ): void;
2331
+ startAccessRequest(
2332
+ args: StartAccessRequestCommandInput,
2333
+ options?: __HttpHandlerOptions
2334
+ ): Promise<StartAccessRequestCommandOutput>;
2335
+ startAccessRequest(
2336
+ args: StartAccessRequestCommandInput,
2337
+ cb: (err: any, data?: StartAccessRequestCommandOutput) => void
2338
+ ): void;
2339
+ startAccessRequest(
2340
+ args: StartAccessRequestCommandInput,
2341
+ options: __HttpHandlerOptions,
2342
+ cb: (err: any, data?: StartAccessRequestCommandOutput) => void
2343
+ ): void;
2310
2344
  startAssociationsOnce(
2311
2345
  args: StartAssociationsOnceCommandInput,
2312
2346
  options?: __HttpHandlerOptions
@@ -297,6 +297,10 @@ import {
297
297
  DisassociateOpsItemRelatedItemCommandInput,
298
298
  DisassociateOpsItemRelatedItemCommandOutput,
299
299
  } from "./commands/DisassociateOpsItemRelatedItemCommand";
300
+ import {
301
+ GetAccessTokenCommandInput,
302
+ GetAccessTokenCommandOutput,
303
+ } from "./commands/GetAccessTokenCommand";
300
304
  import {
301
305
  GetAutomationExecutionCommandInput,
302
306
  GetAutomationExecutionCommandOutput,
@@ -533,6 +537,10 @@ import {
533
537
  SendCommandCommandInput,
534
538
  SendCommandCommandOutput,
535
539
  } from "./commands/SendCommandCommand";
540
+ import {
541
+ StartAccessRequestCommandInput,
542
+ StartAccessRequestCommandOutput,
543
+ } from "./commands/StartAccessRequestCommand";
536
544
  import {
537
545
  StartAssociationsOnceCommandInput,
538
546
  StartAssociationsOnceCommandOutput,
@@ -692,6 +700,7 @@ export type ServiceInputTypes =
692
700
  | DescribePatchPropertiesCommandInput
693
701
  | DescribeSessionsCommandInput
694
702
  | DisassociateOpsItemRelatedItemCommandInput
703
+ | GetAccessTokenCommandInput
695
704
  | GetAutomationExecutionCommandInput
696
705
  | GetCalendarStateCommandInput
697
706
  | GetCommandInvocationCommandInput
@@ -751,6 +760,7 @@ export type ServiceInputTypes =
751
760
  | ResumeSessionCommandInput
752
761
  | SendAutomationSignalCommandInput
753
762
  | SendCommandCommandInput
763
+ | StartAccessRequestCommandInput
754
764
  | StartAssociationsOnceCommandInput
755
765
  | StartAutomationExecutionCommandInput
756
766
  | StartChangeRequestExecutionCommandInput
@@ -837,6 +847,7 @@ export type ServiceOutputTypes =
837
847
  | DescribePatchPropertiesCommandOutput
838
848
  | DescribeSessionsCommandOutput
839
849
  | DisassociateOpsItemRelatedItemCommandOutput
850
+ | GetAccessTokenCommandOutput
840
851
  | GetAutomationExecutionCommandOutput
841
852
  | GetCalendarStateCommandOutput
842
853
  | GetCommandInvocationCommandOutput
@@ -896,6 +907,7 @@ export type ServiceOutputTypes =
896
907
  | ResumeSessionCommandOutput
897
908
  | SendAutomationSignalCommandOutput
898
909
  | SendCommandCommandOutput
910
+ | StartAccessRequestCommandOutput
899
911
  | StartAssociationsOnceCommandOutput
900
912
  | StartAutomationExecutionCommandOutput
901
913
  | StartChangeRequestExecutionCommandOutput
@@ -1,7 +1,9 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeMaintenanceWindowScheduleRequest } from "../models/models_0";
4
- import { DescribeMaintenanceWindowScheduleResult } from "../models/models_1";
3
+ import {
4
+ DescribeMaintenanceWindowScheduleRequest,
5
+ DescribeMaintenanceWindowScheduleResult,
6
+ } from "../models/models_1";
5
7
  import {
6
8
  ServiceInputTypes,
7
9
  ServiceOutputTypes,