Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data CreateFleet = CreateFleet' {}
- newCreateFleet :: Text -> CreateFleet
- createFleet_optimizeForEndUserLocation :: Lens' CreateFleet (Maybe Bool)
- createFleet_displayName :: Lens' CreateFleet (Maybe Text)
- createFleet_tags :: Lens' CreateFleet (Maybe (HashMap Text Text))
- createFleet_fleetName :: Lens' CreateFleet Text
- data CreateFleetResponse = CreateFleetResponse' {
- fleetArn :: Maybe Text
- httpStatus :: Int
- newCreateFleetResponse :: Int -> CreateFleetResponse
- createFleetResponse_fleetArn :: Lens' CreateFleetResponse (Maybe Text)
- createFleetResponse_httpStatus :: Lens' CreateFleetResponse Int
Creating a Request
data CreateFleet Source #
See: newCreateFleet
smart constructor.
CreateFleet' | |
|
Instances
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.
CreateFleetResponse' | |
|
Instances
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.
createFleetResponse_httpStatus :: Lens' CreateFleetResponse Int Source #
The response's http status code.