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 pool of customer-owned IP (CoIP) addresses.
Synopsis
- data CreateCoipPool = CreateCoipPool' {}
- newCreateCoipPool :: Text -> CreateCoipPool
- createCoipPool_dryRun :: Lens' CreateCoipPool (Maybe Bool)
- createCoipPool_tagSpecifications :: Lens' CreateCoipPool (Maybe [TagSpecification])
- createCoipPool_localGatewayRouteTableId :: Lens' CreateCoipPool Text
- data CreateCoipPoolResponse = CreateCoipPoolResponse' {
- coipPool :: Maybe CoipPool
- httpStatus :: Int
- newCreateCoipPoolResponse :: Int -> CreateCoipPoolResponse
- createCoipPoolResponse_coipPool :: Lens' CreateCoipPoolResponse (Maybe CoipPool)
- createCoipPoolResponse_httpStatus :: Lens' CreateCoipPoolResponse Int
Creating a Request
data CreateCoipPool Source #
See: newCreateCoipPool
smart constructor.
CreateCoipPool' | |
|
Instances
Create a value of CreateCoipPool
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:dryRun:CreateCoipPool'
, createCoipPool_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
CreateCoipPool
, createCoipPool_tagSpecifications
- The tags to assign to the CoIP address pool.
CreateCoipPool
, createCoipPool_localGatewayRouteTableId
- The ID of the local gateway route table.
Request Lenses
createCoipPool_dryRun :: Lens' CreateCoipPool (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
createCoipPool_tagSpecifications :: Lens' CreateCoipPool (Maybe [TagSpecification]) Source #
The tags to assign to the CoIP address pool.
createCoipPool_localGatewayRouteTableId :: Lens' CreateCoipPool Text Source #
The ID of the local gateway route table.
Destructuring the Response
data CreateCoipPoolResponse Source #
See: newCreateCoipPoolResponse
smart constructor.
CreateCoipPoolResponse' | |
|
Instances
newCreateCoipPoolResponse Source #
Create a value of CreateCoipPoolResponse
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:coipPool:CreateCoipPoolResponse'
, createCoipPoolResponse_coipPool
- Information about the CoIP address pool.
$sel:httpStatus:CreateCoipPoolResponse'
, createCoipPoolResponse_httpStatus
- The response's http status code.
Response Lenses
createCoipPoolResponse_coipPool :: Lens' CreateCoipPoolResponse (Maybe CoipPool) Source #
Information about the CoIP address pool.
createCoipPoolResponse_httpStatus :: Lens' CreateCoipPoolResponse Int Source #
The response's http status code.