aws-sdk-applicationcostprofiler 1.9.0 → 1.23.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: b6003f176e6667661c8ce7d2307a1c9ee8da74acbf6cf687f1c0b4e128ad5627
4
- data.tar.gz: 7189ca77c2fb52b05fbf87c3f2f92ddc3aefec0c21ee3a08bf094101fb76f192
3
+ metadata.gz: ddead400498e37456e792469a0bdc8f7a2cf2a82399911ccd8e7da218146a11f
4
+ data.tar.gz: d3b8a7d85fb07cd5e0f66d4095c4e45c40109e17c3319184d18b31cf0b3b25ab
5
5
  SHA512:
6
- metadata.gz: 25e6b334425c3a657330063c910192f18449fb7681f3dbda3aca2342912f34bce834dfaa43b4aa9dde252c7a59eea0f7df07a0ec83ea3bb2eea49725c64db2f4
7
- data.tar.gz: 06a21e3d82d2b8a7126d25e7778c6469f4775a34683f4909867784c51fe26e2659ae4c46af1a1e87de56ee332450dc6743cd574f14f3838f3a4f43c20bcef937
6
+ metadata.gz: 5ede9c05cfe5ecd91da289735b1183fc9dd87c32b39952b6cfde87c7737b8caa09e0a39f062c40392a672256c36d2c1950aaf1f0e6b96f153d726ed2e315cee4
7
+ data.tar.gz: a2d121b11237fa2fbcbbb1ceee21ef5609c4b06f62cf8a322ab0438aba9591940c4ab7462e5c79977bb382d12e72d1bc70ede6cc0dfa620b666e527ae51bb0fa
data/CHANGELOG.md CHANGED
@@ -1,6 +1,78 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2024-05-13)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.22.0 (2024-04-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.21.0 (2024-01-26)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.20.0 (2023-11-28)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.19.0 (2023-11-22)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.18.0 (2023-09-27)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.17.0 (2023-09-19)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.16.0 (2023-07-11)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.15.0 (2023-07-06)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.14.0 (2023-06-28)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.13.0 (2023-06-15)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.12.0 (2023-05-31)
60
+ ------------------
61
+
62
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
63
+
64
+ 1.11.0 (2023-01-18)
65
+ ------------------
66
+
67
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
68
+
69
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
70
+
71
+ 1.10.0 (2022-10-25)
72
+ ------------------
73
+
74
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
75
+
4
76
  1.9.0 (2022-02-24)
5
77
  ------------------
6
78
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.23.0
@@ -22,15 +22,17 @@ 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'
28
29
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
30
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
31
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
+ require 'aws-sdk-core/plugins/request_compression.rb'
31
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
35
+ require 'aws-sdk-core/plugins/sign.rb'
34
36
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
37
 
36
38
  Aws::Plugins::GlobalConfiguration.add_identifier(:applicationcostprofiler)
@@ -71,16 +73,19 @@ module Aws::ApplicationCostProfiler
71
73
  add_plugin(Aws::Plugins::ResponsePaging)
72
74
  add_plugin(Aws::Plugins::StubResponses)
73
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
74
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
75
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
76
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
77
80
  add_plugin(Aws::Plugins::TransferEncoding)
78
81
  add_plugin(Aws::Plugins::HttpChecksum)
79
82
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
83
+ add_plugin(Aws::Plugins::RequestCompression)
80
84
  add_plugin(Aws::Plugins::DefaultsMode)
81
85
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
86
+ add_plugin(Aws::Plugins::Sign)
83
87
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
+ add_plugin(Aws::ApplicationCostProfiler::Plugins::Endpoints)
84
89
 
85
90
  # @overload initialize(options)
86
91
  # @param [Hash] options
@@ -189,10 +194,21 @@ module Aws::ApplicationCostProfiler
189
194
  # Set to true to disable SDK automatically adding host prefix
190
195
  # to default service endpoint when available.
191
196
  #
192
- # @option options [String] :endpoint
193
- # The client endpoint is normally constructed from the `:region`
194
- # option. You should only configure an `:endpoint` when connecting
195
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
197
+ # @option options [Boolean] :disable_request_compression (false)
198
+ # When set to 'true' the request body will not be compressed
199
+ # for supported operations.
200
+ #
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
+ #
196
212
  #
197
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
198
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -209,6 +225,10 @@ module Aws::ApplicationCostProfiler
209
225
  # @option options [Boolean] :endpoint_discovery (false)
210
226
  # When set to `true`, endpoint discovery will be enabled for operations when available.
211
227
  #
228
+ # @option options [Boolean] :ignore_configured_endpoint_urls
229
+ # Setting to true disables use of endpoint URLs provided via environment
230
+ # variables and the shared configuration file.
231
+ #
212
232
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
213
233
  # The log formatter.
214
234
  #
@@ -229,6 +249,11 @@ module Aws::ApplicationCostProfiler
229
249
  # Used when loading credentials from the shared credentials file
230
250
  # at HOME/.aws/credentials. When not specified, 'default' is used.
231
251
  #
252
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
253
+ # The minimum size in bytes that triggers compression for request
254
+ # bodies. The value must be non-negative integer value between 0
255
+ # and 10485780 bytes inclusive.
256
+ #
232
257
  # @option options [Proc] :retry_backoff
233
258
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
234
259
  # This option is only used in the `legacy` retry mode.
@@ -274,6 +299,12 @@ module Aws::ApplicationCostProfiler
274
299
  # in the future.
275
300
  #
276
301
  #
302
+ # @option options [String] :sdk_ua_app_id
303
+ # A unique and opaque application ID that is appended to the
304
+ # User-Agent header as app/sdk_ua_app_id. It should have a
305
+ # maximum length of 50. This variable is sourced from environment
306
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
307
+ #
277
308
  # @option options [String] :secret_access_key
278
309
  #
279
310
  # @option options [String] :session_token
@@ -287,6 +318,19 @@ module Aws::ApplicationCostProfiler
287
318
  # ** Please note ** When response stubbing is enabled, no HTTP
288
319
  # requests are made, and retries are disabled.
289
320
  #
321
+ # @option options [Aws::TokenProvider] :token_provider
322
+ # A Bearer Token Provider. This can be an instance of any one of the
323
+ # following classes:
324
+ #
325
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
326
+ # tokens.
327
+ #
328
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
329
+ # access token generated from `aws login`.
330
+ #
331
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
332
+ # will be used to search for tokens configured for your profile in shared configuration files.
333
+ #
290
334
  # @option options [Boolean] :use_dualstack_endpoint
291
335
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
336
  # will be used if available.
@@ -300,50 +344,68 @@ module Aws::ApplicationCostProfiler
300
344
  # When `true`, request parameters are validated before
301
345
  # sending the request.
302
346
  #
303
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
- # requests through. Formatted like 'http://proxy.com:123'.
347
+ # @option options [Aws::ApplicationCostProfiler::EndpointProvider] :endpoint_provider
348
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ApplicationCostProfiler::EndpointParameters`
305
349
  #
306
- # @option options [Float] :http_open_timeout (15) The number of
307
- # seconds to wait when opening a HTTP session before raising a
308
- # `Timeout::Error`.
350
+ # @option options [Float] :http_continue_timeout (1)
351
+ # The number of seconds to wait for a 100-continue response before sending the
352
+ # request body. This option has no effect unless the request has "Expect"
353
+ # header set to "100-continue". Defaults to `nil` which disables this
354
+ # behaviour. This value can safely be set per request on the session.
309
355
  #
310
- # @option options [Float] :http_read_timeout (60) The default
311
- # number of seconds to wait for response data. This value can
312
- # safely be set per-request on the session.
356
+ # @option options [Float] :http_idle_timeout (5)
357
+ # The number of seconds a connection is allowed to sit idle before it
358
+ # is considered stale. Stale connections are closed and removed from the
359
+ # pool before making a request.
313
360
  #
314
- # @option options [Float] :http_idle_timeout (5) The number of
315
- # seconds a connection is allowed to sit idle before it is
316
- # considered stale. Stale connections are closed and removed
317
- # from the pool before making a request.
361
+ # @option options [Float] :http_open_timeout (15)
362
+ # The default number of seconds to wait for response data.
363
+ # This value can safely be set per-request on the session.
318
364
  #
319
- # @option options [Float] :http_continue_timeout (1) The number of
320
- # seconds to wait for a 100-continue response before sending the
321
- # request body. This option has no effect unless the request has
322
- # "Expect" header set to "100-continue". Defaults to `nil` which
323
- # disables this behaviour. This value can safely be set per
324
- # request on the session.
365
+ # @option options [URI::HTTP,String] :http_proxy
366
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
325
367
  #
326
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
327
- # in seconds.
368
+ # @option options [Float] :http_read_timeout (60)
369
+ # The default number of seconds to wait for response data.
370
+ # This value can safely be set per-request on the session.
328
371
  #
329
- # @option options [Boolean] :http_wire_trace (false) When `true`,
330
- # HTTP debug output will be sent to the `:logger`.
372
+ # @option options [Boolean] :http_wire_trace (false)
373
+ # When `true`, HTTP debug output will be sent to the `:logger`.
331
374
  #
332
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
333
- # SSL peer certificates are verified when establishing a
334
- # connection.
375
+ # @option options [Proc] :on_chunk_received
376
+ # When a Proc object is provided, it will be used as callback when each chunk
377
+ # of the response body is received. It provides three arguments: the chunk,
378
+ # the number of bytes received, and the total number of
379
+ # bytes in the response (or nil if the server did not send a `content-length`).
335
380
  #
336
- # @option options [String] :ssl_ca_bundle Full path to the SSL
337
- # certificate authority bundle file that should be used when
338
- # verifying peer certificates. If you do not pass
339
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
340
- # will be used if available.
381
+ # @option options [Proc] :on_chunk_sent
382
+ # When a Proc object is provided, it will be used as callback when each chunk
383
+ # of the request body is sent. It provides three arguments: the chunk,
384
+ # the number of bytes read from the body, and the total number of
385
+ # bytes in the body.
386
+ #
387
+ # @option options [Boolean] :raise_response_errors (true)
388
+ # When `true`, response errors are raised.
341
389
  #
342
- # @option options [String] :ssl_ca_directory Full path of the
343
- # directory that contains the unbundled SSL certificate
390
+ # @option options [String] :ssl_ca_bundle
391
+ # Full path to the SSL certificate authority bundle file that should be used when
392
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
393
+ # `:ssl_ca_directory` the the system default will be used if available.
394
+ #
395
+ # @option options [String] :ssl_ca_directory
396
+ # Full path of the directory that contains the unbundled SSL certificate
344
397
  # authority files for verifying peer certificates. If you do
345
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
346
- # system default will be used if available.
398
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
399
+ # default will be used if available.
400
+ #
401
+ # @option options [String] :ssl_ca_store
402
+ # Sets the X509::Store to verify peer certificate.
403
+ #
404
+ # @option options [Float] :ssl_timeout
405
+ # Sets the SSL timeout in seconds
406
+ #
407
+ # @option options [Boolean] :ssl_verify_peer (true)
408
+ # When `true`, SSL peer certificates are verified when establishing a connection.
347
409
  #
348
410
  def initialize(*args)
349
411
  super
@@ -618,7 +680,7 @@ module Aws::ApplicationCostProfiler
618
680
  params: params,
619
681
  config: config)
620
682
  context[:gem_name] = 'aws-sdk-applicationcostprofiler'
621
- context[:gem_version] = '1.9.0'
683
+ context[:gem_version] = '1.23.0'
622
684
  Seahorse::Client::Request.new(handlers, context)
623
685
  end
624
686
 
@@ -0,0 +1,66 @@
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::ApplicationCostProfiler
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_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # 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.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -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::ApplicationCostProfiler
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://application-cost-profiler-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://application-cost-profiler-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://application-cost-profiler.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://application-cost-profiler.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
51
+
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,100 @@
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::ApplicationCostProfiler
12
+ # @api private
13
+ module Endpoints
14
+
15
+ class DeleteReportDefinition
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::ApplicationCostProfiler::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
29
+ class GetReportDefinition
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::ApplicationCostProfiler::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
43
+ class ImportApplicationUsage
44
+ def self.build(context)
45
+ unless context.config.regional_endpoint
46
+ endpoint = context.config.endpoint.to_s
47
+ end
48
+ Aws::ApplicationCostProfiler::EndpointParameters.new(
49
+ region: context.config.region,
50
+ use_dual_stack: context.config.use_dualstack_endpoint,
51
+ use_fips: context.config.use_fips_endpoint,
52
+ endpoint: endpoint,
53
+ )
54
+ end
55
+ end
56
+
57
+ class ListReportDefinitions
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::ApplicationCostProfiler::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
71
+ class PutReportDefinition
72
+ def self.build(context)
73
+ unless context.config.regional_endpoint
74
+ endpoint = context.config.endpoint.to_s
75
+ end
76
+ Aws::ApplicationCostProfiler::EndpointParameters.new(
77
+ region: context.config.region,
78
+ use_dual_stack: context.config.use_dualstack_endpoint,
79
+ use_fips: context.config.use_fips_endpoint,
80
+ endpoint: endpoint,
81
+ )
82
+ end
83
+ end
84
+
85
+ class UpdateReportDefinition
86
+ def self.build(context)
87
+ unless context.config.regional_endpoint
88
+ endpoint = context.config.endpoint.to_s
89
+ end
90
+ Aws::ApplicationCostProfiler::EndpointParameters.new(
91
+ region: context.config.region,
92
+ use_dual_stack: context.config.use_dualstack_endpoint,
93
+ use_fips: context.config.use_fips_endpoint,
94
+ endpoint: endpoint,
95
+ )
96
+ end
97
+ end
98
+
99
+ end
100
+ end
@@ -0,0 +1,82 @@
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::ApplicationCostProfiler
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::ApplicationCostProfiler::EndpointProvider',
17
+ rbs_type: 'untyped',
18
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
+ 'object that responds to `#resolve_endpoint(parameters)` '\
20
+ 'where `parameters` is a Struct similar to '\
21
+ '`Aws::ApplicationCostProfiler::EndpointParameters`'
22
+ ) do |cfg|
23
+ Aws::ApplicationCostProfiler::EndpointProvider.new
24
+ end
25
+
26
+ # @api private
27
+ class Handler < Seahorse::Client::Handler
28
+ def call(context)
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
38
+ end
39
+
40
+ context[:auth_scheme] =
41
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
+
43
+ @handler.call(context)
44
+ end
45
+
46
+ private
47
+
48
+ def apply_endpoint_headers(context, headers)
49
+ headers.each do |key, values|
50
+ value = values
51
+ .compact
52
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
53
+ .join(',')
54
+
55
+ context.http_request.headers[key] = value
56
+ end
57
+ end
58
+
59
+ def parameters_for_operation(context)
60
+ case context.operation_name
61
+ when :delete_report_definition
62
+ Aws::ApplicationCostProfiler::Endpoints::DeleteReportDefinition.build(context)
63
+ when :get_report_definition
64
+ Aws::ApplicationCostProfiler::Endpoints::GetReportDefinition.build(context)
65
+ when :import_application_usage
66
+ Aws::ApplicationCostProfiler::Endpoints::ImportApplicationUsage.build(context)
67
+ when :list_report_definitions
68
+ Aws::ApplicationCostProfiler::Endpoints::ListReportDefinitions.build(context)
69
+ when :put_report_definition
70
+ Aws::ApplicationCostProfiler::Endpoints::PutReportDefinition.build(context)
71
+ when :update_report_definition
72
+ Aws::ApplicationCostProfiler::Endpoints::UpdateReportDefinition.build(context)
73
+ end
74
+ end
75
+ end
76
+
77
+ def add_handlers(handlers, _config)
78
+ handlers.add(Handler, step: :build, priority: 75)
79
+ end
80
+ end
81
+ end
82
+ end
@@ -23,13 +23,6 @@ module Aws::ApplicationCostProfiler
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
- # @note When making an API call, you may pass DeleteReportDefinitionRequest
27
- # data as a hash:
28
- #
29
- # {
30
- # report_id: "ReportId", # required
31
- # }
32
- #
33
26
  # @!attribute [rw] report_id
