| 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 |
Amazonka.AlexaBusiness.CreateGatewayGroup
Description
Creates a gateway group with the specified details.
Synopsis
- data CreateGatewayGroup = CreateGatewayGroup' {
- description :: Maybe Text
- tags :: Maybe [Tag]
- name :: Text
- clientRequestToken :: Text
- newCreateGatewayGroup :: Text -> Text -> CreateGatewayGroup
- createGatewayGroup_description :: Lens' CreateGatewayGroup (Maybe Text)
- createGatewayGroup_tags :: Lens' CreateGatewayGroup (Maybe [Tag])
- createGatewayGroup_name :: Lens' CreateGatewayGroup Text
- createGatewayGroup_clientRequestToken :: Lens' CreateGatewayGroup Text
- data CreateGatewayGroupResponse = CreateGatewayGroupResponse' {}
- newCreateGatewayGroupResponse :: Int -> CreateGatewayGroupResponse
- createGatewayGroupResponse_gatewayGroupArn :: Lens' CreateGatewayGroupResponse (Maybe Text)
- createGatewayGroupResponse_httpStatus :: Lens' CreateGatewayGroupResponse Int
Creating a Request
data CreateGatewayGroup Source #
See: newCreateGatewayGroup smart constructor.
Constructors
| CreateGatewayGroup' | |
Fields
| |
Instances
newCreateGatewayGroup Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreateGatewayGroup |
Create a value of CreateGatewayGroup 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:
CreateGatewayGroup, createGatewayGroup_description - The description of the gateway group.
$sel:tags:CreateGatewayGroup', createGatewayGroup_tags - The tags to be added to the specified resource. Do not provide system
tags.
CreateGatewayGroup, createGatewayGroup_name - The name of the gateway group.
$sel:clientRequestToken:CreateGatewayGroup', createGatewayGroup_clientRequestToken - A unique, user-specified identifier for the request that ensures
idempotency.
Request Lenses
createGatewayGroup_description :: Lens' CreateGatewayGroup (Maybe Text) Source #
The description of the gateway group.
createGatewayGroup_tags :: Lens' CreateGatewayGroup (Maybe [Tag]) Source #
The tags to be added to the specified resource. Do not provide system tags.
createGatewayGroup_name :: Lens' CreateGatewayGroup Text Source #
The name of the gateway group.
createGatewayGroup_clientRequestToken :: Lens' CreateGatewayGroup Text Source #
A unique, user-specified identifier for the request that ensures idempotency.
Destructuring the Response
data CreateGatewayGroupResponse Source #
See: newCreateGatewayGroupResponse smart constructor.
Constructors
| CreateGatewayGroupResponse' | |
Fields
| |
Instances
newCreateGatewayGroupResponse Source #
Create a value of CreateGatewayGroupResponse 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:
CreateGatewayGroupResponse, createGatewayGroupResponse_gatewayGroupArn - The ARN of the created gateway group.
$sel:httpStatus:CreateGatewayGroupResponse', createGatewayGroupResponse_httpStatus - The response's http status code.
Response Lenses
createGatewayGroupResponse_gatewayGroupArn :: Lens' CreateGatewayGroupResponse (Maybe Text) Source #
The ARN of the created gateway group.
createGatewayGroupResponse_httpStatus :: Lens' CreateGatewayGroupResponse Int Source #
The response's http status code.