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 core network as part of your global network, and optionally, with a core network policy.
Synopsis
- data CreateCoreNetwork = CreateCoreNetwork' {
- clientToken :: Maybe Text
- description :: Maybe Text
- policyDocument :: Maybe Text
- tags :: Maybe [Tag]
- globalNetworkId :: Text
- newCreateCoreNetwork :: Text -> CreateCoreNetwork
- createCoreNetwork_clientToken :: Lens' CreateCoreNetwork (Maybe Text)
- createCoreNetwork_description :: Lens' CreateCoreNetwork (Maybe Text)
- createCoreNetwork_policyDocument :: Lens' CreateCoreNetwork (Maybe Text)
- createCoreNetwork_tags :: Lens' CreateCoreNetwork (Maybe [Tag])
- createCoreNetwork_globalNetworkId :: Lens' CreateCoreNetwork Text
- data CreateCoreNetworkResponse = CreateCoreNetworkResponse' {}
- newCreateCoreNetworkResponse :: Int -> CreateCoreNetworkResponse
- createCoreNetworkResponse_coreNetwork :: Lens' CreateCoreNetworkResponse (Maybe CoreNetwork)
- createCoreNetworkResponse_httpStatus :: Lens' CreateCoreNetworkResponse Int
Creating a Request
data CreateCoreNetwork Source #
See: newCreateCoreNetwork
smart constructor.
CreateCoreNetwork' | |
|
Instances
Create a value of CreateCoreNetwork
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:clientToken:CreateCoreNetwork'
, createCoreNetwork_clientToken
- The client token associated with a core network request.
CreateCoreNetwork
, createCoreNetwork_description
- The description of a core network.
CreateCoreNetwork
, createCoreNetwork_policyDocument
- The policy document for creating a core network.
CreateCoreNetwork
, createCoreNetwork_tags
- Key-value tags associated with a core network request.
CreateCoreNetwork
, createCoreNetwork_globalNetworkId
- The ID of the global network that a core network will be a part of.
Request Lenses
createCoreNetwork_clientToken :: Lens' CreateCoreNetwork (Maybe Text) Source #
The client token associated with a core network request.
createCoreNetwork_description :: Lens' CreateCoreNetwork (Maybe Text) Source #
The description of a core network.
createCoreNetwork_policyDocument :: Lens' CreateCoreNetwork (Maybe Text) Source #
The policy document for creating a core network.
createCoreNetwork_tags :: Lens' CreateCoreNetwork (Maybe [Tag]) Source #
Key-value tags associated with a core network request.
createCoreNetwork_globalNetworkId :: Lens' CreateCoreNetwork Text Source #
The ID of the global network that a core network will be a part of.
Destructuring the Response
data CreateCoreNetworkResponse Source #
See: newCreateCoreNetworkResponse
smart constructor.
CreateCoreNetworkResponse' | |
|
Instances
newCreateCoreNetworkResponse Source #
Create a value of CreateCoreNetworkResponse
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:coreNetwork:CreateCoreNetworkResponse'
, createCoreNetworkResponse_coreNetwork
- Returns details about a core network.
$sel:httpStatus:CreateCoreNetworkResponse'
, createCoreNetworkResponse_httpStatus
- The response's http status code.
Response Lenses
createCoreNetworkResponse_coreNetwork :: Lens' CreateCoreNetworkResponse (Maybe CoreNetwork) Source #
Returns details about a core network.
createCoreNetworkResponse_httpStatus :: Lens' CreateCoreNetworkResponse Int Source #
The response's http status code.