34
27
  # Required. ID of the report to delete.
35
28
  # @return [String]
@@ -54,13 +47,6 @@ module Aws::ApplicationCostProfiler
54
47
  include Aws::Structure
55
48
  end
56
49
 
57
- # @note When making an API call, you may pass GetReportDefinitionRequest
58
- # data as a hash:
59
- #
60
- # {
61
- # report_id: "ReportId", # required
62
- # }
63
- #
64
50
  # @!attribute [rw] report_id
65
51
  # ID of the report to retrieve.
66
52
  # @return [String]
@@ -117,17 +103,6 @@ module Aws::ApplicationCostProfiler
117
103
  include Aws::Structure
118
104
  end
119
105
 
120
- # @note When making an API call, you may pass ImportApplicationUsageRequest
121
- # data as a hash:
122
- #
123
- # {
124
- # source_s3_location: { # required
125
- # bucket: "S3Bucket", # required
126
- # key: "S3Key", # required
127
- # region: "ap-east-1", # accepts ap-east-1, me-south-1, eu-south-1, af-south-1
128
- # },
129
- # }
130
- #
131
106
  # @!attribute [rw] source_s3_location
132
107
  # Amazon S3 location to import application usage data from.
133
108
  # @return [Types::SourceS3Location]
@@ -165,14 +140,6 @@ module Aws::ApplicationCostProfiler
165
140
  include Aws::Structure
