| 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 |
Amazonka.GameLift.ResolveAlias
Description
Retrieves the fleet ID that an alias is currently pointing to.
Related actions
CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task
Synopsis
- data ResolveAlias = ResolveAlias' {}
- newResolveAlias :: Text -> ResolveAlias
- resolveAlias_aliasId :: Lens' ResolveAlias Text
- data ResolveAliasResponse = ResolveAliasResponse' {}
- newResolveAliasResponse :: Int -> ResolveAliasResponse
- resolveAliasResponse_fleetArn :: Lens' ResolveAliasResponse (Maybe Text)
- resolveAliasResponse_fleetId :: Lens' ResolveAliasResponse (Maybe Text)
- resolveAliasResponse_httpStatus :: Lens' ResolveAliasResponse Int
Creating a Request
data ResolveAlias Source #
Represents the input for a request operation.
See: newResolveAlias smart constructor.
Constructors
| ResolveAlias' | |
Instances
Arguments
| :: Text | |
| -> ResolveAlias |
Create a value of ResolveAlias 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:ResolveAlias', resolveAlias_aliasId - The unique identifier of the alias that you want to retrieve a fleet ID
for. You can use either the alias ID or ARN value.
Request Lenses
resolveAlias_aliasId :: Lens' ResolveAlias Text Source #
The unique identifier of the alias that you want to retrieve a fleet ID for. You can use either the alias ID or ARN value.
Destructuring the Response
data ResolveAliasResponse Source #
Represents the returned data in response to a request operation.
See: newResolveAliasResponse smart constructor.
Constructors
| ResolveAliasResponse' | |
Instances
newResolveAliasResponse Source #
Arguments
| :: Int | |
| -> ResolveAliasResponse |
Create a value of ResolveAliasResponse 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:fleetArn:ResolveAliasResponse', resolveAliasResponse_fleetArn - The Amazon Resource Name
(ARN)
associated with the GameLift fleet resource that this alias points to.
$sel:fleetId:ResolveAliasResponse', resolveAliasResponse_fleetId - The fleet identifier that the alias is pointing to.
$sel:httpStatus:ResolveAliasResponse', resolveAliasResponse_httpStatus - The response's http status code.
Response Lenses
resolveAliasResponse_fleetArn :: Lens' ResolveAliasResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) associated with the GameLift fleet resource that this alias points to.
resolveAliasResponse_fleetId :: Lens' ResolveAliasResponse (Maybe Text) Source #
The fleet identifier that the alias is pointing to.
resolveAliasResponse_httpStatus :: Lens' ResolveAliasResponse Int Source #
The response's http status code.