aws-sdk-detective 1.2.0 → 1.3.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
  SHA1:
3
- metadata.gz: ee1a7bbeffe3d431255df3cafeb44ea7ff68ed31
4
- data.tar.gz: 98ac8b58916926100aef86fefabdd532abe0453b
3
+ metadata.gz: ff8356ea5aef364ae355f722f6ce5fff85a183b7
4
+ data.tar.gz: d950366ee45879b264aa09f17beca99855077c10
5
5
  SHA512:
6
- metadata.gz: 4c8242aa3dd8947b3d5ae83c28ddfb672d2e073ec6cca68451a11bf289994b7d4891b999f528708bb2f8e22913f828be4fc789a0b7bf99b17d912dd401e171b2
7
- data.tar.gz: c31c7c2fe842050294bc74c112e5790f0d30a01ecda84fa650e23124203e8666a06288e4ec9de2884be766e1fbe58be3adcdff4845113da2be37f3fa9d4164a2
6
+ metadata.gz: 24e729b1c6554e2ddd3a3e57a5ee86656463dc91435ef49edd42dbbb8b4ebd9d14bece314944a2d6cd55e6ac762bb522ceaf3d8a4e027d2c524dac3710ba3534
7
+ data.tar.gz: b8d102075199688b53f097daa571075e0988fe4372d6d74f642d7f54424d2c1986a60a3a56451780711fc8f089ae341ebf1fda91a5708fa1fb97e1381f28ac75
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-detective/customizations'
45
45
  # @service
46
46
  module Aws::Detective
47
47
 
48
- GEM_VERSION = '1.2.0'
48
+ GEM_VERSION = '1.3.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:detective)
32
32
  module Aws::Detective
33
33
  # An API client for Detective. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::Detective::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::Detective::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::Detective
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -265,8 +269,7 @@ module Aws::Detective
265
269
  #
266
270
  # @option options [Integer] :http_read_timeout (60) The default
267
271
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
270
273
  #
271
274
  # @option options [Float] :http_idle_timeout (5) The number of
272
275
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +281,7 @@ module Aws::Detective
278
281
  # request body. This option has no effect unless the request has
279
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
283
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
282
285
  #
283
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
287
  # HTTP debug output will be sent to the `:logger`.
@@ -344,6 +347,13 @@ module Aws::Detective
344
347
  # account as the master account. This operation is called by the account
345
348
  # that is enabling Detective.
346
349
  #
350
+ # Before you try to enable Detective, make sure that your account has
351
+ # been enrolled in Amazon GuardDuty for at least 48 hours. If you do not
352
+ # meet this requirement, you cannot enable Detective. If you do meet the
353
+ # GuardDuty prerequisite, then when you make the request to enable
354
+ # Detective, it checks whether your data volume is within the Detective
355
+ # quota. If it exceeds the quota, then you cannot enable Detective.
356
+ #
347
357
  # The operation also enables Detective for the calling account in the
348
358
  # currently selected Region. It returns the ARN of the new behavior
349
359
  # graph.
@@ -434,9 +444,12 @@ module Aws::Detective
434
444
  # resp.members[0].email_address #=> String
435
445
  # resp.members[0].graph_arn #=> String
436
446
  # resp.members[0].master_id #=> String
437
- # resp.members[0].status #=> String, one of "INVITED", "VERIFICATION_IN_PROGRESS", "VERIFICATION_FAILED", "ENABLED"
447
+ # resp.members[0].status #=> String, one of "INVITED", "VERIFICATION_IN_PROGRESS", "VERIFICATION_FAILED", "ENABLED", "ACCEPTED_BUT_DISABLED"
448
+ # resp.members[0].disabled_reason #=> String, one of "VOLUME_TOO_HIGH", "VOLUME_UNKNOWN"
438
449
  # resp.members[0].invited_time #=> Time
439
450
  # resp.members[0].updated_time #=> Time
451
+ # resp.members[0].percent_of_graph_utilization #=> Float
452
+ # resp.members[0].percent_of_graph_utilization_updated_time #=> Time
440
453
  # resp.unprocessed_accounts #=> Array
