put_core_network_policy
¶
put_core_network_policy(
core_network_id: CoreNetworkId,
policy_document: SynthesizedJsonCoreNetworkPolicyDocument,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
description: Optional[ConstrainedString] = None,
latest_version_id: Optional[Integer] = None,
client_token: Optional[ClientToken] = None,
) -> PutCoreNetworkPolicyResponse
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.
Parameters:
-
core_network_id(CoreNetworkId) –The ID of a core network.
-
policy_document(SynthesizedJsonCoreNetworkPolicyDocument) –The policy document.
-
description(Optional[ConstrainedString], default:None) –a core network policy description.
-
latest_version_id(Optional[Integer], default:None) –The ID of a core network policy.
-
client_token(Optional[ClientToken], default:None) –The client token associated with the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
CoreNetworkPolicyException–Describes a core network policy exception.
-
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkmanager/_services/network_manager.py
6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 | |