create_gateway
(**kwargs)¶Creates a backup gateway. After you create a gateway, you can associate it with a server using the AssociateGatewayToServer
operation.
See also: AWS API Documentation
Request Syntax
response = client.create_gateway(
ActivationKey='string',
GatewayDisplayName='string',
GatewayType='BACKUP_VM',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The activation key of the created gateway.
[REQUIRED]
The display name of the created gateway.
[REQUIRED]
The type of created gateway.
A list of up to 50 tags to assign to the gateway. Each tag is a key-value pair.
A key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.
The key part of a tag's key-value pair. The key can't start with aws:
.
The value part of a tag's key-value pair.
dict
Response Syntax
{
'GatewayArn': 'string'
}
Response Structure
(dict) --
GatewayArn (string) --
The Amazon Resource Name (ARN) of the gateway you create.
Exceptions
BackupGateway.Client.exceptions.ValidationException
BackupGateway.Client.exceptions.InternalServerException
BackupGateway.Client.exceptions.ThrottlingException