update_alias
async
¶
update_alias(
*,
config_overrides: Optional[AsyncGameLiftClientConfig] = None,
alias_id: Optional[AliasIdOrArn] = None,
name: Optional[NonBlankAndLengthConstraintString] = None,
description: Optional[NonZeroAndMaxString] = None,
routing_strategy: Optional[RoutingStrategy] = None,
) -> UpdateAliasOutput
This API works with the following fleet types: EC2, Anywhere, Container
Updates properties for an alias. Specify the unique identifier of the alias to be updated and the new property values.
When reassigning an alias to a new fleet, provide an updated routing strategy. If successful, the updated alias record is returned.
Related actions
Parameters:
-
alias_id(Optional[AliasIdOrArn], default:None) –A unique identifier for the alias that you want to update. You can use either the alias ID or ARN value.
-
name(Optional[NonBlankAndLengthConstraintString], default:None) –A descriptive label that is associated with an alias. Alias names do not need to be unique.
-
description(Optional[NonZeroAndMaxString], default:None) –A human-readable description of the alias.
-
routing_strategy(Optional[RoutingStrategy], default:None) –The routing configuration, including routing type and fleet target, for the alias.
Raises:
-
InternalServiceException–The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.
-
InvalidRequestException–One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.
-
NotFoundException–The requested resource was not found. The resource was either not created yet or deleted.
-
UnauthorizedException–The client failed authentication. Clients should not retry such requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_gamelift/_services/async_game_lift.py
8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 | |