aws-sdk-resourceexplorer2 1.26.0 → 1.27.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resourceexplorer2/client.rb +87 -4
- 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 +2 -0
- data/lib/aws-sdk-resourceexplorer2/types.rb +86 -5
- data/lib/aws-sdk-resourceexplorer2.rb +14 -12
- data/sig/client.rbs +17 -0
- data/sig/types.rbs +15 -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: 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,11 @@
|
|
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
|
+
|
4
9
|
1.26.0 (2024-09-20)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.27.0
|
@@ -872,9 +872,8 @@ module Aws::ResourceExplorer2
|
|
872
872
|
|
873
873
|
# Retrieves the status of your account's Amazon Web Services service
|
874
874
|
# access, and validates the service linked role required to access the
|
875
|
-
# multi-account search feature. Only the management account
|
876
|
-
#
|
877
|
-
# API call.
|
875
|
+
# multi-account search feature. Only the management account can invoke
|
876
|
+
# this API call.
|
878
877
|
#
|
879
878
|
# @return [Types::GetAccountLevelServiceConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
880
879
|
#
|
@@ -1132,6 +1131,90 @@ module Aws::ResourceExplorer2
|
|
1132
1131
|
req.send_request(options)
|
1133
1132
|
end
|
1134
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
|
+
|
1135
1218
|
# Retrieves a list of all resource types currently supported by Amazon
|
1136
1219
|
# Web Services Resource Explorer.
|
1137
1220
|
#
|
@@ -1677,7 +1760,7 @@ module Aws::ResourceExplorer2
|
|
1677
1760
|
tracer: tracer
|
1678
1761
|
)
|
1679
1762
|
context[:gem_name] = 'aws-sdk-resourceexplorer2'
|
1680
|
-
context[:gem_version] = '1.
|
1763
|
+
context[:gem_version] = '1.27.0'
|
1681
1764
|
Seahorse::Client::Request.new(handlers, context)
|
1682
1765
|
end
|
1683
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(
|
@@ -96,6 +96,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
96
96
|
Aws::ResourceExplorer2::Endpoints::ListIndexes.build(context)
|
97
97
|
when :list_indexes_for_members
|
98
98
|
Aws::ResourceExplorer2::Endpoints::ListIndexesForMembers.build(context)
|
99
|
+
when :list_resources
|
100
|
+
Aws::ResourceExplorer2::Endpoints::ListResources.build(context)
|
99
101
|
when :list_supported_resource_types
|
100
102
|
Aws::ResourceExplorer2::Endpoints::ListSupportedResourceTypes.build(context)
|
101
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
@@ -225,6 +225,23 @@ module Aws
|
|
225
225
|
) -> _ListIndexesForMembersResponseSuccess
|
226
226
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIndexesForMembersResponseSuccess
|
227
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
|
+
|
228
245
|
interface _ListSupportedResourceTypesResponseSuccess
|
229
246
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListSupportedResourceTypesOutput]
|
230
247
|
def next_token: () -> ::String
|
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
|
@@ -36,14 +36,14 @@ dependencies:
|
|
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:
|