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 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.
CreateGatewayGroup' | |
|
Instances
newCreateGatewayGroup Source #
:: 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:
$sel:description: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.
$sel:name: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.
CreateGatewayGroupResponse' | |
|
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:
$sel:gatewayGroupArn: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.