We announced the upcoming end-of-support for AWS SDK for JavaScript v2.
We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Class: AWS.NetworkManager

Inherits:
AWS.Service show all
Identifier:
networkmanager
API Version:
2019-07-05
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.

Sending a Request Using NetworkManager

var networkmanager = new AWS.NetworkManager();
networkmanager.acceptAttachment(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the NetworkManager object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var networkmanager = new AWS.NetworkManager({apiVersion: '2019-07-05'});

You can also set the API version globally in AWS.config.apiVersions using the networkmanager service identifier:

AWS.config.apiVersions = {
  networkmanager: '2019-07-05',
  // other service API versions
};

var networkmanager = new AWS.NetworkManager();

Version:

  • 2019-07-05

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.NetworkManager(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a NetworkManager object

var networkmanager = new AWS.NetworkManager({apiVersion: '2019-07-05'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String|AWS.Endpoint)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com' or an Endpoint object.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.NetworkManager.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.NetworkManager.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.NetworkManager.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • s3UsEast1RegionalEndpoint ('legacy'|'regional')

    when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to legacy

  • s3UseArnRegion (Boolean)

    whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to true

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and error and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value, no further retry attempts will be made. The base option will be ignored if this option is supplied. The function is only called for retryable errors.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean|undefined)

    whether to call operations with endpoints given by service dynamically. Setting this

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

  • stsRegionalEndpoints ('legacy'|'regional')

    whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.

  • useFipsEndpoint (Boolean)

    Enables FIPS compatible endpoints. Defaults to false.

  • useDualstackEndpoint (Boolean)

    Enables IPv6 dualstack endpoint. Defaults to false.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

acceptAttachment(params = {}, callback) ⇒ AWS.Request

Accepts a core network attachment request.

Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.

Service Reference:

Examples:

Calling the acceptAttachment operation

var params = {
  AttachmentId: 'STRING_VALUE' /* required */
};
networkmanager.acceptAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AttachmentId — (String)

      The ID of the attachment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Attachment — (map)

        The response to the attachment request.

        • CoreNetworkId — (String)

          The ID of a core network.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • AttachmentId — (String)

          The ID of the attachment.

        • OwnerAccountId — (String)

          The ID of the attachment account owner.

        • AttachmentType — (String)

          The type of attachment.

          Possible values include:
          • "CONNECT"
          • "SITE_TO_SITE_VPN"
          • "VPC"
          • "TRANSIT_GATEWAY_ROUTE_TABLE"
        • State — (String)

          The state of the attachment.

          Possible values include:
          • "REJECTED"
          • "PENDING_ATTACHMENT_ACCEPTANCE"
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "UPDATING"
          • "PENDING_NETWORK_UPDATE"
          • "PENDING_TAG_ACCEPTANCE"
          • "DELETING"
        • EdgeLocation — (String)

          The Region where the edge is located.

        • ResourceArn — (String)

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber — (Integer)

          The policy rule number associated with the attachment.

        • SegmentName — (String)

          The name of the segment attachment.

        • Tags — (Array<map>)

          The tags associated with the attachment.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • ProposedSegmentChange — (map)

          The attachment to move from one segment to another.

          • Tags — (Array<map>)

            The list of key-value tags that changed for the segment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • AttachmentPolicyRuleNumber — (Integer)

            The rule number in the policy document that applies to this change.

          • SegmentName — (String)

            The name of the segment to change.

        • CreatedAt — (Date)

          The timestamp when the attachment was created.

        • UpdatedAt — (Date)

          The timestamp when the attachment was last updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

associateConnectPeer(params = {}, callback) ⇒ AWS.Request

Associates a core network Connect peer with a device and optionally, with a link.

If you specify a link, it must be associated with the specified device. You can only associate core network Connect peers that have been created on a core network Connect attachment on a core network.

Service Reference:

Examples:

Calling the associateConnectPeer operation

var params = {
  ConnectPeerId: 'STRING_VALUE', /* required */
  DeviceId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE', /* required */
  LinkId: 'STRING_VALUE'
};
networkmanager.associateConnectPeer(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of your global network.

    • ConnectPeerId — (String)

      The ID of the Connect peer.

    • DeviceId — (String)

      The ID of the device.

    • LinkId — (String)

      The ID of the link.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ConnectPeerAssociation — (map)

        The response to the Connect peer request.

        • ConnectPeerId — (String)

          The ID of the Connect peer.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the device to connect to.

        • LinkId — (String)

          The ID of the link.

        • State — (String)

          The state of the Connect peer association.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

associateCustomerGateway(params = {}, callback) ⇒ AWS.Request

Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.

You can only associate customer gateways that are connected to a VPN attachment on a transit gateway or core network registered in your global network. When you register a transit gateway or core network, customer gateways that are connected to the transit gateway are automatically included in the global network. To list customer gateways that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.

You cannot associate a customer gateway with more than one device and link.

Service Reference:

Examples:

Calling the associateCustomerGateway operation

var params = {
  CustomerGatewayArn: 'STRING_VALUE', /* required */
  DeviceId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE', /* required */
  LinkId: 'STRING_VALUE'
};
networkmanager.associateCustomerGateway(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CustomerGatewayArn — (String)

      The Amazon Resource Name (ARN) of the customer gateway.

    • GlobalNetworkId — (String)

      The ID of the global network.

    • DeviceId — (String)

      The ID of the device.

    • LinkId — (String)

      The ID of the link.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CustomerGatewayAssociation — (map)

        The customer gateway association.

        • CustomerGatewayArn — (String)

          The Amazon Resource Name (ARN) of the customer gateway.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the device.

        • LinkId — (String)

          The ID of the link.

        • State — (String)

          The association state.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.

Service Reference:

Examples:

Calling the associateLink operation

var params = {
  DeviceId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE', /* required */
  LinkId: 'STRING_VALUE' /* required */
};
networkmanager.associateLink(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • DeviceId — (String)

      The ID of the device.

    • LinkId — (String)

      The ID of the link.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • LinkAssociation — (map)

        The link association.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The device ID for the link association.

        • LinkId — (String)

          The ID of the link.

        • LinkAssociationState — (String)

          The state of the association.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

associateTransitGatewayConnectPeer(params = {}, callback) ⇒ AWS.Request

Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.

You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.

You cannot associate a transit gateway Connect peer with more than one device and link.

Examples:

Calling the associateTransitGatewayConnectPeer operation

var params = {
  DeviceId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE', /* required */
  TransitGatewayConnectPeerArn: 'STRING_VALUE', /* required */
  LinkId: 'STRING_VALUE'
};
networkmanager.associateTransitGatewayConnectPeer(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • TransitGatewayConnectPeerArn — (String)

      The Amazon Resource Name (ARN) of the Connect peer.

    • DeviceId — (String)

      The ID of the device.

    • LinkId — (String)

      The ID of the link.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayConnectPeerAssociation — (map)

        The transit gateway Connect peer association.

        • TransitGatewayConnectPeerArn — (String)

          The Amazon Resource Name (ARN) of the transit gateway Connect peer.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the device.

        • LinkId — (String)

          The ID of the link.

        • State — (String)

          The state of the association.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createConnectAttachment(params = {}, callback) ⇒ AWS.Request

Creates a core network Connect attachment from a specified core network attachment.

A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.

Service Reference:

Examples:

Calling the createConnectAttachment operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  EdgeLocation: 'STRING_VALUE', /* required */
  Options: { /* required */
    Protocol: GRE | NO_ENCAP
  },
  TransportAttachmentId: 'STRING_VALUE', /* required */
  ClientToken: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createConnectAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network where you want to create the attachment.

    • EdgeLocation — (String)

      The Region where the edge is located.

    • TransportAttachmentId — (String)

      The ID of the attachment between the two connections.

    • Options — (map)

      Options for creating an attachment.

      • Protocol — (String)

        The protocol used for the attachment connection.

        Possible values include:
        • "GRE"
        • "NO_ENCAP"
    • Tags — (Array<map>)

      The list of key-value tags associated with the request.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

    • ClientToken — (String)

      The client token associated with the request.

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ConnectAttachment — (map)

        The response to a Connect attachment request.

        • Attachment — (map)

          The attachment details.

          • CoreNetworkId — (String)

            The ID of a core network.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • AttachmentId — (String)

            The ID of the attachment.

          • OwnerAccountId — (String)

            The ID of the attachment account owner.

          • AttachmentType — (String)

            The type of attachment.

            Possible values include:
            • "CONNECT"
            • "SITE_TO_SITE_VPN"
            • "VPC"
            • "TRANSIT_GATEWAY_ROUTE_TABLE"
          • State — (String)

            The state of the attachment.

            Possible values include:
            • "REJECTED"
            • "PENDING_ATTACHMENT_ACCEPTANCE"
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "UPDATING"
            • "PENDING_NETWORK_UPDATE"
            • "PENDING_TAG_ACCEPTANCE"
            • "DELETING"
          • EdgeLocation — (String)

            The Region where the edge is located.

          • ResourceArn — (String)

            The attachment resource ARN.

          • AttachmentPolicyRuleNumber — (Integer)

            The policy rule number associated with the attachment.

          • SegmentName — (String)

            The name of the segment attachment.

          • Tags — (Array<map>)

            The tags associated with the attachment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • ProposedSegmentChange — (map)

            The attachment to move from one segment to another.

            • Tags — (Array<map>)

              The list of key-value tags that changed for the segment.

              • Key — (String)

                The tag key.

                Constraints: Maximum length of 128 characters.

              • Value — (String)

                The tag value.

                Constraints: Maximum length of 256 characters.

            • AttachmentPolicyRuleNumber — (Integer)

              The rule number in the policy document that applies to this change.

            • SegmentName — (String)

              The name of the segment to change.

          • CreatedAt — (Date)

            The timestamp when the attachment was created.

          • UpdatedAt — (Date)

            The timestamp when the attachment was last updated.

        • TransportAttachmentId — (String)

          The ID of the transport attachment.

        • Options — (map)

          Options for connecting an attachment.

          • Protocol — (String)

            The protocol used for the attachment connection.

            Possible values include:
            • "GRE"
            • "NO_ENCAP"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createConnection(params = {}, callback) ⇒ AWS.Request

Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.

Service Reference:

Examples:

Calling the createConnection operation

var params = {
  ConnectedDeviceId: 'STRING_VALUE', /* required */
  DeviceId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE', /* required */
  ConnectedLinkId: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  LinkId: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createConnection(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • DeviceId — (String)

      The ID of the first device in the connection.

    • ConnectedDeviceId — (String)

      The ID of the second device in the connection.

    • LinkId — (String)

      The ID of the link for the first device.

    • ConnectedLinkId — (String)

      The ID of the link for the second device.

    • Description — (String)

      A description of the connection.

      Length Constraints: Maximum length of 256 characters.

    • Tags — (Array<map>)

      The tags to apply to the resource during creation.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Connection — (map)

        Information about the connection.

        • ConnectionId — (String)

          The ID of the connection.

        • ConnectionArn — (String)

          The Amazon Resource Name (ARN) of the connection.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the first device in the connection.

        • ConnectedDeviceId — (String)

          The ID of the second device in the connection.

        • LinkId — (String)

          The ID of the link for the first device in the connection.

        • ConnectedLinkId — (String)

          The ID of the link for the second device in the connection.

        • Description — (String)

          The description of the connection.

        • CreatedAt — (Date)

          The date and time that the connection was created.

        • State — (String)

          The state of the connection.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the connection.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createConnectPeer(params = {}, callback) ⇒ AWS.Request

Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).

Service Reference:

Examples:

Calling the createConnectPeer operation

var params = {
  ConnectAttachmentId: 'STRING_VALUE', /* required */
  PeerAddress: 'STRING_VALUE', /* required */
  BgpOptions: {
    PeerAsn: 'NUMBER_VALUE'
  },
  ClientToken: 'STRING_VALUE',
  CoreNetworkAddress: 'STRING_VALUE',
  InsideCidrBlocks: [
    'STRING_VALUE',
    /* more items */
  ],
  SubnetArn: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createConnectPeer(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ConnectAttachmentId — (String)

      The ID of the connection attachment.

    • CoreNetworkAddress — (String)

      A Connect peer core network address.

    • PeerAddress — (String)

      The Connect peer address.

    • BgpOptions — (map)

      The Connect peer BGP options.

      • PeerAsn — (Integer)

        The Peer ASN of the BGP.

    • InsideCidrBlocks — (Array<String>)

      The inside IP addresses used for BGP peering.

    • Tags — (Array<map>)

      The tags associated with the peer request.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

    • ClientToken — (String)

      The client token associated with the request.

      If a token is not provided, the SDK will use a version 4 UUID.
    • SubnetArn — (String)

      The subnet ARN for the Connect peer.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ConnectPeer — (map)

        The response to the request.

        • CoreNetworkId — (String)

          The ID of a core network.

        • ConnectAttachmentId — (String)

          The ID of the attachment to connect.

        • ConnectPeerId — (String)

          The ID of the Connect peer.

        • EdgeLocation — (String)

          The Connect peer Regions where edges are located.

        • State — (String)

          The state of the Connect peer.

          Possible values include:
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "DELETING"
        • CreatedAt — (Date)

          The timestamp when the Connect peer was created.

        • Configuration — (map)

          The configuration of the Connect peer.

          • CoreNetworkAddress — (String)

            The IP address of a core network.

          • PeerAddress — (String)

            The IP address of the Connect peer.

          • InsideCidrBlocks — (Array<String>)

            The inside IP addresses used for a Connect peer configuration.

          • Protocol — (String)

            The protocol used for a Connect peer configuration.

            Possible values include:
            • "GRE"
            • "NO_ENCAP"
          • BgpConfigurations — (Array<map>)

            The Connect peer BGP configurations.

            • CoreNetworkAsn — (Integer)

              The ASN of the Coret Network.

            • PeerAsn — (Integer)

              The ASN of the Connect peer.

            • CoreNetworkAddress — (String)

              The address of a core network.

            • PeerAddress — (String)

              The address of a core network Connect peer.

        • Tags — (Array<map>)

          The list of key-value tags associated with the Connect peer.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • SubnetArn — (String)

          The subnet ARN for the Connect peer.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createCoreNetwork(params = {}, callback) ⇒ AWS.Request

Creates a core network as part of your global network, and optionally, with a core network policy.

Service Reference:

Examples:

Calling the createCoreNetwork operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  ClientToken: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  PolicyDocument: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createCoreNetwork(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network that a core network will be a part of.

    • Description — (String)

      The description of a core network.

    • Tags — (Array<map>)

      Key-value tags associated with a core network request.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

    • PolicyDocument — (String)

      The policy document for creating a core network.

    • ClientToken — (String)

      The client token associated with a core network request.

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetwork — (map)

        Returns details about a core network.

        • GlobalNetworkId — (String)

          The ID of the global network that your core network is a part of.

        • CoreNetworkId — (String)

          The ID of a core network.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • Description — (String)

          The description of a core network.

        • CreatedAt — (Date)

          The timestamp when a core network was created.

        • State — (String)

          The current state of a core network.

          Possible values include:
          • "CREATING"
          • "UPDATING"
          • "AVAILABLE"
          • "DELETING"
        • Segments — (Array<map>)

          The segments within a core network.

          • Name — (String)

            The name of a core network segment.

          • EdgeLocations — (Array<String>)

            The Regions where the edges are located.

          • SharedSegments — (Array<String>)

            The shared segments of a core network.

        • Edges — (Array<map>)

          The edges within a core network.

          • EdgeLocation — (String)

            The Region where a core network edge is located.

          • Asn — (Integer)

            The ASN of a core network edge.

          • InsideCidrBlocks — (Array<String>)

            The inside IP addresses used for core network edges.

        • Tags — (Array<map>)

          The list of key-value tags associated with a core network.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createDevice(params = {}, callback) ⇒ AWS.Request

Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.

Service Reference:

Examples:

Calling the createDevice operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  AWSLocation: {
    SubnetArn: 'STRING_VALUE',
    Zone: 'STRING_VALUE'
  },
  Description: 'STRING_VALUE',
  Location: {
    Address: 'STRING_VALUE',
    Latitude: 'STRING_VALUE',
    Longitude: 'STRING_VALUE'
  },
  Model: 'STRING_VALUE',
  SerialNumber: 'STRING_VALUE',
  SiteId: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ],
  Type: 'STRING_VALUE',
  Vendor: 'STRING_VALUE'
};
networkmanager.createDevice(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • AWSLocation — (map)

      The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.

      • Zone — (String)

        The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

      • SubnetArn — (String)

        The Amazon Resource Name (ARN) of the subnet that the device is located in.

    • Description — (String)

      A description of the device.

      Constraints: Maximum length of 256 characters.

    • Type — (String)

      The type of the device.

    • Vendor — (String)

      The vendor of the device.

      Constraints: Maximum length of 128 characters.

    • Model — (String)

      The model of the device.

      Constraints: Maximum length of 128 characters.

    • SerialNumber — (String)

      The serial number of the device.

      Constraints: Maximum length of 128 characters.

    • Location — (map)

      The location of the device.

      • Address — (String)

        The physical address.

      • Latitude — (String)

        The latitude.

      • Longitude — (String)

        The longitude.

    • SiteId — (String)

      The ID of the site.

    • Tags — (Array<map>)

      The tags to apply to the resource during creation.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Device — (map)

        Information about the device.

        • DeviceId — (String)

          The ID of the device.

        • DeviceArn — (String)

          The Amazon Resource Name (ARN) of the device.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • AWSLocation — (map)

          The Amazon Web Services location of the device.

          • Zone — (String)

            The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

          • SubnetArn — (String)

            The Amazon Resource Name (ARN) of the subnet that the device is located in.

        • Description — (String)

          The description of the device.

        • Type — (String)

          The device type.

        • Vendor — (String)

          The device vendor.

        • Model — (String)

          The device model.

        • SerialNumber — (String)

          The device serial number.

        • Location — (map)

          The site location.

          • Address — (String)

            The physical address.

          • Latitude — (String)

            The latitude.

          • Longitude — (String)

            The longitude.

        • SiteId — (String)

          The site ID.

        • CreatedAt — (Date)

          The date and time that the site was created.

        • State — (String)

          The device state.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the device.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createGlobalNetwork(params = {}, callback) ⇒ AWS.Request

Creates a new, empty global network.

Service Reference:

Examples:

Calling the createGlobalNetwork operation

var params = {
  Description: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createGlobalNetwork(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Description — (String)

      A description of the global network.

      Constraints: Maximum length of 256 characters.

    • Tags — (Array<map>)

      The tags to apply to the resource during creation.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • GlobalNetwork — (map)

        Information about the global network object.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • GlobalNetworkArn — (String)

          The Amazon Resource Name (ARN) of the global network.

        • Description — (String)

          The description of the global network.

        • CreatedAt — (Date)

          The date and time that the global network was created.

        • State — (String)

          The state of the global network.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the global network.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Creates a new link for a specified site.

Service Reference:

Examples:

Calling the createLink operation

var params = {
  Bandwidth: { /* required */
    DownloadSpeed: 'NUMBER_VALUE',
    UploadSpeed: 'NUMBER_VALUE'
  },
  GlobalNetworkId: 'STRING_VALUE', /* required */
  SiteId: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  Provider: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ],
  Type: 'STRING_VALUE'
};
networkmanager.createLink(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • Description — (String)

      A description of the link.

      Constraints: Maximum length of 256 characters.

    • Type — (String)

      The type of the link.

      Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^

    • Bandwidth — (map)

      The upload speed and download speed in Mbps.

      • UploadSpeed — (Integer)

        Upload speed in Mbps.

      • DownloadSpeed — (Integer)

        Download speed in Mbps.

    • Provider — (String)

      The provider of the link.

      Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^

    • SiteId — (String)

      The ID of the site.

    • Tags — (Array<map>)

      The tags to apply to the resource during creation.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Link — (map)

        Information about the link.

        • LinkId — (String)

          The ID of the link.

        • LinkArn — (String)

          The Amazon Resource Name (ARN) of the link.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • SiteId — (String)

          The ID of the site.

        • Description — (String)

          The description of the link.

        • Type — (String)

          The type of the link.

        • Bandwidth — (map)

          The bandwidth for the link.

          • UploadSpeed — (Integer)

            Upload speed in Mbps.

          • DownloadSpeed — (Integer)

            Download speed in Mbps.

        • Provider — (String)

          The provider of the link.

        • CreatedAt — (Date)

          The date and time that the link was created.

        • State — (String)

          The state of the link.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the link.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createSite(params = {}, callback) ⇒ AWS.Request

Creates a new site in a global network.

Service Reference:

Examples:

Calling the createSite operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  Location: {
    Address: 'STRING_VALUE',
    Latitude: 'STRING_VALUE',
    Longitude: 'STRING_VALUE'
  },
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createSite(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • Description — (String)

      A description of your site.

      Constraints: Maximum length of 256 characters.

    • Location — (map)

      The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

      • Address: The physical address of the site.

      • Latitude: The latitude of the site.

      • Longitude: The longitude of the site.

      • Address — (String)

        The physical address.

      • Latitude — (String)

        The latitude.

      • Longitude — (String)

        The longitude.

    • Tags — (Array<map>)

      The tags to apply to the resource during creation.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Site — (map)

        Information about the site.

        • SiteId — (String)

          The ID of the site.

        • SiteArn — (String)

          The Amazon Resource Name (ARN) of the site.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • Description — (String)

          The description of the site.

        • Location — (map)

          The location of the site.

          • Address — (String)

            The physical address.

          • Latitude — (String)

            The latitude.

          • Longitude — (String)

            The longitude.

        • CreatedAt — (Date)

          The date and time that the site was created.

        • State — (String)

          The state of the site.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the site.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createSiteToSiteVpnAttachment(params = {}, callback) ⇒ AWS.Request

Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.

Service Reference:

Examples:

Calling the createSiteToSiteVpnAttachment operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  VpnConnectionArn: 'STRING_VALUE', /* required */
  ClientToken: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createSiteToSiteVpnAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network where you're creating a site-to-site VPN attachment.

    • VpnConnectionArn — (String)

      The ARN identifying the VPN attachment.

    • Tags — (Array<map>)

      The tags associated with the request.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

    • ClientToken — (String)

      The client token associated with the request.

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • SiteToSiteVpnAttachment — (map)

        Details about a site-to-site VPN attachment.

        • Attachment — (map)

          Provides details about a site-to-site VPN attachment.

          • CoreNetworkId — (String)

            The ID of a core network.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • AttachmentId — (String)

            The ID of the attachment.

          • OwnerAccountId — (String)

            The ID of the attachment account owner.

          • AttachmentType — (String)

            The type of attachment.

            Possible values include:
            • "CONNECT"
            • "SITE_TO_SITE_VPN"
            • "VPC"
            • "TRANSIT_GATEWAY_ROUTE_TABLE"
          • State — (String)

            The state of the attachment.

            Possible values include:
            • "REJECTED"
            • "PENDING_ATTACHMENT_ACCEPTANCE"
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "UPDATING"
            • "PENDING_NETWORK_UPDATE"
            • "PENDING_TAG_ACCEPTANCE"
            • "DELETING"
          • EdgeLocation — (String)

            The Region where the edge is located.

          • ResourceArn — (String)

            The attachment resource ARN.

          • AttachmentPolicyRuleNumber — (Integer)

            The policy rule number associated with the attachment.

          • SegmentName — (String)

            The name of the segment attachment.

          • Tags — (Array<map>)

            The tags associated with the attachment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • ProposedSegmentChange — (map)

            The attachment to move from one segment to another.

            • Tags — (Array<map>)

              The list of key-value tags that changed for the segment.

              • Key — (String)

                The tag key.

                Constraints: Maximum length of 128 characters.

              • Value — (String)

                The tag value.

                Constraints: Maximum length of 256 characters.

            • AttachmentPolicyRuleNumber — (Integer)

              The rule number in the policy document that applies to this change.

            • SegmentName — (String)

              The name of the segment to change.

          • CreatedAt — (Date)

            The timestamp when the attachment was created.

          • UpdatedAt — (Date)

            The timestamp when the attachment was last updated.

        • VpnConnectionArn — (String)

          The ARN of the site-to-site VPN attachment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createTransitGatewayPeering(params = {}, callback) ⇒ AWS.Request

Creates a transit gateway peering connection.

Service Reference:

Examples:

Calling the createTransitGatewayPeering operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  TransitGatewayArn: 'STRING_VALUE', /* required */
  ClientToken: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createTransitGatewayPeering(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • TransitGatewayArn — (String)

      The ARN of the transit gateway for the peering request.

    • Tags — (Array<map>)

      The list of key-value tags associated with the request.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

    • ClientToken — (String)

      The client token associated with the request.

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayPeering — (map)

        Returns information about the transit gateway peering connection request.

        • Peering — (map)

          Describes a transit gateway peer connection.

          • CoreNetworkId — (String)

            The ID of the core network for the peering request.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • PeeringId — (String)

            The ID of the peering attachment.

          • OwnerAccountId — (String)

            The ID of the account owner.

          • PeeringType — (String)

            The type of peering. This will be TRANSIT_GATEWAY.

            Possible values include:
            • "TRANSIT_GATEWAY"
          • State — (String)

            The current state of the peering connection.

            Possible values include:
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "DELETING"
          • EdgeLocation — (String)

            The edge location for the peer.

          • ResourceArn — (String)

            The resource ARN of the peer.

          • Tags — (Array<map>)

            The list of key-value tags associated with the peering.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • CreatedAt — (Date)

            The timestamp when the attachment peer was created.

        • TransitGatewayArn — (String)

          The ARN of the transit gateway.

        • TransitGatewayPeeringAttachmentId — (String)

          The ID of the transit gateway peering attachment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createTransitGatewayRouteTableAttachment(params = {}, callback) ⇒ AWS.Request

Creates a transit gateway route table attachment.

Examples:

Calling the createTransitGatewayRouteTableAttachment operation

var params = {
  PeeringId: 'STRING_VALUE', /* required */
  TransitGatewayRouteTableArn: 'STRING_VALUE', /* required */
  ClientToken: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createTransitGatewayRouteTableAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • PeeringId — (String)

      The ID of the peer for the

    • TransitGatewayRouteTableArn — (String)

      The ARN of the transit gateway route table for the attachment request. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".

    • Tags — (Array<map>)

      The list of key-value tags associated with the request.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

    • ClientToken — (String)

      The client token associated with the request.

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayRouteTableAttachment — (map)

        The route table associated with the create transit gateway route table attachment request.

        • Attachment — (map)

          Describes a core network attachment.

          • CoreNetworkId — (String)

            The ID of a core network.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • AttachmentId — (String)

            The ID of the attachment.

          • OwnerAccountId — (String)

            The ID of the attachment account owner.

          • AttachmentType — (String)

            The type of attachment.

            Possible values include:
            • "CONNECT"
            • "SITE_TO_SITE_VPN"
            • "VPC"
            • "TRANSIT_GATEWAY_ROUTE_TABLE"
          • State — (String)

            The state of the attachment.

            Possible values include:
            • "REJECTED"
            • "PENDING_ATTACHMENT_ACCEPTANCE"
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "UPDATING"
            • "PENDING_NETWORK_UPDATE"
            • "PENDING_TAG_ACCEPTANCE"
            • "DELETING"
          • EdgeLocation — (String)

            The Region where the edge is located.

          • ResourceArn — (String)

            The attachment resource ARN.

          • AttachmentPolicyRuleNumber — (Integer)

            The policy rule number associated with the attachment.

          • SegmentName — (String)

            The name of the segment attachment.

          • Tags — (Array<map>)

            The tags associated with the attachment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • ProposedSegmentChange — (map)

            The attachment to move from one segment to another.

            • Tags — (Array<map>)

              The list of key-value tags that changed for the segment.

              • Key — (String)

                The tag key.

                Constraints: Maximum length of 128 characters.

              • Value — (String)

                The tag value.

                Constraints: Maximum length of 256 characters.

            • AttachmentPolicyRuleNumber — (Integer)

              The rule number in the policy document that applies to this change.

            • SegmentName — (String)

              The name of the segment to change.

          • CreatedAt — (Date)

            The timestamp when the attachment was created.

          • UpdatedAt — (Date)

            The timestamp when the attachment was last updated.

        • PeeringId — (String)

          The ID of the peering attachment.

        • TransitGatewayRouteTableArn — (String)

          The ARN of the transit gateway attachment route table. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createVpcAttachment(params = {}, callback) ⇒ AWS.Request

Creates a VPC attachment on an edge location of a core network.

Service Reference:

Examples:

Calling the createVpcAttachment operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  SubnetArns: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  VpcArn: 'STRING_VALUE', /* required */
  ClientToken: 'STRING_VALUE',
  Options: {
    ApplianceModeSupport: true || false,
    Ipv6Support: true || false
  },
  Tags: [
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.createVpcAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network for the VPC attachment.

    • VpcArn — (String)

      The ARN of the VPC.

    • SubnetArns — (Array<String>)

      The subnet ARN of the VPC attachment.

    • Options — (map)

      Options for the VPC attachment.

      • Ipv6Support — (Boolean)

        Indicates whether IPv6 is supported.

      • ApplianceModeSupport — (Boolean)

        Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false.

    • Tags — (Array<map>)

      The key-value tags associated with the request.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

    • ClientToken — (String)

      The client token associated with the request.

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • VpcAttachment — (map)

        Provides details about the VPC attachment.

        • Attachment — (map)

          Provides details about the VPC attachment.

          • CoreNetworkId — (String)

            The ID of a core network.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • AttachmentId — (String)

            The ID of the attachment.

          • OwnerAccountId — (String)

            The ID of the attachment account owner.

          • AttachmentType — (String)

            The type of attachment.

            Possible values include:
            • "CONNECT"
            • "SITE_TO_SITE_VPN"
            • "VPC"
            • "TRANSIT_GATEWAY_ROUTE_TABLE"
          • State — (String)

            The state of the attachment.

            Possible values include:
            • "REJECTED"
            • "PENDING_ATTACHMENT_ACCEPTANCE"
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "UPDATING"
            • "PENDING_NETWORK_UPDATE"
            • "PENDING_TAG_ACCEPTANCE"
            • "DELETING"
          • EdgeLocation — (String)

            The Region where the edge is located.

          • ResourceArn — (String)

            The attachment resource ARN.

          • AttachmentPolicyRuleNumber — (Integer)

            The policy rule number associated with the attachment.

          • SegmentName — (String)

            The name of the segment attachment.

          • Tags — (Array<map>)

            The tags associated with the attachment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • ProposedSegmentChange — (map)

            The attachment to move from one segment to another.

            • Tags — (Array<map>)

              The list of key-value tags that changed for the segment.

              • Key — (String)

                The tag key.

                Constraints: Maximum length of 128 characters.

              • Value — (String)

                The tag value.

                Constraints: Maximum length of 256 characters.

            • AttachmentPolicyRuleNumber — (Integer)

              The rule number in the policy document that applies to this change.

            • SegmentName — (String)

              The name of the segment to change.

          • CreatedAt — (Date)

            The timestamp when the attachment was created.

          • UpdatedAt — (Date)

            The timestamp when the attachment was last updated.

        • SubnetArns — (Array<String>)

          The subnet ARNs.

        • Options — (map)

          Provides details about the VPC attachment.

          • Ipv6Support — (Boolean)

            Indicates whether IPv6 is supported.

          • ApplianceModeSupport — (Boolean)

            Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteAttachment(params = {}, callback) ⇒ AWS.Request

Deletes an attachment. Supports all attachment types.

Service Reference:

Examples:

Calling the deleteAttachment operation

var params = {
  AttachmentId: 'STRING_VALUE' /* required */
};
networkmanager.deleteAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AttachmentId — (String)

      The ID of the attachment to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Attachment — (map)

        Information about the deleted attachment.

        • CoreNetworkId — (String)

          The ID of a core network.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • AttachmentId — (String)

          The ID of the attachment.

        • OwnerAccountId — (String)

          The ID of the attachment account owner.

        • AttachmentType — (String)

          The type of attachment.

          Possible values include:
          • "CONNECT"
          • "SITE_TO_SITE_VPN"
          • "VPC"
          • "TRANSIT_GATEWAY_ROUTE_TABLE"
        • State — (String)

          The state of the attachment.

          Possible values include:
          • "REJECTED"
          • "PENDING_ATTACHMENT_ACCEPTANCE"
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "UPDATING"
          • "PENDING_NETWORK_UPDATE"
          • "PENDING_TAG_ACCEPTANCE"
          • "DELETING"
        • EdgeLocation — (String)

          The Region where the edge is located.

        • ResourceArn — (String)

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber — (Integer)

          The policy rule number associated with the attachment.

        • SegmentName — (String)

          The name of the segment attachment.

        • Tags — (Array<map>)

          The tags associated with the attachment.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • ProposedSegmentChange — (map)

          The attachment to move from one segment to another.

          • Tags — (Array<map>)

            The list of key-value tags that changed for the segment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • AttachmentPolicyRuleNumber — (Integer)

            The rule number in the policy document that applies to this change.

          • SegmentName — (String)

            The name of the segment to change.

        • CreatedAt — (Date)

          The timestamp when the attachment was created.

        • UpdatedAt — (Date)

          The timestamp when the attachment was last updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteConnection(params = {}, callback) ⇒ AWS.Request

Deletes the specified connection in your global network.

Service Reference:

Examples:

Calling the deleteConnection operation

var params = {
  ConnectionId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE' /* required */
};
networkmanager.deleteConnection(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • ConnectionId — (String)

      The ID of the connection.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Connection — (map)

        Information about the connection.

        • ConnectionId — (String)

          The ID of the connection.

        • ConnectionArn — (String)

          The Amazon Resource Name (ARN) of the connection.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the first device in the connection.

        • ConnectedDeviceId — (String)

          The ID of the second device in the connection.

        • LinkId — (String)

          The ID of the link for the first device in the connection.

        • ConnectedLinkId — (String)

          The ID of the link for the second device in the connection.

        • Description — (String)

          The description of the connection.

        • CreatedAt — (Date)

          The date and time that the connection was created.

        • State — (String)

          The state of the connection.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the connection.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteConnectPeer(params = {}, callback) ⇒ AWS.Request

Deletes a Connect peer.

Service Reference:

Examples:

Calling the deleteConnectPeer operation

var params = {
  ConnectPeerId: 'STRING_VALUE' /* required */
};
networkmanager.deleteConnectPeer(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ConnectPeerId — (String)

      The ID of the deleted Connect peer.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ConnectPeer — (map)

        Information about the deleted Connect peer.

        • CoreNetworkId — (String)

          The ID of a core network.

        • ConnectAttachmentId — (String)

          The ID of the attachment to connect.

        • ConnectPeerId — (String)

          The ID of the Connect peer.

        • EdgeLocation — (String)

          The Connect peer Regions where edges are located.

        • State — (String)

          The state of the Connect peer.

          Possible values include:
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "DELETING"
        • CreatedAt — (Date)

          The timestamp when the Connect peer was created.

        • Configuration — (map)

          The configuration of the Connect peer.

          • CoreNetworkAddress — (String)

            The IP address of a core network.

          • PeerAddress — (String)

            The IP address of the Connect peer.

          • InsideCidrBlocks — (Array<String>)

            The inside IP addresses used for a Connect peer configuration.

          • Protocol — (String)

            The protocol used for a Connect peer configuration.

            Possible values include:
            • "GRE"
            • "NO_ENCAP"
          • BgpConfigurations — (Array<map>)

            The Connect peer BGP configurations.

            • CoreNetworkAsn — (Integer)

              The ASN of the Coret Network.

            • PeerAsn — (Integer)

              The ASN of the Connect peer.

            • CoreNetworkAddress — (String)

              The address of a core network.

            • PeerAddress — (String)

              The address of a core network Connect peer.

        • Tags — (Array<map>)

          The list of key-value tags associated with the Connect peer.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • SubnetArn — (String)

          The subnet ARN for the Connect peer.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteCoreNetwork(params = {}, callback) ⇒ AWS.Request

Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.

Service Reference:

Examples:

Calling the deleteCoreNetwork operation

var params = {
  CoreNetworkId: 'STRING_VALUE' /* required */
};
networkmanager.deleteCoreNetwork(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The network ID of the deleted core network.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetwork — (map)

        Information about the deleted core network.

        • GlobalNetworkId — (String)

          The ID of the global network that your core network is a part of.

        • CoreNetworkId — (String)

          The ID of a core network.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • Description — (String)

          The description of a core network.

        • CreatedAt — (Date)

          The timestamp when a core network was created.

        • State — (String)

          The current state of a core network.

          Possible values include:
          • "CREATING"
          • "UPDATING"
          • "AVAILABLE"
          • "DELETING"
        • Segments — (Array<map>)

          The segments within a core network.

          • Name — (String)

            The name of a core network segment.

          • EdgeLocations — (Array<String>)

            The Regions where the edges are located.

          • SharedSegments — (Array<String>)

            The shared segments of a core network.

        • Edges — (Array<map>)

          The edges within a core network.

          • EdgeLocation — (String)

            The Region where a core network edge is located.

          • Asn — (Integer)

            The ASN of a core network edge.

          • InsideCidrBlocks — (Array<String>)

            The inside IP addresses used for core network edges.

        • Tags — (Array<map>)

          The list of key-value tags associated with a core network.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteCoreNetworkPolicyVersion(params = {}, callback) ⇒ AWS.Request

Deletes a policy version from a core network. You can't delete the current LIVE policy.

Service Reference:

Examples:

Calling the deleteCoreNetworkPolicyVersion operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  PolicyVersionId: 'NUMBER_VALUE' /* required */
};
networkmanager.deleteCoreNetworkPolicyVersion(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network for the deleted policy.

    • PolicyVersionId — (Integer)

      The version ID of the deleted policy.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetworkPolicy — (map)

        Returns information about the deleted policy version.

        • CoreNetworkId — (String)

          The ID of a core network.

        • PolicyVersionId — (Integer)

          The ID of the policy version.

        • Alias — (String)

          Whether a core network policy is the current LIVE policy or the most recently submitted policy.

          Possible values include:
          • "LIVE"
          • "LATEST"
        • Description — (String)

          The description of a core network policy.

        • CreatedAt — (Date)

          The timestamp when a core network policy was created.

        • ChangeSetState — (String)

          The state of a core network policy.

          Possible values include:
          • "PENDING_GENERATION"
          • "FAILED_GENERATION"
          • "READY_TO_EXECUTE"
          • "EXECUTING"
          • "EXECUTION_SUCCEEDED"
          • "OUT_OF_DATE"
        • PolicyErrors — (Array<map>)

          Describes any errors in a core network policy.

          • ErrorCoderequired — (String)

            The error code associated with a core network policy error.

          • Messagerequired — (String)

            The message associated with a core network policy error code.

          • Path — (String)

            The JSON path where the error was discovered in the policy document.

        • PolicyDocument — (String)

          Describes a core network policy.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteDevice(params = {}, callback) ⇒ AWS.Request

Deletes an existing device. You must first disassociate the device from any links and customer gateways.

Service Reference:

Examples:

Calling the deleteDevice operation

var params = {
  DeviceId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE' /* required */
};
networkmanager.deleteDevice(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • DeviceId — (String)

      The ID of the device.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Device — (map)

        Information about the device.

        • DeviceId — (String)

          The ID of the device.

        • DeviceArn — (String)

          The Amazon Resource Name (ARN) of the device.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • AWSLocation — (map)

          The Amazon Web Services location of the device.

          • Zone — (String)

            The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

          • SubnetArn — (String)

            The Amazon Resource Name (ARN) of the subnet that the device is located in.

        • Description — (String)

          The description of the device.

        • Type — (String)

          The device type.

        • Vendor — (String)

          The device vendor.

        • Model — (String)

          The device model.

        • SerialNumber — (String)

          The device serial number.

        • Location — (map)

          The site location.

          • Address — (String)

            The physical address.

          • Latitude — (String)

            The latitude.

          • Longitude — (String)

            The longitude.

        • SiteId — (String)

          The site ID.

        • CreatedAt — (Date)

          The date and time that the site was created.

        • State — (String)

          The device state.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the device.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteGlobalNetwork(params = {}, callback) ⇒ AWS.Request

Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.

Service Reference:

Examples:

Calling the deleteGlobalNetwork operation

var params = {
  GlobalNetworkId: 'STRING_VALUE' /* required */
};
networkmanager.deleteGlobalNetwork(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • GlobalNetwork — (map)

        Information about the global network.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • GlobalNetworkArn — (String)

          The Amazon Resource Name (ARN) of the global network.

        • Description — (String)

          The description of the global network.

        • CreatedAt — (Date)

          The date and time that the global network was created.

        • State — (String)

          The state of the global network.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the global network.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Deletes an existing link. You must first disassociate the link from any devices and customer gateways.

Service Reference:

Examples:

Calling the deleteLink operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  LinkId: 'STRING_VALUE' /* required */
};
networkmanager.deleteLink(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • LinkId — (String)

      The ID of the link.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Link — (map)

        Information about the link.

        • LinkId — (String)

          The ID of the link.

        • LinkArn — (String)

          The Amazon Resource Name (ARN) of the link.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • SiteId — (String)

          The ID of the site.

        • Description — (String)

          The description of the link.

        • Type — (String)

          The type of the link.

        • Bandwidth — (map)

          The bandwidth for the link.

          • UploadSpeed — (Integer)

            Upload speed in Mbps.

          • DownloadSpeed — (Integer)

            Download speed in Mbps.

        • Provider — (String)

          The provider of the link.

        • CreatedAt — (Date)

          The date and time that the link was created.

        • State — (String)

          The state of the link.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the link.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deletePeering(params = {}, callback) ⇒ AWS.Request

Deletes an existing peering connection.

Service Reference:

Examples:

Calling the deletePeering operation

var params = {
  PeeringId: 'STRING_VALUE' /* required */
};
networkmanager.deletePeering(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • PeeringId — (String)

      The ID of the peering connection to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Peering — (map)

        Information about a deleted peering connection.

        • CoreNetworkId — (String)

          The ID of the core network for the peering request.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • PeeringId — (String)

          The ID of the peering attachment.

        • OwnerAccountId — (String)

          The ID of the account owner.

        • PeeringType — (String)

          The type of peering. This will be TRANSIT_GATEWAY.

          Possible values include:
          • "TRANSIT_GATEWAY"
        • State — (String)

          The current state of the peering connection.

          Possible values include:
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "DELETING"
        • EdgeLocation — (String)

          The edge location for the peer.

        • ResourceArn — (String)

          The resource ARN of the peer.

        • Tags — (Array<map>)

          The list of key-value tags associated with the peering.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • CreatedAt — (Date)

          The timestamp when the attachment peer was created.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteResourcePolicy(params = {}, callback) ⇒ AWS.Request

Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.

Service Reference:

Examples:

Calling the deleteResourcePolicy operation

var params = {
  ResourceArn: 'STRING_VALUE' /* required */
};
networkmanager.deleteResourcePolicy(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      The ARN of the policy to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteSite(params = {}, callback) ⇒ AWS.Request

Deletes an existing site. The site cannot be associated with any device or link.

Service Reference:

Examples:

Calling the deleteSite operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  SiteId: 'STRING_VALUE' /* required */
};
networkmanager.deleteSite(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • SiteId — (String)

      The ID of the site.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Site — (map)

        Information about the site.

        • SiteId — (String)

          The ID of the site.

        • SiteArn — (String)

          The Amazon Resource Name (ARN) of the site.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • Description — (String)

          The description of the site.

        • Location — (map)

          The location of the site.

          • Address — (String)

            The physical address.

          • Latitude — (String)

            The latitude.

          • Longitude — (String)

            The longitude.

        • CreatedAt — (Date)

          The date and time that the site was created.

        • State — (String)

          The state of the site.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the site.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deregisterTransitGateway(params = {}, callback) ⇒ AWS.Request

Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.

Service Reference:

Examples:

Calling the deregisterTransitGateway operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  TransitGatewayArn: 'STRING_VALUE' /* required */
};
networkmanager.deregisterTransitGateway(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • TransitGatewayArn — (String)

      The Amazon Resource Name (ARN) of the transit gateway.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayRegistration — (map)

        The transit gateway registration information.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • TransitGatewayArn — (String)

          The Amazon Resource Name (ARN) of the transit gateway.

        • State — (map)

          The state of the transit gateway registration.

          • Code — (String)

            The code for the state reason.

            Possible values include:
            • "PENDING"
            • "AVAILABLE"
            • "DELETING"
            • "DELETED"
            • "FAILED"
          • Message — (String)

            The message for the state reason.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeGlobalNetworks(params = {}, callback) ⇒ AWS.Request

Describes one or more global networks. By default, all global networks are described. To describe the objects in your global network, you must use the appropriate Get* action. For example, to list the transit gateways in your global network, use GetTransitGatewayRegistrations.

Service Reference:

Examples:

Calling the describeGlobalNetworks operation

var params = {
  GlobalNetworkIds: [
    'STRING_VALUE',
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.describeGlobalNetworks(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkIds — (Array<String>)

      The IDs of one or more global networks. The maximum is 10.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • GlobalNetworks — (Array<map>)

        Information about the global networks.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • GlobalNetworkArn — (String)

          The Amazon Resource Name (ARN) of the global network.

        • Description — (String)

          The description of the global network.

        • CreatedAt — (Date)

          The date and time that the global network was created.

        • State — (String)

          The state of the global network.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the global network.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

disassociateConnectPeer(params = {}, callback) ⇒ AWS.Request

Disassociates a core network Connect peer from a device and a link.

Service Reference:

Examples:

Calling the disassociateConnectPeer operation

var params = {
  ConnectPeerId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE' /* required */
};
networkmanager.disassociateConnectPeer(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • ConnectPeerId — (String)

      The ID of the Connect peer to disassociate from a device.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ConnectPeerAssociation — (map)

        Describes the Connect peer association.

        • ConnectPeerId — (String)

          The ID of the Connect peer.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the device to connect to.

        • LinkId — (String)

          The ID of the link.

        • State — (String)

          The state of the Connect peer association.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

disassociateCustomerGateway(params = {}, callback) ⇒ AWS.Request

Disassociates a customer gateway from a device and a link.

Service Reference:

Examples:

Calling the disassociateCustomerGateway operation

var params = {
  CustomerGatewayArn: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE' /* required */
};
networkmanager.disassociateCustomerGateway(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • CustomerGatewayArn — (String)

      The Amazon Resource Name (ARN) of the customer gateway.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CustomerGatewayAssociation — (map)

        Information about the customer gateway association.

        • CustomerGatewayArn — (String)

          The Amazon Resource Name (ARN) of the customer gateway.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the device.

        • LinkId — (String)

          The ID of the link.

        • State — (String)

          The association state.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.

Service Reference:

Examples:

Calling the disassociateLink operation

var params = {
  DeviceId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE', /* required */
  LinkId: 'STRING_VALUE' /* required */
};
networkmanager.disassociateLink(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • DeviceId — (String)

      The ID of the device.

    • LinkId — (String)

      The ID of the link.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • LinkAssociation — (map)

        Information about the link association.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The device ID for the link association.

        • LinkId — (String)

          The ID of the link.

        • LinkAssociationState — (String)

          The state of the association.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

disassociateTransitGatewayConnectPeer(params = {}, callback) ⇒ AWS.Request

Disassociates a transit gateway Connect peer from a device and link.

Examples:

Calling the disassociateTransitGatewayConnectPeer operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  TransitGatewayConnectPeerArn: 'STRING_VALUE' /* required */
};
networkmanager.disassociateTransitGatewayConnectPeer(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • TransitGatewayConnectPeerArn — (String)

      The Amazon Resource Name (ARN) of the transit gateway Connect peer.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayConnectPeerAssociation — (map)

        The transit gateway Connect peer association.

        • TransitGatewayConnectPeerArn — (String)

          The Amazon Resource Name (ARN) of the transit gateway Connect peer.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the device.

        • LinkId — (String)

          The ID of the link.

        • State — (String)

          The state of the association.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

executeCoreNetworkChangeSet(params = {}, callback) ⇒ AWS.Request

Executes a change set on your core network. Deploys changes globally based on the policy submitted..

Service Reference:

Examples:

Calling the executeCoreNetworkChangeSet operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  PolicyVersionId: 'NUMBER_VALUE' /* required */
};
networkmanager.executeCoreNetworkChangeSet(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • PolicyVersionId — (Integer)

      The ID of the policy version.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getConnectAttachment(params = {}, callback) ⇒ AWS.Request

Returns information about a core network Connect attachment.

Service Reference:

Examples:

Calling the getConnectAttachment operation

var params = {
  AttachmentId: 'STRING_VALUE' /* required */
};
networkmanager.getConnectAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AttachmentId — (String)

      The ID of the attachment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ConnectAttachment — (map)

        Details about the Connect attachment.

        • Attachment — (map)

          The attachment details.

          • CoreNetworkId — (String)

            The ID of a core network.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • AttachmentId — (String)

            The ID of the attachment.

          • OwnerAccountId — (String)

            The ID of the attachment account owner.

          • AttachmentType — (String)

            The type of attachment.

            Possible values include:
            • "CONNECT"
            • "SITE_TO_SITE_VPN"
            • "VPC"
            • "TRANSIT_GATEWAY_ROUTE_TABLE"
          • State — (String)

            The state of the attachment.

            Possible values include:
            • "REJECTED"
            • "PENDING_ATTACHMENT_ACCEPTANCE"
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "UPDATING"
            • "PENDING_NETWORK_UPDATE"
            • "PENDING_TAG_ACCEPTANCE"
            • "DELETING"
          • EdgeLocation — (String)

            The Region where the edge is located.

          • ResourceArn — (String)

            The attachment resource ARN.

          • AttachmentPolicyRuleNumber — (Integer)

            The policy rule number associated with the attachment.

          • SegmentName — (String)

            The name of the segment attachment.

          • Tags — (Array<map>)

            The tags associated with the attachment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • ProposedSegmentChange — (map)

            The attachment to move from one segment to another.

            • Tags — (Array<map>)

              The list of key-value tags that changed for the segment.

              • Key — (String)

                The tag key.

                Constraints: Maximum length of 128 characters.

              • Value — (String)

                The tag value.

                Constraints: Maximum length of 256 characters.

            • AttachmentPolicyRuleNumber — (Integer)

              The rule number in the policy document that applies to this change.

            • SegmentName — (String)

              The name of the segment to change.

          • CreatedAt — (Date)

            The timestamp when the attachment was created.

          • UpdatedAt — (Date)

            The timestamp when the attachment was last updated.

        • TransportAttachmentId — (String)

          The ID of the transport attachment.

        • Options — (map)

          Options for connecting an attachment.

          • Protocol — (String)

            The protocol used for the attachment connection.

            Possible values include:
            • "GRE"
            • "NO_ENCAP"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getConnections(params = {}, callback) ⇒ AWS.Request

Gets information about one or more of your connections in a global network.

Service Reference:

Examples:

Calling the getConnections operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  ConnectionIds: [
    'STRING_VALUE',
    /* more items */
  ],
  DeviceId: 'STRING_VALUE',
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.getConnections(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • ConnectionIds — (Array<String>)

      One or more connection IDs.

    • DeviceId — (String)

      The ID of the device.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Connections — (Array<map>)

        Information about the connections.

        • ConnectionId — (String)

          The ID of the connection.

        • ConnectionArn — (String)

          The Amazon Resource Name (ARN) of the connection.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the first device in the connection.

        • ConnectedDeviceId — (String)

          The ID of the second device in the connection.

        • LinkId — (String)

          The ID of the link for the first device in the connection.

        • ConnectedLinkId — (String)

          The ID of the link for the second device in the connection.

        • Description — (String)

          The description of the connection.

        • CreatedAt — (Date)

          The date and time that the connection was created.

        • State — (String)

          The state of the connection.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the connection.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

      • NextToken — (String)

        The token to use for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getConnectPeer(params = {}, callback) ⇒ AWS.Request

Returns information about a core network Connect peer.

Service Reference:

Examples:

Calling the getConnectPeer operation

var params = {
  ConnectPeerId: 'STRING_VALUE' /* required */
};
networkmanager.getConnectPeer(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ConnectPeerId — (String)

      The ID of the Connect peer.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ConnectPeer — (map)

        Returns information about a core network Connect peer.

        • CoreNetworkId — (String)

          The ID of a core network.

        • ConnectAttachmentId — (String)

          The ID of the attachment to connect.

        • ConnectPeerId — (String)

          The ID of the Connect peer.

        • EdgeLocation — (String)

          The Connect peer Regions where edges are located.

        • State — (String)

          The state of the Connect peer.

          Possible values include:
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "DELETING"
        • CreatedAt — (Date)

          The timestamp when the Connect peer was created.

        • Configuration — (map)

          The configuration of the Connect peer.

          • CoreNetworkAddress — (String)

            The IP address of a core network.

          • PeerAddress — (String)

            The IP address of the Connect peer.

          • InsideCidrBlocks — (Array<String>)

            The inside IP addresses used for a Connect peer configuration.

          • Protocol — (String)

            The protocol used for a Connect peer configuration.

            Possible values include:
            • "GRE"
            • "NO_ENCAP"
          • BgpConfigurations — (Array<map>)

            The Connect peer BGP configurations.

            • CoreNetworkAsn — (Integer)

              The ASN of the Coret Network.

            • PeerAsn — (Integer)

              The ASN of the Connect peer.

            • CoreNetworkAddress — (String)

              The address of a core network.

            • PeerAddress — (String)

              The address of a core network Connect peer.

        • Tags — (Array<map>)

          The list of key-value tags associated with the Connect peer.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • SubnetArn — (String)

          The subnet ARN for the Connect peer.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getConnectPeerAssociations(params = {}, callback) ⇒ AWS.Request

Returns information about a core network Connect peer associations.

Service Reference:

Examples:

Calling the getConnectPeerAssociations operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  ConnectPeerIds: [
    'STRING_VALUE',
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.getConnectPeerAssociations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • ConnectPeerIds — (Array<String>)

      The IDs of the Connect peers.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ConnectPeerAssociations — (Array<map>)

        Displays a list of Connect peer associations.

        • ConnectPeerId — (String)

          The ID of the Connect peer.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the device to connect to.

        • LinkId — (String)

          The ID of the link.

        • State — (String)

          The state of the Connect peer association.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"
      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getCoreNetwork(params = {}, callback) ⇒ AWS.Request

Returns information about the LIVE policy for a core network.

Service Reference:

Examples:

Calling the getCoreNetwork operation

var params = {
  CoreNetworkId: 'STRING_VALUE' /* required */
};
networkmanager.getCoreNetwork(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetwork — (map)

        Details about a core network.

        • GlobalNetworkId — (String)

          The ID of the global network that your core network is a part of.

        • CoreNetworkId — (String)

          The ID of a core network.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • Description — (String)

          The description of a core network.

        • CreatedAt — (Date)

          The timestamp when a core network was created.

        • State — (String)

          The current state of a core network.

          Possible values include:
          • "CREATING"
          • "UPDATING"
          • "AVAILABLE"
          • "DELETING"
        • Segments — (Array<map>)

          The segments within a core network.

          • Name — (String)

            The name of a core network segment.

          • EdgeLocations — (Array<String>)

            The Regions where the edges are located.

          • SharedSegments — (Array<String>)

            The shared segments of a core network.

        • Edges — (Array<map>)

          The edges within a core network.

          • EdgeLocation — (String)

            The Region where a core network edge is located.

          • Asn — (Integer)

            The ASN of a core network edge.

          • InsideCidrBlocks — (Array<String>)

            The inside IP addresses used for core network edges.

        • Tags — (Array<map>)

          The list of key-value tags associated with a core network.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getCoreNetworkChangeEvents(params = {}, callback) ⇒ AWS.Request

Returns information about a core network change event.

Service Reference:

Examples:

Calling the getCoreNetworkChangeEvents operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  PolicyVersionId: 'NUMBER_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.getCoreNetworkChangeEvents(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • PolicyVersionId — (Integer)

      The ID of the policy version.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetworkChangeEvents — (Array<map>)

        The response to GetCoreNetworkChangeEventsRequest.

        • Type — (String)

          Describes the type of change event.

          Possible values include:
          • "CORE_NETWORK_SEGMENT"
          • "CORE_NETWORK_EDGE"
          • "ATTACHMENT_MAPPING"
          • "ATTACHMENT_ROUTE_PROPAGATION"
          • "ATTACHMENT_ROUTE_STATIC"
          • "CORE_NETWORK_CONFIGURATION"
          • "SEGMENTS_CONFIGURATION"
          • "SEGMENT_ACTIONS_CONFIGURATION"
          • "ATTACHMENT_POLICIES_CONFIGURATION"
        • Action — (String)

          The action taken for the change event.

          Possible values include:
          • "ADD"
          • "MODIFY"
          • "REMOVE"
        • IdentifierPath — (String)

          Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment".

        • EventTime — (Date)

          The timestamp for an event change in status.

        • Status — (String)

          The status of the core network change event.

          Possible values include:
          • "NOT_STARTED"
          • "IN_PROGRESS"
          • "COMPLETE"
          • "FAILED"
        • Values — (map)

          Details of the change event.

          • EdgeLocation — (String)

            The edge location for the core network change event.

          • SegmentName — (String)

            The segment name if the change event is associated with a segment.

          • AttachmentId — (String)

            The ID of the attachment if the change event is associated with an attachment.

          • Cidr — (String)

            For a STATIC_ROUTE event, this is the IP address.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getCoreNetworkChangeSet(params = {}, callback) ⇒ AWS.Request

Returns a change set between the LIVE core network policy and a submitted policy.

Service Reference:

Examples:

Calling the getCoreNetworkChangeSet operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  PolicyVersionId: 'NUMBER_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.getCoreNetworkChangeSet(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • PolicyVersionId — (Integer)

      The ID of the policy version.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetworkChanges — (Array<map>)

        Describes a core network changes.

        • Type — (String)

          The type of change.

          Possible values include:
          • "CORE_NETWORK_SEGMENT"
          • "CORE_NETWORK_EDGE"
          • "ATTACHMENT_MAPPING"
          • "ATTACHMENT_ROUTE_PROPAGATION"
          • "ATTACHMENT_ROUTE_STATIC"
          • "CORE_NETWORK_CONFIGURATION"
          • "SEGMENTS_CONFIGURATION"
          • "SEGMENT_ACTIONS_CONFIGURATION"
          • "ATTACHMENT_POLICIES_CONFIGURATION"
        • Action — (String)

          The action to take for a core network.

          Possible values include:
          • "ADD"
          • "MODIFY"
          • "REMOVE"
        • Identifier — (String)

          The resource identifier.

        • PreviousValues — (map)

          The previous values for a core network.

          • SegmentName — (String)

            The names of the segments in a core network.

          • EdgeLocations — (Array<String>)

            The Regions where edges are located in a core network.

          • Asn — (Integer)

            The ASN of a core network.

          • Cidr — (String)

            The IP addresses used for a core network.

          • DestinationIdentifier — (String)

            The ID of the destination.

          • InsideCidrBlocks — (Array<String>)

            The inside IP addresses used for core network change values.

          • SharedSegments — (Array<String>)

            The shared segments for a core network change value.

        • NewValues — (map)

          The new value for a core network

          • SegmentName — (String)

            The names of the segments in a core network.

          • EdgeLocations — (Array<String>)

            The Regions where edges are located in a core network.

          • Asn — (Integer)

            The ASN of a core network.

          • Cidr — (String)

            The IP addresses used for a core network.

          • DestinationIdentifier — (String)

            The ID of the destination.

          • InsideCidrBlocks — (Array<String>)

            The inside IP addresses used for core network change values.

          • SharedSegments — (Array<String>)

            The shared segments for a core network change value.

        • IdentifierPath — (String)

          Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment".

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getCoreNetworkPolicy(params = {}, callback) ⇒ AWS.Request

Returns details about a core network policy. You can get details about your current live policy or any previous policy version.

Service Reference:

Examples:

Calling the getCoreNetworkPolicy operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  Alias: LIVE | LATEST,
  PolicyVersionId: 'NUMBER_VALUE'
};
networkmanager.getCoreNetworkPolicy(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • PolicyVersionId — (Integer)

      The ID of a core network policy version.

    • Alias — (String)

      The alias of a core network policy

      Possible values include:
      • "LIVE"
      • "LATEST"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetworkPolicy — (map)

        The details about a core network policy.

        • CoreNetworkId — (String)

          The ID of a core network.

        • PolicyVersionId — (Integer)

          The ID of the policy version.

        • Alias — (String)

          Whether a core network policy is the current LIVE policy or the most recently submitted policy.

          Possible values include:
          • "LIVE"
          • "LATEST"
        • Description — (String)

          The description of a core network policy.

        • CreatedAt — (Date)

          The timestamp when a core network policy was created.

        • ChangeSetState — (String)

          The state of a core network policy.

          Possible values include:
          • "PENDING_GENERATION"
          • "FAILED_GENERATION"
          • "READY_TO_EXECUTE"
          • "EXECUTING"
          • "EXECUTION_SUCCEEDED"
          • "OUT_OF_DATE"
        • PolicyErrors — (Array<map>)

          Describes any errors in a core network policy.

          • ErrorCoderequired — (String)

            The error code associated with a core network policy error.

          • Messagerequired — (String)

            The message associated with a core network policy error code.

          • Path — (String)

            The JSON path where the error was discovered in the policy document.

        • PolicyDocument — (String)

          Describes a core network policy.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getCustomerGatewayAssociations(params = {}, callback) ⇒ AWS.Request

Gets the association information for customer gateways that are associated with devices and links in your global network.

Service Reference:

Examples:

Calling the getCustomerGatewayAssociations operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  CustomerGatewayArns: [
    'STRING_VALUE',
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.getCustomerGatewayAssociations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • CustomerGatewayArns — (Array<String>)

      One or more customer gateway Amazon Resource Names (ARNs). The maximum is 10.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CustomerGatewayAssociations — (Array<map>)

        The customer gateway associations.

        • CustomerGatewayArn — (String)

          The Amazon Resource Name (ARN) of the customer gateway.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the device.

        • LinkId — (String)

          The ID of the link.

        • State — (String)

          The association state.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"
      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getDevices(params = {}, callback) ⇒ AWS.Request

Gets information about one or more of your devices in a global network.

Service Reference:

Examples:

Calling the getDevices operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  DeviceIds: [
    'STRING_VALUE',
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SiteId: 'STRING_VALUE'
};
networkmanager.getDevices(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • DeviceIds — (Array<String>)

      One or more device IDs. The maximum is 10.

    • SiteId — (String)

      The ID of the site.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Devices — (Array<map>)

        The devices.

        • DeviceId — (String)

          The ID of the device.

        • DeviceArn — (String)

          The Amazon Resource Name (ARN) of the device.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • AWSLocation — (map)

          The Amazon Web Services location of the device.

          • Zone — (String)

            The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

          • SubnetArn — (String)

            The Amazon Resource Name (ARN) of the subnet that the device is located in.

        • Description — (String)

          The description of the device.

        • Type — (String)

          The device type.

        • Vendor — (String)

          The device vendor.

        • Model — (String)

          The device model.

        • SerialNumber — (String)

          The device serial number.

        • Location — (map)

          The site location.

          • Address — (String)

            The physical address.

          • Latitude — (String)

            The latitude.

          • Longitude — (String)

            The longitude.

        • SiteId — (String)

          The site ID.

        • CreatedAt — (Date)

          The date and time that the site was created.

        • State — (String)

          The device state.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the device.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getLinkAssociations(params = {}, callback) ⇒ AWS.Request

Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.

Service Reference:

Examples:

Calling the getLinkAssociations operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  DeviceId: 'STRING_VALUE',
  LinkId: 'STRING_VALUE',
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.getLinkAssociations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • DeviceId — (String)

      The ID of the device.

    • LinkId — (String)

      The ID of the link.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • LinkAssociations — (Array<map>)

        The link associations.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The device ID for the link association.

        • LinkId — (String)

          The ID of the link.

        • LinkAssociationState — (String)

          The state of the association.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"
      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Gets information about one or more links in a specified global network.

If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.

Service Reference:

Examples:

Calling the getLinks operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  LinkIds: [
    'STRING_VALUE',
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  Provider: 'STRING_VALUE',
  SiteId: 'STRING_VALUE',
  Type: 'STRING_VALUE'
};
networkmanager.getLinks(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • LinkIds — (Array<String>)

      One or more link IDs. The maximum is 10.

    • SiteId — (String)

      The ID of the site.

    • Type — (String)

      The link type.

    • Provider — (String)

      The link provider.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Links — (Array<map>)

        The links.

        • LinkId — (String)

          The ID of the link.

        • LinkArn — (String)

          The Amazon Resource Name (ARN) of the link.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • SiteId — (String)

          The ID of the site.

        • Description — (String)

          The description of the link.

        • Type — (String)

          The type of the link.

        • Bandwidth — (map)

          The bandwidth for the link.

          • UploadSpeed — (Integer)

            Upload speed in Mbps.

          • DownloadSpeed — (Integer)

            Download speed in Mbps.

        • Provider — (String)

          The provider of the link.

        • CreatedAt — (Date)

          The date and time that the link was created.

        • State — (String)

          The state of the link.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the link.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getNetworkResourceCounts(params = {}, callback) ⇒ AWS.Request

Gets the count of network resources, by resource type, for the specified global network.

Service Reference:

Examples:

Calling the getNetworkResourceCounts operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  ResourceType: 'STRING_VALUE'
};
networkmanager.getNetworkResourceCounts(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • ResourceType — (String)

      The resource type.

      The following are the supported resource types for Direct Connect:

      • dxcon

      • dx-gateway

      • dx-vif

      The following are the supported resource types for Network Manager:

      • connection

      • device

      • link

      • site

      The following are the supported resource types for Amazon VPC:

      • customer-gateway

      • transit-gateway

      • transit-gateway-attachment

      • transit-gateway-connect-peer

      • transit-gateway-route-table

      • vpn-connection

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • NetworkResourceCounts — (Array<map>)

        The count of resources.

        • ResourceType — (String)

          The resource type.

        • Count — (Integer)

          The resource count.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getNetworkResourceRelationships(params = {}, callback) ⇒ AWS.Request

Gets the network resource relationships for the specified global network.

Service Reference:

Examples:

Calling the getNetworkResourceRelationships operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  AccountId: 'STRING_VALUE',
  AwsRegion: 'STRING_VALUE',
  CoreNetworkId: 'STRING_VALUE',
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  RegisteredGatewayArn: 'STRING_VALUE',
  ResourceArn: 'STRING_VALUE',
  ResourceType: 'STRING_VALUE'
};
networkmanager.getNetworkResourceRelationships(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • CoreNetworkId — (String)

      The ID of a core network.

    • RegisteredGatewayArn — (String)

      The ARN of the registered gateway.

    • AwsRegion — (String)

      The Amazon Web Services Region.

    • AccountId — (String)

      The Amazon Web Services account ID.

    • ResourceType — (String)

      The resource type.

      The following are the supported resource types for Direct Connect:

      • dxcon

      • dx-gateway

      • dx-vif

      The following are the supported resource types for Network Manager:

      • connection

      • device

      • link

      • site

      The following are the supported resource types for Amazon VPC:

      • customer-gateway

      • transit-gateway

      • transit-gateway-attachment

      • transit-gateway-connect-peer

      • transit-gateway-route-table

      • vpn-connection

    • ResourceArn — (String)

      The ARN of the gateway.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Relationships — (Array<map>)

        The resource relationships.

        • From — (String)

          The ARN of the resource.

        • To — (String)

          The ARN of the resource.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getNetworkResources(params = {}, callback) ⇒ AWS.Request

Describes the network resources for the specified global network.

The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.

Service Reference:

Examples:

Calling the getNetworkResources operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  AccountId: 'STRING_VALUE',
  AwsRegion: 'STRING_VALUE',
  CoreNetworkId: 'STRING_VALUE',
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  RegisteredGatewayArn: 'STRING_VALUE',
  ResourceArn: 'STRING_VALUE',
  ResourceType: 'STRING_VALUE'
};
networkmanager.getNetworkResources(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • CoreNetworkId — (String)

      The ID of a core network.

    • RegisteredGatewayArn — (String)

      The ARN of the gateway.

    • AwsRegion — (String)

      The Amazon Web Services Region.

    • AccountId — (String)

      The Amazon Web Services account ID.

    • ResourceType — (String)

      The resource type.

      The following are the supported resource types for Direct Connect:

      The following are the supported resource types for Network Manager:

      • connection - The definition model is Connection.

      • device - The definition model is Device.

      • link - The definition model is Link.

      • site - The definition model is Site.

      The following are the supported resource types for Amazon VPC:

    • ResourceArn — (String)

      The ARN of the resource.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • NetworkResources — (Array<map>)

        The network resources.

        • RegisteredGatewayArn — (String)

          The ARN of the gateway.

        • CoreNetworkId — (String)

          The ID of a core network.

        • AwsRegion — (String)

          The Amazon Web Services Region.

        • AccountId — (String)

          The Amazon Web Services account ID.

        • ResourceType — (String)

          The resource type.

          The following are the supported resource types for Direct Connect:

          • dxcon

          • dx-gateway

          • dx-vif

          The following are the supported resource types for Network Manager:

          • connection

          • device

          • link

          • site

          The following are the supported resource types for Amazon VPC:

          • customer-gateway

          • transit-gateway

          • transit-gateway-attachment

          • transit-gateway-connect-peer

          • transit-gateway-route-table

          • vpn-connection

        • ResourceId — (String)

          The ID of the resource.

        • ResourceArn — (String)

          The ARN of the resource.

        • Definition — (String)

          Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

        • DefinitionTimestamp — (Date)

          The time that the resource definition was retrieved.

        • Tags — (Array<map>)

          The tags.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • Metadata — (map<String>)

          The resource metadata.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getNetworkRoutes(params = {}, callback) ⇒ AWS.Request

Gets the network routes of the specified global network.

Service Reference:

Examples:

Calling the getNetworkRoutes operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  RouteTableIdentifier: { /* required */
    CoreNetworkSegmentEdge: {
      CoreNetworkId: 'STRING_VALUE',
      EdgeLocation: 'STRING_VALUE',
      SegmentName: 'STRING_VALUE'
    },
    TransitGatewayRouteTableArn: 'STRING_VALUE'
  },
  DestinationFilters: {
    '<FilterName>': [
      'STRING_VALUE',
      /* more items */
    ],
    /* '<FilterName>': ... */
  },
  ExactCidrMatches: [
    'STRING_VALUE',
    /* more items */
  ],
  LongestPrefixMatches: [
    'STRING_VALUE',
    /* more items */
  ],
  PrefixListIds: [
    'STRING_VALUE',
    /* more items */
  ],
  States: [
    ACTIVE | BLACKHOLE,
    /* more items */
  ],
  SubnetOfMatches: [
    'STRING_VALUE',
    /* more items */
  ],
  SupernetOfMatches: [
    'STRING_VALUE',
    /* more items */
  ],
  Types: [
    PROPAGATED | STATIC,
    /* more items */
  ]
};
networkmanager.getNetworkRoutes(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • RouteTableIdentifier — (map)

      The ID of the route table.

      • TransitGatewayRouteTableArn — (String)

        The ARN of the transit gateway route table for the attachment request. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".

      • CoreNetworkSegmentEdge — (map)

        The segment edge in a core network.

        • CoreNetworkId — (String)

          The ID of a core network.

        • SegmentName — (String)

          The name of the segment edge.

        • EdgeLocation — (String)

          The Region where the segment edge is located.

    • ExactCidrMatches — (Array<String>)

      An exact CIDR block.

    • LongestPrefixMatches — (Array<String>)

      The most specific route that matches the traffic (longest prefix match).

    • SubnetOfMatches — (Array<String>)

      The routes with a subnet that match the specified CIDR filter.

    • SupernetOfMatches — (Array<String>)

      The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.

    • PrefixListIds — (Array<String>)

      The IDs of the prefix lists.

    • States — (Array<String>)

      The route states.

    • Types — (Array<String>)

      The route types.

    • DestinationFilters — (map<Array<String>>)

      Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RouteTableArn — (String)

        The ARN of the route table.

      • CoreNetworkSegmentEdge — (map)

        Describes a core network segment edge.

        • CoreNetworkId — (String)

          The ID of a core network.

        • SegmentName — (String)

          The name of the segment edge.

        • EdgeLocation — (String)

          The Region where the segment edge is located.

      • RouteTableType — (String)

        The route table type.

        Possible values include:
        • "TRANSIT_GATEWAY_ROUTE_TABLE"
        • "CORE_NETWORK_SEGMENT"
      • RouteTableTimestamp — (Date)

        The route table creation time.

      • NetworkRoutes — (Array<map>)

        The network routes.

        • DestinationCidrBlock — (String)

          A unique identifier for the route, such as a CIDR block.

        • Destinations — (Array<map>)

          The destinations.

          • CoreNetworkAttachmentId — (String)

            The ID of a core network attachment.

          • TransitGatewayAttachmentId — (String)

            The ID of the transit gateway attachment.

          • SegmentName — (String)

            The name of the segment.

          • EdgeLocation — (String)

            The edge location for the network destination.

          • ResourceType — (String)

            The resource type.

          • ResourceId — (String)

            The ID of the resource.

        • PrefixListId — (String)

          The ID of the prefix list.

        • State — (String)

          The route state. The possible values are active and blackhole.

          Possible values include:
          • "ACTIVE"
          • "BLACKHOLE"
        • Type — (String)

          The route type. The possible values are propagated and static.

          Possible values include:
          • "PROPAGATED"
          • "STATIC"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getNetworkTelemetry(params = {}, callback) ⇒ AWS.Request

Gets the network telemetry of the specified global network.

Service Reference:

Examples:

Calling the getNetworkTelemetry operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  AccountId: 'STRING_VALUE',
  AwsRegion: 'STRING_VALUE',
  CoreNetworkId: 'STRING_VALUE',
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  RegisteredGatewayArn: 'STRING_VALUE',
  ResourceArn: 'STRING_VALUE',
  ResourceType: 'STRING_VALUE'
};
networkmanager.getNetworkTelemetry(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • CoreNetworkId — (String)

      The ID of a core network.

    • RegisteredGatewayArn — (String)

      The ARN of the gateway.

    • AwsRegion — (String)

      The Amazon Web Services Region.

    • AccountId — (String)

      The Amazon Web Services account ID.

    • ResourceType — (String)

      The resource type.

      The following are the supported resource types for Direct Connect:

      • dxcon

      • dx-gateway

      • dx-vif

      The following are the supported resource types for Network Manager:

      • connection

      • device

      • link

      • site

      The following are the supported resource types for Amazon VPC:

      • customer-gateway

      • transit-gateway

      • transit-gateway-attachment

      • transit-gateway-connect-peer

      • transit-gateway-route-table

      • vpn-connection

    • ResourceArn — (String)

      The ARN of the resource.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • NetworkTelemetry — (Array<map>)

        The network telemetry.

        • RegisteredGatewayArn — (String)

          The ARN of the gateway.

        • CoreNetworkId — (String)

          The ID of a core network.

        • AwsRegion — (String)

          The Amazon Web Services Region.

        • AccountId — (String)

          The Amazon Web Services account ID.

        • ResourceType — (String)

          The resource type.

        • ResourceId — (String)

          The ID of the resource.

        • ResourceArn — (String)

          The ARN of the resource.

        • Address — (String)

          The address.

        • Health — (map)

          The connection health.

          • Type — (String)

            The connection type.

            Possible values include:
            • "BGP"
            • "IPSEC"
          • Status — (String)

            The connection status.

            Possible values include:
            • "UP"
            • "DOWN"
          • Timestamp — (Date)

            The time the status was last updated.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getResourcePolicy(params = {}, callback) ⇒ AWS.Request

Returns information about a resource policy.

Service Reference:

Examples:

Calling the getResourcePolicy operation

var params = {
  ResourceArn: 'STRING_VALUE' /* required */
};
networkmanager.getResourcePolicy(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      The ARN of the resource.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • PolicyDocument — (String)

        The resource policy document.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getRouteAnalysis(params = {}, callback) ⇒ AWS.Request

Gets information about the specified route analysis.

Service Reference:

Examples:

Calling the getRouteAnalysis operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  RouteAnalysisId: 'STRING_VALUE' /* required */
};
networkmanager.getRouteAnalysis(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • RouteAnalysisId — (String)

      The ID of the route analysis.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RouteAnalysis — (map)

        The route analysis.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • OwnerAccountId — (String)

          The ID of the AWS account that created the route analysis.

        • RouteAnalysisId — (String)

          The ID of the route analysis.

        • StartTimestamp — (Date)

          The time that the analysis started.

        • Status — (String)

          The status of the route analysis.

          Possible values include:
          • "RUNNING"
          • "COMPLETED"
          • "FAILED"
        • Source — (map)

          The source.

          • TransitGatewayAttachmentArn — (String)

            The ARN of the transit gateway attachment.

          • TransitGatewayArn — (String)

            The ARN of the transit gateway.

          • IpAddress — (String)

            The IP address.

        • Destination — (map)

          The destination.

          • TransitGatewayAttachmentArn — (String)

            The ARN of the transit gateway attachment.

          • TransitGatewayArn — (String)

            The ARN of the transit gateway.

          • IpAddress — (String)

            The IP address.

        • IncludeReturnPath — (Boolean)

          Indicates whether to analyze the return path. The return path is not analyzed if the forward path analysis does not succeed.

        • UseMiddleboxes — (Boolean)

          Indicates whether to include the location of middlebox appliances in the route analysis.

        • ForwardPath — (map)

          The forward path.

          • CompletionStatus — (map)

            The status of the analysis at completion.

            • ResultCode — (String)

              The result of the analysis. If the status is NOT_CONNECTED, check the reason code.

              Possible values include:
              • "CONNECTED"
              • "NOT_CONNECTED"
            • ReasonCode — (String)

              The reason code. Available only if a connection is not found.

              • BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.

              • CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.

              • INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.

              • MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.

              • ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.

              • TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.

              • TGW_ATTACH_NOT_FOUND - Cannot find an attachment.

              • TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.

              • TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not associated.

              Possible values include:
              • "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND"
              • "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY"
              • "CYCLIC_PATH_DETECTED"
              • "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND"
              • "ROUTE_NOT_FOUND"
              • "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND"
              • "INACTIVE_ROUTE_FOR_DESTINATION_FOUND"
              • "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH"
              • "MAX_HOPS_EXCEEDED"
              • "POSSIBLE_MIDDLEBOX"
              • "NO_DESTINATION_ARN_PROVIDED"
            • ReasonContext — (map<String>)

              Additional information about the path. Available only if a connection is not found.

          • Path — (Array<map>)

            The route analysis path.

            • Sequence — (Integer)

              The sequence number in the path. The destination is 0.

            • Resource — (map)

              The resource.

              • RegisteredGatewayArn — (String)

                The ARN of the gateway.

              • ResourceArn — (String)

                The ARN of the resource.

              • ResourceType — (String)

                The resource type.

              • Definition — (String)

                Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

              • NameTag — (String)

                The value for the Name tag.

              • IsMiddlebox — (Boolean)

                Indicates whether this is a middlebox appliance.

            • DestinationCidrBlock — (String)

              The destination CIDR block in the route table.

        • ReturnPath — (map)

          The return path.

          • CompletionStatus — (map)

            The status of the analysis at completion.

            • ResultCode — (String)

              The result of the analysis. If the status is NOT_CONNECTED, check the reason code.

              Possible values include:
              • "CONNECTED"
              • "NOT_CONNECTED"
            • ReasonCode — (String)

              The reason code. Available only if a connection is not found.

              • BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.

              • CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.

              • INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.

              • MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.

              • ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.

              • TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.

              • TGW_ATTACH_NOT_FOUND - Cannot find an attachment.

              • TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.

              • TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not associated.

              Possible values include:
              • "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND"
              • "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY"
              • "CYCLIC_PATH_DETECTED"
              • "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND"
              • "ROUTE_NOT_FOUND"
              • "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND"
              • "INACTIVE_ROUTE_FOR_DESTINATION_FOUND"
              • "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH"
              • "MAX_HOPS_EXCEEDED"
              • "POSSIBLE_MIDDLEBOX"
              • "NO_DESTINATION_ARN_PROVIDED"
            • ReasonContext — (map<String>)

              Additional information about the path. Available only if a connection is not found.

          • Path — (Array<map>)

            The route analysis path.

            • Sequence — (Integer)

              The sequence number in the path. The destination is 0.

            • Resource — (map)

              The resource.

              • RegisteredGatewayArn — (String)

                The ARN of the gateway.

              • ResourceArn — (String)

                The ARN of the resource.

              • ResourceType — (String)

                The resource type.

              • Definition — (String)

                Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

              • NameTag — (String)

                The value for the Name tag.

              • IsMiddlebox — (Boolean)

                Indicates whether this is a middlebox appliance.

            • DestinationCidrBlock — (String)

              The destination CIDR block in the route table.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getSites(params = {}, callback) ⇒ AWS.Request

Gets information about one or more of your sites in a global network.

Service Reference:

Examples:

Calling the getSites operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SiteIds: [
    'STRING_VALUE',
    /* more items */
  ]
};
networkmanager.getSites(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • SiteIds — (Array<String>)

      One or more site IDs. The maximum is 10.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Sites — (Array<map>)

        The sites.

        • SiteId — (String)

          The ID of the site.

        • SiteArn — (String)

          The Amazon Resource Name (ARN) of the site.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • Description — (String)

          The description of the site.

        • Location — (map)

          The location of the site.

          • Address — (String)

            The physical address.

          • Latitude — (String)

            The latitude.

          • Longitude — (String)

            The longitude.

        • CreatedAt — (Date)

          The date and time that the site was created.

        • State — (String)

          The state of the site.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the site.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getSiteToSiteVpnAttachment(params = {}, callback) ⇒ AWS.Request

Returns information about a site-to-site VPN attachment.

Service Reference:

Examples:

Calling the getSiteToSiteVpnAttachment operation

var params = {
  AttachmentId: 'STRING_VALUE' /* required */
};
networkmanager.getSiteToSiteVpnAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AttachmentId — (String)

      The ID of the attachment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • SiteToSiteVpnAttachment — (map)

        Describes the site-to-site attachment.

        • Attachment — (map)

          Provides details about a site-to-site VPN attachment.

          • CoreNetworkId — (String)

            The ID of a core network.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • AttachmentId — (String)

            The ID of the attachment.

          • OwnerAccountId — (String)

            The ID of the attachment account owner.

          • AttachmentType — (String)

            The type of attachment.

            Possible values include:
            • "CONNECT"
            • "SITE_TO_SITE_VPN"
            • "VPC"
            • "TRANSIT_GATEWAY_ROUTE_TABLE"
          • State — (String)

            The state of the attachment.

            Possible values include:
            • "REJECTED"
            • "PENDING_ATTACHMENT_ACCEPTANCE"
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "UPDATING"
            • "PENDING_NETWORK_UPDATE"
            • "PENDING_TAG_ACCEPTANCE"
            • "DELETING"
          • EdgeLocation — (String)

            The Region where the edge is located.

          • ResourceArn — (String)

            The attachment resource ARN.

          • AttachmentPolicyRuleNumber — (Integer)

            The policy rule number associated with the attachment.

          • SegmentName — (String)

            The name of the segment attachment.

          • Tags — (Array<map>)

            The tags associated with the attachment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • ProposedSegmentChange — (map)

            The attachment to move from one segment to another.

            • Tags — (Array<map>)

              The list of key-value tags that changed for the segment.

              • Key — (String)

                The tag key.

                Constraints: Maximum length of 128 characters.

              • Value — (String)

                The tag value.

                Constraints: Maximum length of 256 characters.

            • AttachmentPolicyRuleNumber — (Integer)

              The rule number in the policy document that applies to this change.

            • SegmentName — (String)

              The name of the segment to change.

          • CreatedAt — (Date)

            The timestamp when the attachment was created.

          • UpdatedAt — (Date)

            The timestamp when the attachment was last updated.

        • VpnConnectionArn — (String)

          The ARN of the site-to-site VPN attachment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getTransitGatewayConnectPeerAssociations(params = {}, callback) ⇒ AWS.Request

Gets information about one or more of your transit gateway Connect peer associations in a global network.

Examples:

Calling the getTransitGatewayConnectPeerAssociations operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  TransitGatewayConnectPeerArns: [
    'STRING_VALUE',
    /* more items */
  ]
};
networkmanager.getTransitGatewayConnectPeerAssociations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • TransitGatewayConnectPeerArns — (Array<String>)

      One or more transit gateway Connect peer Amazon Resource Names (ARNs).

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayConnectPeerAssociations — (Array<map>)

        Information about the transit gateway Connect peer associations.

        • TransitGatewayConnectPeerArn — (String)

          The Amazon Resource Name (ARN) of the transit gateway Connect peer.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the device.

        • LinkId — (String)

          The ID of the link.

        • State — (String)

          The state of the association.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "DELETED"
      • NextToken — (String)

        The token to use for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getTransitGatewayPeering(params = {}, callback) ⇒ AWS.Request

Returns information about a transit gateway peer.

Service Reference:

Examples:

Calling the getTransitGatewayPeering operation

var params = {
  PeeringId: 'STRING_VALUE' /* required */
};
networkmanager.getTransitGatewayPeering(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • PeeringId — (String)

      The ID of the peering request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayPeering — (map)

        Returns information about a transit gateway peering.

        • Peering — (map)

          Describes a transit gateway peer connection.

          • CoreNetworkId — (String)

            The ID of the core network for the peering request.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • PeeringId — (String)

            The ID of the peering attachment.

          • OwnerAccountId — (String)

            The ID of the account owner.

          • PeeringType — (String)

            The type of peering. This will be TRANSIT_GATEWAY.

            Possible values include:
            • "TRANSIT_GATEWAY"
          • State — (String)

            The current state of the peering connection.

            Possible values include:
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "DELETING"
          • EdgeLocation — (String)

            The edge location for the peer.

          • ResourceArn — (String)

            The resource ARN of the peer.

          • Tags — (Array<map>)

            The list of key-value tags associated with the peering.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • CreatedAt — (Date)

            The timestamp when the attachment peer was created.

        • TransitGatewayArn — (String)

          The ARN of the transit gateway.

        • TransitGatewayPeeringAttachmentId — (String)

          The ID of the transit gateway peering attachment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getTransitGatewayRegistrations(params = {}, callback) ⇒ AWS.Request

Gets information about the transit gateway registrations in a specified global network.

Service Reference:

Examples:

Calling the getTransitGatewayRegistrations operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  TransitGatewayArns: [
    'STRING_VALUE',
    /* more items */
  ]
};
networkmanager.getTransitGatewayRegistrations(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • TransitGatewayArns — (Array<String>)

      The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayRegistrations — (Array<map>)

        The transit gateway registrations.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • TransitGatewayArn — (String)

          The Amazon Resource Name (ARN) of the transit gateway.

        • State — (map)

          The state of the transit gateway registration.

          • Code — (String)

            The code for the state reason.

            Possible values include:
            • "PENDING"
            • "AVAILABLE"
            • "DELETING"
            • "DELETED"
            • "FAILED"
          • Message — (String)

            The message for the state reason.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getTransitGatewayRouteTableAttachment(params = {}, callback) ⇒ AWS.Request

Returns information about a transit gateway route table attachment.

Examples:

Calling the getTransitGatewayRouteTableAttachment operation

var params = {
  AttachmentId: 'STRING_VALUE' /* required */
};
networkmanager.getTransitGatewayRouteTableAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AttachmentId — (String)

      The ID of the transit gateway route table attachment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayRouteTableAttachment — (map)

        Returns information about the transit gateway route table attachment.

        • Attachment — (map)

          Describes a core network attachment.

          • CoreNetworkId — (String)

            The ID of a core network.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • AttachmentId — (String)

            The ID of the attachment.

          • OwnerAccountId — (String)

            The ID of the attachment account owner.

          • AttachmentType — (String)

            The type of attachment.

            Possible values include:
            • "CONNECT"
            • "SITE_TO_SITE_VPN"
            • "VPC"
            • "TRANSIT_GATEWAY_ROUTE_TABLE"
          • State — (String)

            The state of the attachment.

            Possible values include:
            • "REJECTED"
            • "PENDING_ATTACHMENT_ACCEPTANCE"
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "UPDATING"
            • "PENDING_NETWORK_UPDATE"
            • "PENDING_TAG_ACCEPTANCE"
            • "DELETING"
          • EdgeLocation — (String)

            The Region where the edge is located.

          • ResourceArn — (String)

            The attachment resource ARN.

          • AttachmentPolicyRuleNumber — (Integer)

            The policy rule number associated with the attachment.

          • SegmentName — (String)

            The name of the segment attachment.

          • Tags — (Array<map>)

            The tags associated with the attachment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • ProposedSegmentChange — (map)

            The attachment to move from one segment to another.

            • Tags — (Array<map>)

              The list of key-value tags that changed for the segment.

              • Key — (String)

                The tag key.

                Constraints: Maximum length of 128 characters.

              • Value — (String)

                The tag value.

                Constraints: Maximum length of 256 characters.

            • AttachmentPolicyRuleNumber — (Integer)

              The rule number in the policy document that applies to this change.

            • SegmentName — (String)

              The name of the segment to change.

          • CreatedAt — (Date)

            The timestamp when the attachment was created.

          • UpdatedAt — (Date)

            The timestamp when the attachment was last updated.

        • PeeringId — (String)

          The ID of the peering attachment.

        • TransitGatewayRouteTableArn — (String)

          The ARN of the transit gateway attachment route table. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getVpcAttachment(params = {}, callback) ⇒ AWS.Request

Returns information about a VPC attachment.

Service Reference:

Examples:

Calling the getVpcAttachment operation

var params = {
  AttachmentId: 'STRING_VALUE' /* required */
};
networkmanager.getVpcAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AttachmentId — (String)

      The ID of the attachment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • VpcAttachment — (map)

        Returns details about a VPC attachment.

        • Attachment — (map)

          Provides details about the VPC attachment.

          • CoreNetworkId — (String)

            The ID of a core network.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • AttachmentId — (String)

            The ID of the attachment.

          • OwnerAccountId — (String)

            The ID of the attachment account owner.

          • AttachmentType — (String)

            The type of attachment.

            Possible values include:
            • "CONNECT"
            • "SITE_TO_SITE_VPN"
            • "VPC"
            • "TRANSIT_GATEWAY_ROUTE_TABLE"
          • State — (String)

            The state of the attachment.

            Possible values include:
            • "REJECTED"
            • "PENDING_ATTACHMENT_ACCEPTANCE"
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "UPDATING"
            • "PENDING_NETWORK_UPDATE"
            • "PENDING_TAG_ACCEPTANCE"
            • "DELETING"
          • EdgeLocation — (String)

            The Region where the edge is located.

          • ResourceArn — (String)

            The attachment resource ARN.

          • AttachmentPolicyRuleNumber — (Integer)

            The policy rule number associated with the attachment.

          • SegmentName — (String)

            The name of the segment attachment.

          • Tags — (Array<map>)

            The tags associated with the attachment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • ProposedSegmentChange — (map)

            The attachment to move from one segment to another.

            • Tags — (Array<map>)

              The list of key-value tags that changed for the segment.

              • Key — (String)

                The tag key.

                Constraints: Maximum length of 128 characters.

              • Value — (String)

                The tag value.

                Constraints: Maximum length of 256 characters.

            • AttachmentPolicyRuleNumber — (Integer)

              The rule number in the policy document that applies to this change.

            • SegmentName — (String)

              The name of the segment to change.

          • CreatedAt — (Date)

            The timestamp when the attachment was created.

          • UpdatedAt — (Date)

            The timestamp when the attachment was last updated.

        • SubnetArns — (Array<String>)

          The subnet ARNs.

        • Options — (map)

          Provides details about the VPC attachment.

          • Ipv6Support — (Boolean)

            Indicates whether IPv6 is supported.

          • ApplianceModeSupport — (Boolean)

            Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listAttachments(params = {}, callback) ⇒ AWS.Request

Returns a list of core network attachments.

Service Reference:

Examples:

Calling the listAttachments operation

var params = {
  AttachmentType: CONNECT | SITE_TO_SITE_VPN | VPC | TRANSIT_GATEWAY_ROUTE_TABLE,
  CoreNetworkId: 'STRING_VALUE',
  EdgeLocation: 'STRING_VALUE',
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  State: REJECTED | PENDING_ATTACHMENT_ACCEPTANCE | CREATING | FAILED | AVAILABLE | UPDATING | PENDING_NETWORK_UPDATE | PENDING_TAG_ACCEPTANCE | DELETING
};
networkmanager.listAttachments(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • AttachmentType — (String)

      The type of attachment.

      Possible values include:
      • "CONNECT"
      • "SITE_TO_SITE_VPN"
      • "VPC"
      • "TRANSIT_GATEWAY_ROUTE_TABLE"
    • EdgeLocation — (String)

      The Region where the edge is located.

    • State — (String)

      The state of the attachment.

      Possible values include:
      • "REJECTED"
      • "PENDING_ATTACHMENT_ACCEPTANCE"
      • "CREATING"
      • "FAILED"
      • "AVAILABLE"
      • "UPDATING"
      • "PENDING_NETWORK_UPDATE"
      • "PENDING_TAG_ACCEPTANCE"
      • "DELETING"
    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Attachments — (Array<map>)

        Describes the list of attachments.

        • CoreNetworkId — (String)

          The ID of a core network.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • AttachmentId — (String)

          The ID of the attachment.

        • OwnerAccountId — (String)

          The ID of the attachment account owner.

        • AttachmentType — (String)

          The type of attachment.

          Possible values include:
          • "CONNECT"
          • "SITE_TO_SITE_VPN"
          • "VPC"
          • "TRANSIT_GATEWAY_ROUTE_TABLE"
        • State — (String)

          The state of the attachment.

          Possible values include:
          • "REJECTED"
          • "PENDING_ATTACHMENT_ACCEPTANCE"
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "UPDATING"
          • "PENDING_NETWORK_UPDATE"
          • "PENDING_TAG_ACCEPTANCE"
          • "DELETING"
        • EdgeLocation — (String)

          The Region where the edge is located.

        • ResourceArn — (String)

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber — (Integer)

          The policy rule number associated with the attachment.

        • SegmentName — (String)

          The name of the segment attachment.

        • Tags — (Array<map>)

          The tags associated with the attachment.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • ProposedSegmentChange — (map)

          The attachment to move from one segment to another.

          • Tags — (Array<map>)

            The list of key-value tags that changed for the segment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • AttachmentPolicyRuleNumber — (Integer)

            The rule number in the policy document that applies to this change.

          • SegmentName — (String)

            The name of the segment to change.

        • CreatedAt — (Date)

          The timestamp when the attachment was created.

        • UpdatedAt — (Date)

          The timestamp when the attachment was last updated.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listConnectPeers(params = {}, callback) ⇒ AWS.Request

Returns a list of core network Connect peers.

Service Reference:

Examples:

Calling the listConnectPeers operation

var params = {
  ConnectAttachmentId: 'STRING_VALUE',
  CoreNetworkId: 'STRING_VALUE',
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.listConnectPeers(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • ConnectAttachmentId — (String)

      The ID of the attachment.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ConnectPeers — (Array<map>)

        Describes the Connect peers.

        • CoreNetworkId — (String)

          The ID of a core network.

        • ConnectAttachmentId — (String)

          The ID of a Connect peer attachment.

        • ConnectPeerId — (String)

          The ID of a Connect peer.

        • EdgeLocation — (String)

          The Region where the edge is located.

        • ConnectPeerState — (String)

          The state of a Connect peer.

          Possible values include:
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "DELETING"
        • CreatedAt — (Date)

          The timestamp when a Connect peer was created.

        • Tags — (Array<map>)

          The list of key-value tags associated with the Connect peer summary.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • SubnetArn — (String)

          The subnet ARN for the Connect peer summary.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listCoreNetworkPolicyVersions(params = {}, callback) ⇒ AWS.Request

Returns a list of core network policy versions.

Service Reference:

Examples:

Calling the listCoreNetworkPolicyVersions operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.listCoreNetworkPolicyVersions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetworkPolicyVersions — (Array<map>)

        Describes core network policy versions.

        • CoreNetworkId — (String)

          The ID of a core network.

        • PolicyVersionId — (Integer)

          The ID of the policy version.

        • Alias — (String)

          Whether a core network policy is the current policy or the most recently submitted policy.

          Possible values include:
          • "LIVE"
          • "LATEST"
        • Description — (String)

          The description of a core network policy version.

        • CreatedAt — (Date)

          The timestamp when a core network policy version was created.

        • ChangeSetState — (String)

          The status of the policy version change set.

          Possible values include:
          • "PENDING_GENERATION"
          • "FAILED_GENERATION"
          • "READY_TO_EXECUTE"
          • "EXECUTING"
          • "EXECUTION_SUCCEEDED"
          • "OUT_OF_DATE"
      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listCoreNetworks(params = {}, callback) ⇒ AWS.Request

Returns a list of owned and shared core networks.

Service Reference:

Examples:

Calling the listCoreNetworks operation

var params = {
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.listCoreNetworks(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetworks — (Array<map>)

        Describes the list of core networks.

        • CoreNetworkId — (String)

          The ID of a core network.

        • CoreNetworkArn — (String)

          a core network ARN.

        • GlobalNetworkId — (String)

          The global network ID.

        • OwnerAccountId — (String)

          The ID of the account owner.

        • State — (String)

          The state of a core network.

          Possible values include:
          • "CREATING"
          • "UPDATING"
          • "AVAILABLE"
          • "DELETING"
        • Description — (String)

          The description of a core network.

        • Tags — (Array<map>)

          The key-value tags associated with a core network summary.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listOrganizationServiceAccessStatus(params = {}, callback) ⇒ AWS.Request

Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.

Examples:

Calling the listOrganizationServiceAccessStatus operation

var params = {
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
networkmanager.listOrganizationServiceAccessStatus(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • OrganizationStatus — (map)

        Displays the status of an Amazon Web Services Organization.

        • OrganizationId — (String)

          The ID of an Amazon Web Services Organization.

        • OrganizationAwsServiceAccessStatus — (String)

          The status of the organization's AWS service access. This will be ENABLED or DISABLED.

        • SLRDeploymentStatus — (String)

          The status of the SLR deployment for the account. This will be either SUCCEEDED or IN_PROGRESS.

        • AccountStatusList — (Array<map>)

          The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either SUCCEEDED or IN_PROGRESS.

          • AccountId — (String)

            The ID of an account within the Amazon Web Services Organization.

          • SLRDeploymentStatus — (String)

            The status of SLR deployment for the account.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listPeerings(params = {}, callback) ⇒ AWS.Request

Lists the peerings for a core network.

Service Reference:

Examples:

Calling the listPeerings operation

var params = {
  CoreNetworkId: 'STRING_VALUE',
  EdgeLocation: 'STRING_VALUE',
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  PeeringType: TRANSIT_GATEWAY,
  State: CREATING | FAILED | AVAILABLE | DELETING
};
networkmanager.listPeerings(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • PeeringType — (String)

      Returns a list of a peering requests.

      Possible values include:
      • "TRANSIT_GATEWAY"
    • EdgeLocation — (String)

      Returns a list edge locations for the

    • State — (String)

      Returns a list of the peering request states.

      Possible values include:
      • "CREATING"
      • "FAILED"
      • "AVAILABLE"
      • "DELETING"
    • MaxResults — (Integer)

      The maximum number of results to return.

    • NextToken — (String)

      The token for the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Peerings — (Array<map>)

        Lists the transit gateway peerings for the ListPeerings request.

        • CoreNetworkId — (String)

          The ID of the core network for the peering request.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • PeeringId — (String)

          The ID of the peering attachment.

        • OwnerAccountId — (String)

          The ID of the account owner.

        • PeeringType — (String)

          The type of peering. This will be TRANSIT_GATEWAY.

          Possible values include:
          • "TRANSIT_GATEWAY"
        • State — (String)

          The current state of the peering connection.

          Possible values include:
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "DELETING"
        • EdgeLocation — (String)

          The edge location for the peer.

        • ResourceArn — (String)

          The resource ARN of the peer.

        • Tags — (Array<map>)

          The list of key-value tags associated with the peering.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • CreatedAt — (Date)

          The timestamp when the attachment peer was created.

      • NextToken — (String)

        The token for the next page of results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTagsForResource(params = {}, callback) ⇒ AWS.Request

Lists the tags for a specified resource.

Service Reference:

Examples:

Calling the listTagsForResource operation

var params = {
  ResourceArn: 'STRING_VALUE' /* required */
};
networkmanager.listTagsForResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      The Amazon Resource Name (ARN) of the resource.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TagList — (Array<map>)

        The list of tags.

        • Key — (String)

          The tag key.

          Constraints: Maximum length of 128 characters.

        • Value — (String)

          The tag value.

          Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

putCoreNetworkPolicy(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the putCoreNetworkPolicy operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  PolicyDocument: any /* This value will be JSON encoded on your behalf with JSON.stringify() */, /* required */
  ClientToken: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  LatestVersionId: 'NUMBER_VALUE'
};
networkmanager.putCoreNetworkPolicy(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • PolicyDocument — (String)

      The policy document.

    • Description — (String)

      a core network policy description.

    • LatestVersionId — (Integer)

      The ID of a core network policy.

    • ClientToken — (String)

      The client token associated with the request.

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetworkPolicy — (map)

        Describes the changed core network policy.

        • CoreNetworkId — (String)

          The ID of a core network.

        • PolicyVersionId — (Integer)

          The ID of the policy version.

        • Alias — (String)

          Whether a core network policy is the current LIVE policy or the most recently submitted policy.

          Possible values include:
          • "LIVE"
          • "LATEST"
        • Description — (String)

          The description of a core network policy.

        • CreatedAt — (Date)

          The timestamp when a core network policy was created.

        • ChangeSetState — (String)

          The state of a core network policy.

          Possible values include:
          • "PENDING_GENERATION"
          • "FAILED_GENERATION"
          • "READY_TO_EXECUTE"
          • "EXECUTING"
          • "EXECUTION_SUCCEEDED"
          • "OUT_OF_DATE"
        • PolicyErrors — (Array<map>)

          Describes any errors in a core network policy.

          • ErrorCoderequired — (String)

            The error code associated with a core network policy error.

          • Messagerequired — (String)

            The message associated with a core network policy error code.

          • Path — (String)

            The JSON path where the error was discovered in the policy document.

        • PolicyDocument — (String)

          Describes a core network policy.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

putResourcePolicy(params = {}, callback) ⇒ AWS.Request

Creates or updates a resource policy.

Service Reference:

Examples:

Calling the putResourcePolicy operation

var params = {
  PolicyDocument: any /* This value will be JSON encoded on your behalf with JSON.stringify() */, /* required */
  ResourceArn: 'STRING_VALUE' /* required */
};
networkmanager.putResourcePolicy(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • PolicyDocument — (String)

      The JSON resource policy document.

    • ResourceArn — (String)

      The ARN of the resource policy.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

registerTransitGateway(params = {}, callback) ⇒ AWS.Request

Registers a transit gateway in your global network. Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the Amazon Web Services Transit Gateways for Global Networks User Guide. The transit gateway can be in any of the supported Amazon Web Services Regions, but it must be owned by the same Amazon Web Services account that owns the global network. You cannot register a transit gateway in more than one global network.

Service Reference:

Examples:

Calling the registerTransitGateway operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  TransitGatewayArn: 'STRING_VALUE' /* required */
};
networkmanager.registerTransitGateway(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • TransitGatewayArn — (String)

      The Amazon Resource Name (ARN) of the transit gateway.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TransitGatewayRegistration — (map)

        Information about the transit gateway registration.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • TransitGatewayArn — (String)

          The Amazon Resource Name (ARN) of the transit gateway.

        • State — (map)

          The state of the transit gateway registration.

          • Code — (String)

            The code for the state reason.

            Possible values include:
            • "PENDING"
            • "AVAILABLE"
            • "DELETING"
            • "DELETED"
            • "FAILED"
          • Message — (String)

            The message for the state reason.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

rejectAttachment(params = {}, callback) ⇒ AWS.Request

Rejects a core network attachment request.

Service Reference:

Examples:

Calling the rejectAttachment operation

var params = {
  AttachmentId: 'STRING_VALUE' /* required */
};
networkmanager.rejectAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AttachmentId — (String)

      The ID of the attachment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Attachment — (map)

        Describes the rejected attachment request.

        • CoreNetworkId — (String)

          The ID of a core network.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • AttachmentId — (String)

          The ID of the attachment.

        • OwnerAccountId — (String)

          The ID of the attachment account owner.

        • AttachmentType — (String)

          The type of attachment.

          Possible values include:
          • "CONNECT"
          • "SITE_TO_SITE_VPN"
          • "VPC"
          • "TRANSIT_GATEWAY_ROUTE_TABLE"
        • State — (String)

          The state of the attachment.

          Possible values include:
          • "REJECTED"
          • "PENDING_ATTACHMENT_ACCEPTANCE"
          • "CREATING"
          • "FAILED"
          • "AVAILABLE"
          • "UPDATING"
          • "PENDING_NETWORK_UPDATE"
          • "PENDING_TAG_ACCEPTANCE"
          • "DELETING"
        • EdgeLocation — (String)

          The Region where the edge is located.

        • ResourceArn — (String)

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber — (Integer)

          The policy rule number associated with the attachment.

        • SegmentName — (String)

          The name of the segment attachment.

        • Tags — (Array<map>)

          The tags associated with the attachment.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

        • ProposedSegmentChange — (map)

          The attachment to move from one segment to another.

          • Tags — (Array<map>)

            The list of key-value tags that changed for the segment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • AttachmentPolicyRuleNumber — (Integer)

            The rule number in the policy document that applies to this change.

          • SegmentName — (String)

            The name of the segment to change.

        • CreatedAt — (Date)

          The timestamp when the attachment was created.

        • UpdatedAt — (Date)

          The timestamp when the attachment was last updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

restoreCoreNetworkPolicyVersion(params = {}, callback) ⇒ AWS.Request

Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.

Service Reference:

Examples:

Calling the restoreCoreNetworkPolicyVersion operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  PolicyVersionId: 'NUMBER_VALUE' /* required */
};
networkmanager.restoreCoreNetworkPolicyVersion(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • PolicyVersionId — (Integer)

      The ID of the policy version to restore.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetworkPolicy — (map)

        Describes the restored core network policy.

        • CoreNetworkId — (String)

          The ID of a core network.

        • PolicyVersionId — (Integer)

          The ID of the policy version.

        • Alias — (String)

          Whether a core network policy is the current LIVE policy or the most recently submitted policy.

          Possible values include:
          • "LIVE"
          • "LATEST"
        • Description — (String)

          The description of a core network policy.

        • CreatedAt — (Date)

          The timestamp when a core network policy was created.

        • ChangeSetState — (String)

          The state of a core network policy.

          Possible values include:
          • "PENDING_GENERATION"
          • "FAILED_GENERATION"
          • "READY_TO_EXECUTE"
          • "EXECUTING"
          • "EXECUTION_SUCCEEDED"
          • "OUT_OF_DATE"
        • PolicyErrors — (Array<map>)

          Describes any errors in a core network policy.

          • ErrorCoderequired — (String)

            The error code associated with a core network policy error.

          • Messagerequired — (String)

            The message associated with a core network policy error code.

          • Path — (String)

            The JSON path where the error was discovered in the policy document.

        • PolicyDocument — (String)

          Describes a core network policy.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startOrganizationServiceAccessUpdate(params = {}, callback) ⇒ AWS.Request

Enables the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.

Examples:

Calling the startOrganizationServiceAccessUpdate operation

var params = {
  Action: 'STRING_VALUE' /* required */
};
networkmanager.startOrganizationServiceAccessUpdate(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Action — (String)

      The action to take for the update request. This can be either ENABLE or DISABLE.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • OrganizationStatus — (map)

        The status of the service access update request for an Amazon Web Services Organization.

        • OrganizationId — (String)

          The ID of an Amazon Web Services Organization.

        • OrganizationAwsServiceAccessStatus — (String)

          The status of the organization's AWS service access. This will be ENABLED or DISABLED.

        • SLRDeploymentStatus — (String)

          The status of the SLR deployment for the account. This will be either SUCCEEDED or IN_PROGRESS.

        • AccountStatusList — (Array<map>)

          The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either SUCCEEDED or IN_PROGRESS.

          • AccountId — (String)

            The ID of an account within the Amazon Web Services Organization.

          • SLRDeploymentStatus — (String)

            The status of SLR deployment for the account.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startRouteAnalysis(params = {}, callback) ⇒ AWS.Request

Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.

Service Reference:

Examples:

Calling the startRouteAnalysis operation

var params = {
  Destination: { /* required */
    IpAddress: 'STRING_VALUE',
    TransitGatewayAttachmentArn: 'STRING_VALUE'
  },
  GlobalNetworkId: 'STRING_VALUE', /* required */
  Source: { /* required */
    IpAddress: 'STRING_VALUE',
    TransitGatewayAttachmentArn: 'STRING_VALUE'
  },
  IncludeReturnPath: true || false,
  UseMiddleboxes: true || false
};
networkmanager.startRouteAnalysis(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • Source — (map)

      The source from which traffic originates.

      • TransitGatewayAttachmentArn — (String)

        The ARN of the transit gateway attachment.

      • IpAddress — (String)

        The IP address.

    • Destination — (map)

      The destination.

      • TransitGatewayAttachmentArn — (String)

        The ARN of the transit gateway attachment.

      • IpAddress — (String)

        The IP address.

    • IncludeReturnPath — (Boolean)

      Indicates whether to analyze the return path. The default is false.

    • UseMiddleboxes — (Boolean)

      Indicates whether to include the location of middlebox appliances in the route analysis. The default is false.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RouteAnalysis — (map)

        The route analysis.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • OwnerAccountId — (String)

          The ID of the AWS account that created the route analysis.

        • RouteAnalysisId — (String)

          The ID of the route analysis.

        • StartTimestamp — (Date)

          The time that the analysis started.

        • Status — (String)

          The status of the route analysis.

          Possible values include:
          • "RUNNING"
          • "COMPLETED"
          • "FAILED"
        • Source — (map)

          The source.

          • TransitGatewayAttachmentArn — (String)

            The ARN of the transit gateway attachment.

          • TransitGatewayArn — (String)

            The ARN of the transit gateway.

          • IpAddress — (String)

            The IP address.

        • Destination — (map)

          The destination.

          • TransitGatewayAttachmentArn — (String)

            The ARN of the transit gateway attachment.

          • TransitGatewayArn — (String)

            The ARN of the transit gateway.

          • IpAddress — (String)

            The IP address.

        • IncludeReturnPath — (Boolean)

          Indicates whether to analyze the return path. The return path is not analyzed if the forward path analysis does not succeed.

        • UseMiddleboxes — (Boolean)

          Indicates whether to include the location of middlebox appliances in the route analysis.

        • ForwardPath — (map)

          The forward path.

          • CompletionStatus — (map)

            The status of the analysis at completion.

            • ResultCode — (String)

              The result of the analysis. If the status is NOT_CONNECTED, check the reason code.

              Possible values include:
              • "CONNECTED"
              • "NOT_CONNECTED"
            • ReasonCode — (String)

              The reason code. Available only if a connection is not found.

              • BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.

              • CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.

              • INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.

              • MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.

              • ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.

              • TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.

              • TGW_ATTACH_NOT_FOUND - Cannot find an attachment.

              • TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.

              • TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not associated.

              Possible values include:
              • "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND"
              • "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY"
              • "CYCLIC_PATH_DETECTED"
              • "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND"
              • "ROUTE_NOT_FOUND"
              • "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND"
              • "INACTIVE_ROUTE_FOR_DESTINATION_FOUND"
              • "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH"
              • "MAX_HOPS_EXCEEDED"
              • "POSSIBLE_MIDDLEBOX"
              • "NO_DESTINATION_ARN_PROVIDED"
            • ReasonContext — (map<String>)

              Additional information about the path. Available only if a connection is not found.

          • Path — (Array<map>)

            The route analysis path.

            • Sequence — (Integer)

              The sequence number in the path. The destination is 0.

            • Resource — (map)

              The resource.

              • RegisteredGatewayArn — (String)

                The ARN of the gateway.

              • ResourceArn — (String)

                The ARN of the resource.

              • ResourceType — (String)

                The resource type.

              • Definition — (String)

                Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

              • NameTag — (String)

                The value for the Name tag.

              • IsMiddlebox — (Boolean)

                Indicates whether this is a middlebox appliance.

            • DestinationCidrBlock — (String)

              The destination CIDR block in the route table.

        • ReturnPath — (map)

          The return path.

          • CompletionStatus — (map)

            The status of the analysis at completion.

            • ResultCode — (String)

              The result of the analysis. If the status is NOT_CONNECTED, check the reason code.

              Possible values include:
              • "CONNECTED"
              • "NOT_CONNECTED"
            • ReasonCode — (String)

              The reason code. Available only if a connection is not found.

              • BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.

              • CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.

              • INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.

              • MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.

              • ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.

              • TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.

              • TGW_ATTACH_NOT_FOUND - Cannot find an attachment.

              • TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.

              • TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not associated.

              Possible values include:
              • "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND"
              • "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY"
              • "CYCLIC_PATH_DETECTED"
              • "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND"
              • "ROUTE_NOT_FOUND"
              • "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND"
              • "INACTIVE_ROUTE_FOR_DESTINATION_FOUND"
              • "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH"
              • "MAX_HOPS_EXCEEDED"
              • "POSSIBLE_MIDDLEBOX"
              • "NO_DESTINATION_ARN_PROVIDED"
            • ReasonContext — (map<String>)

              Additional information about the path. Available only if a connection is not found.

          • Path — (Array<map>)

            The route analysis path.

            • Sequence — (Integer)

              The sequence number in the path. The destination is 0.

            • Resource — (map)

              The resource.

              • RegisteredGatewayArn — (String)

                The ARN of the gateway.

              • ResourceArn — (String)

                The ARN of the resource.

              • ResourceType — (String)

                The resource type.

              • Definition — (String)

                Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

              • NameTag — (String)

                The value for the Name tag.

              • IsMiddlebox — (Boolean)

                Indicates whether this is a middlebox appliance.

            • DestinationCidrBlock — (String)

              The destination CIDR block in the route table.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

tagResource(params = {}, callback) ⇒ AWS.Request

Tags a specified resource.

Service Reference:

Examples:

Calling the tagResource operation

var params = {
  ResourceArn: 'STRING_VALUE', /* required */
  Tags: [ /* required */
    {
      Key: 'STRING_VALUE',
      Value: 'STRING_VALUE'
    },
    /* more items */
  ]
};
networkmanager.tagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      The Amazon Resource Name (ARN) of the resource.

    • Tags — (Array<map>)

      The tags to apply to the specified resource.

      • Key — (String)

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value — (String)

        The tag value.

        Constraints: Maximum length of 256 characters.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

untagResource(params = {}, callback) ⇒ AWS.Request

Removes tags from a specified resource.

Service Reference:

Examples:

Calling the untagResource operation

var params = {
  ResourceArn: 'STRING_VALUE', /* required */
  TagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
networkmanager.untagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      The Amazon Resource Name (ARN) of the resource.

    • TagKeys — (Array<String>)

      The tag keys to remove from the specified resource.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateConnection(params = {}, callback) ⇒ AWS.Request

Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.

Service Reference:

Examples:

Calling the updateConnection operation

var params = {
  ConnectionId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE', /* required */
  ConnectedLinkId: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  LinkId: 'STRING_VALUE'
};
networkmanager.updateConnection(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • ConnectionId — (String)

      The ID of the connection.

    • LinkId — (String)

      The ID of the link for the first device in the connection.

    • ConnectedLinkId — (String)

      The ID of the link for the second device in the connection.

    • Description — (String)

      A description of the connection.

      Length Constraints: Maximum length of 256 characters.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Connection — (map)

        Information about the connection.

        • ConnectionId — (String)

          The ID of the connection.

        • ConnectionArn — (String)

          The Amazon Resource Name (ARN) of the connection.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • DeviceId — (String)

          The ID of the first device in the connection.

        • ConnectedDeviceId — (String)

          The ID of the second device in the connection.

        • LinkId — (String)

          The ID of the link for the first device in the connection.

        • ConnectedLinkId — (String)

          The ID of the link for the second device in the connection.

        • Description — (String)

          The description of the connection.

        • CreatedAt — (Date)

          The date and time that the connection was created.

        • State — (String)

          The state of the connection.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the connection.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateCoreNetwork(params = {}, callback) ⇒ AWS.Request

Updates the description of a core network.

Service Reference:

Examples:

Calling the updateCoreNetwork operation

var params = {
  CoreNetworkId: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE'
};
networkmanager.updateCoreNetwork(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CoreNetworkId — (String)

      The ID of a core network.

    • Description — (String)

      The description of the update.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CoreNetwork — (map)

        Returns information about a core network update.

        • GlobalNetworkId — (String)

          The ID of the global network that your core network is a part of.

        • CoreNetworkId — (String)

          The ID of a core network.

        • CoreNetworkArn — (String)

          The ARN of a core network.

        • Description — (String)

          The description of a core network.

        • CreatedAt — (Date)

          The timestamp when a core network was created.

        • State — (String)

          The current state of a core network.

          Possible values include:
          • "CREATING"
          • "UPDATING"
          • "AVAILABLE"
          • "DELETING"
        • Segments — (Array<map>)

          The segments within a core network.

          • Name — (String)

            The name of a core network segment.

          • EdgeLocations — (Array<String>)

            The Regions where the edges are located.

          • SharedSegments — (Array<String>)

            The shared segments of a core network.

        • Edges — (Array<map>)

          The edges within a core network.

          • EdgeLocation — (String)

            The Region where a core network edge is located.

          • Asn — (Integer)

            The ASN of a core network edge.

          • InsideCidrBlocks — (Array<String>)

            The inside IP addresses used for core network edges.

        • Tags — (Array<map>)

          The list of key-value tags associated with a core network.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateDevice(params = {}, callback) ⇒ AWS.Request

Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.

Service Reference:

Examples:

Calling the updateDevice operation

var params = {
  DeviceId: 'STRING_VALUE', /* required */
  GlobalNetworkId: 'STRING_VALUE', /* required */
  AWSLocation: {
    SubnetArn: 'STRING_VALUE',
    Zone: 'STRING_VALUE'
  },
  Description: 'STRING_VALUE',
  Location: {
    Address: 'STRING_VALUE',
    Latitude: 'STRING_VALUE',
    Longitude: 'STRING_VALUE'
  },
  Model: 'STRING_VALUE',
  SerialNumber: 'STRING_VALUE',
  SiteId: 'STRING_VALUE',
  Type: 'STRING_VALUE',
  Vendor: 'STRING_VALUE'
};
networkmanager.updateDevice(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • DeviceId — (String)

      The ID of the device.

    • AWSLocation — (map)

      The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.

      • Zone — (String)

        The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

      • SubnetArn — (String)

        The Amazon Resource Name (ARN) of the subnet that the device is located in.

    • Description — (String)

      A description of the device.

      Constraints: Maximum length of 256 characters.

    • Type — (String)

      The type of the device.

    • Vendor — (String)

      The vendor of the device.

      Constraints: Maximum length of 128 characters.

    • Model — (String)

      The model of the device.

      Constraints: Maximum length of 128 characters.

    • SerialNumber — (String)

      The serial number of the device.

      Constraints: Maximum length of 128 characters.

    • Location — (map)

      Describes a location.

      • Address — (String)

        The physical address.

      • Latitude — (String)

        The latitude.

      • Longitude — (String)

        The longitude.

    • SiteId — (String)

      The ID of the site.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Device — (map)

        Information about the device.

        • DeviceId — (String)

          The ID of the device.

        • DeviceArn — (String)

          The Amazon Resource Name (ARN) of the device.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • AWSLocation — (map)

          The Amazon Web Services location of the device.

          • Zone — (String)

            The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

          • SubnetArn — (String)

            The Amazon Resource Name (ARN) of the subnet that the device is located in.

        • Description — (String)

          The description of the device.

        • Type — (String)

          The device type.

        • Vendor — (String)

          The device vendor.

        • Model — (String)

          The device model.

        • SerialNumber — (String)

          The device serial number.

        • Location — (map)

          The site location.

          • Address — (String)

            The physical address.

          • Latitude — (String)

            The latitude.

          • Longitude — (String)

            The longitude.

        • SiteId — (String)

          The site ID.

        • CreatedAt — (Date)

          The date and time that the site was created.

        • State — (String)

          The device state.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the device.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateGlobalNetwork(params = {}, callback) ⇒ AWS.Request

Updates an existing global network. To remove information for any of the parameters, specify an empty string.

Service Reference:

Examples:

Calling the updateGlobalNetwork operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE'
};
networkmanager.updateGlobalNetwork(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of your global network.

    • Description — (String)

      A description of the global network.

      Constraints: Maximum length of 256 characters.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • GlobalNetwork — (map)

        Information about the global network object.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • GlobalNetworkArn — (String)

          The Amazon Resource Name (ARN) of the global network.

        • Description — (String)

          The description of the global network.

        • CreatedAt — (Date)

          The date and time that the global network was created.

        • State — (String)

          The state of the global network.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the global network.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.

Service Reference:

Examples:

Calling the updateLink operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  LinkId: 'STRING_VALUE', /* required */
  Bandwidth: {
    DownloadSpeed: 'NUMBER_VALUE',
    UploadSpeed: 'NUMBER_VALUE'
  },
  Description: 'STRING_VALUE',
  Provider: 'STRING_VALUE',
  Type: 'STRING_VALUE'
};
networkmanager.updateLink(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • LinkId — (String)

      The ID of the link.

    • Description — (String)

      A description of the link.

      Constraints: Maximum length of 256 characters.

    • Type — (String)

      The type of the link.

      Constraints: Maximum length of 128 characters.

    • Bandwidth — (map)

      The upload and download speed in Mbps.

      • UploadSpeed — (Integer)

        Upload speed in Mbps.

      • DownloadSpeed — (Integer)

        Download speed in Mbps.

    • Provider — (String)

      The provider of the link.

      Constraints: Maximum length of 128 characters.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Link — (map)

        Information about the link.

        • LinkId — (String)

          The ID of the link.

        • LinkArn — (String)

          The Amazon Resource Name (ARN) of the link.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • SiteId — (String)

          The ID of the site.

        • Description — (String)

          The description of the link.

        • Type — (String)

          The type of the link.

        • Bandwidth — (map)

          The bandwidth for the link.

          • UploadSpeed — (Integer)

            Upload speed in Mbps.

          • DownloadSpeed — (Integer)

            Download speed in Mbps.

        • Provider — (String)

          The provider of the link.

        • CreatedAt — (Date)

          The date and time that the link was created.

        • State — (String)

          The state of the link.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the link.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateNetworkResourceMetadata(params = {}, callback) ⇒ AWS.Request

Updates the resource metadata for the specified global network.

Service Reference:

Examples:

Calling the updateNetworkResourceMetadata operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  Metadata: { /* required */
    '<ConstrainedString>': 'STRING_VALUE',
    /* '<ConstrainedString>': ... */
  },
  ResourceArn: 'STRING_VALUE' /* required */
};
networkmanager.updateNetworkResourceMetadata(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • ResourceArn — (String)

      The ARN of the resource.

    • Metadata — (map<String>)

      The resource metadata.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ResourceArn — (String)

        The ARN of the resource.

      • Metadata — (map<String>)

        The updated resource metadata.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateSite(params = {}, callback) ⇒ AWS.Request

Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.

Service Reference:

Examples:

Calling the updateSite operation

var params = {
  GlobalNetworkId: 'STRING_VALUE', /* required */
  SiteId: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  Location: {
    Address: 'STRING_VALUE',
    Latitude: 'STRING_VALUE',
    Longitude: 'STRING_VALUE'
  }
};
networkmanager.updateSite(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GlobalNetworkId — (String)

      The ID of the global network.

    • SiteId — (String)

      The ID of your site.

    • Description — (String)

      A description of your site.

      Constraints: Maximum length of 256 characters.

    • Location — (map)

      The site location:

      • Address: The physical address of the site.

      • Latitude: The latitude of the site.

      • Longitude: The longitude of the site.

      • Address — (String)

        The physical address.

      • Latitude — (String)

        The latitude.

      • Longitude — (String)

        The longitude.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Site — (map)

        Information about the site.

        • SiteId — (String)

          The ID of the site.

        • SiteArn — (String)

          The Amazon Resource Name (ARN) of the site.

        • GlobalNetworkId — (String)

          The ID of the global network.

        • Description — (String)

          The description of the site.

        • Location — (map)

          The location of the site.

          • Address — (String)

            The physical address.

          • Latitude — (String)

            The latitude.

          • Longitude — (String)

            The longitude.

        • CreatedAt — (Date)

          The date and time that the site was created.

        • State — (String)

          The state of the site.

          Possible values include:
          • "PENDING"
          • "AVAILABLE"
          • "DELETING"
          • "UPDATING"
        • Tags — (Array<map>)

          The tags for the site.

          • Key — (String)

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value — (String)

            The tag value.

            Constraints: Maximum length of 256 characters.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateVpcAttachment(params = {}, callback) ⇒ AWS.Request

Updates a VPC attachment.

Service Reference:

Examples:

Calling the updateVpcAttachment operation

var params = {
  AttachmentId: 'STRING_VALUE', /* required */
  AddSubnetArns: [
    'STRING_VALUE',
    /* more items */
  ],
  Options: {
    ApplianceModeSupport: true || false,
    Ipv6Support: true || false
  },
  RemoveSubnetArns: [
    'STRING_VALUE',
    /* more items */
  ]
};
networkmanager.updateVpcAttachment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AttachmentId — (String)

      The ID of the attachment.

    • AddSubnetArns — (Array<String>)

      Adds a subnet ARN to the VPC attachment.

    • RemoveSubnetArns — (Array<String>)

      Removes a subnet ARN from the attachment.

    • Options — (map)

      Additional options for updating the VPC attachment.

      • Ipv6Support — (Boolean)

        Indicates whether IPv6 is supported.

      • ApplianceModeSupport — (Boolean)

        Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • VpcAttachment — (map)

        Describes the updated VPC attachment.

        • Attachment — (map)

          Provides details about the VPC attachment.

          • CoreNetworkId — (String)

            The ID of a core network.

          • CoreNetworkArn — (String)

            The ARN of a core network.

          • AttachmentId — (String)

            The ID of the attachment.

          • OwnerAccountId — (String)

            The ID of the attachment account owner.

          • AttachmentType — (String)

            The type of attachment.

            Possible values include:
            • "CONNECT"
            • "SITE_TO_SITE_VPN"
            • "VPC"
            • "TRANSIT_GATEWAY_ROUTE_TABLE"
          • State — (String)

            The state of the attachment.

            Possible values include:
            • "REJECTED"
            • "PENDING_ATTACHMENT_ACCEPTANCE"
            • "CREATING"
            • "FAILED"
            • "AVAILABLE"
            • "UPDATING"
            • "PENDING_NETWORK_UPDATE"
            • "PENDING_TAG_ACCEPTANCE"
            • "DELETING"
          • EdgeLocation — (String)

            The Region where the edge is located.

          • ResourceArn — (String)

            The attachment resource ARN.

          • AttachmentPolicyRuleNumber — (Integer)

            The policy rule number associated with the attachment.

          • SegmentName — (String)

            The name of the segment attachment.

          • Tags — (Array<map>)

            The tags associated with the attachment.

            • Key — (String)

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value — (String)

              The tag value.

              Constraints: Maximum length of 256 characters.

          • ProposedSegmentChange — (map)

            The attachment to move from one segment to another.

            • Tags — (Array<map>)

              The list of key-value tags that changed for the segment.

              • Key — (String)

                The tag key.

                Constraints: Maximum length of 128 characters.

              • Value — (String)

                The tag value.

                Constraints: Maximum length of 256 characters.

            • AttachmentPolicyRuleNumber — (Integer)

              The rule number in the policy document that applies to this change.

            • SegmentName — (String)

              The name of the segment to change.

          • CreatedAt — (Date)

            The timestamp when the attachment was created.

          • UpdatedAt — (Date)

            The timestamp when the attachment was last updated.

        • SubnetArns — (Array<String>)

          The subnet ARNs.

        • Options — (map)

          Provides details about the VPC attachment.

          • Ipv6Support — (Boolean)

            Indicates whether IPv6 is supported.

          • ApplianceModeSupport — (Boolean)

            Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.