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

Class: Aws::CloudDirectory::Types::CreateDirectoryRequest

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

Overview

Note:

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

{
  name: "DirectoryName", # required
  schema_arn: "Arn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the Directory. Should be unique per account, per region.

Returns:

  • (String)


3150
3151
3152
3153
3154
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 3150

class CreateDirectoryRequest < Struct.new(
  :name,
  :schema_arn)
  include Aws::Structure
end

#schema_arnString

The Amazon Resource Name (ARN) of the published schema that will be copied into the data Directory. For more information, see arns.

Returns:

  • (String)


3150
3151
3152
3153
3154
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 3150

class CreateDirectoryRequest < Struct.new(
  :name,
  :schema_arn)
  include Aws::Structure
end