441
454
  # resp.unprocessed_accounts[0].account_id #=> String
442
455
  # resp.unprocessed_accounts[0].reason #=> String
@@ -586,9 +599,12 @@ module Aws::Detective
586
599
  # resp.member_details[0].email_address #=> String
587
600
  # resp.member_details[0].graph_arn #=> String
588
601
  # resp.member_details[0].master_id #=> String
589
- # resp.member_details[0].status #=> String, one of "INVITED", "VERIFICATION_IN_PROGRESS", "VERIFICATION_FAILED", "ENABLED"
602
+ # resp.member_details[0].status #=> String, one of "INVITED", "VERIFICATION_IN_PROGRESS", "VERIFICATION_FAILED", "ENABLED", "ACCEPTED_BUT_DISABLED"
603
+ # resp.member_details[0].disabled_reason #=> String, one of "VOLUME_TOO_HIGH", "VOLUME_UNKNOWN"
590
604
  # resp.member_details[0].invited_time #=> Time
591
605
  # resp.member_details[0].updated_time #=> Time
606
+ # resp.member_details[0].percent_of_graph_utilization #=> Float
607
+ # resp.member_details[0].percent_of_graph_utilization_updated_time #=> Time
592
608
  # resp.unprocessed_accounts #=> Array
593
609
  # resp.unprocessed_accounts[0].account_id #=> String
594
610
  # resp.unprocessed_accounts[0].reason #=> String
@@ -625,6 +641,8 @@ module Aws::Detective
625
641
  # * {Types::ListGraphsResponse#graph_list #graph_list} => Array<Types::Graph>
626
642
  # * {Types::ListGraphsResponse#next_token #next_token} => String
627
643
  #
644
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
645
+ #
628
646
  # @example Request syntax with placeholder values
629
647
  #
630
648
  # resp = client.list_graphs({
@@ -677,6 +695,8 @@ module Aws::Detective
677
695
  # * {Types::ListInvitationsResponse#invitations #invitations} => Array<Types::MemberDetail>
678
696
  # * {Types::ListInvitationsResponse#next_token #next_token} => String
679
697
  #
698
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
699
+ #
680
700
  # @example Request syntax with placeholder values
681
701
  #
682
702
  # resp = client.list_invitations({
@@ -691,9 +711,12 @@ module Aws::Detective
691
711
  # resp.invitations[0].email_address #=> String
692
712
  # resp.invitations[0].graph_arn #=> String
693
713
  # resp.invitations[0].master_id #=> String
694
- # resp.invitations[0].status #=> String, one of "INVITED", "VERIFICATION_IN_PROGRESS", "VERIFICATION_FAILED", "ENABLED"
714
+ # resp.invitations[0].status #=> String, one of "INVITED", "VERIFICATION_IN_PROGRESS", "VERIFICATION_FAILED", "ENABLED", "ACCEPTED_BUT_DISABLED"
715
+ # resp.invitations[0].disabled_reason #=> String, one of "VOLUME_TOO_HIGH", "VOLUME_UNKNOWN"
695
716
  # resp.invitations[0].invited_time #=> Time
696
717
  # resp.invitations[0].updated_time #=> Time
718
+ # resp.invitations[0].percent_of_graph_utilization #=> Float
719
+ # resp.invitations[0].percent_of_graph_utilization_updated_time #=> Time
697
720
  # resp.next_token #=> String
698
721
  #
699
722
  # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListInvitations AWS API Documentation
@@ -729,6 +752,8 @@ module Aws::Detective
729
752
  # * {Types::ListMembersResponse#member_details #member_details} => Array<Types::MemberDetail>
730
753
  # * {Types::ListMembersResponse#next_token #next_token} => String
731
754
  #
755
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
756
+ #
732
757
  # @example Request syntax with placeholder values
733
758
  #
734
759
  # resp = client.list_members({
@@ -744,9 +769,12 @@ module Aws::Detective
744
769
  # resp.member_details[0].email_address #=> String
745
770
  # resp.member_details[0].graph_arn #=> String
