update_alias_routing
async
¶
update_alias_routing(
app_name: AppName,
environment_name: EnvironmentName,
alias_name: AliasName,
routing_config: RoutingConfig,
*,
config_overrides: Optional[AsyncAmplifyGen3ClientConfig] = None,
gradual_rollout_config: Optional[GradualRolloutConfig] = None,
) -> UpdateAliasRoutingResponse
Updates the traffic routing for an alias of an environment.
Parameters:
-
app_name(AppName) –The name of the app.
-
environment_name(EnvironmentName) –The name of the environment.
-
alias_name(AliasName) –The name of the alias.
-
routing_config(RoutingConfig) –The traffic routing configuration to apply to the alias.
-
gradual_rollout_config(Optional[GradualRolloutConfig], default:None) –The gradual rollout settings to apply to the alias.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An internal error occurred. Retry the request.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–The request was denied because the request rate exceeds the allowed limit.
-
ValidationException–The request contains invalid parameters or is otherwise malformed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifygen3/_services/async_amplify_gen3.py
3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 | |