Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Synopsis
- data CreateConnectionAlias = CreateConnectionAlias' {
- tags :: Maybe [Tag]
- connectionString :: Text
- newCreateConnectionAlias :: Text -> CreateConnectionAlias
- createConnectionAlias_tags :: Lens' CreateConnectionAlias (Maybe [Tag])
- createConnectionAlias_connectionString :: Lens' CreateConnectionAlias Text
- data CreateConnectionAliasResponse = CreateConnectionAliasResponse' {
- aliasId :: Maybe Text
- httpStatus :: Int
- newCreateConnectionAliasResponse :: Int -> CreateConnectionAliasResponse
- createConnectionAliasResponse_aliasId :: Lens' CreateConnectionAliasResponse (Maybe Text)
- createConnectionAliasResponse_httpStatus :: Lens' CreateConnectionAliasResponse Int
Creating a Request
data CreateConnectionAlias Source #
See: newCreateConnectionAlias
smart constructor.
CreateConnectionAlias' | |
|
Instances
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.
CreateConnectionAliasResponse' | |
|
Instances
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
createConnectionAliasResponse_aliasId :: Lens' CreateConnectionAliasResponse (Maybe Text) Source #
The identifier of the connection alias.
createConnectionAliasResponse_httpStatus :: Lens' CreateConnectionAliasResponse Int Source #
The response's http status code.