166
141
  end
167
142
 
168
- # @note When making an API call, you may pass ListReportDefinitionsRequest
169
- # data as a hash:
170
- #
171
- # {
172
- # next_token: "Token",
173
- # max_results: 1,
174
- # }
175
- #
176
143
  # @!attribute [rw] next_token
177
144
  # The token value from a previous call to access the next page of
178
145
  # results.
@@ -209,20 +176,6 @@ module Aws::ApplicationCostProfiler
209
176
  include Aws::Structure
210
177
  end
211
178
 
212
- # @note When making an API call, you may pass PutReportDefinitionRequest
213
- # data as a hash:
214
- #
215
- # {
216
- # report_id: "ReportId", # required
217
- # report_description: "ReportDescription", # required
218
- # report_frequency: "MONTHLY", # required, accepts MONTHLY, DAILY, ALL
219
- # format: "CSV", # required, accepts CSV, PARQUET
220
- # destination_s3_location: { # required
221
- # bucket: "S3Bucket", # required
222
- # prefix: "S3Prefix", # required
223
- # },
224
- # }
225
- #
226
179
  # @!attribute [rw] report_id
227
180
  # Required. ID of the report. You can choose any valid string matching
228
181
  # the pattern for the ID.
@@ -319,14 +272,6 @@ module Aws::ApplicationCostProfiler
319
272
  # where AWS Application Cost Profiler reports are generated and then
