aws-sdk-detective 1.15.0 → 1.16.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-detective.rb +1 -1
- data/lib/aws-sdk-detective/client.rb +96 -1
- data/lib/aws-sdk-detective/client_api.rb +71 -1
- data/lib/aws-sdk-detective/types.rb +113 -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: 93c0013c2fc91b9504c0c3c9b7a797f75c5251563dbcf9af64112d5464dafcab
|
4
|
+
data.tar.gz: 8ef57dbff24554d9f0bf1ece899ea7d373a1e632d0d0c72a335c4020307b8ccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 498c5ec2140afe2fc97ef945872337fc0ec3683ebaaec131497d90b2dd236051befd7af7f5b1737fbbd19de7a12ac20fbd0274f85187ec4d1bdaca10973db971
|
7
|
+
data.tar.gz: c4d25c8249eb20ff1d8d0933bf42644f8f99cbb47296fb4cb2a1553660e6a80c5b581f2b84270da816dfba6171c6d1edefd165aa319266ae22139c8d333a8eff
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2021-03-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added the ability to assign tag values to Detective behavior graphs. Tag values can be used for attribute-based access control, and for cost allocation for billing.
|
8
|
+
|
4
9
|
1.15.0 (2021-03-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
data/lib/aws-sdk-detective.rb
CHANGED
@@ -381,10 +381,22 @@ module Aws::Detective
|
|
381
381
|
# the same administrator account, it always returns the same behavior
|
382
382
|
# graph ARN. It does not create a new behavior graph.
|
383
383
|
#
|
384
|
+
# @option params [Hash<String,String>] :tags
|
385
|
+
# The tags to assign to the new behavior graph. For each tag, you
|
386
|
+
# provide the tag key and the tag value.
|
387
|
+
#
|
384
388
|
# @return [Types::CreateGraphResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
385
389
|
#
|
386
390
|
# * {Types::CreateGraphResponse#graph_arn #graph_arn} => String
|
387
391
|
#
|
392
|
+
# @example Request syntax with placeholder values
|
393
|
+
#
|
394
|
+
# resp = client.create_graph({
|
395
|
+
# tags: {
|
396
|
+
# "TagKey" => "TagValue",
|
397
|
+
# },
|
398
|
+
# })
|
399
|
+
#
|
388
400
|
# @example Response structure
|
389
401
|
#
|
390
402
|
# resp.graph_arn #=> String
|
@@ -800,6 +812,35 @@ module Aws::Detective
|
|
800
812
|
req.send_request(options)
|
801
813
|
end
|
802
814
|
|
815
|
+
# Returns the tag values that are assigned to a behavior graph.
|
816
|
+
#
|
817
|
+
# @option params [required, String] :resource_arn
|
818
|
+
# The ARN of the behavior graph for which to retrieve the tag values.
|
819
|
+
#
|
820
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
821
|
+
#
|
822
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
823
|
+
#
|
824
|
+
# @example Request syntax with placeholder values
|
825
|
+
#
|
826
|
+
# resp = client.list_tags_for_resource({
|
827
|
+
# resource_arn: "GraphArn", # required
|
828
|
+
# })
|
829
|
+
#
|
830
|
+
# @example Response structure
|
831
|
+
#
|
832
|
+
# resp.tags #=> Hash
|
833
|
+
# resp.tags["TagKey"] #=> String
|
834
|
+
#
|
835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListTagsForResource AWS API Documentation
|
836
|
+
#
|
837
|
+
# @overload list_tags_for_resource(params = {})
|
838
|
+
# @param [Hash] params ({})
|
839
|
+
def list_tags_for_resource(params = {}, options = {})
|
840
|
+
req = build_request(:list_tags_for_resource, params)
|
841
|
+
req.send_request(options)
|
842
|
+
end
|
843
|
+
|
803
844
|
# Rejects an invitation to contribute the account data to a behavior
|
804
845
|
# graph. This operation must be called by a member account that has the
|
805
846
|
# `INVITED` status.
|
@@ -865,6 +906,60 @@ module Aws::Detective
|
|
865
906
|
req.send_request(options)
|
866
907
|
end
|
867
908
|
|
909
|
+
# Applies tag values to a behavior graph.
|
910
|
+
#
|
911
|
+
# @option params [required, String] :resource_arn
|
912
|
+
# The ARN of the behavior graph to assign the tags to.
|
913
|
+
#
|
914
|
+
# @option params [required, Hash<String,String>] :tags
|
915
|
+
# The tag values to assign to the behavior graph.
|
916
|
+
#
|
917
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
918
|
+
#
|
919
|
+
# @example Request syntax with placeholder values
|
920
|
+
#
|
921
|
+
# resp = client.tag_resource({
|
922
|
+
# resource_arn: "GraphArn", # required
|
923
|
+
# tags: { # required
|
924
|
+
# "TagKey" => "TagValue",
|
925
|
+
# },
|
926
|
+
# })
|
927
|
+
#
|
928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/TagResource AWS API Documentation
|
929
|
+
#
|
930
|
+
# @overload tag_resource(params = {})
|
931
|
+
# @param [Hash] params ({})
|
932
|
+
def tag_resource(params = {}, options = {})
|
933
|
+
req = build_request(:tag_resource, params)
|
934
|
+
req.send_request(options)
|
935
|
+
end
|
936
|
+
|
937
|
+
# Removes tags from a behavior graph.
|
938
|
+
#
|
939
|
+
# @option params [required, String] :resource_arn
|
940
|
+
# The ARN of the behavior graph to remove the tags from.
|
941
|
+
#
|
942
|
+
# @option params [required, Array<String>] :tag_keys
|
943
|
+
# The tag keys of the tags to remove from the behavior graph.
|
944
|
+
#
|
945
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
946
|
+
#
|
947
|
+
# @example Request syntax with placeholder values
|
948
|
+
#
|
949
|
+
# resp = client.untag_resource({
|
950
|
+
# resource_arn: "GraphArn", # required
|
951
|
+
# tag_keys: ["TagKey"], # required
|
952
|
+
# })
|
953
|
+
#
|
954
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UntagResource AWS API Documentation
|
955
|
+
#
|
956
|
+
# @overload untag_resource(params = {})
|
957
|
+
# @param [Hash] params ({})
|
958
|
+
def untag_resource(params = {}, options = {})
|
959
|
+
req = build_request(:untag_resource, params)
|
960
|
+
req.send_request(options)
|
961
|
+
end
|
962
|
+
|
868
963
|
# @!endgroup
|
869
964
|
|
870
965
|
# @param params ({})
|
@@ -878,7 +973,7 @@ module Aws::Detective
|
|
878
973
|
params: params,
|
879
974
|
config: config)
|
880
975
|
context[:gem_name] = 'aws-sdk-detective'
|
881
|
-
context[:gem_version] = '1.
|
976
|
+
context[:gem_version] = '1.16.0'
|
882
977
|
Seahorse::Client::Request.new(handlers, context)
|
883
978
|
end
|
884
979
|
|
@@ -20,6 +20,7 @@ module Aws::Detective
|
|
20
20
|
AccountList = Shapes::ListShape.new(name: 'AccountList')
|
21
21
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
22
22
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
23
|
+
CreateGraphRequest = Shapes::StructureShape.new(name: 'CreateGraphRequest')
|
23
24
|
CreateGraphResponse = Shapes::StructureShape.new(name: 'CreateGraphResponse')
|
24
25
|
CreateMembersRequest = Shapes::StructureShape.new(name: 'CreateMembersRequest')
|
25
26
|
CreateMembersResponse = Shapes::StructureShape.new(name: 'CreateMembersResponse')
|
@@ -42,6 +43,8 @@ module Aws::Detective
|
|
42
43
|
ListInvitationsResponse = Shapes::StructureShape.new(name: 'ListInvitationsResponse')
|
43
44
|
ListMembersRequest = Shapes::StructureShape.new(name: 'ListMembersRequest')
|
44
45
|
ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
|
46
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
47
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
45
48
|
MemberDetail = Shapes::StructureShape.new(name: 'MemberDetail')
|
46
49
|
MemberDetailList = Shapes::ListShape.new(name: 'MemberDetailList')
|
47
50
|
MemberDisabledReason = Shapes::StringShape.new(name: 'MemberDisabledReason')
|
@@ -53,10 +56,18 @@ module Aws::Detective
|
|
53
56
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
54
57
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
55
58
|
StartMonitoringMemberRequest = Shapes::StructureShape.new(name: 'StartMonitoringMemberRequest')
|
59
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
60
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
61
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
62
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
63
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
64
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
56
65
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
57
66
|
UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
|
58
67
|
UnprocessedAccountList = Shapes::ListShape.new(name: 'UnprocessedAccountList')
|
59
68
|
UnprocessedReason = Shapes::StringShape.new(name: 'UnprocessedReason')
|
69
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
70
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
60
71
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
61
72
|
|
62
73
|
AcceptInvitationRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
@@ -73,6 +84,9 @@ module Aws::Detective
|
|
73
84
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
74
85
|
ConflictException.struct_class = Types::ConflictException
|
75
86
|
|
87
|
+
CreateGraphRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
88
|
+
CreateGraphRequest.struct_class = Types::CreateGraphRequest
|
89
|
+
|
76
90
|
CreateGraphResponse.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, location_name: "GraphArn"))
|
77
91
|
CreateGraphResponse.struct_class = Types::CreateGraphResponse
|
78
92
|
|
@@ -142,6 +156,12 @@ module Aws::Detective
|
|
142
156
|
ListMembersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
143
157
|
ListMembersResponse.struct_class = Types::ListMembersResponse
|
144
158
|
|
159
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location: "uri", location_name: "ResourceArn"))
|
160
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
161
|
+
|
162
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
163
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
164
|
+
|
145
165
|
MemberDetail.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
146
166
|
MemberDetail.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
|
147
167
|
MemberDetail.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, location_name: "GraphArn"))
|
@@ -170,12 +190,29 @@ module Aws::Detective
|
|
170
190
|
StartMonitoringMemberRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
171
191
|
StartMonitoringMemberRequest.struct_class = Types::StartMonitoringMemberRequest
|
172
192
|
|
193
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
194
|
+
|
195
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
196
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
197
|
+
|
198
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location: "uri", location_name: "ResourceArn"))
|
199
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
200
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
201
|
+
|
202
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
203
|
+
|
173
204
|
UnprocessedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
174
205
|
UnprocessedAccount.add_member(:reason, Shapes::ShapeRef.new(shape: UnprocessedReason, location_name: "Reason"))
|
175
206
|
UnprocessedAccount.struct_class = Types::UnprocessedAccount
|
176
207
|
|
177
208
|
UnprocessedAccountList.member = Shapes::ShapeRef.new(shape: UnprocessedAccount)
|
178
209
|
|
210
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location: "uri", location_name: "ResourceArn"))
|
211
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
212
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
213
|
+
|
214
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
215
|
+
|
179
216
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
180
217
|
ValidationException.struct_class = Types::ValidationException
|
181
218
|
|
@@ -213,7 +250,7 @@ module Aws::Detective
|
|
213
250
|
o.name = "CreateGraph"
|
214
251
|
o.http_method = "POST"
|
215
252
|
o.http_request_uri = "/graph"
|
216
|
-
o.input = Shapes::ShapeRef.new(shape:
|
253
|
+
o.input = Shapes::ShapeRef.new(shape: CreateGraphRequest)
|
217
254
|
o.output = Shapes::ShapeRef.new(shape: CreateGraphResponse)
|
218
255
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
219
256
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -327,6 +364,17 @@ module Aws::Detective
|
|
327
364
|
)
|
328
365
|
end)
|
329
366
|
|
367
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
368
|
+
o.name = "ListTagsForResource"
|
369
|
+
o.http_method = "GET"
|
370
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
371
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
372
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
373
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
374
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
375
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
376
|
+
end)
|
377
|
+
|
330
378
|
api.add_operation(:reject_invitation, Seahorse::Model::Operation.new.tap do |o|
|
331
379
|
o.name = "RejectInvitation"
|
332
380
|
o.http_method = "POST"
|
@@ -351,6 +399,28 @@ module Aws::Detective
|
|
351
399
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
352
400
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
353
401
|
end)
|
402
|
+
|
403
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
404
|
+
o.name = "TagResource"
|
405
|
+
o.http_method = "POST"
|
406
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
407
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
408
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
410
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
412
|
+
end)
|
413
|
+
|
414
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
415
|
+
o.name = "UntagResource"
|
416
|
+
o.http_method = "DELETE"
|
417
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
418
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
419
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
423
|
+
end)
|
354
424
|
end
|
355
425
|
|
356
426
|
end
|
@@ -73,6 +73,28 @@ module Aws::Detective
|
|
73
73
|
include Aws::Structure
|
74
74
|
end
|
75
75
|
|
76
|
+
# @note When making an API call, you may pass CreateGraphRequest
|
77
|
+
# data as a hash:
|
78
|
+
#
|
79
|
+
# {
|
80
|
+
# tags: {
|
81
|
+
# "TagKey" => "TagValue",
|
82
|
+
# },
|
83
|
+
# }
|
84
|
+
#
|
85
|
+
# @!attribute [rw] tags
|
86
|
+
# The tags to assign to the new behavior graph. For each tag, you
|
87
|
+
# provide the tag key and the tag value.
|
88
|
+
# @return [Hash<String,String>]
|
89
|
+
#
|
90
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateGraphRequest AWS API Documentation
|
91
|
+
#
|
92
|
+
class CreateGraphRequest < Struct.new(
|
93
|
+
:tags)
|
94
|
+
SENSITIVE = []
|
95
|
+
include Aws::Structure
|
96
|
+
end
|
97
|
+
|
76
98
|
# @!attribute [rw] graph_arn
|
77
99
|
# The ARN of the new behavior graph.
|
78
100
|
# @return [String]
|
@@ -487,6 +509,37 @@ module Aws::Detective
|
|
487
509
|
include Aws::Structure
|
488
510
|
end
|
489
511
|
|
512
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
513
|
+
# data as a hash:
|
514
|
+
#
|
515
|
+
# {
|
516
|
+
# resource_arn: "GraphArn", # required
|
517
|
+
# }
|
518
|
+
#
|
519
|
+
# @!attribute [rw] resource_arn
|
520
|
+
# The ARN of the behavior graph for which to retrieve the tag values.
|
521
|
+
# @return [String]
|
522
|
+
#
|
523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListTagsForResourceRequest AWS API Documentation
|
524
|
+
#
|
525
|
+
class ListTagsForResourceRequest < Struct.new(
|
526
|
+
:resource_arn)
|
527
|
+
SENSITIVE = []
|
528
|
+
include Aws::Structure
|
529
|
+
end
|
530
|
+
|
531
|
+
# @!attribute [rw] tags
|
532
|
+
# The tag values that are assigned to the behavior graph.
|
533
|
+
# @return [Hash<String,String>]
|
534
|
+
#
|
535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListTagsForResourceResponse AWS API Documentation
|
536
|
+
#
|
537
|
+
class ListTagsForResourceResponse < Struct.new(
|
538
|
+
:tags)
|
539
|
+
SENSITIVE = []
|
540
|
+
include Aws::Structure
|
541
|
+
end
|
542
|
+
|
490
543
|
# Details about a member account that was invited to contribute to a
|
491
544
|
# behavior graph.
|
492
545
|
#
|
@@ -693,6 +746,37 @@ module Aws::Detective
|
|
693
746
|
include Aws::Structure
|
694
747
|
end
|
695
748
|
|
749
|
+
# @note When making an API call, you may pass TagResourceRequest
|
750
|
+
# data as a hash:
|
751
|
+
#
|
752
|
+
# {
|
753
|
+
# resource_arn: "GraphArn", # required
|
754
|
+
# tags: { # required
|
755
|
+
# "TagKey" => "TagValue",
|
756
|
+
# },
|
757
|
+
# }
|
758
|
+
#
|
759
|
+
# @!attribute [rw] resource_arn
|
760
|
+
# The ARN of the behavior graph to assign the tags to.
|
761
|
+
# @return [String]
|
762
|
+
#
|
763
|
+
# @!attribute [rw] tags
|
764
|
+
# The tag values to assign to the behavior graph.
|
765
|
+
# @return [Hash<String,String>]
|
766
|
+
#
|
767
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/TagResourceRequest AWS API Documentation
|
768
|
+
#
|
769
|
+
class TagResourceRequest < Struct.new(
|
770
|
+
:resource_arn,
|
771
|
+
:tags)
|
772
|
+
SENSITIVE = []
|
773
|
+
include Aws::Structure
|
774
|
+
end
|
775
|
+
|
776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/TagResourceResponse AWS API Documentation
|
777
|
+
#
|
778
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
779
|
+
|
696
780
|
# A member account that was included in a request but for which the
|
697
781
|
# request could not be processed.
|
698
782
|
#
|
@@ -714,6 +798,35 @@ module Aws::Detective
|
|
714
798
|
include Aws::Structure
|
715
799
|
end
|
716
800
|
|
801
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
802
|
+
# data as a hash:
|
803
|
+
#
|
804
|
+
# {
|
805
|
+
# resource_arn: "GraphArn", # required
|
806
|
+
# tag_keys: ["TagKey"], # required
|
807
|
+
# }
|
808
|
+
#
|
809
|
+
# @!attribute [rw] resource_arn
|
810
|
+
# The ARN of the behavior graph to remove the tags from.
|
811
|
+
# @return [String]
|
812
|
+
#
|
813
|
+
# @!attribute [rw] tag_keys
|
814
|
+
# The tag keys of the tags to remove from the behavior graph.
|
815
|
+
# @return [Array<String>]
|
816
|
+
#
|
817
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UntagResourceRequest AWS API Documentation
|
818
|
+
#
|
819
|
+
class UntagResourceRequest < Struct.new(
|
820
|
+
:resource_arn,
|
821
|
+
:tag_keys)
|
822
|
+
SENSITIVE = []
|
823
|
+
include Aws::Structure
|
824
|
+
end
|
825
|
+
|
826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UntagResourceResponse AWS API Documentation
|
827
|
+
#
|
828
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
829
|
+
|
717
830
|
# The request parameters are invalid.
|
718
831
|
#
|
719
832
|
# @!attribute [rw] message
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-detective
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.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: 2021-03-
|
11
|
+
date: 2021-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-detective
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-detective/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|