aws-sdk-bcmdashboards 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,465 @@
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::BCMDashboards
12
+ # @api private
13
+ module ClientApi
14
+
15
+ include Seahorse::Model
16
+
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ CostAndUsageQuery = Shapes::StructureShape.new(name: 'CostAndUsageQuery')
19
+ CostCategoryValues = Shapes::StructureShape.new(name: 'CostCategoryValues')
20
+ CreateDashboardRequest = Shapes::StructureShape.new(name: 'CreateDashboardRequest')
21
+ CreateDashboardResponse = Shapes::StructureShape.new(name: 'CreateDashboardResponse')
22
+ DashboardArn = Shapes::StringShape.new(name: 'DashboardArn')
23
+ DashboardName = Shapes::StringShape.new(name: 'DashboardName')
24
+ DashboardReference = Shapes::StructureShape.new(name: 'DashboardReference')
25
+ DashboardReferenceList = Shapes::ListShape.new(name: 'DashboardReferenceList')
26
+ DashboardType = Shapes::StringShape.new(name: 'DashboardType')
27
+ DateTimeRange = Shapes::StructureShape.new(name: 'DateTimeRange')
28
+ DateTimeType = Shapes::StringShape.new(name: 'DateTimeType')
29
+ DateTimeValue = Shapes::StructureShape.new(name: 'DateTimeValue')
30
+ DeleteDashboardRequest = Shapes::StructureShape.new(name: 'DeleteDashboardRequest')
31
+ DeleteDashboardResponse = Shapes::StructureShape.new(name: 'DeleteDashboardResponse')
32
+ Description = Shapes::StringShape.new(name: 'Description')
33
+ Dimension = Shapes::StringShape.new(name: 'Dimension')
34
+ DimensionValues = Shapes::StructureShape.new(name: 'DimensionValues')
35
+ DisplayConfig = Shapes::UnionShape.new(name: 'DisplayConfig')
36
+ Expression = Shapes::StructureShape.new(name: 'Expression')
37
+ Expressions = Shapes::ListShape.new(name: 'Expressions')
38
+ GenericString = Shapes::StringShape.new(name: 'GenericString')
39
+ GenericTimeStamp = Shapes::TimestampShape.new(name: 'GenericTimeStamp')
40
+ GetDashboardRequest = Shapes::StructureShape.new(name: 'GetDashboardRequest')
41
+ GetDashboardResponse = Shapes::StructureShape.new(name: 'GetDashboardResponse')
42
+ GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
43
+ GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
44
+ Granularity = Shapes::StringShape.new(name: 'Granularity')
45
+ GraphDisplayConfig = Shapes::StructureShape.new(name: 'GraphDisplayConfig')
46
+ GraphDisplayConfigMap = Shapes::MapShape.new(name: 'GraphDisplayConfigMap')
47
+ GroupDefinition = Shapes::StructureShape.new(name: 'GroupDefinition')
48
+ GroupDefinitionKeyString = Shapes::StringShape.new(name: 'GroupDefinitionKeyString')
49
+ GroupDefinitionType = Shapes::StringShape.new(name: 'GroupDefinitionType')
50
+ GroupDefinitions = Shapes::ListShape.new(name: 'GroupDefinitions')
51
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
52
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
53
+ ListDashboardsRequest = Shapes::StructureShape.new(name: 'ListDashboardsRequest')
54
+ ListDashboardsResponse = Shapes::StructureShape.new(name: 'ListDashboardsResponse')
55
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
56
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
57
+ MatchOption = Shapes::StringShape.new(name: 'MatchOption')
58
+ MatchOptions = Shapes::ListShape.new(name: 'MatchOptions')
59
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
60
+ MetricName = Shapes::StringShape.new(name: 'MetricName')
61
+ MetricNames = Shapes::ListShape.new(name: 'MetricNames')
62
+ NextPageToken = Shapes::StringShape.new(name: 'NextPageToken')
63
+ QueryParameters = Shapes::UnionShape.new(name: 'QueryParameters')
64
+ ReservationCoverageQuery = Shapes::StructureShape.new(name: 'ReservationCoverageQuery')
65
+ ReservationUtilizationQuery = Shapes::StructureShape.new(name: 'ReservationUtilizationQuery')
66
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
67
+ ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
68
+ ResourceTagKey = Shapes::StringShape.new(name: 'ResourceTagKey')
69
+ ResourceTagKeyList = Shapes::ListShape.new(name: 'ResourceTagKeyList')
70
+ ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
71
+ ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
72
+ SavingsPlansCoverageQuery = Shapes::StructureShape.new(name: 'SavingsPlansCoverageQuery')
73
+ SavingsPlansUtilizationQuery = Shapes::StructureShape.new(name: 'SavingsPlansUtilizationQuery')
74
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
75
+ String = Shapes::StringShape.new(name: 'String')
76
+ StringList = Shapes::ListShape.new(name: 'StringList')
77
+ TableDisplayConfigStruct = Shapes::StructureShape.new(name: 'TableDisplayConfigStruct')
78
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
79
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
80
+ TagValues = Shapes::StructureShape.new(name: 'TagValues')
81
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
82
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
83
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
84
+ UpdateDashboardRequest = Shapes::StructureShape.new(name: 'UpdateDashboardRequest')
85
+ UpdateDashboardResponse = Shapes::StructureShape.new(name: 'UpdateDashboardResponse')
86
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
87
+ VisualType = Shapes::StringShape.new(name: 'VisualType')
88
+ Widget = Shapes::StructureShape.new(name: 'Widget')
89
+ WidgetConfig = Shapes::StructureShape.new(name: 'WidgetConfig')
90
+ WidgetConfigList = Shapes::ListShape.new(name: 'WidgetConfigList')
91
+ WidgetHeight = Shapes::IntegerShape.new(name: 'WidgetHeight')
92
+ WidgetList = Shapes::ListShape.new(name: 'WidgetList')
93
+ WidgetTitle = Shapes::StringShape.new(name: 'WidgetTitle')
94
+ WidgetWidth = Shapes::IntegerShape.new(name: 'WidgetWidth')
95
+
96
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "message"))
97
+ AccessDeniedException.struct_class = Types::AccessDeniedException
98
+
99
+ CostAndUsageQuery.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, required: true, location_name: "metrics"))
100
+ CostAndUsageQuery.add_member(:time_range, Shapes::ShapeRef.new(shape: DateTimeRange, required: true, location_name: "timeRange"))
101
+ CostAndUsageQuery.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "granularity"))
102
+ CostAndUsageQuery.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "groupBy"))
103
+ CostAndUsageQuery.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "filter"))
104
+ CostAndUsageQuery.struct_class = Types::CostAndUsageQuery
105
+
106
+ CostCategoryValues.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
107
+ CostCategoryValues.add_member(:values, Shapes::ShapeRef.new(shape: StringList, location_name: "values"))
108
+ CostCategoryValues.add_member(:match_options, Shapes::ShapeRef.new(shape: MatchOptions, location_name: "matchOptions"))
109
+ CostCategoryValues.struct_class = Types::CostCategoryValues
110
+
111
+ CreateDashboardRequest.add_member(:name, Shapes::ShapeRef.new(shape: DashboardName, required: true, location_name: "name"))
112
+ CreateDashboardRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
113
+ CreateDashboardRequest.add_member(:widgets, Shapes::ShapeRef.new(shape: WidgetList, required: true, location_name: "widgets"))
114
+ CreateDashboardRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "resourceTags"))
115
+ CreateDashboardRequest.struct_class = Types::CreateDashboardRequest
116
+
117
+ CreateDashboardResponse.add_member(:arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "arn"))
118
+ CreateDashboardResponse.struct_class = Types::CreateDashboardResponse
119
+
120
+ DashboardReference.add_member(:arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "arn"))
121
+ DashboardReference.add_member(:name, Shapes::ShapeRef.new(shape: DashboardName, required: true, location_name: "name"))
122
+ DashboardReference.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
123
+ DashboardReference.add_member(:type, Shapes::ShapeRef.new(shape: DashboardType, required: true, location_name: "type"))
124
+ DashboardReference.add_member(:created_at, Shapes::ShapeRef.new(shape: GenericTimeStamp, required: true, location_name: "createdAt"))
125
+ DashboardReference.add_member(:updated_at, Shapes::ShapeRef.new(shape: GenericTimeStamp, required: true, location_name: "updatedAt"))
126
+ DashboardReference.struct_class = Types::DashboardReference
127
+
128
+ DashboardReferenceList.member = Shapes::ShapeRef.new(shape: DashboardReference)
129
+
130
+ DateTimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTimeValue, required: true, location_name: "startTime"))
131
+ DateTimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTimeValue, required: true, location_name: "endTime"))
132
+ DateTimeRange.struct_class = Types::DateTimeRange
133
+
134
+ DateTimeValue.add_member(:type, Shapes::ShapeRef.new(shape: DateTimeType, required: true, location_name: "type"))
135
+ DateTimeValue.add_member(:value, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "value"))
136
+ DateTimeValue.struct_class = Types::DateTimeValue
137
+
138
+ DeleteDashboardRequest.add_member(:arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "arn"))
139
+ DeleteDashboardRequest.struct_class = Types::DeleteDashboardRequest
140
+
141
+ DeleteDashboardResponse.add_member(:arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "arn"))
142
+ DeleteDashboardResponse.struct_class = Types::DeleteDashboardResponse
143
+
144
+ DimensionValues.add_member(:key, Shapes::ShapeRef.new(shape: Dimension, required: true, location_name: "key"))
145
+ DimensionValues.add_member(:values, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "values"))
146
+ DimensionValues.add_member(:match_options, Shapes::ShapeRef.new(shape: MatchOptions, location_name: "matchOptions"))
147
+ DimensionValues.struct_class = Types::DimensionValues
148
+
149
+ DisplayConfig.add_member(:graph, Shapes::ShapeRef.new(shape: GraphDisplayConfigMap, location_name: "graph"))
150
+ DisplayConfig.add_member(:table, Shapes::ShapeRef.new(shape: TableDisplayConfigStruct, location_name: "table"))
151
+ DisplayConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
152
+ DisplayConfig.add_member_subclass(:graph, Types::DisplayConfig::Graph)
153
+ DisplayConfig.add_member_subclass(:table, Types::DisplayConfig::Table)
154
+ DisplayConfig.add_member_subclass(:unknown, Types::DisplayConfig::Unknown)
155
+ DisplayConfig.struct_class = Types::DisplayConfig
156
+
157
+ Expression.add_member(:or, Shapes::ShapeRef.new(shape: Expressions, location_name: "or"))
158
+ Expression.add_member(:and, Shapes::ShapeRef.new(shape: Expressions, location_name: "and"))
159
+ Expression.add_member(:not, Shapes::ShapeRef.new(shape: Expression, location_name: "not"))
160
+ Expression.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionValues, location_name: "dimensions"))
161
+ Expression.add_member(:tags, Shapes::ShapeRef.new(shape: TagValues, location_name: "tags"))
162
+ Expression.add_member(:cost_categories, Shapes::ShapeRef.new(shape: CostCategoryValues, location_name: "costCategories"))
163
+ Expression.struct_class = Types::Expression
164
+
165
+ Expressions.member = Shapes::ShapeRef.new(shape: Expression)
166
+
167
+ GetDashboardRequest.add_member(:arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "arn"))
168
+ GetDashboardRequest.struct_class = Types::GetDashboardRequest
169
+
170
+ GetDashboardResponse.add_member(:arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "arn"))
171
+ GetDashboardResponse.add_member(:name, Shapes::ShapeRef.new(shape: DashboardName, required: true, location_name: "name"))
172
+ GetDashboardResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
173
+ GetDashboardResponse.add_member(:type, Shapes::ShapeRef.new(shape: DashboardType, required: true, location_name: "type"))
174
+ GetDashboardResponse.add_member(:widgets, Shapes::ShapeRef.new(shape: WidgetList, required: true, location_name: "widgets"))
175
+ GetDashboardResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: GenericTimeStamp, required: true, location_name: "createdAt"))
176
+ GetDashboardResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: GenericTimeStamp, required: true, location_name: "updatedAt"))
177
+ GetDashboardResponse.struct_class = Types::GetDashboardResponse
178
+
179
+ GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "resourceArn"))
180
+ GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
181
+
182
+ GetResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "resourceArn"))
183
+ GetResourcePolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "policyDocument"))
184
+ GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
185
+
186
+ GraphDisplayConfig.add_member(:visual_type, Shapes::ShapeRef.new(shape: VisualType, required: true, location_name: "visualType"))
187
+ GraphDisplayConfig.struct_class = Types::GraphDisplayConfig
188
+
189
+ GraphDisplayConfigMap.key = Shapes::ShapeRef.new(shape: GenericString)
190
+ GraphDisplayConfigMap.value = Shapes::ShapeRef.new(shape: GraphDisplayConfig)
191
+
192
+ GroupDefinition.add_member(:key, Shapes::ShapeRef.new(shape: GroupDefinitionKeyString, required: true, location_name: "key"))
193
+ GroupDefinition.add_member(:type, Shapes::ShapeRef.new(shape: GroupDefinitionType, location_name: "type"))
194
+ GroupDefinition.struct_class = Types::GroupDefinition
195
+
196
+ GroupDefinitions.member = Shapes::ShapeRef.new(shape: GroupDefinition)
197
+
198
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "message"))
199
+ InternalServerException.struct_class = Types::InternalServerException
200
+
201
+ ListDashboardsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
202
+ ListDashboardsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "nextToken"))
203
+ ListDashboardsRequest.struct_class = Types::ListDashboardsRequest
204
+
205
+ ListDashboardsResponse.add_member(:dashboards, Shapes::ShapeRef.new(shape: DashboardReferenceList, required: true, location_name: "dashboards"))
206
+ ListDashboardsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "nextToken"))
207
+ ListDashboardsResponse.struct_class = Types::ListDashboardsResponse
208
+
209
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "resourceArn"))
210
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
211
+
212
+ ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "resourceTags"))
213
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
214
+
215
+ MatchOptions.member = Shapes::ShapeRef.new(shape: MatchOption)
216
+
217
+ MetricNames.member = Shapes::ShapeRef.new(shape: MetricName)
218
+
219
+ QueryParameters.add_member(:cost_and_usage, Shapes::ShapeRef.new(shape: CostAndUsageQuery, location_name: "costAndUsage"))
220
+ QueryParameters.add_member(:savings_plans_coverage, Shapes::ShapeRef.new(shape: SavingsPlansCoverageQuery, location_name: "savingsPlansCoverage"))
221
+ QueryParameters.add_member(:savings_plans_utilization, Shapes::ShapeRef.new(shape: SavingsPlansUtilizationQuery, location_name: "savingsPlansUtilization"))
222
+ QueryParameters.add_member(:reservation_coverage, Shapes::ShapeRef.new(shape: ReservationCoverageQuery, location_name: "reservationCoverage"))
223
+ QueryParameters.add_member(:reservation_utilization, Shapes::ShapeRef.new(shape: ReservationUtilizationQuery, location_name: "reservationUtilization"))
224
+ QueryParameters.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
225
+ QueryParameters.add_member_subclass(:cost_and_usage, Types::QueryParameters::CostAndUsage)
226
+ QueryParameters.add_member_subclass(:savings_plans_coverage, Types::QueryParameters::SavingsPlansCoverage)
227
+ QueryParameters.add_member_subclass(:savings_plans_utilization, Types::QueryParameters::SavingsPlansUtilization)
228
+ QueryParameters.add_member_subclass(:reservation_coverage, Types::QueryParameters::ReservationCoverage)
229
+ QueryParameters.add_member_subclass(:reservation_utilization, Types::QueryParameters::ReservationUtilization)
230
+ QueryParameters.add_member_subclass(:unknown, Types::QueryParameters::Unknown)
231
+ QueryParameters.struct_class = Types::QueryParameters
232
+
233
+ ReservationCoverageQuery.add_member(:time_range, Shapes::ShapeRef.new(shape: DateTimeRange, required: true, location_name: "timeRange"))
234
+ ReservationCoverageQuery.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "groupBy"))
235
+ ReservationCoverageQuery.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "granularity"))
236
+ ReservationCoverageQuery.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "filter"))
237
+ ReservationCoverageQuery.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "metrics"))
238
+ ReservationCoverageQuery.struct_class = Types::ReservationCoverageQuery
239
+
240
+ ReservationUtilizationQuery.add_member(:time_range, Shapes::ShapeRef.new(shape: DateTimeRange, required: true, location_name: "timeRange"))
241
+ ReservationUtilizationQuery.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "groupBy"))
242
+ ReservationUtilizationQuery.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "granularity"))
243
+ ReservationUtilizationQuery.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "filter"))
244
+ ReservationUtilizationQuery.struct_class = Types::ReservationUtilizationQuery
245
+
246
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "message"))
247
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
248
+
249
+ ResourceTag.add_member(:key, Shapes::ShapeRef.new(shape: ResourceTagKey, required: true, location_name: "key"))
250
+ ResourceTag.add_member(:value, Shapes::ShapeRef.new(shape: ResourceTagValue, required: true, location_name: "value"))
251
+ ResourceTag.struct_class = Types::ResourceTag
252
+
253
+ ResourceTagKeyList.member = Shapes::ShapeRef.new(shape: ResourceTagKey)
254
+
255
+ ResourceTagList.member = Shapes::ShapeRef.new(shape: ResourceTag)
256
+
257
+ SavingsPlansCoverageQuery.add_member(:time_range, Shapes::ShapeRef.new(shape: DateTimeRange, required: true, location_name: "timeRange"))
258
+ SavingsPlansCoverageQuery.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "metrics"))
259
+ SavingsPlansCoverageQuery.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "granularity"))
260
+ SavingsPlansCoverageQuery.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "groupBy"))
261
+ SavingsPlansCoverageQuery.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "filter"))
262
+ SavingsPlansCoverageQuery.struct_class = Types::SavingsPlansCoverageQuery
263
+
264
+ SavingsPlansUtilizationQuery.add_member(:time_range, Shapes::ShapeRef.new(shape: DateTimeRange, required: true, location_name: "timeRange"))
265
+ SavingsPlansUtilizationQuery.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "granularity"))
266
+ SavingsPlansUtilizationQuery.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "filter"))
267
+ SavingsPlansUtilizationQuery.struct_class = Types::SavingsPlansUtilizationQuery
268
+
269
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "message"))
270
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
271
+
272
+ StringList.member = Shapes::ShapeRef.new(shape: String)
273
+
274
+ TableDisplayConfigStruct.struct_class = Types::TableDisplayConfigStruct
275
+
276
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "resourceArn"))
277
+ TagResourceRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTagList, required: true, location_name: "resourceTags"))
278
+ TagResourceRequest.struct_class = Types::TagResourceRequest
279
+
280
+ TagResourceResponse.struct_class = Types::TagResourceResponse
281
+
282
+ TagValues.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
283
+ TagValues.add_member(:values, Shapes::ShapeRef.new(shape: StringList, location_name: "values"))
284
+ TagValues.add_member(:match_options, Shapes::ShapeRef.new(shape: MatchOptions, location_name: "matchOptions"))
285
+ TagValues.struct_class = Types::TagValues
286
+
287
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "message"))
288
+ ThrottlingException.struct_class = Types::ThrottlingException
289
+
290
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "resourceArn"))
291
+ UntagResourceRequest.add_member(:resource_tag_keys, Shapes::ShapeRef.new(shape: ResourceTagKeyList, required: true, location_name: "resourceTagKeys"))
292
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
293
+
294
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
295
+
296
+ UpdateDashboardRequest.add_member(:arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "arn"))
297
+ UpdateDashboardRequest.add_member(:name, Shapes::ShapeRef.new(shape: DashboardName, location_name: "name"))
298
+ UpdateDashboardRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
299
+ UpdateDashboardRequest.add_member(:widgets, Shapes::ShapeRef.new(shape: WidgetList, location_name: "widgets"))
300
+ UpdateDashboardRequest.struct_class = Types::UpdateDashboardRequest
301
+
302
+ UpdateDashboardResponse.add_member(:arn, Shapes::ShapeRef.new(shape: DashboardArn, required: true, location_name: "arn"))
303
+ UpdateDashboardResponse.struct_class = Types::UpdateDashboardResponse
304
+
305
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "message"))
306
+ ValidationException.struct_class = Types::ValidationException
307
+
308
+ Widget.add_member(:title, Shapes::ShapeRef.new(shape: WidgetTitle, required: true, location_name: "title"))
309
+ Widget.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
310
+ Widget.add_member(:width, Shapes::ShapeRef.new(shape: WidgetWidth, location_name: "width"))
311
+ Widget.add_member(:height, Shapes::ShapeRef.new(shape: WidgetHeight, location_name: "height"))
312
+ Widget.add_member(:horizontal_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "horizontalOffset"))
313
+ Widget.add_member(:configs, Shapes::ShapeRef.new(shape: WidgetConfigList, required: true, location_name: "configs"))
314
+ Widget.struct_class = Types::Widget
315
+
316
+ WidgetConfig.add_member(:query_parameters, Shapes::ShapeRef.new(shape: QueryParameters, required: true, location_name: "queryParameters"))
317
+ WidgetConfig.add_member(:display_config, Shapes::ShapeRef.new(shape: DisplayConfig, required: true, location_name: "displayConfig"))
318
+ WidgetConfig.struct_class = Types::WidgetConfig
319
+
320
+ WidgetConfigList.member = Shapes::ShapeRef.new(shape: WidgetConfig)
321
+
322
+ WidgetList.member = Shapes::ShapeRef.new(shape: Widget)
323
+
324
+
325
+ # @api private
326
+ API = Seahorse::Model::Api.new.tap do |api|
327
+
328
+ api.version = "2025-08-18"
329
+
330
+ api.metadata = {
331
+ "apiVersion" => "2025-08-18",
332
+ "auth" => ["aws.auth#sigv4"],
333
+ "endpointPrefix" => "bcm-dashboards",
334
+ "jsonVersion" => "1.0",
335
+ "protocol" => "json",
336
+ "protocols" => ["json"],
337
+ "serviceFullName" => "AWS Billing and Cost Management Dashboards",
338
+ "serviceId" => "BCM Dashboards",
339
+ "signatureVersion" => "v4",
340
+ "signingName" => "bcm-dashboards",
341
+ "targetPrefix" => "AWSBCMDashboardsService",
342
+ "uid" => "bcm-dashboards-2025-08-18",
343
+ }
344
+
345
+ api.add_operation(:create_dashboard, Seahorse::Model::Operation.new.tap do |o|
346
+ o.name = "CreateDashboard"
347
+ o.http_method = "POST"
348
+ o.http_request_uri = "/"
349
+ o.input = Shapes::ShapeRef.new(shape: CreateDashboardRequest)
350
+ o.output = Shapes::ShapeRef.new(shape: CreateDashboardResponse)
351
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
352
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
353
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
354
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
355
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
356
+ end)
357
+
358
+ api.add_operation(:delete_dashboard, Seahorse::Model::Operation.new.tap do |o|
359
+ o.name = "DeleteDashboard"
360
+ o.http_method = "POST"
361
+ o.http_request_uri = "/"
362
+ o.input = Shapes::ShapeRef.new(shape: DeleteDashboardRequest)
363
+ o.output = Shapes::ShapeRef.new(shape: DeleteDashboardResponse)
364
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
365
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
366
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
367
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
368
+ end)
369
+
370
+ api.add_operation(:get_dashboard, Seahorse::Model::Operation.new.tap do |o|
371
+ o.name = "GetDashboard"
372
+ o.http_method = "POST"
373
+ o.http_request_uri = "/"
374
+ o.input = Shapes::ShapeRef.new(shape: GetDashboardRequest)
375
+ o.output = Shapes::ShapeRef.new(shape: GetDashboardResponse)
376
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
377
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
378
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
379
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
380
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
381
+ end)
382
+
383
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
384
+ o.name = "GetResourcePolicy"
385
+ o.http_method = "POST"
386
+ o.http_request_uri = "/"
387
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
388
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
389
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
390
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
391
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
392
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
393
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
394
+ end)
395
+
396
+ api.add_operation(:list_dashboards, Seahorse::Model::Operation.new.tap do |o|
397
+ o.name = "ListDashboards"
398
+ o.http_method = "POST"
399
+ o.http_request_uri = "/"
400
+ o.input = Shapes::ShapeRef.new(shape: ListDashboardsRequest)
401
+ o.output = Shapes::ShapeRef.new(shape: ListDashboardsResponse)
402
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
403
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
404
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
405
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
406
+ o[:pager] = Aws::Pager.new(
407
+ limit_key: "max_results",
408
+ tokens: {
409
+ "next_token" => "next_token"
410
+ }
411
+ )
412
+ end)
413
+
414
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
415
+ o.name = "ListTagsForResource"
416
+ o.http_method = "POST"
417
+ o.http_request_uri = "/"
418
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
419
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
420
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
421
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
422
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
423
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
424
+ end)
425
+
426
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
427
+ o.name = "TagResource"
428
+ o.http_method = "POST"
429
+ o.http_request_uri = "/"
430
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
431
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
432
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
433
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
434
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
435
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
436
+ end)
437
+
438
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
439
+ o.name = "UntagResource"
440
+ o.http_method = "POST"
441
+ o.http_request_uri = "/"
442
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
443
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
444
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
445
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
446
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
447
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
448
+ end)
449
+
450
+ api.add_operation(:update_dashboard, Seahorse::Model::Operation.new.tap do |o|
451
+ o.name = "UpdateDashboard"
452
+ o.http_method = "POST"
453
+ o.http_request_uri = "/"
454
+ o.input = Shapes::ShapeRef.new(shape: UpdateDashboardRequest)
455
+ o.output = Shapes::ShapeRef.new(shape: UpdateDashboardResponse)
456
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
457
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
458
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
459
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
460
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
461
+ end)
462
+ end
463
+
464
+ end
465
+ end
File without changes
@@ -0,0 +1,59 @@
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::BCMDashboards
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute use_fips
14
+ # 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.
15
+ #
16
+ # @return [Boolean]
17
+ #
18
+ # @!attribute endpoint
19
+ # Override the endpoint used to send this request
20
+ #
21
+ # @return [String]
22
+ #
23
+ # @!attribute region
24
+ # The AWS region used to dispatch the request.
25
+ #
26
+ # @return [String]
27
+ #
28
+ EndpointParameters = Struct.new(
29
+ :use_fips,
30
+ :endpoint,
31
+ :region,
32
+ ) do
33
+ include Aws::Structure
34
+
35
+ # @api private
36
+ class << self
37
+ PARAM_MAP = {
38
+ 'UseFIPS' => :use_fips,
39
+ 'Endpoint' => :endpoint,
40
+ 'Region' => :region,
41
+ }.freeze
42
+ end
43
+
44
+ def initialize(options = {})
45
+ self[:use_fips] = options[:use_fips]
46
+ self[:use_fips] = false if self[:use_fips].nil?
47
+ self[:endpoint] = options[:endpoint]
48
+ self[:region] = options[:region]
49
+ end
50
+
51
+ def self.create(config, options={})
52
+ new({
53
+ use_fips: config.use_fips_endpoint,
54
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
55
+ region: config.region,
56
+ }.merge(options))
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,32 @@
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::BCMDashboards
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
15
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
16
+ end
17
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
18
+ end
19
+ if Aws::Endpoints::Matchers.set?(parameters.region)
20
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
21
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
22
+ return Aws::Endpoints::Endpoint.new(url: "https://bcm-dashboards-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "#{partition_result['implicitGlobalRegion']}"}]})
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: "https://bcm-dashboards.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "#{partition_result['implicitGlobalRegion']}"}]})
25
+ end
26
+ end
27
+ raise ArgumentError, "Invalid Configuration: Missing Region"
28
+ raise ArgumentError, 'No endpoint could be resolved'
29
+
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,20 @@
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::BCMDashboards
12
+ # @api private
13
+ module Endpoints
14
+
15
+
16
+ def self.parameters_for_operation(context)
17
+ Aws::BCMDashboards::EndpointParameters.create(context.config)
18
+ end
19
+ end
20
+ end