create_gateway
async
¶
create_gateway(
activation_key: ActivationKey,
gateway_display_name: Name,
gateway_type: GatewayType,
*,
config_overrides: Optional[AsyncBackupGatewayClientConfig] = None,
tags: Optional[Tags] = None,
) -> CreateGatewayOutput
Creates a backup gateway. After you create a gateway, you can associate it with a server using the AssociateGatewayToServer operation.
Parameters:
-
activation_key(ActivationKey) –The activation key of the created gateway.
-
gateway_display_name(Name) –The display name of the created gateway.
-
gateway_type(GatewayType) –The type of created gateway.
-
tags(Optional[Tags], default:None) –A list of up to 50 tags to assign to the gateway. Each tag is a key-value pair.
Raises:
-
InternalServerException–The operation did not succeed because an internal error occurred. Try again later.
-
ThrottlingException–TPS has been limited to protect against intentional or unintentional high request volumes.
-
ValidationException–The operation did not succeed because a validation error occurred.
-
UnknownServiceError–The service returned an error code this client does not model.