Class: Aws::RAM::Types::AssociateResourceSharePermissionRequest

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

Overview

Note:

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

{
  resource_share_arn: "String", # required
  permission_arn: "String", # required
  replace: false,
  client_token: "String",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Returns:

  • (String)


90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 90

class AssociateResourceSharePermissionRequest < Struct.new(
  :resource_share_arn,
  :permission_arn,
  :replace,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#permission_arnString

The ARN of the AWS RAM permission to associate with the resource share.

Returns:

  • (String)


90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 90

class AssociateResourceSharePermissionRequest < Struct.new(
  :resource_share_arn,
  :permission_arn,
  :replace,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#replaceBoolean

Indicates whether the permission should replace the permissions that are currently associated with the resource share. Use true to replace the current permissions. Use false to add the permission to the current permission.

Returns:

  • (Boolean)


90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 90

class AssociateResourceSharePermissionRequest < Struct.new(
  :resource_share_arn,
  :permission_arn,
  :replace,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#resource_share_arnString

The Amazon Resource Name (ARN) of the resource share.

Returns:

  • (String)


90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 90

class AssociateResourceSharePermissionRequest < Struct.new(
  :resource_share_arn,
  :permission_arn,
  :replace,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end