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 new, empty global network.
Synopsis
- data CreateGlobalNetwork = CreateGlobalNetwork' {}
- newCreateGlobalNetwork :: CreateGlobalNetwork
- createGlobalNetwork_description :: Lens' CreateGlobalNetwork (Maybe Text)
- createGlobalNetwork_tags :: Lens' CreateGlobalNetwork (Maybe [Tag])
- data CreateGlobalNetworkResponse = CreateGlobalNetworkResponse' {}
- newCreateGlobalNetworkResponse :: Int -> CreateGlobalNetworkResponse
- createGlobalNetworkResponse_globalNetwork :: Lens' CreateGlobalNetworkResponse (Maybe GlobalNetwork)
- createGlobalNetworkResponse_httpStatus :: Lens' CreateGlobalNetworkResponse Int
Creating a Request
data CreateGlobalNetwork Source #
See: newCreateGlobalNetwork
smart constructor.
Instances
newCreateGlobalNetwork :: CreateGlobalNetwork Source #
Create a value of CreateGlobalNetwork
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:CreateGlobalNetwork'
, createGlobalNetwork_description
- A description of the global network.
Length Constraints: Maximum length of 256 characters.
$sel:tags:CreateGlobalNetwork'
, createGlobalNetwork_tags
- The tags to apply to the resource during creation.
Request Lenses
createGlobalNetwork_description :: Lens' CreateGlobalNetwork (Maybe Text) Source #
A description of the global network.
Length Constraints: Maximum length of 256 characters.
createGlobalNetwork_tags :: Lens' CreateGlobalNetwork (Maybe [Tag]) Source #
The tags to apply to the resource during creation.
Destructuring the Response
data CreateGlobalNetworkResponse Source #
See: newCreateGlobalNetworkResponse
smart constructor.
CreateGlobalNetworkResponse' | |
|
Instances
newCreateGlobalNetworkResponse Source #
Create a value of CreateGlobalNetworkResponse
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:globalNetwork:CreateGlobalNetworkResponse'
, createGlobalNetworkResponse_globalNetwork
- Information about the global network object.
$sel:httpStatus:CreateGlobalNetworkResponse'
, createGlobalNetworkResponse_httpStatus
- The response's http status code.
Response Lenses
createGlobalNetworkResponse_globalNetwork :: Lens' CreateGlobalNetworkResponse (Maybe GlobalNetwork) Source #
Information about the global network object.
createGlobalNetworkResponse_httpStatus :: Lens' CreateGlobalNetworkResponse Int Source #
The response's http status code.