@aws-sdk/client-ssm 3.210.0 → 3.212.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 (63) hide show
  1. package/dist-cjs/SSM.js +45 -0
  2. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +46 -0
  3. package/dist-cjs/commands/DescribeOpsItemsCommand.js +3 -3
  4. package/dist-cjs/commands/GetResourcePoliciesCommand.js +46 -0
  5. package/dist-cjs/commands/PutResourcePolicyCommand.js +46 -0
  6. package/dist-cjs/commands/UpdateAssociationCommand.js +3 -3
  7. package/dist-cjs/commands/UpdateAssociationStatusCommand.js +3 -3
  8. package/dist-cjs/commands/UpdateDocumentCommand.js +3 -3
  9. package/dist-cjs/commands/index.js +3 -0
  10. package/dist-cjs/models/models_0.js +58 -44
  11. package/dist-cjs/models/models_1.js +80 -106
  12. package/dist-cjs/models/models_2.js +101 -1
  13. package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +36 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_json1_1.js +356 -115
  16. package/dist-es/SSM.js +45 -0
  17. package/dist-es/commands/DeleteResourcePolicyCommand.js +42 -0
  18. package/dist-es/commands/DescribeOpsItemsCommand.js +1 -1
  19. package/dist-es/commands/GetResourcePoliciesCommand.js +42 -0
  20. package/dist-es/commands/PutResourcePolicyCommand.js +42 -0
  21. package/dist-es/commands/UpdateAssociationCommand.js +1 -1
  22. package/dist-es/commands/UpdateAssociationStatusCommand.js +1 -1
  23. package/dist-es/commands/UpdateDocumentCommand.js +1 -1
  24. package/dist-es/commands/index.js +3 -0
  25. package/dist-es/models/models_0.js +47 -34
  26. package/dist-es/models/models_1.js +65 -90
  27. package/dist-es/models/models_2.js +90 -1
  28. package/dist-es/pagination/GetResourcePoliciesPaginator.js +32 -0
  29. package/dist-es/pagination/index.js +1 -0
  30. package/dist-es/protocols/Aws_json1_1.js +342 -107
  31. package/dist-types/SSM.d.ts +28 -0
  32. package/dist-types/SSMClient.d.ts +5 -2
  33. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +40 -0
  34. package/dist-types/commands/DescribeOpsItemsCommand.d.ts +1 -1
  35. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +37 -0
  36. package/dist-types/commands/PutResourcePolicyCommand.d.ts +41 -0
  37. package/dist-types/commands/UpdateAssociationCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
  40. package/dist-types/commands/index.d.ts +3 -0
  41. package/dist-types/models/models_0.d.ts +105 -223
  42. package/dist-types/models/models_1.d.ts +385 -324
  43. package/dist-types/models/models_2.d.ts +343 -3
  44. package/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +4 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  47. package/dist-types/ts3.4/SSM.d.ts +51 -0
  48. package/dist-types/ts3.4/SSMClient.d.ts +18 -0
  49. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +41 -0
  50. package/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +38 -0
  52. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +46 -66
  58. package/dist-types/ts3.4/models/models_1.d.ts +122 -104
  59. package/dist-types/ts3.4/models/models_2.d.ts +110 -1
  60. package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  62. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  63. package/package.json +29 -29
