Skip to content

Put Core Network Policy

networkmanager_put_core_network_policy R Documentation

Creates a new, immutable version of a core network policy

Description

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.

Usage

networkmanager_put_core_network_policy(CoreNetworkId, PolicyDocument,
  Description, LatestVersionId, ClientToken)

Arguments

CoreNetworkId

[required] The ID of a core network.

PolicyDocument

[required] The policy document.

Description

a core network policy description.

LatestVersionId

The ID of a core network policy.

ClientToken

The client token associated with the request.

Value

A list with the following syntax:

list(
  CoreNetworkPolicy = list(
    CoreNetworkId = "string",
    PolicyVersionId = 123,
    Alias = "LIVE"|"LATEST",
    Description = "string",
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    ChangeSetState = "PENDING_GENERATION"|"FAILED_GENERATION"|"READY_TO_EXECUTE"|"EXECUTING"|"EXECUTION_SUCCEEDED"|"OUT_OF_DATE",
    PolicyErrors = list(
      list(
        ErrorCode = "string",
        Message = "string",
        Path = "string"
      )
    ),
    PolicyDocument = "string"
  )
)

Request syntax

svc$put_core_network_policy(
  CoreNetworkId = "string",
  PolicyDocument = "string",
  Description = "string",
  LatestVersionId = 123,
  ClientToken = "string"
)