GetCoreNetworkChangeEventsCommand

Returns information about a core network change event.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { NetworkManagerClient, GetCoreNetworkChangeEventsCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
// const { NetworkManagerClient, GetCoreNetworkChangeEventsCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
const client = new NetworkManagerClient(config);
const input = { // GetCoreNetworkChangeEventsRequest
  CoreNetworkId: "STRING_VALUE", // required
  PolicyVersionId: Number("int"), // required
  MaxResults: Number("int"),
  NextToken: "STRING_VALUE",
};
const command = new GetCoreNetworkChangeEventsCommand(input);
const response = await client.send(command);
// { // GetCoreNetworkChangeEventsResponse
//   CoreNetworkChangeEvents: [ // CoreNetworkChangeEventList
//     { // CoreNetworkChangeEvent
//       Type: "CORE_NETWORK_SEGMENT" || "NETWORK_FUNCTION_GROUP" || "CORE_NETWORK_EDGE" || "ATTACHMENT_MAPPING" || "ATTACHMENT_ROUTE_PROPAGATION" || "ATTACHMENT_ROUTE_STATIC" || "CORE_NETWORK_CONFIGURATION" || "SEGMENTS_CONFIGURATION" || "SEGMENT_ACTIONS_CONFIGURATION" || "ATTACHMENT_POLICIES_CONFIGURATION",
//       Action: "ADD" || "MODIFY" || "REMOVE",
//       IdentifierPath: "STRING_VALUE",
//       EventTime: new Date("TIMESTAMP"),
//       Status: "NOT_STARTED" || "IN_PROGRESS" || "COMPLETE" || "FAILED",
//       Values: { // CoreNetworkChangeEventValues
//         EdgeLocation: "STRING_VALUE",
//         SegmentName: "STRING_VALUE",
//         NetworkFunctionGroupName: "STRING_VALUE",
//         AttachmentId: "STRING_VALUE",
//         Cidr: "STRING_VALUE",
//       },
//     },
//   ],
//   NextToken: "STRING_VALUE",
// };

GetCoreNetworkChangeEventsCommand Input

Parameter
Type
Description
CoreNetworkId
Required
string | undefined

The ID of a core network.

PolicyVersionId
Required
number | undefined

The ID of the policy version.

MaxResults
number | undefined

The maximum number of results to return.

NextToken
string | undefined

The token for the next page of results.

GetCoreNetworkChangeEventsCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
CoreNetworkChangeEvents
CoreNetworkChangeEvent[] | undefined

The response to GetCoreNetworkChangeEventsRequest.

NextToken
string | undefined

The token for the next page of results.

Throws

Name
Fault
Details
AccessDeniedException
client

You do not have sufficient access to perform this action.

InternalServerException
server

The request has failed due to an internal error.

ResourceNotFoundException
client

The specified resource could not be found.

ThrottlingException
client

The request was denied due to request throttling.

ValidationException
client

The input fails to satisfy the constraints.

NetworkManagerServiceException
Base exception class for all service exceptions from NetworkManager service.