aws-sdk-resourceexplorer2 1.29.0 → 1.30.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 +109 -1
- data/lib/aws-sdk-resourceexplorer2/client_api.rb +72 -0
- data/lib/aws-sdk-resourceexplorer2/types.rb +175 -2
- data/lib/aws-sdk-resourceexplorer2.rb +1 -1
- data/sig/client.rbs +23 -0
- data/sig/types.rbs +37 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e7af9b86df35a2efcc44c411eefdeabe41c9e23728895469bf3ea80ebf93253
|
4
|
+
data.tar.gz: adb708ac64c76e5865ca02750e29aff4394edb81f3f8a37c0b56792efe587369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceac1d00de48c30bd0710be449adfe7f898e45e045593b75fa1008b5aed291498e2f8616d955681f1262fb2a00b73bdbb8fcb3f0629aa857e8d2b690d212cf2a
|
7
|
+
data.tar.gz: 3095ecde7162f009a70ba30d06498890438a983e6e7a8d3fea7d2eb9687d1c41e06130a28cafa6c8369153bff830a97afb21119effd21fe9c127a1e1ef24ad2a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -951,6 +951,49 @@ module Aws::ResourceExplorer2
|
|
951
951
|
req.send_request(options)
|
952
952
|
end
|
953
953
|
|
954
|
+
# Retrieves details of the specified [Amazon Web Services-managed
|
955
|
+
# view][1].
|
956
|
+
#
|
957
|
+
#
|
958
|
+
#
|
959
|
+
# [1]: https://docs.aws.amazon.com/resource-explorer/latest/userguide/aws-managed-views.html
|
960
|
+
#
|
961
|
+
# @option params [required, String] :managed_view_arn
|
962
|
+
# The Amazon resource name (ARN) of the managed view.
|
963
|
+
#
|
964
|
+
# @return [Types::GetManagedViewOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
965
|
+
#
|
966
|
+
# * {Types::GetManagedViewOutput#managed_view #managed_view} => Types::ManagedView
|
967
|
+
#
|
968
|
+
# @example Request syntax with placeholder values
|
969
|
+
#
|
970
|
+
# resp = client.get_managed_view({
|
971
|
+
# managed_view_arn: "GetManagedViewInputManagedViewArnString", # required
|
972
|
+
# })
|
973
|
+
#
|
974
|
+
# @example Response structure
|
975
|
+
#
|
976
|
+
# resp.managed_view.filters.filter_string #=> String
|
977
|
+
# resp.managed_view.included_properties #=> Array
|
978
|
+
# resp.managed_view.included_properties[0].name #=> String
|
979
|
+
# resp.managed_view.last_updated_at #=> Time
|
980
|
+
# resp.managed_view.managed_view_arn #=> String
|
981
|
+
# resp.managed_view.managed_view_name #=> String
|
982
|
+
# resp.managed_view.owner #=> String
|
983
|
+
# resp.managed_view.resource_policy #=> String
|
984
|
+
# resp.managed_view.scope #=> String
|
985
|
+
# resp.managed_view.trusted_service #=> String
|
986
|
+
# resp.managed_view.version #=> String
|
987
|
+
#
|
988
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetManagedView AWS API Documentation
|
989
|
+
#
|
990
|
+
# @overload get_managed_view(params = {})
|
991
|
+
# @param [Hash] params ({})
|
992
|
+
def get_managed_view(params = {}, options = {})
|
993
|
+
req = build_request(:get_managed_view, params)
|
994
|
+
req.send_request(options)
|
995
|
+
end
|
996
|
+
|
954
997
|
# Retrieves details of the specified view.
|
955
998
|
#
|
956
999
|
# @option params [required, String] :view_arn
|
@@ -1129,6 +1172,71 @@ module Aws::ResourceExplorer2
|
|
1129
1172
|
req.send_request(options)
|
1130
1173
|
end
|
1131
1174
|
|
1175
|
+
# Lists the Amazon resource names (ARNs) of the [Amazon Web
|
1176
|
+
# Services-managed views][1] available in the Amazon Web Services Region
|
1177
|
+
# in which you call this operation.
|
1178
|
+
#
|
1179
|
+
#
|
1180
|
+
#
|
1181
|
+
# [1]: https://docs.aws.amazon.com/resource-explorer/latest/userguide/aws-managed-views.html
|
1182
|
+
#
|
1183
|
+
# @option params [Integer] :max_results
|
1184
|
+
# The maximum number of results that you want included on each page of
|
1185
|
+
# the response. If you do not include this parameter, it defaults to a
|
1186
|
+
# value appropriate to the operation. If additional items exist beyond
|
1187
|
+
# those included in the current response, the `NextToken` response
|
1188
|
+
# element is present and has a value (is not null). Include that value
|
1189
|
+
# as the `NextToken` request parameter in the next call to the operation
|
1190
|
+
# to get the next part of the results.
|
1191
|
+
#
|
1192
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
1193
|
+
# there are more results available. You should check `NextToken` after
|
1194
|
+
# every operation to ensure that you receive all of the results.
|
1195
|
+
#
|
1196
|
+
# </note>
|
1197
|
+
#
|
1198
|
+
# @option params [String] :next_token
|
1199
|
+
# The parameter for receiving additional results if you receive a
|
1200
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
1201
|
+
# indicates that more output is available. Set this parameter to the
|
1202
|
+
# value of the previous call's `NextToken` response to indicate where
|
1203
|
+
# the output should continue from. The pagination tokens expire after 24
|
1204
|
+
# hours.
|
1205
|
+
#
|
1206
|
+
# @option params [String] :service_principal
|
1207
|
+
# Specifies a service principal name. If specified, then the operation
|
1208
|
+
# only returns the managed views that are managed by the input service.
|
1209
|
+
#
|
1210
|
+
# @return [Types::ListManagedViewsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1211
|
+
#
|
1212
|
+
# * {Types::ListManagedViewsOutput#managed_views #managed_views} => Array<String>
|
1213
|
+
# * {Types::ListManagedViewsOutput#next_token #next_token} => String
|
1214
|
+
#
|
1215
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1216
|
+
#
|
1217
|
+
# @example Request syntax with placeholder values
|
1218
|
+
#
|
1219
|
+
# resp = client.list_managed_views({
|
1220
|
+
# max_results: 1,
|
1221
|
+
# next_token: "ListManagedViewsInputNextTokenString",
|
1222
|
+
# service_principal: "ListManagedViewsInputServicePrincipalString",
|
1223
|
+
# })
|
1224
|
+
#
|
1225
|
+
# @example Response structure
|
1226
|
+
#
|
1227
|
+
# resp.managed_views #=> Array
|
1228
|
+
# resp.managed_views[0] #=> String
|
1229
|
+
# resp.next_token #=> String
|
1230
|
+
#
|
1231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListManagedViews AWS API Documentation
|
1232
|
+
#
|
1233
|
+
# @overload list_managed_views(params = {})
|
1234
|
+
# @param [Hash] params ({})
|
1235
|
+
def list_managed_views(params = {}, options = {})
|
1236
|
+
req = build_request(:list_managed_views, params)
|
1237
|
+
req.send_request(options)
|
1238
|
+
end
|
1239
|
+
|
1132
1240
|
# Returns a list of resources and their details that match the specified
|
1133
1241
|
# criteria. This query must use a view. If you don’t explicitly specify
|
1134
1242
|
# a view, then Resource Explorer uses the default view for the Amazon
|
@@ -1758,7 +1866,7 @@ module Aws::ResourceExplorer2
|
|
1758
1866
|
tracer: tracer
|
1759
1867
|
)
|
1760
1868
|
context[:gem_name] = 'aws-sdk-resourceexplorer2'
|
1761
|
-
context[:gem_version] = '1.
|
1869
|
+
context[:gem_version] = '1.30.0'
|
1762
1870
|
Seahorse::Client::Request.new(handlers, context)
|
1763
1871
|
end
|
1764
1872
|
|
@@ -42,6 +42,9 @@ module Aws::ResourceExplorer2
|
|
42
42
|
GetAccountLevelServiceConfigurationOutput = Shapes::StructureShape.new(name: 'GetAccountLevelServiceConfigurationOutput')
|
43
43
|
GetDefaultViewOutput = Shapes::StructureShape.new(name: 'GetDefaultViewOutput')
|
44
44
|
GetIndexOutput = Shapes::StructureShape.new(name: 'GetIndexOutput')
|
45
|
+
GetManagedViewInput = Shapes::StructureShape.new(name: 'GetManagedViewInput')
|
46
|
+
GetManagedViewInputManagedViewArnString = Shapes::StringShape.new(name: 'GetManagedViewInputManagedViewArnString')
|
47
|
+
GetManagedViewOutput = Shapes::StructureShape.new(name: 'GetManagedViewOutput')
|
45
48
|
GetViewInput = Shapes::StructureShape.new(name: 'GetViewInput')
|
46
49
|
GetViewInputViewArnString = Shapes::StringShape.new(name: 'GetViewInputViewArnString')
|
47
50
|
GetViewOutput = Shapes::StructureShape.new(name: 'GetViewOutput')
|
@@ -63,6 +66,11 @@ module Aws::ResourceExplorer2
|
|
63
66
|
ListIndexesInputNextTokenString = Shapes::StringShape.new(name: 'ListIndexesInputNextTokenString')
|
64
67
|
ListIndexesInputRegionsList = Shapes::ListShape.new(name: 'ListIndexesInputRegionsList')
|
65
68
|
ListIndexesOutput = Shapes::StructureShape.new(name: 'ListIndexesOutput')
|
69
|
+
ListManagedViewsInput = Shapes::StructureShape.new(name: 'ListManagedViewsInput')
|
70
|
+
ListManagedViewsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListManagedViewsInputMaxResultsInteger')
|
71
|
+
ListManagedViewsInputNextTokenString = Shapes::StringShape.new(name: 'ListManagedViewsInputNextTokenString')
|
72
|
+
ListManagedViewsInputServicePrincipalString = Shapes::StringShape.new(name: 'ListManagedViewsInputServicePrincipalString')
|
73
|
+
ListManagedViewsOutput = Shapes::StructureShape.new(name: 'ListManagedViewsOutput')
|
66
74
|
ListResourcesInput = Shapes::StructureShape.new(name: 'ListResourcesInput')
|
67
75
|
ListResourcesInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListResourcesInputMaxResultsInteger')
|
68
76
|
ListResourcesInputNextTokenString = Shapes::StringShape.new(name: 'ListResourcesInputNextTokenString')
|
@@ -79,6 +87,8 @@ module Aws::ResourceExplorer2
|
|
79
87
|
ListViewsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListViewsInputMaxResultsInteger')
|
80
88
|
ListViewsOutput = Shapes::StructureShape.new(name: 'ListViewsOutput')
|
81
89
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
90
|
+
ManagedView = Shapes::StructureShape.new(name: 'ManagedView')
|
91
|
+
ManagedViewArnList = Shapes::ListShape.new(name: 'ManagedViewArnList')
|
82
92
|
MemberIndex = Shapes::StructureShape.new(name: 'MemberIndex')
|
83
93
|
MemberIndexList = Shapes::ListShape.new(name: 'MemberIndexList')
|
84
94
|
OrgConfiguration = Shapes::StructureShape.new(name: 'OrgConfiguration')
|
@@ -202,6 +212,12 @@ module Aws::ResourceExplorer2
|
|
202
212
|
GetIndexOutput.add_member(:type, Shapes::ShapeRef.new(shape: IndexType, location_name: "Type"))
|
203
213
|
GetIndexOutput.struct_class = Types::GetIndexOutput
|
204
214
|
|
215
|
+
GetManagedViewInput.add_member(:managed_view_arn, Shapes::ShapeRef.new(shape: GetManagedViewInputManagedViewArnString, required: true, location_name: "ManagedViewArn"))
|
216
|
+
GetManagedViewInput.struct_class = Types::GetManagedViewInput
|
217
|
+
|
218
|
+
GetManagedViewOutput.add_member(:managed_view, Shapes::ShapeRef.new(shape: ManagedView, location_name: "ManagedView"))
|
219
|
+
GetManagedViewOutput.struct_class = Types::GetManagedViewOutput
|
220
|
+
|
205
221
|
GetViewInput.add_member(:view_arn, Shapes::ShapeRef.new(shape: GetViewInputViewArnString, required: true, location_name: "ViewArn"))
|
206
222
|
GetViewInput.struct_class = Types::GetViewInput
|
207
223
|
|
@@ -247,6 +263,15 @@ module Aws::ResourceExplorer2
|
|
247
263
|
ListIndexesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
248
264
|
ListIndexesOutput.struct_class = Types::ListIndexesOutput
|
249
265
|
|
266
|
+
ListManagedViewsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListManagedViewsInputMaxResultsInteger, location_name: "MaxResults"))
|
267
|
+
ListManagedViewsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListManagedViewsInputNextTokenString, location_name: "NextToken"))
|
268
|
+
ListManagedViewsInput.add_member(:service_principal, Shapes::ShapeRef.new(shape: ListManagedViewsInputServicePrincipalString, location_name: "ServicePrincipal"))
|
269
|
+
ListManagedViewsInput.struct_class = Types::ListManagedViewsInput
|
270
|
+
|
271
|
+
ListManagedViewsOutput.add_member(:managed_views, Shapes::ShapeRef.new(shape: ManagedViewArnList, location_name: "ManagedViews"))
|
272
|
+
ListManagedViewsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
273
|
+
ListManagedViewsOutput.struct_class = Types::ListManagedViewsOutput
|
274
|
+
|
250
275
|
ListResourcesInput.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilter, location_name: "Filters"))
|
251
276
|
ListResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListResourcesInputMaxResultsInteger, location_name: "MaxResults"))
|
252
277
|
ListResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListResourcesInputNextTokenString, location_name: "NextToken"))
|
@@ -280,6 +305,20 @@ module Aws::ResourceExplorer2
|
|
280
305
|
ListViewsOutput.add_member(:views, Shapes::ShapeRef.new(shape: ViewArnList, location_name: "Views"))
|
281
306
|
ListViewsOutput.struct_class = Types::ListViewsOutput
|
282
307
|
|
308
|
+
ManagedView.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilter, location_name: "Filters"))
|
309
|
+
ManagedView.add_member(:included_properties, Shapes::ShapeRef.new(shape: IncludedPropertyList, location_name: "IncludedProperties"))
|
310
|
+
ManagedView.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastUpdatedAt"))
|
311
|
+
ManagedView.add_member(:managed_view_arn, Shapes::ShapeRef.new(shape: String, location_name: "ManagedViewArn"))
|
312
|
+
ManagedView.add_member(:managed_view_name, Shapes::ShapeRef.new(shape: String, location_name: "ManagedViewName"))
|
313
|
+
ManagedView.add_member(:owner, Shapes::ShapeRef.new(shape: String, location_name: "Owner"))
|
314
|
+
ManagedView.add_member(:resource_policy, Shapes::ShapeRef.new(shape: String, location_name: "ResourcePolicy"))
|
315
|
+
ManagedView.add_member(:scope, Shapes::ShapeRef.new(shape: String, location_name: "Scope"))
|
316
|
+
ManagedView.add_member(:trusted_service, Shapes::ShapeRef.new(shape: String, location_name: "TrustedService"))
|
317
|
+
ManagedView.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
|
318
|
+
ManagedView.struct_class = Types::ManagedView
|
319
|
+
|
320
|
+
ManagedViewArnList.member = Shapes::ShapeRef.new(shape: String)
|
321
|
+
|
283
322
|
MemberIndex.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "AccountId"))
|
284
323
|
MemberIndex.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
285
324
|
MemberIndex.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
|
@@ -560,6 +599,20 @@ module Aws::ResourceExplorer2
|
|
560
599
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
561
600
|
end)
|
562
601
|
|
602
|
+
api.add_operation(:get_managed_view, Seahorse::Model::Operation.new.tap do |o|
|
603
|
+
o.name = "GetManagedView"
|
604
|
+
o.http_method = "POST"
|
605
|
+
o.http_request_uri = "/GetManagedView"
|
606
|
+
o.input = Shapes::ShapeRef.new(shape: GetManagedViewInput)
|
607
|
+
o.output = Shapes::ShapeRef.new(shape: GetManagedViewOutput)
|
608
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
609
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
610
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
614
|
+
end)
|
615
|
+
|
563
616
|
api.add_operation(:get_view, Seahorse::Model::Operation.new.tap do |o|
|
564
617
|
o.name = "GetView"
|
565
618
|
o.http_method = "POST"
|
@@ -610,6 +663,25 @@ module Aws::ResourceExplorer2
|
|
610
663
|
)
|
611
664
|
end)
|
612
665
|
|
666
|
+
api.add_operation(:list_managed_views, Seahorse::Model::Operation.new.tap do |o|
|
667
|
+
o.name = "ListManagedViews"
|
668
|
+
o.http_method = "POST"
|
669
|
+
o.http_request_uri = "/ListManagedViews"
|
670
|
+
o.input = Shapes::ShapeRef.new(shape: ListManagedViewsInput)
|
671
|
+
o.output = Shapes::ShapeRef.new(shape: ListManagedViewsOutput)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
675
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
676
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
677
|
+
o[:pager] = Aws::Pager.new(
|
678
|
+
limit_key: "max_results",
|
679
|
+
tokens: {
|
680
|
+
"next_token" => "next_token"
|
681
|
+
}
|
682
|
+
)
|
683
|
+
end)
|
684
|
+
|
613
685
|
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
614
686
|
o.name = "ListResources"
|
615
687
|
o.http_method = "POST"
|
@@ -479,6 +479,30 @@ module Aws::ResourceExplorer2
|
|
479
479
|
include Aws::Structure
|
480
480
|
end
|
481
481
|
|
482
|
+
# @!attribute [rw] managed_view_arn
|
483
|
+
# The Amazon resource name (ARN) of the managed view.
|
484
|
+
# @return [String]
|
485
|
+
#
|
486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetManagedViewInput AWS API Documentation
|
487
|
+
#
|
488
|
+
class GetManagedViewInput < Struct.new(
|
489
|
+
:managed_view_arn)
|
490
|
+
SENSITIVE = []
|
491
|
+
include Aws::Structure
|
492
|
+
end
|
493
|
+
|
494
|
+
# @!attribute [rw] managed_view
|
495
|
+
# Details about the specified managed view.
|
496
|
+
# @return [Types::ManagedView]
|
497
|
+
#
|
498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/GetManagedViewOutput AWS API Documentation
|
499
|
+
#
|
500
|
+
class GetManagedViewOutput < Struct.new(
|
501
|
+
:managed_view)
|
502
|
+
SENSITIVE = []
|
503
|
+
include Aws::Structure
|
504
|
+
end
|
505
|
+
|
482
506
|
# @!attribute [rw] view_arn
|
483
507
|
# The [Amazon resource name (ARN)][1] of the view that you want
|
484
508
|
# information about.
|
@@ -732,6 +756,70 @@ module Aws::ResourceExplorer2
|
|
732
756
|
include Aws::Structure
|
733
757
|
end
|
734
758
|
|
759
|
+
# @!attribute [rw] max_results
|
760
|
+
# The maximum number of results that you want included on each page of
|
761
|
+
# the response. If you do not include this parameter, it defaults to a
|
762
|
+
# value appropriate to the operation. If additional items exist beyond
|
763
|
+
# those included in the current response, the `NextToken` response
|
764
|
+
# element is present and has a value (is not null). Include that value
|
765
|
+
# as the `NextToken` request parameter in the next call to the
|
766
|
+
# operation to get the next part of the results.
|
767
|
+
#
|
768
|
+
# <note markdown="1"> An API operation can return fewer results than the maximum even when
|
769
|
+
# there are more results available. You should check `NextToken` after
|
770
|
+
# every operation to ensure that you receive all of the results.
|
771
|
+
#
|
772
|
+
# </note>
|
773
|
+
# @return [Integer]
|
774
|
+
#
|
775
|
+
# @!attribute [rw] next_token
|
776
|
+
# The parameter for receiving additional results if you receive a
|
777
|
+
# `NextToken` response in a previous request. A `NextToken` response
|
778
|
+
# indicates that more output is available. Set this parameter to the
|
779
|
+
# value of the previous call's `NextToken` response to indicate where
|
780
|
+
# the output should continue from. The pagination tokens expire after
|
781
|
+
# 24 hours.
|
782
|
+
# @return [String]
|
783
|
+
#
|
784
|
+
# @!attribute [rw] service_principal
|
785
|
+
# Specifies a service principal name. If specified, then the operation
|
786
|
+
# only returns the managed views that are managed by the input
|
787
|
+
# service.
|
788
|
+
# @return [String]
|
789
|
+
#
|
790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListManagedViewsInput AWS API Documentation
|
791
|
+
#
|
792
|
+
class ListManagedViewsInput < Struct.new(
|
793
|
+
:max_results,
|
794
|
+
:next_token,
|
795
|
+
:service_principal)
|
796
|
+
SENSITIVE = []
|
797
|
+
include Aws::Structure
|
798
|
+
end
|
799
|
+
|
800
|
+
# @!attribute [rw] managed_views
|
801
|
+
# The list of managed views available in the Amazon Web Services
|
802
|
+
# Region in which you called this operation.
|
803
|
+
# @return [Array<String>]
|
804
|
+
#
|
805
|
+
# @!attribute [rw] next_token
|
806
|
+
# If present, indicates that more output is available than is included
|
807
|
+
# in the current response. Use this value in the `NextToken` request
|
808
|
+
# parameter in a subsequent call to the operation to get the next part
|
809
|
+
# of the output. You should repeat this until the `NextToken` response
|
810
|
+
# element comes back as `null`. The pagination tokens expire after 24
|
811
|
+
# hours.
|
812
|
+
# @return [String]
|
813
|
+
#
|
814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ListManagedViewsOutput AWS API Documentation
|
815
|
+
#
|
816
|
+
class ListManagedViewsOutput < Struct.new(
|
817
|
+
:managed_views,
|
818
|
+
:next_token)
|
819
|
+
SENSITIVE = []
|
820
|
+
include Aws::Structure
|
821
|
+
end
|
822
|
+
|
735
823
|
# @!attribute [rw] filters
|
736
824
|
# A search filter defines which resources can be part of a search
|
737
825
|
# query result set.
|
@@ -955,6 +1043,91 @@ module Aws::ResourceExplorer2
|
|
955
1043
|
include Aws::Structure
|
956
1044
|
end
|
957
1045
|
|
1046
|
+
# An Amazon Web Services-managed view is how other Amazon Web Services
|
1047
|
+
# services can access resource information indexed by Resource Explorer
|
1048
|
+
# for your Amazon Web Services account or organization with your
|
1049
|
+
# consent. For more information, see [Managed views][1].
|
1050
|
+
#
|
1051
|
+
#
|
1052
|
+
#
|
1053
|
+
# [1]: https://docs.aws.amazon.com/resource-explorer/latest/userguide/aws-managed-views.html
|
1054
|
+
#
|
1055
|
+
# @!attribute [rw] filters
|
1056
|
+
# A search filter defines which resources can be part of a search
|
1057
|
+
# query result set.
|
1058
|
+
# @return [Types::SearchFilter]
|
1059
|
+
#
|
1060
|
+
# @!attribute [rw] included_properties
|
1061
|
+
# A structure that contains additional information about the managed
|
1062
|
+
# view.
|
1063
|
+
# @return [Array<Types::IncludedProperty>]
|
1064
|
+
#
|
1065
|
+
# @!attribute [rw] last_updated_at
|
1066
|
+
# The date and time when this managed view was last modified.
|
1067
|
+
# @return [Time]
|
1068
|
+
#
|
1069
|
+
# @!attribute [rw] managed_view_arn
|
1070
|
+
# The [Amazon resource name (ARN)][1] of the managed view.
|
1071
|
+
#
|
1072
|
+
#
|
1073
|
+
#
|
1074
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1075
|
+
# @return [String]
|
1076
|
+
#
|
1077
|
+
# @!attribute [rw] managed_view_name
|
1078
|
+
# The name of the managed view.
|
1079
|
+
# @return [String]
|
1080
|
+
#
|
1081
|
+
# @!attribute [rw] owner
|
1082
|
+
# The Amazon Web Services account that owns this managed view.
|
1083
|
+
# @return [String]
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] resource_policy
|
1086
|
+
# The resource policy that defines access to the managed view. To
|
1087
|
+
# learn more about this policy, review [Managed views][1].
|
1088
|
+
#
|
1089
|
+
#
|
1090
|
+
#
|
1091
|
+
# [1]: https://docs.aws.amazon.com/resource-explorer/latest/userguide/aws-managed-views.html
|
1092
|
+
# @return [String]
|
1093
|
+
#
|
1094
|
+
# @!attribute [rw] scope
|
1095
|
+
# An [Amazon resource name (ARN)][1] of an Amazon Web Services account
|
1096
|
+
# or organization that specifies whether this managed view includes
|
1097
|
+
# resources from only the specified Amazon Web Services account or all
|
1098
|
+
# accounts in the specified organization.
|
1099
|
+
#
|
1100
|
+
#
|
1101
|
+
#
|
1102
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1103
|
+
# @return [String]
|
1104
|
+
#
|
1105
|
+
# @!attribute [rw] trusted_service
|
1106
|
+
# The service principal of the Amazon Web Services service that
|
1107
|
+
# created and manages the managed view.
|
1108
|
+
# @return [String]
|
1109
|
+
#
|
1110
|
+
# @!attribute [rw] version
|
1111
|
+
# The version of the managed view.
|
1112
|
+
# @return [String]
|
1113
|
+
#
|
1114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-explorer-2-2022-07-28/ManagedView AWS API Documentation
|
1115
|
+
#
|
1116
|
+
class ManagedView < Struct.new(
|
1117
|
+
:filters,
|
1118
|
+
:included_properties,
|
1119
|
+
:last_updated_at,
|
1120
|
+
:managed_view_arn,
|
1121
|
+
:managed_view_name,
|
1122
|
+
:owner,
|
1123
|
+
:resource_policy,
|
1124
|
+
:scope,
|
1125
|
+
:trusted_service,
|
1126
|
+
:version)
|
1127
|
+
SENSITIVE = [:filters]
|
1128
|
+
include Aws::Structure
|
1129
|
+
end
|
1130
|
+
|
958
1131
|
# An index is the data store used by Amazon Web Services Resource
|
959
1132
|
# Explorer to hold information about your Amazon Web Services resources
|
960
1133
|
# that the service discovers.
|
@@ -1061,7 +1234,7 @@ module Aws::ResourceExplorer2
|
|
1061
1234
|
# @return [String]
|
1062
1235
|
#
|
1063
1236
|
# @!attribute [rw] service
|
1064
|
-
# The Amazon Web
|
1237
|
+
# The Amazon Web Services service that owns the resource and is
|
1065
1238
|
# responsible for creating and updating it.
|
1066
1239
|
# @return [String]
|
1067
1240
|
#
|
@@ -1315,7 +1488,7 @@ module Aws::ResourceExplorer2
|
|
1315
1488
|
# @return [String]
|
1316
1489
|
#
|
1317
1490
|
# @!attribute [rw] service
|
1318
|
-
# The Amazon Web
|
1491
|
+
# The Amazon Web Services service that is associated with the resource
|
1319
1492
|
# type. This is the primary service that lets you create and interact
|
1320
1493
|
# with resources of this type.
|
1321
1494
|
# @return [String]
|
data/sig/client.rbs
CHANGED
@@ -187,6 +187,16 @@ module Aws
|
|
187
187
|
def get_index: () -> _GetIndexResponseSuccess
|
188
188
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIndexResponseSuccess
|
189
189
|
|
190
|
+
interface _GetManagedViewResponseSuccess
|
191
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetManagedViewOutput]
|
192
|
+
def managed_view: () -> Types::ManagedView
|
193
|
+
end
|
194
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#get_managed_view-instance_method
|
195
|
+
def get_managed_view: (
|
196
|
+
managed_view_arn: ::String
|
197
|
+
) -> _GetManagedViewResponseSuccess
|
198
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetManagedViewResponseSuccess
|
199
|
+
|
190
200
|
interface _GetViewResponseSuccess
|
191
201
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetViewOutput]
|
192
202
|
def tags: () -> ::Hash[::String, ::String]
|
@@ -225,6 +235,19 @@ module Aws
|
|
225
235
|
) -> _ListIndexesForMembersResponseSuccess
|
226
236
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIndexesForMembersResponseSuccess
|
227
237
|
|
238
|
+
interface _ListManagedViewsResponseSuccess
|
239
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListManagedViewsOutput]
|
240
|
+
def managed_views: () -> ::Array[::String]
|
241
|
+
def next_token: () -> ::String
|
242
|
+
end
|
243
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_managed_views-instance_method
|
244
|
+
def list_managed_views: (
|
245
|
+
?max_results: ::Integer,
|
246
|
+
?next_token: ::String,
|
247
|
+
?service_principal: ::String
|
248
|
+
) -> _ListManagedViewsResponseSuccess
|
249
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedViewsResponseSuccess
|
250
|
+
|
228
251
|
interface _ListResourcesResponseSuccess
|
229
252
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourcesOutput]
|
230
253
|
def next_token: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -117,6 +117,16 @@ module Aws::ResourceExplorer2
|
|
117
117
|
SENSITIVE: [:tags]
|
118
118
|
end
|
119
119
|
|
120
|
+
class GetManagedViewInput
|
121
|
+
attr_accessor managed_view_arn: ::String
|
122
|
+
SENSITIVE: []
|
123
|
+
end
|
124
|
+
|
125
|
+
class GetManagedViewOutput
|
126
|
+
attr_accessor managed_view: Types::ManagedView
|
127
|
+
SENSITIVE: []
|
128
|
+
end
|
129
|
+
|
120
130
|
class GetViewInput
|
121
131
|
attr_accessor view_arn: ::String
|
122
132
|
SENSITIVE: []
|
@@ -172,6 +182,19 @@ module Aws::ResourceExplorer2
|
|
172
182
|
SENSITIVE: []
|
173
183
|
end
|
174
184
|
|
185
|
+
class ListManagedViewsInput
|
186
|
+
attr_accessor max_results: ::Integer
|
187
|
+
attr_accessor next_token: ::String
|
188
|
+
attr_accessor service_principal: ::String
|
189
|
+
SENSITIVE: []
|
190
|
+
end
|
191
|
+
|
192
|
+
class ListManagedViewsOutput
|
193
|
+
attr_accessor managed_views: ::Array[::String]
|
194
|
+
attr_accessor next_token: ::String
|
195
|
+
SENSITIVE: []
|
196
|
+
end
|
197
|
+
|
175
198
|
class ListResourcesInput
|
176
199
|
attr_accessor filters: Types::SearchFilter
|
177
200
|
attr_accessor max_results: ::Integer
|
@@ -221,6 +244,20 @@ module Aws::ResourceExplorer2
|
|
221
244
|
SENSITIVE: []
|
222
245
|
end
|
223
246
|
|
247
|
+
class ManagedView
|
248
|
+
attr_accessor filters: Types::SearchFilter
|
249
|
+
attr_accessor included_properties: ::Array[Types::IncludedProperty]
|
250
|
+
attr_accessor last_updated_at: ::Time
|
251
|
+
attr_accessor managed_view_arn: ::String
|
252
|
+
attr_accessor managed_view_name: ::String
|
253
|
+
attr_accessor owner: ::String
|
254
|
+
attr_accessor resource_policy: ::String
|
255
|
+
attr_accessor scope: ::String
|
256
|
+
attr_accessor trusted_service: ::String
|
257
|
+
attr_accessor version: ::String
|
258
|
+
SENSITIVE: [:filters]
|
259
|
+
end
|
260
|
+
|
224
261
|
class MemberIndex
|
225
262
|
attr_accessor account_id: ::String
|
226
263
|
attr_accessor arn: ::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.30.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-
|
11
|
+
date: 2024-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|