aws-sdk-resourceexplorer2 1.10.0 → 1.12.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: 69ec8f1ae646710182075e674e7cbaaac9c1def9c0577c84480660ad91c73574
4
- data.tar.gz: 822d14e80837015a6864b2046763f61fcb17c0f55a30571193d7501d5150ab63
3
+ metadata.gz: 44ac437822052fd1e1c27d6f4201e27985dcf4675cf30364a66aa30713c85ecb
4
+ data.tar.gz: a5c37a2e66f49bd90542f5f184a54b427a2ad4234c6e59de1c3959378a74ec64
5
5
  SHA512:
6
- metadata.gz: 9c1d59ecda8696e1a6e823ea17ed954e31e0192f55471aca201f9d02cd02464f5d37701e6c07d17a930f53ad11cadf5aee906aa5632664db085fc427f35c7438
7
- data.tar.gz: 46e7ea3bb3b29298b9285263f6cd5a01439c036ab861f7a1431895ea4df6ba59271dc13c4c28306f6e1330214493497574af910425957bb0c33d188ac3e19fdd
6
+ metadata.gz: f96714643649ee8673c0dca272476406bb338b29d2e0b2041f668eac3fcb423cf83053906caa9a3764c87c8ca6eb51ae6bb301a262b66ba5fc15a2aca6fb17da
7
+ data.tar.gz: 556bf32d27cbf18439b72b8edcc0337188698f2f56f8deb48a670c88a7fa8cc53eafc0c5e18794969787c40d1ec371b414ce32ee5fdcbf07e9a2db8ea32fa95e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2023-11-14)
5
+ ------------------
6
+
7
+ * Feature - Resource Explorer supports multi-account search. You can now use Resource Explorer to search and discover resources across AWS accounts within your organization or organizational unit.
8
+
9
+ 1.11.0 (2023-09-27)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.10.0 (2023-09-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.12.0
@@ -539,7 +539,7 @@ module Aws::ResourceExplorer2
539
539
  # This value helps ensure idempotency. Resource Explorer uses this value
540
540
  # to prevent the accidental creation of duplicate versions. We recommend
541
541
  # that you generate a [UUID-type value][1] to ensure the uniqueness of
542
- # your views.
542
+ # your index.
543
543
  #
544
544
  # **A suitable default value is auto-generated.** You should normally
545
545
  # not need to pass this option.**
@@ -643,6 +643,10 @@ module Aws::ResourceExplorer2
643
643
  # The default is an empty list, with no optional fields included in the
644
644
  # results.
645
645
  #
646
+ # @option params [String] :scope
647
+ # The root ARN of the account, an organizational unit (OU), or an
648
+ # organization ARN. If left empty, the default is account.
649
+ #
646
650
  # @option params [Hash<String,String>] :tags
647
651
  # Tag key and value pairs that are attached to the view.
648
652
  #
@@ -670,6 +674,7 @@ module Aws::ResourceExplorer2
670
674
  # name: "IncludedPropertyNameString", # required
671
675
  # },
672
676
  # ],
677
+ # scope: "CreateViewInputScopeString",
673
678
  # tags: {
674
679
  # "String" => "String",
675
680
  # },
@@ -804,6 +809,30 @@ module Aws::ResourceExplorer2
804
809
  req.send_request(options)
805
810
  end
806
811
 
812
+ # Retrieves the status of your account's Amazon Web Services service
813
+ # access, and validates the service linked role required to access the
814
+ # multi-account search feature. Only the management account or a
815
+ # delegated administrator with service access enabled can invoke this
816
+ # API call.
817
+ #
818
+ # @return [Types::GetAccountLevelServiceConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
819
+ #
820
+ # * {Types::GetAccountLevelServiceConfigurationOutput#org_configuration #org_configuration} => Types::OrgConfiguration
821
+ #
822
+ # @example Response structure
823
+ #
824
+ # resp.org_configuration.aws_service_access_status #=> String, one of "ENABLED", "DISABLED"
825
+ # resp.org_configuration.service_linked_role #=> String
826
+ #
827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetAccountLevelServiceConfiguration AWS API Documentation
828
+ #
829
+ # @overload get_account_level_service_configuration(params = {})
830
+ # @param [Hash] params ({})
831
+ def get_account_level_service_configuration(params = {}, options = {})
832
+ req = build_request(:get_account_level_service_configuration, params)
833
+ req.send_request(options)
834
+ end
835
+
807
836
  # Retrieves the Amazon Resource Name (ARN) of the view that is the
808
837
  # default for the Amazon Web Services Region in which you call this
809
838
  # operation. You can then call GetView to retrieve the details of that
@@ -930,7 +959,8 @@ module Aws::ResourceExplorer2
930
959
  # `NextToken` response in a previous request. A `NextToken` response
931
960
  # indicates that more output is available. Set this parameter to the
932
961
  # value of the previous call's `NextToken` response to indicate where
933
- # the output should continue from.
962
+ # the output should continue from. The pagination tokens expire after 24
963
+ # hours.
934
964
  #
935
965
  # @option params [Array<String>] :regions
936
966
  # If specified, limits the response to only information about the index
@@ -975,6 +1005,72 @@ module Aws::ResourceExplorer2
975
1005
  req.send_request(options)
976
1006
  end
977
1007
 
1008
+ # Retrieves a list of a member's indexes in all Amazon Web Services
1009
+ # Regions that are currently collecting resource information for Amazon
1010
+ # Web Services Resource Explorer. Only the management account or a
1011
+ # delegated administrator with service access enabled can invoke this
1012
+ # API call.
1013
+ #
1014
+ # @option params [required, Array<String>] :account_id_list
1015
+ # The account IDs will limit the output to only indexes from these
1016
+ # accounts.
1017
+ #
1018
+ # @option params [Integer] :max_results
1019
+ # The maximum number of results that you want included on each page of
1020
+ # the response. If you do not include this parameter, it defaults to a
1021
+ # value appropriate to the operation. If additional items exist beyond
1022
+ # those included in the current response, the `NextToken` response
1023
+ # element is present and has a value (is not null). Include that value
1024
+ # as the `NextToken` request parameter in the next call to the operation
1025
+ # to get the next part of the results.
1026
+ #
1027
+ # <note markdown="1"> An API operation can return fewer results than the maximum even when
1028
+ # there are more results available. You should check `NextToken` after
1029
+ # every operation to ensure that you receive all of the results.
1030
+ #
1031
+ # </note>
1032
+ #
1033
+ # @option params [String] :next_token
1034
+ # The parameter for receiving additional results if you receive a
1035
+ # `NextToken` response in a previous request. A `NextToken` response
1036
+ # indicates that more output is available. Set this parameter to the
1037
+ # value of the previous call's `NextToken` response to indicate where
1038
+ # the output should continue from. The pagination tokens expire after 24
1039
+ # hours.
1040
+ #
1041
+ # @return [Types::ListIndexesForMembersOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1042
+ #
1043
+ # * {Types::ListIndexesForMembersOutput#indexes #indexes} => Array&lt;Types::MemberIndex&gt;
1044
+ # * {Types::ListIndexesForMembersOutput#next_token #next_token} => String
1045
+ #
1046
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1047
+ #
1048
+ # @example Request syntax with placeholder values
1049
+ #
1050
+ # resp = client.list_indexes_for_members({
1051
+ # account_id_list: ["AccountId"], # required
1052
+ # max_results: 1,
1053
+ # next_token: "ListIndexesForMembersInputNextTokenString",
1054
+ # })
1055
+ #
1056
+ # @example Response structure
1057
+ #
1058
+ # resp.indexes #=> Array
1059
+ # resp.indexes[0].account_id #=> String
1060
+ # resp.indexes[0].arn #=> String
1061
+ # resp.indexes[0].region #=> String
1062
+ # resp.indexes[0].type #=> String, one of "LOCAL", "AGGREGATOR"
1063
+ # resp.next_token #=> String
1064
+ #
1065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListIndexesForMembers AWS API Documentation
1066
+ #
1067
+ # @overload list_indexes_for_members(params = {})
1068
+ # @param [Hash] params ({})
1069
+ def list_indexes_for_members(params = {}, options = {})
1070
+ req = build_request(:list_indexes_for_members, params)
1071
+ req.send_request(options)
1072
+ end
1073
+
978
1074
  # Retrieves a list of all resource types currently supported by Amazon
979
1075
  # Web Services Resource Explorer.
980
1076
  #
@@ -998,7 +1094,8 @@ module Aws::ResourceExplorer2
998
1094
  # `NextToken` response in a previous request. A `NextToken` response
999
1095
  # indicates that more output is available. Set this parameter to the
1000
1096
  # value of the previous call's `NextToken` response to indicate where
1001
- # the output should continue from.
1097
+ # the output should continue from. The pagination tokens expire after 24
1098
+ # hours.
1002
1099
  #
1003
1100
  # @return [Types::ListSupportedResourceTypesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1004
1101
  #
@@ -1099,7 +1196,8 @@ module Aws::ResourceExplorer2
1099
1196
  # `NextToken` response in a previous request. A `NextToken` response
1100
1197
  # indicates that more output is available. Set this parameter to the
1101
1198
  # value of the previous call's `NextToken` response to indicate where
1102
- # the output should continue from.
1199
+ # the output should continue from. The pagination tokens expire after 24
1200
+ # hours.
1103
1201
  #
1104
1202
  # @return [Types::ListViewsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1105
1203
  #
@@ -1172,7 +1270,8 @@ module Aws::ResourceExplorer2
1172
1270
  # `NextToken` response in a previous request. A `NextToken` response
1173
1271
  # indicates that more output is available. Set this parameter to the
1174
1272
  # value of the previous call's `NextToken` response to indicate where
1175
- # the output should continue from.
1273
+ # the output should continue from. The pagination tokens expire after 24
1274
+ # hours.
1176
1275
  #
1177
1276
  # @option params [required, String] :query_string
1178
1277
  # A string that includes keywords and filters that specify the resources
@@ -1512,7 +1611,7 @@ module Aws::ResourceExplorer2
1512
1611
  params: params,
1513
1612
  config: config)
