libZSservicesZSamazonka-workspacesZSamazonka-workspaces
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkSpaces.CreateConnectionAlias

Description

Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Synopsis

Creating a Request

data CreateConnectionAlias Source #

See: newCreateConnectionAlias smart constructor.

Constructors

CreateConnectionAlias' 

Fields

  • tags :: Maybe [Tag]

    The tags to associate with the connection alias.

  • connectionString :: Text

    A connection string in the form of a fully qualified domain name (FQDN), such as www.example.com.

    After you create a connection string, it is always associated to your Amazon Web Services account. You cannot recreate the same connection string with a different account, even if you delete all instances of it from the original account. The connection string is globally reserved for your account.

Instances

Instances details
Eq CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Read CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Show CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Generic CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Associated Types

type Rep CreateConnectionAlias :: Type -> Type #

NFData CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Methods

rnf :: CreateConnectionAlias -> () #

Hashable CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

ToJSON CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

AWSRequest CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Associated Types

type AWSResponse CreateConnectionAlias #

ToHeaders CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

ToPath CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

ToQuery CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

type Rep CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

type Rep CreateConnectionAlias = D1 ('MetaData "CreateConnectionAlias" "Amazonka.WorkSpaces.CreateConnectionAlias" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "CreateConnectionAlias'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "connectionString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

newCreateConnectionAlias Source #

Create a value of CreateConnectionAlias with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tags:CreateConnectionAlias', createConnectionAlias_tags - The tags to associate with the connection alias.

$sel:connectionString:CreateConnectionAlias', createConnectionAlias_connectionString - A connection string in the form of a fully qualified domain name (FQDN), such as www.example.com.

After you create a connection string, it is always associated to your Amazon Web Services account. You cannot recreate the same connection string with a different account, even if you delete all instances of it from the original account. The connection string is globally reserved for your account.

Request Lenses

createConnectionAlias_tags :: Lens' CreateConnectionAlias (Maybe [Tag]) Source #

The tags to associate with the connection alias.

createConnectionAlias_connectionString :: Lens' CreateConnectionAlias Text Source #

A connection string in the form of a fully qualified domain name (FQDN), such as www.example.com.

After you create a connection string, it is always associated to your Amazon Web Services account. You cannot recreate the same connection string with a different account, even if you delete all instances of it from the original account. The connection string is globally reserved for your account.

Destructuring the Response

data CreateConnectionAliasResponse Source #

See: newCreateConnectionAliasResponse smart constructor.

Constructors

CreateConnectionAliasResponse' 

Fields

Instances

Instances details
Eq CreateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Read CreateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Show CreateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Generic CreateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

Associated Types

type Rep CreateConnectionAliasResponse :: Type -> Type #

NFData CreateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

type Rep CreateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.CreateConnectionAlias

type Rep CreateConnectionAliasResponse = D1 ('MetaData "CreateConnectionAliasResponse" "Amazonka.WorkSpaces.CreateConnectionAlias" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "CreateConnectionAliasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "aliasId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateConnectionAliasResponse Source #

Create a value of CreateConnectionAliasResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:aliasId:CreateConnectionAliasResponse', createConnectionAliasResponse_aliasId - The identifier of the connection alias.

$sel:httpStatus:CreateConnectionAliasResponse', createConnectionAliasResponse_httpStatus - The response's http status code.

Response Lenses