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 range of customer-owned IP addresses.
Synopsis
- data CreateCoipCidr = CreateCoipCidr' {}
- newCreateCoipCidr :: Text -> Text -> CreateCoipCidr
- createCoipCidr_dryRun :: Lens' CreateCoipCidr (Maybe Bool)
- createCoipCidr_cidr :: Lens' CreateCoipCidr Text
- createCoipCidr_coipPoolId :: Lens' CreateCoipCidr Text
- data CreateCoipCidrResponse = CreateCoipCidrResponse' {
- coipCidr :: Maybe CoipCidr
- httpStatus :: Int
- newCreateCoipCidrResponse :: Int -> CreateCoipCidrResponse
- createCoipCidrResponse_coipCidr :: Lens' CreateCoipCidrResponse (Maybe CoipCidr)
- createCoipCidrResponse_httpStatus :: Lens' CreateCoipCidrResponse Int
Creating a Request
data CreateCoipCidr Source #
See: newCreateCoipCidr
smart constructor.
CreateCoipCidr' | |
|
Instances
Create a value of CreateCoipCidr
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:CreateCoipCidr'
, createCoipCidr_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
.
CreateCoipCidr
, createCoipCidr_cidr
- A customer-owned IP address range to create.
CreateCoipCidr
, createCoipCidr_coipPoolId
- The ID of the address pool.
Request Lenses
createCoipCidr_dryRun :: Lens' CreateCoipCidr (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
.
createCoipCidr_cidr :: Lens' CreateCoipCidr Text Source #
A customer-owned IP address range to create.
createCoipCidr_coipPoolId :: Lens' CreateCoipCidr Text Source #
The ID of the address pool.
Destructuring the Response
data CreateCoipCidrResponse Source #
See: newCreateCoipCidrResponse
smart constructor.
CreateCoipCidrResponse' | |
|
Instances
newCreateCoipCidrResponse Source #
Create a value of CreateCoipCidrResponse
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:coipCidr:CreateCoipCidrResponse'
, createCoipCidrResponse_coipCidr
- Information about a range of customer-owned IP addresses.
$sel:httpStatus:CreateCoipCidrResponse'
, createCoipCidrResponse_httpStatus
- The response's http status code.
Response Lenses
createCoipCidrResponse_coipCidr :: Lens' CreateCoipCidrResponse (Maybe CoipCidr) Source #
Information about a range of customer-owned IP addresses.
createCoipCidrResponse_httpStatus :: Lens' CreateCoipCidrResponse Int Source #
The response's http status code.