746
771
  # resp.member_details[0].master_id #=> String
747
- # resp.member_details[0].status #=> String, one of "INVITED", "VERIFICATION_IN_PROGRESS", "VERIFICATION_FAILED", "ENABLED"
772
+ # resp.member_details[0].status #=> String, one of "INVITED", "VERIFICATION_IN_PROGRESS", "VERIFICATION_FAILED", "ENABLED", "ACCEPTED_BUT_DISABLED"
773
+ # resp.member_details[0].disabled_reason #=> String, one of "VOLUME_TOO_HIGH", "VOLUME_UNKNOWN"
748
774
  # resp.member_details[0].invited_time #=> Time
749
775
  # resp.member_details[0].updated_time #=> Time
776
+ # resp.member_details[0].percent_of_graph_utilization #=> Float
777
+ # resp.member_details[0].percent_of_graph_utilization_updated_time #=> Time
750
778
  # resp.next_token #=> String
751
779
  #
752
780
  # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListMembers AWS API Documentation
@@ -787,6 +815,44 @@ module Aws::Detective
787
815
  req.send_request(options)
788
816
  end
789
817
 
818
+ # Sends a request to enable data ingest for a member account that has a
819
+ # status of `ACCEPTED_BUT_DISABLED`.
820
+ #
821
+ # For valid member accounts, the status is updated as follows.
822
+ #
823
+ # * If Detective enabled the member account, then the new status is
824
+ # `ENABLED`.
825
+ #
826
+ # * If Detective cannot enable the member account, the status remains
827
+ # `ACCEPTED_BUT_DISABLED`.
828
+ #
829
+ # @option params [required, String] :graph_arn
830
+ # The ARN of the behavior graph.
831
+ #
832
+ # @option params [required, String] :account_id
833
+ # The account ID of the member account to try to enable.
834
+ #
835
+ # The account must be an invited member account with a status of
836
+ # `ACCEPTED_BUT_DISABLED`.
837
+ #
838
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
839
+ #
840
+ # @example Request syntax with placeholder values
841
+ #
842
+ # resp = client.start_monitoring_member({
843
+ # graph_arn: "GraphArn", # required
844
+ # account_id: "AccountId", # required
845
+ # })
846
+ #
847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/StartMonitoringMember AWS API Documentation
848
+ #
849
+ # @overload start_monitoring_member(params = {})
850
+ # @param [Hash] params ({})
851
+ def start_monitoring_member(params = {}, options = {})
852
+ req = build_request(:start_monitoring_member, params)
853
+ req.send_request(options)
854
+ end
855
+
790
856
  # @!endgroup
791
857
 
792
858
  # @param params ({})
@@ -800,7 +866,7 @@ module Aws::Detective
800
866
  params: params,
801
867
  config: config)
802
868
  context[:gem_name] = 'aws-sdk-detective'
803
- context[:gem_version] = '1.2.0'
869
+ context[:gem_version] = '1.3.0'
804
870
  Seahorse::Client::Request.new(handlers, context)
805
871
  end
806
872
 
@@ -41,12 +41,15 @@ module Aws::Detective
41
41
  ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
42
42
  MemberDetail = Shapes::StructureShape.new(name: 'MemberDetail')
43
43
  MemberDetailList = Shapes::ListShape.new(name: 'MemberDetailList')
44
+ MemberDisabledReason = Shapes::StringShape.new(name: 'MemberDisabledReason')
44
45
  MemberResultsLimit = Shapes::IntegerShape.new(name: 'MemberResultsLimit')
45
46
  MemberStatus = Shapes::StringShape.new(name: 'MemberStatus')
46
47
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
48
+ Percentage = Shapes::FloatShape.new(name: 'Percentage')
47
49
  RejectInvitationRequest = Shapes::StructureShape.new(name: 'RejectInvitationRequest')
48
50
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
49
51
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
52
+ StartMonitoringMemberRequest = Shapes::StructureShape.new(name: 'StartMonitoringMemberRequest')
50
53
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
51
54
  UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
