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

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

Overview

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)


630
631
632
633
634
635
# File 'lib/aws-sdk-directoryservice/types.rb', line 630

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)


630
631
632
633
634
635
# File 'lib/aws-sdk-directoryservice/types.rb', line 630

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