1514
1613
  context[:gem_name] = 'aws-sdk-resourceexplorer2'
1515
- context[:gem_version] = '1.10.0'
1614
+ context[:gem_version] = '1.12.0'
1516
1615
  Seahorse::Client::Request.new(handlers, context)
1517
1616
  end
1518
1617
 
@@ -13,7 +13,9 @@ module Aws::ResourceExplorer2
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AWSServiceAccessStatus = Shapes::StringShape.new(name: 'AWSServiceAccessStatus')
16
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
17
19
  AssociateDefaultViewInput = Shapes::StructureShape.new(name: 'AssociateDefaultViewInput')
18
20
  AssociateDefaultViewInputViewArnString = Shapes::StringShape.new(name: 'AssociateDefaultViewInputViewArnString')
19
21
  AssociateDefaultViewOutput = Shapes::StructureShape.new(name: 'AssociateDefaultViewOutput')
@@ -28,6 +30,7 @@ module Aws::ResourceExplorer2
28
30
  CreateIndexOutput = Shapes::StructureShape.new(name: 'CreateIndexOutput')
29
31
  CreateViewInput = Shapes::StructureShape.new(name: 'CreateViewInput')
30
32
  CreateViewInputClientTokenString = Shapes::StringShape.new(name: 'CreateViewInputClientTokenString')
