aws-sdk-costandusagereportservice 1.53.0 → 1.55.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c8947912f7f8c93d070577d97e18dbeaae527cbb4946152c246fdb1049b5230
4
- data.tar.gz: ccc7887965abcd16387f74fadbc5b1f4e73a775d45d1757be683eea3d6031c1e
3
+ metadata.gz: 44c5639a90837200c1b6a79274181ec18427e3b095293de90c60f751a22c40db
4
+ data.tar.gz: 5aadc6ee8cc9d15ac0ed1afbe87156a786364a4bc345a6b3621c265dfd636aaf
5
5
  SHA512:
6
- metadata.gz: 22098caa94da5f52404d78a12e63f0fe306f31f96c46d33eaead0e0293596558e37502123b6b9473db2d3a713d3fd75cd330930e414a84fe859c4c6fa2610ee2
7
- data.tar.gz: 85513939b417a680a405af71791ac0da29324596d394b6de379e192bffdc7902fedadc66e7dd644ba32a9fb75f1ce85e21ca450dadf175f1b6628270d5b290ac
6
+ metadata.gz: e2b627669c1146418caa9ccdfbb82919b858bdf5cc98fca6aa296d493ca423e5d7d4c9f7946d0bfebe8262868781e1644319ef46379a5bf1d51f0c954ff41abe
7
+ data.tar.gz: c0bf04919346faf352a25b3e73e65025a4c66f93811017463cef7588bc75d31664521660568508a346c44aacc72d9d2cd66694a6b70da32ff46450817132f79c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.55.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.54.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.53.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.55.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::CostandUsageReportService
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::CostandUsageReportService
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -347,50 +356,65 @@ module Aws::CostandUsageReportService
347
356
  # @option options [Aws::CostandUsageReportService::EndpointProvider] :endpoint_provider