320
273
  # written to.
321
274
  #
322
- # @note When making an API call, you may pass S3Location
323
- # data as a hash:
324
- #
325
- # {
326
- # bucket: "S3Bucket", # required
327
- # prefix: "S3Prefix", # required
328
- # }
329
- #
330
275
  # @!attribute [rw] bucket
331
276
  # Name of the S3 bucket.
332
277
  # @return [String]
@@ -360,15 +305,6 @@ module Aws::ApplicationCostProfiler
360
305
  # Represents the Amazon Simple Storage Service (Amazon S3) location
361
306
  # where usage data is read from.
362
307
  #
363
- # @note When making an API call, you may pass SourceS3Location
364
- # data as a hash:
365
- #
366
- # {
367
- # bucket: "S3Bucket", # required
368
- # key: "S3Key", # required
369
- # region: "ap-east-1", # accepts ap-east-1, me-south-1, eu-south-1, af-south-1
370
- # }
371
- #
372
308
  # @!attribute [rw] bucket
373
309
  # Name of the bucket.
374
310
  # @return [String]
@@ -412,20 +348,6 @@ module Aws::ApplicationCostProfiler
412
348
  include Aws::Structure
413
349
  end
414
350
 
415
- # @note When making an API call, you may pass UpdateReportDefinitionRequest
416
- # data as a hash:
417
- #
418
- # {
419
- # report_id: "ReportId", # required
420
- # report_description: "ReportDescription", # required
421
- # report_frequency: "MONTHLY", # required, accepts MONTHLY, DAILY, ALL
422
- # format: "CSV", # required, accepts CSV, PARQUET
423
- # destination_s3_location: { # required
424
- # bucket: "S3Bucket", # required
425
- # prefix: "S3Prefix", # required
426
- # },
427
- # }
428
- #
429
351
  # @!attribute [rw] report_id