33
+ CreateViewInputScopeString = Shapes::StringShape.new(name: 'CreateViewInputScopeString')
31
34
  CreateViewOutput = Shapes::StructureShape.new(name: 'CreateViewOutput')
32
35
  DeleteIndexInput = Shapes::StructureShape.new(name: 'DeleteIndexInput')
33
36
  DeleteIndexOutput = Shapes::StructureShape.new(name: 'DeleteIndexOutput')
@@ -35,6 +38,7 @@ module Aws::ResourceExplorer2
35
38
  DeleteViewInputViewArnString = Shapes::StringShape.new(name: 'DeleteViewInputViewArnString')
36
39
  DeleteViewOutput = Shapes::StructureShape.new(name: 'DeleteViewOutput')
37
40
  Document = Shapes::DocumentShape.new(name: 'Document', document: true)
41
+ GetAccountLevelServiceConfigurationOutput = Shapes::StructureShape.new(name: 'GetAccountLevelServiceConfigurationOutput')
38
42
  GetDefaultViewOutput = Shapes::StructureShape.new(name: 'GetDefaultViewOutput')
39
43
  GetIndexOutput = Shapes::StructureShape.new(name: 'GetIndexOutput')
40
44
  GetViewInput = Shapes::StructureShape.new(name: 'GetViewInput')
@@ -48,6 +52,11 @@ module Aws::ResourceExplorer2
48
52
  IndexState = Shapes::StringShape.new(name: 'IndexState')
49
53
  IndexType = Shapes::StringShape.new(name: 'IndexType')
50
54
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
55
+ ListIndexesForMembersInput = Shapes::StructureShape.new(name: 'ListIndexesForMembersInput')
56
+ ListIndexesForMembersInputAccountIdListList = Shapes::ListShape.new(name: 'ListIndexesForMembersInputAccountIdListList')
57
+ ListIndexesForMembersInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListIndexesForMembersInputMaxResultsInteger')
58
+ ListIndexesForMembersInputNextTokenString = Shapes::StringShape.new(name: 'ListIndexesForMembersInputNextTokenString')
59
+ ListIndexesForMembersOutput = Shapes::StructureShape.new(name: 'ListIndexesForMembersOutput')
51
60
  ListIndexesInput = Shapes::StructureShape.new(name: 'ListIndexesInput')
52
61
  ListIndexesInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListIndexesInputMaxResultsInteger')
53
62
  ListIndexesInputNextTokenString = Shapes::StringShape.new(name: 'ListIndexesInputNextTokenString')
@@ -62,6 +71,9 @@ module Aws::ResourceExplorer2
62
71
  ListViewsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListViewsInputMaxResultsInteger')
63
72
  ListViewsOutput = Shapes::StructureShape.new(name: 'ListViewsOutput')
64
73
  Long = Shapes::IntegerShape.new(name: 'Long')
74
+ MemberIndex = Shapes::StructureShape.new(name: 'MemberIndex')
75
+ MemberIndexList = Shapes::ListShape.new(name: 'MemberIndexList')
76
+ OrgConfiguration = Shapes::StructureShape.new(name: 'OrgConfiguration')
65
77
  QueryString = Shapes::StringShape.new(name: 'QueryString')
66
78
  RegionList = Shapes::ListShape.new(name: 'RegionList')
67
79
  Resource = Shapes::StructureShape.new(name: 'Resource')
@@ -144,6 +156,7 @@ module Aws::ResourceExplorer2
144
156
  CreateViewInput.add_member(:client_token, Shapes::ShapeRef.new(shape: CreateViewInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
145
157
  CreateViewInput.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilter, location_name: "Filters"))
146
158
  CreateViewInput.add_member(:included_properties, Shapes::ShapeRef.new(shape: IncludedPropertyList, location_name: "IncludedProperties"))
159
+ CreateViewInput.add_member(:scope, Shapes::ShapeRef.new(shape: CreateViewInputScopeString, location_name: "Scope"))
147
160
  CreateViewInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
