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

Class: Aws::WorkMail::Types::CreateResourceRequest

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

Overview

Note:

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

{
  organization_id: "OrganizationId", # required
  name: "ResourceName", # required
  type: "ROOM", # required, accepts ROOM, EQUIPMENT
}

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the created resource.

Returns:

  • (String)


208
209
210
211
212
213
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 208

class CreateResourceRequest < Struct.new(
  :organization_id,
  :name,
  :type)
  include Aws::Structure
end

#organization_idString

The identifier associated with the organization for which the resource is created.

Returns:

  • (String)


208
209
210
211
212
213
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 208

class CreateResourceRequest < Struct.new(
  :organization_id,
  :name,
  :type)
  include Aws::Structure
end

#typeString

The type of the created resource.

Returns:

  • (String)


208
209
210
211
212
213
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 208

class CreateResourceRequest < Struct.new(
  :organization_id,
  :name,
  :type)
  include Aws::Structure
end