Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a custom location for use in an Anywhere fleet.
Synopsis
- data CreateLocation = CreateLocation' {
- tags :: Maybe [Tag]
- locationName :: Text
- newCreateLocation :: Text -> CreateLocation
- createLocation_tags :: Lens' CreateLocation (Maybe [Tag])
- createLocation_locationName :: Lens' CreateLocation Text
- data CreateLocationResponse = CreateLocationResponse' {}
- newCreateLocationResponse :: Int -> CreateLocationResponse
- createLocationResponse_location :: Lens' CreateLocationResponse (Maybe LocationModel)
- createLocationResponse_httpStatus :: Lens' CreateLocationResponse Int
Creating a Request
data CreateLocation Source #
See: newCreateLocation
smart constructor.
CreateLocation' | |
|
Instances
Create a value of CreateLocation
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:tags:CreateLocation'
, createLocation_tags
- A list of labels to assign to the new matchmaking configuration
resource. Tags are developer-defined key-value pairs. Tagging Amazon Web
Services resources are useful for resource management, access management
and cost allocation. For more information, see
Tagging Amazon Web Services Resources
in the Amazon Web Services General Rareference.
CreateLocation
, createLocation_locationName
- A descriptive name for the custom location.
Request Lenses
createLocation_tags :: Lens' CreateLocation (Maybe [Tag]) Source #
A list of labels to assign to the new matchmaking configuration resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.
createLocation_locationName :: Lens' CreateLocation Text Source #
A descriptive name for the custom location.
Destructuring the Response
data CreateLocationResponse Source #
See: newCreateLocationResponse
smart constructor.
CreateLocationResponse' | |
|
Instances
newCreateLocationResponse Source #
Create a value of CreateLocationResponse
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:
CreateLocationResponse
, createLocationResponse_location
- The details of the custom location you created.
$sel:httpStatus:CreateLocationResponse'
, createLocationResponse_httpStatus
- The response's http status code.
Response Lenses
createLocationResponse_location :: Lens' CreateLocationResponse (Maybe LocationModel) Source #
The details of the custom location you created.
createLocationResponse_httpStatus :: Lens' CreateLocationResponse Int Source #
The response's http status code.