@aws-sdk/client-ssm 3.211.0 → 3.213.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,6 +1,232 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationDescription, AssociationOverview, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, AutomationExecutionStatus, AutomationSubtype, DocumentDescription, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
2
+ import { AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemFilterKey, OpsItemFilterOperator, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
3
3
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
4
+ /**
5
+ * <p>Describes an OpsItem filter.</p>
6
+ */
7
+ export interface OpsItemFilter {
8
+ /**
9
+ * <p>The name of the filter.</p>
10
+ */
11
+ Key: OpsItemFilterKey | string | undefined;
12
+ /**
13
+ * <p>The filter value.</p>
14
+ */
15
+ Values: string[] | undefined;
16
+ /**
17
+ * <p>The operator used by the filter call.</p>
18
+ */
19
+ Operator: OpsItemFilterOperator | string | undefined;
20
+ }
21
+ export interface DescribeOpsItemsRequest {
22
+ /**
23
+ * <p>One or more filters to limit the response.</p>
24
+ * <ul>
25
+ * <li>
26
+ * <p>Key: CreatedTime</p>
27
+ * <p>Operations: GreaterThan, LessThan</p>
28
+ * </li>
29
+ * <li>
30
+ * <p>Key: LastModifiedBy</p>
31
+ * <p>Operations: Contains, Equals</p>
32
+ * </li>
33
+ * <li>
34
+ * <p>Key: LastModifiedTime</p>
35
+ * <p>Operations: GreaterThan, LessThan</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>Key: Priority</p>
39
+ * <p>Operations: Equals</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>Key: Source</p>
43
+ * <p>Operations: Contains, Equals</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>Key: Status</p>
47
+ * <p>Operations: Equals</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>Key: Title*</p>
51
+ * <p>Operations: Equals,Contains</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>Key: OperationalData**</p>
55
+ * <p>Operations: Equals</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>Key: OperationalDataKey</p>
59
+ * <p>Operations: Equals</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>Key: OperationalDataValue</p>
63
+ * <p>Operations: Equals, Contains</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>Key: OpsItemId</p>
67
+ * <p>Operations: Equals</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>Key: ResourceId</p>
71
+ * <p>Operations: Contains</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>Key: AutomationId</p>
75
+ * <p>Operations: Equals</p>
76
+ * </li>
77
+ * </ul>
78
+ * <p>*The Equals operator for Title matches the first 100 characters. If you specify more than
79
+ * 100 characters, they system returns an error that the filter value exceeds the length
80
+ * limit.</p>
81
+ * <p>**If you filter the response by using the OperationalData operator, specify a key-value pair
82
+ * by using the following JSON format: {"key":"key_name","value":"a_value"}</p>
83
+ */
84
+ OpsItemFilters?: OpsItemFilter[];
85
+ /**
86
+ * <p>The maximum number of items to return for this call. The call also returns a token that you
87
+ * can specify in a subsequent call to get the next set of results.</p>
88
+ */
89
+ MaxResults?: number;
90
+ /**
91
+ * <p>A token to start the list. Use this token to get the next set of results.</p>
92
+ */
93
+ NextToken?: string;
94
+ }
95
+ export declare enum OpsItemStatus {
96
+ APPROVED = "Approved",
97
+ CANCELLED = "Cancelled",
98
+ CANCELLING = "Cancelling",
99
+ CHANGE_CALENDAR_OVERRIDE_APPROVED = "ChangeCalendarOverrideApproved",
100
+ CHANGE_CALENDAR_OVERRIDE_REJECTED = "ChangeCalendarOverrideRejected",
101
+ CLOSED = "Closed",
102
+ COMPLETED_WITH_FAILURE = "CompletedWithFailure",
103
+ COMPLETED_WITH_SUCCESS = "CompletedWithSuccess",
104
+ FAILED = "Failed",
105
+ IN_PROGRESS = "InProgress",
106
+ OPEN = "Open",
107
+ PENDING = "Pending",
108
+ PENDING_APPROVAL = "PendingApproval",
109
+ PENDING_CHANGE_CALENDAR_OVERRIDE = "PendingChangeCalendarOverride",
110
+ REJECTED = "Rejected",
111
+ RESOLVED = "Resolved",
112
+ RUNBOOK_IN_PROGRESS = "RunbookInProgress",
113
+ SCHEDULED = "Scheduled",
114
+ TIMED_OUT = "TimedOut"
115
+ }
116
+ /**
117
+ * <p>A count of OpsItems.</p>
118
+ */
119
+ export interface OpsItemSummary {
120
+ /**
121
+ * <p>The Amazon Resource Name (ARN) of the IAM entity that created the
122
+ * OpsItem.</p>
123
+ */
124
+ CreatedBy?: string;
125
+ /**
126
+ * <p>The date and time the OpsItem was created.</p>
127
+ */
128
+ CreatedTime?: Date;
129
+ /**
130
+ * <p>The Amazon Resource Name (ARN) of the IAM entity that created the
131
+ * OpsItem.</p>
132
+ */
133
+ LastModifiedBy?: string;
134
+ /**
135
+ * <p>The date and time the OpsItem was last updated.</p>
136
+ */
137
+ LastModifiedTime?: Date;
138
+ /**
139
+ * <p>The importance of this OpsItem in relation to other OpsItems in the system.</p>
140
+ */
141
+ Priority?: number;
142
+ /**
143
+ * <p>The impacted Amazon Web Services resource.</p>
144
+ */
145
+ Source?: string;
146
+ /**
147
+ * <p>The OpsItem status. Status can be <code>Open</code>, <code>In Progress</code>, or
148
+ * <code>Resolved</code>.</p>
149
+ */
150
+ Status?: OpsItemStatus | string;
151
+ /**
152
+ * <p>The ID of the OpsItem.</p>
153
+ */
154
+ OpsItemId?: string;
155
+ /**
156
+ * <p>A short heading that describes the nature of the OpsItem and the impacted resource.</p>
157
+ */
158
+ Title?: string;
159
+ /**
160
+ * <p>Operational data is custom data that provides useful reference details about the OpsItem.
161
+ * </p>
162
+ */
163
+ OperationalData?: Record<string, OpsItemDataValue>;
164
+ /**
165
+ * <p>A list of OpsItems by category.</p>
166
+ */
167
+ Category?: string;
168
+ /**
169
+ * <p>A list of OpsItems by severity.</p>
170
+ */
171
+ Severity?: string;
172
+ /**
173
+ * <p>The type of OpsItem. Systems Manager supports the following types of OpsItems:</p>
174
+ * <ul>
175
+ * <li>
176
+ * <p>
177
+ * <code>/aws/issue</code>
178
+ * </p>
179
+ * <p>This type of OpsItem is used for default OpsItems created by OpsCenter. </p>
180
+ * </li>
181
+ * <li>
182
+ * <p>
183
+ * <code>/aws/changerequest</code>
184
+ * </p>
185
+ * <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change
186
+ * requests. </p>
187
+ * </li>
188
+ * <li>
189
+ * <p>
190
+ * <code>/aws/insights</code>
191
+ * </p>
192
+ * <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
193
+ * OpsItems. </p>
194
+ * </li>
195
+ * </ul>
196
+ */
197
+ OpsItemType?: string;
198
+ /**
199
+ * <p>The time a runbook workflow started. Currently reported only for the OpsItem type
200
+ * <code>/aws/changerequest</code>.</p>
201
+ */
202
+ ActualStartTime?: Date;
203
+ /**
204
+ * <p>The time a runbook workflow ended. Currently reported only for the OpsItem type
205
+ * <code>/aws/changerequest</code>.</p>
206
+ */
207
+ ActualEndTime?: Date;
208
+ /**
209
+ * <p>The time specified in a change request for a runbook workflow to start. Currently supported
210
+ * only for the OpsItem type <code>/aws/changerequest</code>.</p>
211
+ */
212
+ PlannedStartTime?: Date;
213
+ /**
214
+ * <p>The time specified in a change request for a runbook workflow to end. Currently supported
215
+ * only for the OpsItem type <code>/aws/changerequest</code>.</p>
216
+ */
217
+ PlannedEndTime?: Date;
218
+ }
219
+ export interface DescribeOpsItemsResponse {
220
+ /**
221
+ * <p>The token for the next set of items to return. Use this token to get the next set of
222
+ * results.</p>
223
+ */
224
+ NextToken?: string;
225
+ /**
226
+ * <p>A list of OpsItems.</p>
227
+ */
228
+ OpsItemSummaries?: OpsItemSummary[];
229
+ }
4
230
  export declare enum ParametersFilterKey {
5
231
  KEY_ID = "KeyId",
6
232
  NAME = "Name",
@@ -2246,6 +2472,10 @@ export interface GetOpsItemRequest {
2246
2472
  * <p>The ID of the OpsItem that you want to get.</p>
2247
2473
  */
2248
2474
  OpsItemId: string | undefined;
2475
+ /**
2476
+ * <p>The OpsItem Amazon Resource Name (ARN).</p>
2477
+ */
2478
+ OpsItemArn?: string;
2249
2479
  }
2250
2480
  /**
2251
2481
  * <p>Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and
@@ -2268,8 +2498,29 @@ export interface OpsItem {
2268
2498
  */
2269
2499
  CreatedBy?: string;
2270
2500
  /**
2271
- * <p>The type of OpsItem. Currently, the only valid values are <code>/aws/changerequest</code>
2272
- * and <code>/aws/issue</code>.</p>
2501
+ * <p>The type of OpsItem. Systems Manager supports the following types of OpsItems:</p>
2502
+ * <ul>
2503
+ * <li>
2504
+ * <p>
2505
+ * <code>/aws/issue</code>
2506
+ * </p>
2507
+ * <p>This type of OpsItem is used for default OpsItems created by OpsCenter. </p>
2508
+ * </li>
2509
+ * <li>
2510
+ * <p>
2511
+ * <code>/aws/changerequest</code>
2512
+ * </p>
2513
+ * <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change
2514
+ * requests. </p>
2515
+ * </li>
2516
+ * <li>
2517
+ * <p>
2518
+ * <code>/aws/insights</code>
2519
+ * </p>
2520
+ * <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
2521
+ * OpsItems. </p>
2522
+ * </li>
2523
+ * </ul>
2273
2524
  */
2274
2525
  OpsItemType?: string;
2275
2526
  /**
@@ -2376,6 +2627,10 @@ export interface OpsItem {
2376
2627
  * only for the OpsItem type <code>/aws/changerequest</code>.</p>
2377
2628
  */
2378
2629
  PlannedEndTime?: Date;
2630
+ /**
2631
+ * <p>The OpsItem Amazon Resource Name (ARN).</p>
2632
+ */
2633
+ OpsItemArn?: string;
2379
2634
  }
2380
2635
  export interface GetOpsItemResponse {
2381
2636
  /**
@@ -2864,6 +3119,59 @@ export interface GetPatchBaselineForPatchGroupResult {
2864
3119
  */
2865
3120
  OperatingSystem?: OperatingSystem | string;
2866
3121
  }
3122
+ export interface GetResourcePoliciesRequest {
3123
+ /**
3124
+ * <p>Amazon Resource Name (ARN) of the resource to which the policies are attached.</p>
3125
+ */
3126
+ ResourceArn: string | undefined;
3127
+ /**
3128
+ * <p>A token to start the list. Use this token to get the next set of results.</p>
3129
+ */
3130
+ NextToken?: string;
3131
+ /**
3132
+ * <p>The maximum number of items to return for this call. The call also returns a token that you
3133
+ * can specify in a subsequent call to get the next set of results.</p>
3134
+ */
3135
+ MaxResults?: number;
3136
+ }
3137
+ /**
3138
+ * <p>A resource policy helps you to define the IAM entity (for example, an
3139
+ * Amazon Web Services account) that can manage your Systems Manager resources. Currently, <code>OpsItemGroup</code> is the
3140
+ * only resource that supports Systems Manager resource policies. The resource policy for
3141
+ * <code>OpsItemGroup</code> enables Amazon Web Services accounts to view and interact with OpsCenter operational
3142
+ * work items (OpsItems).</p>
3143
+ */
3144
+ export interface GetResourcePoliciesResponseEntry {
3145
+ /**
3146
+ * <p>A policy ID.</p>
3147
+ */
3148
+ PolicyId?: string;
3149
+ /**
3150
+ * <p>ID of the current policy version. The hash helps to prevent a situation where multiple users
3151
+ * attempt to overwrite a policy. You must provide this hash when updating or deleting a
3152
+ * policy.</p>
3153
+ */
3154
+ PolicyHash?: string;
3155
+ /**
3156
+ * <p>A resource policy helps you to define the IAM entity (for example, an
3157
+ * Amazon Web Services account) that can manage your Systems Manager resources. Currently, <code>OpsItemGroup</code> is the
3158
+ * only resource that supports Systems Manager resource policies. The resource policy for
3159
+ * <code>OpsItemGroup</code> enables Amazon Web Services accounts to view and interact with OpsCenter operational
3160
+ * work items (OpsItems).</p>
3161
+ */
3162
+ Policy?: string;
3163
+ }
3164
+ export interface GetResourcePoliciesResponse {
3165
+ /**
3166
+ * <p>The token for the next set of items to return. Use this token to get the next set of
3167
+ * results.</p>
3168
+ */
3169
+ NextToken?: string;
3170
+ /**
3171
+ * <p>An array of the <code>Policy</code> object.</p>
3172
+ */
3173
+ Policies?: GetResourcePoliciesResponseEntry[];
3174
+ }
2867
3175
  /**
2868
3176
  * <p>The request body of the GetServiceSetting API operation.</p>
2869
3177
  */
@@ -6014,6 +6322,52 @@ export declare class UnsupportedParameterType extends __BaseException {
6014
6322
  */
6015
6323
  constructor(opts: __ExceptionOptionType<UnsupportedParameterType, __BaseException>);
6016
6324
  }
6325
+ export interface PutResourcePolicyRequest {
6326
+ /**
6327
+ * <p>Amazon Resource Name (ARN) of the resource to which the policies are attached.</p>
6328
+ */
6329
+ ResourceArn: string | undefined;
6330
+ /**
6331
+ * <p>A policy you want to associate with a resource.</p>
6332
+ */
6333
+ Policy: string | undefined;
6334
+ /**
6335
+ * <p>The policy ID.</p>
6336
+ */
6337
+ PolicyId?: string;
6338
+ /**
6339
+ * <p>ID of the current policy version. The hash helps to prevent a situation where multiple users
6340
+ * attempt to overwrite a policy.</p>
6341
+ */
6342
+ PolicyHash?: string;
6343
+ }
6344
+ export interface PutResourcePolicyResponse {
6345
+ /**
6346
+ * <p>The policy ID. To update a policy, you must specify <code>PolicyId</code> and <code>PolicyHash</code>.</p>
6347
+ */
6348
+ PolicyId?: string;
6349
+ /**
6350
+ * <p>ID of the current policy version. The hash helps to prevent a situation where multiple users
6351
+ * attempt to overwrite a policy. You must provide this hash when updating or deleting a
6352
+ * policy.</p>
6353
+ */
6354
+ PolicyHash?: string;
6355
+ }
6356
+ /**
6357
+ * <p>The <a>PutResourcePolicy</a> API action enforces two limits. A policy can't be
6358
+ * greater than 1024 bytes in size. And only one policy can be attached to <code>OpsItemGroup</code>. Verify these limits and try again.</p>
6359
+ */
6360
+ export declare class ResourcePolicyLimitExceededException extends __BaseException {
6361
+ readonly name: "ResourcePolicyLimitExceededException";
6362
+ readonly $fault: "client";
6363
+ Limit?: number;
6364
+ LimitType?: string;
6365
+ Message?: string;
6366
+ /**
6367
+ * @internal
6368
+ */
6369
+ constructor(opts: __ExceptionOptionType<ResourcePolicyLimitExceededException, __BaseException>);
6370
+ }
6017
6371
  export interface RegisterDefaultPatchBaselineRequest {
6018
6372
  /**
6019
6373
  * <p>The ID of the patch baseline that should be the default patch baseline.</p>
@@ -7095,310 +7449,21 @@ export declare class AssociationVersionLimitExceeded extends __BaseException {
7095
7449
  constructor(opts: __ExceptionOptionType<AssociationVersionLimitExceeded, __BaseException>);
7096
7450
  }
7097
7451
  /**
7098
- * <p>The update isn't valid.</p>
7099
- */
7100
- export declare class InvalidUpdate extends __BaseException {
7101
- readonly name: "InvalidUpdate";
7102
- readonly $fault: "client";
7103
- Message?: string;
7104
- /**
7105
- * @internal
7106
- */
7107
- constructor(opts: __ExceptionOptionType<InvalidUpdate, __BaseException>);
7108
- }
7109
- export interface UpdateAssociationRequest {
7110
- /**
7111
- * <p>The ID of the association you want to update. </p>
7112
- */
7113
- AssociationId: string | undefined;
7114
- /**
7115
- * <p>The parameters you want to update for the association. If you create a parameter using
7116
- * Parameter Store, a capability of Amazon Web Services Systems Manager, you can reference the parameter using
7117
- * <code>{{ssm:parameter-name}}</code>.</p>
7118
- */
7119
- Parameters?: Record<string, string[]>;
7120
- /**
7121
- * <p>The document version you want update for the association. </p>
7122
- * <important>
7123
- * <p>State Manager doesn't support running associations that use a new version of a document if
7124
- * that document is shared from another account. State Manager always runs the <code>default</code>
7125
- * version of a document if shared from another account, even though the Systems Manager console shows that a
7126
- * new version was processed. If you want to run an association using a new version of a document
7127
- * shared form another account, you must set the document version to <code>default</code>.</p>
7128
- * </important>
7129
- */
7130
- DocumentVersion?: string;
7131
- /**
7132
- * <p>The cron expression used to schedule the association that you want to update.</p>
7133
- */
7134
- ScheduleExpression?: string;
7135
- /**
7136
- * <p>An S3 bucket where you want to store the results of this request.</p>
7137
- */
7138
- OutputLocation?: InstanceAssociationOutputLocation;
7139
- /**
7140
- * <p>The name of the SSM Command document or Automation runbook that contains the configuration
7141
- * information for the managed node.</p>
7142
- * <p>You can specify Amazon Web Services-predefined documents, documents you created, or a document that is
7143
- * shared with you from another account.</p>
7144
- * <p>For Systems Manager document (SSM document) that are shared with you from other Amazon Web Services accounts, you
7145
- * must specify the complete SSM document ARN, in the following format:</p>
7146
- * <p>
7147
- * <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:document/<i>document-name</i>
7148
- * </code>
7149
- * </p>
7150
- * <p>For example:</p>
7151
- * <p>
7152
- * <code>arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document</code>
7153
- * </p>
7154
- * <p>For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need
7155
- * to specify the document name. For example, <code>AWS-ApplyPatchBaseline</code> or
7156
- * <code>My-Document</code>.</p>
7157
- */
7158
- Name?: string;
7159
- /**
7160
- * <p>The targets of the association.</p>
7161
- */
7162
- Targets?: Target[];
7163
- /**
7164
- * <p>The name of the association that you want to update.</p>
7165
- */
7166
- AssociationName?: string;
7167
- /**
7168
- * <p>This parameter is provided for concurrency control purposes. You must specify the latest
7169
- * association version in the service. If you want to ensure that this request succeeds, either
7170
- * specify <code>$LATEST</code>, or omit this parameter.</p>
7171
- */
7172
- AssociationVersion?: string;
7173
- /**
7174
- * <p>Choose the parameter that will define how your automation will branch out. This target is
7175
- * required for associations that use an Automation runbook and target resources by using rate
7176
- * controls. Automation is a capability of Amazon Web Services Systems Manager.</p>
7177
- */
7178
- AutomationTargetParameterName?: string;
7179
- /**
7180
- * <p>The number of errors that are allowed before the system stops sending requests to run the
7181
- * association on additional targets. You can specify either an absolute number of errors, for
7182
- * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example,
7183
- * the system stops sending requests when the fourth error is received. If you specify 0, then the
7184
- * system stops sending requests after the first error is returned. If you run an association on 50
7185
- * managed nodes and set <code>MaxError</code> to 10%, then the system stops sending the request
7186
- * when the sixth error is received.</p>
7187
- * <p>Executions that are already running an association when <code>MaxErrors</code> is reached
7188
- * are allowed to complete, but some of these executions may fail as well. If you need to ensure
7189
- * that there won't be more than max-errors failed executions, set <code>MaxConcurrency</code> to 1
7190
- * so that executions proceed one at a time.</p>
7191
- */
7192
- MaxErrors?: string;
7193
- /**
7194
- * <p>The maximum number of targets allowed to run the association at the same time. You can
7195
- * specify a number, for example 10, or a percentage of the target set, for example 10%. The default
7196
- * value is 100%, which means all targets run the association at the same time.</p>
7197
- * <p>If a new managed node starts and attempts to run an association while Systems Manager is running
7198
- * <code>MaxConcurrency</code> associations, the association is allowed to run. During the next
7199
- * association interval, the new managed node will process its association within the limit
7200
- * specified for <code>MaxConcurrency</code>.</p>
7201
- */
7202
- MaxConcurrency?: string;
7203
- /**
7204
- * <p>The severity level to assign to the association.</p>
7205
- */
7206
- ComplianceSeverity?: AssociationComplianceSeverity | string;
7207
- /**
7208
- * <p>The mode for generating association compliance. You can specify <code>AUTO</code> or
7209
- * <code>MANUAL</code>. In <code>AUTO</code> mode, the system uses the status of the association
7210
- * execution to determine the compliance status. If the association execution runs successfully,
7211
- * then the association is <code>COMPLIANT</code>. If the association execution doesn't run
7212
- * successfully, the association is <code>NON-COMPLIANT</code>.</p>
7213
- * <p>In <code>MANUAL</code> mode, you must specify the <code>AssociationId</code> as a parameter
7214
- * for the <a>PutComplianceItems</a> API operation. In this case, compliance data isn't
7215
- * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the
7216
- * <a>PutComplianceItems</a> API operation.</p>
7217
- * <p>By default, all associations use <code>AUTO</code> mode.</p>
7218
- */
7219
- SyncCompliance?: AssociationSyncCompliance | string;
7220
- /**
7221
- * <p>By default, when you update an association, the system runs it immediately after it is
7222
- * updated and then according to the schedule you specified. Specify this option if you don't want
7223
- * an association to run immediately after you update it. This parameter isn't supported for rate
7224
- * expressions.</p>
7225
- *
7226
- * <p>If you chose this option when you created an association and later you edit that association
7227
- * or you make changes to the SSM document on which that association is based (by using the
7228
- * Documents page in the console), State Manager applies the association at the next specified cron
7229
- * interval. For example, if you chose the <code>Latest</code> version of an SSM document when you
7230
- * created an association and you edit the association by choosing a different document version on
7231
- * the Documents page, State Manager applies the association at the next specified cron interval if
7232
- * you previously selected this option. If this option wasn't selected, State Manager immediately
7233
- * runs the association.</p>
7234
- * <p>You can reset this option. To do so, specify the <code>no-apply-only-at-cron-interval</code>
7235
- * parameter when you update the association from the command line. This parameter forces the
7236
- * association to run immediately after updating it and according to the interval specified.</p>
7237
- */
7238
- ApplyOnlyAtCronInterval?: boolean;
7239
- /**
7240
- * <p>The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to
7241
- * gate your associations under. The associations only run when that change calendar is open. For
7242
- * more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar">Amazon Web Services Systems Manager Change
7243
- * Calendar</a>.</p>
7244
- */
7245
- CalendarNames?: string[];
7246
- /**
7247
- * <p>A location is a combination of Amazon Web Services Regions and Amazon Web Services accounts where you want to run the
7248
- * association. Use this action to update an association in multiple Regions and multiple
7249
- * accounts.</p>
7250
- */
7251
- TargetLocations?: TargetLocation[];
7252
- /**
7253
- * <p>Number of days to wait after the scheduled day to run an association. For example, if you
7254
- * specified a cron schedule of <code>cron(0 0 ? * THU#2 *)</code>, you could specify an offset of 3
7255
- * to run the association each Sunday after the second Thursday of the month. For more information
7256
- * 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
7257
- * and rate expressions for Systems Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. </p>
7258
- * <note>
7259
- * <p>To use offsets, you must specify the <code>ApplyOnlyAtCronInterval</code> parameter. This
7260
- * option tells the system not to run an association immediately after you create it. </p>
7261
- * </note>
7262
- */
7263
- ScheduleOffset?: number;
7264
- /**
7265
- * <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
7266
- * can't be specified together.</p>
7267
- */
7268
- TargetMaps?: Record<string, string[]>[];
7269
- /**
7270
- * <p>The details for the CloudWatch alarm you want to apply to an automation or command.</p>
7271
- */
7272
- AlarmConfiguration?: AlarmConfiguration;
7273
- }
7274
- export interface UpdateAssociationResult {
7275
- /**
7276
- * <p>The description of the association that was updated.</p>
7277
- */
7278
- AssociationDescription?: AssociationDescription;
7279
- }
7280
- /**
7281
- * <p>The updated status is the same as the current status.</p>
7452
+ * @internal
7282
7453
  */
7283
- export declare class StatusUnchanged extends __BaseException {
7284
- readonly name: "StatusUnchanged";
7285
- readonly $fault: "client";
7286
- /**
7287
- * @internal
7288
- */
7289
- constructor(opts: __ExceptionOptionType<StatusUnchanged, __BaseException>);
7290
- }
7291
- export interface UpdateAssociationStatusRequest {
7292
- /**
7293
- * <p>The name of the SSM document.</p>
7294
- */
7295
- Name: string | undefined;
7296
- /**
7297
- * <p>The managed node ID.</p>
7298
- */
7299
- InstanceId: string | undefined;
7300
- /**
7301
- * <p>The association status.</p>
7302
- */
7303
- AssociationStatus: AssociationStatus | undefined;
7304
- }
7305
- export interface UpdateAssociationStatusResult {
7306
- /**
7307
- * <p>Information about the association.</p>
7308
- */
7309
- AssociationDescription?: AssociationDescription;
7310
- }
7454
+ export declare const OpsItemFilterFilterSensitiveLog: (obj: OpsItemFilter) => any;
7311
7455
  /**
7312
- * <p>The document has too many versions. Delete one or more document versions and try
7313
- * again.</p>
7456
+ * @internal
7314
7457
  */
7315
- export declare class DocumentVersionLimitExceeded extends __BaseException {
7316
- readonly name: "DocumentVersionLimitExceeded";
7317
- readonly $fault: "client";
7318
- Message?: string;
7319
- /**
7320
- * @internal
7321
- */
7322
- constructor(opts: __ExceptionOptionType<DocumentVersionLimitExceeded, __BaseException>);
7323
- }
7458
+ export declare const DescribeOpsItemsRequestFilterSensitiveLog: (obj: DescribeOpsItemsRequest) => any;
7324
7459
  /**
7325
- * <p>The content of the association document matches another document. Change the content of the
7326
- * document and try again.</p>
7460
+ * @internal
7327
7461
  */
7328
- export declare class DuplicateDocumentContent extends __BaseException {
7329
- readonly name: "DuplicateDocumentContent";
7330
- readonly $fault: "client";
7331
- Message?: string;
7332
- /**
7333
- * @internal
7334
- */
7335
- constructor(opts: __ExceptionOptionType<DuplicateDocumentContent, __BaseException>);
7336
- }
7462
+ export declare const OpsItemSummaryFilterSensitiveLog: (obj: OpsItemSummary) => any;
7337
7463
  /**
7338
- * <p>The version name has already been used in this document. Specify a different version name,
7339
- * and then try again.</p>
7464
+ * @internal
7340
7465
  */
7341
- export declare class DuplicateDocumentVersionName extends __BaseException {
7342
- readonly name: "DuplicateDocumentVersionName";
7343
- readonly $fault: "client";
7344
- Message?: string;
7345
- /**
7346
- * @internal
7347
- */
7348
- constructor(opts: __ExceptionOptionType<DuplicateDocumentVersionName, __BaseException>);
7349
- }
7350
- export interface UpdateDocumentRequest {
7351
- /**
7352
- * <p>A valid JSON or YAML string.</p>
7353
- */
7354
- Content: string | undefined;
7355
- /**
7356
- * <p>A list of key-value pairs that describe attachments to a version of a document.</p>
7357
- */
7358
- Attachments?: AttachmentsSource[];
7359
- /**
7360
- * <p>The name of the SSM document that you want to update.</p>
7361
- */
7362
- Name: string | undefined;
7363
- /**
7364
- * <p>The friendly name of the SSM document that you want to update. This value can differ for
7365
- * each version of the document. If you don't specify a value for this parameter in your request,
7366
- * the existing value is applied to the new document version.</p>
7367
- */
7368
- DisplayName?: string;
7369
- /**
7370
- * <p>An optional field specifying the version of the artifact you are updating with the document.
7371
- * For example, "Release 12, Update 6". This value is unique across all versions of a document, and
7372
- * can't be changed.</p>
7373
- */
7374
- VersionName?: string;
7375
- /**
7376
- * <p>The version of the document that you want to update. Currently, Systems Manager supports updating only
7377
- * the latest version of the document. You can specify the version number of the latest version or
7378
- * use the <code>$LATEST</code> variable.</p>
7379
- * <note>
7380
- * <p>If you change a document version for a State Manager association, Systems Manager immediately runs
7381
- * the association unless you previously specifed the <code>apply-only-at-cron-interval</code>
7382
- * parameter.</p>
7383
- * </note>
7384
- */
7385
- DocumentVersion?: string;
7386
- /**
7387
- * <p>Specify the document format for the new document version. Systems Manager supports JSON and YAML
7388
- * documents. JSON is the default format.</p>
7389
- */
7390
- DocumentFormat?: DocumentFormat | string;
7391
- /**
7392
- * <p>Specify a new target type for the document.</p>
7393
- */
7394
- TargetType?: string;
7395
- }
7396
- export interface UpdateDocumentResult {
7397
- /**
7398
- * <p>A description of the document that was updated.</p>
7399
- */
7400
- DocumentDescription?: DocumentDescription;
7401
- }
7466
+ export declare const DescribeOpsItemsResponseFilterSensitiveLog: (obj: DescribeOpsItemsResponse) => any;
7402
7467
  /**
7403
7468
  * @internal
7404
7469
  */
@@ -7767,6 +7832,18 @@ export declare const GetPatchBaselineForPatchGroupRequestFilterSensitiveLog: (ob
7767
7832
  * @internal
7768
7833
  */
7769
7834
  export declare const GetPatchBaselineForPatchGroupResultFilterSensitiveLog: (obj: GetPatchBaselineForPatchGroupResult) => any;
7835
+ /**
7836
+ * @internal
7837
+ */
7838
+ export declare const GetResourcePoliciesRequestFilterSensitiveLog: (obj: GetResourcePoliciesRequest) => any;
7839
+ /**
7840
+ * @internal
7841
+ */
7842
+ export declare const GetResourcePoliciesResponseEntryFilterSensitiveLog: (obj: GetResourcePoliciesResponseEntry) => any;
7843
+ /**
7844
+ * @internal
7845
+ */
7846
+ export declare const GetResourcePoliciesResponseFilterSensitiveLog: (obj: GetResourcePoliciesResponse) => any;
7770
7847
  /**
7771
7848
  * @internal
7772
7849
  */
@@ -8079,6 +8156,14 @@ export declare const PutParameterRequestFilterSensitiveLog: (obj: PutParameterRe
8079
8156
  * @internal
8080
8157
  */
8081
8158
  export declare const PutParameterResultFilterSensitiveLog: (obj: PutParameterResult) => any;
8159
+ /**
8160
+ * @internal
8161
+ */
8162
+ export declare const PutResourcePolicyRequestFilterSensitiveLog: (obj: PutResourcePolicyRequest) => any;
8163
+ /**
8164
+ * @internal
8165
+ */
8166
+ export declare const PutResourcePolicyResponseFilterSensitiveLog: (obj: PutResourcePolicyResponse) => any;
8082
8167
  /**
8083
8168
  * @internal
8084
8169
  */
@@ -8207,27 +8292,3 @@ export declare const UnlabelParameterVersionRequestFilterSensitiveLog: (obj: Unl
8207
8292
  * @internal
8208
8293
  */
8209
8294
  export declare const UnlabelParameterVersionResultFilterSensitiveLog: (obj: UnlabelParameterVersionResult) => any;
8210
- /**
8211
- * @internal
8212
- */
8213
- export declare const UpdateAssociationRequestFilterSensitiveLog: (obj: UpdateAssociationRequest) => any;
8214
- /**
8215
- * @internal
8216
- */
8217
- export declare const UpdateAssociationResultFilterSensitiveLog: (obj: UpdateAssociationResult) => any;
8218
- /**
8219
- * @internal
8220
- */
8221
- export declare const UpdateAssociationStatusRequestFilterSensitiveLog: (obj: UpdateAssociationStatusRequest) => any;
8222
- /**
8223
- * @internal
8224
- */
8225
- export declare const UpdateAssociationStatusResultFilterSensitiveLog: (obj: UpdateAssociationStatusResult) => any;
8226
- /**
8227
- * @internal
8228
- */
8229
- export declare const UpdateDocumentRequestFilterSensitiveLog: (obj: UpdateDocumentRequest) => any;
8230
- /**
8231
- * @internal
8232
- */
8233
- export declare const UpdateDocumentResultFilterSensitiveLog: (obj: UpdateDocumentResult) => any;