aws-sdk-detective 1.30.0 → 1.32.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-detective/client.rb +1 -1
- data/lib/aws-sdk-detective/client_api.rb +32 -0
- data/lib/aws-sdk-detective/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-detective/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-detective/errors.rb +36 -0
- data/lib/aws-sdk-detective/types.rb +35 -196
- data/lib/aws-sdk-detective.rb +1 -1
- 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: d0cb782ade7888ecf30c2e4a7af135899894d4b6dd429a6b37e5ebafa7ed6052
|
4
|
+
data.tar.gz: dc466425d3fd727745ef62bee9a839705615d64475ebcc14dbd4bb8918d431ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2056d6db68fe5d73e4c84a31b4f86bf7ec7a004e71957fff1f64ae32c38a322aa46dc91de39293f4fc3f868d37e9ed865c1f02e1564da6e95cc1b2df66e973c
|
7
|
+
data.tar.gz: f9c35fe74d5f317b32b1f0b2a2f7dc2f9d51bae9b9f8c938a0a0251f4a171d19a23be62e6a3a09d098c8cc51bc015aba31dd2870ada3f97712aaf5893e8f6f04
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.32.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.31.0 (2022-12-23)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - This release adds a missed AccessDeniedException type to several endpoints.
|
15
|
+
|
4
16
|
1.30.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -160,4 +172,4 @@ Unreleased Changes
|
|
160
172
|
1.0.0 (2019-12-13)
|
161
173
|
------------------
|
162
174
|
|
163
|
-
* Feature - Initial release of `aws-sdk-detective`.
|
175
|
+
* Feature - Initial release of `aws-sdk-detective`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.0
|
@@ -1418,7 +1418,7 @@ module Aws::Detective
|
|
1418
1418
|
params: params,
|
1419
1419
|
config: config)
|
1420
1420
|
context[:gem_name] = 'aws-sdk-detective'
|
1421
|
-
context[:gem_version] = '1.
|
1421
|
+
context[:gem_version] = '1.32.0'
|
1422
1422
|
Seahorse::Client::Request.new(handlers, context)
|
1423
1423
|
end
|
1424
1424
|
|
@@ -14,6 +14,7 @@ module Aws::Detective
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
18
|
Account = Shapes::StructureShape.new(name: 'Account')
|
18
19
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
19
20
|
AccountIdExtendedList = Shapes::ListShape.new(name: 'AccountIdExtendedList')
|
@@ -112,6 +113,13 @@ module Aws::Detective
|
|
112
113
|
AcceptInvitationRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
113
114
|
AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
|
114
115
|
|
116
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
117
|
+
AccessDeniedException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
118
|
+
AccessDeniedException.add_member(:error_code_reason, Shapes::ShapeRef.new(shape: ErrorCodeReason, location_name: "ErrorCodeReason"))
|
119
|
+
AccessDeniedException.add_member(:sub_error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "SubErrorCode"))
|
120
|
+
AccessDeniedException.add_member(:sub_error_code_reason, Shapes::ShapeRef.new(shape: ErrorCodeReason, location_name: "SubErrorCodeReason"))
|
121
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
122
|
+
|
115
123
|
Account.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
116
124
|
Account.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
|
117
125
|
Account.struct_class = Types::Account
|
@@ -393,6 +401,7 @@ module Aws::Detective
|
|
393
401
|
o.http_request_uri = "/invitation"
|
394
402
|
o.input = Shapes::ShapeRef.new(shape: AcceptInvitationRequest)
|
395
403
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
396
405
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
397
406
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
398
407
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -405,6 +414,7 @@ module Aws::Detective
|
|
405
414
|
o.http_request_uri = "/graph/datasources/get"
|
406
415
|
o.input = Shapes::ShapeRef.new(shape: BatchGetGraphMemberDatasourcesRequest)
|
407
416
|
o.output = Shapes::ShapeRef.new(shape: BatchGetGraphMemberDatasourcesResponse)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
408
418
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
409
419
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
410
420
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -416,6 +426,7 @@ module Aws::Detective
|
|
416
426
|
o.http_request_uri = "/membership/datasources/get"
|
417
427
|
o.input = Shapes::ShapeRef.new(shape: BatchGetMembershipDatasourcesRequest)
|
418
428
|
o.output = Shapes::ShapeRef.new(shape: BatchGetMembershipDatasourcesResponse)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
419
430
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
420
431
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
421
432
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -427,6 +438,7 @@ module Aws::Detective
|
|
427
438
|
o.http_request_uri = "/graph"
|
428
439
|
o.input = Shapes::ShapeRef.new(shape: CreateGraphRequest)
|
429
440
|
o.output = Shapes::ShapeRef.new(shape: CreateGraphResponse)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
430
442
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
431
443
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
432
444
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
@@ -438,6 +450,7 @@ module Aws::Detective
|
|
438
450
|
o.http_request_uri = "/graph/members"
|
439
451
|
o.input = Shapes::ShapeRef.new(shape: CreateMembersRequest)
|
440
452
|
o.output = Shapes::ShapeRef.new(shape: CreateMembersResponse)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
441
454
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
442
455
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
443
456
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -450,6 +463,7 @@ module Aws::Detective
|
|
450
463
|
o.http_request_uri = "/graph/removal"
|
451
464
|
o.input = Shapes::ShapeRef.new(shape: DeleteGraphRequest)
|
452
465
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
453
467
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
454
468
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
455
469
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -461,6 +475,7 @@ module Aws::Detective
|
|
461
475
|
o.http_request_uri = "/graph/members/removal"
|
462
476
|
o.input = Shapes::ShapeRef.new(shape: DeleteMembersRequest)
|
463
477
|
o.output = Shapes::ShapeRef.new(shape: DeleteMembersResponse)
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
464
479
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
465
480
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
466
481
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -473,6 +488,7 @@ module Aws::Detective
|
|
473
488
|
o.http_request_uri = "/orgs/describeOrganizationConfiguration"
|
474
489
|
o.input = Shapes::ShapeRef.new(shape: DescribeOrganizationConfigurationRequest)
|
475
490
|
o.output = Shapes::ShapeRef.new(shape: DescribeOrganizationConfigurationResponse)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
476
492
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
477
493
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
478
494
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
@@ -484,6 +500,7 @@ module Aws::Detective
|
|
484
500
|
o.http_request_uri = "/orgs/disableAdminAccount"
|
485
501
|
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
486
502
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
487
504
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
488
505
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
489
506
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
@@ -495,6 +512,7 @@ module Aws::Detective
|
|
495
512
|
o.http_request_uri = "/membership/removal"
|
496
513
|
o.input = Shapes::ShapeRef.new(shape: DisassociateMembershipRequest)
|
497
514
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
498
516
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
499
517
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
500
518
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -507,6 +525,7 @@ module Aws::Detective
|
|
507
525
|
o.http_request_uri = "/orgs/enableAdminAccount"
|
508
526
|
o.input = Shapes::ShapeRef.new(shape: EnableOrganizationAdminAccountRequest)
|
509
527
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
510
529
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
511
530
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
512
531
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
@@ -518,6 +537,7 @@ module Aws::Detective
|
|
518
537
|
o.http_request_uri = "/graph/members/get"
|
519
538
|
o.input = Shapes::ShapeRef.new(shape: GetMembersRequest)
|
520
539
|
o.output = Shapes::ShapeRef.new(shape: GetMembersResponse)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
521
541
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
522
542
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
523
543
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -529,6 +549,7 @@ module Aws::Detective
|
|
529
549
|
o.http_request_uri = "/graph/datasources/list"
|
530
550
|
o.input = Shapes::ShapeRef.new(shape: ListDatasourcePackagesRequest)
|
531
551
|
o.output = Shapes::ShapeRef.new(shape: ListDatasourcePackagesResponse)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
532
553
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
533
554
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
534
555
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -546,6 +567,7 @@ module Aws::Detective
|
|
546
567
|
o.http_request_uri = "/graphs/list"
|
547
568
|
o.input = Shapes::ShapeRef.new(shape: ListGraphsRequest)
|
548
569
|
o.output = Shapes::ShapeRef.new(shape: ListGraphsResponse)
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
549
571
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
550
572
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
551
573
|
o[:pager] = Aws::Pager.new(
|
@@ -562,6 +584,7 @@ module Aws::Detective
|
|
562
584
|
o.http_request_uri = "/invitations/list"
|
563
585
|
o.input = Shapes::ShapeRef.new(shape: ListInvitationsRequest)
|
564
586
|
o.output = Shapes::ShapeRef.new(shape: ListInvitationsResponse)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
565
588
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
566
589
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
567
590
|
o[:pager] = Aws::Pager.new(
|
@@ -578,6 +601,7 @@ module Aws::Detective
|
|
578
601
|
o.http_request_uri = "/graph/members/list"
|
579
602
|
o.input = Shapes::ShapeRef.new(shape: ListMembersRequest)
|
580
603
|
o.output = Shapes::ShapeRef.new(shape: ListMembersResponse)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
581
605
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
582
606
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
583
607
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -595,6 +619,7 @@ module Aws::Detective
|
|
595
619
|
o.http_request_uri = "/orgs/adminAccountslist"
|
596
620
|
o.input = Shapes::ShapeRef.new(shape: ListOrganizationAdminAccountsRequest)
|
597
621
|
o.output = Shapes::ShapeRef.new(shape: ListOrganizationAdminAccountsResponse)
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
598
623
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
599
624
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
600
625
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
@@ -612,6 +637,7 @@ module Aws::Detective
|
|
612
637
|
o.http_request_uri = "/tags/{ResourceArn}"
|
613
638
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
614
639
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
615
641
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
616
642
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
617
643
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -623,6 +649,7 @@ module Aws::Detective
|
|
623
649
|
o.http_request_uri = "/invitation/removal"
|
624
650
|
o.input = Shapes::ShapeRef.new(shape: RejectInvitationRequest)
|
625
651
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
652
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
626
653
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
627
654
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
628
655
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -635,6 +662,7 @@ module Aws::Detective
|
|
635
662
|
o.http_request_uri = "/graph/member/monitoringstate"
|
636
663
|
o.input = Shapes::ShapeRef.new(shape: StartMonitoringMemberRequest)
|
637
664
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
638
666
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
639
667
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
640
668
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -648,6 +676,7 @@ module Aws::Detective
|
|
648
676
|
o.http_request_uri = "/tags/{ResourceArn}"
|
649
677
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
650
678
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
651
680
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
652
681
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
653
682
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -659,6 +688,7 @@ module Aws::Detective
|
|
659
688
|
o.http_request_uri = "/tags/{ResourceArn}"
|
660
689
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
661
690
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
662
692
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
663
693
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
664
694
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -670,6 +700,7 @@ module Aws::Detective
|
|
670
700
|
o.http_request_uri = "/graph/datasources/update"
|
671
701
|
o.input = Shapes::ShapeRef.new(shape: UpdateDatasourcePackagesRequest)
|
672
702
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
673
704
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
674
705
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
675
706
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
@@ -682,6 +713,7 @@ module Aws::Detective
|
|
682
713
|
o.http_request_uri = "/orgs/updateOrganizationConfiguration"
|
683
714
|
o.input = Shapes::ShapeRef.new(shape: UpdateOrganizationConfigurationRequest)
|
684
715
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
685
717
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
686
718
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
687
719
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
@@ -50,6 +50,9 @@ module Aws::Detective
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::Detective
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.detective-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.detective-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.detective.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.detective.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIs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ml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJz
|
102
|
-
Ijp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwi
|
103
|
-
ZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRp
|
104
|
-
b24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3Ii
|
105
|
-
fV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBz
|
106
|
-
Oi8vYXBpLmRldGVjdGl2ZS57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ru
|
107
|
-
c1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBl
|
108
|
-
IjoiZW5kcG9pbnQifV19XX0=
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
end
|
@@ -27,6 +27,7 @@ module Aws::Detective
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {AccessDeniedException}
|
30
31
|
# * {ConflictException}
|
31
32
|
# * {InternalServerException}
|
32
33
|
# * {ResourceNotFoundException}
|
@@ -40,6 +41,41 @@ module Aws::Detective
|
|
40
41
|
|
41
42
|
extend Aws::Errors::DynamicErrors
|
42
43
|
|
44
|
+
class AccessDeniedException < ServiceError
|
45
|
+
|
46
|
+
# @param [Seahorse::Client::RequestContext] context
|
47
|
+
# @param [String] message
|
48
|
+
# @param [Aws::Detective::Types::AccessDeniedException] data
|
49
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
50
|
+
super(context, message, data)
|
51
|
+
end
|
52
|
+
|
53
|
+
# @return [String]
|
54
|
+
def message
|
55
|
+
@message || @data[:message]
|
56
|
+
end
|
57
|
+
|
58
|
+
# @return [String]
|
59
|
+
def error_code
|
60
|
+
@data[:error_code]
|
61
|
+
end
|
62
|
+
|
63
|
+
# @return [String]
|
64
|
+
def error_code_reason
|
65
|
+
@data[:error_code_reason]
|
66
|
+
end
|
67
|
+
|
68
|
+
# @return [String]
|
69
|
+
def sub_error_code
|
70
|
+
@data[:sub_error_code]
|
71
|
+
end
|
72
|
+
|
73
|
+
# @return [String]
|
74
|
+
def sub_error_code_reason
|
75
|
+
@data[:sub_error_code_reason]
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
43
79
|
class ConflictException < ServiceError
|
44
80
|
|
45
81
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -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
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.32.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|