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",
  permission_version: 1,
}

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)


96
97
98
99
100
101
102
103
104
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 96

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

#permission_arnString

The Amazon Resource Name (ARN) of the RAM permission to associate with the resource share.

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 96

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

#permission_versionInteger

The version of the RAM permissions to associate with the resource share.

Returns:

  • (Integer)


96
97
98
99
100
101
102
103
104
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 96

class AssociateResourceSharePermissionRequest < Struct.new(
  :resource_share_arn,
  :permission_arn,
  :replace,
  :client_token,
  :permission_version)
  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)


96
97
98
99
100
101
102
103
104
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 96

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

#resource_share_arnString

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

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 96

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