put_core_network_policy
async
¶
put_core_network_policy(
core_network_id: CoreNetworkId,
policy_document: SynthesizedJsonCoreNetworkPolicyDocument,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = 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/async_network_manager.py
6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 | |