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 properties for an alias. This operation returns all alias
metadata and settings. To get an alias's target fleet ID only, use
ResolveAlias
.
To get alias properties, specify the alias ID. If successful, the requested alias record is returned.
Related actions
CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task
Synopsis
- data DescribeAlias = DescribeAlias' {}
- newDescribeAlias :: Text -> DescribeAlias
- describeAlias_aliasId :: Lens' DescribeAlias Text
- data DescribeAliasResponse = DescribeAliasResponse' {
- alias :: Maybe Alias
- httpStatus :: Int
- newDescribeAliasResponse :: Int -> DescribeAliasResponse
- describeAliasResponse_alias :: Lens' DescribeAliasResponse (Maybe Alias)
- describeAliasResponse_httpStatus :: Lens' DescribeAliasResponse Int
Creating a Request
data DescribeAlias Source #
Represents the input for a request operation.
See: newDescribeAlias
smart constructor.
Instances
Create a value of DescribeAlias
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:DescribeAlias'
, describeAlias_aliasId
- The unique identifier for the fleet alias that you want to retrieve. You
can use either the alias ID or ARN value.
Request Lenses
describeAlias_aliasId :: Lens' DescribeAlias Text Source #
The unique identifier for the fleet alias that you want to retrieve. You can use either the alias ID or ARN value.
Destructuring the Response
data DescribeAliasResponse Source #
Represents the returned data in response to a request operation.
See: newDescribeAliasResponse
smart constructor.
DescribeAliasResponse' | |
|
Instances
newDescribeAliasResponse Source #
Create a value of DescribeAliasResponse
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:alias:DescribeAliasResponse'
, describeAliasResponse_alias
- The requested alias resource.
$sel:httpStatus:DescribeAliasResponse'
, describeAliasResponse_httpStatus
- The response's http status code.
Response Lenses
describeAliasResponse_alias :: Lens' DescribeAliasResponse (Maybe Alias) Source #
The requested alias resource.
describeAliasResponse_httpStatus :: Lens' DescribeAliasResponse Int Source #
The response's http status code.