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 |
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.
Related actions
Synopsis
- data UpdateAlias = UpdateAlias' {}
- newUpdateAlias :: Text -> UpdateAlias
- updateAlias_description :: Lens' UpdateAlias (Maybe Text)
- updateAlias_name :: Lens' UpdateAlias (Maybe Text)
- updateAlias_routingStrategy :: Lens' UpdateAlias (Maybe RoutingStrategy)
- updateAlias_aliasId :: Lens' UpdateAlias Text
- data UpdateAliasResponse = UpdateAliasResponse' {
- alias :: Maybe Alias
- httpStatus :: Int
- newUpdateAliasResponse :: Int -> UpdateAliasResponse
- updateAliasResponse_alias :: Lens' UpdateAliasResponse (Maybe Alias)
- updateAliasResponse_httpStatus :: Lens' UpdateAliasResponse Int
Creating a Request
data UpdateAlias Source #
See: newUpdateAlias
smart constructor.
UpdateAlias' | |
|
Instances
Create a value of UpdateAlias
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:
UpdateAlias
, updateAlias_description
- A human-readable description of the alias.
UpdateAlias
, updateAlias_name
- A descriptive label that is associated with an alias. Alias names do not
need to be unique.
UpdateAlias
, updateAlias_routingStrategy
- The routing configuration, including routing type and fleet target, for
the alias.
UpdateAlias
, updateAlias_aliasId
- A unique identifier for the alias that you want to update. You can use
either the alias ID or ARN value.
Request Lenses
updateAlias_description :: Lens' UpdateAlias (Maybe Text) Source #
A human-readable description of the alias.
updateAlias_name :: Lens' UpdateAlias (Maybe Text) Source #
A descriptive label that is associated with an alias. Alias names do not need to be unique.
updateAlias_routingStrategy :: Lens' UpdateAlias (Maybe RoutingStrategy) Source #
The routing configuration, including routing type and fleet target, for the alias.
updateAlias_aliasId :: Lens' UpdateAlias Text Source #
A unique identifier for the alias that you want to update. You can use either the alias ID or ARN value.
Destructuring the Response
data UpdateAliasResponse Source #
See: newUpdateAliasResponse
smart constructor.
UpdateAliasResponse' | |
|
Instances
newUpdateAliasResponse Source #
Create a value of UpdateAliasResponse
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:UpdateAliasResponse'
, updateAliasResponse_alias
- The updated alias resource.
$sel:httpStatus:UpdateAliasResponse'
, updateAliasResponse_httpStatus
- The response's http status code.
Response Lenses
updateAliasResponse_alias :: Lens' UpdateAliasResponse (Maybe Alias) Source #
The updated alias resource.
updateAliasResponse_httpStatus :: Lens' UpdateAliasResponse Int Source #
The response's http status code.