148
161
  CreateViewInput.add_member(:view_name, Shapes::ShapeRef.new(shape: ViewName, required: true, location_name: "ViewName"))
149
162
  CreateViewInput.struct_class = Types::CreateViewInput
@@ -165,6 +178,9 @@ module Aws::ResourceExplorer2
165
178
  DeleteViewOutput.add_member(:view_arn, Shapes::ShapeRef.new(shape: String, location_name: "ViewArn"))
166
179
  DeleteViewOutput.struct_class = Types::DeleteViewOutput
167
180
 
181
+ GetAccountLevelServiceConfigurationOutput.add_member(:org_configuration, Shapes::ShapeRef.new(shape: OrgConfiguration, location_name: "OrgConfiguration"))
182
+ GetAccountLevelServiceConfigurationOutput.struct_class = Types::GetAccountLevelServiceConfigurationOutput
183
+
168
184
  GetDefaultViewOutput.add_member(:view_arn, Shapes::ShapeRef.new(shape: String, location_name: "ViewArn"))
169
185
  GetDefaultViewOutput.struct_class = Types::GetDefaultViewOutput
170
186
 
@@ -200,6 +216,17 @@ module Aws::ResourceExplorer2
200
216
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
201
217
  InternalServerException.struct_class = Types::InternalServerException
202
218
 
219
+ ListIndexesForMembersInput.add_member(:account_id_list, Shapes::ShapeRef.new(shape: ListIndexesForMembersInputAccountIdListList, required: true, location_name: "AccountIdList"))
220
+ ListIndexesForMembersInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListIndexesForMembersInputMaxResultsInteger, location_name: "MaxResults"))
221
+ ListIndexesForMembersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListIndexesForMembersInputNextTokenString, location_name: "NextToken"))
222
+ ListIndexesForMembersInput.struct_class = Types::ListIndexesForMembersInput
223
+
224
+ ListIndexesForMembersInputAccountIdListList.member = Shapes::ShapeRef.new(shape: AccountId)
225
+
226
+ ListIndexesForMembersOutput.add_member(:indexes, Shapes::ShapeRef.new(shape: MemberIndexList, location_name: "Indexes"))
227
+ ListIndexesForMembersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
228
+ ListIndexesForMembersOutput.struct_class = Types::ListIndexesForMembersOutput
229
+
203
230
  ListIndexesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListIndexesInputMaxResultsInteger, location_name: "MaxResults"))
204
231
  ListIndexesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListIndexesInputNextTokenString, location_name: "NextToken"))
205
232
  ListIndexesInput.add_member(:regions, Shapes::ShapeRef.new(shape: ListIndexesInputRegionsList, location_name: "Regions"))
@@ -234,6 +261,18 @@ module Aws::ResourceExplorer2
234
261
  ListViewsOutput.add_member(:views, Shapes::ShapeRef.new(shape: ViewArnList, location_name: "Views"))
235
262
  ListViewsOutput.struct_class = Types::ListViewsOutput
236
263
 
264
+ MemberIndex.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
265
+ MemberIndex.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
266
+ MemberIndex.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
267
+ MemberIndex.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "Type"))
268
+ MemberIndex.struct_class = Types::MemberIndex
269
+
270
+ MemberIndexList.member = Shapes::ShapeRef.new(shape: MemberIndex)
271
+
272
+ OrgConfiguration.add_member(:aws_service_access_status, Shapes::ShapeRef.new(shape: AWSServiceAccessStatus, required: true, location_name: "AWSServiceAccessStatus"))
273
+ OrgConfiguration.add_member(:service_linked_role, Shapes::ShapeRef.new(shape: String, location_name: "ServiceLinkedRole"))
274
+ OrgConfiguration.struct_class = Types::OrgConfiguration
275
+
237
276
  RegionList.member = Shapes::ShapeRef.new(shape: String)
238
277
 
239
278
  Resource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
@@ -455,12 +494,25 @@ module Aws::ResourceExplorer2
455
494
  o.http_request_uri = "/DisassociateDefaultView"
456
495
  o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
457
496
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
497
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
458
498
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
459
499
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
460
500
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
461
501
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
462
502
  end)
463
503
 
504
+ api.add_operation(:get_account_level_service_configuration, Seahorse::Model::Operation.new.tap do |o|
505
+ o.name = "GetAccountLevelServiceConfiguration"
506
+ o.http_method = "POST"
507
+ o.http_request_uri = "/GetAccountLevelServiceConfiguration"
508
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
509
+ o.output = Shapes::ShapeRef.new(shape: GetAccountLevelServiceConfigurationOutput)
510
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
511
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
512
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
513
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
514
+ end)
515
+
464
516
  api.add_operation(:get_default_view, Seahorse::Model::Operation.new.tap do |o|
465
517
  o.name = "GetDefaultView"
466
518
  o.http_method = "POST"
@@ -519,6 +571,24 @@ module Aws::ResourceExplorer2
519
571
  )
520
572
  end)
521
573
 
