libZSservicesZSamazonka-worklinkZSamazonka-worklink
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkLink.CreateFleet

Description

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.

Synopsis

Creating a Request

data CreateFleet Source #

See: newCreateFleet smart constructor.

Constructors

CreateFleet' 

Fields

Instances

Instances details
Eq CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Read CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Show CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Generic CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Associated Types

type Rep CreateFleet :: Type -> Type #

NFData CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Methods

rnf :: CreateFleet -> () #

Hashable CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

ToJSON CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

AWSRequest CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Associated Types

type AWSResponse CreateFleet #

ToHeaders CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Methods

toHeaders :: CreateFleet -> [Header] #

ToPath CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

ToQuery CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

type Rep CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

type Rep CreateFleet = D1 ('MetaData "CreateFleet" "Amazonka.WorkLink.CreateFleet" "libZSservicesZSamazonka-worklinkZSamazonka-worklink" 'False) (C1 ('MetaCons "CreateFleet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "optimizeForEndUserLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "fleetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateFleet Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

newCreateFleet Source #

Create a value of CreateFleet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:optimizeForEndUserLocation:CreateFleet', createFleet_optimizeForEndUserLocation - 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.

$sel:displayName:CreateFleet', createFleet_displayName - The fleet name to display.

$sel:tags:CreateFleet', createFleet_tags - The tags to add to the resource. A tag is a key-value pair.

$sel:fleetName:CreateFleet', createFleet_fleetName - A unique name for the fleet.

Request Lenses

createFleet_optimizeForEndUserLocation :: Lens' CreateFleet (Maybe Bool) Source #

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.

createFleet_displayName :: Lens' CreateFleet (Maybe Text) Source #

The fleet name to display.

createFleet_tags :: Lens' CreateFleet (Maybe (HashMap Text Text)) Source #

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

createFleet_fleetName :: Lens' CreateFleet Text Source #

A unique name for the fleet.

Destructuring the Response

data CreateFleetResponse Source #

See: newCreateFleetResponse smart constructor.

Constructors

CreateFleetResponse' 

Fields

Instances

Instances details
Eq CreateFleetResponse Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Read CreateFleetResponse Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Show CreateFleetResponse Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Generic CreateFleetResponse Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Associated Types

type Rep CreateFleetResponse :: Type -> Type #

NFData CreateFleetResponse Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

Methods

rnf :: CreateFleetResponse -> () #

type Rep CreateFleetResponse Source # 
Instance details

Defined in Amazonka.WorkLink.CreateFleet

type Rep CreateFleetResponse = D1 ('MetaData "CreateFleetResponse" "Amazonka.WorkLink.CreateFleet" "libZSservicesZSamazonka-worklinkZSamazonka-worklink" 'False) (C1 ('MetaCons "CreateFleetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateFleetResponse Source #

Create a value of CreateFleetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:fleetArn:CreateFleetResponse', createFleetResponse_fleetArn - The Amazon Resource Name (ARN) of the fleet.

$sel:httpStatus:CreateFleetResponse', createFleetResponse_httpStatus - The response's http status code.

Response Lenses

createFleetResponse_fleetArn :: Lens' CreateFleetResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the fleet.