Class: Aws::Macie2::Types::AcceptInvitationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb

Overview

Note:

When making an API call, you may pass AcceptInvitationRequest data as a hash:

{
  administrator_account_id: "__string",
  invitation_id: "__string", # required
  master_account: "__string",
}

Specifies an Amazon Macie membership invitation to accept. In the request, you have to specify the ID for the Amazon Web Services account that sent the invitation. Otherwise, a validation error occurs. To specify this ID, we recommend that you use the administratorAccountId property instead of the masterAccount property. The masterAccount property has been deprecated and is retained only for backward compatibility.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#administrator_account_idString

Returns:

  • (String)


41
42
43
44
45
46
47
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 41

class AcceptInvitationRequest < Struct.new(
  :administrator_account_id,
  :invitation_id,
  :master_account)
  SENSITIVE = []
  include Aws::Structure
end

#invitation_idString

Returns:

  • (String)


41
42
43
44
45
46
47
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 41

class AcceptInvitationRequest < Struct.new(
  :administrator_account_id,
  :invitation_id,
  :master_account)
  SENSITIVE = []
  include Aws::Structure
end

#master_accountString

Returns:

  • (String)


41
42
43
44
45
46
47
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 41

class AcceptInvitationRequest < Struct.new(
  :administrator_account_id,
  :invitation_id,
  :master_account)
  SENSITIVE = []
  include Aws::Structure
end