574
+ api.add_operation(:list_indexes_for_members, Seahorse::Model::Operation.new.tap do |o|
575
+ o.name = "ListIndexesForMembers"
576
+ o.http_method = "POST"
577
+ o.http_request_uri = "/ListIndexesForMembers"
578
+ o.input = Shapes::ShapeRef.new(shape: ListIndexesForMembersInput)
579
+ o.output = Shapes::ShapeRef.new(shape: ListIndexesForMembersOutput)
580
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
581
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
582
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
583
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
584
+ o[:pager] = Aws::Pager.new(
585
+ limit_key: "max_results",
586
+ tokens: {
587
+ "next_token" => "next_token"
588
+ }
589
+ )
590
+ end)
591
+
522
592
  api.add_operation(:list_supported_resource_types, Seahorse::Model::Operation.new.tap do |o|
523
593
  o.name = "ListSupportedResourceTypes"
524
594
  o.http_method = "POST"
@@ -23,7 +23,7 @@ module Aws::ResourceExplorer2
23
23
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
24
24
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
25
25
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
26
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
26
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
27
27
  return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
28
28
  end
29
29
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -31,7 +31,7 @@ module Aws::ResourceExplorer2
31
31
  return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
32
32
  end
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
34
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
35
35
  return Aws::Endpoints::Endpoint.new(url: "https://resource-explorer-2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
36
  end
37
37
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -103,6 +103,19 @@ module Aws::ResourceExplorer2
103
103
  end
104
104
  end
105
105
 
106
+ class GetAccountLevelServiceConfiguration
107
+ def self.build(context)
108
+ unless context.config.regional_endpoint
109
+ endpoint = context.config.endpoint.to_s
110
+ end
111
+ Aws::ResourceExplorer2::EndpointParameters.new(
112
+ region: context.config.region,
113
+ use_fips: context.config.use_fips_endpoint,
114
+ endpoint: endpoint,
115
+ )
116
+ end
117
+ end
118
+
106
119
  class GetDefaultView
107
120
  def self.build(context)
108
121
  unless context.config.regional_endpoint
@@ -155,6 +168,19 @@ module Aws::ResourceExplorer2
155
168
  end
156
169
  end
157
170
 
171
+ class ListIndexesForMembers
172
+ def self.build(context)
173
+ unless context.config.regional_endpoint
174
+ endpoint = context.config.endpoint.to_s
175
+ end
176
+ Aws::ResourceExplorer2::EndpointParameters.new(
177
+ region: context.config.region,
178
+ use_fips: context.config.use_fips_endpoint,
179
+ endpoint: endpoint,
180
+ )
181
+ end
182
+ end
183
+
158
184
  class ListSupportedResourceTypes
159
185
  def self.build(context)
160
186
  unless context.config.regional_endpoint
@@ -70,6 +70,8 @@ module Aws::ResourceExplorer2
70
70
  Aws::ResourceExplorer2::Endpoints::DeleteView.build(context)
71
71
  when :disassociate_default_view
72
72
  Aws::ResourceExplorer2::Endpoints::DisassociateDefaultView.build(context)
73
+ when :get_account_level_service_configuration
74
+ Aws::ResourceExplorer2::Endpoints::GetAccountLevelServiceConfiguration.build(context)
73
75
  when :get_default_view
74
76
  Aws::ResourceExplorer2::Endpoints::GetDefaultView.build(context)
75
77
  when :get_index
@@ -78,6 +80,8 @@ module Aws::ResourceExplorer2
78
80
  Aws::ResourceExplorer2::Endpoints::GetView.build(context)
79
81
  when :list_indexes
80
82
  Aws::ResourceExplorer2::Endpoints::ListIndexes.build(context)
83
+ when :list_indexes_for_members
84
+ Aws::ResourceExplorer2::Endpoints::ListIndexesForMembers.build(context)
81
85
  when :list_supported_resource_types
82
86
  Aws::ResourceExplorer2::Endpoints::ListSupportedResourceTypes.build(context)
83
87
  when :list_tags_for_resource
@@ -123,9 +123,19 @@ module Aws::ResourceExplorer2
123
123
  include Aws::Structure
124
124
  end
125
125
 
126
- # The request failed because either you specified parameters that didn’t
127
- # match the original request, or you attempted to create a view with a
128
- # name that already exists in this Amazon Web Services Region.
126
+ # If you attempted to create a view, then the request failed because
127
+ # either you specified parameters that didn’t match the original
128
+ # request, or you attempted to create a view with a name that already
129
+ # exists in this Amazon Web Services Region.
130
+ #
131
+ # If you attempted to create an index, then the request failed because
132
+ # either you specified parameters that didn't match the original
133
+ # request, or an index already exists in the current Amazon Web Services
134
+ # Region.
135
+ #
136
+ # If you attempted to update an index type to `AGGREGATOR`, then the
137
+ # request failed because you already have an `AGGREGATOR` index in a
138
+ # different Amazon Web Services Region.
129
139
  #
130
140
  # @!attribute [rw] message
131
141
  # @return [String]
@@ -142,7 +152,7 @@ module Aws::ResourceExplorer2
142
152
  # This value helps ensure idempotency. Resource Explorer uses this
143
153
  # value to prevent the accidental creation of duplicate versions. We
144
154
  # recommend that you generate a [UUID-type value][1] to ensure the
145
- # uniqueness of your views.
155
+ # uniqueness of your index.
146
156
  #
147
157
  # **A suitable default value is auto-generated.** You should normally
148
158
  # not need to pass this option.
@@ -163,7 +173,7 @@ module Aws::ResourceExplorer2
163
173
  class CreateIndexInput < Struct.new(
164
174
  :client_token,
165
175
  :tags)
166
- SENSITIVE = []
176
+ SENSITIVE = [:tags]
167
177
  include Aws::Structure
168
178
  end
169
179
 
@@ -246,6 +256,11 @@ module Aws::ResourceExplorer2
246
256
  # the results.
247
257
  # @return [Array<Types::IncludedProperty>]
248
258
  #
259
+ # @!attribute [rw] scope
260
+ # The root ARN of the account, an organizational unit (OU), or an
261
+ # organization ARN. If left empty, the default is account.
262
+ # @return [String]
263
+ #
249
264
  # @!attribute [rw] tags
250
265
  # Tag key and value pairs that are attached to the view.
251
266
  # @return [Hash<String,String>]
@@ -265,9 +280,10 @@ module Aws::ResourceExplorer2
265
280
  :client_token,
266
281
  :filters,
267
282
  :included_properties,
283
+ :scope,
268
284
  :tags,
269
285
  :view_name)
270
- SENSITIVE = [:filters]
286
+ SENSITIVE = [:filters, :tags]
271
287
  include Aws::Structure
272
288
  end
273
289
 
@@ -366,6 +382,19 @@ module Aws::ResourceExplorer2
366
382
  include Aws::Structure
367
383
  end
368
384
 
385
+ # @!attribute [rw] org_configuration
386
+ # Details about the organization, and whether configuration is
387
+ # `ENABLED` or `DISABLED`.
388
+ # @return [Types::OrgConfiguration]
389
+ #
390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetAccountLevelServiceConfigurationOutput AWS API Documentation
391
+ #
392
+ class GetAccountLevelServiceConfigurationOutput < Struct.new(
393
+ :org_configuration)
394
+ SENSITIVE = []
395
+ include Aws::Structure
396
+ end
397
+
369
398
  # @!attribute [rw] view_arn
370
399
  # The [Amazon resource name (ARN)][1] of the view that is the current
371
400
  # default for the Amazon Web Services Region in which you called this
@@ -446,7 +475,7 @@ module Aws::ResourceExplorer2
446
475
  :state,
447
476
  :tags,
448
477
  :type)
