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.
@@ -0,0 +1,1195 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::ComputeOptimizerAutomation
12
+ # @api private
13
+ module ClientApi
14
+
15
+ include Seahorse::Model
16
+
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
19
+ AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
20
+ AccountInfo = Shapes::StructureShape.new(name: 'AccountInfo')
21
+ AccountInfoList = Shapes::ListShape.new(name: 'AccountInfoList')
22
+ AssociateAccountsRequest = Shapes::StructureShape.new(name: 'AssociateAccountsRequest')
23
+ AssociateAccountsResponse = Shapes::StructureShape.new(name: 'AssociateAccountsResponse')
24
+ AutomationEvent = Shapes::StructureShape.new(name: 'AutomationEvent')
25
+ AutomationEventFilter = Shapes::StructureShape.new(name: 'AutomationEventFilter')
26
+ AutomationEventFilterList = Shapes::ListShape.new(name: 'AutomationEventFilterList')
27
+ AutomationEventFilterName = Shapes::StringShape.new(name: 'AutomationEventFilterName')
28
+ AutomationEventStep = Shapes::StructureShape.new(name: 'AutomationEventStep')
29
+ AutomationEventSteps = Shapes::ListShape.new(name: 'AutomationEventSteps')
30
+ AutomationEventSummary = Shapes::StructureShape.new(name: 'AutomationEventSummary')
31
+ AutomationEventSummaryList = Shapes::ListShape.new(name: 'AutomationEventSummaryList')
32
+ AutomationEvents = Shapes::ListShape.new(name: 'AutomationEvents')
33
+ AutomationRule = Shapes::StructureShape.new(name: 'AutomationRule')
34
+ AutomationRuleFilterName = Shapes::StringShape.new(name: 'AutomationRuleFilterName')
35
+ AutomationRules = Shapes::ListShape.new(name: 'AutomationRules')
36
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
37
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
38
+ ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
39
+ CreateAutomationRuleRequest = Shapes::StructureShape.new(name: 'CreateAutomationRuleRequest')
40
+ CreateAutomationRuleResponse = Shapes::StructureShape.new(name: 'CreateAutomationRuleResponse')
41
+ Criteria = Shapes::StructureShape.new(name: 'Criteria')
42
+ DeleteAutomationRuleRequest = Shapes::StructureShape.new(name: 'DeleteAutomationRuleRequest')
43
+ DeleteAutomationRuleResponse = Shapes::StructureShape.new(name: 'DeleteAutomationRuleResponse')
44
+ DisassociateAccountsRequest = Shapes::StructureShape.new(name: 'DisassociateAccountsRequest')
45
+ DisassociateAccountsResponse = Shapes::StructureShape.new(name: 'DisassociateAccountsResponse')
46
+ Double = Shapes::FloatShape.new(name: 'Double')
47
+ DoubleCriteriaCondition = Shapes::StructureShape.new(name: 'DoubleCriteriaCondition')
48
+ DoubleCriteriaConditionList = Shapes::ListShape.new(name: 'DoubleCriteriaConditionList')
49
+ DoubleList = Shapes::ListShape.new(name: 'DoubleList')
50
+ EbsVolume = Shapes::StructureShape.new(name: 'EbsVolume')
51
+ EbsVolumeConfiguration = Shapes::StructureShape.new(name: 'EbsVolumeConfiguration')
52
+ EnrollmentStatus = Shapes::StringShape.new(name: 'EnrollmentStatus')
53
+ EstimatedMonthlySavings = Shapes::StructureShape.new(name: 'EstimatedMonthlySavings')
54
+ EventId = Shapes::StringShape.new(name: 'EventId')
55
+ EventStatus = Shapes::StringShape.new(name: 'EventStatus')
56
+ EventType = Shapes::StringShape.new(name: 'EventType')
57
+ Filter = Shapes::StructureShape.new(name: 'Filter')
58
+ FilterList = Shapes::ListShape.new(name: 'FilterList')
59
+ FilterValue = Shapes::StringShape.new(name: 'FilterValue')
60
+ FilterValues = Shapes::ListShape.new(name: 'FilterValues')
61
+ ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
62
+ GetAutomationEventRequest = Shapes::StructureShape.new(name: 'GetAutomationEventRequest')
63
+ GetAutomationEventResponse = Shapes::StructureShape.new(name: 'GetAutomationEventResponse')
64
+ GetAutomationRuleRequest = Shapes::StructureShape.new(name: 'GetAutomationRuleRequest')
65
+ GetAutomationRuleResponse = Shapes::StructureShape.new(name: 'GetAutomationRuleResponse')
66
+ GetEnrollmentConfigurationRequest = Shapes::StructureShape.new(name: 'GetEnrollmentConfigurationRequest')
67
+ GetEnrollmentConfigurationResponse = Shapes::StructureShape.new(name: 'GetEnrollmentConfigurationResponse')
68
+ IdempotencyTokenInUseException = Shapes::StructureShape.new(name: 'IdempotencyTokenInUseException')
69
+ IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
70
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
71
+ IntegerCriteriaCondition = Shapes::StructureShape.new(name: 'IntegerCriteriaCondition')
72
+ IntegerCriteriaConditionList = Shapes::ListShape.new(name: 'IntegerCriteriaConditionList')
73
+ IntegerList = Shapes::ListShape.new(name: 'IntegerList')
74
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
75
+ InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
76
+ ListAccountsRequest = Shapes::StructureShape.new(name: 'ListAccountsRequest')
77
+ ListAccountsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListAccountsRequestMaxResultsInteger')
78
+ ListAccountsResponse = Shapes::StructureShape.new(name: 'ListAccountsResponse')
79
+ ListAutomationEventStepsRequest = Shapes::StructureShape.new(name: 'ListAutomationEventStepsRequest')
80
+ ListAutomationEventStepsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListAutomationEventStepsRequestMaxResultsInteger')
81
+ ListAutomationEventStepsResponse = Shapes::StructureShape.new(name: 'ListAutomationEventStepsResponse')
82
+ ListAutomationEventSummariesRequest = Shapes::StructureShape.new(name: 'ListAutomationEventSummariesRequest')
83
+ ListAutomationEventSummariesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListAutomationEventSummariesRequestMaxResultsInteger')
84
+ ListAutomationEventSummariesResponse = Shapes::StructureShape.new(name: 'ListAutomationEventSummariesResponse')
85
+ ListAutomationEventsRequest = Shapes::StructureShape.new(name: 'ListAutomationEventsRequest')
86
+ ListAutomationEventsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListAutomationEventsRequestMaxResultsInteger')
87
+ ListAutomationEventsResponse = Shapes::StructureShape.new(name: 'ListAutomationEventsResponse')
88
+ ListAutomationRulePreviewRequest = Shapes::StructureShape.new(name: 'ListAutomationRulePreviewRequest')
89
+ ListAutomationRulePreviewRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListAutomationRulePreviewRequestMaxResultsInteger')
90
+ ListAutomationRulePreviewResponse = Shapes::StructureShape.new(name: 'ListAutomationRulePreviewResponse')
91
+ ListAutomationRulePreviewSummariesRequest = Shapes::StructureShape.new(name: 'ListAutomationRulePreviewSummariesRequest')
92
+ ListAutomationRulePreviewSummariesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListAutomationRulePreviewSummariesRequestMaxResultsInteger')
93
+ ListAutomationRulePreviewSummariesResponse = Shapes::StructureShape.new(name: 'ListAutomationRulePreviewSummariesResponse')
94
+ ListAutomationRulesRequest = Shapes::StructureShape.new(name: 'ListAutomationRulesRequest')
95
+ ListAutomationRulesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListAutomationRulesRequestMaxResultsInteger')
96
+ ListAutomationRulesResponse = Shapes::StructureShape.new(name: 'ListAutomationRulesResponse')
97
+ ListRecommendedActionSummariesRequest = Shapes::StructureShape.new(name: 'ListRecommendedActionSummariesRequest')
98
+ ListRecommendedActionSummariesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRecommendedActionSummariesRequestMaxResultsInteger')
99
+ ListRecommendedActionSummariesResponse = Shapes::StructureShape.new(name: 'ListRecommendedActionSummariesResponse')
100
+ ListRecommendedActionsRequest = Shapes::StructureShape.new(name: 'ListRecommendedActionsRequest')
101
+ ListRecommendedActionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRecommendedActionsRequestMaxResultsInteger')
102
+ ListRecommendedActionsResponse = Shapes::StructureShape.new(name: 'ListRecommendedActionsResponse')
103
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
104
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
105
+ Long = Shapes::IntegerShape.new(name: 'Long')
106
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
107
+ NotManagementAccountException = Shapes::StructureShape.new(name: 'NotManagementAccountException')
108
+ OptInRequiredException = Shapes::StructureShape.new(name: 'OptInRequiredException')
109
+ OrganizationConfiguration = Shapes::StructureShape.new(name: 'OrganizationConfiguration')
110
+ OrganizationConfigurationAccountIds = Shapes::ListShape.new(name: 'OrganizationConfigurationAccountIds')
111
+ OrganizationRuleMode = Shapes::StringShape.new(name: 'OrganizationRuleMode')
112
+ OrganizationScope = Shapes::StructureShape.new(name: 'OrganizationScope')
113
+ PreviewResult = Shapes::StructureShape.new(name: 'PreviewResult')
114
+ PreviewResultSummaries = Shapes::ListShape.new(name: 'PreviewResultSummaries')
115
+ PreviewResultSummary = Shapes::StructureShape.new(name: 'PreviewResultSummary')
116
+ PreviewResults = Shapes::ListShape.new(name: 'PreviewResults')
117
+ RecommendedAction = Shapes::StructureShape.new(name: 'RecommendedAction')
118
+ RecommendedActionFilter = Shapes::StructureShape.new(name: 'RecommendedActionFilter')
119
+ RecommendedActionFilterList = Shapes::ListShape.new(name: 'RecommendedActionFilterList')
120
+ RecommendedActionFilterName = Shapes::StringShape.new(name: 'RecommendedActionFilterName')
121
+ RecommendedActionId = Shapes::StringShape.new(name: 'RecommendedActionId')
122
+ RecommendedActionSummaries = Shapes::ListShape.new(name: 'RecommendedActionSummaries')
123
+ RecommendedActionSummary = Shapes::StructureShape.new(name: 'RecommendedActionSummary')
124
+ RecommendedActionTotal = Shapes::StructureShape.new(name: 'RecommendedActionTotal')
125
+ RecommendedActionType = Shapes::StringShape.new(name: 'RecommendedActionType')
126
+ RecommendedActionTypeList = Shapes::ListShape.new(name: 'RecommendedActionTypeList')
127
+ RecommendedActions = Shapes::ListShape.new(name: 'RecommendedActions')
128
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
129
+ ResourceDetails = Shapes::UnionShape.new(name: 'ResourceDetails')
130
+ ResourceId = Shapes::StringShape.new(name: 'ResourceId')
131
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
132
+ ResourceTagsCriteriaCondition = Shapes::StructureShape.new(name: 'ResourceTagsCriteriaCondition')
133
+ ResourceTagsCriteriaConditionList = Shapes::ListShape.new(name: 'ResourceTagsCriteriaConditionList')
134
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
135
+ RollbackAutomationEventRequest = Shapes::StructureShape.new(name: 'RollbackAutomationEventRequest')
136
+ RollbackAutomationEventResponse = Shapes::StructureShape.new(name: 'RollbackAutomationEventResponse')
137
+ RuleApplyOrder = Shapes::StringShape.new(name: 'RuleApplyOrder')
138
+ RuleArn = Shapes::StringShape.new(name: 'RuleArn')
139
+ RuleDescription = Shapes::StringShape.new(name: 'RuleDescription')
140
+ RuleId = Shapes::StringShape.new(name: 'RuleId')
141
+ RuleName = Shapes::StringShape.new(name: 'RuleName')
142
+ RulePreviewTotal = Shapes::StructureShape.new(name: 'RulePreviewTotal')
143
+ RuleStatus = Shapes::StringShape.new(name: 'RuleStatus')
144
+ RuleType = Shapes::StringShape.new(name: 'RuleType')
145
+ SavingsEstimationMode = Shapes::StringShape.new(name: 'SavingsEstimationMode')
146
+ Schedule = Shapes::StructureShape.new(name: 'Schedule')
147
+ ScheduleExecutionWindowInMinutesInteger = Shapes::IntegerShape.new(name: 'ScheduleExecutionWindowInMinutesInteger')
148
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
149
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
150
+ StartAutomationEventRequest = Shapes::StructureShape.new(name: 'StartAutomationEventRequest')
151
+ StartAutomationEventResponse = Shapes::StructureShape.new(name: 'StartAutomationEventResponse')
152
+ StepId = Shapes::StringShape.new(name: 'StepId')
153
+ StepStatus = Shapes::StringShape.new(name: 'StepStatus')
154
+ StepType = Shapes::StringShape.new(name: 'StepType')
155
+ String = Shapes::StringShape.new(name: 'String')
156
+ StringCriteriaCondition = Shapes::StructureShape.new(name: 'StringCriteriaCondition')
157
+ StringCriteriaConditionList = Shapes::ListShape.new(name: 'StringCriteriaConditionList')
158
+ StringCriteriaValue = Shapes::StringShape.new(name: 'StringCriteriaValue')
159
+ StringCriteriaValues = Shapes::ListShape.new(name: 'StringCriteriaValues')
160
+ StringList = Shapes::ListShape.new(name: 'StringList')
161
+ SummaryDimension = Shapes::StructureShape.new(name: 'SummaryDimension')
162
+ SummaryDimensionKey = Shapes::StringShape.new(name: 'SummaryDimensionKey')
163
+ SummaryDimensions = Shapes::ListShape.new(name: 'SummaryDimensions')
164
+ SummaryTotals = Shapes::StructureShape.new(name: 'SummaryTotals')
165
+ Tag = Shapes::StructureShape.new(name: 'Tag')
166
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
167
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
168
+ TagList = Shapes::ListShape.new(name: 'TagList')
169
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
170
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
171
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
172
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
173
+ TimePeriod = Shapes::StructureShape.new(name: 'TimePeriod')
174
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
175
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
176
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
177
+ UpdateAutomationRuleRequest = Shapes::StructureShape.new(name: 'UpdateAutomationRuleRequest')
178
+ UpdateAutomationRuleResponse = Shapes::StructureShape.new(name: 'UpdateAutomationRuleResponse')
179
+ UpdateEnrollmentConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateEnrollmentConfigurationRequest')
180
+ UpdateEnrollmentConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateEnrollmentConfigurationResponse')
181
+
182
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
183
+ AccessDeniedException.struct_class = Types::AccessDeniedException
184
+
185
+ AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId)
186
+
187
+ AccountInfo.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
188
+ AccountInfo.add_member(:status, Shapes::ShapeRef.new(shape: EnrollmentStatus, required: true, location_name: "status"))
189
+ AccountInfo.add_member(:organization_rule_mode, Shapes::ShapeRef.new(shape: OrganizationRuleMode, required: true, location_name: "organizationRuleMode"))
190
+ AccountInfo.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
191
+ AccountInfo.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedTimestamp"))
192
+ AccountInfo.struct_class = Types::AccountInfo
193
+
194
+ AccountInfoList.member = Shapes::ShapeRef.new(shape: AccountInfo)
195
+
196
+ AssociateAccountsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, required: true, location_name: "accountIds"))
197
+ AssociateAccountsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
198
+ AssociateAccountsRequest.struct_class = Types::AssociateAccountsRequest
199
+
200
+ AssociateAccountsResponse.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "accountIds"))
201
+ AssociateAccountsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: StringList, location_name: "errors"))
202
+ AssociateAccountsResponse.struct_class = Types::AssociateAccountsResponse
203
+
204
+ AutomationEvent.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "eventId"))
205
+ AutomationEvent.add_member(:event_description, Shapes::ShapeRef.new(shape: String, location_name: "eventDescription"))
206
+ AutomationEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "eventType"))
207
+ AutomationEvent.add_member(:event_status, Shapes::ShapeRef.new(shape: EventStatus, location_name: "eventStatus"))
208
+ AutomationEvent.add_member(:event_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "eventStatusReason"))
209
+ AutomationEvent.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
210
+ AutomationEvent.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
211
+ AutomationEvent.add_member(:recommended_action_id, Shapes::ShapeRef.new(shape: RecommendedActionId, location_name: "recommendedActionId"))
212
+ AutomationEvent.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
213
+ AutomationEvent.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
214
+ AutomationEvent.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, location_name: "ruleId"))
215
+ AutomationEvent.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
216
+ AutomationEvent.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTimestamp"))
217
+ AutomationEvent.add_member(:completed_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedTimestamp"))
218
+ AutomationEvent.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
219
+ AutomationEvent.struct_class = Types::AutomationEvent
220
+
221
+ AutomationEventFilter.add_member(:name, Shapes::ShapeRef.new(shape: AutomationEventFilterName, required: true, location_name: "name"))
222
+ AutomationEventFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
223
+ AutomationEventFilter.struct_class = Types::AutomationEventFilter
224
+
225
+ AutomationEventFilterList.member = Shapes::ShapeRef.new(shape: AutomationEventFilter)
226
+
227
+ AutomationEventStep.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "eventId"))
228
+ AutomationEventStep.add_member(:step_id, Shapes::ShapeRef.new(shape: StepId, location_name: "stepId"))
229
+ AutomationEventStep.add_member(:step_type, Shapes::ShapeRef.new(shape: StepType, location_name: "stepType"))
230
+ AutomationEventStep.add_member(:step_status, Shapes::ShapeRef.new(shape: StepStatus, location_name: "stepStatus"))
231
+ AutomationEventStep.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
232
+ AutomationEventStep.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTimestamp"))
233
+ AutomationEventStep.add_member(:completed_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedTimestamp"))
234
+ AutomationEventStep.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
235
+ AutomationEventStep.struct_class = Types::AutomationEventStep
236
+
237
+ AutomationEventSteps.member = Shapes::ShapeRef.new(shape: AutomationEventStep)
238
+
239
+ AutomationEventSummary.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
240
+ AutomationEventSummary.add_member(:dimensions, Shapes::ShapeRef.new(shape: SummaryDimensions, location_name: "dimensions"))
241
+ AutomationEventSummary.add_member(:time_period, Shapes::ShapeRef.new(shape: TimePeriod, location_name: "timePeriod"))
242
+ AutomationEventSummary.add_member(:total, Shapes::ShapeRef.new(shape: SummaryTotals, location_name: "total"))
243
+ AutomationEventSummary.struct_class = Types::AutomationEventSummary
244
+
245
+ AutomationEventSummaryList.member = Shapes::ShapeRef.new(shape: AutomationEventSummary)
246
+
247
+ AutomationEvents.member = Shapes::ShapeRef.new(shape: AutomationEvent)
248
+
249
+ AutomationRule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "ruleArn"))
250
+ AutomationRule.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, location_name: "ruleId"))
251
+ AutomationRule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "name"))
252
+ AutomationRule.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
253
+ AutomationRule.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, location_name: "ruleType"))
254
+ AutomationRule.add_member(:rule_revision, Shapes::ShapeRef.new(shape: Long, location_name: "ruleRevision"))
255
+ AutomationRule.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
256
+ AutomationRule.add_member(:organization_configuration, Shapes::ShapeRef.new(shape: OrganizationConfiguration, location_name: "organizationConfiguration"))
257
+ AutomationRule.add_member(:priority, Shapes::ShapeRef.new(shape: String, location_name: "priority"))
258
+ AutomationRule.add_member(:recommended_action_types, Shapes::ShapeRef.new(shape: RecommendedActionTypeList, location_name: "recommendedActionTypes"))
259
+ AutomationRule.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
260
+ AutomationRule.add_member(:status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "status"))
261
+ AutomationRule.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTimestamp"))
262
+ AutomationRule.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTimestamp"))
263
+ AutomationRule.struct_class = Types::AutomationRule
264
+
265
+ AutomationRules.member = Shapes::ShapeRef.new(shape: AutomationRule)
266
+
267
+ CreateAutomationRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "name"))
268
+ CreateAutomationRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "description"))
269
+ CreateAutomationRuleRequest.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, required: true, location_name: "ruleType"))
270
+ CreateAutomationRuleRequest.add_member(:organization_configuration, Shapes::ShapeRef.new(shape: OrganizationConfiguration, location_name: "organizationConfiguration"))
271
+ CreateAutomationRuleRequest.add_member(:priority, Shapes::ShapeRef.new(shape: String, location_name: "priority"))
272
+ CreateAutomationRuleRequest.add_member(:recommended_action_types, Shapes::ShapeRef.new(shape: RecommendedActionTypeList, required: true, location_name: "recommendedActionTypes"))
273
+ CreateAutomationRuleRequest.add_member(:criteria, Shapes::ShapeRef.new(shape: Criteria, location_name: "criteria"))
274
+ CreateAutomationRuleRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, required: true, location_name: "schedule"))
275
+ CreateAutomationRuleRequest.add_member(:status, Shapes::ShapeRef.new(shape: RuleStatus, required: true, location_name: "status"))
276
+ CreateAutomationRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
277
+ CreateAutomationRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
278
+ CreateAutomationRuleRequest.struct_class = Types::CreateAutomationRuleRequest
279
+
280
+ CreateAutomationRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "ruleArn"))
281
+ CreateAutomationRuleResponse.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, location_name: "ruleId"))
282
+ CreateAutomationRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "name"))
283
+ CreateAutomationRuleResponse.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
284
+ CreateAutomationRuleResponse.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, location_name: "ruleType"))
285
+ CreateAutomationRuleResponse.add_member(:rule_revision, Shapes::ShapeRef.new(shape: Long, location_name: "ruleRevision"))
286
+ CreateAutomationRuleResponse.add_member(:organization_configuration, Shapes::ShapeRef.new(shape: OrganizationConfiguration, location_name: "organizationConfiguration"))
287
+ CreateAutomationRuleResponse.add_member(:priority, Shapes::ShapeRef.new(shape: String, location_name: "priority"))
288
+ CreateAutomationRuleResponse.add_member(:recommended_action_types, Shapes::ShapeRef.new(shape: RecommendedActionTypeList, location_name: "recommendedActionTypes"))
289
+ CreateAutomationRuleResponse.add_member(:criteria, Shapes::ShapeRef.new(shape: Criteria, location_name: "criteria"))
290
+ CreateAutomationRuleResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
291
+ CreateAutomationRuleResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "status"))
292
+ CreateAutomationRuleResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
293
+ CreateAutomationRuleResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTimestamp"))
294
+ CreateAutomationRuleResponse.struct_class = Types::CreateAutomationRuleResponse
295
+
296
+ Criteria.add_member(:region, Shapes::ShapeRef.new(shape: StringCriteriaConditionList, location_name: "region"))
297
+ Criteria.add_member(:resource_arn, Shapes::ShapeRef.new(shape: StringCriteriaConditionList, location_name: "resourceArn"))
298
+ Criteria.add_member(:ebs_volume_type, Shapes::ShapeRef.new(shape: StringCriteriaConditionList, location_name: "ebsVolumeType"))
299
+ Criteria.add_member(:ebs_volume_size_in_gib, Shapes::ShapeRef.new(shape: IntegerCriteriaConditionList, location_name: "ebsVolumeSizeInGib"))
300
+ Criteria.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: DoubleCriteriaConditionList, location_name: "estimatedMonthlySavings"))
301
+ Criteria.add_member(:resource_tag, Shapes::ShapeRef.new(shape: ResourceTagsCriteriaConditionList, location_name: "resourceTag"))
302
+ Criteria.add_member(:look_back_period_in_days, Shapes::ShapeRef.new(shape: IntegerCriteriaConditionList, location_name: "lookBackPeriodInDays"))
303
+ Criteria.add_member(:restart_needed, Shapes::ShapeRef.new(shape: StringCriteriaConditionList, location_name: "restartNeeded"))
304
+ Criteria.struct_class = Types::Criteria
305
+
306
+ DeleteAutomationRuleRequest.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, required: true, location_name: "ruleArn"))
307
+ DeleteAutomationRuleRequest.add_member(:rule_revision, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ruleRevision"))
308
+ DeleteAutomationRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
309
+ DeleteAutomationRuleRequest.struct_class = Types::DeleteAutomationRuleRequest
310
+
311
+ DeleteAutomationRuleResponse.struct_class = Types::DeleteAutomationRuleResponse
312
+
313
+ DisassociateAccountsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, required: true, location_name: "accountIds"))
314
+ DisassociateAccountsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
315
+ DisassociateAccountsRequest.struct_class = Types::DisassociateAccountsRequest
316
+
317
+ DisassociateAccountsResponse.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "accountIds"))
318
+ DisassociateAccountsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: StringList, location_name: "errors"))
319
+ DisassociateAccountsResponse.struct_class = Types::DisassociateAccountsResponse
320
+
321
+ DoubleCriteriaCondition.add_member(:comparison, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "comparison"))
322
+ DoubleCriteriaCondition.add_member(:values, Shapes::ShapeRef.new(shape: DoubleList, location_name: "values"))
323
+ DoubleCriteriaCondition.struct_class = Types::DoubleCriteriaCondition
324
+
325
+ DoubleCriteriaConditionList.member = Shapes::ShapeRef.new(shape: DoubleCriteriaCondition)
326
+
327
+ DoubleList.member = Shapes::ShapeRef.new(shape: Double)
328
+
329
+ EbsVolume.add_member(:configuration, Shapes::ShapeRef.new(shape: EbsVolumeConfiguration, location_name: "configuration"))
330
+ EbsVolume.struct_class = Types::EbsVolume
331
+
332
+ EbsVolumeConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
333
+ EbsVolumeConfiguration.add_member(:size_in_gib, Shapes::ShapeRef.new(shape: Integer, location_name: "sizeInGib"))
334
+ EbsVolumeConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "iops"))
335
+ EbsVolumeConfiguration.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
336
+ EbsVolumeConfiguration.struct_class = Types::EbsVolumeConfiguration
337
+
338
+ EstimatedMonthlySavings.add_member(:currency, Shapes::ShapeRef.new(shape: String, required: true, location_name: "currency"))
339
+ EstimatedMonthlySavings.add_member(:before_discount_savings, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "beforeDiscountSavings"))
340
+ EstimatedMonthlySavings.add_member(:after_discount_savings, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "afterDiscountSavings"))
341
+ EstimatedMonthlySavings.add_member(:savings_estimation_mode, Shapes::ShapeRef.new(shape: SavingsEstimationMode, required: true, location_name: "savingsEstimationMode"))
342
+ EstimatedMonthlySavings.struct_class = Types::EstimatedMonthlySavings
343
+
344
+ Filter.add_member(:name, Shapes::ShapeRef.new(shape: AutomationRuleFilterName, required: true, location_name: "name"))
345
+ Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
346
+ Filter.struct_class = Types::Filter
347
+
348
+ FilterList.member = Shapes::ShapeRef.new(shape: Filter)
349
+
350
+ FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
351
+
352
+ ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
353
+ ForbiddenException.struct_class = Types::ForbiddenException
354
+
355
+ GetAutomationEventRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
356
+ GetAutomationEventRequest.struct_class = Types::GetAutomationEventRequest
357
+
358
+ GetAutomationEventResponse.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "eventId"))
359
+ GetAutomationEventResponse.add_member(:event_description, Shapes::ShapeRef.new(shape: String, location_name: "eventDescription"))
360
+ GetAutomationEventResponse.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "eventType"))
361
+ GetAutomationEventResponse.add_member(:event_status, Shapes::ShapeRef.new(shape: EventStatus, location_name: "eventStatus"))
362
+ GetAutomationEventResponse.add_member(:event_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "eventStatusReason"))
363
+ GetAutomationEventResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
364
+ GetAutomationEventResponse.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
365
+ GetAutomationEventResponse.add_member(:recommended_action_id, Shapes::ShapeRef.new(shape: RecommendedActionId, location_name: "recommendedActionId"))
366
+ GetAutomationEventResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
367
+ GetAutomationEventResponse.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
368
+ GetAutomationEventResponse.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, location_name: "ruleId"))
369
+ GetAutomationEventResponse.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
370
+ GetAutomationEventResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTimestamp"))
371
+ GetAutomationEventResponse.add_member(:completed_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedTimestamp"))
372
+ GetAutomationEventResponse.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
373
+ GetAutomationEventResponse.struct_class = Types::GetAutomationEventResponse
374
+
375
+ GetAutomationRuleRequest.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, required: true, location_name: "ruleArn"))
376
+ GetAutomationRuleRequest.struct_class = Types::GetAutomationRuleRequest
377
+
378
+ GetAutomationRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "ruleArn"))
379
+ GetAutomationRuleResponse.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, location_name: "ruleId"))
380
+ GetAutomationRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "name"))
381
+ GetAutomationRuleResponse.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
382
+ GetAutomationRuleResponse.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, location_name: "ruleType"))
383
+ GetAutomationRuleResponse.add_member(:rule_revision, Shapes::ShapeRef.new(shape: Long, location_name: "ruleRevision"))
384
+ GetAutomationRuleResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
385
+ GetAutomationRuleResponse.add_member(:organization_configuration, Shapes::ShapeRef.new(shape: OrganizationConfiguration, location_name: "organizationConfiguration"))
386
+ GetAutomationRuleResponse.add_member(:priority, Shapes::ShapeRef.new(shape: String, location_name: "priority"))
387
+ GetAutomationRuleResponse.add_member(:recommended_action_types, Shapes::ShapeRef.new(shape: RecommendedActionTypeList, location_name: "recommendedActionTypes"))
388
+ GetAutomationRuleResponse.add_member(:criteria, Shapes::ShapeRef.new(shape: Criteria, location_name: "criteria"))
389
+ GetAutomationRuleResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
390
+ GetAutomationRuleResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "status"))
391
+ GetAutomationRuleResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
392
+ GetAutomationRuleResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTimestamp"))
393
+ GetAutomationRuleResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTimestamp"))
394
+ GetAutomationRuleResponse.struct_class = Types::GetAutomationRuleResponse
395
+
396
+ GetEnrollmentConfigurationRequest.struct_class = Types::GetEnrollmentConfigurationRequest
397
+
398
+ GetEnrollmentConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: EnrollmentStatus, required: true, location_name: "status"))
399
+ GetEnrollmentConfigurationResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
400
+ GetEnrollmentConfigurationResponse.add_member(:organization_rule_mode, Shapes::ShapeRef.new(shape: OrganizationRuleMode, location_name: "organizationRuleMode"))
401
+ GetEnrollmentConfigurationResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTimestamp"))
402
+ GetEnrollmentConfigurationResponse.struct_class = Types::GetEnrollmentConfigurationResponse
403
+
404
+ IdempotencyTokenInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
405
+ IdempotencyTokenInUseException.struct_class = Types::IdempotencyTokenInUseException
406
+
407
+ IdempotentParameterMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
408
+ IdempotentParameterMismatchException.struct_class = Types::IdempotentParameterMismatchException
409
+
410
+ IntegerCriteriaCondition.add_member(:comparison, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "comparison"))
411
+ IntegerCriteriaCondition.add_member(:values, Shapes::ShapeRef.new(shape: IntegerList, location_name: "values"))
412
+ IntegerCriteriaCondition.struct_class = Types::IntegerCriteriaCondition
413
+
414
+ IntegerCriteriaConditionList.member = Shapes::ShapeRef.new(shape: IntegerCriteriaCondition)
415
+
416
+ IntegerList.member = Shapes::ShapeRef.new(shape: Integer)
417
+
418
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
419
+ InternalServerException.struct_class = Types::InternalServerException
420
+
421
+ InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
422
+ InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
423
+
424
+ ListAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAccountsRequestMaxResultsInteger, location_name: "maxResults"))
425
+ ListAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
426
+ ListAccountsRequest.struct_class = Types::ListAccountsRequest
427
+
428
+ ListAccountsResponse.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountInfoList, required: true, location_name: "accounts"))
429
+ ListAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
430
+ ListAccountsResponse.struct_class = Types::ListAccountsResponse
431
+
432
+ ListAutomationEventStepsRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
433
+ ListAutomationEventStepsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAutomationEventStepsRequestMaxResultsInteger, location_name: "maxResults"))
434
+ ListAutomationEventStepsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
435
+ ListAutomationEventStepsRequest.struct_class = Types::ListAutomationEventStepsRequest
436
+
437
+ ListAutomationEventStepsResponse.add_member(:automation_event_steps, Shapes::ShapeRef.new(shape: AutomationEventSteps, location_name: "automationEventSteps"))
438
+ ListAutomationEventStepsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
439
+ ListAutomationEventStepsResponse.struct_class = Types::ListAutomationEventStepsResponse
440
+
441
+ ListAutomationEventSummariesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: AutomationEventFilterList, location_name: "filters"))
442
+ ListAutomationEventSummariesRequest.add_member(:start_date_inclusive, Shapes::ShapeRef.new(shape: String, location_name: "startDateInclusive"))
443
+ ListAutomationEventSummariesRequest.add_member(:end_date_exclusive, Shapes::ShapeRef.new(shape: String, location_name: "endDateExclusive"))
444
+ ListAutomationEventSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAutomationEventSummariesRequestMaxResultsInteger, location_name: "maxResults"))
445
+ ListAutomationEventSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
446
+ ListAutomationEventSummariesRequest.struct_class = Types::ListAutomationEventSummariesRequest
447
+
448
+ ListAutomationEventSummariesResponse.add_member(:automation_event_summaries, Shapes::ShapeRef.new(shape: AutomationEventSummaryList, location_name: "automationEventSummaries"))
449
+ ListAutomationEventSummariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
450
+ ListAutomationEventSummariesResponse.struct_class = Types::ListAutomationEventSummariesResponse
451
+
452
+ ListAutomationEventsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: AutomationEventFilterList, location_name: "filters"))
453
+ ListAutomationEventsRequest.add_member(:start_time_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTimeInclusive"))
454
+ ListAutomationEventsRequest.add_member(:end_time_exclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTimeExclusive"))
455
+ ListAutomationEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAutomationEventsRequestMaxResultsInteger, location_name: "maxResults"))
456
+ ListAutomationEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
457
+ ListAutomationEventsRequest.struct_class = Types::ListAutomationEventsRequest
458
+
459
+ ListAutomationEventsResponse.add_member(:automation_events, Shapes::ShapeRef.new(shape: AutomationEvents, location_name: "automationEvents"))
460
+ ListAutomationEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
461
+ ListAutomationEventsResponse.struct_class = Types::ListAutomationEventsResponse
462
+
463
+ ListAutomationRulePreviewRequest.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, required: true, location_name: "ruleType"))
464
+ ListAutomationRulePreviewRequest.add_member(:organization_scope, Shapes::ShapeRef.new(shape: OrganizationScope, location_name: "organizationScope"))
465
+ ListAutomationRulePreviewRequest.add_member(:recommended_action_types, Shapes::ShapeRef.new(shape: RecommendedActionTypeList, required: true, location_name: "recommendedActionTypes"))
466
+ ListAutomationRulePreviewRequest.add_member(:criteria, Shapes::ShapeRef.new(shape: Criteria, location_name: "criteria"))
467
+ ListAutomationRulePreviewRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAutomationRulePreviewRequestMaxResultsInteger, location_name: "maxResults"))
468
+ ListAutomationRulePreviewRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
469
+ ListAutomationRulePreviewRequest.struct_class = Types::ListAutomationRulePreviewRequest
470
+
471
+ ListAutomationRulePreviewResponse.add_member(:preview_results, Shapes::ShapeRef.new(shape: PreviewResults, location_name: "previewResults"))
472
+ ListAutomationRulePreviewResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
473
+ ListAutomationRulePreviewResponse.struct_class = Types::ListAutomationRulePreviewResponse
474
+
475
+ ListAutomationRulePreviewSummariesRequest.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, required: true, location_name: "ruleType"))
476
+ ListAutomationRulePreviewSummariesRequest.add_member(:organization_scope, Shapes::ShapeRef.new(shape: OrganizationScope, location_name: "organizationScope"))
477
+ ListAutomationRulePreviewSummariesRequest.add_member(:recommended_action_types, Shapes::ShapeRef.new(shape: RecommendedActionTypeList, required: true, location_name: "recommendedActionTypes"))
478
+ ListAutomationRulePreviewSummariesRequest.add_member(:criteria, Shapes::ShapeRef.new(shape: Criteria, location_name: "criteria"))
479
+ ListAutomationRulePreviewSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAutomationRulePreviewSummariesRequestMaxResultsInteger, location_name: "maxResults"))
480
+ ListAutomationRulePreviewSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
481
+ ListAutomationRulePreviewSummariesRequest.struct_class = Types::ListAutomationRulePreviewSummariesRequest
482
+
483
+ ListAutomationRulePreviewSummariesResponse.add_member(:preview_result_summaries, Shapes::ShapeRef.new(shape: PreviewResultSummaries, location_name: "previewResultSummaries"))
484
+ ListAutomationRulePreviewSummariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
485
+ ListAutomationRulePreviewSummariesResponse.struct_class = Types::ListAutomationRulePreviewSummariesResponse
486
+
487
+ ListAutomationRulesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "filters"))
488
+ ListAutomationRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAutomationRulesRequestMaxResultsInteger, location_name: "maxResults"))
489
+ ListAutomationRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
490
+ ListAutomationRulesRequest.struct_class = Types::ListAutomationRulesRequest
491
+
492
+ ListAutomationRulesResponse.add_member(:automation_rules, Shapes::ShapeRef.new(shape: AutomationRules, location_name: "automationRules"))
493
+ ListAutomationRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
494
+ ListAutomationRulesResponse.struct_class = Types::ListAutomationRulesResponse
495
+
496
+ ListRecommendedActionSummariesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: RecommendedActionFilterList, location_name: "filters"))
497
+ ListRecommendedActionSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRecommendedActionSummariesRequestMaxResultsInteger, location_name: "maxResults"))
498
+ ListRecommendedActionSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
499
+ ListRecommendedActionSummariesRequest.struct_class = Types::ListRecommendedActionSummariesRequest
500
+
501
+ ListRecommendedActionSummariesResponse.add_member(:recommended_action_summaries, Shapes::ShapeRef.new(shape: RecommendedActionSummaries, location_name: "recommendedActionSummaries"))
502
+ ListRecommendedActionSummariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
503
+ ListRecommendedActionSummariesResponse.struct_class = Types::ListRecommendedActionSummariesResponse
504
+
505
+ ListRecommendedActionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: RecommendedActionFilterList, location_name: "filters"))
506
+ ListRecommendedActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRecommendedActionsRequestMaxResultsInteger, location_name: "maxResults"))
507
+ ListRecommendedActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
508
+ ListRecommendedActionsRequest.struct_class = Types::ListRecommendedActionsRequest
509
+
510
+ ListRecommendedActionsResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
511
+ ListRecommendedActionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
512
+ ListRecommendedActionsResponse.struct_class = Types::ListRecommendedActionsResponse
513
+
514
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RuleArn, required: true, location_name: "resourceArn"))
515
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
516
+
517
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
518
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
519
+
520
+ NotManagementAccountException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
521
+ NotManagementAccountException.struct_class = Types::NotManagementAccountException
522
+
523
+ OptInRequiredException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
524
+ OptInRequiredException.struct_class = Types::OptInRequiredException
525
+
526
+ OrganizationConfiguration.add_member(:rule_apply_order, Shapes::ShapeRef.new(shape: RuleApplyOrder, location_name: "ruleApplyOrder"))
527
+ OrganizationConfiguration.add_member(:account_ids, Shapes::ShapeRef.new(shape: OrganizationConfigurationAccountIds, location_name: "accountIds"))
528
+ OrganizationConfiguration.struct_class = Types::OrganizationConfiguration
529
+
530
+ OrganizationConfigurationAccountIds.member = Shapes::ShapeRef.new(shape: AccountId)
531
+
532
+ OrganizationScope.add_member(:account_ids, Shapes::ShapeRef.new(shape: OrganizationConfigurationAccountIds, location_name: "accountIds"))
533
+ OrganizationScope.struct_class = Types::OrganizationScope
534
+
535
+ PreviewResult.add_member(:recommended_action_id, Shapes::ShapeRef.new(shape: RecommendedActionId, location_name: "recommendedActionId"))
536
+ PreviewResult.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
537
+ PreviewResult.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
538
+ PreviewResult.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
539
+ PreviewResult.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
540
+ PreviewResult.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
541
+ PreviewResult.add_member(:look_back_period_in_days, Shapes::ShapeRef.new(shape: Integer, location_name: "lookBackPeriodInDays"))
542
+ PreviewResult.add_member(:recommended_action_type, Shapes::ShapeRef.new(shape: RecommendedActionType, location_name: "recommendedActionType"))
543
+ PreviewResult.add_member(:current_resource_summary, Shapes::ShapeRef.new(shape: String, location_name: "currentResourceSummary"))
544
+ PreviewResult.add_member(:current_resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "currentResourceDetails"))
545
+ PreviewResult.add_member(:recommended_resource_summary, Shapes::ShapeRef.new(shape: String, location_name: "recommendedResourceSummary"))
546
+ PreviewResult.add_member(:recommended_resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "recommendedResourceDetails"))
547
+ PreviewResult.add_member(:restart_needed, Shapes::ShapeRef.new(shape: Boolean, location_name: "restartNeeded"))
548
+ PreviewResult.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
549
+ PreviewResult.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "resourceTags"))
550
+ PreviewResult.struct_class = Types::PreviewResult
551
+
552
+ PreviewResultSummaries.member = Shapes::ShapeRef.new(shape: PreviewResultSummary)
553
+
554
+ PreviewResultSummary.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
555
+ PreviewResultSummary.add_member(:total, Shapes::ShapeRef.new(shape: RulePreviewTotal, required: true, location_name: "total"))
556
+ PreviewResultSummary.struct_class = Types::PreviewResultSummary
557
+
558
+ PreviewResults.member = Shapes::ShapeRef.new(shape: PreviewResult)
559
+
560
+ RecommendedAction.add_member(:recommended_action_id, Shapes::ShapeRef.new(shape: RecommendedActionId, location_name: "recommendedActionId"))
561
+ RecommendedAction.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
562
+ RecommendedAction.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
563
+ RecommendedAction.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
564
+ RecommendedAction.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
565
+ RecommendedAction.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
566
+ RecommendedAction.add_member(:look_back_period_in_days, Shapes::ShapeRef.new(shape: Integer, location_name: "lookBackPeriodInDays"))
567
+ RecommendedAction.add_member(:recommended_action_type, Shapes::ShapeRef.new(shape: RecommendedActionType, location_name: "recommendedActionType"))
568
+ RecommendedAction.add_member(:current_resource_summary, Shapes::ShapeRef.new(shape: String, location_name: "currentResourceSummary"))
569
+ RecommendedAction.add_member(:current_resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "currentResourceDetails"))
570
+ RecommendedAction.add_member(:recommended_resource_summary, Shapes::ShapeRef.new(shape: String, location_name: "recommendedResourceSummary"))
571
+ RecommendedAction.add_member(:recommended_resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "recommendedResourceDetails"))
572
+ RecommendedAction.add_member(:restart_needed, Shapes::ShapeRef.new(shape: Boolean, location_name: "restartNeeded"))
573
+ RecommendedAction.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
574
+ RecommendedAction.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "resourceTags"))
575
+ RecommendedAction.struct_class = Types::RecommendedAction
576
+
577
+ RecommendedActionFilter.add_member(:name, Shapes::ShapeRef.new(shape: RecommendedActionFilterName, required: true, location_name: "name"))
578
+ RecommendedActionFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
579
+ RecommendedActionFilter.struct_class = Types::RecommendedActionFilter
580
+
581
+ RecommendedActionFilterList.member = Shapes::ShapeRef.new(shape: RecommendedActionFilter)
582
+
583
+ RecommendedActionSummaries.member = Shapes::ShapeRef.new(shape: RecommendedActionSummary)
584
+
585
+ RecommendedActionSummary.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
586
+ RecommendedActionSummary.add_member(:total, Shapes::ShapeRef.new(shape: RecommendedActionTotal, required: true, location_name: "total"))
587
+ RecommendedActionSummary.struct_class = Types::RecommendedActionSummary
588
+
589
+ RecommendedActionTotal.add_member(:recommended_action_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "recommendedActionCount"))
590
+ RecommendedActionTotal.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, required: true, location_name: "estimatedMonthlySavings"))
591
+ RecommendedActionTotal.struct_class = Types::RecommendedActionTotal
592
+
593
+ RecommendedActionTypeList.member = Shapes::ShapeRef.new(shape: RecommendedActionType)
594
+
595
+ RecommendedActions.member = Shapes::ShapeRef.new(shape: RecommendedAction)
596
+
597
+ ResourceDetails.add_member(:ebs_volume, Shapes::ShapeRef.new(shape: EbsVolume, location_name: "ebsVolume"))
598
+ ResourceDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
599
+ ResourceDetails.add_member_subclass(:ebs_volume, Types::ResourceDetails::EbsVolume)
600
+ ResourceDetails.add_member_subclass(:unknown, Types::ResourceDetails::Unknown)
601
+ ResourceDetails.struct_class = Types::ResourceDetails
602
+
603
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
604
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
605
+
606
+ ResourceTagsCriteriaCondition.add_member(:comparison, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "comparison"))
607
+ ResourceTagsCriteriaCondition.add_member(:key, Shapes::ShapeRef.new(shape: StringCriteriaValue, location_name: "key"))
608
+ ResourceTagsCriteriaCondition.add_member(:values, Shapes::ShapeRef.new(shape: StringCriteriaValues, location_name: "values"))
609
+ ResourceTagsCriteriaCondition.struct_class = Types::ResourceTagsCriteriaCondition
610
+
611
+ ResourceTagsCriteriaConditionList.member = Shapes::ShapeRef.new(shape: ResourceTagsCriteriaCondition)
612
+
613
+ RollbackAutomationEventRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
614
+ RollbackAutomationEventRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
615
+ RollbackAutomationEventRequest.struct_class = Types::RollbackAutomationEventRequest
616
+
617
+ RollbackAutomationEventResponse.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "eventId"))
618
+ RollbackAutomationEventResponse.add_member(:event_status, Shapes::ShapeRef.new(shape: EventStatus, location_name: "eventStatus"))
619
+ RollbackAutomationEventResponse.struct_class = Types::RollbackAutomationEventResponse
620
+
621
+ RulePreviewTotal.add_member(:recommended_action_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "recommendedActionCount"))
622
+ RulePreviewTotal.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, required: true, location_name: "estimatedMonthlySavings"))
623
+ RulePreviewTotal.struct_class = Types::RulePreviewTotal
624
+
625
+ Schedule.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: String, location_name: "scheduleExpression"))
626
+ Schedule.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: String, location_name: "scheduleExpressionTimezone"))
627
+ Schedule.add_member(:execution_window_in_minutes, Shapes::ShapeRef.new(shape: ScheduleExecutionWindowInMinutesInteger, location_name: "executionWindowInMinutes"))
628
+ Schedule.struct_class = Types::Schedule
629
+
630
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
631
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
632
+
633
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
634
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
635
+
636
+ StartAutomationEventRequest.add_member(:recommended_action_id, Shapes::ShapeRef.new(shape: RecommendedActionId, required: true, location_name: "recommendedActionId"))
637
+ StartAutomationEventRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
638
+ StartAutomationEventRequest.struct_class = Types::StartAutomationEventRequest
639
+
640
+ StartAutomationEventResponse.add_member(:recommended_action_id, Shapes::ShapeRef.new(shape: RecommendedActionId, location_name: "recommendedActionId"))
641
+ StartAutomationEventResponse.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "eventId"))
642
+ StartAutomationEventResponse.add_member(:event_status, Shapes::ShapeRef.new(shape: EventStatus, location_name: "eventStatus"))
643
+ StartAutomationEventResponse.struct_class = Types::StartAutomationEventResponse
644
+
645
+ StringCriteriaCondition.add_member(:comparison, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "comparison"))
646
+ StringCriteriaCondition.add_member(:values, Shapes::ShapeRef.new(shape: StringCriteriaValues, location_name: "values"))
647
+ StringCriteriaCondition.struct_class = Types::StringCriteriaCondition
648
+
649
+ StringCriteriaConditionList.member = Shapes::ShapeRef.new(shape: StringCriteriaCondition)
650
+
651
+ StringCriteriaValues.member = Shapes::ShapeRef.new(shape: StringCriteriaValue)
652
+
653
+ StringList.member = Shapes::ShapeRef.new(shape: String)
654
+
655
+ SummaryDimension.add_member(:key, Shapes::ShapeRef.new(shape: SummaryDimensionKey, required: true, location_name: "key"))
656
+ SummaryDimension.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
657
+ SummaryDimension.struct_class = Types::SummaryDimension
658
+
659
+ SummaryDimensions.member = Shapes::ShapeRef.new(shape: SummaryDimension)
660
+
661
+ SummaryTotals.add_member(:automation_event_count, Shapes::ShapeRef.new(shape: Integer, location_name: "automationEventCount"))
662
+ SummaryTotals.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
663
+ SummaryTotals.struct_class = Types::SummaryTotals
664
+
665
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
666
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
667
+ Tag.struct_class = Types::Tag
668
+
669
+ TagKeyList.member = Shapes::ShapeRef.new(shape: String)
670
+
671
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
672
+
673
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RuleArn, required: true, location_name: "resourceArn"))
674
+ TagResourceRequest.add_member(:rule_revision, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ruleRevision"))
675
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
676
+ TagResourceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
677
+ TagResourceRequest.struct_class = Types::TagResourceRequest
678
+
679
+ TagResourceResponse.struct_class = Types::TagResourceResponse
680
+
681
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
682
+ ThrottlingException.struct_class = Types::ThrottlingException
683
+
684
+ TimePeriod.add_member(:start_time_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTimeInclusive"))
685
+ TimePeriod.add_member(:end_time_exclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTimeExclusive"))
686
+ TimePeriod.struct_class = Types::TimePeriod
687
+
688
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RuleArn, required: true, location_name: "resourceArn"))
689
+ UntagResourceRequest.add_member(:rule_revision, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ruleRevision"))
690
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
691
+ UntagResourceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
692
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
693
+
694
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
695
+
696
+ UpdateAutomationRuleRequest.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, required: true, location_name: "ruleArn"))
697
+ UpdateAutomationRuleRequest.add_member(:rule_revision, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ruleRevision"))
698
+ UpdateAutomationRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "name"))
699
+ UpdateAutomationRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "description"))
700
+ UpdateAutomationRuleRequest.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, location_name: "ruleType"))
701
+ UpdateAutomationRuleRequest.add_member(:organization_configuration, Shapes::ShapeRef.new(shape: OrganizationConfiguration, location_name: "organizationConfiguration"))
702
+ UpdateAutomationRuleRequest.add_member(:priority, Shapes::ShapeRef.new(shape: String, location_name: "priority"))
703
+ UpdateAutomationRuleRequest.add_member(:recommended_action_types, Shapes::ShapeRef.new(shape: RecommendedActionTypeList, location_name: "recommendedActionTypes"))
704
+ UpdateAutomationRuleRequest.add_member(:criteria, Shapes::ShapeRef.new(shape: Criteria, location_name: "criteria"))
705
+ UpdateAutomationRuleRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
706
+ UpdateAutomationRuleRequest.add_member(:status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "status"))
707
+ UpdateAutomationRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
708
+ UpdateAutomationRuleRequest.struct_class = Types::UpdateAutomationRuleRequest
709
+
710
+ UpdateAutomationRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "ruleArn"))
711
+ UpdateAutomationRuleResponse.add_member(:rule_revision, Shapes::ShapeRef.new(shape: Long, location_name: "ruleRevision"))
712
+ UpdateAutomationRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "name"))
713
+ UpdateAutomationRuleResponse.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
714
+ UpdateAutomationRuleResponse.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, location_name: "ruleType"))
715
+ UpdateAutomationRuleResponse.add_member(:organization_configuration, Shapes::ShapeRef.new(shape: OrganizationConfiguration, location_name: "organizationConfiguration"))
716
+ UpdateAutomationRuleResponse.add_member(:priority, Shapes::ShapeRef.new(shape: String, location_name: "priority"))
717
+ UpdateAutomationRuleResponse.add_member(:recommended_action_types, Shapes::ShapeRef.new(shape: RecommendedActionTypeList, location_name: "recommendedActionTypes"))
718
+ UpdateAutomationRuleResponse.add_member(:criteria, Shapes::ShapeRef.new(shape: Criteria, location_name: "criteria"))
719
+ UpdateAutomationRuleResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
720
+ UpdateAutomationRuleResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "status"))
721
+ UpdateAutomationRuleResponse.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTimestamp"))
722
+ UpdateAutomationRuleResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTimestamp"))
723
+ UpdateAutomationRuleResponse.struct_class = Types::UpdateAutomationRuleResponse
724
+
725
+ UpdateEnrollmentConfigurationRequest.add_member(:status, Shapes::ShapeRef.new(shape: EnrollmentStatus, required: true, location_name: "status"))
726
+ UpdateEnrollmentConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
727
+ UpdateEnrollmentConfigurationRequest.struct_class = Types::UpdateEnrollmentConfigurationRequest
728
+
729
+ UpdateEnrollmentConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: EnrollmentStatus, required: true, location_name: "status"))
730
+ UpdateEnrollmentConfigurationResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
731
+ UpdateEnrollmentConfigurationResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedTimestamp"))
732
+ UpdateEnrollmentConfigurationResponse.struct_class = Types::UpdateEnrollmentConfigurationResponse
733
+
734
+
735
+ # @api private
736
+ API = Seahorse::Model::Api.new.tap do |api|
737
+
738
+ api.version = "2025-09-22"
739
+
740
+ api.metadata = {
741
+ "apiVersion" => "2025-09-22",
742
+ "auth" => ["aws.auth#sigv4"],
743
+ "endpointPrefix" => "aco-automation",
744
+ "jsonVersion" => "1.0",
745
+ "protocol" => "json",
746
+ "protocols" => ["json"],
747
+ "serviceFullName" => "Compute Optimizer Automation",
748
+ "serviceId" => "Compute Optimizer Automation",
749
+ "signatureVersion" => "v4",
750
+ "signingName" => "aco-automation",
751
+ "targetPrefix" => "ComputeOptimizerAutomationService",
752
+ "uid" => "compute-optimizer-automation-2025-09-22",
753
+ }
754
+
755
+ api.add_operation(:associate_accounts, Seahorse::Model::Operation.new.tap do |o|
756
+ o.name = "AssociateAccounts"
757
+ o.http_method = "POST"
758
+ o.http_request_uri = "/"
759
+ o.input = Shapes::ShapeRef.new(shape: AssociateAccountsRequest)
760
+ o.output = Shapes::ShapeRef.new(shape: AssociateAccountsResponse)
761
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
762
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
763
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
764
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
765
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
766
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
767
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
768
+ o.errors << Shapes::ShapeRef.new(shape: NotManagementAccountException)
769
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
770
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
771
+ end)
772
+
773
+ api.add_operation(:create_automation_rule, Seahorse::Model::Operation.new.tap do |o|
774
+ o.name = "CreateAutomationRule"
775
+ o.http_method = "POST"
776
+ o.http_request_uri = "/"
777
+ o.input = Shapes::ShapeRef.new(shape: CreateAutomationRuleRequest)
778
+ o.output = Shapes::ShapeRef.new(shape: CreateAutomationRuleResponse)
779
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
781
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
782
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
783
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
784
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
785
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
786
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
787
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
788
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
789
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
790
+ end)
791
+
792
+ api.add_operation(:delete_automation_rule, Seahorse::Model::Operation.new.tap do |o|
793
+ o.name = "DeleteAutomationRule"
794
+ o.http_method = "POST"
795
+ o.http_request_uri = "/"
796
+ o.input = Shapes::ShapeRef.new(shape: DeleteAutomationRuleRequest)
797
+ o.output = Shapes::ShapeRef.new(shape: DeleteAutomationRuleResponse)
798
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
799
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
800
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
801
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
802
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
803
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
804
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
805
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
806
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
807
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
808
+ end)
809
+
810
+ api.add_operation(:disassociate_accounts, Seahorse::Model::Operation.new.tap do |o|
811
+ o.name = "DisassociateAccounts"
812
+ o.http_method = "POST"
813
+ o.http_request_uri = "/"
814
+ o.input = Shapes::ShapeRef.new(shape: DisassociateAccountsRequest)
815
+ o.output = Shapes::ShapeRef.new(shape: DisassociateAccountsResponse)
816
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
817
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
818
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
819
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
820
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
821
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
822
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
823
+ o.errors << Shapes::ShapeRef.new(shape: NotManagementAccountException)
824
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
825
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
826
+ end)
827
+
828
+ api.add_operation(:get_automation_event, Seahorse::Model::Operation.new.tap do |o|
829
+ o.name = "GetAutomationEvent"
830
+ o.http_method = "POST"
831
+ o.http_request_uri = "/"
832
+ o.input = Shapes::ShapeRef.new(shape: GetAutomationEventRequest)
833
+ o.output = Shapes::ShapeRef.new(shape: GetAutomationEventResponse)
834
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
835
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
836
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
837
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
838
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
839
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
840
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
841
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
842
+ end)
843
+
844
+ api.add_operation(:get_automation_rule, Seahorse::Model::Operation.new.tap do |o|
845
+ o.name = "GetAutomationRule"
846
+ o.http_method = "POST"
847
+ o.http_request_uri = "/"
848
+ o.input = Shapes::ShapeRef.new(shape: GetAutomationRuleRequest)
849
+ o.output = Shapes::ShapeRef.new(shape: GetAutomationRuleResponse)
850
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
851
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
852
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
853
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
854
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
855
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
856
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
857
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
858
+ end)
859
+
860
+ api.add_operation(:get_enrollment_configuration, Seahorse::Model::Operation.new.tap do |o|
861
+ o.name = "GetEnrollmentConfiguration"
862
+ o.http_method = "POST"
863
+ o.http_request_uri = "/"
864
+ o.input = Shapes::ShapeRef.new(shape: GetEnrollmentConfigurationRequest)
865
+ o.output = Shapes::ShapeRef.new(shape: GetEnrollmentConfigurationResponse)
866
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
867
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
868
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
869
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
870
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
871
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
872
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
873
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
874
+ end)
875
+
876
+ api.add_operation(:list_accounts, Seahorse::Model::Operation.new.tap do |o|
877
+ o.name = "ListAccounts"
878
+ o.http_method = "POST"
879
+ o.http_request_uri = "/"
880
+ o.input = Shapes::ShapeRef.new(shape: ListAccountsRequest)
881
+ o.output = Shapes::ShapeRef.new(shape: ListAccountsResponse)
882
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
883
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
884
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
885
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
886
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
887
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
888
+ o.errors << Shapes::ShapeRef.new(shape: NotManagementAccountException)
889
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
890
+ o[:pager] = Aws::Pager.new(
891
+ limit_key: "max_results",
892
+ tokens: {
893
+ "next_token" => "next_token"
894
+ }
895
+ )
896
+ end)
897
+
898
+ api.add_operation(:list_automation_event_steps, Seahorse::Model::Operation.new.tap do |o|
899
+ o.name = "ListAutomationEventSteps"
900
+ o.http_method = "POST"
901
+ o.http_request_uri = "/"
902
+ o.input = Shapes::ShapeRef.new(shape: ListAutomationEventStepsRequest)
903
+ o.output = Shapes::ShapeRef.new(shape: ListAutomationEventStepsResponse)
904
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
905
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
906
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
907
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
908
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
909
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
910
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
911
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
912
+ o[:pager] = Aws::Pager.new(
913
+ limit_key: "max_results",
914
+ tokens: {
915
+ "next_token" => "next_token"
916
+ }
917
+ )
918
+ end)
919
+
920
+ api.add_operation(:list_automation_event_summaries, Seahorse::Model::Operation.new.tap do |o|
921
+ o.name = "ListAutomationEventSummaries"
922
+ o.http_method = "POST"
923
+ o.http_request_uri = "/"
924
+ o.input = Shapes::ShapeRef.new(shape: ListAutomationEventSummariesRequest)
925
+ o.output = Shapes::ShapeRef.new(shape: ListAutomationEventSummariesResponse)
926
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
927
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
928
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
929
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
930
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
931
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
932
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
933
+ o[:pager] = Aws::Pager.new(
934
+ limit_key: "max_results",
935
+ tokens: {
936
+ "next_token" => "next_token"
937
+ }
938
+ )
939
+ end)
940
+
941
+ api.add_operation(:list_automation_events, Seahorse::Model::Operation.new.tap do |o|
942
+ o.name = "ListAutomationEvents"
943
+ o.http_method = "POST"
944
+ o.http_request_uri = "/"
945
+ o.input = Shapes::ShapeRef.new(shape: ListAutomationEventsRequest)
946
+ o.output = Shapes::ShapeRef.new(shape: ListAutomationEventsResponse)
947
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
948
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
949
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
950
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
951
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
952
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
953
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
954
+ o[:pager] = Aws::Pager.new(
955
+ limit_key: "max_results",
956
+ tokens: {
957
+ "next_token" => "next_token"
958
+ }
959
+ )
960
+ end)
961
+
962
+ api.add_operation(:list_automation_rule_preview, Seahorse::Model::Operation.new.tap do |o|
963
+ o.name = "ListAutomationRulePreview"
964
+ o.http_method = "POST"
965
+ o.http_request_uri = "/"
966
+ o.input = Shapes::ShapeRef.new(shape: ListAutomationRulePreviewRequest)
967
+ o.output = Shapes::ShapeRef.new(shape: ListAutomationRulePreviewResponse)
968
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
969
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
970
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
971
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
972
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
973
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
974
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
975
+ o[:pager] = Aws::Pager.new(
976
+ limit_key: "max_results",
977
+ tokens: {
978
+ "next_token" => "next_token"
979
+ }
980
+ )
981
+ end)
982
+
983
+ api.add_operation(:list_automation_rule_preview_summaries, Seahorse::Model::Operation.new.tap do |o|
984
+ o.name = "ListAutomationRulePreviewSummaries"
985
+ o.http_method = "POST"
986
+ o.http_request_uri = "/"
987
+ o.input = Shapes::ShapeRef.new(shape: ListAutomationRulePreviewSummariesRequest)
988
+ o.output = Shapes::ShapeRef.new(shape: ListAutomationRulePreviewSummariesResponse)
989
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
990
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
991
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
992
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
993
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
994
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
995
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
996
+ o[:pager] = Aws::Pager.new(
997
+ limit_key: "max_results",
998
+ tokens: {
999
+ "next_token" => "next_token"
1000
+ }
1001
+ )
1002
+ end)
1003
+
1004
+ api.add_operation(:list_automation_rules, Seahorse::Model::Operation.new.tap do |o|
1005
+ o.name = "ListAutomationRules"
1006
+ o.http_method = "POST"
1007
+ o.http_request_uri = "/"
1008
+ o.input = Shapes::ShapeRef.new(shape: ListAutomationRulesRequest)
1009
+ o.output = Shapes::ShapeRef.new(shape: ListAutomationRulesResponse)
1010
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1011
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1012
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1013
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1014
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1015
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1016
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1017
+ o[:pager] = Aws::Pager.new(
1018
+ limit_key: "max_results",
1019
+ tokens: {
1020
+ "next_token" => "next_token"
1021
+ }
1022
+ )
1023
+ end)
1024
+
1025
+ api.add_operation(:list_recommended_action_summaries, Seahorse::Model::Operation.new.tap do |o|
1026
+ o.name = "ListRecommendedActionSummaries"
1027
+ o.http_method = "POST"
1028
+ o.http_request_uri = "/"
1029
+ o.input = Shapes::ShapeRef.new(shape: ListRecommendedActionSummariesRequest)
1030
+ o.output = Shapes::ShapeRef.new(shape: ListRecommendedActionSummariesResponse)
1031
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1032
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1033
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1034
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1036
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1038
+ o[:pager] = Aws::Pager.new(
1039
+ limit_key: "max_results",
1040
+ tokens: {
1041
+ "next_token" => "next_token"
1042
+ }
1043
+ )
1044
+ end)
1045
+
1046
+ api.add_operation(:list_recommended_actions, Seahorse::Model::Operation.new.tap do |o|
1047
+ o.name = "ListRecommendedActions"
1048
+ o.http_method = "POST"
1049
+ o.http_request_uri = "/"
1050
+ o.input = Shapes::ShapeRef.new(shape: ListRecommendedActionsRequest)
1051
+ o.output = Shapes::ShapeRef.new(shape: ListRecommendedActionsResponse)
1052
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1053
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1054
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1055
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1056
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1057
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1058
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1059
+ o[:pager] = Aws::Pager.new(
1060
+ limit_key: "max_results",
1061
+ tokens: {
1062
+ "next_token" => "next_token"
1063
+ }
1064
+ )
1065
+ end)
1066
+
1067
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1068
+ o.name = "ListTagsForResource"
1069
+ o.http_method = "POST"
1070
+ o.http_request_uri = "/"
1071
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1072
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1073
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1074
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1075
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1076
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1077
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1078
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1080
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1081
+ end)
1082
+
1083
+ api.add_operation(:rollback_automation_event, Seahorse::Model::Operation.new.tap do |o|
1084
+ o.name = "RollbackAutomationEvent"
1085
+ o.http_method = "POST"
1086
+ o.http_request_uri = "/"
1087
+ o.input = Shapes::ShapeRef.new(shape: RollbackAutomationEventRequest)
1088
+ o.output = Shapes::ShapeRef.new(shape: RollbackAutomationEventResponse)
1089
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1090
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1091
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1092
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1094
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
1095
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1096
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
1099
+ end)
1100
+
1101
+ api.add_operation(:start_automation_event, Seahorse::Model::Operation.new.tap do |o|
1102
+ o.name = "StartAutomationEvent"
1103
+ o.http_method = "POST"
1104
+ o.http_request_uri = "/"
1105
+ o.input = Shapes::ShapeRef.new(shape: StartAutomationEventRequest)
1106
+ o.output = Shapes::ShapeRef.new(shape: StartAutomationEventResponse)
1107
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1108
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1109
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1110
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1111
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
1112
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1114
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1115
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1116
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1118
+ end)
1119
+
1120
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1121
+ o.name = "TagResource"
1122
+ o.http_method = "POST"
1123
+ o.http_request_uri = "/"
1124
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1125
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1126
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1127
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1128
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1129
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1130
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1131
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1133
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1134
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1135
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
1136
+ end)
1137
+
1138
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1139
+ o.name = "UntagResource"
1140
+ o.http_method = "POST"
1141
+ o.http_request_uri = "/"
1142
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1143
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1144
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1145
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1146
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1148
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1149
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
1150
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1151
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1153
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
1154
+ end)
1155
+
1156
+ api.add_operation(:update_automation_rule, Seahorse::Model::Operation.new.tap do |o|
1157
+ o.name = "UpdateAutomationRule"
1158
+ o.http_method = "POST"
1159
+ o.http_request_uri = "/"
1160
+ o.input = Shapes::ShapeRef.new(shape: UpdateAutomationRuleRequest)
1161
+ o.output = Shapes::ShapeRef.new(shape: UpdateAutomationRuleResponse)
1162
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1163
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1164
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1165
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1166
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1167
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
1168
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1169
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1170
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1171
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
1172
+ end)
1173
+
1174
+ api.add_operation(:update_enrollment_configuration, Seahorse::Model::Operation.new.tap do |o|
1175
+ o.name = "UpdateEnrollmentConfiguration"
1176
+ o.http_method = "POST"
1177
+ o.http_request_uri = "/"
1178
+ o.input = Shapes::ShapeRef.new(shape: UpdateEnrollmentConfigurationRequest)
1179
+ o.output = Shapes::ShapeRef.new(shape: UpdateEnrollmentConfigurationResponse)
1180
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1181
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1182
+ o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
1183
+ o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
1184
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1185
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1186
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1187
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1188
+ o.errors << Shapes::ShapeRef.new(shape: NotManagementAccountException)
1189
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1190
+ o.errors << Shapes::ShapeRef.new(shape: IdempotencyTokenInUseException)
1191
+ end)
1192
+ end
1193
+
1194
+ end
1195
+ end