430
352
  # Required. ID of the report to update.
431
353
  # @return [String]
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-applicationcostprofiler/types'
15
15
  require_relative 'aws-sdk-applicationcostprofiler/client_api'
16
+ require_relative 'aws-sdk-applicationcostprofiler/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-applicationcostprofiler/client'
17
18
  require_relative 'aws-sdk-applicationcostprofiler/errors'
18
19
  require_relative 'aws-sdk-applicationcostprofiler/resource'
20
+ require_relative 'aws-sdk-applicationcostprofiler/endpoint_parameters'
21
+ require_relative 'aws-sdk-applicationcostprofiler/endpoint_provider'
22
+ require_relative 'aws-sdk-applicationcostprofiler/endpoints'
19
23
  require_relative 'aws-sdk-applicationcostprofiler/customizations'
20
24
 
21
25
  # This module provides support for AWS Application Cost Profiler. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-applicationcostprofiler/customizations'
48
52
  # @!group service
49
53
  module Aws::ApplicationCostProfiler
50
54
 
51
- GEM_VERSION = '1.9.0'
55
+ GEM_VERSION = '1.23.0'
52
56
 
53
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,163 @@
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 ApplicationCostProfiler
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationCostProfiler/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
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _DeleteReportDefinitionResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteReportDefinitionResult]
77
+ def report_id: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationCostProfiler/Client.html#delete_report_definition-instance_method
80
+ def delete_report_definition: (
81
+ report_id: ::String
82
+ ) -> _DeleteReportDefinitionResponseSuccess
83
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteReportDefinitionResponseSuccess
84
+
85
+ interface _GetReportDefinitionResponseSuccess
86
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReportDefinitionResult]
87
+ def report_id: () -> ::String
88
+ def report_description: () -> ::String
89
+ def report_frequency: () -> ("MONTHLY" | "DAILY" | "ALL")
90
+ def format: () -> ("CSV" | "PARQUET")
91
+ def destination_s3_location: () -> Types::S3Location
92
+ def created_at: () -> ::Time
93
+ def last_updated: () -> ::Time
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationCostProfiler/Client.html#get_report_definition-instance_method
96
+ def get_report_definition: (
97
+ report_id: ::String
98
+ ) -> _GetReportDefinitionResponseSuccess
99
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReportDefinitionResponseSuccess
100
+
101
+ interface _ImportApplicationUsageResponseSuccess
102
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportApplicationUsageResult]
103
+ def import_id: () -> ::String
104
+ end
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationCostProfiler/Client.html#import_application_usage-instance_method
106
+ def import_application_usage: (
107
+ source_s3_location: {
108
+ bucket: ::String,
109
+ key: ::String,
110
+ region: ("ap-east-1" | "me-south-1" | "eu-south-1" | "af-south-1")?
111
+ }
112
+ ) -> _ImportApplicationUsageResponseSuccess
113
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportApplicationUsageResponseSuccess
114
+
115
+ interface _ListReportDefinitionsResponseSuccess
116
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReportDefinitionsResult]
117
+ def report_definitions: () -> ::Array[Types::ReportDefinition]
118
+ def next_token: () -> ::String
119
+ end
120
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationCostProfiler/Client.html#list_report_definitions-instance_method
121
+ def list_report_definitions: (
122
+ ?next_token: ::String,
123
+ ?max_results: ::Integer
124
+ ) -> _ListReportDefinitionsResponseSuccess
125
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReportDefinitionsResponseSuccess
126
+
127
+ interface _PutReportDefinitionResponseSuccess
128
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutReportDefinitionResult]
129
+ def report_id: () -> ::String
130
+ end
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationCostProfiler/Client.html#put_report_definition-instance_method
132
+ def put_report_definition: (
133
+ report_id: ::String,
134
+ report_description: ::String,
135
+ report_frequency: ("MONTHLY" | "DAILY" | "ALL"),
136
+ format: ("CSV" | "PARQUET"),
137
+ destination_s3_location: {
138
+ bucket: ::String,
139
+ prefix: ::String
140
+ }
141
+ ) -> _PutReportDefinitionResponseSuccess
142
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutReportDefinitionResponseSuccess
143
+
144
+ interface _UpdateReportDefinitionResponseSuccess
145
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateReportDefinitionResult]
146
+ def report_id: () -> ::String
147
+ end
148
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationCostProfiler/Client.html#update_report_definition-instance_method
149
+ def update_report_definition: (
150
+ report_id: ::String,
151
+ report_description: ::String,
152
+ report_frequency: ("MONTHLY" | "DAILY" | "ALL"),
153
+ format: ("CSV" | "PARQUET"),
154
+ destination_s3_location: {
155
+ bucket: ::String,
156
+ prefix: ::String
157
+ }
158
+ ) -> _UpdateReportDefinitionResponseSuccess
159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateReportDefinitionResponseSuccess
160
+ end
161
+ end
162
+ end
163
+
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 ApplicationCostProfiler
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 ServiceQuotaExceededException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ThrottlingException < ::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,79 @@
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 ApplicationCostProfiler
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationCostProfiler/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationCostProfiler/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
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,136 @@
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::ApplicationCostProfiler
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class DeleteReportDefinitionRequest
17
+ attr_accessor report_id: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class DeleteReportDefinitionResult
22
+ attr_accessor report_id: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class GetReportDefinitionRequest
27
+ attr_accessor report_id: ::String
28
+ SENSITIVE: []
29
+ end
30
+
31
+ class GetReportDefinitionResult
32
+ attr_accessor report_id: ::String
33
+ attr_accessor report_description: ::String
34
+ attr_accessor report_frequency: ("MONTHLY" | "DAILY" | "ALL")
35
+ attr_accessor format: ("CSV" | "PARQUET")
36
+ attr_accessor destination_s3_location: Types::S3Location
37
+ attr_accessor created_at: ::Time
38
+ attr_accessor last_updated: ::Time
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class ImportApplicationUsageRequest
43
+ attr_accessor source_s3_location: Types::SourceS3Location
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class ImportApplicationUsageResult
48
+ attr_accessor import_id: ::String
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class InternalServerException
53
+ attr_accessor message: ::String
54
+ SENSITIVE: []
55
+ end
56
+
57
+ class ListReportDefinitionsRequest
58
+ attr_accessor next_token: ::String
59
+ attr_accessor max_results: ::Integer
60
+ SENSITIVE: []
61
+ end
62
+
63
+ class ListReportDefinitionsResult
64
+ attr_accessor report_definitions: ::Array[Types::ReportDefinition]
65
+ attr_accessor next_token: ::String
66
+ SENSITIVE: []
67
+ end
68
+
69
+ class PutReportDefinitionRequest
70
+ attr_accessor report_id: ::String
71
+ attr_accessor report_description: ::String
72
+ attr_accessor report_frequency: ("MONTHLY" | "DAILY" | "ALL")
73
+ attr_accessor format: ("CSV" | "PARQUET")
74
+ attr_accessor destination_s3_location: Types::S3Location
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class PutReportDefinitionResult
79
+ attr_accessor report_id: ::String
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class ReportDefinition
84
+ attr_accessor report_id: ::String
85
+ attr_accessor report_description: ::String
86
+ attr_accessor report_frequency: ("MONTHLY" | "DAILY" | "ALL")
87
+ attr_accessor format: ("CSV" | "PARQUET")
88
+ attr_accessor destination_s3_location: Types::S3Location
89
+ attr_accessor created_at: ::Time
90
+ attr_accessor last_updated_at: ::Time
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class S3Location
95
+ attr_accessor bucket: ::String
96
+ attr_accessor prefix: ::String
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class ServiceQuotaExceededException
101
+ attr_accessor message: ::String
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class SourceS3Location
106
+ attr_accessor bucket: ::String
107
+ attr_accessor key: ::String
108
+ attr_accessor region: ("ap-east-1" | "me-south-1" | "eu-south-1" | "af-south-1")
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class ThrottlingException
113
+ attr_accessor message: ::String
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class UpdateReportDefinitionRequest
118
+ attr_accessor report_id: ::String
119
+ attr_accessor report_description: ::String
120
+ attr_accessor report_frequency: ("MONTHLY" | "DAILY" | "ALL")
121
+ attr_accessor format: ("CSV" | "PARQUET")
122
+ attr_accessor destination_s3_location: Types::S3Location
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class UpdateReportDefinitionResult
127
+ attr_accessor report_id: ::String
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class ValidationException
132
+ attr_accessor message: ::String
133
+ SENSITIVE: []
134
+ end
135
+ end
136
+ 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 ApplicationCostProfiler
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-applicationcostprofiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.23.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2024-05-13 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.127.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.127.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,16 +59,25 @@ files:
59
59
  - lib/aws-sdk-applicationcostprofiler/client.rb
