update_alias
¶
update_alias(
*,
config_overrides: Optional[GameLiftClientConfig] = 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/game_lift.py
8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 | |