@@ -1,7 +1,312 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { AlarmConfiguration, LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target } from "./models_0";
3
- import { DocumentReviewCommentSource, InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsResultAttribute, ResultAttribute } from "./models_1";
2
+ import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target, TargetLocation } from "./models_0";
3
+ import { DocumentReviewCommentSource, InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute } from "./models_1";
4
4
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
5
+ /**
6
+ * <p>The update isn't valid.</p>
7
+ */
8
+ export declare class InvalidUpdate extends __BaseException {
9
+ readonly name: "InvalidUpdate";
10
+ readonly $fault: "client";
11
+ Message?: string;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<InvalidUpdate, __BaseException>);
16
+ }
17
+ export interface UpdateAssociationRequest {
18
+ /**
19
+ * <p>The ID of the association you want to update. </p>
20
+ */
21
+ AssociationId: string | undefined;
22
+ /**
23
+ * <p>The parameters you want to update for the association. If you create a parameter using
24
+ * Parameter Store, a capability of Amazon Web Services Systems Manager, you can reference the parameter using
25
+ * <code>{{ssm:parameter-name}}</code>.</p>
26
+ */
27
+ Parameters?: Record<string, string[]>;
28
+ /**
29
+ * <p>The document version you want update for the association. </p>
30
+ * <important>
31
+ * <p>State Manager doesn't support running associations that use a new version of a document if
32
+ * that document is shared from another account. State Manager always runs the <code>default</code>
33
+ * version of a document if shared from another account, even though the Systems Manager console shows that a
34
+ * new version was processed. If you want to run an association using a new version of a document
35
+ * shared form another account, you must set the document version to <code>default</code>.</p>
36
+ * </important>
37
+ */
38
+ DocumentVersion?: string;
39
+ /**
40
+ * <p>The cron expression used to schedule the association that you want to update.</p>
41
+ */
42
+ ScheduleExpression?: string;
43
+ /**
44
+ * <p>An S3 bucket where you want to store the results of this request.</p>
45
+ */
46
+ OutputLocation?: InstanceAssociationOutputLocation;
47
+ /**
48
+ * <p>The name of the SSM Command document or Automation runbook that contains the configuration
49
+ * information for the managed node.</p>
50
+ * <p>You can specify Amazon Web Services-predefined documents, documents you created, or a document that is
51
+ * shared with you from another account.</p>
52
+ * <p>For Systems Manager document (SSM document) that are shared with you from other Amazon Web Services accounts, you
53
+ * must specify the complete SSM document ARN, in the following format:</p>
54
+ * <p>
55
+ * <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:document/<i>document-name</i>
56
+ * </code>
57
+ * </p>
58
+ * <p>For example:</p>
59
+ * <p>
60
+ * <code>arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document</code>
61
+ * </p>
62
+ * <p>For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need
63
+ * to specify the document name. For example, <code>AWS-ApplyPatchBaseline</code> or
64
+ * <code>My-Document</code>.</p>
65
+ */
66
+ Name?: string;
67
+ /**
68
+ * <p>The targets of the association.</p>
69
+ */
70
+ Targets?: Target[];
71
+ /**
72
+ * <p>The name of the association that you want to update.</p>
73
+ */
74
+ AssociationName?: string;
75
+ /**
76
+ * <p>This parameter is provided for concurrency control purposes. You must specify the latest
77
+ * association version in the service. If you want to ensure that this request succeeds, either
78
+ * specify <code>$LATEST</code>, or omit this parameter.</p>
79
+ */
80
+ AssociationVersion?: string;
81
+ /**
82
+ * <p>Choose the parameter that will define how your automation will branch out. This target is
83
+ * required for associations that use an Automation runbook and target resources by using rate
84
+ * controls. Automation is a capability of Amazon Web Services Systems Manager.</p>
85
+ */
86
+ AutomationTargetParameterName?: string;
87
+ /**
88
+ * <p>The number of errors that are allowed before the system stops sending requests to run the
89
+ * association on additional targets. You can specify either an absolute number of errors, for
90
+ * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,
91
+ * the system stops sending requests when the fourth error is received. If you specify 0, then the
92
+ * system stops sending requests after the first error is returned. If you run an association on 50
93
+ * managed nodes and set <code>MaxError</code> to 10%, then the system stops sending the request
94
+ * when the sixth error is received.</p>
95
+ * <p>Executions that are already running an association when <code>MaxErrors</code> is reached
96
+ * are allowed to complete, but some of these executions may fail as well. If you need to ensure
97
+ * that there won't be more than max-errors failed executions, set <code>MaxConcurrency</code> to 1
98
+ * so that executions proceed one at a time.</p>
99
+ */
100
+ MaxErrors?: string;
101
+ /**
102
+ * <p>The maximum number of targets allowed to run the association at the same time. You can
103
+ * specify a number, for example 10, or a percentage of the target set, for example 10%. The default
104
+ * value is 100%, which means all targets run the association at the same time.</p>
105
+ * <p>If a new managed node starts and attempts to run an association while Systems Manager is running
106
+ * <code>MaxConcurrency</code> associations, the association is allowed to run. During the next
107
+ * association interval, the new managed node will process its association within the limit
108
+ * specified for <code>MaxConcurrency</code>.</p>
109
+ */
110
+ MaxConcurrency?: string;
111
+ /**
112
+ * <p>The severity level to assign to the association.</p>
113
+ */
114
+ ComplianceSeverity?: AssociationComplianceSeverity | string;
115
+ /**
116
+ * <p>The mode for generating association compliance. You can specify <code>AUTO</code> or
117
+ * <code>MANUAL</code>. In <code>AUTO</code> mode, the system uses the status of the association
118
+ * execution to determine the compliance status. If the association execution runs successfully,
119
+ * then the association is <code>COMPLIANT</code>. If the association execution doesn't run
120
+ * successfully, the association is <code>NON-COMPLIANT</code>.</p>
121
+ * <p>In <code>MANUAL</code> mode, you must specify the <code>AssociationId</code> as a parameter
122
+ * for the <a>PutComplianceItems</a> API operation. In this case, compliance data isn't
123
+ * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the
124
+ * <a>PutComplianceItems</a> API operation.</p>
125
+ * <p>By default, all associations use <code>AUTO</code> mode.</p>
126
+ */
127
+ SyncCompliance?: AssociationSyncCompliance | string;
128
+ /**
129
+ * <p>By default, when you update an association, the system runs it immediately after it is
130
+ * updated and then according to the schedule you specified. Specify this option if you don't want
131
+ * an association to run immediately after you update it. This parameter isn't supported for rate
132
+ * expressions.</p>
133
+ *
134
+ * <p>If you chose this option when you created an association and later you edit that association
135
+ * or you make changes to the SSM document on which that association is based (by using the
136
+ * Documents page in the console), State Manager applies the association at the next specified cron
137
+ * interval. For example, if you chose the <code>Latest</code> version of an SSM document when you
138
+ * created an association and you edit the association by choosing a different document version on
139
+ * the Documents page, State Manager applies the association at the next specified cron interval if
140
+ * you previously selected this option. If this option wasn't selected, State Manager immediately
141
+ * runs the association.</p>
142
+ * <p>You can reset this option. To do so, specify the <code>no-apply-only-at-cron-interval</code>
143
+ * parameter when you update the association from the command line. This parameter forces the
144
+ * association to run immediately after updating it and according to the interval specified.</p>
145
+ */
146
+ ApplyOnlyAtCronInterval?: boolean;
147
+ /**
148
+ * <p>The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to
149
+ * gate your associations under. The associations only run when that change calendar is open. For
150
+ * more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar">Amazon Web Services Systems Manager Change
151
+ * Calendar</a>.</p>
152
+ */
153
+ CalendarNames?: string[];
154
+ /**
155
+ * <p>A location is a combination of Amazon Web Services Regions and Amazon Web Services accounts where you want to run the
156
+ * association. Use this action to update an association in multiple Regions and multiple
157
+ * accounts.</p>
158
+ */
159
+ TargetLocations?: TargetLocation[];
160
+ /**
161
+ * <p>Number of days to wait after the scheduled day to run an association. For example, if you
162
+ * specified a cron schedule of <code>cron(0 0 ? * THU#2 *)</code>, you could specify an offset of 3
163
+ * to run the association each Sunday after the second Thursday of the month. For more information
164
+ * about cron schedules for associations, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html">Reference: Cron
165
+ * and rate expressions for Systems Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. </p>
166
+ * <note>
167
+ * <p>To use offsets, you must specify the <code>ApplyOnlyAtCronInterval</code> parameter. This
168
+ * option tells the system not to run an association immediately after you create it. </p>
169
+ * </note>
170
+ */
171
+ ScheduleOffset?: number;
172
+ /**
173
+ * <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
174
+ * can't be specified together.</p>
175
+ */
176
+ TargetMaps?: Record<string, string[]>[];
177
+ /**
178
+ * <p>The details for the CloudWatch alarm you want to apply to an automation or command.</p>
179
+ */
180
+ AlarmConfiguration?: AlarmConfiguration;
181
+ }
182
+ export interface UpdateAssociationResult {
183
+ /**
184
+ * <p>The description of the association that was updated.</p>
185
+ */
186
+ AssociationDescription?: AssociationDescription;
187
+ }
188
+ /**
189
+ * <p>The updated status is the same as the current status.</p>
190
+ */
191
+ export declare class StatusUnchanged extends __BaseException {
192
+ readonly name: "StatusUnchanged";
193
+ readonly $fault: "client";
194
+ /**
195
+ * @internal
196
+ */
197
+ constructor(opts: __ExceptionOptionType<StatusUnchanged, __BaseException>);
198
+ }
199
+ export interface UpdateAssociationStatusRequest {
200
+ /**
201
+ * <p>The name of the SSM document.</p>
202
+ */
203
+ Name: string | undefined;
204
+ /**
205
+ * <p>The managed node ID.</p>
206
+ */
207
+ InstanceId: string | undefined;
208
+ /**
209
+ * <p>The association status.</p>
210
+ */
211
+ AssociationStatus: AssociationStatus | undefined;
212
+ }
213
+ export interface UpdateAssociationStatusResult {
214
+ /**
215
+ * <p>Information about the association.</p>
216
+ */
217
+ AssociationDescription?: AssociationDescription;
218
+ }
219
+ /**
220
+ * <p>The document has too many versions. Delete one or more document versions and try
221
+ * again.</p>
222
+ */
223
+ export declare class DocumentVersionLimitExceeded extends __BaseException {
224
+ readonly name: "DocumentVersionLimitExceeded";
225
+ readonly $fault: "client";
226
+ Message?: string;
227
+ /**
228
+ * @internal
229
+ */
230
+ constructor(opts: __ExceptionOptionType<DocumentVersionLimitExceeded, __BaseException>);
231
+ }
232
+ /**
233
+ * <p>The content of the association document matches another document. Change the content of the
234
+ * document and try again.</p>
235
+ */
236
+ export declare class DuplicateDocumentContent extends __BaseException {
237
+ readonly name: "DuplicateDocumentContent";
238
+ readonly $fault: "client";
239
+ Message?: string;
240
+ /**
241
+ * @internal
242
+ */
243
+ constructor(opts: __ExceptionOptionType<DuplicateDocumentContent, __BaseException>);
244
+ }
245
+ /**
246
+ * <p>The version name has already been used in this document. Specify a different version name,
247
+ * and then try again.</p>
248
+ */
249
+ export declare class DuplicateDocumentVersionName extends __BaseException {
250
+ readonly name: "DuplicateDocumentVersionName";
251
+ readonly $fault: "client";
252
+ Message?: string;
253
+ /**
254
+ * @internal
255
+ */
256
+ constructor(opts: __ExceptionOptionType<DuplicateDocumentVersionName, __BaseException>);
257
+ }
258
+ export interface UpdateDocumentRequest {
259
+ /**
260
+ * <p>A valid JSON or YAML string.</p>
261
+ */
262
+ Content: string | undefined;
263
+ /**
264
+ * <p>A list of key-value pairs that describe attachments to a version of a document.</p>
265
+ */
266
+ Attachments?: AttachmentsSource[];
267
+ /**
268
+ * <p>The name of the SSM document that you want to update.</p>
269
+ */
270
+ Name: string | undefined;
271
+ /**
272
+ * <p>The friendly name of the SSM document that you want to update. This value can differ for
273
+ * each version of the document. If you don't specify a value for this parameter in your request,
274
+ * the existing value is applied to the new document version.</p>
275
+ */
276
+ DisplayName?: string;
277
+ /**
278
+ * <p>An optional field specifying the version of the artifact you are updating with the document.
279
+ * For example, "Release 12, Update 6". This value is unique across all versions of a document, and
280
+ * can't be changed.</p>
281
+ */
282
+ VersionName?: string;
283
+ /**
284
+ * <p>The version of the document that you want to update. Currently, Systems Manager supports updating only
285
+ * the latest version of the document. You can specify the version number of the latest version or
286
+ * use the <code>$LATEST</code> variable.</p>
287
+ * <note>
288
+ * <p>If you change a document version for a State Manager association, Systems Manager immediately runs
289
+ * the association unless you previously specifed the <code>apply-only-at-cron-interval</code>
290
+ * parameter.</p>
291
+ * </note>
292
+ */
293
+ DocumentVersion?: string;
294
+ /**
295
+ * <p>Specify the document format for the new document version. Systems Manager supports JSON and YAML
296
+ * documents. JSON is the default format.</p>
297
+ */
298
+ DocumentFormat?: DocumentFormat | string;
299
+ /**
300
+ * <p>Specify a new target type for the document.</p>
301
+ */
302
+ TargetType?: string;
303
+ }
304
+ export interface UpdateDocumentResult {
305
+ /**
306
+ * <p>A description of the document that was updated.</p>
307
+ */
308
+ DocumentDescription?: DocumentDescription;
309
+ }
5
310
  export interface UpdateDocumentDefaultVersionRequest {
6
311
  /**
7
312
  * <p>The name of a custom document that you want to set as the default version.</p>
@@ -509,7 +814,14 @@ export interface UpdateManagedInstanceRoleRequest {
509
814
  */
510
815
  InstanceId: string | undefined;
511
816
  /**
512
- * <p>The IAM role you want to assign or change.</p>
817
+ * <p>The name of the Identity and Access Management (IAM) role that you want to assign to
818
+ * the managed node. This IAM role must provide AssumeRole permissions for the
819
+ * Amazon Web Services Systems Manager service principal <code>ssm.amazonaws.com</code>. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html">Create an
820
+ * IAM service role for a hybrid environment</a> in the
821
+ * <i>Amazon Web Services Systems Manager User Guide</i>.</p>
822
+ * <note>
823
+ * <p>You can't specify an IAM service-linked role for this parameter. You must create a unique role.</p>
824
+ * </note>
513
825
  */
514
826
  IamRole: string | undefined;
515
827
  }
