| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.GameLift.UpdateAlias
Description
Updates properties for an alias. To update properties, specify the alias ID to be updated and provide the information to be changed. To reassign an alias to another fleet, provide an updated routing strategy. If successful, the updated alias record is returned.
- updateAlias :: Text -> UpdateAlias
- data UpdateAlias
- uaRoutingStrategy :: Lens' UpdateAlias (Maybe RoutingStrategy)
- uaName :: Lens' UpdateAlias (Maybe Text)
- uaDescription :: Lens' UpdateAlias (Maybe Text)
- uaAliasId :: Lens' UpdateAlias Text
- updateAliasResponse :: Int -> UpdateAliasResponse
- data UpdateAliasResponse
- uarsAlias :: Lens' UpdateAliasResponse (Maybe Alias)
- uarsResponseStatus :: Lens' UpdateAliasResponse Int
Creating a Request
Arguments
| :: Text | |
| -> UpdateAlias |
Creates a value of UpdateAlias with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateAlias Source
Represents the input for a request action.
See: updateAlias smart constructor.
Instances
Request Lenses
uaRoutingStrategy :: Lens' UpdateAlias (Maybe RoutingStrategy) Source
Object specifying the fleet and routing type to use for the alias.
uaName :: Lens' UpdateAlias (Maybe Text) Source
Descriptive label associated with this alias. Alias names do not need to be unique.
uaDescription :: Lens' UpdateAlias (Maybe Text) Source
Human-readable description of the alias.
uaAliasId :: Lens' UpdateAlias Text Source
Unique identifier for a fleet alias. Specify the alias you want to update.
Destructuring the Response
Arguments
| :: Int | |
| -> UpdateAliasResponse |
Creates a value of UpdateAliasResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateAliasResponse Source
Represents the returned data in response to a request action.
See: updateAliasResponse smart constructor.
Response Lenses
uarsAlias :: Lens' UpdateAliasResponse (Maybe Alias) Source
Object containing the updated alias configuration.
uarsResponseStatus :: Lens' UpdateAliasResponse Int Source
The response status code.