aws-sdk-costoptimizationhub 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costoptimizationhub/client.rb +73 -47
- data/lib/aws-sdk-costoptimizationhub/client_api.rb +1 -0
- data/lib/aws-sdk-costoptimizationhub/types.rb +9 -2
- data/lib/aws-sdk-costoptimizationhub.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/types.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91285b0ed1f98630a3771290a27e75135e1a174f32b1a21a5e6181291d28aa1c
|
4
|
+
data.tar.gz: 92a0e3ae5ddd17ec8f994750edca47c07a1d762961b0ee7869ff023b6477471c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
#
|
201
|
-
#
|
202
|
-
#
|
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 [
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# @option options [Float] :
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
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 [
|
377
|
-
#
|
410
|
+
# @option options [String] :ssl_ca_store
|
411
|
+
# Sets the X509::Store to verify peer certificate.
|
378
412
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
413
|
+
# @option options [Float] :ssl_timeout
|
414
|
+
# Sets the SSL timeout in seconds
|
382
415
|
#
|
383
|
-
# @option options [
|
384
|
-
#
|
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
|
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.
|
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
|
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
|
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 = []
|
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.
|
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-
|
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.
|
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.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|