aws-sdk-costoptimizationhub 1.2.0 → 1.4.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: 4dc4de3d6bbb16c43c37d60fd49bc23de5d66a2c806e0a6e7fb453589f2cbd20
4
- data.tar.gz: 44c9a1939a6ff75762165a749e77b2c79f470c6a2b1abe323a9f105b9c44ee14
3
+ metadata.gz: 91285b0ed1f98630a3771290a27e75135e1a174f32b1a21a5e6181291d28aa1c
4
+ data.tar.gz: 92a0e3ae5ddd17ec8f994750edca47c07a1d762961b0ee7869ff023b6477471c
5
5
  SHA512:
6
- metadata.gz: 9632a0373b5bd303f9648b2ea4eb200f4a33bb751f8e9c41e3c176c58fd25d0d9d6da010eee5aabc0f946a351bcabda0b885c0c9063df6b2b994bdccfc4793c5
7
- data.tar.gz: 9e062d2e03740fd3b3a620de8a09c993df1ce8d05873e673bb5c9855c0937294aa1d9d0f55e9ef1a1ba62a5d2a4889b671229a39ccb33d9f947bb29ec4c8eb0d
6
+ metadata.gz: 8fba78fc31c8ecc2d454e55f6e2cc2df92b4e8be287052cee3a0957f148734d20cc462b164c9daf87748bd0f3b7e2cd43232d14973ae7dd66ec579a700422fac
7
+ data.tar.gz: 69e2577536da35f997d8a1c776bdb3a6c87c208c78b5ab76ea2b414ee50eee26fd4e0baf4ce82cf5b10b71ccbf9bb81146284c0582b94e7b07093694ff27815f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.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.3.0 (2024-02-09)
10
+ ------------------
11
+
12
+ * Feature - Adding includeMemberAccounts field to the response of ListEnrollmentStatuses API.
13
+
4
14
  1.2.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.4.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::CostOptimizationHub
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::CostOptimizationHub
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::CostOptimizationHub
347
356
  # @option options [Aws::CostOptimizationHub::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::CostOptimizationHub::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
@@ -888,7 +912,7 @@ module Aws::CostOptimizationHub
888
912
  # list of accounts that are enrolled under the organization.
889
913
  #
890
914
  # @option params [String] :account_id
891
- # The enrollment status of a specific account ID in the organization.
915
+ # The account ID of a member account in the organization.
892
916
  #
893
917
  # @option params [Boolean] :include_organization_info
894
918
  # Indicates whether to return the enrollment status for the
@@ -902,6 +926,7 @@ module Aws::CostOptimizationHub
902
926
  #
903
927
  # @return [Types::ListEnrollmentStatusesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
904
928
  #
929
+ # * {Types::ListEnrollmentStatusesResponse#include_member_accounts #include_member_accounts} => Boolean
905
930
  # * {Types::ListEnrollmentStatusesResponse#items #items} => Array<Types::AccountEnrollmentStatus>
906
931
  # * {Types::ListEnrollmentStatusesResponse#next_token #next_token} => String
907
932
  #
@@ -918,6 +943,7 @@ module Aws::CostOptimizationHub
918
943
  #
919
944
  # @example Response structure
920
945
  #
946
+ # resp.include_member_accounts #=> Boolean
921
947
  # resp.items #=> Array
922
948
  # resp.items[0].account_id #=> String
923
949
  # resp.items[0].created_timestamp #=> Time
@@ -1197,7 +1223,7 @@ module Aws::CostOptimizationHub
1197
1223
  params: params,
1198
1224
  config: config)
1199
1225
  context[:gem_name] = 'aws-sdk-costoptimizationhub'
1200
- context[:gem_version] = '1.2.0'
1226
+ context[:gem_version] = '1.4.0'
1201
1227
  Seahorse::Client::Request.new(handlers, context)
1202
1228
  end
1203
1229
 
@@ -304,6 +304,7 @@ module Aws::CostOptimizationHub
304
304
  ListEnrollmentStatusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
305
305
  ListEnrollmentStatusesRequest.struct_class = Types::ListEnrollmentStatusesRequest
306
306
 
307
+ ListEnrollmentStatusesResponse.add_member(:include_member_accounts, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeMemberAccounts"))
307
308
  ListEnrollmentStatusesResponse.add_member(:items, Shapes::ShapeRef.new(shape: AccountEnrollmentStatuses, location_name: "items"))
308
309
  ListEnrollmentStatusesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
309
310
  ListEnrollmentStatusesResponse.struct_class = Types::ListEnrollmentStatusesResponse
@@ -894,7 +894,7 @@ module Aws::CostOptimizationHub
894
894
  end
895
895
 
896
896
  # @!attribute [rw] account_id
897
- # The enrollment status of a specific account ID in the organization.
897
+ # The account ID of a member account in the organization.
898
898
  # @return [String]
899
899
  #
900
900
  # @!attribute [rw] include_organization_info
@@ -921,8 +921,14 @@ module Aws::CostOptimizationHub
921
921
  include Aws::Structure
922
922
  end
923
923
 
924
+ # @!attribute [rw] include_member_accounts
925
+ # The enrollment status of all member accounts in the organization if
926
+ # the account is the management account.
927
+ # @return [Boolean]
928
+ #
924
929
  # @!attribute [rw] items
925
- # The account enrollment statuses.
930
+ # The enrollment status of a specific account ID, including creation
931
+ # and last updated timestamps.
926
932
  # @return [Array<Types::AccountEnrollmentStatus>]
927
933
  #
928
934
  # @!attribute [rw] next_token
@@ -932,6 +938,7 @@ module Aws::CostOptimizationHub
932
938
  # @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ListEnrollmentStatusesResponse AWS API Documentation
933
939
  #
934
940
  class ListEnrollmentStatusesResponse < Struct.new(
941
+ :include_member_accounts,
935
942
  :items,
936
943
  :next_token)
937
944
  SENSITIVE = []
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-costoptimizationhub/customizations'
52
52
  # @!group service
53
53
  module Aws::CostOptimizationHub
54
54
 
55
- GEM_VERSION = '1.2.0'
55
+ GEM_VERSION = '1.4.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -117,6 +117,7 @@ module Aws
117
117
 
118
118
  interface _ListEnrollmentStatusesResponseSuccess
119
119
  include ::Seahorse::Client::_ResponseSuccess[Types::ListEnrollmentStatusesResponse]
120
+ def include_member_accounts: () -> bool
120
121
  def items: () -> ::Array[Types::AccountEnrollmentStatus]
121
122
  def next_token: () -> ::String
122
123
  end
data/sig/types.rbs CHANGED
@@ -253,6 +253,7 @@ module Aws::CostOptimizationHub
253
253
  end
254
254
 
255
255
  class ListEnrollmentStatusesResponse
256
+ attr_accessor include_member_accounts: bool
256
257
  attr_accessor items: ::Array[Types::AccountEnrollmentStatus]
257
258
  attr_accessor next_token: ::String
258
259
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-costoptimizationhub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 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.191.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement