aws-sdk-detective 1.29.0 → 1.31.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-detective/client.rb +20 -3
- data/lib/aws-sdk-detective/client_api.rb +32 -0
- data/lib/aws-sdk-detective/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-detective/endpoint_provider.rb +110 -0
- data/lib/aws-sdk-detective/endpoints.rb +351 -0
- data/lib/aws-sdk-detective/errors.rb +36 -0
- data/lib/aws-sdk-detective/plugins/endpoints.rb +116 -0
- data/lib/aws-sdk-detective/types.rb +35 -196
- data/lib/aws-sdk-detective.rb +5 -1
- metadata +8 -4
@@ -10,13 +10,6 @@
|
|
10
10
|
module Aws::Detective
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AcceptInvitationRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# graph_arn: "GraphArn", # required
|
18
|
-
# }
|
19
|
-
#
|
20
13
|
# @!attribute [rw] graph_arn
|
21
14
|
# The ARN of the behavior graph that the member account is accepting
|
22
15
|
# the invitation for.
|
@@ -32,16 +25,43 @@ module Aws::Detective
|
|
32
25
|
include Aws::Structure
|
33
26
|
end
|
34
27
|
|
35
|
-
#
|
36
|
-
#
|
28
|
+
# The request issuer does not have permission to access this resource or
|
29
|
+
# perform this operation.
|
30
|
+
#
|
31
|
+
# @!attribute [rw] message
|
32
|
+
# @return [String]
|
33
|
+
#
|
34
|
+
# @!attribute [rw] error_code
|
35
|
+
# The SDK default error code associated with the access denied
|
36
|
+
# exception.
|
37
|
+
# @return [String]
|
38
|
+
#
|
39
|
+
# @!attribute [rw] error_code_reason
|
40
|
+
# The SDK default explanation of why access was denied.
|
41
|
+
# @return [String]
|
42
|
+
#
|
43
|
+
# @!attribute [rw] sub_error_code
|
44
|
+
# The error code associated with the access denied exception.
|
45
|
+
# @return [String]
|
46
|
+
#
|
47
|
+
# @!attribute [rw] sub_error_code_reason
|
48
|
+
# An explanation of why access was denied.
|
49
|
+
# @return [String]
|
37
50
|
#
|
38
|
-
# @
|
39
|
-
# data as a hash:
|
51
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/AccessDeniedException AWS API Documentation
|
40
52
|
#
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
53
|
+
class AccessDeniedException < Struct.new(
|
54
|
+
:message,
|
55
|
+
:error_code,
|
56
|
+
:error_code_reason,
|
57
|
+
:sub_error_code,
|
58
|
+
:sub_error_code_reason)
|
59
|
+
SENSITIVE = []
|
60
|
+
include Aws::Structure
|
61
|
+
end
|
62
|
+
|
63
|
+
# An Amazon Web Services account that is the administrator account of or
|
64
|
+
# a member of a behavior graph.
|
45
65
|
#
|
46
66
|
# @!attribute [rw] account_id
|
47
67
|
# The account identifier of the Amazon Web Services account.
|
@@ -89,14 +109,6 @@ module Aws::Detective
|
|
89
109
|
include Aws::Structure
|
90
110
|
end
|
91
111
|
|
92
|
-
# @note When making an API call, you may pass BatchGetGraphMemberDatasourcesRequest
|
93
|
-
# data as a hash:
|
94
|
-
#
|
95
|
-
# {
|
96
|
-
# graph_arn: "GraphArn", # required
|
97
|
-
# account_ids: ["AccountId"], # required
|
98
|
-
# }
|
99
|
-
#
|
100
112
|
# @!attribute [rw] graph_arn
|
101
113
|
# The ARN of the behavior graph.
|
102
114
|
# @return [String]
|
@@ -134,13 +146,6 @@ module Aws::Detective
|
|
134
146
|
include Aws::Structure
|
135
147
|
end
|
136
148
|
|
137
|
-
# @note When making an API call, you may pass BatchGetMembershipDatasourcesRequest
|
138
|
-
# data as a hash:
|
139
|
-
#
|
140
|
-
# {
|
141
|
-
# graph_arns: ["GraphArn"], # required
|
142
|
-
# }
|
143
|
-
#
|
144
149
|
# @!attribute [rw] graph_arns
|
145
150
|
# The ARN of the behavior graph.
|
146
151
|
# @return [Array<String>]
|
@@ -185,15 +190,6 @@ module Aws::Detective
|
|
185
190
|
include Aws::Structure
|
186
191
|
end
|
187
192
|
|
188
|
-
# @note When making an API call, you may pass CreateGraphRequest
|
189
|
-
# data as a hash:
|
190
|
-
#
|
191
|
-
# {
|
192
|
-
# tags: {
|
193
|
-
# "TagKey" => "TagValue",
|
194
|
-
# },
|
195
|
-
# }
|
196
|
-
#
|
197
193
|
# @!attribute [rw] tags
|
198
194
|
# The tags to assign to the new behavior graph. You can add up to 50
|
199
195
|
# tags. For each tag, you provide the tag key and the tag value. Each
|
@@ -221,21 +217,6 @@ module Aws::Detective
|
|
221
217
|
include Aws::Structure
|
222
218
|
end
|
223
219
|
|
224
|
-
# @note When making an API call, you may pass CreateMembersRequest
|
225
|
-
# data as a hash:
|
226
|
-
#
|
227
|
-
# {
|
228
|
-
# graph_arn: "GraphArn", # required
|
229
|
-
# message: "EmailMessage",
|
230
|
-
# disable_email_notification: false,
|
231
|
-
# accounts: [ # required
|
232
|
-
# {
|
233
|
-
# account_id: "AccountId", # required
|
234
|
-
# email_address: "EmailAddress", # required
|
235
|
-
# },
|
236
|
-
# ],
|
237
|
-
# }
|
238
|
-
#
|
239
220
|
# @!attribute [rw] graph_arn
|
240
221
|
# The ARN of the behavior graph.
|
241
222
|
# @return [String]
|
@@ -342,13 +323,6 @@ module Aws::Detective
|
|
342
323
|
include Aws::Structure
|
343
324
|
end
|
344
325
|
|
345
|
-
# @note When making an API call, you may pass DeleteGraphRequest
|
346
|
-
# data as a hash:
|
347
|
-
#
|
348
|
-
# {
|
349
|
-
# graph_arn: "GraphArn", # required
|
350
|
-
# }
|
351
|
-
#
|
352
326
|
# @!attribute [rw] graph_arn
|
353
327
|
# The ARN of the behavior graph to disable.
|
354
328
|
# @return [String]
|
@@ -361,14 +335,6 @@ module Aws::Detective
|
|
361
335
|
include Aws::Structure
|
362
336
|
end
|
363
337
|
|
364
|
-
# @note When making an API call, you may pass DeleteMembersRequest
|
365
|
-
# data as a hash:
|
366
|
-
#
|
367
|
-
# {
|
368
|
-
# graph_arn: "GraphArn", # required
|
369
|
-
# account_ids: ["AccountId"], # required
|
370
|
-
# }
|
371
|
-
#
|
372
338
|
# @!attribute [rw] graph_arn
|
373
339
|
# The ARN of the behavior graph to remove members from.
|
374
340
|
# @return [String]
|
@@ -409,13 +375,6 @@ module Aws::Detective
|
|
409
375
|
include Aws::Structure
|
410
376
|
end
|
411
377
|
|
412
|
-
# @note When making an API call, you may pass DescribeOrganizationConfigurationRequest
|
413
|
-
# data as a hash:
|
414
|
-
#
|
415
|
-
# {
|
416
|
-
# graph_arn: "GraphArn", # required
|
417
|
-
# }
|
418
|
-
#
|
419
378
|
# @!attribute [rw] graph_arn
|
420
379
|
# The ARN of the organization behavior graph.
|
421
380
|
# @return [String]
|
@@ -441,13 +400,6 @@ module Aws::Detective
|
|
441
400
|
include Aws::Structure
|
442
401
|
end
|
443
402
|
|
444
|
-
# @note When making an API call, you may pass DisassociateMembershipRequest
|
445
|
-
# data as a hash:
|
446
|
-
#
|
447
|
-
# {
|
448
|
-
# graph_arn: "GraphArn", # required
|
449
|
-
# }
|
450
|
-
#
|
451
403
|
# @!attribute [rw] graph_arn
|
452
404
|
# The ARN of the behavior graph to remove the member account from.
|
453
405
|
#
|
@@ -463,13 +415,6 @@ module Aws::Detective
|
|
463
415
|
include Aws::Structure
|
464
416
|
end
|
465
417
|
|
466
|
-
# @note When making an API call, you may pass EnableOrganizationAdminAccountRequest
|
467
|
-
# data as a hash:
|
468
|
-
#
|
469
|
-
# {
|
470
|
-
# account_id: "AccountId", # required
|
471
|
-
# }
|
472
|
-
#
|
473
418
|
# @!attribute [rw] account_id
|
474
419
|
# The Amazon Web Services account identifier of the account to
|
475
420
|
# designate as the Detective administrator account for the
|
@@ -484,14 +429,6 @@ module Aws::Detective
|
|
484
429
|
include Aws::Structure
|
485
430
|
end
|
486
431
|
|
487
|
-
# @note When making an API call, you may pass GetMembersRequest
|
488
|
-
# data as a hash:
|
489
|
-
#
|
490
|
-
# {
|
491
|
-
# graph_arn: "GraphArn", # required
|
492
|
-
# account_ids: ["AccountId"], # required
|
493
|
-
# }
|
494
|
-
#
|
495
432
|
# @!attribute [rw] graph_arn
|
496
433
|
# The ARN of the behavior graph for which to request the member
|
497
434
|
# details.
|
@@ -572,15 +509,6 @@ module Aws::Detective
|
|
572
509
|
include Aws::Structure
|
573
510
|
end
|
574
511
|
|
575
|
-
# @note When making an API call, you may pass ListDatasourcePackagesRequest
|
576
|
-
# data as a hash:
|
577
|
-
#
|
578
|
-
# {
|
579
|
-
# graph_arn: "GraphArn", # required
|
580
|
-
# next_token: "PaginationToken",
|
581
|
-
# max_results: 1,
|
582
|
-
# }
|
583
|
-
#
|
584
512
|
# @!attribute [rw] graph_arn
|
585
513
|
# The ARN of the behavior graph.
|
586
514
|
# @return [String]
|
@@ -624,14 +552,6 @@ module Aws::Detective
|
|
624
552
|
include Aws::Structure
|
625
553
|
end
|
626
554
|
|
627
|
-
# @note When making an API call, you may pass ListGraphsRequest
|
628
|
-
# data as a hash:
|
629
|
-
#
|
630
|
-
# {
|
631
|
-
# next_token: "PaginationToken",
|
632
|
-
# max_results: 1,
|
633
|
-
# }
|
634
|
-
#
|
635
555
|
# @!attribute [rw] next_token
|
636
556
|
# For requests to get the next page of results, the pagination token
|
637
557
|
# that was returned with the previous set of results. The initial
|
@@ -673,14 +593,6 @@ module Aws::Detective
|
|
673
593
|
include Aws::Structure
|
674
594
|
end
|
675
595
|
|
676
|
-
# @note When making an API call, you may pass ListInvitationsRequest
|
677
|
-
# data as a hash:
|
678
|
-
#
|
679
|
-
# {
|
680
|
-
# next_token: "PaginationToken",
|
681
|
-
# max_results: 1,
|
682
|
-
# }
|
683
|
-
#
|
684
596
|
# @!attribute [rw] next_token
|
685
597
|
# For requests to retrieve the next page of results, the pagination
|
686
598
|
# token that was returned with the previous page of results. The
|
@@ -722,15 +634,6 @@ module Aws::Detective
|
|
722
634
|
include Aws::Structure
|
723
635
|
end
|
724
636
|
|
725
|
-
# @note When making an API call, you may pass ListMembersRequest
|
726
|
-
# data as a hash:
|
727
|
-
#
|
728
|
-
# {
|
729
|
-
# graph_arn: "GraphArn", # required
|
730
|
-
# next_token: "PaginationToken",
|
731
|
-
# max_results: 1,
|
732
|
-
# }
|
733
|
-
#
|
734
637
|
# @!attribute [rw] graph_arn
|
735
638
|
# The ARN of the behavior graph for which to retrieve the list of
|
736
639
|
# member accounts.
|
@@ -785,14 +688,6 @@ module Aws::Detective
|
|
785
688
|
include Aws::Structure
|
786
689
|
end
|
787
690
|
|
788
|
-
# @note When making an API call, you may pass ListOrganizationAdminAccountsRequest
|
789
|
-
# data as a hash:
|
790
|
-
#
|
791
|
-
# {
|
792
|
-
# next_token: "PaginationToken",
|
793
|
-
# max_results: 1,
|
794
|
-
# }
|
795
|
-
#
|
796
691
|
# @!attribute [rw] next_token
|
797
692
|
# For requests to get the next page of results, the pagination token
|
798
693
|
# that was returned with the previous set of results. The initial
|
@@ -830,13 +725,6 @@ module Aws::Detective
|
|
830
725
|
include Aws::Structure
|
831
726
|
end
|
832
727
|
|
833
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
834
|
-
# data as a hash:
|
835
|
-
#
|
836
|
-
# {
|
837
|
-
# resource_arn: "GraphArn", # required
|
838
|
-
# }
|
839
|
-
#
|
840
728
|
# @!attribute [rw] resource_arn
|
841
729
|
# The ARN of the behavior graph for which to retrieve the tag values.
|
842
730
|
# @return [String]
|
@@ -1051,13 +939,6 @@ module Aws::Detective
|
|
1051
939
|
include Aws::Structure
|
1052
940
|
end
|
1053
941
|
|
1054
|
-
# @note When making an API call, you may pass RejectInvitationRequest
|
1055
|
-
# data as a hash:
|
1056
|
-
#
|
1057
|
-
# {
|
1058
|
-
# graph_arn: "GraphArn", # required
|
1059
|
-
# }
|
1060
|
-
#
|
1061
942
|
# @!attribute [rw] graph_arn
|
1062
943
|
# The ARN of the behavior graph to reject the invitation to.
|
1063
944
|
#
|
@@ -1115,14 +996,6 @@ module Aws::Detective
|
|
1115
996
|
include Aws::Structure
|
1116
997
|
end
|
1117
998
|
|
1118
|
-
# @note When making an API call, you may pass StartMonitoringMemberRequest
|
1119
|
-
# data as a hash:
|
1120
|
-
#
|
1121
|
-
# {
|
1122
|
-
# graph_arn: "GraphArn", # required
|
1123
|
-
# account_id: "AccountId", # required
|
1124
|
-
# }
|
1125
|
-
#
|
1126
999
|
# @!attribute [rw] graph_arn
|
1127
1000
|
# The ARN of the behavior graph.
|
1128
1001
|
# @return [String]
|
@@ -1143,16 +1016,6 @@ module Aws::Detective
|
|
1143
1016
|
include Aws::Structure
|
1144
1017
|
end
|
1145
1018
|
|
1146
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1147
|
-
# data as a hash:
|
1148
|
-
#
|
1149
|
-
# {
|
1150
|
-
# resource_arn: "GraphArn", # required
|
1151
|
-
# tags: { # required
|
1152
|
-
# "TagKey" => "TagValue",
|
1153
|
-
# },
|
1154
|
-
# }
|
1155
|
-
#
|
1156
1019
|
# @!attribute [rw] resource_arn
|
1157
1020
|
# The ARN of the behavior graph to assign the tags to.
|
1158
1021
|
# @return [String]
|
@@ -1248,14 +1111,6 @@ module Aws::Detective
|
|
1248
1111
|
include Aws::Structure
|
1249
1112
|
end
|
1250
1113
|
|
1251
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1252
|
-
# data as a hash:
|
1253
|
-
#
|
1254
|
-
# {
|
1255
|
-
# resource_arn: "GraphArn", # required
|
1256
|
-
# tag_keys: ["TagKey"], # required
|
1257
|
-
# }
|
1258
|
-
#
|
1259
1114
|
# @!attribute [rw] resource_arn
|
1260
1115
|
# The ARN of the behavior graph to remove the tags from.
|
1261
1116
|
# @return [String]
|
@@ -1278,14 +1133,6 @@ module Aws::Detective
|
|
1278
1133
|
#
|
1279
1134
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1280
1135
|
|
1281
|
-
# @note When making an API call, you may pass UpdateDatasourcePackagesRequest
|
1282
|
-
# data as a hash:
|
1283
|
-
#
|
1284
|
-
# {
|
1285
|
-
# graph_arn: "GraphArn", # required
|
1286
|
-
# datasource_packages: ["DETECTIVE_CORE"], # required, accepts DETECTIVE_CORE, EKS_AUDIT
|
1287
|
-
# }
|
1288
|
-
#
|
1289
1136
|
# @!attribute [rw] graph_arn
|
1290
1137
|
# The ARN of the behavior graph.
|
1291
1138
|
# @return [String]
|
@@ -1303,14 +1150,6 @@ module Aws::Detective
|
|
1303
1150
|
include Aws::Structure
|
1304
1151
|
end
|
1305
1152
|
|
1306
|
-
# @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
|
1307
|
-
# data as a hash:
|
1308
|
-
#
|
1309
|
-
# {
|
1310
|
-
# graph_arn: "GraphArn", # required
|
1311
|
-
# auto_enable: false,
|
1312
|
-
# }
|
1313
|
-
#
|
1314
1153
|
# @!attribute [rw] graph_arn
|
1315
1154
|
# The ARN of the organization behavior graph.
|
1316
1155
|
# @return [String]
|
data/lib/aws-sdk-detective.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-detective/types'
|
15
15
|
require_relative 'aws-sdk-detective/client_api'
|
16
|
+
require_relative 'aws-sdk-detective/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-detective/client'
|
17
18
|
require_relative 'aws-sdk-detective/errors'
|
18
19
|
require_relative 'aws-sdk-detective/resource'
|
20
|
+
require_relative 'aws-sdk-detective/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-detective/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-detective/endpoints'
|
19
23
|
require_relative 'aws-sdk-detective/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Amazon Detective. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-detective/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::Detective
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.31.0'
|
52
56
|
|
53
57
|
end
|
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.31.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: 2022-
|
11
|
+
date: 2022-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-detective/client.rb
|
60
60
|
- lib/aws-sdk-detective/client_api.rb
|
61
61
|
- lib/aws-sdk-detective/customizations.rb
|
62
|
+
- lib/aws-sdk-detective/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-detective/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-detective/endpoints.rb
|
62
65
|
- lib/aws-sdk-detective/errors.rb
|
66
|
+
- lib/aws-sdk-detective/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-detective/resource.rb
|
64
68
|
- lib/aws-sdk-detective/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|