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 CIDR collection in the current Amazon Web Services account.
Synopsis
- data CreateCidrCollection = CreateCidrCollection' {
- name :: Text
- callerReference :: Text
- newCreateCidrCollection :: Text -> Text -> CreateCidrCollection
- createCidrCollection_name :: Lens' CreateCidrCollection Text
- createCidrCollection_callerReference :: Lens' CreateCidrCollection Text
- data CreateCidrCollectionResponse = CreateCidrCollectionResponse' {}
- newCreateCidrCollectionResponse :: Int -> CreateCidrCollectionResponse
- createCidrCollectionResponse_collection :: Lens' CreateCidrCollectionResponse (Maybe CidrCollection)
- createCidrCollectionResponse_location :: Lens' CreateCidrCollectionResponse (Maybe Text)
- createCidrCollectionResponse_httpStatus :: Lens' CreateCidrCollectionResponse Int
Creating a Request
data CreateCidrCollection Source #
See: newCreateCidrCollection
smart constructor.
CreateCidrCollection' | |
|
Instances
newCreateCidrCollection Source #
Create a value of CreateCidrCollection
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:
CreateCidrCollection
, createCidrCollection_name
- A unique identifier for the account that can be used to reference the
collection from other API calls.
CreateCidrCollection
, createCidrCollection_callerReference
- A client-specific token that allows requests to be securely retried so
that the intended outcome will only occur once, retries receive a
similar response, and there are no additional edge cases to handle.
Request Lenses
createCidrCollection_name :: Lens' CreateCidrCollection Text Source #
A unique identifier for the account that can be used to reference the collection from other API calls.
createCidrCollection_callerReference :: Lens' CreateCidrCollection Text Source #
A client-specific token that allows requests to be securely retried so that the intended outcome will only occur once, retries receive a similar response, and there are no additional edge cases to handle.
Destructuring the Response
data CreateCidrCollectionResponse Source #
See: newCreateCidrCollectionResponse
smart constructor.
CreateCidrCollectionResponse' | |
|
Instances
newCreateCidrCollectionResponse Source #
Create a value of CreateCidrCollectionResponse
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:collection:CreateCidrCollectionResponse'
, createCidrCollectionResponse_collection
- A complex type that contains information about the CIDR collection.
$sel:location:CreateCidrCollectionResponse'
, createCidrCollectionResponse_location
- A unique URL that represents the location for the CIDR collection.
$sel:httpStatus:CreateCidrCollectionResponse'
, createCidrCollectionResponse_httpStatus
- The response's http status code.
Response Lenses
createCidrCollectionResponse_collection :: Lens' CreateCidrCollectionResponse (Maybe CidrCollection) Source #
A complex type that contains information about the CIDR collection.
createCidrCollectionResponse_location :: Lens' CreateCidrCollectionResponse (Maybe Text) Source #
A unique URL that represents the location for the CIDR collection.
createCidrCollectionResponse_httpStatus :: Lens' CreateCidrCollectionResponse Int Source #
The response's http status code.