aws-sdk-computeoptimizerautomation 1.0.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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-computeoptimizerautomation/client.rb +2239 -0
- data/lib/aws-sdk-computeoptimizerautomation/client_api.rb +1195 -0
- data/lib/aws-sdk-computeoptimizerautomation/customizations.rb +0 -0
- data/lib/aws-sdk-computeoptimizerautomation/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-computeoptimizerautomation/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-computeoptimizerautomation/endpoints.rb +20 -0
- data/lib/aws-sdk-computeoptimizerautomation/errors.rb +230 -0
- data/lib/aws-sdk-computeoptimizerautomation/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-computeoptimizerautomation/resource.rb +26 -0
- data/lib/aws-sdk-computeoptimizerautomation/types.rb +2554 -0
- data/lib/aws-sdk-computeoptimizerautomation/waiters.rb +15 -0
- data/lib/aws-sdk-computeoptimizerautomation.rb +62 -0
- data/sig/client.rbs +697 -0
- data/sig/errors.rbs +52 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +684 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
data/sig/types.rbs
ADDED
|
@@ -0,0 +1,684 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws::ComputeOptimizerAutomation
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class AccessDeniedException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class AccountInfo
|
|
17
|
+
attr_accessor account_id: ::String
|
|
18
|
+
attr_accessor status: ("Active" | "Inactive" | "Pending" | "Failed")
|
|
19
|
+
attr_accessor organization_rule_mode: ("AnyAllowed" | "NoneAllowed")
|
|
20
|
+
attr_accessor status_reason: ::String
|
|
21
|
+
attr_accessor last_updated_timestamp: ::Time
|
|
22
|
+
SENSITIVE: []
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
class AssociateAccountsRequest
|
|
26
|
+
attr_accessor account_ids: ::Array[::String]
|
|
27
|
+
attr_accessor client_token: ::String
|
|
28
|
+
SENSITIVE: []
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AssociateAccountsResponse
|
|
32
|
+
attr_accessor account_ids: ::Array[::String]
|
|
33
|
+
attr_accessor errors: ::Array[::String]
|
|
34
|
+
SENSITIVE: []
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class AutomationEvent
|
|
38
|
+
attr_accessor event_id: ::String
|
|
39
|
+
attr_accessor event_description: ::String
|
|
40
|
+
attr_accessor event_type: ("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")
|
|
41
|
+
attr_accessor event_status: ("Ready" | "InProgress" | "Complete" | "Failed" | "Cancelled" | "RollbackReady" | "RollbackInProgress" | "RollbackComplete" | "RollbackFailed")
|
|
42
|
+
attr_accessor event_status_reason: ::String
|
|
43
|
+
attr_accessor resource_arn: ::String
|
|
44
|
+
attr_accessor resource_id: ::String
|
|
45
|
+
attr_accessor recommended_action_id: ::String
|
|
46
|
+
attr_accessor account_id: ::String
|
|
47
|
+
attr_accessor region: ::String
|
|
48
|
+
attr_accessor rule_id: ::String
|
|
49
|
+
attr_accessor resource_type: ("EbsVolume")
|
|
50
|
+
attr_accessor created_timestamp: ::Time
|
|
51
|
+
attr_accessor completed_timestamp: ::Time
|
|
52
|
+
attr_accessor estimated_monthly_savings: Types::EstimatedMonthlySavings
|
|
53
|
+
SENSITIVE: []
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
class AutomationEventFilter
|
|
57
|
+
attr_accessor name: ("AccountId" | "ResourceType" | "EventType" | "EventStatus")
|
|
58
|
+
attr_accessor values: ::Array[::String]
|
|
59
|
+
SENSITIVE: []
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
class AutomationEventStep
|
|
63
|
+
attr_accessor event_id: ::String
|
|
64
|
+
attr_accessor step_id: ::String
|
|
65
|
+
attr_accessor step_type: ("CreateEbsSnapshot" | "DeleteEbsVolume" | "ModifyEbsVolume" | "CreateEbsVolume")
|
|
66
|
+
attr_accessor step_status: ("Ready" | "InProgress" | "Complete" | "Failed")
|
|
67
|
+
attr_accessor resource_id: ::String
|
|
68
|
+
attr_accessor start_timestamp: ::Time
|
|
69
|
+
attr_accessor completed_timestamp: ::Time
|
|
70
|
+
attr_accessor estimated_monthly_savings: Types::EstimatedMonthlySavings
|
|
71
|
+
SENSITIVE: []
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
class AutomationEventSummary
|
|
75
|
+
attr_accessor key: ::String
|
|
76
|
+
attr_accessor dimensions: ::Array[Types::SummaryDimension]
|
|
77
|
+
attr_accessor time_period: Types::TimePeriod
|
|
78
|
+
attr_accessor total: Types::SummaryTotals
|
|
79
|
+
SENSITIVE: []
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
class AutomationRule
|
|
83
|
+
attr_accessor rule_arn: ::String
|
|
84
|
+
attr_accessor rule_id: ::String
|
|
85
|
+
attr_accessor name: ::String
|
|
86
|
+
attr_accessor description: ::String
|
|
87
|
+
attr_accessor rule_type: ("OrganizationRule" | "AccountRule")
|
|
88
|
+
attr_accessor rule_revision: ::Integer
|
|
89
|
+
attr_accessor account_id: ::String
|
|
90
|
+
attr_accessor organization_configuration: Types::OrganizationConfiguration
|
|
91
|
+
attr_accessor priority: ::String
|
|
92
|
+
attr_accessor recommended_action_types: ::Array[("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")]
|
|
93
|
+
attr_accessor schedule: Types::Schedule
|
|
94
|
+
attr_accessor status: ("Active" | "Inactive")
|
|
95
|
+
attr_accessor created_timestamp: ::Time
|
|
96
|
+
attr_accessor last_updated_timestamp: ::Time
|
|
97
|
+
SENSITIVE: []
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
class CreateAutomationRuleRequest
|
|
101
|
+
attr_accessor name: ::String
|
|
102
|
+
attr_accessor description: ::String
|
|
103
|
+
attr_accessor rule_type: ("OrganizationRule" | "AccountRule")
|
|
104
|
+
attr_accessor organization_configuration: Types::OrganizationConfiguration
|
|
105
|
+
attr_accessor priority: ::String
|
|
106
|
+
attr_accessor recommended_action_types: ::Array[("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")]
|
|
107
|
+
attr_accessor criteria: Types::Criteria
|
|
108
|
+
attr_accessor schedule: Types::Schedule
|
|
109
|
+
attr_accessor status: ("Active" | "Inactive")
|
|
110
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
111
|
+
attr_accessor client_token: ::String
|
|
112
|
+
SENSITIVE: []
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class CreateAutomationRuleResponse
|
|
116
|
+
attr_accessor rule_arn: ::String
|
|
117
|
+
attr_accessor rule_id: ::String
|
|
118
|
+
attr_accessor name: ::String
|
|
119
|
+
attr_accessor description: ::String
|
|
120
|
+
attr_accessor rule_type: ("OrganizationRule" | "AccountRule")
|
|
121
|
+
attr_accessor rule_revision: ::Integer
|
|
122
|
+
attr_accessor organization_configuration: Types::OrganizationConfiguration
|
|
123
|
+
attr_accessor priority: ::String
|
|
124
|
+
attr_accessor recommended_action_types: ::Array[("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")]
|
|
125
|
+
attr_accessor criteria: Types::Criteria
|
|
126
|
+
attr_accessor schedule: Types::Schedule
|
|
127
|
+
attr_accessor status: ("Active" | "Inactive")
|
|
128
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
129
|
+
attr_accessor created_timestamp: ::Time
|
|
130
|
+
SENSITIVE: []
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
class Criteria
|
|
134
|
+
attr_accessor region: ::Array[Types::StringCriteriaCondition]
|
|
135
|
+
attr_accessor resource_arn: ::Array[Types::StringCriteriaCondition]
|
|
136
|
+
attr_accessor ebs_volume_type: ::Array[Types::StringCriteriaCondition]
|
|
137
|
+
attr_accessor ebs_volume_size_in_gib: ::Array[Types::IntegerCriteriaCondition]
|
|
138
|
+
attr_accessor estimated_monthly_savings: ::Array[Types::DoubleCriteriaCondition]
|
|
139
|
+
attr_accessor resource_tag: ::Array[Types::ResourceTagsCriteriaCondition]
|
|
140
|
+
attr_accessor look_back_period_in_days: ::Array[Types::IntegerCriteriaCondition]
|
|
141
|
+
attr_accessor restart_needed: ::Array[Types::StringCriteriaCondition]
|
|
142
|
+
SENSITIVE: []
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
class DeleteAutomationRuleRequest
|
|
146
|
+
attr_accessor rule_arn: ::String
|
|
147
|
+
attr_accessor rule_revision: ::Integer
|
|
148
|
+
attr_accessor client_token: ::String
|
|
149
|
+
SENSITIVE: []
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
class DeleteAutomationRuleResponse < Aws::EmptyStructure
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
class DisassociateAccountsRequest
|
|
156
|
+
attr_accessor account_ids: ::Array[::String]
|
|
157
|
+
attr_accessor client_token: ::String
|
|
158
|
+
SENSITIVE: []
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
class DisassociateAccountsResponse
|
|
162
|
+
attr_accessor account_ids: ::Array[::String]
|
|
163
|
+
attr_accessor errors: ::Array[::String]
|
|
164
|
+
SENSITIVE: []
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
class DoubleCriteriaCondition
|
|
168
|
+
attr_accessor comparison: ("StringEquals" | "StringNotEquals" | "StringEqualsIgnoreCase" | "StringNotEqualsIgnoreCase" | "StringLike" | "StringNotLike" | "NumericEquals" | "NumericNotEquals" | "NumericLessThan" | "NumericLessThanEquals" | "NumericGreaterThan" | "NumericGreaterThanEquals")
|
|
169
|
+
attr_accessor values: ::Array[::Float]
|
|
170
|
+
SENSITIVE: []
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
class EbsVolume
|
|
174
|
+
attr_accessor configuration: Types::EbsVolumeConfiguration
|
|
175
|
+
SENSITIVE: []
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
class EbsVolumeConfiguration
|
|
179
|
+
attr_accessor type: ::String
|
|
180
|
+
attr_accessor size_in_gib: ::Integer
|
|
181
|
+
attr_accessor iops: ::Integer
|
|
182
|
+
attr_accessor throughput: ::Integer
|
|
183
|
+
SENSITIVE: []
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
class EstimatedMonthlySavings
|
|
187
|
+
attr_accessor currency: ::String
|
|
188
|
+
attr_accessor before_discount_savings: ::Float
|
|
189
|
+
attr_accessor after_discount_savings: ::Float
|
|
190
|
+
attr_accessor savings_estimation_mode: ("BeforeDiscount" | "AfterDiscount")
|
|
191
|
+
SENSITIVE: []
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
class Filter
|
|
195
|
+
attr_accessor name: ("Name" | "RecommendedActionType" | "Status" | "RuleType" | "OrganizationConfigurationRuleApplyOrder" | "AccountId")
|
|
196
|
+
attr_accessor values: ::Array[::String]
|
|
197
|
+
SENSITIVE: []
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
class ForbiddenException
|
|
201
|
+
attr_accessor message: ::String
|
|
202
|
+
SENSITIVE: []
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class GetAutomationEventRequest
|
|
206
|
+
attr_accessor event_id: ::String
|
|
207
|
+
SENSITIVE: []
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
class GetAutomationEventResponse
|
|
211
|
+
attr_accessor event_id: ::String
|
|
212
|
+
attr_accessor event_description: ::String
|
|
213
|
+
attr_accessor event_type: ("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")
|
|
214
|
+
attr_accessor event_status: ("Ready" | "InProgress" | "Complete" | "Failed" | "Cancelled" | "RollbackReady" | "RollbackInProgress" | "RollbackComplete" | "RollbackFailed")
|
|
215
|
+
attr_accessor event_status_reason: ::String
|
|
216
|
+
attr_accessor resource_arn: ::String
|
|
217
|
+
attr_accessor resource_id: ::String
|
|
218
|
+
attr_accessor recommended_action_id: ::String
|
|
219
|
+
attr_accessor account_id: ::String
|
|
220
|
+
attr_accessor region: ::String
|
|
221
|
+
attr_accessor rule_id: ::String
|
|
222
|
+
attr_accessor resource_type: ("EbsVolume")
|
|
223
|
+
attr_accessor created_timestamp: ::Time
|
|
224
|
+
attr_accessor completed_timestamp: ::Time
|
|
225
|
+
attr_accessor estimated_monthly_savings: Types::EstimatedMonthlySavings
|
|
226
|
+
SENSITIVE: []
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
class GetAutomationRuleRequest
|
|
230
|
+
attr_accessor rule_arn: ::String
|
|
231
|
+
SENSITIVE: []
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
class GetAutomationRuleResponse
|
|
235
|
+
attr_accessor rule_arn: ::String
|
|
236
|
+
attr_accessor rule_id: ::String
|
|
237
|
+
attr_accessor name: ::String
|
|
238
|
+
attr_accessor description: ::String
|
|
239
|
+
attr_accessor rule_type: ("OrganizationRule" | "AccountRule")
|
|
240
|
+
attr_accessor rule_revision: ::Integer
|
|
241
|
+
attr_accessor account_id: ::String
|
|
242
|
+
attr_accessor organization_configuration: Types::OrganizationConfiguration
|
|
243
|
+
attr_accessor priority: ::String
|
|
244
|
+
attr_accessor recommended_action_types: ::Array[("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")]
|
|
245
|
+
attr_accessor criteria: Types::Criteria
|
|
246
|
+
attr_accessor schedule: Types::Schedule
|
|
247
|
+
attr_accessor status: ("Active" | "Inactive")
|
|
248
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
249
|
+
attr_accessor created_timestamp: ::Time
|
|
250
|
+
attr_accessor last_updated_timestamp: ::Time
|
|
251
|
+
SENSITIVE: []
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
class GetEnrollmentConfigurationRequest < Aws::EmptyStructure
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
class GetEnrollmentConfigurationResponse
|
|
258
|
+
attr_accessor status: ("Active" | "Inactive" | "Pending" | "Failed")
|
|
259
|
+
attr_accessor status_reason: ::String
|
|
260
|
+
attr_accessor organization_rule_mode: ("AnyAllowed" | "NoneAllowed")
|
|
261
|
+
attr_accessor last_updated_timestamp: ::Time
|
|
262
|
+
SENSITIVE: []
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
class IdempotencyTokenInUseException
|
|
266
|
+
attr_accessor message: ::String
|
|
267
|
+
SENSITIVE: []
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
class IdempotentParameterMismatchException
|
|
271
|
+
attr_accessor message: ::String
|
|
272
|
+
SENSITIVE: []
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
class IntegerCriteriaCondition
|
|
276
|
+
attr_accessor comparison: ("StringEquals" | "StringNotEquals" | "StringEqualsIgnoreCase" | "StringNotEqualsIgnoreCase" | "StringLike" | "StringNotLike" | "NumericEquals" | "NumericNotEquals" | "NumericLessThan" | "NumericLessThanEquals" | "NumericGreaterThan" | "NumericGreaterThanEquals")
|
|
277
|
+
attr_accessor values: ::Array[::Integer]
|
|
278
|
+
SENSITIVE: []
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
class InternalServerException
|
|
282
|
+
attr_accessor message: ::String
|
|
283
|
+
SENSITIVE: []
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
class InvalidParameterValueException
|
|
287
|
+
attr_accessor message: ::String
|
|
288
|
+
SENSITIVE: []
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
class ListAccountsRequest
|
|
292
|
+
attr_accessor max_results: ::Integer
|
|
293
|
+
attr_accessor next_token: ::String
|
|
294
|
+
SENSITIVE: []
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
class ListAccountsResponse
|
|
298
|
+
attr_accessor accounts: ::Array[Types::AccountInfo]
|
|
299
|
+
attr_accessor next_token: ::String
|
|
300
|
+
SENSITIVE: []
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
class ListAutomationEventStepsRequest
|
|
304
|
+
attr_accessor event_id: ::String
|
|
305
|
+
attr_accessor max_results: ::Integer
|
|
306
|
+
attr_accessor next_token: ::String
|
|
307
|
+
SENSITIVE: []
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
class ListAutomationEventStepsResponse
|
|
311
|
+
attr_accessor automation_event_steps: ::Array[Types::AutomationEventStep]
|
|
312
|
+
attr_accessor next_token: ::String
|
|
313
|
+
SENSITIVE: []
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
class ListAutomationEventSummariesRequest
|
|
317
|
+
attr_accessor filters: ::Array[Types::AutomationEventFilter]
|
|
318
|
+
attr_accessor start_date_inclusive: ::String
|
|
319
|
+
attr_accessor end_date_exclusive: ::String
|
|
320
|
+
attr_accessor max_results: ::Integer
|
|
321
|
+
attr_accessor next_token: ::String
|
|
322
|
+
SENSITIVE: []
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class ListAutomationEventSummariesResponse
|
|
326
|
+
attr_accessor automation_event_summaries: ::Array[Types::AutomationEventSummary]
|
|
327
|
+
attr_accessor next_token: ::String
|
|
328
|
+
SENSITIVE: []
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class ListAutomationEventsRequest
|
|
332
|
+
attr_accessor filters: ::Array[Types::AutomationEventFilter]
|
|
333
|
+
attr_accessor start_time_inclusive: ::Time
|
|
334
|
+
attr_accessor end_time_exclusive: ::Time
|
|
335
|
+
attr_accessor max_results: ::Integer
|
|
336
|
+
attr_accessor next_token: ::String
|
|
337
|
+
SENSITIVE: []
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
class ListAutomationEventsResponse
|
|
341
|
+
attr_accessor automation_events: ::Array[Types::AutomationEvent]
|
|
342
|
+
attr_accessor next_token: ::String
|
|
343
|
+
SENSITIVE: []
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
class ListAutomationRulePreviewRequest
|
|
347
|
+
attr_accessor rule_type: ("OrganizationRule" | "AccountRule")
|
|
348
|
+
attr_accessor organization_scope: Types::OrganizationScope
|
|
349
|
+
attr_accessor recommended_action_types: ::Array[("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")]
|
|
350
|
+
attr_accessor criteria: Types::Criteria
|
|
351
|
+
attr_accessor max_results: ::Integer
|
|
352
|
+
attr_accessor next_token: ::String
|
|
353
|
+
SENSITIVE: []
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
class ListAutomationRulePreviewResponse
|
|
357
|
+
attr_accessor preview_results: ::Array[Types::PreviewResult]
|
|
358
|
+
attr_accessor next_token: ::String
|
|
359
|
+
SENSITIVE: []
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
class ListAutomationRulePreviewSummariesRequest
|
|
363
|
+
attr_accessor rule_type: ("OrganizationRule" | "AccountRule")
|
|
364
|
+
attr_accessor organization_scope: Types::OrganizationScope
|
|
365
|
+
attr_accessor recommended_action_types: ::Array[("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")]
|
|
366
|
+
attr_accessor criteria: Types::Criteria
|
|
367
|
+
attr_accessor max_results: ::Integer
|
|
368
|
+
attr_accessor next_token: ::String
|
|
369
|
+
SENSITIVE: []
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
class ListAutomationRulePreviewSummariesResponse
|
|
373
|
+
attr_accessor preview_result_summaries: ::Array[Types::PreviewResultSummary]
|
|
374
|
+
attr_accessor next_token: ::String
|
|
375
|
+
SENSITIVE: []
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
class ListAutomationRulesRequest
|
|
379
|
+
attr_accessor filters: ::Array[Types::Filter]
|
|
380
|
+
attr_accessor max_results: ::Integer
|
|
381
|
+
attr_accessor next_token: ::String
|
|
382
|
+
SENSITIVE: []
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
class ListAutomationRulesResponse
|
|
386
|
+
attr_accessor automation_rules: ::Array[Types::AutomationRule]
|
|
387
|
+
attr_accessor next_token: ::String
|
|
388
|
+
SENSITIVE: []
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
class ListRecommendedActionSummariesRequest
|
|
392
|
+
attr_accessor filters: ::Array[Types::RecommendedActionFilter]
|
|
393
|
+
attr_accessor max_results: ::Integer
|
|
394
|
+
attr_accessor next_token: ::String
|
|
395
|
+
SENSITIVE: []
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
class ListRecommendedActionSummariesResponse
|
|
399
|
+
attr_accessor recommended_action_summaries: ::Array[Types::RecommendedActionSummary]
|
|
400
|
+
attr_accessor next_token: ::String
|
|
401
|
+
SENSITIVE: []
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
class ListRecommendedActionsRequest
|
|
405
|
+
attr_accessor filters: ::Array[Types::RecommendedActionFilter]
|
|
406
|
+
attr_accessor max_results: ::Integer
|
|
407
|
+
attr_accessor next_token: ::String
|
|
408
|
+
SENSITIVE: []
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
class ListRecommendedActionsResponse
|
|
412
|
+
attr_accessor recommended_actions: ::Array[Types::RecommendedAction]
|
|
413
|
+
attr_accessor next_token: ::String
|
|
414
|
+
SENSITIVE: []
|
|
415
|
+
end
|
|
416
|
+
|
|
417
|
+
class ListTagsForResourceRequest
|
|
418
|
+
attr_accessor resource_arn: ::String
|
|
419
|
+
SENSITIVE: []
|
|
420
|
+
end
|
|
421
|
+
|
|
422
|
+
class ListTagsForResourceResponse
|
|
423
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
424
|
+
SENSITIVE: []
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
class NotManagementAccountException
|
|
428
|
+
attr_accessor message: ::String
|
|
429
|
+
SENSITIVE: []
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
class OptInRequiredException
|
|
433
|
+
attr_accessor message: ::String
|
|
434
|
+
SENSITIVE: []
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
class OrganizationConfiguration
|
|
438
|
+
attr_accessor rule_apply_order: ("BeforeAccountRules" | "AfterAccountRules")
|
|
439
|
+
attr_accessor account_ids: ::Array[::String]
|
|
440
|
+
SENSITIVE: []
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
class OrganizationScope
|
|
444
|
+
attr_accessor account_ids: ::Array[::String]
|
|
445
|
+
SENSITIVE: []
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
class PreviewResult
|
|
449
|
+
attr_accessor recommended_action_id: ::String
|
|
450
|
+
attr_accessor resource_arn: ::String
|
|
451
|
+
attr_accessor resource_id: ::String
|
|
452
|
+
attr_accessor account_id: ::String
|
|
453
|
+
attr_accessor region: ::String
|
|
454
|
+
attr_accessor resource_type: ("EbsVolume")
|
|
455
|
+
attr_accessor look_back_period_in_days: ::Integer
|
|
456
|
+
attr_accessor recommended_action_type: ("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")
|
|
457
|
+
attr_accessor current_resource_summary: ::String
|
|
458
|
+
attr_accessor current_resource_details: Types::ResourceDetails
|
|
459
|
+
attr_accessor recommended_resource_summary: ::String
|
|
460
|
+
attr_accessor recommended_resource_details: Types::ResourceDetails
|
|
461
|
+
attr_accessor restart_needed: bool
|
|
462
|
+
attr_accessor estimated_monthly_savings: Types::EstimatedMonthlySavings
|
|
463
|
+
attr_accessor resource_tags: ::Array[Types::Tag]
|
|
464
|
+
SENSITIVE: []
|
|
465
|
+
end
|
|
466
|
+
|
|
467
|
+
class PreviewResultSummary
|
|
468
|
+
attr_accessor key: ::String
|
|
469
|
+
attr_accessor total: Types::RulePreviewTotal
|
|
470
|
+
SENSITIVE: []
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
class RecommendedAction
|
|
474
|
+
attr_accessor recommended_action_id: ::String
|
|
475
|
+
attr_accessor resource_arn: ::String
|
|
476
|
+
attr_accessor resource_id: ::String
|
|
477
|
+
attr_accessor account_id: ::String
|
|
478
|
+
attr_accessor region: ::String
|
|
479
|
+
attr_accessor resource_type: ("EbsVolume")
|
|
480
|
+
attr_accessor look_back_period_in_days: ::Integer
|
|
481
|
+
attr_accessor recommended_action_type: ("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")
|
|
482
|
+
attr_accessor current_resource_summary: ::String
|
|
483
|
+
attr_accessor current_resource_details: Types::ResourceDetails
|
|
484
|
+
attr_accessor recommended_resource_summary: ::String
|
|
485
|
+
attr_accessor recommended_resource_details: Types::ResourceDetails
|
|
486
|
+
attr_accessor restart_needed: bool
|
|
487
|
+
attr_accessor estimated_monthly_savings: Types::EstimatedMonthlySavings
|
|
488
|
+
attr_accessor resource_tags: ::Array[Types::Tag]
|
|
489
|
+
SENSITIVE: []
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
class RecommendedActionFilter
|
|
493
|
+
attr_accessor name: ("ResourceType" | "RecommendedActionType" | "ResourceId" | "LookBackPeriodInDays" | "CurrentResourceDetailsEbsVolumeType" | "ResourceTagsKey" | "ResourceTagsValue" | "AccountId" | "RestartNeeded")
|
|
494
|
+
attr_accessor values: ::Array[::String]
|
|
495
|
+
SENSITIVE: []
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
class RecommendedActionSummary
|
|
499
|
+
attr_accessor key: ::String
|
|
500
|
+
attr_accessor total: Types::RecommendedActionTotal
|
|
501
|
+
SENSITIVE: []
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
class RecommendedActionTotal
|
|
505
|
+
attr_accessor recommended_action_count: ::Integer
|
|
506
|
+
attr_accessor estimated_monthly_savings: Types::EstimatedMonthlySavings
|
|
507
|
+
SENSITIVE: []
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
class ResourceDetails
|
|
511
|
+
attr_accessor ebs_volume: Types::EbsVolume
|
|
512
|
+
attr_accessor unknown: untyped
|
|
513
|
+
SENSITIVE: []
|
|
514
|
+
|
|
515
|
+
class EbsVolume < ResourceDetails
|
|
516
|
+
end
|
|
517
|
+
class Unknown < ResourceDetails
|
|
518
|
+
end
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
class ResourceNotFoundException
|
|
522
|
+
attr_accessor message: ::String
|
|
523
|
+
SENSITIVE: []
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
class ResourceTagsCriteriaCondition
|
|
527
|
+
attr_accessor comparison: ("StringEquals" | "StringNotEquals" | "StringEqualsIgnoreCase" | "StringNotEqualsIgnoreCase" | "StringLike" | "StringNotLike" | "NumericEquals" | "NumericNotEquals" | "NumericLessThan" | "NumericLessThanEquals" | "NumericGreaterThan" | "NumericGreaterThanEquals")
|
|
528
|
+
attr_accessor key: ::String
|
|
529
|
+
attr_accessor values: ::Array[::String]
|
|
530
|
+
SENSITIVE: []
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
class RollbackAutomationEventRequest
|
|
534
|
+
attr_accessor event_id: ::String
|
|
535
|
+
attr_accessor client_token: ::String
|
|
536
|
+
SENSITIVE: []
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
class RollbackAutomationEventResponse
|
|
540
|
+
attr_accessor event_id: ::String
|
|
541
|
+
attr_accessor event_status: ("Ready" | "InProgress" | "Complete" | "Failed" | "Cancelled" | "RollbackReady" | "RollbackInProgress" | "RollbackComplete" | "RollbackFailed")
|
|
542
|
+
SENSITIVE: []
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
class RulePreviewTotal
|
|
546
|
+
attr_accessor recommended_action_count: ::Integer
|
|
547
|
+
attr_accessor estimated_monthly_savings: Types::EstimatedMonthlySavings
|
|
548
|
+
SENSITIVE: []
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
class Schedule
|
|
552
|
+
attr_accessor schedule_expression: ::String
|
|
553
|
+
attr_accessor schedule_expression_timezone: ::String
|
|
554
|
+
attr_accessor execution_window_in_minutes: ::Integer
|
|
555
|
+
SENSITIVE: []
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
class ServiceQuotaExceededException
|
|
559
|
+
attr_accessor message: ::String
|
|
560
|
+
SENSITIVE: []
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
class ServiceUnavailableException
|
|
564
|
+
attr_accessor message: ::String
|
|
565
|
+
SENSITIVE: []
|
|
566
|
+
end
|
|
567
|
+
|
|
568
|
+
class StartAutomationEventRequest
|
|
569
|
+
attr_accessor recommended_action_id: ::String
|
|
570
|
+
attr_accessor client_token: ::String
|
|
571
|
+
SENSITIVE: []
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
class StartAutomationEventResponse
|
|
575
|
+
attr_accessor recommended_action_id: ::String
|
|
576
|
+
attr_accessor event_id: ::String
|
|
577
|
+
attr_accessor event_status: ("Ready" | "InProgress" | "Complete" | "Failed" | "Cancelled" | "RollbackReady" | "RollbackInProgress" | "RollbackComplete" | "RollbackFailed")
|
|
578
|
+
SENSITIVE: []
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
class StringCriteriaCondition
|
|
582
|
+
attr_accessor comparison: ("StringEquals" | "StringNotEquals" | "StringEqualsIgnoreCase" | "StringNotEqualsIgnoreCase" | "StringLike" | "StringNotLike" | "NumericEquals" | "NumericNotEquals" | "NumericLessThan" | "NumericLessThanEquals" | "NumericGreaterThan" | "NumericGreaterThanEquals")
|
|
583
|
+
attr_accessor values: ::Array[::String]
|
|
584
|
+
SENSITIVE: []
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
class SummaryDimension
|
|
588
|
+
attr_accessor key: ("EventStatus")
|
|
589
|
+
attr_accessor value: ::String
|
|
590
|
+
SENSITIVE: []
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
class SummaryTotals
|
|
594
|
+
attr_accessor automation_event_count: ::Integer
|
|
595
|
+
attr_accessor estimated_monthly_savings: Types::EstimatedMonthlySavings
|
|
596
|
+
SENSITIVE: []
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
class Tag
|
|
600
|
+
attr_accessor key: ::String
|
|
601
|
+
attr_accessor value: ::String
|
|
602
|
+
SENSITIVE: []
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
class TagResourceRequest
|
|
606
|
+
attr_accessor resource_arn: ::String
|
|
607
|
+
attr_accessor rule_revision: ::Integer
|
|
608
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
609
|
+
attr_accessor client_token: ::String
|
|
610
|
+
SENSITIVE: []
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
class TagResourceResponse < Aws::EmptyStructure
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
class ThrottlingException
|
|
617
|
+
attr_accessor message: ::String
|
|
618
|
+
SENSITIVE: []
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
class TimePeriod
|
|
622
|
+
attr_accessor start_time_inclusive: ::Time
|
|
623
|
+
attr_accessor end_time_exclusive: ::Time
|
|
624
|
+
SENSITIVE: []
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
class UntagResourceRequest
|
|
628
|
+
attr_accessor resource_arn: ::String
|
|
629
|
+
attr_accessor rule_revision: ::Integer
|
|
630
|
+
attr_accessor tag_keys: ::Array[::String]
|
|
631
|
+
attr_accessor client_token: ::String
|
|
632
|
+
SENSITIVE: []
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
|
636
|
+
end
|
|
637
|
+
|
|
638
|
+
class UpdateAutomationRuleRequest
|
|
639
|
+
attr_accessor rule_arn: ::String
|
|
640
|
+
attr_accessor rule_revision: ::Integer
|
|
641
|
+
attr_accessor name: ::String
|
|
642
|
+
attr_accessor description: ::String
|
|
643
|
+
attr_accessor rule_type: ("OrganizationRule" | "AccountRule")
|
|
644
|
+
attr_accessor organization_configuration: Types::OrganizationConfiguration
|
|
645
|
+
attr_accessor priority: ::String
|
|
646
|
+
attr_accessor recommended_action_types: ::Array[("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")]
|
|
647
|
+
attr_accessor criteria: Types::Criteria
|
|
648
|
+
attr_accessor schedule: Types::Schedule
|
|
649
|
+
attr_accessor status: ("Active" | "Inactive")
|
|
650
|
+
attr_accessor client_token: ::String
|
|
651
|
+
SENSITIVE: []
|
|
652
|
+
end
|
|
653
|
+
|
|
654
|
+
class UpdateAutomationRuleResponse
|
|
655
|
+
attr_accessor rule_arn: ::String
|
|
656
|
+
attr_accessor rule_revision: ::Integer
|
|
657
|
+
attr_accessor name: ::String
|
|
658
|
+
attr_accessor description: ::String
|
|
659
|
+
attr_accessor rule_type: ("OrganizationRule" | "AccountRule")
|
|
660
|
+
attr_accessor organization_configuration: Types::OrganizationConfiguration
|
|
661
|
+
attr_accessor priority: ::String
|
|
662
|
+
attr_accessor recommended_action_types: ::Array[("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")]
|
|
663
|
+
attr_accessor criteria: Types::Criteria
|
|
664
|
+
attr_accessor schedule: Types::Schedule
|
|
665
|
+
attr_accessor status: ("Active" | "Inactive")
|
|
666
|
+
attr_accessor created_timestamp: ::Time
|
|
667
|
+
attr_accessor last_updated_timestamp: ::Time
|
|
668
|
+
SENSITIVE: []
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
class UpdateEnrollmentConfigurationRequest
|
|
672
|
+
attr_accessor status: ("Active" | "Inactive" | "Pending" | "Failed")
|
|
673
|
+
attr_accessor client_token: ::String
|
|
674
|
+
SENSITIVE: []
|
|
675
|
+
end
|
|
676
|
+
|
|
677
|
+
class UpdateEnrollmentConfigurationResponse
|
|
678
|
+
attr_accessor status: ("Active" | "Inactive" | "Pending" | "Failed")
|
|
679
|
+
attr_accessor status_reason: ::String
|
|
680
|
+
attr_accessor last_updated_timestamp: ::Time
|
|
681
|
+
SENSITIVE: []
|
|
682
|
+
end
|
|
683
|
+
end
|
|
684
|
+
end
|
data/sig/waiters.rbs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module ComputeOptimizerAutomation
|
|
10
|
+
module Waiters
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|