aws-sdk-detective 1.30.0 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2af17315223f389a14e0f955b018adb62b1657519eaa04ed68f1e3ca06a7588
4
- data.tar.gz: 31dfbf5787efcc537e1c43a358c304baf615a6489646482179da03bfa93ef31b
3
+ metadata.gz: 3e18fb1a46061ac423029e31499dc1647237181a2687a3b4dea07ab2bbee3c73
4
+ data.tar.gz: eb081da2ef55534fdadaa69de213d0643d7b0ff85e5de6b24a0d37347cd65a76
5
5
  SHA512:
6
- metadata.gz: '029701d37f238caa2cf1abad61a71b9730a531a0d1624a2add2e50ecf5aab1a13211a4e5f63aa036e2e361e4457f774e5d692a073e93c17fcf2c18434b56ae08'
7
- data.tar.gz: 288850301ed8295d9a1e32d55251e2cd98cf87b454dfc67716f3cc5d467d130fbb92d7dd6508aab010956a4820d673a1fcfef606662e96defb7b629d5c2df472
6
+ metadata.gz: 49bcda6dfae10790a71736269057d99066d7191532dd25bda8af0d8710b0cf5cdd21c676ec6e632f15bc6ee2e04d36c4d2c66de01e4b96e267d4fe9f005a0b8e
7
+ data.tar.gz: 9ba02c7d978fa6d9a3d83f3454a1729546d9f48195c1747fc2edd20a2dc2b25608334a09176df28f3f24f03311d3b515376e034e2c113286bec6a5511ce5db53
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2022-12-23)
5
+ ------------------
6
+
7
+ * Feature - This release adds a missed AccessDeniedException type to several endpoints.
8
+
4
9
  1.30.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.31.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.30.0'
1421
+ context[:gem_version] = '1.31.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?
@@ -29,83 +29,81 @@ module Aws::Detective
29
29
  # @api private
30
30
  RULES = <<-JSON
31
31
  eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQ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cHBvcnQgRklQUyIsInR5cGUi
92
+ OiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVh
93
+ bHMiLCJhcmd2IjpbeyJyZWYiOiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJ0
94
+ eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJv
95
+ b2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFy
96
+ Z3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxT
97
+ dGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9u
98
+ cyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYXBpLmRldGVjdGl2
99
+ ZS57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1ZmZp
100
+ eH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5k
101
+ cG9pbnQifV19LHsiY29uZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNr
102
+ IGlzIGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBv
103
+ cnQgRHVhbFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMi
104
+ OltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2FwaS5kZXRlY3RpdmUu
105
+ e1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVy
106
+ dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
109
107
 
110
108
  JSON
111
109
  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
- # An Amazon Web Services account that is the administrator account of or
36
- # a member of a behavior graph.
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
- # @note When making an API call, you may pass Account
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
- # account_id: "AccountId", # required
43
- # email_address: "EmailAddress", # required
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]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-detective/customizations'
52
52
  # @!group service
53
53
  module Aws::Detective
54
54
 
55
- GEM_VERSION = '1.30.0'
55
+ GEM_VERSION = '1.31.0'
56
56
 
57
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.30.0
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-10-25 00:00:00.000000000 Z
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