aws-sdk-resourceexplorer2 1.25.0 → 1.27.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-resourceexplorer2/client.rb +97 -8
- data/lib/aws-sdk-resourceexplorer2/client_api.rb +41 -0
- data/lib/aws-sdk-resourceexplorer2/endpoints.rb +11 -0
- data/lib/aws-sdk-resourceexplorer2/plugins/endpoints.rb +10 -5
- data/lib/aws-sdk-resourceexplorer2/types.rb +86 -5
- data/lib/aws-sdk-resourceexplorer2.rb +14 -12
- data/sig/client.rbs +18 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +15 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01a2a484bd964b27b69e4773f6a0109409097efb641e5e605abf20944c5b5a83
|
4
|
+
data.tar.gz: 414bce62b32b94fd112ac51cb8d45336ac6c2ed73abf25afb2b92f98f093653f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3f29d8d7c25b26475d76189f3a5ad6d98fbdfb6c613e177b06f266ab5b8c9e0ee89110400e78a4811e9452a7a6eb09869261ebe8e1d8790f2add1a3481d7966
|
7
|
+
data.tar.gz: d2b856d180996a0a4639d8bfd4adceab9be7b30a26f050ba91f2746f07329e88b23a51cf856e579699ce6797fac247e4c4c8174b425dc4296f0ca7d1bd82f3c1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.27.0 (2024-09-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Resource Explorer released ListResources feature which allows customers to list all indexed AWS resources within a view.
|
8
|
+
|
9
|
+
1.26.0 (2024-09-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.25.0 (2024-09-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.27.0
|
@@ -130,13 +130,15 @@ module Aws::ResourceExplorer2
|
|
130
130
|
# locations will be searched for credentials:
|
131
131
|
#
|
132
132
|
# * `Aws.config[:credentials]`
|
133
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
134
|
-
#
|
133
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
134
|
+
# `:account_id` options.
|
135
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
136
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
135
137
|
# * `~/.aws/credentials`
|
136
138
|
# * `~/.aws/config`
|
137
139
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
140
|
# are very aggressive. Construct and pass an instance of
|
139
|
-
# `Aws::
|
141
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
142
|
# enable retries and extended timeouts. Instance profile credential
|
141
143
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
144
|
# to true.
|
@@ -155,6 +157,8 @@ module Aws::ResourceExplorer2
|
|
155
157
|
#
|
156
158
|
# @option options [String] :access_key_id
|
157
159
|
#
|
160
|
+
# @option options [String] :account_id
|
161
|
+
#
|
158
162
|
# @option options [Boolean] :active_endpoint_cache (false)
|
159
163
|
# When set to `true`, a thread polling for endpoints will be running in
|
160
164
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -369,7 +373,9 @@ module Aws::ResourceExplorer2
|
|
369
373
|
# sending the request.
|
370
374
|
#
|
371
375
|
# @option options [Aws::ResourceExplorer2::EndpointProvider] :endpoint_provider
|
372
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
376
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
377
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
378
|
+
# `Aws::ResourceExplorer2::EndpointParameters`.
|
373
379
|
#
|
374
380
|
# @option options [Float] :http_continue_timeout (1)
|
375
381
|
# The number of seconds to wait for a 100-continue response before sending the
|
@@ -866,9 +872,8 @@ module Aws::ResourceExplorer2
|
|
866
872
|
|
867
873
|
# Retrieves the status of your account's Amazon Web Services service
|
868
874
|
# access, and validates the service linked role required to access the
|
869
|
-
# multi-account search feature. Only the management account
|
870
|
-
#
|
871
|
-
# API call.
|
875
|
+
# multi-account search feature. Only the management account can invoke
|
876
|
+
# this API call.
|
872
877
|
#
|
873
878
|
# @return [Types::GetAccountLevelServiceConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
874
879
|
#
|
@@ -1126,6 +1131,90 @@ module Aws::ResourceExplorer2
|
|
1126
1131
|
req.send_request(options)
|
1127
1132
|
end
|
1128
1133
|
|
1134
|
+
# Returns a list of resources and their details that match the specified
|
1135
|
+
# criteria. This query must use a view. If you don’t explicitly specify
|
1136
|
+
# a view, then Resource Explorer uses the default view for the Amazon
|
1137
|
+
# Web Services Region in which you call this operation.
|
1138
|
+
#
|
1139
|
+
# @option params [Types::SearchFilter] :filters
|
1140
|
+
# A search filter defines which resources can be part of a search query
|
1141
|
+
# result set.
|
1142
|
+
#
|
1143
|
+
# @option params [Integer] :max_results
|
1144
|
+
# The maximum number of results that you want included on each page of
|
1145
|
+
# the response. If you do not include this parameter, it defaults to a
|
1146
|
+
# value appropriate to the operation. If additional items exist beyond
|
1147
|
+
# those included in the current response, the `NextToken` response
|
1148
|
+
# element is present and has a value (is not null). Include that value
|
1149
|
+
# as the `NextToken` request parameter in the next call to the operation
|
1150
|
+
# to get the next part of the results.
|
1151
|
+
#
|
1152
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
1153
|
+
# there are more results available. You should check `NextToken` after
|
1154
|
+
# every operation to ensure that you receive all of the results.
|
1155
|
+
#
|
1156
|
+
# </note>
|
1157
|
+
#
|
1158
|
+
# @option params [String] :next_token
|
1159
|
+
# The parameter for receiving additional results if you receive a
|
1160
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
1161
|
+
# indicates that more output is available. Set this parameter to the
|
1162
|
+
# value of the previous call's `NextToken` response to indicate where
|
1163
|
+
# the output should continue from. The pagination tokens expire after 24
|
1164
|
+
# hours.
|
1165
|
+
#
|
1166
|
+
# @option params [String] :view_arn
|
1167
|
+
# Specifies the Amazon resource name (ARN) of the view to use for the
|
1168
|
+
# query. If you don't specify a value for this parameter, then the
|
1169
|
+
# operation automatically uses the default view for the Amazon Web
|
1170
|
+
# Services Region in which you called this operation. If the Region
|
1171
|
+
# either doesn't have a default view or if you don't have permission
|
1172
|
+
# to use the default view, then the operation fails with a 401
|
1173
|
+
# Unauthorized exception.
|
1174
|
+
#
|
1175
|
+
# @return [Types::ListResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1176
|
+
#
|
1177
|
+
# * {Types::ListResourcesOutput#next_token #next_token} => String
|
1178
|
+
# * {Types::ListResourcesOutput#resources #resources} => Array<Types::Resource>
|
1179
|
+
# * {Types::ListResourcesOutput#view_arn #view_arn} => String
|
1180
|
+
#
|
1181
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1182
|
+
#
|
1183
|
+
# @example Request syntax with placeholder values
|
1184
|
+
#
|
1185
|
+
# resp = client.list_resources({
|
1186
|
+
# filters: {
|
1187
|
+
# filter_string: "SearchFilterFilterStringString", # required
|
1188
|
+
# },
|
1189
|
+
# max_results: 1,
|
1190
|
+
# next_token: "ListResourcesInputNextTokenString",
|
1191
|
+
# view_arn: "ListResourcesInputViewArnString",
|
1192
|
+
# })
|
1193
|
+
#
|
1194
|
+
# @example Response structure
|
1195
|
+
#
|
1196
|
+
# resp.next_token #=> String
|
1197
|
+
# resp.resources #=> Array
|
1198
|
+
# resp.resources[0].arn #=> String
|
1199
|
+
# resp.resources[0].last_reported_at #=> Time
|
1200
|
+
# resp.resources[0].owning_account_id #=> String
|
1201
|
+
# resp.resources[0].properties #=> Array
|
1202
|
+
# resp.resources[0].properties[0].last_reported_at #=> Time
|
1203
|
+
# resp.resources[0].properties[0].name #=> String
|
1204
|
+
# resp.resources[0].region #=> String
|
1205
|
+
# resp.resources[0].resource_type #=> String
|
1206
|
+
# resp.resources[0].service #=> String
|
1207
|
+
# resp.view_arn #=> String
|
1208
|
+
#
|
1209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListResources AWS API Documentation
|
1210
|
+
#
|
1211
|
+
# @overload list_resources(params = {})
|
1212
|
+
# @param [Hash] params ({})
|
1213
|
+
def list_resources(params = {}, options = {})
|
1214
|
+
req = build_request(:list_resources, params)
|
1215
|
+
req.send_request(options)
|
1216
|
+
end
|
1217
|
+
|
1129
1218
|
# Retrieves a list of all resource types currently supported by Amazon
|
1130
1219
|
# Web Services Resource Explorer.
|
1131
1220
|
#
|
@@ -1671,7 +1760,7 @@ module Aws::ResourceExplorer2
|
|
1671
1760
|
tracer: tracer
|
1672
1761
|
)
|
1673
1762
|
context[:gem_name] = 'aws-sdk-resourceexplorer2'
|
1674
|
-
context[:gem_version] = '1.
|
1763
|
+
context[:gem_version] = '1.27.0'
|
1675
1764
|
Seahorse::Client::Request.new(handlers, context)
|
1676
1765
|
end
|
1677
1766
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
module Aws::ResourceExplorer2
|
11
12
|
# @api private
|
12
13
|
module ClientApi
|
@@ -62,6 +63,13 @@ module Aws::ResourceExplorer2
|
|
62
63
|
ListIndexesInputNextTokenString = Shapes::StringShape.new(name: 'ListIndexesInputNextTokenString')
|
63
64
|
ListIndexesInputRegionsList = Shapes::ListShape.new(name: 'ListIndexesInputRegionsList')
|
64
65
|
ListIndexesOutput = Shapes::StructureShape.new(name: 'ListIndexesOutput')
|
66
|
+
ListResourcesInput = Shapes::StructureShape.new(name: 'ListResourcesInput')
|
67
|
+
ListResourcesInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListResourcesInputMaxResultsInteger')
|
68
|
+
ListResourcesInputNextTokenString = Shapes::StringShape.new(name: 'ListResourcesInputNextTokenString')
|
69
|
+
ListResourcesInputViewArnString = Shapes::StringShape.new(name: 'ListResourcesInputViewArnString')
|
70
|
+
ListResourcesOutput = Shapes::StructureShape.new(name: 'ListResourcesOutput')
|
71
|
+
ListResourcesOutputNextTokenString = Shapes::StringShape.new(name: 'ListResourcesOutputNextTokenString')
|
72
|
+
ListResourcesOutputViewArnString = Shapes::StringShape.new(name: 'ListResourcesOutputViewArnString')
|
65
73
|
ListSupportedResourceTypesInput = Shapes::StructureShape.new(name: 'ListSupportedResourceTypesInput')
|
66
74
|
ListSupportedResourceTypesInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListSupportedResourceTypesInputMaxResultsInteger')
|
67
75
|
ListSupportedResourceTypesOutput = Shapes::StructureShape.new(name: 'ListSupportedResourceTypesOutput')
|
@@ -239,6 +247,17 @@ module Aws::ResourceExplorer2
|
|
239
247
|
ListIndexesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
240
248
|
ListIndexesOutput.struct_class = Types::ListIndexesOutput
|
241
249
|
|
250
|
+
ListResourcesInput.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilter, location_name: "Filters"))
|
251
|
+
ListResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListResourcesInputMaxResultsInteger, location_name: "MaxResults"))
|
252
|
+
ListResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListResourcesInputNextTokenString, location_name: "NextToken"))
|
253
|
+
ListResourcesInput.add_member(:view_arn, Shapes::ShapeRef.new(shape: ListResourcesInputViewArnString, location_name: "ViewArn"))
|
254
|
+
ListResourcesInput.struct_class = Types::ListResourcesInput
|
255
|
+
|
256
|
+
ListResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListResourcesOutputNextTokenString, location_name: "NextToken"))
|
257
|
+
ListResourcesOutput.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "Resources"))
|
258
|
+
ListResourcesOutput.add_member(:view_arn, Shapes::ShapeRef.new(shape: ListResourcesOutputViewArnString, location_name: "ViewArn"))
|
259
|
+
ListResourcesOutput.struct_class = Types::ListResourcesOutput
|
260
|
+
|
242
261
|
ListSupportedResourceTypesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSupportedResourceTypesInputMaxResultsInteger, location_name: "MaxResults"))
|
243
262
|
ListSupportedResourceTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
244
263
|
ListSupportedResourceTypesInput.struct_class = Types::ListSupportedResourceTypesInput
|
@@ -397,9 +416,11 @@ module Aws::ResourceExplorer2
|
|
397
416
|
|
398
417
|
api.metadata = {
|
399
418
|
"apiVersion" => "2022-07-28",
|
419
|
+
"auth" => ["aws.auth#sigv4"],
|
400
420
|
"endpointPrefix" => "resource-explorer-2",
|
401
421
|
"jsonVersion" => "1.1",
|
402
422
|
"protocol" => "rest-json",
|
423
|
+
"protocols" => ["rest-json"],
|
403
424
|
"serviceFullName" => "AWS Resource Explorer",
|
404
425
|
"serviceId" => "Resource Explorer 2",
|
405
426
|
"signatureVersion" => "v4",
|
@@ -589,6 +610,26 @@ module Aws::ResourceExplorer2
|
|
589
610
|
)
|
590
611
|
end)
|
591
612
|
|
613
|
+
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
614
|
+
o.name = "ListResources"
|
615
|
+
o.http_method = "POST"
|
616
|
+
o.http_request_uri = "/ListResources"
|
617
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourcesInput)
|
618
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourcesOutput)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
621
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
623
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
625
|
+
o[:pager] = Aws::Pager.new(
|
626
|
+
limit_key: "max_results",
|
627
|
+
tokens: {
|
628
|
+
"next_token" => "next_token"
|
629
|
+
}
|
630
|
+
)
|
631
|
+
end)
|
632
|
+
|
592
633
|
api.add_operation(:list_supported_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
593
634
|
o.name = "ListSupportedResourceTypes"
|
594
635
|
o.http_method = "POST"
|
@@ -155,6 +155,17 @@ module Aws::ResourceExplorer2
|
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
158
|
+
class ListResources
|
159
|
+
def self.build(context)
|
160
|
+
Aws::ResourceExplorer2::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
158
169
|
class ListSupportedResourceTypes
|
159
170
|
def self.build(context)
|
160
171
|
Aws::ResourceExplorer2::EndpointParameters.new(
|
@@ -15,11 +15,11 @@ module Aws::ResourceExplorer2
|
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::ResourceExplorer2::EndpointProvider',
|
17
17
|
rbs_type: 'untyped',
|
18
|
-
docstring:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
docstring: <<~DOCS) do |_cfg|
|
19
|
+
The endpoint provider used to resolve endpoints. Any object that responds to
|
20
|
+
`#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
21
|
+
`Aws::ResourceExplorer2::EndpointParameters`.
|
22
|
+
DOCS
|
23
23
|
Aws::ResourceExplorer2::EndpointProvider.new
|
24
24
|
end
|
25
25
|
|
@@ -51,6 +51,9 @@ module Aws::ResourceExplorer2
|
|
51
51
|
if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
|
52
52
|
metrics << 'SIGV4A_SIGNING'
|
53
53
|
end
|
54
|
+
if context.config.credentials&.credentials&.account_id
|
55
|
+
metrics << 'RESOLVED_ACCOUNT_ID'
|
56
|
+
end
|
54
57
|
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
55
58
|
end
|
56
59
|
|
@@ -93,6 +96,8 @@ module Aws::ResourceExplorer2
|
|
93
96
|
Aws::ResourceExplorer2::Endpoints::ListIndexes.build(context)
|
94
97
|
when :list_indexes_for_members
|
95
98
|
Aws::ResourceExplorer2::Endpoints::ListIndexesForMembers.build(context)
|
99
|
+
when :list_resources
|
100
|
+
Aws::ResourceExplorer2::Endpoints::ListResources.build(context)
|
96
101
|
when :list_supported_resource_types
|
97
102
|
Aws::ResourceExplorer2::Endpoints::ListSupportedResourceTypes.build(context)
|
98
103
|
when :list_tags_for_resource
|
@@ -732,6 +732,86 @@ module Aws::ResourceExplorer2
|
|
732
732
|
include Aws::Structure
|
733
733
|
end
|
734
734
|
|
735
|
+
# @!attribute [rw] filters
|
736
|
+
# A search filter defines which resources can be part of a search
|
737
|
+
# query result set.
|
738
|
+
# @return [Types::SearchFilter]
|
739
|
+
#
|
740
|
+
# @!attribute [rw] max_results
|
741
|
+
# The maximum number of results that you want included on each page of
|
742
|
+
# the response. If you do not include this parameter, it defaults to a
|
743
|
+
# value appropriate to the operation. If additional items exist beyond
|
744
|
+
# those included in the current response, the `NextToken` response
|
745
|
+
# element is present and has a value (is not null). Include that value
|
746
|
+
# as the `NextToken` request parameter in the next call to the
|
747
|
+
# operation to get the next part of the results.
|
748
|
+
#
|
749
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
750
|
+
# there are more results available. You should check `NextToken` after
|
751
|
+
# every operation to ensure that you receive all of the results.
|
752
|
+
#
|
753
|
+
# </note>
|
754
|
+
# @return [Integer]
|
755
|
+
#
|
756
|
+
# @!attribute [rw] next_token
|
757
|
+
# The parameter for receiving additional results if you receive a
|
758
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
759
|
+
# indicates that more output is available. Set this parameter to the
|
760
|
+
# value of the previous call's `NextToken` response to indicate where
|
761
|
+
# the output should continue from. The pagination tokens expire after
|
762
|
+
# 24 hours.
|
763
|
+
# @return [String]
|
764
|
+
#
|
765
|
+
# @!attribute [rw] view_arn
|
766
|
+
# Specifies the Amazon resource name (ARN) of the view to use for the
|
767
|
+
# query. If you don't specify a value for this parameter, then the
|
768
|
+
# operation automatically uses the default view for the Amazon Web
|
769
|
+
# Services Region in which you called this operation. If the Region
|
770
|
+
# either doesn't have a default view or if you don't have permission
|
771
|
+
# to use the default view, then the operation fails with a 401
|
772
|
+
# Unauthorized exception.
|
773
|
+
# @return [String]
|
774
|
+
#
|
775
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListResourcesInput AWS API Documentation
|
776
|
+
#
|
777
|
+
class ListResourcesInput < Struct.new(
|
778
|
+
:filters,
|
779
|
+
:max_results,
|
780
|
+
:next_token,
|
781
|
+
:view_arn)
|
782
|
+
SENSITIVE = [:filters]
|
783
|
+
include Aws::Structure
|
784
|
+
end
|
785
|
+
|
786
|
+
# @!attribute [rw] next_token
|
787
|
+
# If present, indicates that more output is available than is included
|
788
|
+
# in the current response. Use this value in the `NextToken` request
|
789
|
+
# parameter in a subsequent call to the operation to get the next part
|
790
|
+
# of the output. You should repeat this until the `NextToken` response
|
791
|
+
# element comes back as `null`. The pagination tokens expire after 24
|
792
|
+
# hours.
|
793
|
+
# @return [String]
|
794
|
+
#
|
795
|
+
# @!attribute [rw] resources
|
796
|
+
# The list of structures that describe the resources that match the
|
797
|
+
# query.
|
798
|
+
# @return [Array<Types::Resource>]
|
799
|
+
#
|
800
|
+
# @!attribute [rw] view_arn
|
801
|
+
# The Amazon resource name (ARN) of the view that this operation used
|
802
|
+
# to perform the search.
|
803
|
+
# @return [String]
|
804
|
+
#
|
805
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListResourcesOutput AWS API Documentation
|
806
|
+
#
|
807
|
+
class ListResourcesOutput < Struct.new(
|
808
|
+
:next_token,
|
809
|
+
:resources,
|
810
|
+
:view_arn)
|
811
|
+
SENSITIVE = []
|
812
|
+
include Aws::Structure
|
813
|
+
end
|
814
|
+
|
735
815
|
# @!attribute [rw] max_results
|
736
816
|
# The maximum number of results that you want included on each page of
|
737
817
|
# the response. If you do not include this parameter, it defaults to a
|
@@ -981,8 +1061,8 @@ module Aws::ResourceExplorer2
|
|
981
1061
|
# @return [String]
|
982
1062
|
#
|
983
1063
|
# @!attribute [rw] service
|
984
|
-
# The Amazon Web
|
985
|
-
# creating and updating it.
|
1064
|
+
# The Amazon Web Servicesservice that owns the resource and is
|
1065
|
+
# responsible for creating and updating it.
|
986
1066
|
# @return [String]
|
987
1067
|
#
|
988
1068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/Resource AWS API Documentation
|
@@ -1235,9 +1315,9 @@ module Aws::ResourceExplorer2
|
|
1235
1315
|
# @return [String]
|
1236
1316
|
#
|
1237
1317
|
# @!attribute [rw] service
|
1238
|
-
# The Amazon Web
|
1239
|
-
# This is the primary service that lets you create and interact
|
1240
|
-
# resources of this type.
|
1318
|
+
# The Amazon Web Servicesservice that is associated with the resource
|
1319
|
+
# type. This is the primary service that lets you create and interact
|
1320
|
+
# with resources of this type.
|
1241
1321
|
# @return [String]
|
1242
1322
|
#
|
1243
1323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/SupportedResourceType AWS API Documentation
|
@@ -1556,3 +1636,4 @@ module Aws::ResourceExplorer2
|
|
1556
1636
|
|
1557
1637
|
end
|
1558
1638
|
end
|
1639
|
+
|
@@ -11,17 +11,6 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
require_relative 'aws-sdk-resourceexplorer2/types'
|
15
|
-
require_relative 'aws-sdk-resourceexplorer2/client_api'
|
16
|
-
require_relative 'aws-sdk-resourceexplorer2/plugins/endpoints.rb'
|
17
|
-
require_relative 'aws-sdk-resourceexplorer2/client'
|
18
|
-
require_relative 'aws-sdk-resourceexplorer2/errors'
|
19
|
-
require_relative 'aws-sdk-resourceexplorer2/resource'
|
20
|
-
require_relative 'aws-sdk-resourceexplorer2/endpoint_parameters'
|
21
|
-
require_relative 'aws-sdk-resourceexplorer2/endpoint_provider'
|
22
|
-
require_relative 'aws-sdk-resourceexplorer2/endpoints'
|
23
|
-
require_relative 'aws-sdk-resourceexplorer2/customizations'
|
24
|
-
|
25
14
|
# This module provides support for AWS Resource Explorer. This module is available in the
|
26
15
|
# `aws-sdk-resourceexplorer2` gem.
|
27
16
|
#
|
@@ -51,7 +40,20 @@ require_relative 'aws-sdk-resourceexplorer2/customizations'
|
|
51
40
|
#
|
52
41
|
# @!group service
|
53
42
|
module Aws::ResourceExplorer2
|
43
|
+
autoload :Types, 'aws-sdk-resourceexplorer2/types'
|
44
|
+
autoload :ClientApi, 'aws-sdk-resourceexplorer2/client_api'
|
45
|
+
module Plugins
|
46
|
+
autoload :Endpoints, 'aws-sdk-resourceexplorer2/plugins/endpoints.rb'
|
47
|
+
end
|
48
|
+
autoload :Client, 'aws-sdk-resourceexplorer2/client'
|
49
|
+
autoload :Errors, 'aws-sdk-resourceexplorer2/errors'
|
50
|
+
autoload :Resource, 'aws-sdk-resourceexplorer2/resource'
|
51
|
+
autoload :EndpointParameters, 'aws-sdk-resourceexplorer2/endpoint_parameters'
|
52
|
+
autoload :EndpointProvider, 'aws-sdk-resourceexplorer2/endpoint_provider'
|
53
|
+
autoload :Endpoints, 'aws-sdk-resourceexplorer2/endpoints'
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.27.0'
|
56
56
|
|
57
57
|
end
|
58
|
+
|
59
|
+
require_relative 'aws-sdk-resourceexplorer2/customizations'
|
data/sig/client.rbs
CHANGED
@@ -15,6 +15,7 @@ module Aws
|
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
17
|
?access_key_id: String,
|
18
|
+
?account_id: String,
|
18
19
|
?active_endpoint_cache: bool,
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
20
21
|
?client_side_monitoring: bool,
|
@@ -224,6 +225,23 @@ module Aws
|
|
224
225
|
) -> _ListIndexesForMembersResponseSuccess
|
225
226
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIndexesForMembersResponseSuccess
|
226
227
|
|
228
|
+
interface _ListResourcesResponseSuccess
|
229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourcesOutput]
|
230
|
+
def next_token: () -> ::String
|
231
|
+
def resources: () -> ::Array[Types::Resource]
|
232
|
+
def view_arn: () -> ::String
|
233
|
+
end
|
234
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_resources-instance_method
|
235
|
+
def list_resources: (
|
236
|
+
?filters: {
|
237
|
+
filter_string: ::String
|
238
|
+
},
|
239
|
+
?max_results: ::Integer,
|
240
|
+
?next_token: ::String,
|
241
|
+
?view_arn: ::String
|
242
|
+
) -> _ListResourcesResponseSuccess
|
243
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcesResponseSuccess
|
244
|
+
|
227
245
|
interface _ListSupportedResourceTypesResponseSuccess
|
228
246
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListSupportedResourceTypesOutput]
|
229
247
|
def next_token: () -> ::String
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -172,6 +172,21 @@ module Aws::ResourceExplorer2
|
|
172
172
|
SENSITIVE: []
|
173
173
|
end
|
174
174
|
|
175
|
+
class ListResourcesInput
|
176
|
+
attr_accessor filters: Types::SearchFilter
|
177
|
+
attr_accessor max_results: ::Integer
|
178
|
+
attr_accessor next_token: ::String
|
179
|
+
attr_accessor view_arn: ::String
|
180
|
+
SENSITIVE: [:filters]
|
181
|
+
end
|
182
|
+
|
183
|
+
class ListResourcesOutput
|
184
|
+
attr_accessor next_token: ::String
|
185
|
+
attr_accessor resources: ::Array[Types::Resource]
|
186
|
+
attr_accessor view_arn: ::String
|
187
|
+
SENSITIVE: []
|
188
|
+
end
|
189
|
+
|
175
190
|
class ListSupportedResourceTypesInput
|
176
191
|
attr_accessor max_results: ::Integer
|
177
192
|
attr_accessor next_token: ::String
|
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.
|
4
|
+
version: 1.27.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-09-
|
11
|
+
date: 2024-09-23 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.207.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.207.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for AWS Resource Explorer. This gem is part of
|
48
48
|
the AWS SDK for Ruby.
|
49
49
|
email:
|