449
- SENSITIVE = []
478
+ SENSITIVE = [:tags]
450
479
  include Aws::Structure
451
480
  end
452
481
 
@@ -480,7 +509,7 @@ module Aws::ResourceExplorer2
480
509
  class GetViewOutput < Struct.new(
481
510
  :tags,
482
511
  :view)
483
- SENSITIVE = []
512
+ SENSITIVE = [:tags]
484
513
  include Aws::Structure
485
514
  end
486
515
 
@@ -537,14 +566,14 @@ module Aws::ResourceExplorer2
537
566
  # @!attribute [rw] type
538
567
  # The type of index. It can be one of the following values:
539
568
  #
540
- # * **LOCAL** – The index contains information about resources from
541
- # only the same Amazon Web Services Region.
569
+ # * `LOCAL` – The index contains information about resources from only
570
+ # the same Amazon Web Services Region.
542
571
  #
543
- # * **AGGREGATOR** – Resource Explorer replicates copies of the
544
- # indexed information about resources in all other Amazon Web
545
- # Services Regions to the aggregator index. This lets search results
546
- # in the Region with the aggregator index to include resources from
547
- # all Regions in the account where Resource Explorer is turned on.
572
+ # * `AGGREGATOR` – Resource Explorer replicates copies of the indexed
573
+ # information about resources in all other Amazon Web Services
574
+ # Regions to the aggregator index. This lets search results in the
575
+ # Region with the aggregator index to include resources from all
576
+ # Regions in the account where Resource Explorer is turned on.
548
577
  # @return [String]
549
578
  #
550
579
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/Index AWS API Documentation
@@ -571,6 +600,68 @@ module Aws::ResourceExplorer2
571
600
  include Aws::Structure
572
601
  end
573
602
 
