| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GameLift.DescribeAlias
Description
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
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 #
See: newDescribeAlias smart constructor.
Constructors
| DescribeAlias' | |
Instances
Arguments
| :: Text | |
| -> DescribeAlias |
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:
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 #
See: newDescribeAliasResponse smart constructor.
Constructors
| DescribeAliasResponse' | |
Fields
| |
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.