60
60
  - lib/aws-sdk-applicationcostprofiler/client_api.rb
61
61
  - lib/aws-sdk-applicationcostprofiler/customizations.rb
62
+ - lib/aws-sdk-applicationcostprofiler/endpoint_parameters.rb
63
+ - lib/aws-sdk-applicationcostprofiler/endpoint_provider.rb
64
+ - lib/aws-sdk-applicationcostprofiler/endpoints.rb
62
65
  - lib/aws-sdk-applicationcostprofiler/errors.rb
66
+ - lib/aws-sdk-applicationcostprofiler/plugins/endpoints.rb
63
67
  - lib/aws-sdk-applicationcostprofiler/resource.rb
64
68
  - lib/aws-sdk-applicationcostprofiler/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
65
74
  homepage: https://github.com/aws/aws-sdk-ruby
66
75
  licenses:
67
76
  - Apache-2.0
68
77
  metadata:
69
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-applicationcostprofiler
70
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-applicationcostprofiler/CHANGELOG.md
71
- post_install_message:
80
+ post_install_message:
72
81
  rdoc_options: []
73
82
  require_paths:
74
83
  - lib
@@ -76,15 +85,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
85
  requirements:
77
86
  - - ">="
78
87
  - !ruby/object:Gem::Version
79
- version: '2.3'
88
+ version: '2.5'
80
89
  required_rubygems_version: !ruby/object:Gem::Requirement
81
90
  requirements:
82
91
  - - ">="
83
92
  - !ruby/object:Gem::Version
84
93
  version: '0'
85
94
  requirements: []
86
- rubygems_version: 3.1.6
87
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
88
97
  specification_version: 4
89
98
  summary: AWS SDK for Ruby - AWS Application Cost Profiler
90
99
  test_files: []