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.AssociateConnectionAlias

Description

Associates the specified connection alias with the specified directory to enable cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

Synopsis

Creating a Request

data AssociateConnectionAlias Source #

See: newAssociateConnectionAlias smart constructor.

Constructors

AssociateConnectionAlias' 

Fields

  • aliasId :: Text

    The identifier of the connection alias.

  • resourceId :: Text

    The identifier of the directory to associate the connection alias with.

Instances

Instances details
Eq AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

Read AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

Show AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

Generic AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

Associated Types

type Rep AssociateConnectionAlias :: Type -> Type #

NFData AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

Hashable AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

ToJSON AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

AWSRequest AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

ToHeaders AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

ToPath AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

ToQuery AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

type Rep AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

type Rep AssociateConnectionAlias = D1 ('MetaData "AssociateConnectionAlias" "Amazonka.WorkSpaces.AssociateConnectionAlias" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "AssociateConnectionAlias'" 'PrefixI 'True) (S1 ('MetaSel ('Just "aliasId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssociateConnectionAlias Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

newAssociateConnectionAlias Source #

Create a value of AssociateConnectionAlias 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:AssociateConnectionAlias', associateConnectionAlias_aliasId - The identifier of the connection alias.

$sel:resourceId:AssociateConnectionAlias', associateConnectionAlias_resourceId - The identifier of the directory to associate the connection alias with.

Request Lenses

associateConnectionAlias_resourceId :: Lens' AssociateConnectionAlias Text Source #

The identifier of the directory to associate the connection alias with.

Destructuring the Response

data AssociateConnectionAliasResponse Source #

See: newAssociateConnectionAliasResponse smart constructor.

Constructors

AssociateConnectionAliasResponse' 

Fields

  • connectionIdentifier :: Maybe Text

    The identifier of the connection alias association. You use the connection identifier in the DNS TXT record when you're configuring your DNS routing policies.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq AssociateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

Read AssociateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

Show AssociateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

Generic AssociateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

Associated Types

type Rep AssociateConnectionAliasResponse :: Type -> Type #

NFData AssociateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

type Rep AssociateConnectionAliasResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.AssociateConnectionAlias

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

newAssociateConnectionAliasResponse Source #

Create a value of AssociateConnectionAliasResponse 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:connectionIdentifier:AssociateConnectionAliasResponse', associateConnectionAliasResponse_connectionIdentifier - The identifier of the connection alias association. You use the connection identifier in the DNS TXT record when you're configuring your DNS routing policies.

$sel:httpStatus:AssociateConnectionAliasResponse', associateConnectionAliasResponse_httpStatus - The response's http status code.

Response Lenses

associateConnectionAliasResponse_connectionIdentifier :: Lens' AssociateConnectionAliasResponse (Maybe Text) Source #

The identifier of the connection alias association. You use the connection identifier in the DNS TXT record when you're configuring your DNS routing policies.