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.
data/sig/errors.rbs ADDED
@@ -0,0 +1,34 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module BCMDashboards
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalServerException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ThrottlingException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ValidationException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ end
33
+ end
34
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,86 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module BCMDashboards
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?simple_json: bool,
57
+ ?stub_responses: untyped,
58
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
59
+ ?token_provider: untyped,
60
+ ?use_dualstack_endpoint: bool,
61
+ ?use_fips_endpoint: bool,
62
+ ?validate_params: bool,
63
+ ?endpoint_provider: untyped,
64
+ ?http_proxy: String,
65
+ ?http_open_timeout: (Float | Integer),
66
+ ?http_read_timeout: (Float | Integer),
67
+ ?http_idle_timeout: (Float | Integer),
68
+ ?http_continue_timeout: (Float | Integer),
69
+ ?ssl_timeout: (Float | Integer | nil),
70
+ ?http_wire_trace: bool,
71
+ ?ssl_verify_peer: bool,
72
+ ?ssl_ca_bundle: String,
73
+ ?ssl_ca_directory: String,
74
+ ?ssl_ca_store: String,
75
+ ?on_chunk_received: Proc,
76
+ ?on_chunk_sent: Proc,
77
+ ?raise_response_errors: bool
78
+ ) -> void
79
+ | (?Hash[Symbol, untyped]) -> void
80
+
81
+ def client: () -> Client
82
+
83
+
84
+ end
85
+ end
86
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,312 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::BCMDashboards
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class CostAndUsageQuery
17
+ attr_accessor metrics: ::Array[("AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost")]
18
+ attr_accessor time_range: Types::DateTimeRange
19
+ attr_accessor granularity: ("HOURLY" | "DAILY" | "MONTHLY")
20
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
21
+ attr_accessor filter: Types::Expression
22
+ SENSITIVE: []
23
+ end
24
+
25
+ class CostCategoryValues
26
+ attr_accessor key: ::String
27
+ attr_accessor values: ::Array[::String]
28
+ attr_accessor match_options: ::Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class CreateDashboardRequest
33
+ attr_accessor name: ::String
34
+ attr_accessor description: ::String
35
+ attr_accessor widgets: ::Array[Types::Widget]
36
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
37
+ SENSITIVE: []
38
+ end
39
+
40
+ class CreateDashboardResponse
41
+ attr_accessor arn: ::String
42
+ SENSITIVE: []
43
+ end
44
+
45
+ class DashboardReference
46
+ attr_accessor arn: ::String
47
+ attr_accessor name: ::String
48
+ attr_accessor description: ::String
49
+ attr_accessor type: ("CUSTOM")
50
+ attr_accessor created_at: ::Time
51
+ attr_accessor updated_at: ::Time
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class DateTimeRange
56
+ attr_accessor start_time: Types::DateTimeValue
57
+ attr_accessor end_time: Types::DateTimeValue
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class DateTimeValue
62
+ attr_accessor type: ("ABSOLUTE" | "RELATIVE")
63
+ attr_accessor value: ::String
64
+ SENSITIVE: []
65
+ end
66
+
67
+ class DeleteDashboardRequest
68
+ attr_accessor arn: ::String
69
+ SENSITIVE: []
70
+ end
71
+
72
+ class DeleteDashboardResponse
73
+ attr_accessor arn: ::String
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class DimensionValues
78
+ attr_accessor key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM")
79
+ attr_accessor values: ::Array[::String]
80
+ attr_accessor match_options: ::Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]
81
+ SENSITIVE: []
82
+ end
83
+
84
+ class DisplayConfig
85
+ attr_accessor graph: ::Hash[::String, Types::GraphDisplayConfig]
86
+ attr_accessor table: Types::TableDisplayConfigStruct
87
+ attr_accessor unknown: untyped
88
+ SENSITIVE: []
89
+
90
+ class Graph < DisplayConfig
91
+ end
92
+ class Table < DisplayConfig
93
+ end
94
+ class Unknown < DisplayConfig
95
+ end
96
+ end
97
+
98
+ class Expression
99
+ attr_accessor or: ::Array[Types::Expression]
100
+ attr_accessor and: ::Array[Types::Expression]
101
+ attr_accessor not: Types::Expression
102
+ attr_accessor dimensions: Types::DimensionValues
103
+ attr_accessor tags: Types::TagValues
104
+ attr_accessor cost_categories: Types::CostCategoryValues
105
+ SENSITIVE: []
106
+ end
107
+
108
+ class GetDashboardRequest
109
+ attr_accessor arn: ::String
110
+ SENSITIVE: []
111
+ end
112
+
113
+ class GetDashboardResponse
114
+ attr_accessor arn: ::String
115
+ attr_accessor name: ::String
116
+ attr_accessor description: ::String
117
+ attr_accessor type: ("CUSTOM")
118
+ attr_accessor widgets: ::Array[Types::Widget]
119
+ attr_accessor created_at: ::Time
120
+ attr_accessor updated_at: ::Time
121
+ SENSITIVE: []
122
+ end
123
+
124
+ class GetResourcePolicyRequest
125
+ attr_accessor resource_arn: ::String
126
+ SENSITIVE: []
127
+ end
128
+
129
+ class GetResourcePolicyResponse
130
+ attr_accessor resource_arn: ::String
131
+ attr_accessor policy_document: ::String
132
+ SENSITIVE: []
133
+ end
134
+
135
+ class GraphDisplayConfig
136
+ attr_accessor visual_type: ("LINE" | "BAR" | "STACK")
137
+ SENSITIVE: []
138
+ end
139
+
140
+ class GroupDefinition
141
+ attr_accessor key: ::String
142
+ attr_accessor type: ("DIMENSION" | "TAG" | "COST_CATEGORY")
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class InternalServerException
147
+ attr_accessor message: ::String
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class ListDashboardsRequest
152
+ attr_accessor max_results: ::Integer
153
+ attr_accessor next_token: ::String
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class ListDashboardsResponse
158
+ attr_accessor dashboards: ::Array[Types::DashboardReference]
159
+ attr_accessor next_token: ::String
160
+ SENSITIVE: []
161
+ end
162
+
163
+ class ListTagsForResourceRequest
164
+ attr_accessor resource_arn: ::String
165
+ SENSITIVE: []
166
+ end
167
+
168
+ class ListTagsForResourceResponse
169
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
170
+ SENSITIVE: []
171
+ end
172
+
173
+ class QueryParameters
174
+ attr_accessor cost_and_usage: Types::CostAndUsageQuery
175
+ attr_accessor savings_plans_coverage: Types::SavingsPlansCoverageQuery
176
+ attr_accessor savings_plans_utilization: Types::SavingsPlansUtilizationQuery
177
+ attr_accessor reservation_coverage: Types::ReservationCoverageQuery
178
+ attr_accessor reservation_utilization: Types::ReservationUtilizationQuery
179
+ attr_accessor unknown: untyped
180
+ SENSITIVE: []
181
+
182
+ class CostAndUsage < QueryParameters
183
+ end
184
+ class SavingsPlansCoverage < QueryParameters
185
+ end
186
+ class SavingsPlansUtilization < QueryParameters
187
+ end
188
+ class ReservationCoverage < QueryParameters
189
+ end
190
+ class ReservationUtilization < QueryParameters
191
+ end
192
+ class Unknown < QueryParameters
193
+ end
194
+ end
195
+
196
+ class ReservationCoverageQuery
197
+ attr_accessor time_range: Types::DateTimeRange
198
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
199
+ attr_accessor granularity: ("HOURLY" | "DAILY" | "MONTHLY")
200
+ attr_accessor filter: Types::Expression
201
+ attr_accessor metrics: ::Array[("AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost")]
202
+ SENSITIVE: []
203
+ end
204
+
205
+ class ReservationUtilizationQuery
206
+ attr_accessor time_range: Types::DateTimeRange
207
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
208
+ attr_accessor granularity: ("HOURLY" | "DAILY" | "MONTHLY")
209
+ attr_accessor filter: Types::Expression
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class ResourceNotFoundException
214
+ attr_accessor message: ::String
215
+ SENSITIVE: []
216
+ end
217
+
218
+ class ResourceTag
219
+ attr_accessor key: ::String
220
+ attr_accessor value: ::String
221
+ SENSITIVE: []
222
+ end
223
+
224
+ class SavingsPlansCoverageQuery
225
+ attr_accessor time_range: Types::DateTimeRange
226
+ attr_accessor metrics: ::Array[("AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost")]
227
+ attr_accessor granularity: ("HOURLY" | "DAILY" | "MONTHLY")
228
+ attr_accessor group_by: ::Array[Types::GroupDefinition]
229
+ attr_accessor filter: Types::Expression
230
+ SENSITIVE: []
231
+ end
232
+
233
+ class SavingsPlansUtilizationQuery
234
+ attr_accessor time_range: Types::DateTimeRange
235
+ attr_accessor granularity: ("HOURLY" | "DAILY" | "MONTHLY")
236
+ attr_accessor filter: Types::Expression
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class ServiceQuotaExceededException
241
+ attr_accessor message: ::String
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class TableDisplayConfigStruct < Aws::EmptyStructure
246
+ end
247
+
248
+ class TagResourceRequest
249
+ attr_accessor resource_arn: ::String
250
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class TagResourceResponse < Aws::EmptyStructure
255
+ end
256
+
257
+ class TagValues
258
+ attr_accessor key: ::String
259
+ attr_accessor values: ::Array[::String]
260
+ attr_accessor match_options: ::Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class ThrottlingException
265
+ attr_accessor message: ::String
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class UntagResourceRequest
270
+ attr_accessor resource_arn: ::String
271
+ attr_accessor resource_tag_keys: ::Array[::String]
272
+ SENSITIVE: []
273
+ end
274
+
275
+ class UntagResourceResponse < Aws::EmptyStructure
276
+ end
277
+
278
+ class UpdateDashboardRequest
279
+ attr_accessor arn: ::String
280
+ attr_accessor name: ::String
281
+ attr_accessor description: ::String
282
+ attr_accessor widgets: ::Array[Types::Widget]
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class UpdateDashboardResponse
287
+ attr_accessor arn: ::String
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class ValidationException
292
+ attr_accessor message: ::String
293
+ SENSITIVE: []
294
+ end
295
+
296
+ class Widget
297
+ attr_accessor title: ::String
298
+ attr_accessor description: ::String
299
+ attr_accessor width: ::Integer
300
+ attr_accessor height: ::Integer
301
+ attr_accessor horizontal_offset: ::Integer
302
+ attr_accessor configs: ::Array[Types::WidgetConfig]
303
+ SENSITIVE: []
304
+ end
305
+
306
+ class WidgetConfig
307
+ attr_accessor query_parameters: Types::QueryParameters
308
+ attr_accessor display_config: Types::DisplayConfig
309
+ SENSITIVE: []
310
+ end
311
+ end
312
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module BCMDashboards
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-bcmdashboards
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: aws-sdk-core
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '3'
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 3.228.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '3'
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 3.228.0
32
+ - !ruby/object:Gem::Dependency
33
+ name: aws-sigv4
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "~>"
37
+ - !ruby/object:Gem::Version
38
+ version: '1.5'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - "~>"
44
+ - !ruby/object:Gem::Version
45
+ version: '1.5'
46
+ description: Official AWS Ruby gem for AWS Billing and Cost Management Dashboards.
47
+ This gem is part of the AWS SDK for Ruby.
48
+ email:
49
+ - aws-dr-rubygems@amazon.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - CHANGELOG.md
55
+ - LICENSE.txt
56
+ - VERSION
57
+ - lib/aws-sdk-bcmdashboards.rb
58
+ - lib/aws-sdk-bcmdashboards/client.rb
59
+ - lib/aws-sdk-bcmdashboards/client_api.rb
60
+ - lib/aws-sdk-bcmdashboards/customizations.rb
61
+ - lib/aws-sdk-bcmdashboards/endpoint_parameters.rb
62
+ - lib/aws-sdk-bcmdashboards/endpoint_provider.rb
63
+ - lib/aws-sdk-bcmdashboards/endpoints.rb
64
+ - lib/aws-sdk-bcmdashboards/errors.rb
65
+ - lib/aws-sdk-bcmdashboards/plugins/endpoints.rb
66
+ - lib/aws-sdk-bcmdashboards/resource.rb
67
+ - lib/aws-sdk-bcmdashboards/types.rb
68
+ - lib/aws-sdk-bcmdashboards/waiters.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
74
+ homepage: https://github.com/aws/aws-sdk-ruby
75
+ licenses:
76
+ - Apache-2.0
77
+ metadata:
78
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bcmdashboards
79
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bcmdashboards/CHANGELOG.md
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '2.7'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements: []
94
+ rubygems_version: 3.6.7
95
+ specification_version: 4
96
+ summary: AWS SDK for Ruby - AWS Billing and Cost Management Dashboards
97
+ test_files: []