aws-sdk-resourceexplorer2 1.26.0 → 1.28.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 +87 -6
- 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 +15 -11
- 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: 82c7a15fd71dd6c4edfac4ff7166fb843d552579533727811a383fc8d8d9f60a
|
4
|
+
data.tar.gz: a0300040fd3f44ea26ceb750bc69ae92756bc44239413872f4b9f42665194859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0929924c0288cafc73ce7afe0fb47735705f28b0adfa3eebd9fb06f04f5236ffa03bea1c9c836e43c2fa07e106c003a2ab1ba88b446c89511fbeeb41f73fe199'
|
7
|
+
data.tar.gz: 7ee135e803446a86f7179884a27c99cc3688731d8a9cc81f25fb82e43c25e52031d059b4842f4d686a7c7f02e9ca6a5d7c49381bc778d91b063395c9375709e3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2024-09-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.27.0 (2024-09-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS Resource Explorer released ListResources feature which allows customers to list all indexed AWS resources within a view.
|
13
|
+
|
4
14
|
1.26.0 (2024-09-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:resourceexplorer2)
|
40
|
-
|
41
39
|
module Aws::ResourceExplorer2
|
42
40
|
# An API client for ResourceExplorer2. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -872,9 +870,8 @@ module Aws::ResourceExplorer2
|
|
872
870
|
|
873
871
|
# Retrieves the status of your account's Amazon Web Services service
|
874
872
|
# access, and validates the service linked role required to access the
|
875
|
-
# multi-account search feature. Only the management account
|
876
|
-
#
|
877
|
-
# API call.
|
873
|
+
# multi-account search feature. Only the management account can invoke
|
874
|
+
# this API call.
|
878
875
|
#
|
879
876
|
# @return [Types::GetAccountLevelServiceConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
880
877
|
#
|
@@ -1132,6 +1129,90 @@ module Aws::ResourceExplorer2
|
|
1132
1129
|
req.send_request(options)
|
1133
1130
|
end
|
1134
1131
|
|
1132
|
+
# Returns a list of resources and their details that match the specified
|
1133
|
+
# criteria. This query must use a view. If you don’t explicitly specify
|
1134
|
+
# a view, then Resource Explorer uses the default view for the Amazon
|
1135
|
+
# Web Services Region in which you call this operation.
|
1136
|
+
#
|
1137
|
+
# @option params [Types::SearchFilter] :filters
|
1138
|
+
# A search filter defines which resources can be part of a search query
|
1139
|
+
# result set.
|
1140
|
+
#
|
1141
|
+
# @option params [Integer] :max_results
|
1142
|
+
# The maximum number of results that you want included on each page of
|
1143
|
+
# the response. If you do not include this parameter, it defaults to a
|
1144
|
+
# value appropriate to the operation. If additional items exist beyond
|
1145
|
+
# those included in the current response, the `NextToken` response
|
1146
|
+
# element is present and has a value (is not null). Include that value
|
1147
|
+
# as the `NextToken` request parameter in the next call to the operation
|
1148
|
+
# to get the next part of the results.
|
1149
|
+
#
|
1150
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
1151
|
+
# there are more results available. You should check `NextToken` after
|
1152
|
+
# every operation to ensure that you receive all of the results.
|
1153
|
+
#
|
1154
|
+
# </note>
|
1155
|
+
#
|
1156
|
+
# @option params [String] :next_token
|
1157
|
+
# The parameter for receiving additional results if you receive a
|
1158
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
1159
|
+
# indicates that more output is available. Set this parameter to the
|
1160
|
+
# value of the previous call's `NextToken` response to indicate where
|
1161
|
+
# the output should continue from. The pagination tokens expire after 24
|
1162
|
+
# hours.
|
1163
|
+
#
|
1164
|
+
# @option params [String] :view_arn
|
1165
|
+
# Specifies the Amazon resource name (ARN) of the view to use for the
|
1166
|
+
# query. If you don't specify a value for this parameter, then the
|
1167
|
+
# operation automatically uses the default view for the Amazon Web
|
1168
|
+
# Services Region in which you called this operation. If the Region
|
1169
|
+
# either doesn't have a default view or if you don't have permission
|
1170
|
+
# to use the default view, then the operation fails with a 401
|
1171
|
+
# Unauthorized exception.
|
1172
|
+
#
|
1173
|
+
# @return [Types::ListResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1174
|
+
#
|
1175
|
+
# * {Types::ListResourcesOutput#next_token #next_token} => String
|
1176
|
+
# * {Types::ListResourcesOutput#resources #resources} => Array<Types::Resource>
|
1177
|
+
# * {Types::ListResourcesOutput#view_arn #view_arn} => String
|
1178
|
+
#
|
1179
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1180
|
+
#
|
1181
|
+
# @example Request syntax with placeholder values
|
1182
|
+
#
|
1183
|
+
# resp = client.list_resources({
|
1184
|
+
# filters: {
|
1185
|
+
# filter_string: "SearchFilterFilterStringString", # required
|
1186
|
+
# },
|
1187
|
+
# max_results: 1,
|
1188
|
+
# next_token: "ListResourcesInputNextTokenString",
|
1189
|
+
# view_arn: "ListResourcesInputViewArnString",
|
1190
|
+
# })
|
1191
|
+
#
|
1192
|
+
# @example Response structure
|
1193
|
+
#
|
1194
|
+
# resp.next_token #=> String
|
1195
|
+
# resp.resources #=> Array
|
1196
|
+
# resp.resources[0].arn #=> String
|
1197
|
+
# resp.resources[0].last_reported_at #=> Time
|
1198
|
+
# resp.resources[0].owning_account_id #=> String
|
1199
|
+
# resp.resources[0].properties #=> Array
|
1200
|
+
# resp.resources[0].properties[0].last_reported_at #=> Time
|
1201
|
+
# resp.resources[0].properties[0].name #=> String
|
1202
|
+
# resp.resources[0].region #=> String
|
1203
|
+
# resp.resources[0].resource_type #=> String
|
1204
|
+
# resp.resources[0].service #=> String
|
1205
|
+
# resp.view_arn #=> String
|
1206
|
+
#
|
1207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListResources AWS API Documentation
|
1208
|
+
#
|
1209
|
+
# @overload list_resources(params = {})
|
1210
|
+
# @param [Hash] params ({})
|
1211
|
+
def list_resources(params = {}, options = {})
|
1212
|
+
req = build_request(:list_resources, params)
|
1213
|
+
req.send_request(options)
|
1214
|
+
end
|
1215
|
+
|
1135
1216
|
# Retrieves a list of all resource types currently supported by Amazon
|
1136
1217
|
# Web Services Resource Explorer.
|
1137
1218
|
#
|
@@ -1677,7 +1758,7 @@ module Aws::ResourceExplorer2
|
|
1677
1758
|
tracer: tracer
|
1678
1759
|
)
|
1679
1760
|
context[:gem_name] = 'aws-sdk-resourceexplorer2'
|
1680
|
-
context[:gem_version] = '1.
|
1761
|
+
context[:gem_version] = '1.28.0'
|
1681
1762
|
Seahorse::Client::Request.new(handlers, context)
|
1682
1763
|
end
|
1683
1764
|
|
@@ -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,16 +11,7 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
|
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'
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:resourceexplorer2)
|
24
15
|
|
25
16
|
# This module provides support for AWS Resource Explorer. This module is available in the
|
26
17
|
# `aws-sdk-resourceexplorer2` gem.
|
@@ -51,7 +42,20 @@ require_relative 'aws-sdk-resourceexplorer2/customizations'
|
|
51
42
|
#
|
52
43
|
# @!group service
|
53
44
|
module Aws::ResourceExplorer2
|
45
|
+
autoload :Types, 'aws-sdk-resourceexplorer2/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-resourceexplorer2/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-resourceexplorer2/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-resourceexplorer2/client'
|
51
|
+
autoload :Errors, 'aws-sdk-resourceexplorer2/errors'
|
52
|
+
autoload :Resource, 'aws-sdk-resourceexplorer2/resource'
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-resourceexplorer2/endpoint_parameters'
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-resourceexplorer2/endpoint_provider'
|
55
|
+
autoload :Endpoints, 'aws-sdk-resourceexplorer2/endpoints'
|
54
56
|
|
55
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.28.0'
|
56
58
|
|
57
59
|
end
|
60
|
+
|
61
|
+
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.28.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-24 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:
|