Class: Aws::DirectoryService::Types::CreateAliasRequest

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

Overview

Note:

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

{
  directory_id: "DirectoryId", # required
  alias: "AliasName", # required
}

Contains the inputs for the CreateAlias operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aliasString

The requested alias.

The alias must be unique amongst all aliases in Amazon Web Services. This operation throws an EntityAlreadyExistsException error if the alias already exists.

Returns:

  • (String)


724
725
726
727
728
729
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 724

class CreateAliasRequest < Struct.new(
  :directory_id,
  :alias)
  SENSITIVE = []
  include Aws::Structure
end

#directory_idString

The identifier of the directory for which to create the alias.

Returns:

  • (String)


724
725
726
727
728
729
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 724

class CreateAliasRequest < Struct.new(
  :directory_id,
  :alias)
  SENSITIVE = []
  include Aws::Structure
end