52
55
  UnprocessedAccountList = Shapes::ListShape.new(name: 'UnprocessedAccountList')
@@ -140,8 +143,11 @@ module Aws::Detective
140
143
  MemberDetail.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, location_name: "GraphArn"))
141
144
  MemberDetail.add_member(:master_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "MasterId"))
142
145
  MemberDetail.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
146
+ MemberDetail.add_member(:disabled_reason, Shapes::ShapeRef.new(shape: MemberDisabledReason, location_name: "DisabledReason"))
143
147
  MemberDetail.add_member(:invited_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InvitedTime"))
144
148
  MemberDetail.add_member(:updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedTime"))
149
+ MemberDetail.add_member(:percent_of_graph_utilization, Shapes::ShapeRef.new(shape: Percentage, location_name: "PercentOfGraphUtilization"))
150
+ MemberDetail.add_member(:percent_of_graph_utilization_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "PercentOfGraphUtilizationUpdatedTime"))
145
151
  MemberDetail.struct_class = Types::MemberDetail
146
152
 
147
153
  MemberDetailList.member = Shapes::ShapeRef.new(shape: MemberDetail)
@@ -155,6 +161,10 @@ module Aws::Detective
155
161
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
156
162
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
157
163
 
164
+ StartMonitoringMemberRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
165
+ StartMonitoringMemberRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
166
+ StartMonitoringMemberRequest.struct_class = Types::StartMonitoringMemberRequest
167
+
158
168
  UnprocessedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
159
169
  UnprocessedAccount.add_member(:reason, Shapes::ShapeRef.new(shape: UnprocessedReason, location_name: "Reason"))
160
170
  UnprocessedAccount.struct_class = Types::UnprocessedAccount
@@ -202,6 +212,7 @@ module Aws::Detective
202
212
  o.output = Shapes::ShapeRef.new(shape: CreateGraphResponse)
203
213
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
204
214
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
215
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
205
216
  end)
206
217
 
207
218
  api.add_operation(:create_members, Seahorse::Model::Operation.new.tap do |o|
@@ -322,6 +333,19 @@ module Aws::Detective
322
333
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
323
334
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
324
335
  end)
336
+
337
+ api.add_operation(:start_monitoring_member, Seahorse::Model::Operation.new.tap do |o|
338
+ o.name = "StartMonitoringMember"
339
+ o.http_method = "POST"
340
+ o.http_request_uri = "/graph/member/monitoringstate"
341
+ o.input = Shapes::ShapeRef.new(shape: StartMonitoringMemberRequest)
342
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
343
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
344
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
345
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
346
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
347
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
348
+ end)
325
349
  end
326
350
 
327
351
  end
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Detective
9
- # This class provides a resource oriented interface for Detective.
10
- # To create a resource object:
11
- # resource = Aws::Detective::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::Detective::Client.new(region: 'us-west-2')
15
- # resource = Aws::Detective::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -502,10 +502,29 @@ module Aws::Detective
502
502
  # * `ENABLED` - Indicates that the member account accepted the
503
503
  # invitation to contribute to the behavior graph.
504
504
  #
505
+ # * `ACCEPTED_BUT_DISABLED` - Indicates that the member account
506
+ # accepted the invitation, but is blocked from contributing data to
507
+ # the behavior graph. `DisabledReason` provides the reason why the
508
+ # member account is blocked.
509
+ #
505
510
  # Member accounts that declined an invitation or that were removed
506
511
  # from the behavior graph are not included.
507
512
  # @return [String]
508
513
  #
514
+ # @!attribute [rw] disabled_reason
515
+ # For member accounts with a status of `ACCEPTED_BUT_DISABLED`, the
516
+ # reason that the member account is blocked.
517
+ #
518
+ # The reason can have one of the following values:
519
+ #
520
+ # * `VOLUME_TOO_HIGH` - Indicates that adding the member account would
521
+ # cause the data rate for the behavior graph to be too high.
522
+ #
523
+ # * `VOLUME_UNKNOWN` - Indicates that Detective is unable to verify
524
+ # the data rate for the member account. This is usually because the
525
+ # member account is not enrolled in Amazon GuardDuty.
526
+ # @return [String]
527
+ #
509
528
  # @!attribute [rw] invited_time
