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.Types.ConnectionAliasPermission

Description

 
Synopsis

Documentation

data ConnectionAliasPermission Source #

Describes the permissions for a connection alias. Connection aliases are used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

See: newConnectionAliasPermission smart constructor.

Constructors

ConnectionAliasPermission' 

Fields

  • sharedAccountId :: Text

    The identifier of the Amazon Web Services account that the connection alias is shared with.

  • allowAssociation :: Bool

    Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.

Instances

Instances details
Eq ConnectionAliasPermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ConnectionAliasPermission

Read ConnectionAliasPermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ConnectionAliasPermission

Show ConnectionAliasPermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ConnectionAliasPermission

Generic ConnectionAliasPermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ConnectionAliasPermission

Associated Types

type Rep ConnectionAliasPermission :: Type -> Type #

NFData ConnectionAliasPermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ConnectionAliasPermission

Hashable ConnectionAliasPermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ConnectionAliasPermission

ToJSON ConnectionAliasPermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ConnectionAliasPermission

FromJSON ConnectionAliasPermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ConnectionAliasPermission

type Rep ConnectionAliasPermission Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.ConnectionAliasPermission

type Rep ConnectionAliasPermission = D1 ('MetaData "ConnectionAliasPermission" "Amazonka.WorkSpaces.Types.ConnectionAliasPermission" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "ConnectionAliasPermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sharedAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "allowAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newConnectionAliasPermission Source #

Create a value of ConnectionAliasPermission 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:sharedAccountId:ConnectionAliasPermission', connectionAliasPermission_sharedAccountId - The identifier of the Amazon Web Services account that the connection alias is shared with.

$sel:allowAssociation:ConnectionAliasPermission', connectionAliasPermission_allowAssociation - Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.

connectionAliasPermission_sharedAccountId :: Lens' ConnectionAliasPermission Text Source #

The identifier of the Amazon Web Services account that the connection alias is shared with.

connectionAliasPermission_allowAssociation :: Lens' ConnectionAliasPermission Bool Source #

Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.