aws-sdk-bcmdataexports 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,490 @@
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
+ module Aws::BCMDataExports
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ Arn = Shapes::StringShape.new(name: 'Arn')
17
+ Column = Shapes::StructureShape.new(name: 'Column')
18
+ ColumnList = Shapes::ListShape.new(name: 'ColumnList')
19
+ CompressionOption = Shapes::StringShape.new(name: 'CompressionOption')
20
+ CreateExportRequest = Shapes::StructureShape.new(name: 'CreateExportRequest')
21
+ CreateExportResponse = Shapes::StructureShape.new(name: 'CreateExportResponse')
22
+ DataQuery = Shapes::StructureShape.new(name: 'DataQuery')
23
+ DeleteExportRequest = Shapes::StructureShape.new(name: 'DeleteExportRequest')
24
+ DeleteExportResponse = Shapes::StructureShape.new(name: 'DeleteExportResponse')
25
+ DestinationConfigurations = Shapes::StructureShape.new(name: 'DestinationConfigurations')
26
+ ExecutionReference = Shapes::StructureShape.new(name: 'ExecutionReference')
27
+ ExecutionReferenceList = Shapes::ListShape.new(name: 'ExecutionReferenceList')
28
+ ExecutionStatus = Shapes::StructureShape.new(name: 'ExecutionStatus')
29
+ ExecutionStatusCode = Shapes::StringShape.new(name: 'ExecutionStatusCode')
30
+ ExecutionStatusReason = Shapes::StringShape.new(name: 'ExecutionStatusReason')
31
+ Export = Shapes::StructureShape.new(name: 'Export')
32
+ ExportName = Shapes::StringShape.new(name: 'ExportName')
33
+ ExportReference = Shapes::StructureShape.new(name: 'ExportReference')
34
+ ExportReferenceList = Shapes::ListShape.new(name: 'ExportReferenceList')
35
+ ExportStatus = Shapes::StructureShape.new(name: 'ExportStatus')
36
+ ExportStatusCode = Shapes::StringShape.new(name: 'ExportStatusCode')
37
+ FormatOption = Shapes::StringShape.new(name: 'FormatOption')
38
+ FrequencyOption = Shapes::StringShape.new(name: 'FrequencyOption')
39
+ GenericString = Shapes::StringShape.new(name: 'GenericString')
40
+ GenericStringList = Shapes::ListShape.new(name: 'GenericStringList')
41
+ GetExecutionRequest = Shapes::StructureShape.new(name: 'GetExecutionRequest')
42
+ GetExecutionResponse = Shapes::StructureShape.new(name: 'GetExecutionResponse')
43
+ GetExportRequest = Shapes::StructureShape.new(name: 'GetExportRequest')
44
+ GetExportResponse = Shapes::StructureShape.new(name: 'GetExportResponse')
45
+ GetTableRequest = Shapes::StructureShape.new(name: 'GetTableRequest')
46
+ GetTableResponse = Shapes::StructureShape.new(name: 'GetTableResponse')
47
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
48
+ ListExecutionsRequest = Shapes::StructureShape.new(name: 'ListExecutionsRequest')
49
+ ListExecutionsResponse = Shapes::StructureShape.new(name: 'ListExecutionsResponse')
50
+ ListExportsRequest = Shapes::StructureShape.new(name: 'ListExportsRequest')
51
+ ListExportsResponse = Shapes::StructureShape.new(name: 'ListExportsResponse')
52
+ ListTablesRequest = Shapes::StructureShape.new(name: 'ListTablesRequest')
53
+ ListTablesResponse = Shapes::StructureShape.new(name: 'ListTablesResponse')
54
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
55
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
56
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
57
+ NextPageToken = Shapes::StringShape.new(name: 'NextPageToken')
58
+ OverwriteOption = Shapes::StringShape.new(name: 'OverwriteOption')
59
+ QueryStatement = Shapes::StringShape.new(name: 'QueryStatement')
60
+ RefreshCadence = Shapes::StructureShape.new(name: 'RefreshCadence')
61
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
62
+ ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
63
+ ResourceTagKey = Shapes::StringShape.new(name: 'ResourceTagKey')
64
+ ResourceTagKeyList = Shapes::ListShape.new(name: 'ResourceTagKeyList')
65
+ ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
66
+ ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
67
+ S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
68
+ S3OutputConfigurations = Shapes::StructureShape.new(name: 'S3OutputConfigurations')
69
+ S3OutputType = Shapes::StringShape.new(name: 'S3OutputType')
70
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
71
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
72
+ Table = Shapes::StructureShape.new(name: 'Table')
73
+ TableConfigurations = Shapes::MapShape.new(name: 'TableConfigurations')
74
+ TableList = Shapes::ListShape.new(name: 'TableList')
75
+ TableName = Shapes::StringShape.new(name: 'TableName')
76
+ TableProperties = Shapes::MapShape.new(name: 'TableProperties')
77
+ TableProperty = Shapes::StringShape.new(name: 'TableProperty')
78
+ TablePropertyDescription = Shapes::StructureShape.new(name: 'TablePropertyDescription')
79
+ TablePropertyDescriptionList = Shapes::ListShape.new(name: 'TablePropertyDescriptionList')
80
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
81
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
82
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
83
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
84
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
85
+ UpdateExportRequest = Shapes::StructureShape.new(name: 'UpdateExportRequest')
86
+ UpdateExportResponse = Shapes::StructureShape.new(name: 'UpdateExportResponse')
87
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
88
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
89
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
90
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
91
+
92
+ Column.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "Description"))
93
+ Column.add_member(:name, Shapes::ShapeRef.new(shape: GenericString, location_name: "Name"))
94
+ Column.add_member(:type, Shapes::ShapeRef.new(shape: GenericString, location_name: "Type"))
95
+ Column.struct_class = Types::Column
96
+
97
+ ColumnList.member = Shapes::ShapeRef.new(shape: Column)
98
+
99
+ CreateExportRequest.add_member(:export, Shapes::ShapeRef.new(shape: Export, required: true, location_name: "Export"))
100
+ CreateExportRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
101
+ CreateExportRequest.struct_class = Types::CreateExportRequest
102
+
103
+ CreateExportResponse.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExportArn"))
104
+ CreateExportResponse.struct_class = Types::CreateExportResponse
105
+
106
+ DataQuery.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, required: true, location_name: "QueryStatement"))
107
+ DataQuery.add_member(:table_configurations, Shapes::ShapeRef.new(shape: TableConfigurations, location_name: "TableConfigurations"))
108
+ DataQuery.struct_class = Types::DataQuery
109
+
110
+ DeleteExportRequest.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExportArn"))
111
+ DeleteExportRequest.struct_class = Types::DeleteExportRequest
112
+
113
+ DeleteExportResponse.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExportArn"))
114
+ DeleteExportResponse.struct_class = Types::DeleteExportResponse
115
+
116
+ DestinationConfigurations.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, required: true, location_name: "S3Destination"))
117
+ DestinationConfigurations.struct_class = Types::DestinationConfigurations
118
+
119
+ ExecutionReference.add_member(:execution_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ExecutionId"))
120
+ ExecutionReference.add_member(:execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "ExecutionStatus"))
121
+ ExecutionReference.struct_class = Types::ExecutionReference
122
+
123
+ ExecutionReferenceList.member = Shapes::ShapeRef.new(shape: ExecutionReference)
124
+
125
+ ExecutionStatus.add_member(:completed_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "CompletedAt"))
126
+ ExecutionStatus.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "CreatedAt"))
127
+ ExecutionStatus.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastUpdatedAt"))
128
+ ExecutionStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: ExecutionStatusCode, location_name: "StatusCode"))
129
+ ExecutionStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: ExecutionStatusReason, location_name: "StatusReason"))
130
+ ExecutionStatus.struct_class = Types::ExecutionStatus
131
+
132
+ Export.add_member(:data_query, Shapes::ShapeRef.new(shape: DataQuery, required: true, location_name: "DataQuery"))
133
+ Export.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "Description"))
134
+ Export.add_member(:destination_configurations, Shapes::ShapeRef.new(shape: DestinationConfigurations, required: true, location_name: "DestinationConfigurations"))
135
+ Export.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExportArn"))
136
+ Export.add_member(:name, Shapes::ShapeRef.new(shape: ExportName, required: true, location_name: "Name"))
137
+ Export.add_member(:refresh_cadence, Shapes::ShapeRef.new(shape: RefreshCadence, required: true, location_name: "RefreshCadence"))
138
+ Export.struct_class = Types::Export
139
+
140
+ ExportReference.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExportArn"))
141
+ ExportReference.add_member(:export_name, Shapes::ShapeRef.new(shape: ExportName, required: true, location_name: "ExportName"))
142
+ ExportReference.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, required: true, location_name: "ExportStatus"))
143
+ ExportReference.struct_class = Types::ExportReference
144
+
145
+ ExportReferenceList.member = Shapes::ShapeRef.new(shape: ExportReference)
146
+
147
+ ExportStatus.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "CreatedAt"))
148
+ ExportStatus.add_member(:last_refreshed_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastRefreshedAt"))
149
+ ExportStatus.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastUpdatedAt"))
150
+ ExportStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: ExportStatusCode, location_name: "StatusCode"))
151
+ ExportStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: ExecutionStatusReason, location_name: "StatusReason"))
152
+ ExportStatus.struct_class = Types::ExportStatus
153
+
154
+ GenericStringList.member = Shapes::ShapeRef.new(shape: GenericString)
155
+
156
+ GetExecutionRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ExecutionId"))
157
+ GetExecutionRequest.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExportArn"))
158
+ GetExecutionRequest.struct_class = Types::GetExecutionRequest
159
+
160
+ GetExecutionResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "ExecutionId"))
161
+ GetExecutionResponse.add_member(:execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "ExecutionStatus"))
162
+ GetExecutionResponse.add_member(:export, Shapes::ShapeRef.new(shape: Export, location_name: "Export"))
163
+ GetExecutionResponse.struct_class = Types::GetExecutionResponse
164
+
165
+ GetExportRequest.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExportArn"))
166
+ GetExportRequest.struct_class = Types::GetExportRequest
167
+
168
+ GetExportResponse.add_member(:export, Shapes::ShapeRef.new(shape: Export, location_name: "Export"))
169
+ GetExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "ExportStatus"))
170
+ GetExportResponse.struct_class = Types::GetExportResponse
171
+
172
+ GetTableRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
173
+ GetTableRequest.add_member(:table_properties, Shapes::ShapeRef.new(shape: TableProperties, location_name: "TableProperties"))
174
+ GetTableRequest.struct_class = Types::GetTableRequest
175
+
176
+ GetTableResponse.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "Description"))
177
+ GetTableResponse.add_member(:schema, Shapes::ShapeRef.new(shape: ColumnList, location_name: "Schema"))
178
+ GetTableResponse.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
179
+ GetTableResponse.add_member(:table_properties, Shapes::ShapeRef.new(shape: TableProperties, location_name: "TableProperties"))
180
+ GetTableResponse.struct_class = Types::GetTableResponse
181
+
182
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Message"))
183
+ InternalServerException.struct_class = Types::InternalServerException
184
+
185
+ ListExecutionsRequest.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExportArn"))
186
+ ListExecutionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
187
+ ListExecutionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
188
+ ListExecutionsRequest.struct_class = Types::ListExecutionsRequest
189
+
190
+ ListExecutionsResponse.add_member(:executions, Shapes::ShapeRef.new(shape: ExecutionReferenceList, location_name: "Executions"))
191
+ ListExecutionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
192
+ ListExecutionsResponse.struct_class = Types::ListExecutionsResponse
193
+
194
+ ListExportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
195
+ ListExportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
196
+ ListExportsRequest.struct_class = Types::ListExportsRequest
197
+
198
+ ListExportsResponse.add_member(:exports, Shapes::ShapeRef.new(shape: ExportReferenceList, location_name: "Exports"))
199
+ ListExportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
200
+ ListExportsResponse.struct_class = Types::ListExportsResponse
201
+
202
+ ListTablesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
203
+ ListTablesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
204
+ ListTablesRequest.struct_class = Types::ListTablesRequest
205
+
206
+ ListTablesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
207
+ ListTablesResponse.add_member(:tables, Shapes::ShapeRef.new(shape: TableList, location_name: "Tables"))
208
+ ListTablesResponse.struct_class = Types::ListTablesResponse
209
+
210
+ ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
211
+ ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
212
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
213
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
214
+
215
+ ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
216
+ ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "ResourceTags"))
217
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
218
+
219
+ RefreshCadence.add_member(:frequency, Shapes::ShapeRef.new(shape: FrequencyOption, required: true, location_name: "Frequency"))
220
+ RefreshCadence.struct_class = Types::RefreshCadence
221
+
222
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Message"))
223
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ResourceId"))
224
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ResourceType"))
225
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
226
+
227
+ ResourceTag.add_member(:key, Shapes::ShapeRef.new(shape: ResourceTagKey, required: true, location_name: "Key"))
228
+ ResourceTag.add_member(:value, Shapes::ShapeRef.new(shape: ResourceTagValue, required: true, location_name: "Value"))
229
+ ResourceTag.struct_class = Types::ResourceTag
230
+
231
+ ResourceTagKeyList.member = Shapes::ShapeRef.new(shape: ResourceTagKey)
232
+
233
+ ResourceTagList.member = Shapes::ShapeRef.new(shape: ResourceTag)
234
+
235
+ S3Destination.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "S3Bucket"))
236
+ S3Destination.add_member(:s3_output_configurations, Shapes::ShapeRef.new(shape: S3OutputConfigurations, required: true, location_name: "S3OutputConfigurations"))
237
+ S3Destination.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "S3Prefix"))
238
+ S3Destination.add_member(:s3_region, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "S3Region"))
239
+ S3Destination.struct_class = Types::S3Destination
240
+
241
+ S3OutputConfigurations.add_member(:compression, Shapes::ShapeRef.new(shape: CompressionOption, required: true, location_name: "Compression"))
242
+ S3OutputConfigurations.add_member(:format, Shapes::ShapeRef.new(shape: FormatOption, required: true, location_name: "Format"))
243
+ S3OutputConfigurations.add_member(:output_type, Shapes::ShapeRef.new(shape: S3OutputType, required: true, location_name: "OutputType"))
244
+ S3OutputConfigurations.add_member(:overwrite, Shapes::ShapeRef.new(shape: OverwriteOption, required: true, location_name: "Overwrite"))
245
+ S3OutputConfigurations.struct_class = Types::S3OutputConfigurations
246
+
247
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Message"))
248
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "QuotaCode"))
249
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "ResourceId"))
250
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "ResourceType"))
251
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ServiceCode"))
252
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
253
+
254
+ Table.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "Description"))
255
+ Table.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
256
+ Table.add_member(:table_properties, Shapes::ShapeRef.new(shape: TablePropertyDescriptionList, location_name: "TableProperties"))
257
+ Table.struct_class = Types::Table
258
+
259
+ TableConfigurations.key = Shapes::ShapeRef.new(shape: TableName)
260
+ TableConfigurations.value = Shapes::ShapeRef.new(shape: TableProperties)
261
+
262
+ TableList.member = Shapes::ShapeRef.new(shape: Table)
263
+
264
+ TableProperties.key = Shapes::ShapeRef.new(shape: TableProperty)
265
+ TableProperties.value = Shapes::ShapeRef.new(shape: GenericString)
266
+
267
+ TablePropertyDescription.add_member(:default_value, Shapes::ShapeRef.new(shape: GenericString, location_name: "DefaultValue"))
268
+ TablePropertyDescription.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "Description"))
269
+ TablePropertyDescription.add_member(:name, Shapes::ShapeRef.new(shape: GenericString, location_name: "Name"))
270
+ TablePropertyDescription.add_member(:valid_values, Shapes::ShapeRef.new(shape: GenericStringList, location_name: "ValidValues"))
271
+ TablePropertyDescription.struct_class = Types::TablePropertyDescription
272
+
273
+ TablePropertyDescriptionList.member = Shapes::ShapeRef.new(shape: TablePropertyDescription)
274
+
275
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
276
+ TagResourceRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, required: true, location_name: "ResourceTags"))
277
+ TagResourceRequest.struct_class = Types::TagResourceRequest
278
+
279
+ TagResourceResponse.struct_class = Types::TagResourceResponse
280
+
281
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Message"))
282
+ ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: GenericString, location_name: "QuotaCode"))
283
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: GenericString, location_name: "ServiceCode"))
284
+ ThrottlingException.struct_class = Types::ThrottlingException
285
+
286
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
287
+ UntagResourceRequest.add_member(:resource_tag_keys, Shapes::ShapeRef.new(shape: ResourceTagKeyList, required: true, location_name: "ResourceTagKeys"))
288
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
289
+
290
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
291
+
292
+ UpdateExportRequest.add_member(:export, Shapes::ShapeRef.new(shape: Export, required: true, location_name: "Export"))
293
+ UpdateExportRequest.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExportArn"))
294
+ UpdateExportRequest.struct_class = Types::UpdateExportRequest
295
+
296
+ UpdateExportResponse.add_member(:export_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExportArn"))
297
+ UpdateExportResponse.struct_class = Types::UpdateExportResponse
298
+
299
+ ValidationException.add_member(:fields, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "Fields"))
300
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Message"))
301
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "Reason"))
302
+ ValidationException.struct_class = Types::ValidationException
303
+
304
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Message"))
305
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Name"))
306
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
307
+
308
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
309
+
310
+
311
+ # @api private
312
+ API = Seahorse::Model::Api.new.tap do |api|
313
+
314
+ api.version = "2023-11-26"
315
+
316
+ api.metadata = {
317
+ "apiVersion" => "2023-11-26",
318
+ "endpointPrefix" => "bcm-data-exports",
319
+ "jsonVersion" => "1.1",
320
+ "protocol" => "json",
321
+ "serviceFullName" => "AWS Billing and Cost Management Data Exports",
322
+ "serviceId" => "BCM Data Exports",
323
+ "signatureVersion" => "v4",
324
+ "signingName" => "bcm-data-exports",
325
+ "targetPrefix" => "AWSBillingAndCostManagementDataExports",
326
+ "uid" => "bcm-data-exports-2023-11-26",
327
+ }
328
+
329
+ api.add_operation(:create_export, Seahorse::Model::Operation.new.tap do |o|
330
+ o.name = "CreateExport"
331
+ o.http_method = "POST"
332
+ o.http_request_uri = "/"
333
+ o.input = Shapes::ShapeRef.new(shape: CreateExportRequest)
334
+ o.output = Shapes::ShapeRef.new(shape: CreateExportResponse)
335
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
336
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
337
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
338
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
339
+ end)
340
+
341
+ api.add_operation(:delete_export, Seahorse::Model::Operation.new.tap do |o|
342
+ o.name = "DeleteExport"
343
+ o.http_method = "POST"
344
+ o.http_request_uri = "/"
345
+ o.input = Shapes::ShapeRef.new(shape: DeleteExportRequest)
346
+ o.output = Shapes::ShapeRef.new(shape: DeleteExportResponse)
347
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
348
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
349
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
350
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
351
+ end)
352
+
353
+ api.add_operation(:get_execution, Seahorse::Model::Operation.new.tap do |o|
354
+ o.name = "GetExecution"
355
+ o.http_method = "POST"
356
+ o.http_request_uri = "/"
357
+ o.input = Shapes::ShapeRef.new(shape: GetExecutionRequest)
358
+ o.output = Shapes::ShapeRef.new(shape: GetExecutionResponse)
359
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
360
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
361
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
362
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
363
+ end)
364
+
365
+ api.add_operation(:get_export, Seahorse::Model::Operation.new.tap do |o|
366
+ o.name = "GetExport"
367
+ o.http_method = "POST"
368
+ o.http_request_uri = "/"
369
+ o.input = Shapes::ShapeRef.new(shape: GetExportRequest)
370
+ o.output = Shapes::ShapeRef.new(shape: GetExportResponse)
371
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
372
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
373
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
374
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
375
+ end)
376
+
377
+ api.add_operation(:get_table, Seahorse::Model::Operation.new.tap do |o|
378
+ o.name = "GetTable"
379
+ o.http_method = "POST"
380
+ o.http_request_uri = "/"
381
+ o.input = Shapes::ShapeRef.new(shape: GetTableRequest)
382
+ o.output = Shapes::ShapeRef.new(shape: GetTableResponse)
383
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
384
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
385
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
386
+ end)
387
+
388
+ api.add_operation(:list_executions, Seahorse::Model::Operation.new.tap do |o|
389
+ o.name = "ListExecutions"
390
+ o.http_method = "POST"
391
+ o.http_request_uri = "/"
392
+ o.input = Shapes::ShapeRef.new(shape: ListExecutionsRequest)
393
+ o.output = Shapes::ShapeRef.new(shape: ListExecutionsResponse)
394
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
395
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
396
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
397
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
398
+ o[:pager] = Aws::Pager.new(
399
+ limit_key: "max_results",
400
+ tokens: {
401
+ "next_token" => "next_token"
402
+ }
403
+ )
404
+ end)
405
+
406
+ api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o|
407
+ o.name = "ListExports"
408
+ o.http_method = "POST"
409
+ o.http_request_uri = "/"
410
+ o.input = Shapes::ShapeRef.new(shape: ListExportsRequest)
411
+ o.output = Shapes::ShapeRef.new(shape: ListExportsResponse)
412
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
413
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
414
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
415
+ o[:pager] = Aws::Pager.new(
416
+ limit_key: "max_results",
417
+ tokens: {
418
+ "next_token" => "next_token"
419
+ }
420
+ )
421
+ end)
422
+
423
+ api.add_operation(:list_tables, Seahorse::Model::Operation.new.tap do |o|
424
+ o.name = "ListTables"
425
+ o.http_method = "POST"
426
+ o.http_request_uri = "/"
427
+ o.input = Shapes::ShapeRef.new(shape: ListTablesRequest)
428
+ o.output = Shapes::ShapeRef.new(shape: ListTablesResponse)
429
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
430
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
431
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
432
+ o[:pager] = Aws::Pager.new(
433
+ limit_key: "max_results",
434
+ tokens: {
435
+ "next_token" => "next_token"
436
+ }
437
+ )
438
+ end)
439
+
440
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
441
+ o.name = "ListTagsForResource"
442
+ o.http_method = "POST"
443
+ o.http_request_uri = "/"
444
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
445
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
446
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
447
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
448
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
449
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
450
+ end)
451
+
452
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
453
+ o.name = "TagResource"
454
+ o.http_method = "POST"
455
+ o.http_request_uri = "/"
456
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
457
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
458
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
459
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
460
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
461
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
462
+ end)
463
+
464
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
465
+ o.name = "UntagResource"
466
+ o.http_method = "POST"
467
+ o.http_request_uri = "/"
468
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
469
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
470
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
471
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
472
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
473
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
474
+ end)
475
+
476
+ api.add_operation(:update_export, Seahorse::Model::Operation.new.tap do |o|
477
+ o.name = "UpdateExport"
478
+ o.http_method = "POST"
479
+ o.http_request_uri = "/"
480
+ o.input = Shapes::ShapeRef.new(shape: UpdateExportRequest)
481
+ o.output = Shapes::ShapeRef.new(shape: UpdateExportResponse)
482
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
483
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
484
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
485
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
486
+ end)
487
+ end
488
+
489
+ end
490
+ end
File without changes
@@ -0,0 +1,54 @@
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
+ module Aws::BCMDataExports
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_fips
19
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute endpoint
24
+ # Override the endpoint used to send this request
25
+ #
26
+ # @return [String]
27
+ #
28
+ EndpointParameters = Struct.new(
29
+ :region,
30
+ :use_fips,
31
+ :endpoint,
32
+ ) do
33
+ include Aws::Structure
34
+
35
+ # @api private
36
+ class << self
37
+ PARAM_MAP = {
38
+ 'Region' => :region,
39
+ 'UseFIPS' => :use_fips,
40
+ 'Endpoint' => :endpoint,
41
+ }.freeze
42
+ end
43
+
44
+ def initialize(options = {})
45
+ self[:region] = options[:region]
46
+ self[:use_fips] = options[:use_fips]
47
+ self[:use_fips] = false if self[:use_fips].nil?
48
+ if self[:use_fips].nil?
49
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
50
+ end
51
+ self[:endpoint] = options[:endpoint]
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,56 @@
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
+ module Aws::BCMDataExports
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_fips = parameters.use_fips
15
+ endpoint = parameters.endpoint
16
+ if Aws::Endpoints::Matchers.set?(endpoint)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
18
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
19
+ end
20
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
+ end
22
+ if Aws::Endpoints::Matchers.set?(region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
24
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
25
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
26
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
27
+ return Aws::Endpoints::Endpoint.new(url: "https://bcm-data-exports-fips.#{region}.api.aws", headers: {}, properties: {})
28
+ end
29
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
30
+ end
31
+ return Aws::Endpoints::Endpoint.new(url: "https://bcm-data-exports.us-east-1.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"bcm-data-exports", "signingRegion"=>"us-east-1"}]})
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ return Aws::Endpoints::Endpoint.new(url: "https://bcm-data-exports-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ return Aws::Endpoints::Endpoint.new(url: "https://bcm-data-exports.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
41
+ end
42
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
43
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
44
+ return Aws::Endpoints::Endpoint.new(url: "https://bcm-data-exports-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
45
+ end
46
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
47
+ end
48
+ return Aws::Endpoints::Endpoint.new(url: "https://bcm-data-exports.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
49
+ end
50
+ end
51
+ raise ArgumentError, "Invalid Configuration: Missing Region"
52
+ raise ArgumentError, 'No endpoint could be resolved'
53
+
54
+ end
55
+ end
56
+ end