510
529
  # The date and time that Detective sent the invitation to the member
511
530
  # account. The value is in milliseconds since the epoch.
@@ -516,6 +535,26 @@ module Aws::Detective
516
535
  # value is in milliseconds since the epoch.
517
536
  # @return [Time]
518
537
  #
538
+ # @!attribute [rw] percent_of_graph_utilization
539
+ # The member account data volume as a percentage of the maximum
540
+ # allowed data volume. 0 indicates 0 percent, and 100 indicates 100
541
+ # percent.
542
+ #
543
+ # Note that this is not the percentage of the behavior graph data
544
+ # volume.
545
+ #
546
+ # For example, the data volume for the behavior graph is 80 GB per
547
+ # day. The maximum data volume is 160 GB per day. If the data volume
548
+ # for the member account is 40 GB per day, then
549
+ # `PercentOfGraphUtilization` is 25. It represents 25% of the maximum
550
+ # allowed data volume.
551
+ # @return [Float]
552
+ #
553
+ # @!attribute [rw] percent_of_graph_utilization_updated_time
554
+ # The date and time when the graph utilization percentage was last
555
+ # updated.
556
+ # @return [Time]
557
+ #
519
558
  # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/MemberDetail AWS API Documentation
520
559
  #
521
560
  class MemberDetail < Struct.new(
@@ -524,8 +563,11 @@ module Aws::Detective
524
563
  :graph_arn,
525
564
  :master_id,
526
565
  :status,
566
+ :disabled_reason,
527
567
  :invited_time,
528
- :updated_time)
568
+ :updated_time,
569
+ :percent_of_graph_utilization,
570
+ :percent_of_graph_utilization_updated_time)
529
571
  include Aws::Structure
530
572
  end
531
573
 
@@ -562,9 +604,18 @@ module Aws::Detective
562
604
  include Aws::Structure
563
605
  end
564
606
 
565
- # This request would cause the number of member accounts in the behavior
566
- # graph to exceed the maximum allowed. A behavior graph cannot have more
567
- # than 1000 member accounts.
607
+ # This request cannot be completed for one of the following reasons.
608
+ #
609
+ # * The request would cause the number of member accounts in the
610
+ # behavior graph to exceed the maximum allowed. A behavior graph
611
+ # cannot have more than 1000 member accounts.
612
+ #
613
+ # * The request would cause the data rate for the behavior graph to
614
+ # exceed the maximum allowed.
615
+ #
616
+ # * Detective is unable to verify the data rate for the member account.
617
+ # This is usually because the member account is not enrolled in Amazon
618
+ # GuardDuty.
568
619
  #
569
620
  # @!attribute [rw] message
570
621
  # @return [String]
@@ -576,6 +627,33 @@ module Aws::Detective
576
627
  include Aws::Structure
577
628
  end
578
629
 
630
+ # @note When making an API call, you may pass StartMonitoringMemberRequest
631
+ # data as a hash:
632
+ #
633
+ # {
634
+ # graph_arn: "GraphArn", # required
635
+ # account_id: "AccountId", # required
636
+ # }
637
+ #
638
+ # @!attribute [rw] graph_arn
639
+ # The ARN of the behavior graph.
640
+ # @return [String]
641
+ #
642
+ # @!attribute [rw] account_id
643
+ # The account ID of the member account to try to enable.
644
+ #
645
+ # The account must be an invited member account with a status of
646
+ # `ACCEPTED_BUT_DISABLED`.
647
+ # @return [String]
648
+ #
649
+ # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/StartMonitoringMemberRequest AWS API Documentation
650
+ #
651
+ class StartMonitoringMemberRequest < Struct.new(
652
+ :graph_arn,
653
+ :account_id)
654
+ include Aws::Structure
655
+ end
656
+
579
657
  # Amazon Detective is currently in preview.
580
658
  #
581
659
  # A member account that was included in a request but for which the
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.2.0
4
+ version: 1.3.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: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core