aws-sdk-support 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,528 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Support
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ AddAttachmentsToSetRequest = Shapes::StructureShape.new(name: 'AddAttachmentsToSetRequest')
16
+ AddAttachmentsToSetResponse = Shapes::StructureShape.new(name: 'AddAttachmentsToSetResponse')
17
+ AddCommunicationToCaseRequest = Shapes::StructureShape.new(name: 'AddCommunicationToCaseRequest')
18
+ AddCommunicationToCaseResponse = Shapes::StructureShape.new(name: 'AddCommunicationToCaseResponse')
19
+ AfterTime = Shapes::StringShape.new(name: 'AfterTime')
20
+ Attachment = Shapes::StructureShape.new(name: 'Attachment')
21
+ AttachmentDetails = Shapes::StructureShape.new(name: 'AttachmentDetails')
22
+ AttachmentId = Shapes::StringShape.new(name: 'AttachmentId')
23
+ AttachmentIdNotFound = Shapes::StructureShape.new(name: 'AttachmentIdNotFound')
24
+ AttachmentLimitExceeded = Shapes::StructureShape.new(name: 'AttachmentLimitExceeded')
25
+ AttachmentSet = Shapes::ListShape.new(name: 'AttachmentSet')
26
+ AttachmentSetExpired = Shapes::StructureShape.new(name: 'AttachmentSetExpired')
27
+ AttachmentSetId = Shapes::StringShape.new(name: 'AttachmentSetId')
28
+ AttachmentSetIdNotFound = Shapes::StructureShape.new(name: 'AttachmentSetIdNotFound')
29
+ AttachmentSetSizeLimitExceeded = Shapes::StructureShape.new(name: 'AttachmentSetSizeLimitExceeded')
30
+ Attachments = Shapes::ListShape.new(name: 'Attachments')
31
+ BeforeTime = Shapes::StringShape.new(name: 'BeforeTime')
32
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
33
+ CaseCreationLimitExceeded = Shapes::StructureShape.new(name: 'CaseCreationLimitExceeded')
34
+ CaseDetails = Shapes::StructureShape.new(name: 'CaseDetails')
35
+ CaseId = Shapes::StringShape.new(name: 'CaseId')
36
+ CaseIdList = Shapes::ListShape.new(name: 'CaseIdList')
37
+ CaseIdNotFound = Shapes::StructureShape.new(name: 'CaseIdNotFound')
38
+ CaseList = Shapes::ListShape.new(name: 'CaseList')
39
+ CaseStatus = Shapes::StringShape.new(name: 'CaseStatus')
40
+ Category = Shapes::StructureShape.new(name: 'Category')
41
+ CategoryCode = Shapes::StringShape.new(name: 'CategoryCode')
42
+ CategoryList = Shapes::ListShape.new(name: 'CategoryList')
43
+ CategoryName = Shapes::StringShape.new(name: 'CategoryName')
44
+ CcEmailAddress = Shapes::StringShape.new(name: 'CcEmailAddress')
45
+ CcEmailAddressList = Shapes::ListShape.new(name: 'CcEmailAddressList')
46
+ Communication = Shapes::StructureShape.new(name: 'Communication')
47
+ CommunicationBody = Shapes::StringShape.new(name: 'CommunicationBody')
48
+ CommunicationList = Shapes::ListShape.new(name: 'CommunicationList')
49
+ CreateCaseRequest = Shapes::StructureShape.new(name: 'CreateCaseRequest')
50
+ CreateCaseResponse = Shapes::StructureShape.new(name: 'CreateCaseResponse')
51
+ Data = Shapes::BlobShape.new(name: 'Data')
52
+ DescribeAttachmentLimitExceeded = Shapes::StructureShape.new(name: 'DescribeAttachmentLimitExceeded')
53
+ DescribeAttachmentRequest = Shapes::StructureShape.new(name: 'DescribeAttachmentRequest')
54
+ DescribeAttachmentResponse = Shapes::StructureShape.new(name: 'DescribeAttachmentResponse')
55
+ DescribeCasesRequest = Shapes::StructureShape.new(name: 'DescribeCasesRequest')
56
+ DescribeCasesResponse = Shapes::StructureShape.new(name: 'DescribeCasesResponse')
57
+ DescribeCommunicationsRequest = Shapes::StructureShape.new(name: 'DescribeCommunicationsRequest')
58
+ DescribeCommunicationsResponse = Shapes::StructureShape.new(name: 'DescribeCommunicationsResponse')
59
+ DescribeServicesRequest = Shapes::StructureShape.new(name: 'DescribeServicesRequest')
60
+ DescribeServicesResponse = Shapes::StructureShape.new(name: 'DescribeServicesResponse')
61
+ DescribeSeverityLevelsRequest = Shapes::StructureShape.new(name: 'DescribeSeverityLevelsRequest')
62
+ DescribeSeverityLevelsResponse = Shapes::StructureShape.new(name: 'DescribeSeverityLevelsResponse')
63
+ DescribeTrustedAdvisorCheckRefreshStatusesRequest = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckRefreshStatusesRequest')
64
+ DescribeTrustedAdvisorCheckRefreshStatusesResponse = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckRefreshStatusesResponse')
65
+ DescribeTrustedAdvisorCheckResultRequest = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckResultRequest')
66
+ DescribeTrustedAdvisorCheckResultResponse = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckResultResponse')
67
+ DescribeTrustedAdvisorCheckSummariesRequest = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckSummariesRequest')
68
+ DescribeTrustedAdvisorCheckSummariesResponse = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckSummariesResponse')
69
+ DescribeTrustedAdvisorChecksRequest = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorChecksRequest')
70
+ DescribeTrustedAdvisorChecksResponse = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorChecksResponse')
71
+ DisplayId = Shapes::StringShape.new(name: 'DisplayId')
72
+ Double = Shapes::FloatShape.new(name: 'Double')
73
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
74
+ ExpiryTime = Shapes::StringShape.new(name: 'ExpiryTime')
75
+ FileName = Shapes::StringShape.new(name: 'FileName')
76
+ IncludeCommunications = Shapes::BooleanShape.new(name: 'IncludeCommunications')
77
+ IncludeResolvedCases = Shapes::BooleanShape.new(name: 'IncludeResolvedCases')
78
+ InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
79
+ IssueType = Shapes::StringShape.new(name: 'IssueType')
80
+ Language = Shapes::StringShape.new(name: 'Language')
81
+ Long = Shapes::IntegerShape.new(name: 'Long')
82
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
83
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
84
+ RecentCaseCommunications = Shapes::StructureShape.new(name: 'RecentCaseCommunications')
85
+ RefreshTrustedAdvisorCheckRequest = Shapes::StructureShape.new(name: 'RefreshTrustedAdvisorCheckRequest')
86
+ RefreshTrustedAdvisorCheckResponse = Shapes::StructureShape.new(name: 'RefreshTrustedAdvisorCheckResponse')
87
+ ResolveCaseRequest = Shapes::StructureShape.new(name: 'ResolveCaseRequest')
88
+ ResolveCaseResponse = Shapes::StructureShape.new(name: 'ResolveCaseResponse')
89
+ Result = Shapes::BooleanShape.new(name: 'Result')
90
+ Service = Shapes::StructureShape.new(name: 'Service')
91
+ ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
92
+ ServiceCodeList = Shapes::ListShape.new(name: 'ServiceCodeList')
93
+ ServiceList = Shapes::ListShape.new(name: 'ServiceList')
94
+ ServiceName = Shapes::StringShape.new(name: 'ServiceName')
95
+ SeverityCode = Shapes::StringShape.new(name: 'SeverityCode')
96
+ SeverityLevel = Shapes::StructureShape.new(name: 'SeverityLevel')
97
+ SeverityLevelCode = Shapes::StringShape.new(name: 'SeverityLevelCode')
98
+ SeverityLevelName = Shapes::StringShape.new(name: 'SeverityLevelName')
99
+ SeverityLevelsList = Shapes::ListShape.new(name: 'SeverityLevelsList')
100
+ Status = Shapes::StringShape.new(name: 'Status')
101
+ String = Shapes::StringShape.new(name: 'String')
102
+ StringList = Shapes::ListShape.new(name: 'StringList')
103
+ Subject = Shapes::StringShape.new(name: 'Subject')
104
+ SubmittedBy = Shapes::StringShape.new(name: 'SubmittedBy')
105
+ TimeCreated = Shapes::StringShape.new(name: 'TimeCreated')
106
+ TrustedAdvisorCategorySpecificSummary = Shapes::StructureShape.new(name: 'TrustedAdvisorCategorySpecificSummary')
107
+ TrustedAdvisorCheckDescription = Shapes::StructureShape.new(name: 'TrustedAdvisorCheckDescription')
108
+ TrustedAdvisorCheckList = Shapes::ListShape.new(name: 'TrustedAdvisorCheckList')
109
+ TrustedAdvisorCheckRefreshStatus = Shapes::StructureShape.new(name: 'TrustedAdvisorCheckRefreshStatus')
110
+ TrustedAdvisorCheckRefreshStatusList = Shapes::ListShape.new(name: 'TrustedAdvisorCheckRefreshStatusList')
111
+ TrustedAdvisorCheckResult = Shapes::StructureShape.new(name: 'TrustedAdvisorCheckResult')
112
+ TrustedAdvisorCheckSummary = Shapes::StructureShape.new(name: 'TrustedAdvisorCheckSummary')
113
+ TrustedAdvisorCheckSummaryList = Shapes::ListShape.new(name: 'TrustedAdvisorCheckSummaryList')
114
+ TrustedAdvisorCostOptimizingSummary = Shapes::StructureShape.new(name: 'TrustedAdvisorCostOptimizingSummary')
115
+ TrustedAdvisorResourceDetail = Shapes::StructureShape.new(name: 'TrustedAdvisorResourceDetail')
116
+ TrustedAdvisorResourceDetailList = Shapes::ListShape.new(name: 'TrustedAdvisorResourceDetailList')
117
+ TrustedAdvisorResourcesSummary = Shapes::StructureShape.new(name: 'TrustedAdvisorResourcesSummary')
118
+
119
+ AddAttachmentsToSetRequest.add_member(:attachment_set_id, Shapes::ShapeRef.new(shape: AttachmentSetId, location_name: "attachmentSetId"))
120
+ AddAttachmentsToSetRequest.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, required: true, location_name: "attachments"))
121
+ AddAttachmentsToSetRequest.struct_class = Types::AddAttachmentsToSetRequest
122
+
123
+ AddAttachmentsToSetResponse.add_member(:attachment_set_id, Shapes::ShapeRef.new(shape: AttachmentSetId, location_name: "attachmentSetId"))
124
+ AddAttachmentsToSetResponse.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, location_name: "expiryTime"))
125
+ AddAttachmentsToSetResponse.struct_class = Types::AddAttachmentsToSetResponse
126
+
127
+ AddCommunicationToCaseRequest.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, location_name: "caseId"))
128
+ AddCommunicationToCaseRequest.add_member(:communication_body, Shapes::ShapeRef.new(shape: CommunicationBody, required: true, location_name: "communicationBody"))
129
+ AddCommunicationToCaseRequest.add_member(:cc_email_addresses, Shapes::ShapeRef.new(shape: CcEmailAddressList, location_name: "ccEmailAddresses"))
130
+ AddCommunicationToCaseRequest.add_member(:attachment_set_id, Shapes::ShapeRef.new(shape: AttachmentSetId, location_name: "attachmentSetId"))
131
+ AddCommunicationToCaseRequest.struct_class = Types::AddCommunicationToCaseRequest
132
+
133
+ AddCommunicationToCaseResponse.add_member(:result, Shapes::ShapeRef.new(shape: Result, location_name: "result"))
134
+ AddCommunicationToCaseResponse.struct_class = Types::AddCommunicationToCaseResponse
135
+
136
+ Attachment.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "fileName"))
137
+ Attachment.add_member(:data, Shapes::ShapeRef.new(shape: Data, location_name: "data"))
138
+ Attachment.struct_class = Types::Attachment
139
+
140
+ AttachmentDetails.add_member(:attachment_id, Shapes::ShapeRef.new(shape: AttachmentId, location_name: "attachmentId"))
141
+ AttachmentDetails.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "fileName"))
142
+ AttachmentDetails.struct_class = Types::AttachmentDetails
143
+
144
+ AttachmentSet.member = Shapes::ShapeRef.new(shape: AttachmentDetails)
145
+
146
+ Attachments.member = Shapes::ShapeRef.new(shape: Attachment)
147
+
148
+ CaseDetails.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, location_name: "caseId"))
149
+ CaseDetails.add_member(:display_id, Shapes::ShapeRef.new(shape: DisplayId, location_name: "displayId"))
150
+ CaseDetails.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, location_name: "subject"))
151
+ CaseDetails.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
152
+ CaseDetails.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "serviceCode"))
153
+ CaseDetails.add_member(:category_code, Shapes::ShapeRef.new(shape: CategoryCode, location_name: "categoryCode"))
154
+ CaseDetails.add_member(:severity_code, Shapes::ShapeRef.new(shape: SeverityCode, location_name: "severityCode"))
155
+ CaseDetails.add_member(:submitted_by, Shapes::ShapeRef.new(shape: SubmittedBy, location_name: "submittedBy"))
156
+ CaseDetails.add_member(:time_created, Shapes::ShapeRef.new(shape: TimeCreated, location_name: "timeCreated"))
157
+ CaseDetails.add_member(:recent_communications, Shapes::ShapeRef.new(shape: RecentCaseCommunications, location_name: "recentCommunications"))
158
+ CaseDetails.add_member(:cc_email_addresses, Shapes::ShapeRef.new(shape: CcEmailAddressList, location_name: "ccEmailAddresses"))
159
+ CaseDetails.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
160
+ CaseDetails.struct_class = Types::CaseDetails
161
+
162
+ CaseIdList.member = Shapes::ShapeRef.new(shape: CaseId)
163
+
164
+ CaseList.member = Shapes::ShapeRef.new(shape: CaseDetails)
165
+
166
+ Category.add_member(:code, Shapes::ShapeRef.new(shape: CategoryCode, location_name: "code"))
167
+ Category.add_member(:name, Shapes::ShapeRef.new(shape: CategoryName, location_name: "name"))
168
+ Category.struct_class = Types::Category
169
+
170
+ CategoryList.member = Shapes::ShapeRef.new(shape: Category)
171
+
172
+ CcEmailAddressList.member = Shapes::ShapeRef.new(shape: CcEmailAddress)
173
+
174
+ Communication.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, location_name: "caseId"))
175
+ Communication.add_member(:body, Shapes::ShapeRef.new(shape: CommunicationBody, location_name: "body"))
176
+ Communication.add_member(:submitted_by, Shapes::ShapeRef.new(shape: SubmittedBy, location_name: "submittedBy"))
177
+ Communication.add_member(:time_created, Shapes::ShapeRef.new(shape: TimeCreated, location_name: "timeCreated"))
178
+ Communication.add_member(:attachment_set, Shapes::ShapeRef.new(shape: AttachmentSet, location_name: "attachmentSet"))
179
+ Communication.struct_class = Types::Communication
180
+
181
+ CommunicationList.member = Shapes::ShapeRef.new(shape: Communication)
182
+
183
+ CreateCaseRequest.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, required: true, location_name: "subject"))
184
+ CreateCaseRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "serviceCode"))
185
+ CreateCaseRequest.add_member(:severity_code, Shapes::ShapeRef.new(shape: SeverityCode, location_name: "severityCode"))
186
+ CreateCaseRequest.add_member(:category_code, Shapes::ShapeRef.new(shape: CategoryCode, location_name: "categoryCode"))
187
+ CreateCaseRequest.add_member(:communication_body, Shapes::ShapeRef.new(shape: CommunicationBody, required: true, location_name: "communicationBody"))
188
+ CreateCaseRequest.add_member(:cc_email_addresses, Shapes::ShapeRef.new(shape: CcEmailAddressList, location_name: "ccEmailAddresses"))
189
+ CreateCaseRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
190
+ CreateCaseRequest.add_member(:issue_type, Shapes::ShapeRef.new(shape: IssueType, location_name: "issueType"))
191
+ CreateCaseRequest.add_member(:attachment_set_id, Shapes::ShapeRef.new(shape: AttachmentSetId, location_name: "attachmentSetId"))
192
+ CreateCaseRequest.struct_class = Types::CreateCaseRequest
193
+
194
+ CreateCaseResponse.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, location_name: "caseId"))
195
+ CreateCaseResponse.struct_class = Types::CreateCaseResponse
196
+
197
+ DescribeAttachmentRequest.add_member(:attachment_id, Shapes::ShapeRef.new(shape: AttachmentId, required: true, location_name: "attachmentId"))
198
+ DescribeAttachmentRequest.struct_class = Types::DescribeAttachmentRequest
199
+
200
+ DescribeAttachmentResponse.add_member(:attachment, Shapes::ShapeRef.new(shape: Attachment, location_name: "attachment"))
201
+ DescribeAttachmentResponse.struct_class = Types::DescribeAttachmentResponse
202
+
203
+ DescribeCasesRequest.add_member(:case_id_list, Shapes::ShapeRef.new(shape: CaseIdList, location_name: "caseIdList"))
204
+ DescribeCasesRequest.add_member(:display_id, Shapes::ShapeRef.new(shape: DisplayId, location_name: "displayId"))
205
+ DescribeCasesRequest.add_member(:after_time, Shapes::ShapeRef.new(shape: AfterTime, location_name: "afterTime"))
206
+ DescribeCasesRequest.add_member(:before_time, Shapes::ShapeRef.new(shape: BeforeTime, location_name: "beforeTime"))
207
+ DescribeCasesRequest.add_member(:include_resolved_cases, Shapes::ShapeRef.new(shape: IncludeResolvedCases, location_name: "includeResolvedCases"))
208
+ DescribeCasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
209
+ DescribeCasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
210
+ DescribeCasesRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
211
+ DescribeCasesRequest.add_member(:include_communications, Shapes::ShapeRef.new(shape: IncludeCommunications, location_name: "includeCommunications"))
212
+ DescribeCasesRequest.struct_class = Types::DescribeCasesRequest
213
+
214
+ DescribeCasesResponse.add_member(:cases, Shapes::ShapeRef.new(shape: CaseList, location_name: "cases"))
215
+ DescribeCasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
216
+ DescribeCasesResponse.struct_class = Types::DescribeCasesResponse
217
+
218
+ DescribeCommunicationsRequest.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, required: true, location_name: "caseId"))
219
+ DescribeCommunicationsRequest.add_member(:before_time, Shapes::ShapeRef.new(shape: BeforeTime, location_name: "beforeTime"))
220
+ DescribeCommunicationsRequest.add_member(:after_time, Shapes::ShapeRef.new(shape: AfterTime, location_name: "afterTime"))
221
+ DescribeCommunicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
222
+ DescribeCommunicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
223
+ DescribeCommunicationsRequest.struct_class = Types::DescribeCommunicationsRequest
224
+
225
+ DescribeCommunicationsResponse.add_member(:communications, Shapes::ShapeRef.new(shape: CommunicationList, location_name: "communications"))
226
+ DescribeCommunicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
227
+ DescribeCommunicationsResponse.struct_class = Types::DescribeCommunicationsResponse
228
+
229
+ DescribeServicesRequest.add_member(:service_code_list, Shapes::ShapeRef.new(shape: ServiceCodeList, location_name: "serviceCodeList"))
230
+ DescribeServicesRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
231
+ DescribeServicesRequest.struct_class = Types::DescribeServicesRequest
232
+
233
+ DescribeServicesResponse.add_member(:services, Shapes::ShapeRef.new(shape: ServiceList, location_name: "services"))
234
+ DescribeServicesResponse.struct_class = Types::DescribeServicesResponse
235
+
236
+ DescribeSeverityLevelsRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
237
+ DescribeSeverityLevelsRequest.struct_class = Types::DescribeSeverityLevelsRequest
238
+
239
+ DescribeSeverityLevelsResponse.add_member(:severity_levels, Shapes::ShapeRef.new(shape: SeverityLevelsList, location_name: "severityLevels"))
240
+ DescribeSeverityLevelsResponse.struct_class = Types::DescribeSeverityLevelsResponse
241
+
242
+ DescribeTrustedAdvisorCheckRefreshStatusesRequest.add_member(:check_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "checkIds"))
243
+ DescribeTrustedAdvisorCheckRefreshStatusesRequest.struct_class = Types::DescribeTrustedAdvisorCheckRefreshStatusesRequest
244
+
245
+ DescribeTrustedAdvisorCheckRefreshStatusesResponse.add_member(:statuses, Shapes::ShapeRef.new(shape: TrustedAdvisorCheckRefreshStatusList, required: true, location_name: "statuses"))
246
+ DescribeTrustedAdvisorCheckRefreshStatusesResponse.struct_class = Types::DescribeTrustedAdvisorCheckRefreshStatusesResponse
247
+
248
+ DescribeTrustedAdvisorCheckResultRequest.add_member(:check_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "checkId"))
249
+ DescribeTrustedAdvisorCheckResultRequest.add_member(:language, Shapes::ShapeRef.new(shape: String, location_name: "language"))
250
+ DescribeTrustedAdvisorCheckResultRequest.struct_class = Types::DescribeTrustedAdvisorCheckResultRequest
251
+
252
+ DescribeTrustedAdvisorCheckResultResponse.add_member(:result, Shapes::ShapeRef.new(shape: TrustedAdvisorCheckResult, location_name: "result"))
253
+ DescribeTrustedAdvisorCheckResultResponse.struct_class = Types::DescribeTrustedAdvisorCheckResultResponse
254
+
255
+ DescribeTrustedAdvisorCheckSummariesRequest.add_member(:check_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "checkIds"))
256
+ DescribeTrustedAdvisorCheckSummariesRequest.struct_class = Types::DescribeTrustedAdvisorCheckSummariesRequest
257
+
258
+ DescribeTrustedAdvisorCheckSummariesResponse.add_member(:summaries, Shapes::ShapeRef.new(shape: TrustedAdvisorCheckSummaryList, required: true, location_name: "summaries"))
259
+ DescribeTrustedAdvisorCheckSummariesResponse.struct_class = Types::DescribeTrustedAdvisorCheckSummariesResponse
260
+
261
+ DescribeTrustedAdvisorChecksRequest.add_member(:language, Shapes::ShapeRef.new(shape: String, required: true, location_name: "language"))
262
+ DescribeTrustedAdvisorChecksRequest.struct_class = Types::DescribeTrustedAdvisorChecksRequest
263
+
264
+ DescribeTrustedAdvisorChecksResponse.add_member(:checks, Shapes::ShapeRef.new(shape: TrustedAdvisorCheckList, required: true, location_name: "checks"))
265
+ DescribeTrustedAdvisorChecksResponse.struct_class = Types::DescribeTrustedAdvisorChecksResponse
266
+
267
+ RecentCaseCommunications.add_member(:communications, Shapes::ShapeRef.new(shape: CommunicationList, location_name: "communications"))
268
+ RecentCaseCommunications.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
269
+ RecentCaseCommunications.struct_class = Types::RecentCaseCommunications
270
+
271
+ RefreshTrustedAdvisorCheckRequest.add_member(:check_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "checkId"))
272
+ RefreshTrustedAdvisorCheckRequest.struct_class = Types::RefreshTrustedAdvisorCheckRequest
273
+
274
+ RefreshTrustedAdvisorCheckResponse.add_member(:status, Shapes::ShapeRef.new(shape: TrustedAdvisorCheckRefreshStatus, required: true, location_name: "status"))
275
+ RefreshTrustedAdvisorCheckResponse.struct_class = Types::RefreshTrustedAdvisorCheckResponse
276
+
277
+ ResolveCaseRequest.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, location_name: "caseId"))
278
+ ResolveCaseRequest.struct_class = Types::ResolveCaseRequest
279
+
280
+ ResolveCaseResponse.add_member(:initial_case_status, Shapes::ShapeRef.new(shape: CaseStatus, location_name: "initialCaseStatus"))
281
+ ResolveCaseResponse.add_member(:final_case_status, Shapes::ShapeRef.new(shape: CaseStatus, location_name: "finalCaseStatus"))
282
+ ResolveCaseResponse.struct_class = Types::ResolveCaseResponse
283
+
284
+ Service.add_member(:code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "code"))
285
+ Service.add_member(:name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "name"))
286
+ Service.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryList, location_name: "categories"))
287
+ Service.struct_class = Types::Service
288
+
289
+ ServiceCodeList.member = Shapes::ShapeRef.new(shape: ServiceCode)
290
+
291
+ ServiceList.member = Shapes::ShapeRef.new(shape: Service)
292
+
293
+ SeverityLevel.add_member(:code, Shapes::ShapeRef.new(shape: SeverityLevelCode, location_name: "code"))
294
+ SeverityLevel.add_member(:name, Shapes::ShapeRef.new(shape: SeverityLevelName, location_name: "name"))
295
+ SeverityLevel.struct_class = Types::SeverityLevel
296
+
297
+ SeverityLevelsList.member = Shapes::ShapeRef.new(shape: SeverityLevel)
298
+
299
+ StringList.member = Shapes::ShapeRef.new(shape: String)
300
+
301
+ TrustedAdvisorCategorySpecificSummary.add_member(:cost_optimizing, Shapes::ShapeRef.new(shape: TrustedAdvisorCostOptimizingSummary, location_name: "costOptimizing"))
302
+ TrustedAdvisorCategorySpecificSummary.struct_class = Types::TrustedAdvisorCategorySpecificSummary
303
+
304
+ TrustedAdvisorCheckDescription.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
305
+ TrustedAdvisorCheckDescription.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
306
+ TrustedAdvisorCheckDescription.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
307
+ TrustedAdvisorCheckDescription.add_member(:category, Shapes::ShapeRef.new(shape: String, required: true, location_name: "category"))
308
+ TrustedAdvisorCheckDescription.add_member(:metadata, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "metadata"))
309
+ TrustedAdvisorCheckDescription.struct_class = Types::TrustedAdvisorCheckDescription
310
+
311
+ TrustedAdvisorCheckList.member = Shapes::ShapeRef.new(shape: TrustedAdvisorCheckDescription)
312
+
313
+ TrustedAdvisorCheckRefreshStatus.add_member(:check_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "checkId"))
314
+ TrustedAdvisorCheckRefreshStatus.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
315
+ TrustedAdvisorCheckRefreshStatus.add_member(:millis_until_next_refreshable, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "millisUntilNextRefreshable"))
316
+ TrustedAdvisorCheckRefreshStatus.struct_class = Types::TrustedAdvisorCheckRefreshStatus
317
+
318
+ TrustedAdvisorCheckRefreshStatusList.member = Shapes::ShapeRef.new(shape: TrustedAdvisorCheckRefreshStatus)
319
+
320
+ TrustedAdvisorCheckResult.add_member(:check_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "checkId"))
321
+ TrustedAdvisorCheckResult.add_member(:timestamp, Shapes::ShapeRef.new(shape: String, required: true, location_name: "timestamp"))
322
+ TrustedAdvisorCheckResult.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
323
+ TrustedAdvisorCheckResult.add_member(:resources_summary, Shapes::ShapeRef.new(shape: TrustedAdvisorResourcesSummary, required: true, location_name: "resourcesSummary"))
324
+ TrustedAdvisorCheckResult.add_member(:category_specific_summary, Shapes::ShapeRef.new(shape: TrustedAdvisorCategorySpecificSummary, required: true, location_name: "categorySpecificSummary"))
325
+ TrustedAdvisorCheckResult.add_member(:flagged_resources, Shapes::ShapeRef.new(shape: TrustedAdvisorResourceDetailList, required: true, location_name: "flaggedResources"))
326
+ TrustedAdvisorCheckResult.struct_class = Types::TrustedAdvisorCheckResult
327
+
328
+ TrustedAdvisorCheckSummary.add_member(:check_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "checkId"))
329
+ TrustedAdvisorCheckSummary.add_member(:timestamp, Shapes::ShapeRef.new(shape: String, required: true, location_name: "timestamp"))
330
+ TrustedAdvisorCheckSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
331
+ TrustedAdvisorCheckSummary.add_member(:has_flagged_resources, Shapes::ShapeRef.new(shape: Boolean, location_name: "hasFlaggedResources"))
332
+ TrustedAdvisorCheckSummary.add_member(:resources_summary, Shapes::ShapeRef.new(shape: TrustedAdvisorResourcesSummary, required: true, location_name: "resourcesSummary"))
333
+ TrustedAdvisorCheckSummary.add_member(:category_specific_summary, Shapes::ShapeRef.new(shape: TrustedAdvisorCategorySpecificSummary, required: true, location_name: "categorySpecificSummary"))
334
+ TrustedAdvisorCheckSummary.struct_class = Types::TrustedAdvisorCheckSummary
335
+
336
+ TrustedAdvisorCheckSummaryList.member = Shapes::ShapeRef.new(shape: TrustedAdvisorCheckSummary)
337
+
338
+ TrustedAdvisorCostOptimizingSummary.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "estimatedMonthlySavings"))
339
+ TrustedAdvisorCostOptimizingSummary.add_member(:estimated_percent_monthly_savings, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "estimatedPercentMonthlySavings"))
340
+ TrustedAdvisorCostOptimizingSummary.struct_class = Types::TrustedAdvisorCostOptimizingSummary
341
+
342
+ TrustedAdvisorResourceDetail.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
343
+ TrustedAdvisorResourceDetail.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
344
+ TrustedAdvisorResourceDetail.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
345
+ TrustedAdvisorResourceDetail.add_member(:is_suppressed, Shapes::ShapeRef.new(shape: Boolean, location_name: "isSuppressed"))
346
+ TrustedAdvisorResourceDetail.add_member(:metadata, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "metadata"))
347
+ TrustedAdvisorResourceDetail.struct_class = Types::TrustedAdvisorResourceDetail
348
+
349
+ TrustedAdvisorResourceDetailList.member = Shapes::ShapeRef.new(shape: TrustedAdvisorResourceDetail)
350
+
351
+ TrustedAdvisorResourcesSummary.add_member(:resources_processed, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "resourcesProcessed"))
352
+ TrustedAdvisorResourcesSummary.add_member(:resources_flagged, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "resourcesFlagged"))
353
+ TrustedAdvisorResourcesSummary.add_member(:resources_ignored, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "resourcesIgnored"))
354
+ TrustedAdvisorResourcesSummary.add_member(:resources_suppressed, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "resourcesSuppressed"))
355
+ TrustedAdvisorResourcesSummary.struct_class = Types::TrustedAdvisorResourcesSummary
356
+
357
+
358
+ # @api private
359
+ API = Seahorse::Model::Api.new.tap do |api|
360
+
361
+ api.version = "2013-04-15"
362
+
363
+ api.metadata = {
364
+ "endpointPrefix" => "support",
365
+ "jsonVersion" => "1.1",
366
+ "protocol" => "json",
367
+ "serviceFullName" => "AWS Support",
368
+ "signatureVersion" => "v4",
369
+ "targetPrefix" => "AWSSupport_20130415",
370
+ }
371
+
372
+ api.add_operation(:add_attachments_to_set, Seahorse::Model::Operation.new.tap do |o|
373
+ o.name = "AddAttachmentsToSet"
374
+ o.http_method = "POST"
375
+ o.http_request_uri = "/"
376
+ o.input = Shapes::ShapeRef.new(shape: AddAttachmentsToSetRequest)
377
+ o.output = Shapes::ShapeRef.new(shape: AddAttachmentsToSetResponse)
378
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
379
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentSetIdNotFound)
380
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentSetExpired)
381
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentSetSizeLimitExceeded)
382
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentLimitExceeded)
383
+ end)
384
+
385
+ api.add_operation(:add_communication_to_case, Seahorse::Model::Operation.new.tap do |o|
386
+ o.name = "AddCommunicationToCase"
387
+ o.http_method = "POST"
388
+ o.http_request_uri = "/"
389
+ o.input = Shapes::ShapeRef.new(shape: AddCommunicationToCaseRequest)
390
+ o.output = Shapes::ShapeRef.new(shape: AddCommunicationToCaseResponse)
391
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
392
+ o.errors << Shapes::ShapeRef.new(shape: CaseIdNotFound)
393
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentSetIdNotFound)
394
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentSetExpired)
395
+ end)
396
+
397
+ api.add_operation(:create_case, Seahorse::Model::Operation.new.tap do |o|
398
+ o.name = "CreateCase"
399
+ o.http_method = "POST"
400
+ o.http_request_uri = "/"
401
+ o.input = Shapes::ShapeRef.new(shape: CreateCaseRequest)
402
+ o.output = Shapes::ShapeRef.new(shape: CreateCaseResponse)
403
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
404
+ o.errors << Shapes::ShapeRef.new(shape: CaseCreationLimitExceeded)
405
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentSetIdNotFound)
406
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentSetExpired)
407
+ end)
408
+
409
+ api.add_operation(:describe_attachment, Seahorse::Model::Operation.new.tap do |o|
410
+ o.name = "DescribeAttachment"
411
+ o.http_method = "POST"
412
+ o.http_request_uri = "/"
413
+ o.input = Shapes::ShapeRef.new(shape: DescribeAttachmentRequest)
414
+ o.output = Shapes::ShapeRef.new(shape: DescribeAttachmentResponse)
415
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
416
+ o.errors << Shapes::ShapeRef.new(shape: DescribeAttachmentLimitExceeded)
417
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentIdNotFound)
418
+ end)
419
+
420
+ api.add_operation(:describe_cases, Seahorse::Model::Operation.new.tap do |o|
421
+ o.name = "DescribeCases"
422
+ o.http_method = "POST"
423
+ o.http_request_uri = "/"
424
+ o.input = Shapes::ShapeRef.new(shape: DescribeCasesRequest)
425
+ o.output = Shapes::ShapeRef.new(shape: DescribeCasesResponse)
426
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
427
+ o.errors << Shapes::ShapeRef.new(shape: CaseIdNotFound)
428
+ o[:pager] = Aws::Pager.new(
429
+ limit_key: "max_results",
430
+ tokens: {
431
+ "next_token" => "next_token"
432
+ }
433
+ )
434
+ end)
435
+
436
+ api.add_operation(:describe_communications, Seahorse::Model::Operation.new.tap do |o|
437
+ o.name = "DescribeCommunications"
438
+ o.http_method = "POST"
439
+ o.http_request_uri = "/"
440
+ o.input = Shapes::ShapeRef.new(shape: DescribeCommunicationsRequest)
441
+ o.output = Shapes::ShapeRef.new(shape: DescribeCommunicationsResponse)
442
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
443
+ o.errors << Shapes::ShapeRef.new(shape: CaseIdNotFound)
444
+ o[:pager] = Aws::Pager.new(
445
+ limit_key: "max_results",
446
+ tokens: {
447
+ "next_token" => "next_token"
448
+ }
449
+ )
450
+ end)
451
+
452
+ api.add_operation(:describe_services, Seahorse::Model::Operation.new.tap do |o|
453
+ o.name = "DescribeServices"
454
+ o.http_method = "POST"
455
+ o.http_request_uri = "/"
456
+ o.input = Shapes::ShapeRef.new(shape: DescribeServicesRequest)
457
+ o.output = Shapes::ShapeRef.new(shape: DescribeServicesResponse)
458
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
459
+ end)
460
+
461
+ api.add_operation(:describe_severity_levels, Seahorse::Model::Operation.new.tap do |o|
462
+ o.name = "DescribeSeverityLevels"
463
+ o.http_method = "POST"
464
+ o.http_request_uri = "/"
465
+ o.input = Shapes::ShapeRef.new(shape: DescribeSeverityLevelsRequest)
466
+ o.output = Shapes::ShapeRef.new(shape: DescribeSeverityLevelsResponse)
467
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
468
+ end)
469
+
470
+ api.add_operation(:describe_trusted_advisor_check_refresh_statuses, Seahorse::Model::Operation.new.tap do |o|
471
+ o.name = "DescribeTrustedAdvisorCheckRefreshStatuses"
472
+ o.http_method = "POST"
473
+ o.http_request_uri = "/"
474
+ o.input = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckRefreshStatusesRequest)
475
+ o.output = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckRefreshStatusesResponse)
476
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
477
+ end)
478
+
479
+ api.add_operation(:describe_trusted_advisor_check_result, Seahorse::Model::Operation.new.tap do |o|
480
+ o.name = "DescribeTrustedAdvisorCheckResult"
481
+ o.http_method = "POST"
482
+ o.http_request_uri = "/"
483
+ o.input = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckResultRequest)
484
+ o.output = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckResultResponse)
485
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
486
+ end)
487
+
488
+ api.add_operation(:describe_trusted_advisor_check_summaries, Seahorse::Model::Operation.new.tap do |o|
489
+ o.name = "DescribeTrustedAdvisorCheckSummaries"
490
+ o.http_method = "POST"
491
+ o.http_request_uri = "/"
492
+ o.input = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckSummariesRequest)
493
+ o.output = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckSummariesResponse)
494
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
495
+ end)
496
+
497
+ api.add_operation(:describe_trusted_advisor_checks, Seahorse::Model::Operation.new.tap do |o|
498
+ o.name = "DescribeTrustedAdvisorChecks"
499
+ o.http_method = "POST"
500
+ o.http_request_uri = "/"
501
+ o.input = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorChecksRequest)
502
+ o.output = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorChecksResponse)
503
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
504
+ end)
505
+
506
+ api.add_operation(:refresh_trusted_advisor_check, Seahorse::Model::Operation.new.tap do |o|
507
+ o.name = "RefreshTrustedAdvisorCheck"
508
+ o.http_method = "POST"
509
+ o.http_request_uri = "/"
510
+ o.input = Shapes::ShapeRef.new(shape: RefreshTrustedAdvisorCheckRequest)
511
+ o.output = Shapes::ShapeRef.new(shape: RefreshTrustedAdvisorCheckResponse)
512
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
513
+ end)
514
+
515
+ api.add_operation(:resolve_case, Seahorse::Model::Operation.new.tap do |o|
516
+ o.name = "ResolveCase"
517
+ o.http_method = "POST"
518
+ o.http_request_uri = "/"
519
+ o.input = Shapes::ShapeRef.new(shape: ResolveCaseRequest)
520
+ o.output = Shapes::ShapeRef.new(shape: ResolveCaseResponse)
521
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
522
+ o.errors << Shapes::ShapeRef.new(shape: CaseIdNotFound)
523
+ end)
524
+ end
525
+
526
+ end
527
+ end
528
+ end