348
357
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CostandUsageReportService::EndpointParameters`
349
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
375
409
  #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
378
412
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
382
415
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
385
- # verifying peer certificates. If you do not pass
386
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
387
- # will be used if available.
388
- #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
391
- # authority files for verifying peer certificates. If you do
392
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
393
- # system default will be used if available.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -759,7 +783,7 @@ module Aws::CostandUsageReportService
759
783
  params: params,
760
784
  config: config)
761
785
  context[:gem_name] = 'aws-sdk-costandusagereportservice'
762
- context[:gem_version] = '1.53.0'
786
+ context[:gem_version] = '1.55.0'
763
787
  Seahorse::Client::Request.new(handlers, context)
764
788
  end
765
789
 
@@ -14,6 +14,7 @@ module Aws::CostandUsageReportService
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CostandUsageReportService::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-costandusagereportservice/customizations'
52
52
  # @!group service
53
53
  module Aws::CostandUsageReportService
54
54
 
55
- GEM_VERSION = '1.53.0'
55
+ GEM_VERSION = '1.55.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,194 @@
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 CostandUsageReportService
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _DeleteReportDefinitionResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteReportDefinitionResponse]
78
+ def response_message: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Client.html#delete_report_definition-instance_method
81
+ def delete_report_definition: (
82
+ report_name: ::String
83
+ ) -> _DeleteReportDefinitionResponseSuccess
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteReportDefinitionResponseSuccess
85
+
86
+ interface _DescribeReportDefinitionsResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeReportDefinitionsResponse]
88
+ def report_definitions: () -> ::Array[Types::ReportDefinition]
89
+ def next_token: () -> ::String
90
+ end
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Client.html#describe_report_definitions-instance_method
92
+ def describe_report_definitions: (
93
+ ?max_results: ::Integer,
94
+ ?next_token: ::String
95
+ ) -> _DescribeReportDefinitionsResponseSuccess
96
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReportDefinitionsResponseSuccess
97
+
98
+ interface _ListTagsForResourceResponseSuccess
99
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
100
+ def tags: () -> ::Array[Types::Tag]
101
+ end
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Client.html#list_tags_for_resource-instance_method
103
+ def list_tags_for_resource: (
104
+ report_name: ::String
105
+ ) -> _ListTagsForResourceResponseSuccess
106
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
107
+
108
+ interface _ModifyReportDefinitionResponseSuccess
109
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyReportDefinitionResponse]
110
+ end
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Client.html#modify_report_definition-instance_method
112
+ def modify_report_definition: (
113
+ report_name: ::String,
114
+ report_definition: {
115
+ report_name: ::String,
116
+ time_unit: ("HOURLY" | "DAILY" | "MONTHLY"),
117
+ format: ("textORcsv" | "Parquet"),
118
+ compression: ("ZIP" | "GZIP" | "Parquet"),
119
+ additional_schema_elements: Array[("RESOURCES" | "SPLIT_COST_ALLOCATION_DATA" | "MANUAL_DISCOUNT_COMPATIBILITY")],
120
+ s3_bucket: ::String,
121
+ s3_prefix: ::String,
122
+ s3_region: ("af-south-1" | "ap-east-1" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "cn-north-1" | "cn-northwest-1"),
123
+ additional_artifacts: Array[("REDSHIFT" | "QUICKSIGHT" | "ATHENA")]?,
124
+ refresh_closed_reports: bool?,
125
+ report_versioning: ("CREATE_NEW_REPORT" | "OVERWRITE_REPORT")?,
126
+ billing_view_arn: ::String?,
127
+ report_status: {
128
+ last_delivery: ::String?,
129
+ last_status: ("SUCCESS" | "ERROR_PERMISSIONS" | "ERROR_NO_BUCKET")?
130
+ }?
131
+ }
132
+ ) -> _ModifyReportDefinitionResponseSuccess
133
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyReportDefinitionResponseSuccess
134
+
135
+ interface _PutReportDefinitionResponseSuccess
136
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutReportDefinitionResponse]
137
+ end
138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Client.html#put_report_definition-instance_method
139
+ def put_report_definition: (
140
+ report_definition: {
141
+ report_name: ::String,
142
+ time_unit: ("HOURLY" | "DAILY" | "MONTHLY"),
143
+ format: ("textORcsv" | "Parquet"),
144
+ compression: ("ZIP" | "GZIP" | "Parquet"),
145
+ additional_schema_elements: Array[("RESOURCES" | "SPLIT_COST_ALLOCATION_DATA" | "MANUAL_DISCOUNT_COMPATIBILITY")],
146
+ s3_bucket: ::String,
147
+ s3_prefix: ::String,
148
+ s3_region: ("af-south-1" | "ap-east-1" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "cn-north-1" | "cn-northwest-1"),
149
+ additional_artifacts: Array[("REDSHIFT" | "QUICKSIGHT" | "ATHENA")]?,
150
+ refresh_closed_reports: bool?,
151
+ report_versioning: ("CREATE_NEW_REPORT" | "OVERWRITE_REPORT")?,
152
+ billing_view_arn: ::String?,
153
+ report_status: {
154
+ last_delivery: ::String?,
155
+ last_status: ("SUCCESS" | "ERROR_PERMISSIONS" | "ERROR_NO_BUCKET")?
156
+ }?
157
+ },
158
+ ?tags: Array[
159
+ {
160
+ key: ::String,
161
+ value: ::String
162
+ },
163
+ ]
164
+ ) -> _PutReportDefinitionResponseSuccess
165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutReportDefinitionResponseSuccess
166
+
167
+ interface _TagResourceResponseSuccess
168
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Client.html#tag_resource-instance_method
171
+ def tag_resource: (
172
+ report_name: ::String,
173
+ tags: Array[
174
+ {
175
+ key: ::String,
176
+ value: ::String
177
+ },
178
+ ]
179
+ ) -> _TagResourceResponseSuccess
180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
181
+
182
+ interface _UntagResourceResponseSuccess
183
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
184
+ end
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Client.html#untag_resource-instance_method
186
+ def untag_resource: (
187
+ report_name: ::String,
188
+ tag_keys: Array[::String]
189
+ ) -> _UntagResourceResponseSuccess
190
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
191
+ end
192
+ end
193
+ end
194
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,31 @@
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 CostandUsageReportService
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class DuplicateReportNameException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalErrorException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ReportLimitReachedException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ValidationException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ end
30
+ end
31
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
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 CostandUsageReportService
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostandUsageReportService/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,133 @@
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::CostandUsageReportService
9
+ module Types
10
+
11
+ class DeleteReportDefinitionRequest
12
+ attr_accessor report_name: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class DeleteReportDefinitionResponse
17
+ attr_accessor response_message: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class DescribeReportDefinitionsRequest
22
+ attr_accessor max_results: ::Integer
23
+ attr_accessor next_token: ::String
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class DescribeReportDefinitionsResponse
28
+ attr_accessor report_definitions: ::Array[Types::ReportDefinition]
29
+ attr_accessor next_token: ::String
30
+ SENSITIVE: []
31
+ end
32
+
33
+ class DuplicateReportNameException
34
+ attr_accessor message: ::String
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class InternalErrorException
39
+ attr_accessor message: ::String
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class ListTagsForResourceRequest
44
+ attr_accessor report_name: ::String
45
+ SENSITIVE: []
46
+ end
47
+
48
+ class ListTagsForResourceResponse
49
+ attr_accessor tags: ::Array[Types::Tag]
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class ModifyReportDefinitionRequest
54
+ attr_accessor report_name: ::String
55
+ attr_accessor report_definition: Types::ReportDefinition
56
+ SENSITIVE: []
57
+ end
58
+
59
+ class ModifyReportDefinitionResponse < Aws::EmptyStructure
60
+ end
61
+
62
+ class PutReportDefinitionRequest
63
+ attr_accessor report_definition: Types::ReportDefinition
64
+ attr_accessor tags: ::Array[Types::Tag]
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class PutReportDefinitionResponse < Aws::EmptyStructure
69
+ end
70
+
71
+ class ReportDefinition
72
+ attr_accessor report_name: ::String
73
+ attr_accessor time_unit: ("HOURLY" | "DAILY" | "MONTHLY")
74
+ attr_accessor format: ("textORcsv" | "Parquet")
75
+ attr_accessor compression: ("ZIP" | "GZIP" | "Parquet")
76
+ attr_accessor additional_schema_elements: ::Array[("RESOURCES" | "SPLIT_COST_ALLOCATION_DATA" | "MANUAL_DISCOUNT_COMPATIBILITY")]
77
+ attr_accessor s3_bucket: ::String
78
+ attr_accessor s3_prefix: ::String
79
+ attr_accessor s3_region: ("af-south-1" | "ap-east-1" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "cn-north-1" | "cn-northwest-1")
80
+ attr_accessor additional_artifacts: ::Array[("REDSHIFT" | "QUICKSIGHT" | "ATHENA")]
81
+ attr_accessor refresh_closed_reports: bool
82
+ attr_accessor report_versioning: ("CREATE_NEW_REPORT" | "OVERWRITE_REPORT")
83
+ attr_accessor billing_view_arn: ::String
84
+ attr_accessor report_status: Types::ReportStatus
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class ReportLimitReachedException
89
+ attr_accessor message: ::String
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class ReportStatus
94
+ attr_accessor last_delivery: ::String
95
+ attr_accessor last_status: ("SUCCESS" | "ERROR_PERMISSIONS" | "ERROR_NO_BUCKET")
96
+ SENSITIVE: []
97
+ end
98
+
99
+ class ResourceNotFoundException
100
+ attr_accessor message: ::String
101
+ SENSITIVE: []
102
+ end
103
+
104
+ class Tag
105
+ attr_accessor key: ::String
106
+ attr_accessor value: ::String
107
+ SENSITIVE: []
108
+ end
109
+
110
+ class TagResourceRequest
111
+ attr_accessor report_name: ::String
112
+ attr_accessor tags: ::Array[Types::Tag]
113
+ SENSITIVE: []
114
+ end
115
+
116
+ class TagResourceResponse < Aws::EmptyStructure
117
+ end
118
+
119
+ class UntagResourceRequest
120
+ attr_accessor report_name: ::String
121
+ attr_accessor tag_keys: ::Array[::String]
122
+ SENSITIVE: []
123
+ end
124
+
125
+ class UntagResourceResponse < Aws::EmptyStructure
126
+ end
127
+
128
+ class ValidationException
129
+ attr_accessor message: ::String
130
+ SENSITIVE: []
131
+ end
132
+ end
133
+ 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 CostandUsageReportService
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-costandusagereportservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-costandusagereportservice/plugins/endpoints.rb
67
67
  - lib/aws-sdk-costandusagereportservice/resource.rb
68
68
  - lib/aws-sdk-costandusagereportservice/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-costandusagereportservice
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-costandusagereportservice/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - AWS Cost and Usage Report Service
94
99
  test_files: []