WorkLink.Client.
create_fleet
(**kwargs)¶Creates a fleet. A fleet consists of resources and the configuration that delivers associated websites to authorized users who download and set up the Amazon WorkLink app.
Danger
This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.
See also: AWS API Documentation
Request Syntax
response = client.create_fleet(
FleetName='string',
DisplayName='string',
OptimizeForEndUserLocation=True|False,
Tags={
'string': 'string'
}
)
[REQUIRED]
A unique name for the fleet.
The tags to add to the resource. A tag is a key-value pair.
dict
Response Syntax
{
'FleetArn': 'string'
}
Response Structure
(dict) --
FleetArn (string) --
The Amazon Resource Name (ARN) of the fleet.
Exceptions
WorkLink.Client.exceptions.UnauthorizedException
WorkLink.Client.exceptions.InternalServerErrorException
WorkLink.Client.exceptions.InvalidRequestException
WorkLink.Client.exceptions.ResourceNotFoundException
WorkLink.Client.exceptions.ResourceAlreadyExistsException
WorkLink.Client.exceptions.TooManyRequestsException