aws-sdk-costoptimizationhub 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4dc4de3d6bbb16c43c37d60fd49bc23de5d66a2c806e0a6e7fb453589f2cbd20
4
- data.tar.gz: 44c9a1939a6ff75762165a749e77b2c79f470c6a2b1abe323a9f105b9c44ee14
3
+ metadata.gz: 4a3e120af72cd12ab497ccd3601f327da6a0d5c773573dd6e63a46d234c4f533
4
+ data.tar.gz: d3eb04c3e3391292e0a69f50bb900666c2e084c9891c79f38e3863eabdc13651
5
5
  SHA512:
6
- metadata.gz: 9632a0373b5bd303f9648b2ea4eb200f4a33bb751f8e9c41e3c176c58fd25d0d9d6da010eee5aabc0f946a351bcabda0b885c0c9063df6b2b994bdccfc4793c5
7
- data.tar.gz: 9e062d2e03740fd3b3a620de8a09c993df1ce8d05873e673bb5c9855c0937294aa1d9d0f55e9ef1a1ba62a5d2a4889b671229a39ccb33d9f947bb29ec4c8eb0d
6
+ metadata.gz: 234ee5278efe4bbda7c77e68052240e7b0f960bfd27b307f270524b3c7bee28bf4a81d21ccc0adf52bf03a54db19daa73c21817874bf0f0cb369037d0d4590c6
7
+ data.tar.gz: ef186dd6ba65bea56ec847a37956cc642f5cf6aaba15d3cd45f7d1d631a7da02dd9fdfdcc53c96c79b0b41f0bfdb7048af0aafe416ce0a0dc9072e7cb13ee815
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2024-02-09)
5
+ ------------------
6
+
7
+ * Feature - Adding includeMemberAccounts field to the response of ListEnrollmentStatuses API.
8
+
4
9
  1.2.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -888,7 +888,7 @@ module Aws::CostOptimizationHub
888
888
  # list of accounts that are enrolled under the organization.
889
889
  #
890
890
  # @option params [String] :account_id
891
- # The enrollment status of a specific account ID in the organization.
891
+ # The account ID of a member account in the organization.
892
892
  #
893
893
  # @option params [Boolean] :include_organization_info
894
894
  # Indicates whether to return the enrollment status for the
@@ -902,6 +902,7 @@ module Aws::CostOptimizationHub
902
902
  #
903
903
  # @return [Types::ListEnrollmentStatusesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
904
904
  #
905
+ # * {Types::ListEnrollmentStatusesResponse#include_member_accounts #include_member_accounts} => Boolean
905
906
  # * {Types::ListEnrollmentStatusesResponse#items #items} => Array<Types::AccountEnrollmentStatus>
906
907
  # * {Types::ListEnrollmentStatusesResponse#next_token #next_token} => String
907
908
  #
@@ -918,6 +919,7 @@ module Aws::CostOptimizationHub
918
919
  #
919
920
  # @example Response structure
920
921
  #
922
+ # resp.include_member_accounts #=> Boolean
921
923
  # resp.items #=> Array
922
924
  # resp.items[0].account_id #=> String
923
925
  # resp.items[0].created_timestamp #=> Time
@@ -1197,7 +1199,7 @@ module Aws::CostOptimizationHub
1197
1199
  params: params,
1198
1200
  config: config)
1199
1201
  context[:gem_name] = 'aws-sdk-costoptimizationhub'
1200
- context[:gem_version] = '1.2.0'
1202
+ context[:gem_version] = '1.3.0'
1201
1203
  Seahorse::Client::Request.new(handlers, context)
1202
1204
  end
1203
1205
 
@@ -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.3.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.3.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-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core