603
+ # @!attribute [rw] account_id_list
604
+ # The account IDs will limit the output to only indexes from these
605
+ # accounts.
606
+ # @return [Array<String>]
607
+ #
608
+ # @!attribute [rw] max_results
609
+ # The maximum number of results that you want included on each page of
610
+ # the response. If you do not include this parameter, it defaults to a
611
+ # value appropriate to the operation. If additional items exist beyond
612
+ # those included in the current response, the `NextToken` response
613
+ # element is present and has a value (is not null). Include that value
614
+ # as the `NextToken` request parameter in the next call to the
615
+ # operation to get the next part of the results.
616
+ #
617
+ # <note markdown="1"> An API operation can return fewer results than the maximum even when
618
+ # there are more results available. You should check `NextToken` after
619
+ # every operation to ensure that you receive all of the results.
620
+ #
621
+ # </note>
622
+ # @return [Integer]
623
+ #
624
+ # @!attribute [rw] next_token
625
+ # The parameter for receiving additional results if you receive a
626
+ # `NextToken` response in a previous request. A `NextToken` response
627
+ # indicates that more output is available. Set this parameter to the
628
+ # value of the previous call's `NextToken` response to indicate where
629
+ # the output should continue from. The pagination tokens expire after
630
+ # 24 hours.
631
+ # @return [String]
632
+ #
633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListIndexesForMembersInput AWS API Documentation
634
+ #
635
+ class ListIndexesForMembersInput < Struct.new(
636
+ :account_id_list,
637
+ :max_results,
638
+ :next_token)
639
+ SENSITIVE = []
640
+ include Aws::Structure
641
+ end
642
+
643
+ # @!attribute [rw] indexes
644
+ # A structure that contains the details and status of each index.
645
+ # @return [Array<Types::MemberIndex>]
646
+ #
647
+ # @!attribute [rw] next_token
648
+ # If present, indicates that more output is available than is included
649
+ # in the current response. Use this value in the `NextToken` request
650
+ # parameter in a subsequent call to the operation to get the next part
651
+ # of the output. You should repeat this until the `NextToken` response
652
+ # element comes back as `null`. The pagination tokens expire after 24
653
+ # hours.
654
+ # @return [String]
655
+ #
656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListIndexesForMembersOutput AWS API Documentation
657
+ #
658
+ class ListIndexesForMembersOutput < Struct.new(
659
+ :indexes,
660
+ :next_token)
661
+ SENSITIVE = []
662
+ include Aws::Structure
663
+ end
664
+
574
665
  # @!attribute [rw] max_results
575
666
  # The maximum number of results that you want included on each page of
576
667
  # the response. If you do not include this parameter, it defaults to a
@@ -592,7 +683,8 @@ module Aws::ResourceExplorer2
592
683
  # `NextToken` response in a previous request. A `NextToken` response
593
684
  # indicates that more output is available. Set this parameter to the
594
685
  # value of the previous call's `NextToken` response to indicate where
595
- # the output should continue from.
686
+ # the output should continue from. The pagination tokens expire after
687
+ # 24 hours.
596
688
  # @return [String]
597
689
  #
598
690
  # @!attribute [rw] regions
@@ -627,7 +719,8 @@ module Aws::ResourceExplorer2
627
719
  # in the current response. Use this value in the `NextToken` request
628
720
  # parameter in a subsequent call to the operation to get the next part
629
721
  # of the output. You should repeat this until the `NextToken` response
630
- # element comes back as `null`.
722
+ # element comes back as `null`. The pagination tokens expire after 24
723
+ # hours.
631
724
  # @return [String]
632
725
  #
633
726
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListIndexesOutput AWS API Documentation
@@ -660,7 +753,8 @@ module Aws::ResourceExplorer2
660
753
  # `NextToken` response in a previous request. A `NextToken` response
661
754
  # indicates that more output is available. Set this parameter to the
662
755
  # value of the previous call's `NextToken` response to indicate where
663
- # the output should continue from.
756
+ # the output should continue from. The pagination tokens expire after
757
+ # 24 hours.
664
758
  # @return [String]
665
759
  #
666
760
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListSupportedResourceTypesInput AWS API Documentation
@@ -677,7 +771,8 @@ module Aws::ResourceExplorer2
677
771
  # in the current response. Use this value in the `NextToken` request
678
772
  # parameter in a subsequent call to the operation to get the next part
679
773
  # of the output. You should repeat this until the `NextToken` response
680
- # element comes back as `null`.
774
+ # element comes back as `null`. The pagination tokens expire after 24
775
+ # hours.
681
776
  # @return [String]
682
777
  #
683
778
  # @!attribute [rw] resource_types
@@ -719,7 +814,7 @@ module Aws::ResourceExplorer2
719
814
  #
720
815
  class ListTagsForResourceOutput < Struct.new(
721
816
  :tags)
722
- SENSITIVE = []
817
+ SENSITIVE = [:tags]
723
818
  include Aws::Structure
724
819
  end
725
820
 
@@ -744,7 +839,8 @@ module Aws::ResourceExplorer2
744
839
  # `NextToken` response in a previous request. A `NextToken` response
745
840
  # indicates that more output is available. Set this parameter to the
746
841
  # value of the previous call's `NextToken` response to indicate where
747
- # the output should continue from.
842
+ # the output should continue from. The pagination tokens expire after
843
+ # 24 hours.
748
844
  # @return [String]
749
845
  #
750
846
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListViewsInput AWS API Documentation
@@ -761,7 +857,8 @@ module Aws::ResourceExplorer2
761
857
  # in the current response. Use this value in the `NextToken` request
762
858
  # parameter in a subsequent call to the operation to get the next part
763
859
  # of the output. You should repeat this until the `NextToken` response
764
- # element comes back as `null`.
860
+ # element comes back as `null`. The pagination tokens expire after 24
861
+ # hours.
765
862
  # @return [String]
766
863
  #
767
864
  # @!attribute [rw] views
@@ -778,6 +875,73 @@ module Aws::ResourceExplorer2
778
875
  include Aws::Structure
779
876
  end
780
877
 
