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 new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.
Synopsis
- data PutCoreNetworkPolicy = PutCoreNetworkPolicy' {}
- newPutCoreNetworkPolicy :: Text -> Text -> PutCoreNetworkPolicy
- putCoreNetworkPolicy_clientToken :: Lens' PutCoreNetworkPolicy (Maybe Text)
- putCoreNetworkPolicy_description :: Lens' PutCoreNetworkPolicy (Maybe Text)
- putCoreNetworkPolicy_latestVersionId :: Lens' PutCoreNetworkPolicy (Maybe Int)
- putCoreNetworkPolicy_coreNetworkId :: Lens' PutCoreNetworkPolicy Text
- putCoreNetworkPolicy_policyDocument :: Lens' PutCoreNetworkPolicy Text
- data PutCoreNetworkPolicyResponse = PutCoreNetworkPolicyResponse' {}
- newPutCoreNetworkPolicyResponse :: Int -> PutCoreNetworkPolicyResponse
- putCoreNetworkPolicyResponse_coreNetworkPolicy :: Lens' PutCoreNetworkPolicyResponse (Maybe CoreNetworkPolicy)
- putCoreNetworkPolicyResponse_httpStatus :: Lens' PutCoreNetworkPolicyResponse Int
Creating a Request
data PutCoreNetworkPolicy Source #
See: newPutCoreNetworkPolicy
smart constructor.
PutCoreNetworkPolicy' | |
|
Instances
newPutCoreNetworkPolicy Source #
Create a value of PutCoreNetworkPolicy
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:PutCoreNetworkPolicy'
, putCoreNetworkPolicy_clientToken
- The client token associated with the request.
PutCoreNetworkPolicy
, putCoreNetworkPolicy_description
- a core network policy description.
$sel:latestVersionId:PutCoreNetworkPolicy'
, putCoreNetworkPolicy_latestVersionId
- The ID of a core network policy.
PutCoreNetworkPolicy
, putCoreNetworkPolicy_coreNetworkId
- The ID of a core network.
PutCoreNetworkPolicy
, putCoreNetworkPolicy_policyDocument
- The policy document.
Request Lenses
putCoreNetworkPolicy_clientToken :: Lens' PutCoreNetworkPolicy (Maybe Text) Source #
The client token associated with the request.
putCoreNetworkPolicy_description :: Lens' PutCoreNetworkPolicy (Maybe Text) Source #
a core network policy description.
putCoreNetworkPolicy_latestVersionId :: Lens' PutCoreNetworkPolicy (Maybe Int) Source #
The ID of a core network policy.
putCoreNetworkPolicy_coreNetworkId :: Lens' PutCoreNetworkPolicy Text Source #
The ID of a core network.
putCoreNetworkPolicy_policyDocument :: Lens' PutCoreNetworkPolicy Text Source #
The policy document.
Destructuring the Response
data PutCoreNetworkPolicyResponse Source #
See: newPutCoreNetworkPolicyResponse
smart constructor.
PutCoreNetworkPolicyResponse' | |
|
Instances
newPutCoreNetworkPolicyResponse Source #
Create a value of PutCoreNetworkPolicyResponse
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:coreNetworkPolicy:PutCoreNetworkPolicyResponse'
, putCoreNetworkPolicyResponse_coreNetworkPolicy
- Describes the changed core network policy.
$sel:httpStatus:PutCoreNetworkPolicyResponse'
, putCoreNetworkPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
putCoreNetworkPolicyResponse_coreNetworkPolicy :: Lens' PutCoreNetworkPolicyResponse (Maybe CoreNetworkPolicy) Source #
Describes the changed core network policy.
putCoreNetworkPolicyResponse_httpStatus :: Lens' PutCoreNetworkPolicyResponse Int Source #
The response's http status code.