@@ -604,6 +916,10 @@ export interface UpdateOpsItemRequest {
604
916
  * only for the OpsItem type <code>/aws/changerequest</code>.</p>
605
917
  */
606
918
  PlannedEndTime?: Date;
919
+ /**
920
+ * <p>The OpsItem Amazon Resource Name (ARN).</p>
921
+ */
922
+ OpsItemArn?: string;
607
923
  }
608
924
  export interface UpdateOpsItemResponse {
609
925
  }
@@ -1018,6 +1334,30 @@ export interface GetOpsSummaryRequest {
1018
1334
  */
1019
1335
  MaxResults?: number;
1020
1336
  }
1337
+ /**
1338
+ * @internal
1339
+ */
1340
+ export declare const UpdateAssociationRequestFilterSensitiveLog: (obj: UpdateAssociationRequest) => any;
1341
+ /**
1342
+ * @internal
1343
+ */
1344
+ export declare const UpdateAssociationResultFilterSensitiveLog: (obj: UpdateAssociationResult) => any;
1345
+ /**
1346
+ * @internal
1347
+ */
1348
+ export declare const UpdateAssociationStatusRequestFilterSensitiveLog: (obj: UpdateAssociationStatusRequest) => any;
1349
+ /**
1350
+ * @internal
1351
+ */
1352
+ export declare const UpdateAssociationStatusResultFilterSensitiveLog: (obj: UpdateAssociationStatusResult) => any;
1353
+ /**
1354
+ * @internal
1355
+ */
1356
+ export declare const UpdateDocumentRequestFilterSensitiveLog: (obj: UpdateDocumentRequest) => any;
1357
+ /**
1358
+ * @internal
1359
+ */
1360
+ export declare const UpdateDocumentResultFilterSensitiveLog: (obj: UpdateDocumentResult) => any;
1021
1361
  /**
1022
1362
  * @internal
1023
1363
  */
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "../commands/GetResourcePoliciesCommand";
3
+ import { SSMPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateGetResourcePolicies(config: SSMPaginationConfiguration, input: GetResourcePoliciesCommandInput, ...additionalArguments: any): Paginator<GetResourcePoliciesCommandOutput>;
@@ -32,6 +32,7 @@ export * from "./GetInventorySchemaPaginator";
32
32
  export * from "./GetOpsSummaryPaginator";
33
33
  export * from "./GetParameterHistoryPaginator";
34
34
  export * from "./GetParametersByPathPaginator";
35
+ export * from "./GetResourcePoliciesPaginator";
35
36
  export * from "./ListAssociationVersionsPaginator";
36
37
  export * from "./ListAssociationsPaginator";
37
38
  export * from "./ListCommandInvocationsPaginator";
@@ -23,6 +23,7 @@ import { DeleteParameterCommandInput, DeleteParameterCommandOutput } from "../co
23
23
  import { DeleteParametersCommandInput, DeleteParametersCommandOutput } from "../commands/DeleteParametersCommand";
24
24
  import { DeletePatchBaselineCommandInput, DeletePatchBaselineCommandOutput } from "../commands/DeletePatchBaselineCommand";
25
25
  import { DeleteResourceDataSyncCommandInput, DeleteResourceDataSyncCommandOutput } from "../commands/DeleteResourceDataSyncCommand";
26
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
26
27
  import { DeregisterManagedInstanceCommandInput, DeregisterManagedInstanceCommandOutput } from "../commands/DeregisterManagedInstanceCommand";
27
28
  import { DeregisterPatchBaselineForPatchGroupCommandInput, DeregisterPatchBaselineForPatchGroupCommandOutput } from "../commands/DeregisterPatchBaselineForPatchGroupCommand";
28
29
  import { DeregisterTargetFromMaintenanceWindowCommandInput, DeregisterTargetFromMaintenanceWindowCommandOutput } from "../commands/DeregisterTargetFromMaintenanceWindowCommand";
@@ -83,6 +84,7 @@ import { GetParametersByPathCommandInput, GetParametersByPathCommandOutput } fro
83
84
  import { GetParametersCommandInput, GetParametersCommandOutput } from "../commands/GetParametersCommand";
84
85
  import { GetPatchBaselineCommandInput, GetPatchBaselineCommandOutput } from "../commands/GetPatchBaselineCommand";
85
86
  import { GetPatchBaselineForPatchGroupCommandInput, GetPatchBaselineForPatchGroupCommandOutput } from "../commands/GetPatchBaselineForPatchGroupCommand";
87
+ import { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "../commands/GetResourcePoliciesCommand";
86
88
  import { GetServiceSettingCommandInput, GetServiceSettingCommandOutput } from "../commands/GetServiceSettingCommand";
87
89
  import { LabelParameterVersionCommandInput, LabelParameterVersionCommandOutput } from "../commands/LabelParameterVersionCommand";
88
90
  import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "../commands/ListAssociationsCommand";
@@ -105,6 +107,7 @@ import { ModifyDocumentPermissionCommandInput, ModifyDocumentPermissionCommandOu
105
107
  import { PutComplianceItemsCommandInput, PutComplianceItemsCommandOutput } from "../commands/PutComplianceItemsCommand";
106
108
  import { PutInventoryCommandInput, PutInventoryCommandOutput } from "../commands/PutInventoryCommand";
107
109
  import { PutParameterCommandInput, PutParameterCommandOutput } from "../commands/PutParameterCommand";
110
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
108
111
  import { RegisterDefaultPatchBaselineCommandInput, RegisterDefaultPatchBaselineCommandOutput } from "../commands/RegisterDefaultPatchBaselineCommand";
109
112
  import { RegisterPatchBaselineForPatchGroupCommandInput, RegisterPatchBaselineForPatchGroupCommandOutput } from "../commands/RegisterPatchBaselineForPatchGroupCommand";
110
113
  import { RegisterTargetWithMaintenanceWindowCommandInput, RegisterTargetWithMaintenanceWindowCommandOutput } from "../commands/RegisterTargetWithMaintenanceWindowCommand";
@@ -158,6 +161,7 @@ export declare const serializeAws_json1_1DeleteParameterCommand: (input: DeleteP
158
161
  export declare const serializeAws_json1_1DeleteParametersCommand: (input: DeleteParametersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
159
162
  export declare const serializeAws_json1_1DeletePatchBaselineCommand: (input: DeletePatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
160
163
  export declare const serializeAws_json1_1DeleteResourceDataSyncCommand: (input: DeleteResourceDataSyncCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
164
+ export declare const serializeAws_json1_1DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
161
165
  export declare const serializeAws_json1_1DeregisterManagedInstanceCommand: (input: DeregisterManagedInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
162
166
  export declare const serializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand: (input: DeregisterPatchBaselineForPatchGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
163
167
  export declare const serializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand: (input: DeregisterTargetFromMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -218,6 +222,7 @@ export declare const serializeAws_json1_1GetParametersCommand: (input: GetParame
218
222
  export declare const serializeAws_json1_1GetParametersByPathCommand: (input: GetParametersByPathCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
219
223
  export declare const serializeAws_json1_1GetPatchBaselineCommand: (input: GetPatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
220
224
  export declare const serializeAws_json1_1GetPatchBaselineForPatchGroupCommand: (input: GetPatchBaselineForPatchGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
225
+ export declare const serializeAws_json1_1GetResourcePoliciesCommand: (input: GetResourcePoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
221
226
  export declare const serializeAws_json1_1GetServiceSettingCommand: (input: GetServiceSettingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
222
227
  export declare const serializeAws_json1_1LabelParameterVersionCommand: (input: LabelParameterVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
223
228
  export declare const serializeAws_json1_1ListAssociationsCommand: (input: ListAssociationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -240,6 +245,7 @@ export declare const serializeAws_json1_1ModifyDocumentPermissionCommand: (input
240
245
  export declare const serializeAws_json1_1PutComplianceItemsCommand: (input: PutComplianceItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
241
246
  export declare const serializeAws_json1_1PutInventoryCommand: (input: PutInventoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
242
247
  export declare const serializeAws_json1_1PutParameterCommand: (input: PutParameterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
248
+ export declare const serializeAws_json1_1PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
243
249
  export declare const serializeAws_json1_1RegisterDefaultPatchBaselineCommand: (input: RegisterDefaultPatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
244
250
  export declare const serializeAws_json1_1RegisterPatchBaselineForPatchGroupCommand: (input: RegisterPatchBaselineForPatchGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
245
251
  export declare const serializeAws_json1_1RegisterTargetWithMaintenanceWindowCommand: (input: RegisterTargetWithMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -293,6 +299,7 @@ export declare const deserializeAws_json1_1DeleteParameterCommand: (output: __Ht
293
299
  export declare const deserializeAws_json1_1DeleteParametersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteParametersCommandOutput>;
294
300
  export declare const deserializeAws_json1_1DeletePatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePatchBaselineCommandOutput>;
295
301
  export declare const deserializeAws_json1_1DeleteResourceDataSyncCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourceDataSyncCommandOutput>;
302
+ export declare const deserializeAws_json1_1DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourcePolicyCommandOutput>;
296
303
  export declare const deserializeAws_json1_1DeregisterManagedInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterManagedInstanceCommandOutput>;
297
304
  export declare const deserializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterPatchBaselineForPatchGroupCommandOutput>;
298
305
  export declare const deserializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterTargetFromMaintenanceWindowCommandOutput>;
@@ -353,6 +360,7 @@ export declare const deserializeAws_json1_1GetParametersCommand: (output: __Http
353
360
  export declare const deserializeAws_json1_1GetParametersByPathCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetParametersByPathCommandOutput>;
354
361
  export declare const deserializeAws_json1_1GetPatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPatchBaselineCommandOutput>;
355
362
  export declare const deserializeAws_json1_1GetPatchBaselineForPatchGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPatchBaselineForPatchGroupCommandOutput>;
363
+ export declare const deserializeAws_json1_1GetResourcePoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePoliciesCommandOutput>;
356
364
  export declare const deserializeAws_json1_1GetServiceSettingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetServiceSettingCommandOutput>;
357
365
  export declare const deserializeAws_json1_1LabelParameterVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LabelParameterVersionCommandOutput>;
358
366
  export declare const deserializeAws_json1_1ListAssociationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssociationsCommandOutput>;
@@ -375,6 +383,7 @@ export declare const deserializeAws_json1_1ModifyDocumentPermissionCommand: (out
375
383
  export declare const deserializeAws_json1_1PutComplianceItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutComplianceItemsCommandOutput>;
376
384
  export declare const deserializeAws_json1_1PutInventoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutInventoryCommandOutput>;
377
385
  export declare const deserializeAws_json1_1PutParameterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutParameterCommandOutput>;
386
+ export declare const deserializeAws_json1_1PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
378
387
  export declare const deserializeAws_json1_1RegisterDefaultPatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterDefaultPatchBaselineCommandOutput>;
379
388
  export declare const deserializeAws_json1_1RegisterPatchBaselineForPatchGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterPatchBaselineForPatchGroupCommandOutput>;
380
389
  export declare const deserializeAws_json1_1RegisterTargetWithMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterTargetWithMaintenanceWindowCommandOutput>;
@@ -91,6 +91,10 @@ import {
91
91
  DeleteResourceDataSyncCommandInput,
92
92
  DeleteResourceDataSyncCommandOutput,
93
93
  } from "./commands/DeleteResourceDataSyncCommand";
94
+ import {
95
+ DeleteResourcePolicyCommandInput,
96
+ DeleteResourcePolicyCommandOutput,
97
+ } from "./commands/DeleteResourcePolicyCommand";
94
98
  import {
95
99
  DeregisterManagedInstanceCommandInput,
96
100
  DeregisterManagedInstanceCommandOutput,
@@ -331,6 +335,10 @@ import {
331
335
  GetPatchBaselineForPatchGroupCommandInput,
332
336
  GetPatchBaselineForPatchGroupCommandOutput,
333
337
  } from "./commands/GetPatchBaselineForPatchGroupCommand";
338
+ import {
339
+ GetResourcePoliciesCommandInput,
340
+ GetResourcePoliciesCommandOutput,
341
+ } from "./commands/GetResourcePoliciesCommand";
334
342
  import {
335
343
  GetServiceSettingCommandInput,
336
344
  GetServiceSettingCommandOutput,
@@ -419,6 +427,10 @@ import {
419
427
  PutParameterCommandInput,
420
428
  PutParameterCommandOutput,
421
429
  } from "./commands/PutParameterCommand";
430
+ import {
431
+ PutResourcePolicyCommandInput,
432
+ PutResourcePolicyCommandOutput,
433
+ } from "./commands/PutResourcePolicyCommand";
422
434
  import {
423
435
  RegisterDefaultPatchBaselineCommandInput,
424
436
  RegisterDefaultPatchBaselineCommandOutput,
@@ -840,6 +852,19 @@ export declare class SSM extends SSMClient {
840
852
  options: __HttpHandlerOptions,
841
853
  cb: (err: any, data?: DeleteResourceDataSyncCommandOutput) => void
842
854
  ): void;
855
+ deleteResourcePolicy(
856
+ args: DeleteResourcePolicyCommandInput,
857
+ options?: __HttpHandlerOptions
858
+ ): Promise<DeleteResourcePolicyCommandOutput>;
859
+ deleteResourcePolicy(
860
+ args: DeleteResourcePolicyCommandInput,
861
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
862
+ ): void;
863
+ deleteResourcePolicy(
864
+ args: DeleteResourcePolicyCommandInput,
865
+ options: __HttpHandlerOptions,
866
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
867
+ ): void;
843
868
  deregisterManagedInstance(
844
869
  args: DeregisterManagedInstanceCommandInput,
845
870
  options?: __HttpHandlerOptions
@@ -1716,6 +1741,19 @@ export declare class SSM extends SSMClient {
1716
1741
  options: __HttpHandlerOptions,
1717
1742
  cb: (err: any, data?: GetPatchBaselineForPatchGroupCommandOutput) => void
1718
1743
  ): void;
1744
+ getResourcePolicies(
1745
+ args: GetResourcePoliciesCommandInput,
1746
+ options?: __HttpHandlerOptions
1747
+ ): Promise<GetResourcePoliciesCommandOutput>;
1748
+ getResourcePolicies(
1749
+ args: GetResourcePoliciesCommandInput,
1750
+ cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void
1751
+ ): void;
1752
+ getResourcePolicies(
1753
+ args: GetResourcePoliciesCommandInput,
1754
+ options: __HttpHandlerOptions,
1755
+ cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void
1756
+ ): void;
1719
1757
  getServiceSetting(
1720
1758
  args: GetServiceSettingCommandInput,
1721
1759
  options?: __HttpHandlerOptions
@@ -2002,6 +2040,19 @@ export declare class SSM extends SSMClient {
2002
2040
  options: __HttpHandlerOptions,
2003
2041
  cb: (err: any, data?: PutParameterCommandOutput) => void
2004
2042
  ): void;
2043
+ putResourcePolicy(
2044
+ args: PutResourcePolicyCommandInput,
2045
+ options?: __HttpHandlerOptions
2046
+ ): Promise<PutResourcePolicyCommandOutput>;
2047
+ putResourcePolicy(
2048
+ args: PutResourcePolicyCommandInput,
2049
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
2050
+ ): void;
2051
+ putResourcePolicy(
2052
+ args: PutResourcePolicyCommandInput,
2053
+ options: __HttpHandlerOptions,
2054
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
2055
+ ): void;
2005
2056
  registerDefaultPatchBaseline(
2006
2057
  args: RegisterDefaultPatchBaselineCommandInput,
2007
2058
  options?: __HttpHandlerOptions
@@ -135,6 +135,10 @@ import {
135
135
  DeleteResourceDataSyncCommandInput,
136
136
  DeleteResourceDataSyncCommandOutput,
137
137
  } from "./commands/DeleteResourceDataSyncCommand";
138
+ import {
139
+ DeleteResourcePolicyCommandInput,
140
+ DeleteResourcePolicyCommandOutput,
141
+ } from "./commands/DeleteResourcePolicyCommand";
138
142
  import {
139
143
  DeregisterManagedInstanceCommandInput,
140
144
  DeregisterManagedInstanceCommandOutput,
@@ -375,6 +379,10 @@ import {
375
379
  GetPatchBaselineForPatchGroupCommandInput,
376
380
  GetPatchBaselineForPatchGroupCommandOutput,
377
381
  } from "./commands/GetPatchBaselineForPatchGroupCommand";
382
+ import {
383
+ GetResourcePoliciesCommandInput,
384
+ GetResourcePoliciesCommandOutput,
385
+ } from "./commands/GetResourcePoliciesCommand";
378
386
  import {
379
387
  GetServiceSettingCommandInput,
380
388
  GetServiceSettingCommandOutput,
@@ -463,6 +471,10 @@ import {
463
471
  PutParameterCommandInput,
464
472
  PutParameterCommandOutput,
465
473
  } from "./commands/PutParameterCommand";
474
+ import {
475
+ PutResourcePolicyCommandInput,
476
+ PutResourcePolicyCommandOutput,
477
+ } from "./commands/PutResourcePolicyCommand";
466
478
  import {
467
479
  RegisterDefaultPatchBaselineCommandInput,
468
480
  RegisterDefaultPatchBaselineCommandOutput,
@@ -612,6 +624,7 @@ export declare type ServiceInputTypes =
612
624
  | DeleteParametersCommandInput
613
625
  | DeletePatchBaselineCommandInput
614
626
  | DeleteResourceDataSyncCommandInput
627
+ | DeleteResourcePolicyCommandInput
615
628
  | DeregisterManagedInstanceCommandInput
616
629
  | DeregisterPatchBaselineForPatchGroupCommandInput
617
630
  | DeregisterTargetFromMaintenanceWindowCommandInput
@@ -672,6 +685,7 @@ export declare type ServiceInputTypes =
672
685
  | GetParametersCommandInput
673
686
  | GetPatchBaselineCommandInput
674
687
  | GetPatchBaselineForPatchGroupCommandInput
688
+ | GetResourcePoliciesCommandInput
675
689
  | GetServiceSettingCommandInput
676
690
  | LabelParameterVersionCommandInput
677
691
  | ListAssociationVersionsCommandInput
@@ -694,6 +708,7 @@ export declare type ServiceInputTypes =
694
708
  | PutComplianceItemsCommandInput
695
709
  | PutInventoryCommandInput
696
710
  | PutParameterCommandInput
711
+ | PutResourcePolicyCommandInput
697
712
  | RegisterDefaultPatchBaselineCommandInput
698
713
  | RegisterPatchBaselineForPatchGroupCommandInput
699
714
  | RegisterTargetWithMaintenanceWindowCommandInput
@@ -748,6 +763,7 @@ export declare type ServiceOutputTypes =
748
763
  | DeleteParametersCommandOutput
749
764
  | DeletePatchBaselineCommandOutput
750
765
  | DeleteResourceDataSyncCommandOutput
766
+ | DeleteResourcePolicyCommandOutput
751
767
  | DeregisterManagedInstanceCommandOutput
752
768
  | DeregisterPatchBaselineForPatchGroupCommandOutput
753
769
  | DeregisterTargetFromMaintenanceWindowCommandOutput
@@ -808,6 +824,7 @@ export declare type ServiceOutputTypes =
808
824
  | GetParametersCommandOutput
809
825
  | GetPatchBaselineCommandOutput
810
826
  | GetPatchBaselineForPatchGroupCommandOutput
827
+ | GetResourcePoliciesCommandOutput
811
828
  | GetServiceSettingCommandOutput
812
829
  | LabelParameterVersionCommandOutput
813
830
  | ListAssociationVersionsCommandOutput
@@ -830,6 +847,7 @@ export declare type ServiceOutputTypes =
830
847
  | PutComplianceItemsCommandOutput
831
848
  | PutInventoryCommandOutput
832
849
  | PutParameterCommandOutput
850
+ | PutResourcePolicyCommandOutput
833
851
  | RegisterDefaultPatchBaselineCommandOutput
834
852
  | RegisterPatchBaselineForPatchGroupCommandOutput
835
853
  | RegisterTargetWithMaintenanceWindowCommandOutput