878
+ # An index is the data store used by Amazon Web Services Resource
879
+ # Explorer to hold information about your Amazon Web Services resources
880
+ # that the service discovers.
881
+ #
882
+ # @!attribute [rw] account_id
883
+ # The account ID for the index.
884
+ # @return [String]
885
+ #
886
+ # @!attribute [rw] arn
887
+ # The [Amazon resource name (ARN)][1] of the index.
888
+ #
889
+ #
890
+ #
891
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
892
+ # @return [String]
893
+ #
894
+ # @!attribute [rw] region
895
+ # The Amazon Web Services Region in which the index exists.
896
+ # @return [String]
897
+ #
898
+ # @!attribute [rw] type
899
+ # The type of index. It can be one of the following values:
900
+ #
901
+ # * `LOCAL` – The index contains information about resources from only
902
+ # the same Amazon Web Services Region.
903
+ #
904
+ # * `AGGREGATOR` – Resource Explorer replicates copies of the indexed
905
+ # information about resources in all other Amazon Web Services
906
+ # Regions to the aggregator index. This lets search results in the
907
+ # Region with the aggregator index to include resources from all
908
+ # Regions in the account where Resource Explorer is turned on.
909
+ # @return [String]
910
+ #
911
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/MemberIndex AWS API Documentation
912
+ #
913
+ class MemberIndex < Struct.new(
914
+ :account_id,
915
+ :arn,
916
+ :region,
917
+ :type)
918
+ SENSITIVE = []
919
+ include Aws::Structure
920
+ end
921
+
922
+ # This is a structure that contains the status of Amazon Web Services
923
+ # service access, and whether you have a valid service-linked role to
924
+ # enable multi-account search for your organization.
925
+ #
926
+ # @!attribute [rw] aws_service_access_status
927
+ # This value displays whether your Amazon Web Services service access
928
+ # is `ENABLED` or `DISABLED`.
929
+ # @return [String]
930
+ #
931
+ # @!attribute [rw] service_linked_role
932
+ # This value shows whether or not you have a valid a service-linked
933
+ # role required to start the multi-account search feature.
934
+ # @return [String]
935
+ #
936
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/OrgConfiguration AWS API Documentation
937
+ #
938
+ class OrgConfiguration < Struct.new(
939
+ :aws_service_access_status,
940
+ :service_linked_role)
941
+ SENSITIVE = []
942
+ include Aws::Structure
943
+ end
944
+
781
945
  # A resource in Amazon Web Services that Amazon Web Services Resource
782
946
  # Explorer has discovered, and for which it has stored information in
783
947
  # the index of the Amazon Web Services Region that contains the
@@ -952,7 +1116,8 @@ module Aws::ResourceExplorer2
952
1116
  # `NextToken` response in a previous request. A `NextToken` response
953
1117
  # indicates that more output is available. Set this parameter to the
954
1118
  # value of the previous call's `NextToken` response to indicate where
955
- # the output should continue from.
1119
+ # the output should continue from. The pagination tokens expire after
1120
+ # 24 hours.
956
1121
  # @return [String]
957
1122
  #
958
1123
  # @!attribute [rw] query_string
@@ -1010,7 +1175,8 @@ module Aws::ResourceExplorer2
1010
1175
  # in the current response. Use this value in the `NextToken` request
1011
1176
  # parameter in a subsequent call to the operation to get the next part
1012
1177
  # of the output. You should repeat this until the `NextToken` response
1013
- # element comes back as `null`.
1178
+ # element comes back as `null`. The pagination tokens expire after 24
1179
+ # hours.
1014
1180
  # @return [String]
1015
1181
  #
1016
1182
  # @!attribute [rw] resources
@@ -1098,7 +1264,7 @@ module Aws::ResourceExplorer2
1098
1264
  class TagResourceInput < Struct.new(
1099
1265
  :tags,
1100
1266
  :resource_arn)
1101
- SENSITIVE = []
1267
+ SENSITIVE = [:tags]
1102
1268
  include Aws::Structure
1103
1269
  end
1104
1270
 
@@ -1112,7 +1278,7 @@ module Aws::ResourceExplorer2
1112
1278
  #
1113
1279
  #
1114
1280
  #
1115
- # [1]: https://docs.aws.amazon.com/arexug/mainline/quotas.html
1281
+ # [1]: https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html
1116
1282
  #
1117
1283
  # @!attribute [rw] message
1118
1284
  # @return [String]
@@ -1154,7 +1320,7 @@ module Aws::ResourceExplorer2
1154
1320
  class UntagResourceInput < Struct.new(
1155
1321
  :resource_arn,
1156
1322
  :tag_keys)
1157
- SENSITIVE = []
1323
+ SENSITIVE = [:tag_keys]
1158
1324
  include Aws::Structure
1159
1325
  end
1160
1326
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-resourceexplorer2/customizations'
52
52
  # @!group service
53
53
  module Aws::ResourceExplorer2
54
54
 
55
- GEM_VERSION = '1.10.0'
55
+ GEM_VERSION = '1.12.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-resourceexplorer2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.12.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: 2023-09-19 00:00:00.000000000 Z
11
+ date: 2023-11-14 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.177.0
22
+ version: 3.184.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.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement