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 |
Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Synopsis
- data DescribeConnectionAliases = DescribeConnectionAliases' {}
- newDescribeConnectionAliases :: DescribeConnectionAliases
- describeConnectionAliases_resourceId :: Lens' DescribeConnectionAliases (Maybe Text)
- describeConnectionAliases_aliasIds :: Lens' DescribeConnectionAliases (Maybe (NonEmpty Text))
- describeConnectionAliases_nextToken :: Lens' DescribeConnectionAliases (Maybe Text)
- describeConnectionAliases_limit :: Lens' DescribeConnectionAliases (Maybe Natural)
- data DescribeConnectionAliasesResponse = DescribeConnectionAliasesResponse' {}
- newDescribeConnectionAliasesResponse :: Int -> DescribeConnectionAliasesResponse
- describeConnectionAliasesResponse_connectionAliases :: Lens' DescribeConnectionAliasesResponse (Maybe (NonEmpty ConnectionAlias))
- describeConnectionAliasesResponse_nextToken :: Lens' DescribeConnectionAliasesResponse (Maybe Text)
- describeConnectionAliasesResponse_httpStatus :: Lens' DescribeConnectionAliasesResponse Int
Creating a Request
data DescribeConnectionAliases Source #
See: newDescribeConnectionAliases
smart constructor.
DescribeConnectionAliases' | |
|
Instances
newDescribeConnectionAliases :: DescribeConnectionAliases Source #
Create a value of DescribeConnectionAliases
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:resourceId:DescribeConnectionAliases'
, describeConnectionAliases_resourceId
- The identifier of the directory associated with the connection alias.
$sel:aliasIds:DescribeConnectionAliases'
, describeConnectionAliases_aliasIds
- The identifiers of the connection aliases to describe.
$sel:nextToken:DescribeConnectionAliases'
, describeConnectionAliases_nextToken
- If you received a NextToken
from a previous call that was paginated,
provide this token to receive the next set of results.
$sel:limit:DescribeConnectionAliases'
, describeConnectionAliases_limit
- The maximum number of connection aliases to return.
Request Lenses
describeConnectionAliases_resourceId :: Lens' DescribeConnectionAliases (Maybe Text) Source #
The identifier of the directory associated with the connection alias.
describeConnectionAliases_aliasIds :: Lens' DescribeConnectionAliases (Maybe (NonEmpty Text)) Source #
The identifiers of the connection aliases to describe.
describeConnectionAliases_nextToken :: Lens' DescribeConnectionAliases (Maybe Text) Source #
If you received a NextToken
from a previous call that was paginated,
provide this token to receive the next set of results.
describeConnectionAliases_limit :: Lens' DescribeConnectionAliases (Maybe Natural) Source #
The maximum number of connection aliases to return.
Destructuring the Response
data DescribeConnectionAliasesResponse Source #
See: newDescribeConnectionAliasesResponse
smart constructor.
DescribeConnectionAliasesResponse' | |
|
Instances
newDescribeConnectionAliasesResponse Source #
Create a value of DescribeConnectionAliasesResponse
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:connectionAliases:DescribeConnectionAliasesResponse'
, describeConnectionAliasesResponse_connectionAliases
- Information about the specified connection aliases.
$sel:nextToken:DescribeConnectionAliases'
, describeConnectionAliasesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:httpStatus:DescribeConnectionAliasesResponse'
, describeConnectionAliasesResponse_httpStatus
- The response's http status code.
Response Lenses
describeConnectionAliasesResponse_connectionAliases :: Lens' DescribeConnectionAliasesResponse (Maybe (NonEmpty ConnectionAlias)) Source #
Information about the specified connection aliases.
describeConnectionAliasesResponse_nextToken :: Lens' DescribeConnectionAliasesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
describeConnectionAliasesResponse_httpStatus :: Lens' DescribeConnectionAliasesResponse Int Source #
The response's http status code.