You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::RAM::Types::AssociateResourceShareRequest

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 AssociateResourceShareRequest data as a hash:

{
  resource_share_arn: "String", # required
  resource_arns: ["String"],
  principals: ["String"],
  client_token: "String",
}

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)


82
83
84
85
86
87
88
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 82

class AssociateResourceShareRequest < Struct.new(
  :resource_share_arn,
  :resource_arns,
  :principals,
  :client_token)
  include Aws::Structure
end

#principalsArray<String>

The principals.

Returns:

  • (Array<String>)


82
83
84
85
86
87
88
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 82

class AssociateResourceShareRequest < Struct.new(
  :resource_share_arn,
  :resource_arns,
  :principals,
  :client_token)
  include Aws::Structure
end

#resource_arnsArray<String>

The Amazon Resource Names (ARN) of the resources.

Returns:

  • (Array<String>)


82
83
84
85
86
87
88
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 82

class AssociateResourceShareRequest < Struct.new(
  :resource_share_arn,
  :resource_arns,
  :principals,
  :client_token)
  include Aws::Structure
end

#resource_share_arnString

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

Returns:

  • (String)


82
83
84
85
86
87
88
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 82

class AssociateResourceShareRequest < Struct.new(
  :resource_share_arn,
  :resource_arns,
  :principals,
  :client_token)
  include Aws::Structure
end