create_fleet

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'
    }
)
Parameters
  • FleetName (string) --

    [REQUIRED]

    A unique name for the fleet.

  • DisplayName (string) -- The fleet name to display.
  • OptimizeForEndUserLocation (boolean) -- The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region.
  • Tags (dict) --

    The tags to add to the resource. A tag is a key-value pair.

    • (string) --
      • (string) --
Return type

dict

Returns

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