AWS Network Manager 2019-07-05
- Client: Aws\NetworkManager\NetworkManagerClient
- Service ID: networkmanager
- Version: 2019-07-05
This page describes the parameters and results for the operations of the AWS Network Manager (2019-07-05), and shows how to use the Aws\NetworkManager\NetworkManagerClient object to call the described operations. This documentation is specific to the 2019-07-05 API version of the 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.
Operation Summary
Each of the following operations can be created from a client using
$client->getCommand('CommandName'), where "CommandName" is the
name of one of the following operations. Note: a command is a value that
encapsulates an operation and the parameters used to create an HTTP request.
You can also create and send a command immediately using the magic methods
available on a client object: $client->commandName(/* parameters */).
You can send the command asynchronously (returning a promise) by appending the
word "Async" to the operation name: $client->commandNameAsync(/* parameters */).
- AcceptAttachment ( array $params = [] )
- Accepts a core network attachment request.
- AssociateConnectPeer ( array $params = [] )
- Associates a core network Connect peer with a device and optionally, with a link.
- AssociateContextStore ( array $params = [] )
- Associates a transit gateway with a context store.
- AssociateCustomerGateway ( array $params = [] )
- Associates a customer gateway with a device and optionally, with a link.
- AssociateLink ( array $params = [] )
- Associates a link to a device.
- AssociateNetworkScopePrincipal ( array $params = [] )
- Associates an AWS account with a network scope as a principal.
- AssociateTransitGatewayConnectPeer ( array $params = [] )
- Associates a transit gateway Connect peer with a device, and optionally, with a link.
- CreateConnectAttachment ( array $params = [] )
- Creates a core network Connect attachment from a specified core network attachment.
- CreateConnectPeer ( array $params = [] )
- Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.
- CreateConnection ( array $params = [] )
- Creates a connection between two devices.
- CreateContextStore ( array $params = [] )
- Creates a context store in a global network.
- CreateCoreNetwork ( array $params = [] )
- Creates a core network as part of your global network, and optionally, with a core network policy.
- CreateCoreNetworkPrefixListAssociation ( array $params = [] )
- Creates an association between a core network and a prefix list for routing control.
- CreateDevice ( array $params = [] )
- Creates a new device in a global network.
- CreateDirectConnectGatewayAttachment ( array $params = [] )
- Creates an Amazon Web Services Direct Connect gateway attachment
- CreateGlobalNetwork ( array $params = [] )
- Creates a new, empty global network.
- CreateLink ( array $params = [] )
- Creates a new link for a specified site.
- CreateNetworkScope ( array $params = [] )
- Creates a network scope for AWS Ops Agent for networking.
- CreateSite ( array $params = [] )
- Creates a new site in a global network.
- CreateSiteToSiteVpnAttachment ( array $params = [] )
- Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
- CreateSseConnect ( array $params = [] )
- Creates an Amazon VPC SSE connect (SSE connect).
- CreateSseConnectAttachment ( array $params = [] )
- Creates an attachment between an SSE connect and a Cloud WAN core network.
- CreateSseConnectTransitGatewayAttachment ( array $params = [] )
- Creates an attachment between an SSE connect and a transit gateway.
- CreateTransitGatewayPeering ( array $params = [] )
- Creates a transit gateway peering connection.
- CreateTransitGatewayRouteTableAttachment ( array $params = [] )
- Creates a transit gateway route table attachment.
- CreateVpcAttachment ( array $params = [] )
- Creates a VPC attachment on an edge location of a core network.
- DeleteAttachment ( array $params = [] )
- Deletes an attachment.
- DeleteConnectPeer ( array $params = [] )
- Deletes a Connect peer.
- DeleteConnection ( array $params = [] )
- Deletes the specified connection in your global network.
- DeleteContextStore ( array $params = [] )
- Deletes a context store.
- DeleteCoreNetwork ( array $params = [] )
- Deletes a core network along with all core network policies.
- DeleteCoreNetworkPolicyVersion ( array $params = [] )
- Deletes a policy version from a core network.
- DeleteCoreNetworkPrefixListAssociation ( array $params = [] )
- Deletes an association between a core network and a prefix list.
- DeleteDevice ( array $params = [] )
- Deletes an existing device.
- DeleteGlobalNetwork ( array $params = [] )
- Deletes an existing global network.
- DeleteLink ( array $params = [] )
- Deletes an existing link.
- DeleteNetworkScope ( array $params = [] )
- Deletes a network scope.
- DeletePeering ( array $params = [] )
- Deletes an existing peering connection.
- DeleteResourcePolicy ( array $params = [] )
- Deletes a resource policy for the specified resource.
- DeleteSite ( array $params = [] )
- Deletes an existing site.
- DeleteSseConnect ( array $params = [] )
- Deletes an SSE connect.
- DeleteSseConnectTransitGatewayAttachment ( array $params = [] )
- Deletes an SSE connect transit gateway attachment.
- DeregisterTransitGateway ( array $params = [] )
- Deregisters a transit gateway from your global network.
- DescribeGlobalNetworks ( array $params = [] )
- Describes one or more global networks.
- DisassociateConnectPeer ( array $params = [] )
- Disassociates a core network Connect peer from a device and a link.
- DisassociateContextStore ( array $params = [] )
- Disassociates a transit gateway from a context store.
- DisassociateCustomerGateway ( array $params = [] )
- Disassociates a customer gateway from a device and a link.
- DisassociateLink ( array $params = [] )
- Disassociates an existing device from a link.
- DisassociateNetworkScopePrincipal ( array $params = [] )
- Disassociates a principal from a network scope.
- DisassociateTransitGatewayConnectPeer ( array $params = [] )
- Disassociates a transit gateway Connect peer from a device and link.
- ExecuteCoreNetworkChangeSet ( array $params = [] )
- Executes a change set on your core network.
- GetConnectAttachment ( array $params = [] )
- Returns information about a core network Connect attachment.
- GetConnectPeer ( array $params = [] )
- Returns information about a core network Connect peer.
- GetConnectPeerAssociations ( array $params = [] )
- Returns information about a core network Connect peer associations.
- GetConnections ( array $params = [] )
- Gets information about one or more of your connections in a global network.
- GetContextStore ( array $params = [] )
- Returns information about a context store.
- GetContextStoreAssociation ( array $params = [] )
- Returns information about the association between a context store and a transit gateway.
- GetContextVersion ( array $params = [] )
- Returns the current version of the context entries of a context store.
- GetCoreNetwork ( array $params = [] )
- Returns information about the LIVE policy for a core network.
- GetCoreNetworkChangeEvents ( array $params = [] )
- Returns information about a core network change event.
- GetCoreNetworkChangeSet ( array $params = [] )
- Returns a change set between the LIVE core network policy and a submitted policy.
- GetCoreNetworkPolicy ( array $params = [] )
- Returns details about a core network policy.
- GetCustomerGatewayAssociations ( array $params = [] )
- Gets the association information for customer gateways that are associated with devices and links in your global network.
- GetDevices ( array $params = [] )
- Gets information about one or more of your devices in a global network.
- GetDirectConnectGatewayAttachment ( array $params = [] )
- Returns information about a specific Amazon Web Services Direct Connect gateway attachment.
- GetLinkAssociations ( array $params = [] )
- Gets the link associations for a device or a link.
- GetLinks ( array $params = [] )
- Gets information about one or more links in a specified global network.
- GetNetworkResourceCounts ( array $params = [] )
- Gets the count of network resources, by resource type, for the specified global network.
- GetNetworkResourceRelationships ( array $params = [] )
- Gets the network resource relationships for the specified global network.
- GetNetworkResources ( array $params = [] )
- Describes the network resources for the specified global network.
- GetNetworkRoutes ( array $params = [] )
- Gets the network routes of the specified global network.
- GetNetworkScope ( array $params = [] )
- Returns information about a network scope.
- GetNetworkTelemetry ( array $params = [] )
- Gets the network telemetry of the specified global network.
- GetResourcePolicy ( array $params = [] )
- Returns information about a resource policy.
- GetRouteAnalysis ( array $params = [] )
- Gets information about the specified route analysis.
- GetSiteToSiteVpnAttachment ( array $params = [] )
- Returns information about a site-to-site VPN attachment.
- GetSites ( array $params = [] )
- Gets information about one or more of your sites in a global network.
- GetSseConnect ( array $params = [] )
- Returns information about an SSE connect, including its state, link status, Regions, and peer health.
- GetSseConnectAttachment ( array $params = [] )
- Returns information about an attachment between an SSE connect and a Cloud WAN core network.
- GetSseConnectRoutes ( array $params = [] )
- Lists the routes of an SSE connect in a Region.
- GetSseConnectTransitGatewayAttachment ( array $params = [] )
- Returns information about an SSE connect transit gateway attachment, including the ID of the underlying transit gateway attachment.
- GetTransitGatewayConnectPeerAssociations ( array $params = [] )
- Gets information about one or more of your transit gateway Connect peer associations in a global network.
- GetTransitGatewayPeering ( array $params = [] )
- Returns information about a transit gateway peer.
- GetTransitGatewayRegistrations ( array $params = [] )
- Gets information about the transit gateway registrations in a specified global network.
- GetTransitGatewayRouteTableAttachment ( array $params = [] )
- Returns information about a transit gateway route table attachment.
- GetVpcAttachment ( array $params = [] )
- Returns information about a VPC attachment.
- ListAttachmentNatConfigurations ( array $params = [] )
- Returns the NAT configurations of core network attachments.
- ListAttachmentRoutingPolicyAssociations ( array $params = [] )
- Lists the routing policy associations for attachments in a core network.
- ListAttachments ( array $params = [] )
- Returns a list of core network attachments.
- ListConnectPeers ( array $params = [] )
- Returns a list of core network Connect peers.
- ListContextChanges ( array $params = [] )
- Returns the context entries that were added to or removed from a context store after the specified version.
- ListContextStoreAssociations ( array $params = [] )
- Returns the transit gateway associations of a context store.
- ListContextStores ( array $params = [] )
- Returns the context stores in your account.
- ListContexts ( array $params = [] )
- Returns the context entries of a context store, and the version of the context entries.
- ListCoreNetworkDryRunRoutes ( array $params = [] )
- Returns the routes that a core network policy version produces in a segment or network function group at an edge location.
- ListCoreNetworkPolicyVersions ( array $params = [] )
- Returns a list of core network policy versions.
- ListCoreNetworkPrefixListAssociations ( array $params = [] )
- Lists the prefix list associations for a core network.
- ListCoreNetworkRoutingInformation ( array $params = [] )
- Lists routing information for a core network, including routes and their attributes.
- ListCoreNetworks ( array $params = [] )
- Returns a list of owned and shared core networks.
- ListNetworkScopePrincipals ( array $params = [] )
- Lists the principals associated with a network scope.
- ListNetworkScopes ( array $params = [] )
- Lists the network scopes owned by your AWS account in the current Region.
- ListOrganizationServiceAccessStatus ( array $params = [] )
- Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
- ListPeerings ( array $params = [] )
- Lists the peerings for a core network.
- ListSSERegions ( array $params = [] )
- Lists the Regions where an SSE provider is available.
- ListSseConnectTransitGatewayAttachments ( array $params = [] )
- Lists the SSE connect transit gateway attachments in your account.
- ListSseConnects ( array $params = [] )
- Lists the SSE connects in your account.
- ListTagsForResource ( array $params = [] )
- Lists the tags for a specified resource.
- PutAttachmentRoutingPolicyLabel ( array $params = [] )
- Applies a routing policy label to an attachment for traffic routing decisions.
- PutCoreNetworkPolicy ( array $params = [] )
- Creates a new, immutable version of a core network policy.
- PutResourcePolicy ( array $params = [] )
- Creates or updates a resource policy.
- RegisterTransitGateway ( array $params = [] )
- Registers a transit gateway in your global network.
- RejectAttachment ( array $params = [] )
- Rejects a core network attachment request.
- RemoveAttachmentRoutingPolicyLabel ( array $params = [] )
- Removes a routing policy label from an attachment.
- RestoreCoreNetworkPolicyVersion ( array $params = [] )
- Restores a previous policy version as a new, immutable version of a core network policy.
- StartCoreNetworkPolicyDryRun ( array $params = [] )
- Starts a dry run of a core network policy version.
- StartOrganizationServiceAccessUpdate ( array $params = [] )
- Enables the Network Manager service for an Amazon Web Services Organization.
- StartRouteAnalysis ( array $params = [] )
- Starts analyzing the routing path between the specified source and destination.
- TagResource ( array $params = [] )
- Tags a specified resource.
- UntagResource ( array $params = [] )
- Removes tags from a specified resource.
- UpdateAttachmentNatConfiguration ( array $params = [] )
- Updates the NAT configuration of a core network attachment.
- UpdateConnection ( array $params = [] )
- Updates the information for an existing connection.
- UpdateContextStore ( array $params = [] )
- Updates the description of a context store.
- UpdateCoreNetwork ( array $params = [] )
- Updates the description of a core network.
- UpdateDevice ( array $params = [] )
- Updates the details for an existing device.
- UpdateDirectConnectGatewayAttachment ( array $params = [] )
- Updates the edge locations associated with an Amazon Web Services Direct Connect gateway attachment.
- UpdateGlobalNetwork ( array $params = [] )
- Updates an existing global network.
- UpdateLink ( array $params = [] )
- Updates the details for an existing link.
- UpdateNetworkResourceMetadata ( array $params = [] )
- Updates the resource metadata for the specified global network.
- UpdateNetworkScope ( array $params = [] )
- Updates the name or the Regions of a network scope.
- UpdateSite ( array $params = [] )
- Updates the information for an existing site.
- UpdateSseConnect ( array $params = [] )
- Updates the description or the Regions of an SSE connect.
- UpdateVpcAttachment ( array $params = [] )
- Updates a VPC attachment.
Paginators
Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:
- DescribeGlobalNetworks
- GetConnectPeerAssociations
- GetConnections
- GetCoreNetworkChangeEvents
- GetCoreNetworkChangeSet
- GetCustomerGatewayAssociations
- GetDevices
- GetLinkAssociations
- GetLinks
- GetNetworkResourceCounts
- GetNetworkResourceRelationships
- GetNetworkResources
- GetNetworkRoutes
- GetNetworkTelemetry
- GetSites
- GetSseConnectRoutes
- GetTransitGatewayConnectPeerAssociations
- GetTransitGatewayRegistrations
- ListAttachmentNatConfigurations
- ListAttachmentRoutingPolicyAssociations
- ListAttachments
- ListConnectPeers
- ListContextChanges
- ListContextStoreAssociations
- ListContextStores
- ListContexts
- ListCoreNetworkDryRunRoutes
- ListCoreNetworkPolicyVersions
- ListCoreNetworkPrefixListAssociations
- ListCoreNetworkRoutingInformation
- ListCoreNetworks
- ListNetworkScopePrincipals
- ListNetworkScopes
- ListPeerings
- ListSSERegions
- ListSseConnectTransitGatewayAttachments
- ListSseConnects
Operations
AcceptAttachment
$result = $client->acceptAttachment([/* ... */]); $promise = $client->acceptAttachmentAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->acceptAttachment([
'AttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment.
Result Syntax
[
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- Attachment
-
- Type: Attachment structure
The response to the attachment request.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
AssociateConnectPeer
$result = $client->associateConnectPeer([/* ... */]); $promise = $client->associateConnectPeerAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->associateConnectPeer([
'ConnectPeerId' => '<string>', // REQUIRED
'DeviceId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>',
]);
Parameter Details
Members
- ConnectPeerId
-
- Required: Yes
- Type: string
The ID of the Connect peer.
- DeviceId
-
- Required: Yes
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of your global network.
- LinkId
-
- Type: string
The ID of the link.
Result Syntax
[
'ConnectPeerAssociation' => [
'ConnectPeerId' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|DELETED',
],
]
Result Details
Members
- ConnectPeerAssociation
-
- Type: ConnectPeerAssociation structure
The response to the Connect peer request.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
AssociateContextStore
$result = $client->associateContextStore([/* ... */]); $promise = $client->associateContextStoreAsync([/* ... */]);
Associates a transit gateway with a context store. The transit gateway must be registered with the global network of the context store, and can't be associated with more than one context store. The context store must be in the AVAILABLE state.
The association is in the ASSOCIATING state when it's created, and changes to ASSOCIATED when it's complete.
Parameter Syntax
$result = $client->associateContextStore([
'ContextStoreId' => '<string>', // REQUIRED
'TransitGatewayArn' => '<string>',
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store.
- TransitGatewayArn
-
- Type: string
The Amazon Resource Name (ARN) of the transit gateway to associate with the context store.
Result Syntax
[
'ContextStoreAssociation' => [
'ContextStoreId' => '<string>',
'CreatedAt' => <DateTime>,
'State' => 'ASSOCIATING|ASSOCIATED|DISASSOCIATING|FAILED',
'TransitGatewayArn' => '<string>',
],
]
Result Details
Members
- ContextStoreAssociation
-
- Type: ContextStoreAssociation structure
Information about the context store association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
AssociateCustomerGateway
$result = $client->associateCustomerGateway([/* ... */]); $promise = $client->associateCustomerGatewayAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->associateCustomerGateway([
'CustomerGatewayArn' => '<string>', // REQUIRED
'DeviceId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>',
]);
Parameter Details
Members
- CustomerGatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the customer gateway.
- DeviceId
-
- Required: Yes
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkId
-
- Type: string
The ID of the link.
Result Syntax
[
'CustomerGatewayAssociation' => [
'CustomerGatewayArn' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|DELETED',
],
]
Result Details
Members
- CustomerGatewayAssociation
-
- Type: CustomerGatewayAssociation structure
The customer gateway association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
AssociateLink
$result = $client->associateLink([/* ... */]); $promise = $client->associateLinkAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->associateLink([
'DeviceId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- DeviceId
-
- Required: Yes
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkId
-
- Required: Yes
- Type: string
The ID of the link.
Result Syntax
[
'LinkAssociation' => [
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkAssociationState' => 'PENDING|AVAILABLE|DELETING|DELETED',
'LinkId' => '<string>',
],
]
Result Details
Members
- LinkAssociation
-
- Type: LinkAssociation structure
The link association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
AssociateNetworkScopePrincipal
$result = $client->associateNetworkScopePrincipal([/* ... */]); $promise = $client->associateNetworkScopePrincipalAsync([/* ... */]);
Associates an AWS account with a network scope as a principal. The network scope must be in the AVAILABLE state, and the account can't already be a principal of the network scope in any state. To associate a principal again, disassociate it and wait until ListNetworkScopePrincipals no longer returns it. The principal is returned in a transitional state. To track it, call ListNetworkScopePrincipals. An association becomes ASSOCIATED or FAILED. A disassociated principal is removed and is no longer returned.
Parameter Syntax
$result = $client->associateNetworkScopePrincipal([
'NetworkScopeId' => '<string>', // REQUIRED
'Principal' => '<string>', // REQUIRED
]);
Parameter Details
Members
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope to associate the principal with.
- Principal
-
- Required: Yes
- Type: string
The 12-digit ID of the AWS account to associate with the network scope.
Result Syntax
[
'NetworkScopeId' => '<string>',
'Principal' => '<string>',
'PrincipalRegions' => ['<string>', ...],
'State' => 'ASSOCIATING|ASSOCIATED|FAILED|DISASSOCIATING|DISASSOCIATED|INACTIVE',
'StateReason' => [
'Code' => 'ORGANIZATION_ACCESS_LOST|SCOPE_OWNER_NOT_ORGANIZATION_MEMBER|NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED|SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR|NOT_IN_OWNER_ORGANIZATION|ORGANIZATIONAL_UNIT_DELETED|NETWORK_MANAGER_SERVICE_LINKED_ROLE_NOT_ASSUMABLE|REGION_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED|NETWORK_SECURITY_ANALYSIS_POLICY_ATTACHMENT_LIMIT_EXCEEDED',
'Message' => '<string>',
],
]
Result Details
Members
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope.
- Principal
-
- Required: Yes
- Type: string
The principal.
- PrincipalRegions
-
- Required: Yes
- Type: Array of strings
The AWS Regions of the network scope. A principal always has all of the Regions of the network scope. To see whether the account is covered in each Region, call
ListNetworkScopePrincipals. - State
-
- Required: Yes
- Type: string
The state of the principal, which is
ASSOCIATINGwhile the association is being applied. - StateReason
-
- Type: NetworkScopePrincipalStateReason structure
The reason for the current state of the principal, if a reason applies.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ServiceQuotaExceededException:
A service limit was exceeded.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Associating an account with a network scope
$result = $client->associateNetworkScopePrincipal([
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'Principal' => '444455556666',
]);
Result syntax:
[
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'Principal' => '444455556666',
'PrincipalRegions' => [
'us-east-1',
'us-west-2',
],
'State' => 'ASSOCIATING',
]
AssociateTransitGatewayConnectPeer
$result = $client->associateTransitGatewayConnectPeer([/* ... */]); $promise = $client->associateTransitGatewayConnectPeerAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->associateTransitGatewayConnectPeer([
'DeviceId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>',
'TransitGatewayConnectPeerArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- DeviceId
-
- Required: Yes
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkId
-
- Type: string
The ID of the link.
- TransitGatewayConnectPeerArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Connect peer.
Result Syntax
[
'TransitGatewayConnectPeerAssociation' => [
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|DELETED',
'TransitGatewayConnectPeerArn' => '<string>',
],
]
Result Details
Members
- TransitGatewayConnectPeerAssociation
-
- Type: TransitGatewayConnectPeerAssociation structure
The transit gateway Connect peer association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateConnectAttachment
$result = $client->createConnectAttachment([/* ... */]); $promise = $client->createConnectAttachmentAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->createConnectAttachment([
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'EdgeLocation' => '<string>', // REQUIRED
'NatGatewayRules' => [
[
'MatchSourceCidr' => '<string>', // REQUIRED
'NatCidr' => '<string>', // REQUIRED
'RuleNumber' => <integer>, // REQUIRED
],
// ...
],
'NatGatewaySupport' => 'ENABLE|DISABLE',
'Options' => [ // REQUIRED
'Protocol' => 'GRE|NO_ENCAP',
],
'RoutingPolicyLabel' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'TransportAttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
The client token associated with the request.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network where you want to create the attachment.
- EdgeLocation
-
- Required: Yes
- Type: string
The Region where the edge is located.
- NatGatewayRules
-
- Type: Array of NatRuleRequest structures
The NAT rules for the Connect attachment, up to 50 rules.
- NatGatewaySupport
-
- Type: string
Specifies whether to enable NAT gateway support on the Connect attachment. NAT is supported only on Connect attachments that use the GRE tunnel protocol. Tunnel-less Connect attachments aren't supported. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.
- Options
-
- Required: Yes
- Type: ConnectAttachmentOptions structure
Options for creating an attachment.
- RoutingPolicyLabel
-
- Type: string
The routing policy label to apply to the Connect attachment for traffic routing decisions.
- Tags
-
- Type: Array of Tag structures
The list of key-value tags associated with the request.
- TransportAttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment between the two connections.
Result Syntax
[
'ConnectAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'Options' => [
'Protocol' => 'GRE|NO_ENCAP',
],
'TransportAttachmentId' => '<string>',
],
]
Result Details
Members
- ConnectAttachment
-
- Type: ConnectAttachment structure
The response to a Connect attachment request.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateConnectPeer
$result = $client->createConnectPeer([/* ... */]); $promise = $client->createConnectPeerAsync([/* ... */]);
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).
Parameter Syntax
$result = $client->createConnectPeer([
'BgpOptions' => [
'PeerAsn' => <integer>,
],
'ClientToken' => '<string>',
'ConnectAttachmentId' => '<string>', // REQUIRED
'CoreNetworkAddress' => '<string>',
'InsideCidrBlocks' => ['<string>', ...],
'PeerAddress' => '<string>', // REQUIRED
'SubnetArn' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- BgpOptions
-
- Type: BgpOptions structure
The Connect peer BGP options. This only applies only when the protocol is
GRE. - ClientToken
-
- Type: string
The client token associated with the request.
- ConnectAttachmentId
-
- Required: Yes
- Type: string
The ID of the connection attachment.
- CoreNetworkAddress
-
- Type: string
A Connect peer core network address. This only applies only when the protocol is
GRE. - InsideCidrBlocks
-
- Type: Array of strings
The inside IP addresses used for BGP peering.
- PeerAddress
-
- Required: Yes
- Type: string
The Connect peer address.
- SubnetArn
-
- Type: string
The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.
- Tags
-
- Type: Array of Tag structures
The tags associated with the peer request.
Result Syntax
[
'ConnectPeer' => [
'Configuration' => [
'BgpConfigurations' => [
[
'CoreNetworkAddress' => '<string>',
'CoreNetworkAsn' => <integer>,
'PeerAddress' => '<string>',
'PeerAsn' => <integer>,
],
// ...
],
'CoreNetworkAddress' => '<string>',
'InsideCidrBlocks' => ['<string>', ...],
'PeerAddress' => '<string>',
'Protocol' => 'GRE|NO_ENCAP',
],
'ConnectAttachmentId' => '<string>',
'ConnectPeerId' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'LastModificationErrors' => [
[
'Code' => 'EDGE_LOCATION_NO_FREE_IPS|EDGE_LOCATION_PEER_DUPLICATE|SUBNET_NOT_FOUND|IP_OUTSIDE_SUBNET_CIDR_RANGE|INVALID_INSIDE_CIDR_BLOCK|NO_ASSOCIATED_CIDR_BLOCK|CREATION_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'State' => 'CREATING|FAILED|AVAILABLE|DELETING',
'SubnetArn' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- ConnectPeer
-
- Type: ConnectPeer structure
The response to the request.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateConnection
$result = $client->createConnection([/* ... */]); $promise = $client->createConnectionAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->createConnection([
'ConnectedDeviceId' => '<string>', // REQUIRED
'ConnectedLinkId' => '<string>',
'Description' => '<string>',
'DeviceId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- ConnectedDeviceId
-
- Required: Yes
- Type: string
The ID of the second device in the connection.
- ConnectedLinkId
-
- Type: string
The ID of the link for the second device.
- Description
-
- Type: string
A description of the connection.
Length Constraints: Maximum length of 256 characters.
- DeviceId
-
- Required: Yes
- Type: string
The ID of the first device in the connection.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkId
-
- Type: string
The ID of the link for the first device.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the resource during creation.
Result Syntax
[
'Connection' => [
'ConnectedDeviceId' => '<string>',
'ConnectedLinkId' => '<string>',
'ConnectionArn' => '<string>',
'ConnectionId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- Connection
-
- Type: Connection structure
Information about the connection.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateContextStore
$result = $client->createContextStore([/* ... */]); $promise = $client->createContextStoreAsync([/* ... */]);
Creates a context store in a global network. A context store maintains context entries, such as security groups, subnets, and attachments, for the resources connected to the transit gateways that you associate with it.
The context store is in the PENDING state when it's created, and changes to AVAILABLE when it's ready to use.
Parameter Syntax
$result = $client->createContextStore([
'ClientToken' => '<string>',
'Description' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Description
-
- Type: string
A description of the context store.
Constraints: Maximum length of 256 characters. Only printable ASCII characters are allowed.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network to create the context store in.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the context store during creation.
Result Syntax
[
'ContextStore' => [
'ContextStoreArn' => '<string>',
'ContextStoreId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- ContextStore
-
- Type: ContextStore structure
Information about the context store.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ServiceQuotaExceededException:
A service limit was exceeded.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateCoreNetwork
$result = $client->createCoreNetwork([/* ... */]); $promise = $client->createCoreNetworkAsync([/* ... */]);
Creates a core network as part of your global network, and optionally, with a core network policy.
Parameter Syntax
$result = $client->createCoreNetwork([
'ClientToken' => '<string>',
'Description' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'PolicyDocument' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- ClientToken
-
- Type: string
The client token associated with a core network request.
- Description
-
- Type: string
The description of a core network.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network that a core network will be a part of.
- PolicyDocument
-
- Type: string
The policy document for creating a core network.
- Tags
-
- Type: Array of Tag structures
Key-value tags associated with a core network request.
Result Syntax
[
'CoreNetwork' => [
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'Edges' => [
[
'Asn' => <integer>,
'EdgeLocation' => '<string>',
'InsideCidrBlocks' => ['<string>', ...],
],
// ...
],
'GlobalNetworkId' => '<string>',
'NetworkFunctionGroups' => [
[
'EdgeLocations' => ['<string>', ...],
'Name' => '<string>',
'Segments' => [
'SendTo' => ['<string>', ...],
'SendVia' => ['<string>', ...],
],
],
// ...
],
'Segments' => [
[
'EdgeLocations' => ['<string>', ...],
'Name' => '<string>',
'SharedSegments' => ['<string>', ...],
],
// ...
],
'State' => 'CREATING|UPDATING|AVAILABLE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- CoreNetwork
-
- Type: CoreNetwork structure
Returns details about a core network.
Errors
- CoreNetworkPolicyException:
Describes a core network policy exception.
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateCoreNetworkPrefixListAssociation
$result = $client->createCoreNetworkPrefixListAssociation([/* ... */]); $promise = $client->createCoreNetworkPrefixListAssociationAsync([/* ... */]);
Creates an association between a core network and a prefix list for routing control.
Parameter Syntax
$result = $client->createCoreNetworkPrefixListAssociation([
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'PrefixListAlias' => '<string>', // REQUIRED
'PrefixListArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network to associate with the prefix list.
- PrefixListAlias
-
- Required: Yes
- Type: string
An optional alias for the prefix list association.
- PrefixListArn
-
- Required: Yes
- Type: string
The ARN of the prefix list to associate with the core network.
Result Syntax
[
'CoreNetworkId' => '<string>',
'PrefixListAlias' => '<string>',
'PrefixListArn' => '<string>',
]
Result Details
Members
- CoreNetworkId
-
- Type: string
The ID of the core network associated with the prefix list.
- PrefixListAlias
-
- Type: string
The alias of the prefix list association, if provided.
- PrefixListArn
-
- Type: string
The ARN of the prefix list that was associated with the core network.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateDevice
$result = $client->createDevice([/* ... */]); $promise = $client->createDeviceAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->createDevice([
'AWSLocation' => [
'SubnetArn' => '<string>',
'Zone' => '<string>',
],
'Description' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'Model' => '<string>',
'SerialNumber' => '<string>',
'SiteId' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
'Vendor' => '<string>',
]);
Parameter Details
Members
- AWSLocation
-
- Type: AWSLocation structure
The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.
- Description
-
- Type: string
A description of the device.
Constraints: Maximum length of 256 characters.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- Location
-
- Type: Location structure
The location of the device.
- Model
-
- Type: string
The model of the device.
Constraints: Maximum length of 128 characters.
- SerialNumber
-
- Type: string
The serial number of the device.
Constraints: Maximum length of 128 characters.
- SiteId
-
- Type: string
The ID of the site.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the resource during creation.
- Type
-
- Type: string
The type of the device.
- Vendor
-
- Type: string
The vendor of the device.
Constraints: Maximum length of 128 characters.
Result Syntax
[
'Device' => [
'AWSLocation' => [
'SubnetArn' => '<string>',
'Zone' => '<string>',
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DeviceArn' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'Model' => '<string>',
'SerialNumber' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
'Vendor' => '<string>',
],
]
Result Details
Members
- Device
-
- Type: Device structure
Information about the device.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateDirectConnectGatewayAttachment
$result = $client->createDirectConnectGatewayAttachment([/* ... */]); $promise = $client->createDirectConnectGatewayAttachmentAsync([/* ... */]);
Creates an Amazon Web Services Direct Connect gateway attachment
Parameter Syntax
$result = $client->createDirectConnectGatewayAttachment([
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'DirectConnectGatewayArn' => '<string>', // REQUIRED
'EdgeLocations' => ['<string>', ...], // REQUIRED
'NatGatewayRules' => [
[
'MatchSourceCidr' => '<string>', // REQUIRED
'NatCidr' => '<string>', // REQUIRED
'RuleNumber' => <integer>, // REQUIRED
],
// ...
],
'NatGatewaySupport' => 'ENABLE|DISABLE',
'NatSystemRouteSupport' => true || false,
'RoutingPolicyLabel' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- ClientToken
-
- Type: string
client token
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the Cloud WAN core network that the Direct Connect gateway attachment should be attached to.
- DirectConnectGatewayArn
-
- Required: Yes
- Type: string
The ARN of the Direct Connect gateway attachment.
- EdgeLocations
-
- Required: Yes
- Type: Array of strings
One or more core network edge locations that the Direct Connect gateway attachment is associated with.
- NatGatewayRules
-
- Type: Array of NatRuleRequest structures
The NAT rules for the Direct Connect gateway attachment, up to 50 rules.
- NatGatewaySupport
-
- Type: string
Specifies whether to enable NAT gateway support on the Direct Connect gateway attachment. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.
- NatSystemRouteSupport
-
- Type: boolean
Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. System routes have a route type of
SYSTEM. NAT is applied to traffic whether or not this option is enabled. The default istrue. - RoutingPolicyLabel
-
- Type: string
The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions.
- Tags
-
- Type: Array of Tag structures
The key value tags to apply to the Direct Connect gateway attachment during creation.
Result Syntax
[
'DirectConnectGatewayAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'DirectConnectGatewayArn' => '<string>',
],
]
Result Details
Members
- DirectConnectGatewayAttachment
-
- Type: DirectConnectGatewayAttachment structure
Describes the details of a
CreateDirectConnectGatewayAttachmentrequest.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateGlobalNetwork
$result = $client->createGlobalNetwork([/* ... */]); $promise = $client->createGlobalNetworkAsync([/* ... */]);
Creates a new, empty global network.
Parameter Syntax
$result = $client->createGlobalNetwork([
'Description' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- Description
-
- Type: string
A description of the global network.
Constraints: Maximum length of 256 characters.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the resource during creation.
Result Syntax
[
'GlobalNetwork' => [
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkArn' => '<string>',
'GlobalNetworkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- GlobalNetwork
-
- Type: GlobalNetwork structure
Information about the global network object.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateLink
$result = $client->createLink([/* ... */]); $promise = $client->createLinkAsync([/* ... */]);
Creates a new link for a specified site.
Parameter Syntax
$result = $client->createLink([
'Bandwidth' => [ // REQUIRED
'DownloadSpeed' => <integer>,
'UploadSpeed' => <integer>,
],
'Description' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'Provider' => '<string>',
'SiteId' => '<string>', // REQUIRED
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
]);
Parameter Details
Members
- Bandwidth
-
- Required: Yes
- Type: Bandwidth structure
The upload speed and download speed in Mbps.
- Description
-
- Type: string
A description of the link.
Constraints: Maximum length of 256 characters.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- Provider
-
- Type: string
The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
- SiteId
-
- Required: Yes
- Type: string
The ID of the site.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the resource during creation.
- Type
-
- Type: string
The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
Result Syntax
[
'Link' => [
'Bandwidth' => [
'DownloadSpeed' => <integer>,
'UploadSpeed' => <integer>,
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkArn' => '<string>',
'LinkId' => '<string>',
'Provider' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
],
]
Result Details
Members
- Link
-
- Type: Link structure
Information about the link.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateNetworkScope
$result = $client->createNetworkScope([/* ... */]); $promise = $client->createNetworkScopeAsync([/* ... */]);
Creates a network scope for AWS Ops Agent for networking. A network scope defines the AWS accounts and Regions that AWS Ops Agent for networking analyzes.
The network scope starts in the PENDING state and moves to AVAILABLE when it's ready, or to FAILED if a prerequisite is missing. To associate accounts with it, call AssociateNetworkScopePrincipal.
Parameter Syntax
$result = $client->createNetworkScope([
'AccessMode' => 'ACCOUNTS|ORGANIZATIONS', // REQUIRED
'ClientToken' => '<string>',
'Name' => '<string>', // REQUIRED
'NetworkScopeRegions' => ['<string>', ...], // REQUIRED
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- AccessMode
-
- Required: Yes
- Type: string
How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With
ACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it. - ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry within 8 hours with the same client token and the same parameters, the operation returns the network scope that the first request created. If that network scope no longer exists, the operation returns
ConflictException, and you need a new client token. If you reuse a client token with different parameters, the operation returnsValidationException. If you don't specify a client token, the AWS SDK generates one. - Name
-
- Required: Yes
- Type: string
The name of the network scope. The name can be up to 128 characters long and can contain letters, numbers, and spaces, as well as the following characters: . _ : / + = @ -
- NetworkScopeRegions
-
- Required: Yes
- Type: Array of strings
The AWS Regions that the network scope covers. Each Region must be one where AWS Ops Agent for networking is available and can appear only once.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the resource during creation.
Result Syntax
[
'NetworkScope' => [
'AccessMode' => 'ACCOUNTS|ORGANIZATIONS',
'CreatedAt' => <DateTime>,
'Name' => '<string>',
'NetworkScopeArn' => '<string>',
'NetworkScopeId' => '<string>',
'NetworkScopeRegions' => ['<string>', ...],
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED|FAILED',
'StateReason' => [
'Code' => 'SCOPE_OWNER_NOT_ORGANIZATION_MEMBER|NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED|SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR|NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED|PRINCIPALS_NOT_FULLY_COVERED',
'Message' => '<string>',
],
],
]
Result Details
Members
- NetworkScope
-
- Required: Yes
- Type: NetworkScope structure
Information about the network scope.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Creating a network scope
$result = $client->createNetworkScope([
'AccessMode' => 'ACCOUNTS',
'ClientToken' => 'a1b2c3d4-5678-90ab-cdef-EXAMPLE11111',
'Name' => 'production-network',
'NetworkScopeRegions' => [
'us-east-1',
'us-west-2',
],
]);
Result syntax:
[
'NetworkScope' => [
'AccessMode' => 'ACCOUNTS',
'CreatedAt' => ,
'Name' => 'production-network',
'NetworkScopeArn' => 'arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0',
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'NetworkScopeRegions' => [
'us-east-1',
'us-west-2',
],
'State' => 'PENDING',
],
]
CreateSite
$result = $client->createSite([/* ... */]); $promise = $client->createSiteAsync([/* ... */]);
Creates a new site in a global network.
Parameter Syntax
$result = $client->createSite([
'Description' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- Description
-
- Type: string
A description of your site.
Constraints: Maximum length of 256 characters.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- Location
-
- Type: Location structure
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.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the resource during creation.
Result Syntax
[
'Site' => [
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'SiteArn' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- Site
-
- Type: Site structure
Information about the site.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateSiteToSiteVpnAttachment
$result = $client->createSiteToSiteVpnAttachment([/* ... */]); $promise = $client->createSiteToSiteVpnAttachmentAsync([/* ... */]);
Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
Parameter Syntax
$result = $client->createSiteToSiteVpnAttachment([
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'NatGatewayRules' => [
[
'MatchSourceCidr' => '<string>', // REQUIRED
'NatCidr' => '<string>', // REQUIRED
'RuleNumber' => <integer>, // REQUIRED
],
// ...
],
'NatGatewaySupport' => 'ENABLE|DISABLE',
'NatSystemRouteSupport' => true || false,
'RoutingPolicyLabel' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'VpnConnectionArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
The client token associated with the request.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network where you're creating a site-to-site VPN attachment.
- NatGatewayRules
-
- Type: Array of NatRuleRequest structures
The NAT rules for the Site-to-Site VPN attachment, up to 50 rules.
- NatGatewaySupport
-
- Type: string
Specifies whether to enable NAT gateway support on the Site-to-Site VPN attachment. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.
- NatSystemRouteSupport
-
- Type: boolean
Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. System routes have a route type of
SYSTEM. NAT is applied to traffic whether or not this option is enabled. The default istruefor VPN connections that use BGP andfalsefor VPN connections that use static routing. If the VPN connection uses static routing, you must specifyfalseor omit this parameter. - RoutingPolicyLabel
-
- Type: string
The routing policy label to apply to the Site-to-Site VPN attachment for traffic routing decisions.
- Tags
-
- Type: Array of Tag structures
The tags associated with the request.
- VpnConnectionArn
-
- Required: Yes
- Type: string
The ARN identifying the VPN attachment.
Result Syntax
[
'SiteToSiteVpnAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'VpnConnectionArn' => '<string>',
],
]
Result Details
Members
- SiteToSiteVpnAttachment
-
- Type: SiteToSiteVpnAttachment structure
Details about a site-to-site VPN attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateSseConnect
$result = $client->createSseConnect([/* ... */]); $promise = $client->createSseConnectAsync([/* ... */]);
Creates an Amazon VPC SSE connect (SSE connect). An SSE connect sends traffic from your Amazon Web Services Transit Gateway or Amazon Web Services Cloud WAN network through a third-party Security Service Edge (SSE) provider for inspection, policy enforcement, and internet egress.
You can create one SSE connect for each SSE provider in your account. The SSE provider must be available in each Amazon Web Services Region that you specify. To find these Regions, use ListSSERegions.
Parameter Syntax
$result = $client->createSseConnect([
'ClientToken' => '<string>',
'Description' => '<string>',
'DryRun' => true || false,
'SseLicenseModel' => 'BRING_YOUR_OWN_LICENSE|AWS_MARKETPLACE',
'SseRegions' => ['<string>', ...], // REQUIRED
'SseVendor' => '<string>', // REQUIRED
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, the operation returns the result of the original request instead of creating another resource.
- Description
-
- Type: string
A description of the SSE connect.
- DryRun
-
- Type: boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isAccessDeniedException. - SseLicenseModel
-
- Type: string
How you subscribe to the SSE provider. Valid values:
-
BRING_YOUR_OWN_LICENSE– You have an agreement directly with the SSE provider. This is the default. -
AWS_MARKETPLACE– You subscribed to the SSE provider through Amazon Web Services Marketplace.
- SseRegions
-
- Required: Yes
- Type: Array of strings
The Regions where the SSE connect peers with the SSE provider. You must specify at least two Regions, and the SSE provider must be available in each Region.
- SseVendor
-
- Required: Yes
- Type: string
The SSE provider to connect to. You can't change the SSE provider after you create the SSE connect.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the SSE connect.
Result Syntax
[
'SseConnect' => [
'AttachmentRegions' => [
[
'RegionName' => '<string>',
],
// ...
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'PartnerLinkStatus' => 'PENDING|LINKED|NOT_LINKED',
'SseConnectArn' => '<string>',
'SseConnectId' => '<string>',
'SseRegions' => [
[
'PeerHealthStatus' => 'HEALTHY|UNHEALTHY',
'RegionName' => '<string>',
],
// ...
],
'SseVendor' => '<string>',
'State' => 'CREATING|AVAILABLE|UPDATING|FAILED|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- SseConnect
-
- Type: SseConnect structure
Information about the SSE connect.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
- DryRunOperation:
You have the required permissions. You specified the
DryRunparameter, so the request didn't run.
Examples
Example 1: To create an SSE connect
The following example creates an SSE connect to an SSE provider in aa-example-1 and aa-example-2.
$result = $client->createSseConnect([
'Description' => 'Branch internet egress',
'SseLicenseModel' => 'BRING_YOUR_OWN_LICENSE',
'SseRegions' => [
'aa-example-1',
'aa-example-2',
],
'SseVendor' => 'PALO_ALTO',
'Tags' => [
[
'Key' => 'Name',
'Value' => 'branch-egress',
],
],
]);
Result syntax:
[
'SseConnect' => [
'Description' => 'Branch internet egress',
'PartnerLinkStatus' => 'PENDING',
'SseConnectArn' => 'arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseRegions' => [
[
'RegionName' => 'aa-example-1',
],
[
'RegionName' => 'aa-example-2',
],
],
'SseVendor' => 'PALO_ALTO',
'State' => 'CREATING',
'Tags' => [
[
'Key' => 'Name',
'Value' => 'branch-egress',
],
],
],
]
CreateSseConnectAttachment
$result = $client->createSseConnectAttachment([/* ... */]); $promise = $client->createSseConnectAttachmentAsync([/* ... */]);
Creates an attachment between an SSE connect and a Cloud WAN core network. A core network uses a single attachment to an SSE connect for all Regions, so you don't specify an edge location. The SSE connect must be in the AVAILABLE state.
The attachment propagates default routes (0.0.0.0/0 and ::/0) toward your core network. To send traffic to the SSE provider, place the attachment in a network function group and use a send-to segment action in your core network policy.
Parameter Syntax
$result = $client->createSseConnectAttachment([
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'SseConnectArn' => '<string>', // REQUIRED
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, the operation returns the result of the original request instead of creating another resource.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network to attach to the SSE connect.
- SseConnectArn
-
- Required: Yes
- Type: string
The ARN of the SSE connect.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the attachment.
Result Syntax
[
'SseConnectAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'SseConnectArn' => '<string>',
],
]
Result Details
Members
- SseConnectAttachment
-
- Type: SseConnectAttachment structure
Information about the SSE connect core network attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: To attach a core network to an SSE connect
The following example creates an attachment between an SSE connect and a Cloud WAN core network.
$result = $client->createSseConnectAttachment([
'CoreNetworkId' => 'core-network-1234567890abcdef0',
'SseConnectArn' => 'arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0',
]);
Result syntax:
[
'SseConnectAttachment' => [
'Attachment' => [
'AttachmentId' => 'attachment-1234567890abcdef0',
'CoreNetworkId' => 'core-network-1234567890abcdef0',
'OwnerAccountId' => '111122223333',
'State' => 'CREATING',
],
'SseConnectArn' => 'arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0',
],
]
CreateSseConnectTransitGatewayAttachment
$result = $client->createSseConnectTransitGatewayAttachment([/* ... */]); $promise = $client->createSseConnectTransitGatewayAttachmentAsync([/* ... */]);
Creates an attachment between an SSE connect and a transit gateway. The attachment is in the Region of the transit gateway, which doesn't need to be one of the Regions of the SSE connect. The SSE connect must be in the AVAILABLE state.
If another account owns the transit gateway, the attachment is in the PENDING_ATTACHMENT_ACCEPTANCE state until the transit gateway owner accepts it. You can't change the transit gateway of an attachment.
Parameter Syntax
$result = $client->createSseConnectTransitGatewayAttachment([
'ClientToken' => '<string>',
'DryRun' => true || false,
'SseConnectId' => '<string>', // REQUIRED
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'TransitGatewayArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, the operation returns the result of the original request instead of creating another resource.
- DryRun
-
- Type: boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isAccessDeniedException. - SseConnectId
-
- Required: Yes
- Type: string
The ID of the SSE connect.
- Tags
-
- Type: Array of Tag structures
The tags to apply to the attachment.
- TransitGatewayArn
-
- Required: Yes
- Type: string
The ARN of the transit gateway to attach.
Result Syntax
[
'SseConnectTransitGatewayAttachment' => [
'CreatedAt' => <DateTime>,
'OwnerAccountId' => '<string>',
'SseConnectId' => '<string>',
'SseConnectTransitGatewayAttachmentArn' => '<string>',
'SseConnectTransitGatewayAttachmentId' => '<string>',
'State' => 'CREATING|PENDING_ATTACHMENT_ACCEPTANCE|AVAILABLE|UPDATING|FAILED|REJECTED|DELETING|DELETED',
'StateReason' => [
'Code' => 'TRANSIT_GATEWAY_OWNER_REJECTED',
'Message' => '<string>',
],
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'TransitGatewayArn' => '<string>',
'TransitGatewayAttachmentId' => '<string>',
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- SseConnectTransitGatewayAttachment
-
- Type: SseConnectTransitGatewayAttachment structure
Information about the SSE connect transit gateway attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
- DryRunOperation:
You have the required permissions. You specified the
DryRunparameter, so the request didn't run.
Examples
Example 1: To attach a transit gateway to an SSE connect
The following example creates an attachment between an SSE connect and a transit gateway in aa-example-1.
$result = $client->createSseConnectTransitGatewayAttachment([
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'TransitGatewayArn' => 'arn:aws:ec2:aa-example-1:111122223333:transit-gateway/tgw-1234567890abcdef0',
]);
Result syntax:
[
'SseConnectTransitGatewayAttachment' => [
'OwnerAccountId' => '111122223333',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseConnectTransitGatewayAttachmentArn' => 'arn:aws:networkmanager::111122223333:sse-connect-tgw-attachment/sse-connect-tgw-attach-1234567890abcdef0',
'SseConnectTransitGatewayAttachmentId' => 'sse-connect-tgw-attach-1234567890abcdef0',
'State' => 'CREATING',
'TransitGatewayArn' => 'arn:aws:ec2:aa-example-1:111122223333:transit-gateway/tgw-1234567890abcdef0',
],
]
CreateTransitGatewayPeering
$result = $client->createTransitGatewayPeering([/* ... */]); $promise = $client->createTransitGatewayPeeringAsync([/* ... */]);
Creates a transit gateway peering connection.
Parameter Syntax
$result = $client->createTransitGatewayPeering([
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'TransitGatewayArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
The client token associated with the request.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
- Tags
-
- Type: Array of Tag structures
The list of key-value tags associated with the request.
- TransitGatewayArn
-
- Required: Yes
- Type: string
The ARN of the transit gateway for the peering request.
Result Syntax
[
'TransitGatewayPeering' => [
'Peering' => [
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'LastModificationErrors' => [
[
'Code' => 'TRANSIT_GATEWAY_NOT_FOUND|TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED|MISSING_PERMISSIONS|INTERNAL_ERROR|EDGE_LOCATION_PEER_DUPLICATE|INVALID_TRANSIT_GATEWAY_STATE|TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED|CREATION_FAILED|DELETION_FAILED',
'Message' => '<string>',
'MissingPermissionsContext' => [
'MissingPermission' => '<string>',
],
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'OwnerAccountId' => '<string>',
'PeeringId' => '<string>',
'PeeringType' => 'TRANSIT_GATEWAY',
'ResourceArn' => '<string>',
'State' => 'CREATING|FAILED|AVAILABLE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'TransitGatewayArn' => '<string>',
'TransitGatewayPeeringAttachmentId' => '<string>',
],
]
Result Details
Members
- TransitGatewayPeering
-
- Type: TransitGatewayPeering structure
Returns information about the transit gateway peering connection request.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateTransitGatewayRouteTableAttachment
$result = $client->createTransitGatewayRouteTableAttachment([/* ... */]); $promise = $client->createTransitGatewayRouteTableAttachmentAsync([/* ... */]);
Creates a transit gateway route table attachment.
Parameter Syntax
$result = $client->createTransitGatewayRouteTableAttachment([
'ClientToken' => '<string>',
'PeeringId' => '<string>', // REQUIRED
'RoutingPolicyLabel' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'TransitGatewayRouteTableArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
The client token associated with the request.
- PeeringId
-
- Required: Yes
- Type: string
The ID of the peer for the
- RoutingPolicyLabel
-
- Type: string
The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions.
- Tags
-
- Type: Array of Tag structures
The list of key-value tags associated with the request.
- TransitGatewayRouteTableArn
-
- Required: Yes
- Type: 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".
Result Syntax
[
'TransitGatewayRouteTableAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'PeeringId' => '<string>',
'TransitGatewayRouteTableArn' => '<string>',
],
]
Result Details
Members
- TransitGatewayRouteTableAttachment
-
- Type: TransitGatewayRouteTableAttachment structure
The route table associated with the create transit gateway route table attachment request.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
CreateVpcAttachment
$result = $client->createVpcAttachment([/* ... */]); $promise = $client->createVpcAttachmentAsync([/* ... */]);
Creates a VPC attachment on an edge location of a core network.
Parameter Syntax
$result = $client->createVpcAttachment([
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'NatGatewayRules' => [
[
'MatchSourceCidr' => '<string>', // REQUIRED
'NatCidr' => '<string>', // REQUIRED
'RuleNumber' => <integer>, // REQUIRED
],
// ...
],
'NatGatewaySupport' => 'ENABLE|DISABLE',
'Options' => [
'ApplianceModeSupport' => true || false,
'DnsSupport' => true || false,
'Ipv6Support' => true || false,
'SecurityGroupReferencingSupport' => true || false,
],
'RoutingPolicyLabel' => '<string>',
'SubnetArns' => ['<string>', ...], // REQUIRED
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'VpcArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
The client token associated with the request.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network for the VPC attachment.
- NatGatewayRules
-
- Type: Array of NatRuleRequest structures
The NAT rules for the VPC attachment, up to 50 rules.
- NatGatewaySupport
-
- Type: string
Specifies whether to enable NAT gateway support on the VPC attachment. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.
- Options
-
- Type: VpcOptions structure
Options for the VPC attachment.
- RoutingPolicyLabel
-
- Type: string
The routing policy label to apply to the VPC attachment for traffic routing decisions.
- SubnetArns
-
- Required: Yes
- Type: Array of strings
The subnet ARN of the VPC attachment.
- Tags
-
- Type: Array of Tag structures
The key-value tags associated with the request.
- VpcArn
-
- Required: Yes
- Type: string
The ARN of the VPC.
Result Syntax
[
'VpcAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'Options' => [
'ApplianceModeSupport' => true || false,
'DnsSupport' => true || false,
'Ipv6Support' => true || false,
'SecurityGroupReferencingSupport' => true || false,
],
'SubnetArns' => ['<string>', ...],
],
]
Result Details
Members
- VpcAttachment
-
- Type: VpcAttachment structure
Provides details about the VPC attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteAttachment
$result = $client->deleteAttachment([/* ... */]); $promise = $client->deleteAttachmentAsync([/* ... */]);
Deletes an attachment. Supports all attachment types.
Parameter Syntax
$result = $client->deleteAttachment([
'AttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment to delete.
Result Syntax
[
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- Attachment
-
- Type: Attachment structure
Information about the deleted attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteConnectPeer
$result = $client->deleteConnectPeer([/* ... */]); $promise = $client->deleteConnectPeerAsync([/* ... */]);
Deletes a Connect peer.
Parameter Syntax
$result = $client->deleteConnectPeer([
'ConnectPeerId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ConnectPeerId
-
- Required: Yes
- Type: string
The ID of the deleted Connect peer.
Result Syntax
[
'ConnectPeer' => [
'Configuration' => [
'BgpConfigurations' => [
[
'CoreNetworkAddress' => '<string>',
'CoreNetworkAsn' => <integer>,
'PeerAddress' => '<string>',
'PeerAsn' => <integer>,
],
// ...
],
'CoreNetworkAddress' => '<string>',
'InsideCidrBlocks' => ['<string>', ...],
'PeerAddress' => '<string>',
'Protocol' => 'GRE|NO_ENCAP',
],
'ConnectAttachmentId' => '<string>',
'ConnectPeerId' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'LastModificationErrors' => [
[
'Code' => 'EDGE_LOCATION_NO_FREE_IPS|EDGE_LOCATION_PEER_DUPLICATE|SUBNET_NOT_FOUND|IP_OUTSIDE_SUBNET_CIDR_RANGE|INVALID_INSIDE_CIDR_BLOCK|NO_ASSOCIATED_CIDR_BLOCK|CREATION_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'State' => 'CREATING|FAILED|AVAILABLE|DELETING',
'SubnetArn' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- ConnectPeer
-
- Type: ConnectPeer structure
Information about the deleted Connect peer.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteConnection
$result = $client->deleteConnection([/* ... */]); $promise = $client->deleteConnectionAsync([/* ... */]);
Deletes the specified connection in your global network.
Parameter Syntax
$result = $client->deleteConnection([
'ConnectionId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ConnectionId
-
- Required: Yes
- Type: string
The ID of the connection.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
Result Syntax
[
'Connection' => [
'ConnectedDeviceId' => '<string>',
'ConnectedLinkId' => '<string>',
'ConnectionArn' => '<string>',
'ConnectionId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- Connection
-
- Type: Connection structure
Information about the connection.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteContextStore
$result = $client->deleteContextStore([/* ... */]); $promise = $client->deleteContextStoreAsync([/* ... */]);
Deletes a context store. The context store must be in the AVAILABLE state. You must disassociate all transit gateways from the context store before you can delete it.
Parameter Syntax
$result = $client->deleteContextStore([
'ContextStoreId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store to delete.
Result Syntax
[
'ContextStore' => [
'ContextStoreArn' => '<string>',
'ContextStoreId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- ContextStore
-
- Type: ContextStore structure
Information about the context store.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteCoreNetwork
$result = $client->deleteCoreNetwork([/* ... */]); $promise = $client->deleteCoreNetworkAsync([/* ... */]);
Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
Parameter Syntax
$result = $client->deleteCoreNetwork([
'CoreNetworkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The network ID of the deleted core network.
Result Syntax
[
'CoreNetwork' => [
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'Edges' => [
[
'Asn' => <integer>,
'EdgeLocation' => '<string>',
'InsideCidrBlocks' => ['<string>', ...],
],
// ...
],
'GlobalNetworkId' => '<string>',
'NetworkFunctionGroups' => [
[
'EdgeLocations' => ['<string>', ...],
'Name' => '<string>',
'Segments' => [
'SendTo' => ['<string>', ...],
'SendVia' => ['<string>', ...],
],
],
// ...
],
'Segments' => [
[
'EdgeLocations' => ['<string>', ...],
'Name' => '<string>',
'SharedSegments' => ['<string>', ...],
],
// ...
],
'State' => 'CREATING|UPDATING|AVAILABLE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- CoreNetwork
-
- Type: CoreNetwork structure
Information about the deleted core network.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteCoreNetworkPolicyVersion
$result = $client->deleteCoreNetworkPolicyVersion([/* ... */]); $promise = $client->deleteCoreNetworkPolicyVersionAsync([/* ... */]);
Deletes a policy version from a core network. You can't delete the current LIVE policy.
Parameter Syntax
$result = $client->deleteCoreNetworkPolicyVersion([
'CoreNetworkId' => '<string>', // REQUIRED
'PolicyVersionId' => <integer>, // REQUIRED
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network for the deleted policy.
- PolicyVersionId
-
- Required: Yes
- Type: int
The version ID of the deleted policy.
Result Syntax
[
'CoreNetworkPolicy' => [
'Alias' => 'LIVE|LATEST',
'ChangeSetState' => 'PENDING_GENERATION|FAILED_GENERATION|READY_TO_EXECUTE|EXECUTING|EXECUTION_SUCCEEDED|OUT_OF_DATE',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DryRunFailureReason' => '<string>',
'DryRunState' => 'PENDING|AVAILABLE|STALE|FAILED',
'DryRunUpdatedAt' => <DateTime>,
'PolicyDocument' => '<string>',
'PolicyErrors' => [
[
'ErrorCode' => '<string>',
'Message' => '<string>',
'Path' => '<string>',
],
// ...
],
'PolicyVersionId' => <integer>,
],
]
Result Details
Members
- CoreNetworkPolicy
-
- Type: CoreNetworkPolicy structure
Returns information about the deleted policy version.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
DeleteCoreNetworkPrefixListAssociation
$result = $client->deleteCoreNetworkPrefixListAssociation([/* ... */]); $promise = $client->deleteCoreNetworkPrefixListAssociationAsync([/* ... */]);
Deletes an association between a core network and a prefix list.
Parameter Syntax
$result = $client->deleteCoreNetworkPrefixListAssociation([
'CoreNetworkId' => '<string>', // REQUIRED
'PrefixListArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network from which to delete the prefix list association.
- PrefixListArn
-
- Required: Yes
- Type: string
The ARN of the prefix list to disassociate from the core network.
Result Syntax
[
'CoreNetworkId' => '<string>',
'PrefixListArn' => '<string>',
]
Result Details
Members
- CoreNetworkId
-
- Type: string
The ID of the core network from which the prefix list association was deleted.
- PrefixListArn
-
- Type: string
The ARN of the prefix list that was disassociated from the core network.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteDevice
$result = $client->deleteDevice([/* ... */]); $promise = $client->deleteDeviceAsync([/* ... */]);
Deletes an existing device. You must first disassociate the device from any links and customer gateways.
Parameter Syntax
$result = $client->deleteDevice([
'DeviceId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- DeviceId
-
- Required: Yes
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
Result Syntax
[
'Device' => [
'AWSLocation' => [
'SubnetArn' => '<string>',
'Zone' => '<string>',
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DeviceArn' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'Model' => '<string>',
'SerialNumber' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
'Vendor' => '<string>',
],
]
Result Details
Members
- Device
-
- Type: Device structure
Information about the device.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteGlobalNetwork
$result = $client->deleteGlobalNetwork([/* ... */]); $promise = $client->deleteGlobalNetworkAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->deleteGlobalNetwork([
'GlobalNetworkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
Result Syntax
[
'GlobalNetwork' => [
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkArn' => '<string>',
'GlobalNetworkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- GlobalNetwork
-
- Type: GlobalNetwork structure
Information about the global network.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteLink
$result = $client->deleteLink([/* ... */]); $promise = $client->deleteLinkAsync([/* ... */]);
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
Parameter Syntax
$result = $client->deleteLink([
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkId
-
- Required: Yes
- Type: string
The ID of the link.
Result Syntax
[
'Link' => [
'Bandwidth' => [
'DownloadSpeed' => <integer>,
'UploadSpeed' => <integer>,
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkArn' => '<string>',
'LinkId' => '<string>',
'Provider' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
],
]
Result Details
Members
- Link
-
- Type: Link structure
Information about the link.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteNetworkScope
$result = $client->deleteNetworkScope([/* ... */]); $promise = $client->deleteNetworkScopeAsync([/* ... */]);
Deletes a network scope. You can delete a network scope that is in the AVAILABLE, UPDATING, or FAILED state. The response returns the network scope in the DELETING state. GetNetworkScope and ListNetworkScopes return the network scope while it's being deleted and for 2 hours after it's deleted. This operation is idempotent: if the network scope is already DELETING, or it became DELETED less than 2 hours ago, the operation returns it unchanged. After that, the operation returns ResourceNotFoundException.
Parameter Syntax
$result = $client->deleteNetworkScope([
'NetworkScopeId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope to delete.
Result Syntax
[
'NetworkScope' => [
'AccessMode' => 'ACCOUNTS|ORGANIZATIONS',
'CreatedAt' => <DateTime>,
'Name' => '<string>',
'NetworkScopeArn' => '<string>',
'NetworkScopeId' => '<string>',
'NetworkScopeRegions' => ['<string>', ...],
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED|FAILED',
'StateReason' => [
'Code' => 'SCOPE_OWNER_NOT_ORGANIZATION_MEMBER|NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED|SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR|NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED|PRINCIPALS_NOT_FULLY_COVERED',
'Message' => '<string>',
],
],
]
Result Details
Members
- NetworkScope
-
- Required: Yes
- Type: NetworkScope structure
Information about the network scope.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Deleting a network scope
$result = $client->deleteNetworkScope([
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
]);
Result syntax:
[
'NetworkScope' => [
'AccessMode' => 'ACCOUNTS',
'CreatedAt' => ,
'Name' => 'production-network',
'NetworkScopeArn' => 'arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0',
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'NetworkScopeRegions' => [
'us-east-1',
'us-west-2',
],
'State' => 'DELETING',
],
]
DeletePeering
$result = $client->deletePeering([/* ... */]); $promise = $client->deletePeeringAsync([/* ... */]);
Deletes an existing peering connection.
Parameter Syntax
$result = $client->deletePeering([
'PeeringId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- PeeringId
-
- Required: Yes
- Type: string
The ID of the peering connection to delete.
Result Syntax
[
'Peering' => [
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'LastModificationErrors' => [
[
'Code' => 'TRANSIT_GATEWAY_NOT_FOUND|TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED|MISSING_PERMISSIONS|INTERNAL_ERROR|EDGE_LOCATION_PEER_DUPLICATE|INVALID_TRANSIT_GATEWAY_STATE|TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED|CREATION_FAILED|DELETION_FAILED',
'Message' => '<string>',
'MissingPermissionsContext' => [
'MissingPermission' => '<string>',
],
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'OwnerAccountId' => '<string>',
'PeeringId' => '<string>',
'PeeringType' => 'TRANSIT_GATEWAY',
'ResourceArn' => '<string>',
'State' => 'CREATING|FAILED|AVAILABLE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- Peering
-
- Type: Peering structure
Information about a deleted peering connection.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteResourcePolicy
$result = $client->deleteResourcePolicy([/* ... */]); $promise = $client->deleteResourcePolicyAsync([/* ... */]);
Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.
Parameter Syntax
$result = $client->deleteResourcePolicy([
'ResourceArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ResourceArn
-
- Required: Yes
- Type: string
The ARN of the policy to delete.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteSite
$result = $client->deleteSite([/* ... */]); $promise = $client->deleteSiteAsync([/* ... */]);
Deletes an existing site. The site cannot be associated with any device or link.
Parameter Syntax
$result = $client->deleteSite([
'GlobalNetworkId' => '<string>', // REQUIRED
'SiteId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- SiteId
-
- Required: Yes
- Type: string
The ID of the site.
Result Syntax
[
'Site' => [
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'SiteArn' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- Site
-
- Type: Site structure
Information about the site.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DeleteSseConnect
$result = $client->deleteSseConnect([/* ... */]); $promise = $client->deleteSseConnectAsync([/* ... */]);
Deletes an SSE connect. You must delete all attachments of the SSE connect before you delete it. Deleting an SSE connect doesn't cancel your subscription with the SSE provider.
Parameter Syntax
$result = $client->deleteSseConnect([
'DryRun' => true || false,
'SseConnectId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- DryRun
-
- Type: boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isAccessDeniedException. - SseConnectId
-
- Required: Yes
- Type: string
The ID of the SSE connect to delete.
Result Syntax
[
'SseConnect' => [
'AttachmentRegions' => [
[
'RegionName' => '<string>',
],
// ...
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'PartnerLinkStatus' => 'PENDING|LINKED|NOT_LINKED',
'SseConnectArn' => '<string>',
'SseConnectId' => '<string>',
'SseRegions' => [
[
'PeerHealthStatus' => 'HEALTHY|UNHEALTHY',
'RegionName' => '<string>',
],
// ...
],
'SseVendor' => '<string>',
'State' => 'CREATING|AVAILABLE|UPDATING|FAILED|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- SseConnect
-
- Type: SseConnect structure
Information about the SSE connect.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
- DryRunOperation:
You have the required permissions. You specified the
DryRunparameter, so the request didn't run.
Examples
Example 1: To delete an SSE connect
The following example deletes an SSE connect that has no attachments.
$result = $client->deleteSseConnect([
'SseConnectId' => 'sse-connect-1234567890abcdef0',
]);
Result syntax:
[
'SseConnect' => [
'PartnerLinkStatus' => 'LINKED',
'SseConnectArn' => 'arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseVendor' => 'PALO_ALTO',
'State' => 'DELETING',
],
]
DeleteSseConnectTransitGatewayAttachment
$result = $client->deleteSseConnectTransitGatewayAttachment([/* ... */]); $promise = $client->deleteSseConnectTransitGatewayAttachmentAsync([/* ... */]);
Deletes an SSE connect transit gateway attachment. Before you delete the attachment, update the transit gateway route tables that direct traffic to it.
Parameter Syntax
$result = $client->deleteSseConnectTransitGatewayAttachment([
'DryRun' => true || false,
'SseConnectTransitGatewayAttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- DryRun
-
- Type: boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isAccessDeniedException. - SseConnectTransitGatewayAttachmentId
-
- Required: Yes
- Type: string
The ID of the SSE connect transit gateway attachment to delete.
Result Syntax
[
'SseConnectTransitGatewayAttachment' => [
'CreatedAt' => <DateTime>,
'OwnerAccountId' => '<string>',
'SseConnectId' => '<string>',
'SseConnectTransitGatewayAttachmentArn' => '<string>',
'SseConnectTransitGatewayAttachmentId' => '<string>',
'State' => 'CREATING|PENDING_ATTACHMENT_ACCEPTANCE|AVAILABLE|UPDATING|FAILED|REJECTED|DELETING|DELETED',
'StateReason' => [
'Code' => 'TRANSIT_GATEWAY_OWNER_REJECTED',
'Message' => '<string>',
],
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'TransitGatewayArn' => '<string>',
'TransitGatewayAttachmentId' => '<string>',
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- SseConnectTransitGatewayAttachment
-
- Type: SseConnectTransitGatewayAttachment structure
Information about the SSE connect transit gateway attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
- DryRunOperation:
You have the required permissions. You specified the
DryRunparameter, so the request didn't run.
Examples
Example 1: To delete an SSE connect transit gateway attachment
The following example deletes an SSE connect transit gateway attachment.
$result = $client->deleteSseConnectTransitGatewayAttachment([
'SseConnectTransitGatewayAttachmentId' => 'sse-connect-tgw-attach-1234567890abcdef0',
]);
Result syntax:
[
'SseConnectTransitGatewayAttachment' => [
'OwnerAccountId' => '111122223333',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseConnectTransitGatewayAttachmentArn' => 'arn:aws:networkmanager::111122223333:sse-connect-tgw-attachment/sse-connect-tgw-attach-1234567890abcdef0',
'SseConnectTransitGatewayAttachmentId' => 'sse-connect-tgw-attach-1234567890abcdef0',
'State' => 'DELETING',
'TransitGatewayArn' => 'arn:aws:ec2:aa-example-1:111122223333:transit-gateway/tgw-1234567890abcdef0',
'TransitGatewayAttachmentId' => 'tgw-attach-1234567890abcdef0',
],
]
DeregisterTransitGateway
$result = $client->deregisterTransitGateway([/* ... */]); $promise = $client->deregisterTransitGatewayAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->deregisterTransitGateway([
'GlobalNetworkId' => '<string>', // REQUIRED
'TransitGatewayArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- TransitGatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the transit gateway.
Result Syntax
[
'TransitGatewayRegistration' => [
'GlobalNetworkId' => '<string>',
'State' => [
'Code' => 'PENDING|AVAILABLE|DELETING|DELETED|FAILED',
'Message' => '<string>',
],
'TransitGatewayArn' => '<string>',
],
]
Result Details
Members
- TransitGatewayRegistration
-
- Type: TransitGatewayRegistration structure
The transit gateway registration information.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DescribeGlobalNetworks
$result = $client->describeGlobalNetworks([/* ... */]); $promise = $client->describeGlobalNetworksAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->describeGlobalNetworks([
'GlobalNetworkIds' => ['<string>', ...],
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- GlobalNetworkIds
-
- Type: Array of strings
The IDs of one or more global networks. The maximum is 10.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'GlobalNetworks' => [
[
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkArn' => '<string>',
'GlobalNetworkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- GlobalNetworks
-
- Type: Array of GlobalNetwork structures
Information about the global networks.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DisassociateConnectPeer
$result = $client->disassociateConnectPeer([/* ... */]); $promise = $client->disassociateConnectPeerAsync([/* ... */]);
Disassociates a core network Connect peer from a device and a link.
Parameter Syntax
$result = $client->disassociateConnectPeer([
'ConnectPeerId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ConnectPeerId
-
- Required: Yes
- Type: string
The ID of the Connect peer to disassociate from a device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
Result Syntax
[
'ConnectPeerAssociation' => [
'ConnectPeerId' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|DELETED',
],
]
Result Details
Members
- ConnectPeerAssociation
-
- Type: ConnectPeerAssociation structure
Describes the Connect peer association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DisassociateContextStore
$result = $client->disassociateContextStore([/* ... */]); $promise = $client->disassociateContextStoreAsync([/* ... */]);
Disassociates a transit gateway from a context store. The association must be in the ASSOCIATED or FAILED state. The association stays in the DISASSOCIATING state until the disassociation completes.
Parameter Syntax
$result = $client->disassociateContextStore([
'ContextStoreId' => '<string>', // REQUIRED
'TransitGatewayArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store.
- TransitGatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the transit gateway to disassociate from the context store.
Result Syntax
[
'ContextStoreAssociation' => [
'ContextStoreId' => '<string>',
'CreatedAt' => <DateTime>,
'State' => 'ASSOCIATING|ASSOCIATED|DISASSOCIATING|FAILED',
'TransitGatewayArn' => '<string>',
],
]
Result Details
Members
- ContextStoreAssociation
-
- Type: ContextStoreAssociation structure
Information about the context store association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DisassociateCustomerGateway
$result = $client->disassociateCustomerGateway([/* ... */]); $promise = $client->disassociateCustomerGatewayAsync([/* ... */]);
Disassociates a customer gateway from a device and a link.
Parameter Syntax
$result = $client->disassociateCustomerGateway([
'CustomerGatewayArn' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- CustomerGatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the customer gateway.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
Result Syntax
[
'CustomerGatewayAssociation' => [
'CustomerGatewayArn' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|DELETED',
],
]
Result Details
Members
- CustomerGatewayAssociation
-
- Type: CustomerGatewayAssociation structure
Information about the customer gateway association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DisassociateLink
$result = $client->disassociateLink([/* ... */]); $promise = $client->disassociateLinkAsync([/* ... */]);
Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
Parameter Syntax
$result = $client->disassociateLink([
'DeviceId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- DeviceId
-
- Required: Yes
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkId
-
- Required: Yes
- Type: string
The ID of the link.
Result Syntax
[
'LinkAssociation' => [
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkAssociationState' => 'PENDING|AVAILABLE|DELETING|DELETED',
'LinkId' => '<string>',
],
]
Result Details
Members
- LinkAssociation
-
- Type: LinkAssociation structure
Information about the link association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
DisassociateNetworkScopePrincipal
$result = $client->disassociateNetworkScopePrincipal([/* ... */]); $promise = $client->disassociateNetworkScopePrincipalAsync([/* ... */]);
Disassociates a principal from a network scope. The network scope must be in the AVAILABLE state. This operation is idempotent: if the principal is already DISASSOCIATING, the operation returns it unchanged. When the removal is complete, the principal is deleted, and later requests return ResourceNotFoundException. The principal is returned in a transitional state. To track it, call ListNetworkScopePrincipals. An association becomes ASSOCIATED or FAILED. A disassociated principal is removed and is no longer returned.
Parameter Syntax
$result = $client->disassociateNetworkScopePrincipal([
'NetworkScopeId' => '<string>', // REQUIRED
'Principal' => '<string>', // REQUIRED
]);
Parameter Details
Members
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope to disassociate the principal from.
- Principal
-
- Required: Yes
- Type: string
The principal to disassociate.
Result Syntax
[
'NetworkScopeId' => '<string>',
'Principal' => '<string>',
'State' => 'ASSOCIATING|ASSOCIATED|FAILED|DISASSOCIATING|DISASSOCIATED|INACTIVE',
'StateReason' => [
'Code' => 'ORGANIZATION_ACCESS_LOST|SCOPE_OWNER_NOT_ORGANIZATION_MEMBER|NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED|SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR|NOT_IN_OWNER_ORGANIZATION|ORGANIZATIONAL_UNIT_DELETED|NETWORK_MANAGER_SERVICE_LINKED_ROLE_NOT_ASSUMABLE|REGION_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED|NETWORK_SECURITY_ANALYSIS_POLICY_ATTACHMENT_LIMIT_EXCEEDED',
'Message' => '<string>',
],
]
Result Details
Members
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope.
- Principal
-
- Required: Yes
- Type: string
The principal.
- State
-
- Required: Yes
- Type: string
The state of the principal, which is
DISASSOCIATINGwhile the principal is being removed. - StateReason
-
- Type: NetworkScopePrincipalStateReason structure
The reason for the current state of the principal, if a reason applies. A reason is included only when the removal has already started and is blocked by a prerequisite that you must complete.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Disassociating an account from a network scope
$result = $client->disassociateNetworkScopePrincipal([
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'Principal' => '444455556666',
]);
Result syntax:
[
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'Principal' => '444455556666',
'State' => 'DISASSOCIATING',
]
DisassociateTransitGatewayConnectPeer
$result = $client->disassociateTransitGatewayConnectPeer([/* ... */]); $promise = $client->disassociateTransitGatewayConnectPeerAsync([/* ... */]);
Disassociates a transit gateway Connect peer from a device and link.
Parameter Syntax
$result = $client->disassociateTransitGatewayConnectPeer([
'GlobalNetworkId' => '<string>', // REQUIRED
'TransitGatewayConnectPeerArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- TransitGatewayConnectPeerArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
Result Syntax
[
'TransitGatewayConnectPeerAssociation' => [
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|DELETED',
'TransitGatewayConnectPeerArn' => '<string>',
],
]
Result Details
Members
- TransitGatewayConnectPeerAssociation
-
- Type: TransitGatewayConnectPeerAssociation structure
The transit gateway Connect peer association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ExecuteCoreNetworkChangeSet
$result = $client->executeCoreNetworkChangeSet([/* ... */]); $promise = $client->executeCoreNetworkChangeSetAsync([/* ... */]);
Executes a change set on your core network. Deploys changes globally based on the policy submitted..
Parameter Syntax
$result = $client->executeCoreNetworkChangeSet([
'CoreNetworkId' => '<string>', // REQUIRED
'PolicyVersionId' => <integer>, // REQUIRED
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
- PolicyVersionId
-
- Required: Yes
- Type: int
The ID of the policy version.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
GetConnectAttachment
$result = $client->getConnectAttachment([/* ... */]); $promise = $client->getConnectAttachmentAsync([/* ... */]);
Returns information about a core network Connect attachment.
Parameter Syntax
$result = $client->getConnectAttachment([
'AttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment.
Result Syntax
[
'ConnectAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'Options' => [
'Protocol' => 'GRE|NO_ENCAP',
],
'TransportAttachmentId' => '<string>',
],
]
Result Details
Members
- ConnectAttachment
-
- Type: ConnectAttachment structure
Details about the Connect attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetConnectPeer
$result = $client->getConnectPeer([/* ... */]); $promise = $client->getConnectPeerAsync([/* ... */]);
Returns information about a core network Connect peer.
Parameter Syntax
$result = $client->getConnectPeer([
'ConnectPeerId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ConnectPeerId
-
- Required: Yes
- Type: string
The ID of the Connect peer.
Result Syntax
[
'ConnectPeer' => [
'Configuration' => [
'BgpConfigurations' => [
[
'CoreNetworkAddress' => '<string>',
'CoreNetworkAsn' => <integer>,
'PeerAddress' => '<string>',
'PeerAsn' => <integer>,
],
// ...
],
'CoreNetworkAddress' => '<string>',
'InsideCidrBlocks' => ['<string>', ...],
'PeerAddress' => '<string>',
'Protocol' => 'GRE|NO_ENCAP',
],
'ConnectAttachmentId' => '<string>',
'ConnectPeerId' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'LastModificationErrors' => [
[
'Code' => 'EDGE_LOCATION_NO_FREE_IPS|EDGE_LOCATION_PEER_DUPLICATE|SUBNET_NOT_FOUND|IP_OUTSIDE_SUBNET_CIDR_RANGE|INVALID_INSIDE_CIDR_BLOCK|NO_ASSOCIATED_CIDR_BLOCK|CREATION_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'State' => 'CREATING|FAILED|AVAILABLE|DELETING',
'SubnetArn' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- ConnectPeer
-
- Type: ConnectPeer structure
Returns information about a core network Connect peer.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetConnectPeerAssociations
$result = $client->getConnectPeerAssociations([/* ... */]); $promise = $client->getConnectPeerAssociationsAsync([/* ... */]);
Returns information about a core network Connect peer associations.
Parameter Syntax
$result = $client->getConnectPeerAssociations([
'ConnectPeerIds' => ['<string>', ...],
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- ConnectPeerIds
-
- Type: Array of strings
The IDs of the Connect peers.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'ConnectPeerAssociations' => [
[
'ConnectPeerId' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|DELETED',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- ConnectPeerAssociations
-
- Type: Array of ConnectPeerAssociation structures
Displays a list of Connect peer associations.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetConnections
$result = $client->getConnections([/* ... */]); $promise = $client->getConnectionsAsync([/* ... */]);
Gets information about one or more of your connections in a global network.
Parameter Syntax
$result = $client->getConnections([
'ConnectionIds' => ['<string>', ...],
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- ConnectionIds
-
- Type: Array of strings
One or more connection IDs.
- DeviceId
-
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'Connections' => [
[
'ConnectedDeviceId' => '<string>',
'ConnectedLinkId' => '<string>',
'ConnectionArn' => '<string>',
'ConnectionId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- Connections
-
- Type: Array of Connection structures
Information about the connections.
- NextToken
-
- Type: string
The token to use for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetContextStore
$result = $client->getContextStore([/* ... */]); $promise = $client->getContextStoreAsync([/* ... */]);
Returns information about a context store.
Parameter Syntax
$result = $client->getContextStore([
'ContextStoreId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store.
Result Syntax
[
'ContextStore' => [
'ContextStoreArn' => '<string>',
'ContextStoreId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- ContextStore
-
- Type: ContextStore structure
Information about the context store.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetContextStoreAssociation
$result = $client->getContextStoreAssociation([/* ... */]); $promise = $client->getContextStoreAssociationAsync([/* ... */]);
Returns information about the association between a context store and a transit gateway.
Parameter Syntax
$result = $client->getContextStoreAssociation([
'ContextStoreId' => '<string>', // REQUIRED
'TransitGatewayArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store.
- TransitGatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the transit gateway.
Result Syntax
[
'ContextStoreAssociation' => [
'ContextStoreId' => '<string>',
'CreatedAt' => <DateTime>,
'State' => 'ASSOCIATING|ASSOCIATED|DISASSOCIATING|FAILED',
'TransitGatewayArn' => '<string>',
],
]
Result Details
Members
- ContextStoreAssociation
-
- Type: ContextStoreAssociation structure
Information about the context store association.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetContextVersion
$result = $client->getContextVersion([/* ... */]); $promise = $client->getContextVersionAsync([/* ... */]);
Returns the current version of the context entries of a context store. The context store must be in the AVAILABLE state.
Parameter Syntax
$result = $client->getContextVersion([
'ContextStoreId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store.
Result Syntax
[
'VersionId' => '<string>',
]
Result Details
Members
- VersionId
-
- Type: string
The current version of the context entries.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetCoreNetwork
$result = $client->getCoreNetwork([/* ... */]); $promise = $client->getCoreNetworkAsync([/* ... */]);
Returns information about the LIVE policy for a core network.
Parameter Syntax
$result = $client->getCoreNetwork([
'CoreNetworkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
Result Syntax
[
'CoreNetwork' => [
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'Edges' => [
[
'Asn' => <integer>,
'EdgeLocation' => '<string>',
'InsideCidrBlocks' => ['<string>', ...],
],
// ...
],
'GlobalNetworkId' => '<string>',
'NetworkFunctionGroups' => [
[
'EdgeLocations' => ['<string>', ...],
'Name' => '<string>',
'Segments' => [
'SendTo' => ['<string>', ...],
'SendVia' => ['<string>', ...],
],
],
// ...
],
'Segments' => [
[
'EdgeLocations' => ['<string>', ...],
'Name' => '<string>',
'SharedSegments' => ['<string>', ...],
],
// ...
],
'State' => 'CREATING|UPDATING|AVAILABLE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- CoreNetwork
-
- Type: CoreNetwork structure
Details about a core network.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetCoreNetworkChangeEvents
$result = $client->getCoreNetworkChangeEvents([/* ... */]); $promise = $client->getCoreNetworkChangeEventsAsync([/* ... */]);
Returns information about a core network change event.
Parameter Syntax
$result = $client->getCoreNetworkChangeEvents([
'CoreNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'PolicyVersionId' => <integer>, // REQUIRED
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- PolicyVersionId
-
- Required: Yes
- Type: int
The ID of the policy version.
Result Syntax
[
'CoreNetworkChangeEvents' => [
[
'Action' => 'ADD|MODIFY|REMOVE',
'EventTime' => <DateTime>,
'IdentifierPath' => '<string>',
'Status' => 'NOT_STARTED|IN_PROGRESS|COMPLETE|FAILED',
'Type' => 'CORE_NETWORK_SEGMENT|NETWORK_FUNCTION_GROUP|CORE_NETWORK_EDGE|ATTACHMENT_MAPPING|ATTACHMENT_ROUTE_PROPAGATION|ATTACHMENT_ROUTE_STATIC|ROUTING_POLICY|ROUTING_POLICY_SEGMENT_ASSOCIATION|ROUTING_POLICY_EDGE_ASSOCIATION|ROUTING_POLICY_ATTACHMENT_ASSOCIATION|CORE_NETWORK_CONFIGURATION|SEGMENTS_CONFIGURATION|SEGMENT_ACTIONS_CONFIGURATION|ATTACHMENT_POLICIES_CONFIGURATION',
'Values' => [
'AttachmentId' => '<string>',
'Cidr' => '<string>',
'EdgeLocation' => '<string>',
'NetworkFunctionGroupName' => '<string>',
'PeerEdgeLocation' => '<string>',
'RoutingPolicyAssociationDetails' => [
[
'RoutingPolicyNames' => ['<string>', ...],
'SharedSegments' => ['<string>', ...],
],
// ...
],
'RoutingPolicyDirection' => 'inbound|outbound',
'SegmentName' => '<string>',
],
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- CoreNetworkChangeEvents
-
- Type: Array of CoreNetworkChangeEvent structures
The response to
GetCoreNetworkChangeEventsRequest. - NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetCoreNetworkChangeSet
$result = $client->getCoreNetworkChangeSet([/* ... */]); $promise = $client->getCoreNetworkChangeSetAsync([/* ... */]);
Returns a change set between the LIVE core network policy and a submitted policy.
Parameter Syntax
$result = $client->getCoreNetworkChangeSet([
'CoreNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'PolicyVersionId' => <integer>, // REQUIRED
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- PolicyVersionId
-
- Required: Yes
- Type: int
The ID of the policy version.
Result Syntax
[
'CoreNetworkChanges' => [
[
'Action' => 'ADD|MODIFY|REMOVE',
'Identifier' => '<string>',
'IdentifierPath' => '<string>',
'NewValues' => [
'Asn' => <integer>,
'AttachmentId' => '<string>',
'Cidr' => '<string>',
'DestinationIdentifier' => '<string>',
'DnsSupport' => true || false,
'EdgeLocations' => ['<string>', ...],
'InsideCidrBlocks' => ['<string>', ...],
'MultipathResilience' => [
'EdgeSets' => [
['<string>', ...],
// ...
],
'Mode' => 'best-effort|disabled',
],
'NetworkFunctionGroupName' => '<string>',
'PeerEdgeLocations' => ['<string>', ...],
'RoutingPolicy' => '<string>',
'RoutingPolicyAssociationDetails' => [
[
'RoutingPolicyNames' => ['<string>', ...],
'SharedSegments' => ['<string>', ...],
],
// ...
],
'RoutingPolicyDirection' => 'inbound|outbound',
'SecurityGroupReferencingSupport' => true || false,
'SegmentName' => '<string>',
'ServiceInsertionActions' => [
[
'Action' => 'send-via|send-to',
'Mode' => 'dual-hop|single-hop',
'Via' => [
'NetworkFunctionGroups' => [
[
'Name' => '<string>',
],
// ...
],
'WithEdgeOverrides' => [
[
'EdgeSets' => [
['<string>', ...],
// ...
],
'UseEdge' => '<string>',
],
// ...
],
],
'WhenSentTo' => [
'WhenSentToSegmentsList' => ['<string>', ...],
],
],
// ...
],
'SharedSegments' => ['<string>', ...],
'VpnEcmpSupport' => true || false,
],
'PreviousValues' => [
'Asn' => <integer>,
'AttachmentId' => '<string>',
'Cidr' => '<string>',
'DestinationIdentifier' => '<string>',
'DnsSupport' => true || false,
'EdgeLocations' => ['<string>', ...],
'InsideCidrBlocks' => ['<string>', ...],
'MultipathResilience' => [
'EdgeSets' => [
['<string>', ...],
// ...
],
'Mode' => 'best-effort|disabled',
],
'NetworkFunctionGroupName' => '<string>',
'PeerEdgeLocations' => ['<string>', ...],
'RoutingPolicy' => '<string>',
'RoutingPolicyAssociationDetails' => [
[
'RoutingPolicyNames' => ['<string>', ...],
'SharedSegments' => ['<string>', ...],
],
// ...
],
'RoutingPolicyDirection' => 'inbound|outbound',
'SecurityGroupReferencingSupport' => true || false,
'SegmentName' => '<string>',
'ServiceInsertionActions' => [
[
'Action' => 'send-via|send-to',
'Mode' => 'dual-hop|single-hop',
'Via' => [
'NetworkFunctionGroups' => [
[
'Name' => '<string>',
],
// ...
],
'WithEdgeOverrides' => [
[
'EdgeSets' => [
['<string>', ...],
// ...
],
'UseEdge' => '<string>',
],
// ...
],
],
'WhenSentTo' => [
'WhenSentToSegmentsList' => ['<string>', ...],
],
],
// ...
],
'SharedSegments' => ['<string>', ...],
'VpnEcmpSupport' => true || false,
],
'Type' => 'CORE_NETWORK_SEGMENT|NETWORK_FUNCTION_GROUP|CORE_NETWORK_EDGE|ATTACHMENT_MAPPING|ATTACHMENT_ROUTE_PROPAGATION|ATTACHMENT_ROUTE_STATIC|ROUTING_POLICY|ROUTING_POLICY_SEGMENT_ASSOCIATION|ROUTING_POLICY_EDGE_ASSOCIATION|ROUTING_POLICY_ATTACHMENT_ASSOCIATION|CORE_NETWORK_CONFIGURATION|SEGMENTS_CONFIGURATION|SEGMENT_ACTIONS_CONFIGURATION|ATTACHMENT_POLICIES_CONFIGURATION',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- CoreNetworkChanges
-
- Type: Array of CoreNetworkChange structures
Describes a core network changes.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetCoreNetworkPolicy
$result = $client->getCoreNetworkPolicy([/* ... */]); $promise = $client->getCoreNetworkPolicyAsync([/* ... */]);
Returns details about a core network policy. You can get details about your current live policy or any previous policy version.
Parameter Syntax
$result = $client->getCoreNetworkPolicy([
'Alias' => 'LIVE|LATEST',
'CoreNetworkId' => '<string>', // REQUIRED
'PolicyVersionId' => <integer>,
]);
Parameter Details
Members
- Alias
-
- Type: string
The alias of a core network policy
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
- PolicyVersionId
-
- Type: int
The ID of a core network policy version.
Result Syntax
[
'CoreNetworkPolicy' => [
'Alias' => 'LIVE|LATEST',
'ChangeSetState' => 'PENDING_GENERATION|FAILED_GENERATION|READY_TO_EXECUTE|EXECUTING|EXECUTION_SUCCEEDED|OUT_OF_DATE',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DryRunFailureReason' => '<string>',
'DryRunState' => 'PENDING|AVAILABLE|STALE|FAILED',
'DryRunUpdatedAt' => <DateTime>,
'PolicyDocument' => '<string>',
'PolicyErrors' => [
[
'ErrorCode' => '<string>',
'Message' => '<string>',
'Path' => '<string>',
],
// ...
],
'PolicyVersionId' => <integer>,
],
]
Result Details
Members
- CoreNetworkPolicy
-
- Type: CoreNetworkPolicy structure
The details about a core network policy.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetCustomerGatewayAssociations
$result = $client->getCustomerGatewayAssociations([/* ... */]); $promise = $client->getCustomerGatewayAssociationsAsync([/* ... */]);
Gets the association information for customer gateways that are associated with devices and links in your global network.
Parameter Syntax
$result = $client->getCustomerGatewayAssociations([
'CustomerGatewayArns' => ['<string>', ...],
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- CustomerGatewayArns
-
- Type: Array of strings
One or more customer gateway Amazon Resource Names (ARNs). The maximum is 10.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'CustomerGatewayAssociations' => [
[
'CustomerGatewayArn' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|DELETED',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- CustomerGatewayAssociations
-
- Type: Array of CustomerGatewayAssociation structures
The customer gateway associations.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetDevices
$result = $client->getDevices([/* ... */]); $promise = $client->getDevicesAsync([/* ... */]);
Gets information about one or more of your devices in a global network.
Parameter Syntax
$result = $client->getDevices([
'DeviceIds' => ['<string>', ...],
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'SiteId' => '<string>',
]);
Parameter Details
Members
- DeviceIds
-
- Type: Array of strings
One or more device IDs. The maximum is 10.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- SiteId
-
- Type: string
The ID of the site.
Result Syntax
[
'Devices' => [
[
'AWSLocation' => [
'SubnetArn' => '<string>',
'Zone' => '<string>',
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DeviceArn' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'Model' => '<string>',
'SerialNumber' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
'Vendor' => '<string>',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- Devices
-
- Type: Array of Device structures
The devices.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetDirectConnectGatewayAttachment
$result = $client->getDirectConnectGatewayAttachment([/* ... */]); $promise = $client->getDirectConnectGatewayAttachmentAsync([/* ... */]);
Returns information about a specific Amazon Web Services Direct Connect gateway attachment.
Parameter Syntax
$result = $client->getDirectConnectGatewayAttachment([
'AttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the Direct Connect gateway attachment that you want to see details about.
Result Syntax
[
'DirectConnectGatewayAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'DirectConnectGatewayArn' => '<string>',
],
]
Result Details
Members
- DirectConnectGatewayAttachment
-
- Type: DirectConnectGatewayAttachment structure
Shows details about the Direct Connect gateway attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetLinkAssociations
$result = $client->getLinkAssociations([/* ... */]); $promise = $client->getLinkAssociationsAsync([/* ... */]);
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
Parameter Syntax
$result = $client->getLinkAssociations([
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>',
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- DeviceId
-
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkId
-
- Type: string
The ID of the link.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'LinkAssociations' => [
[
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkAssociationState' => 'PENDING|AVAILABLE|DELETING|DELETED',
'LinkId' => '<string>',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- LinkAssociations
-
- Type: Array of LinkAssociation structures
The link associations.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetLinks
$result = $client->getLinks([/* ... */]); $promise = $client->getLinksAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->getLinks([
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkIds' => ['<string>', ...],
'MaxResults' => <integer>,
'NextToken' => '<string>',
'Provider' => '<string>',
'SiteId' => '<string>',
'Type' => '<string>',
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkIds
-
- Type: Array of strings
One or more link IDs. The maximum is 10.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- Provider
-
- Type: string
The link provider.
- SiteId
-
- Type: string
The ID of the site.
- Type
-
- Type: string
The link type.
Result Syntax
[
'Links' => [
[
'Bandwidth' => [
'DownloadSpeed' => <integer>,
'UploadSpeed' => <integer>,
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkArn' => '<string>',
'LinkId' => '<string>',
'Provider' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- Links
-
- Type: Array of Link structures
The links.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetNetworkResourceCounts
$result = $client->getNetworkResourceCounts([/* ... */]); $promise = $client->getNetworkResourceCountsAsync([/* ... */]);
Gets the count of network resources, by resource type, for the specified global network.
Parameter Syntax
$result = $client->getNetworkResourceCounts([
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'ResourceType' => '<string>',
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- ResourceType
-
- Type: 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:
-
attachment -
connect-peer -
connection -
core-network -
device -
link -
peering -
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
Result Syntax
[
'NetworkResourceCounts' => [
[
'Count' => <integer>,
'ResourceType' => '<string>',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- NetworkResourceCounts
-
- Type: Array of NetworkResourceCount structures
The count of resources.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetNetworkResourceRelationships
$result = $client->getNetworkResourceRelationships([/* ... */]); $promise = $client->getNetworkResourceRelationshipsAsync([/* ... */]);
Gets the network resource relationships for the specified global network.
Parameter Syntax
$result = $client->getNetworkResourceRelationships([
'AccountId' => '<string>',
'AwsRegion' => '<string>',
'CoreNetworkId' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'RegisteredGatewayArn' => '<string>',
'ResourceArn' => '<string>',
'ResourceType' => '<string>',
]);
Parameter Details
Members
- AccountId
-
- Type: string
The Amazon Web Services account ID.
- AwsRegion
-
- Type: string
The Amazon Web Services Region.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- RegisteredGatewayArn
-
- Type: string
The ARN of the registered gateway.
- ResourceArn
-
- Type: string
The ARN of the gateway.
- ResourceType
-
- Type: 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:
-
attachment -
connect-peer -
connection -
core-network -
device -
link -
peering -
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
Result Syntax
[
'NextToken' => '<string>',
'Relationships' => [
[
'From' => '<string>',
'To' => '<string>',
],
// ...
],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- Relationships
-
- Type: Array of Relationship structures
The resource relationships.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetNetworkResources
$result = $client->getNetworkResources([/* ... */]); $promise = $client->getNetworkResourcesAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->getNetworkResources([
'AccountId' => '<string>',
'AwsRegion' => '<string>',
'CoreNetworkId' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'RegisteredGatewayArn' => '<string>',
'ResourceArn' => '<string>',
'ResourceType' => '<string>',
]);
Parameter Details
Members
- AccountId
-
- Type: string
The Amazon Web Services account ID.
- AwsRegion
-
- Type: string
The Amazon Web Services Region.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- RegisteredGatewayArn
-
- Type: string
The ARN of the gateway.
- ResourceArn
-
- Type: string
The ARN of the resource.
- ResourceType
-
- Type: 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:
-
attachment -
connect-peer -
connection -
core-network -
device -
link -
peering -
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
Result Syntax
[
'NetworkResources' => [
[
'AccountId' => '<string>',
'AwsRegion' => '<string>',
'CoreNetworkId' => '<string>',
'Definition' => '<string>',
'DefinitionTimestamp' => <DateTime>,
'Metadata' => ['<string>', ...],
'RegisteredGatewayArn' => '<string>',
'ResourceArn' => '<string>',
'ResourceId' => '<string>',
'ResourceType' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- NetworkResources
-
- Type: Array of NetworkResource structures
The network resources.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetNetworkRoutes
$result = $client->getNetworkRoutes([/* ... */]); $promise = $client->getNetworkRoutesAsync([/* ... */]);
Gets the network routes of the specified global network.
Parameter Syntax
$result = $client->getNetworkRoutes([
'DestinationFilters' => [
'<FilterName>' => ['<string>', ...],
// ...
],
'ExactCidrMatches' => ['<string>', ...],
'GlobalNetworkId' => '<string>', // REQUIRED
'LongestPrefixMatches' => ['<string>', ...],
'MaxResults' => <integer>,
'NextToken' => '<string>',
'PrefixListIds' => ['<string>', ...],
'RouteTableIdentifier' => [ // REQUIRED
'CoreNetworkNetworkFunctionGroup' => [
'CoreNetworkId' => '<string>',
'EdgeLocation' => '<string>',
'NetworkFunctionGroupName' => '<string>',
],
'CoreNetworkSegmentEdge' => [
'CoreNetworkId' => '<string>',
'EdgeLocation' => '<string>',
'SegmentName' => '<string>',
],
'TransitGatewayRouteTableArn' => '<string>',
],
'States' => ['<string>', ...],
'SubnetOfMatches' => ['<string>', ...],
'SupernetOfMatches' => ['<string>', ...],
'Types' => ['<string>', ...],
]);
Parameter Details
Members
- DestinationFilters
-
- Type: Associative array of custom strings keys (FilterName) to stringss
Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
- ExactCidrMatches
-
- Type: Array of strings
An exact CIDR block.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LongestPrefixMatches
-
- Type: Array of strings
The most specific route that matches the traffic (longest prefix match).
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- PrefixListIds
-
- Type: Array of strings
The IDs of the prefix lists.
- RouteTableIdentifier
-
- Required: Yes
- Type: RouteTableIdentifier structure
The ID of the route table.
- States
-
- Type: Array of strings
The route states.
- SubnetOfMatches
-
- Type: Array of strings
The routes with a subnet that match the specified CIDR filter.
- SupernetOfMatches
-
- Type: Array of strings
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.
- Types
-
- Type: Array of strings
The route types.
Result Syntax
[
'CoreNetworkNetworkFunctionGroup' => [
'CoreNetworkId' => '<string>',
'EdgeLocation' => '<string>',
'NetworkFunctionGroupName' => '<string>',
],
'CoreNetworkSegmentEdge' => [
'CoreNetworkId' => '<string>',
'EdgeLocation' => '<string>',
'SegmentName' => '<string>',
],
'NetworkRoutes' => [
[
'DestinationCidrBlock' => '<string>',
'Destinations' => [
[
'CoreNetworkAttachmentId' => '<string>',
'EdgeLocation' => '<string>',
'NetworkFunctionGroupName' => '<string>',
'ResourceId' => '<string>',
'ResourceType' => '<string>',
'SegmentName' => '<string>',
'TransitGatewayAttachmentId' => '<string>',
],
// ...
],
'DryRunChangeState' => 'ADDED|REMOVED|UPDATED|NO_CHANGES',
'IsOverlappingRoute' => true || false,
'PrefixListId' => '<string>',
'State' => 'ACTIVE|BLACKHOLE|PENDING_DEPLOYMENT',
'Type' => 'PROPAGATED|STATIC|SYSTEM',
],
// ...
],
'NextToken' => '<string>',
'RouteTableArn' => '<string>',
'RouteTableTimestamp' => <DateTime>,
'RouteTableType' => 'TRANSIT_GATEWAY_ROUTE_TABLE|CORE_NETWORK_SEGMENT|NETWORK_FUNCTION_GROUP',
]
Result Details
Members
- CoreNetworkNetworkFunctionGroup
-
- Type: CoreNetworkNetworkFunctionGroupIdentifier structure
Describes the network function group route table that the routes are from. This field is present only when you specify
CoreNetworkNetworkFunctionGroupinRouteTableIdentifier. - CoreNetworkSegmentEdge
-
- Type: CoreNetworkSegmentEdgeIdentifier structure
Describes a core network segment edge.
- NetworkRoutes
-
- Type: Array of NetworkRoute structures
The network routes.
- NextToken
-
- Type: string
The token for the next page of results.
- RouteTableArn
-
- Type: string
The ARN of the route table.
- RouteTableTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time when Network Manager last collected the routes in the route table.
- RouteTableType
-
- Type: string
The route table type.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetNetworkScope
$result = $client->getNetworkScope([/* ... */]); $promise = $client->getNetworkScopeAsync([/* ... */]);
Returns information about a network scope.
Parameter Syntax
$result = $client->getNetworkScope([
'NetworkScopeId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope to describe.
Result Syntax
[
'NetworkScope' => [
'AccessMode' => 'ACCOUNTS|ORGANIZATIONS',
'CreatedAt' => <DateTime>,
'Name' => '<string>',
'NetworkScopeArn' => '<string>',
'NetworkScopeId' => '<string>',
'NetworkScopeRegions' => ['<string>', ...],
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED|FAILED',
'StateReason' => [
'Code' => 'SCOPE_OWNER_NOT_ORGANIZATION_MEMBER|NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED|SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR|NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED|PRINCIPALS_NOT_FULLY_COVERED',
'Message' => '<string>',
],
],
]
Result Details
Members
- NetworkScope
-
- Required: Yes
- Type: NetworkScope structure
Information about the network scope.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Getting a network scope
$result = $client->getNetworkScope([
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
]);
Result syntax:
[
'NetworkScope' => [
'AccessMode' => 'ACCOUNTS',
'CreatedAt' => ,
'Name' => 'production-network',
'NetworkScopeArn' => 'arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0',
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'NetworkScopeRegions' => [
'us-east-1',
'us-west-2',
],
'State' => 'AVAILABLE',
],
]
GetNetworkTelemetry
$result = $client->getNetworkTelemetry([/* ... */]); $promise = $client->getNetworkTelemetryAsync([/* ... */]);
Gets the network telemetry of the specified global network.
Parameter Syntax
$result = $client->getNetworkTelemetry([
'AccountId' => '<string>',
'AwsRegion' => '<string>',
'CoreNetworkId' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'RegisteredGatewayArn' => '<string>',
'ResourceArn' => '<string>',
'ResourceType' => '<string>',
]);
Parameter Details
Members
- AccountId
-
- Type: string
The Amazon Web Services account ID.
- AwsRegion
-
- Type: string
The Amazon Web Services Region.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- RegisteredGatewayArn
-
- Type: string
The ARN of the gateway.
- ResourceArn
-
- Type: string
The ARN of the resource.
- ResourceType
-
- Type: string
The resource type. The following are the supported resource types:
-
connect-peer -
transit-gateway-connect-peer -
vpn-connection
Result Syntax
[
'NetworkTelemetry' => [
[
'AccountId' => '<string>',
'Address' => '<string>',
'AwsRegion' => '<string>',
'CoreNetworkId' => '<string>',
'Health' => [
'Status' => 'UP|DOWN',
'Timestamp' => <DateTime>,
'Type' => 'BGP|IPSEC',
],
'RegisteredGatewayArn' => '<string>',
'ResourceArn' => '<string>',
'ResourceId' => '<string>',
'ResourceType' => '<string>',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- NetworkTelemetry
-
- Type: Array of NetworkTelemetry structures
The network telemetry.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetResourcePolicy
$result = $client->getResourcePolicy([/* ... */]); $promise = $client->getResourcePolicyAsync([/* ... */]);
Returns information about a resource policy.
Parameter Syntax
$result = $client->getResourcePolicy([
'ResourceArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ResourceArn
-
- Required: Yes
- Type: string
The ARN of the resource.
Result Syntax
[
'PolicyDocument' => '<string>',
]
Result Details
Members
- PolicyDocument
-
- Type: string (string|number|array|map or anything parsable by json_encode)
The resource policy document.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetRouteAnalysis
$result = $client->getRouteAnalysis([/* ... */]); $promise = $client->getRouteAnalysisAsync([/* ... */]);
Gets information about the specified route analysis.
Parameter Syntax
$result = $client->getRouteAnalysis([
'GlobalNetworkId' => '<string>', // REQUIRED
'RouteAnalysisId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- RouteAnalysisId
-
- Required: Yes
- Type: string
The ID of the route analysis.
Result Syntax
[
'RouteAnalysis' => [
'Destination' => [
'IpAddress' => '<string>',
'TransitGatewayArn' => '<string>',
'TransitGatewayAttachmentArn' => '<string>',
],
'ForwardPath' => [
'CompletionStatus' => [
'ReasonCode' => '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' => ['<string>', ...],
'ResultCode' => 'CONNECTED|NOT_CONNECTED',
],
'Path' => [
[
'DestinationCidrBlock' => '<string>',
'Resource' => [
'Definition' => '<string>',
'IsMiddlebox' => true || false,
'NameTag' => '<string>',
'RegisteredGatewayArn' => '<string>',
'ResourceArn' => '<string>',
'ResourceType' => '<string>',
],
'Sequence' => <integer>,
],
// ...
],
],
'GlobalNetworkId' => '<string>',
'IncludeReturnPath' => true || false,
'OwnerAccountId' => '<string>',
'ReturnPath' => [
'CompletionStatus' => [
'ReasonCode' => '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' => ['<string>', ...],
'ResultCode' => 'CONNECTED|NOT_CONNECTED',
],
'Path' => [
[
'DestinationCidrBlock' => '<string>',
'Resource' => [
'Definition' => '<string>',
'IsMiddlebox' => true || false,
'NameTag' => '<string>',
'RegisteredGatewayArn' => '<string>',
'ResourceArn' => '<string>',
'ResourceType' => '<string>',
],
'Sequence' => <integer>,
],
// ...
],
],
'RouteAnalysisId' => '<string>',
'Source' => [
'IpAddress' => '<string>',
'TransitGatewayArn' => '<string>',
'TransitGatewayAttachmentArn' => '<string>',
],
'StartTimestamp' => <DateTime>,
'Status' => 'RUNNING|COMPLETED|FAILED',
'UseMiddleboxes' => true || false,
],
]
Result Details
Members
- RouteAnalysis
-
- Type: RouteAnalysis structure
The route analysis.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetSiteToSiteVpnAttachment
$result = $client->getSiteToSiteVpnAttachment([/* ... */]); $promise = $client->getSiteToSiteVpnAttachmentAsync([/* ... */]);
Returns information about a site-to-site VPN attachment.
Parameter Syntax
$result = $client->getSiteToSiteVpnAttachment([
'AttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment.
Result Syntax
[
'SiteToSiteVpnAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'VpnConnectionArn' => '<string>',
],
]
Result Details
Members
- SiteToSiteVpnAttachment
-
- Type: SiteToSiteVpnAttachment structure
Describes the site-to-site attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetSites
$result = $client->getSites([/* ... */]); $promise = $client->getSitesAsync([/* ... */]);
Gets information about one or more of your sites in a global network.
Parameter Syntax
$result = $client->getSites([
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'SiteIds' => ['<string>', ...],
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- SiteIds
-
- Type: Array of strings
One or more site IDs. The maximum is 10.
Result Syntax
[
'NextToken' => '<string>',
'Sites' => [
[
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'SiteArn' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
// ...
],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- Sites
-
- Type: Array of Site structures
The sites.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetSseConnect
$result = $client->getSseConnect([/* ... */]); $promise = $client->getSseConnectAsync([/* ... */]);
Returns information about an SSE connect, including its state, link status, Regions, and peer health.
Parameter Syntax
$result = $client->getSseConnect([
'SseConnectId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- SseConnectId
-
- Required: Yes
- Type: string
The ID of the SSE connect.
Result Syntax
[
'SseConnect' => [
'AttachmentRegions' => [
[
'RegionName' => '<string>',
],
// ...
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'PartnerLinkStatus' => 'PENDING|LINKED|NOT_LINKED',
'SseConnectArn' => '<string>',
'SseConnectId' => '<string>',
'SseRegions' => [
[
'PeerHealthStatus' => 'HEALTHY|UNHEALTHY',
'RegionName' => '<string>',
],
// ...
],
'SseVendor' => '<string>',
'State' => 'CREATING|AVAILABLE|UPDATING|FAILED|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- SseConnect
-
- Type: SseConnect structure
Information about the SSE connect.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: To get an SSE connect
The following example returns an SSE connect that is linked to the SSE provider and has an attachment in aa-example-1.
$result = $client->getSseConnect([
'SseConnectId' => 'sse-connect-1234567890abcdef0',
]);
Result syntax:
[
'SseConnect' => [
'AttachmentRegions' => [
[
'RegionName' => 'aa-example-1',
],
],
'Description' => 'Branch internet egress',
'PartnerLinkStatus' => 'LINKED',
'SseConnectArn' => 'arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseRegions' => [
[
'PeerHealthStatus' => 'HEALTHY',
'RegionName' => 'aa-example-1',
],
[
'PeerHealthStatus' => 'HEALTHY',
'RegionName' => 'aa-example-2',
],
],
'SseVendor' => 'PALO_ALTO',
'State' => 'AVAILABLE',
],
]
GetSseConnectAttachment
$result = $client->getSseConnectAttachment([/* ... */]); $promise = $client->getSseConnectAttachmentAsync([/* ... */]);
Returns information about an attachment between an SSE connect and a Cloud WAN core network.
Parameter Syntax
$result = $client->getSseConnectAttachment([
'AttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment.
Result Syntax
[
'SseConnectAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'SseConnectArn' => '<string>',
],
]
Result Details
Members
- SseConnectAttachment
-
- Type: SseConnectAttachment structure
Information about the SSE connect core network attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: To get an SSE connect core network attachment
The following example returns an attachment between an SSE connect and a Cloud WAN core network.
$result = $client->getSseConnectAttachment([
'AttachmentId' => 'attachment-1234567890abcdef0',
]);
Result syntax:
[
'SseConnectAttachment' => [
'Attachment' => [
'AttachmentId' => 'attachment-1234567890abcdef0',
'CoreNetworkId' => 'core-network-1234567890abcdef0',
'OwnerAccountId' => '111122223333',
'State' => 'AVAILABLE',
],
'SseConnectArn' => 'arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0',
],
]
GetSseConnectRoutes
$result = $client->getSseConnectRoutes([/* ... */]); $promise = $client->getSseConnectRoutesAsync([/* ... */]);
Lists the routes of an SSE connect in a Region. You can filter the routes by destination CIDR block or by route destination. Results are paginated. Use the NextToken parameter to retrieve additional results.
Parameter Syntax
$result = $client->getSseConnectRoutes([
'DestinationFilters' => [
'<FilterName>' => ['<string>', ...],
// ...
],
'ExactCidrMatches' => ['<string>', ...],
'MaxResults' => <integer>,
'NextToken' => '<string>',
'RegionName' => '<string>', // REQUIRED
'SseConnectId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- DestinationFilters
-
- Type: Associative array of custom strings keys (FilterName) to stringss
Filters the routes by route destination. A route matches a filter if any of its destinations has one of the filter values. If you specify more than one filter, a route must match all of them. The following filters are supported:
-
sse-connect-transit-gateway-attachment-id– The ID of an SSE connect transit gateway attachment. -
sse-connect-core-network-attachment-id– The ID of an SSE connect core network attachment. -
sse-region– The Region of the SSE provider destination. -
sse-vendor– The SSE provider of the destination. -
sse-route-type– The type of SSE provider route,DEFAULTorSNAT.
- ExactCidrMatches
-
- Type: Array of strings
Returns only the routes whose destination CIDR block exactly matches one of these CIDR blocks.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- RegionName
-
- Required: Yes
- Type: string
The Region to return routes for. The Region must be one of the Regions of the SSE connect or a Region where the SSE connect has an attachment.
- SseConnectId
-
- Required: Yes
- Type: string
The ID of the SSE connect.
Result Syntax
[
'NextToken' => '<string>',
'Routes' => [
[
'DestinationCidrBlock' => '<string>',
'Destinations' => [
[
'CoreNetworkDestination' => [
'SseConnectCoreNetworkAttachmentId' => '<string>',
],
'SseDestination' => [
'SseRegion' => '<string>',
'SseRouteType' => 'SNAT|DEFAULT',
'SseVendor' => '<string>',
],
'TransitGatewayDestination' => [
'SseConnectTransitGatewayAttachmentId' => '<string>',
],
],
// ...
],
'Source' => 'SSE|ATTACHED_NETWORK',
],
// ...
],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- Routes
-
- Required: Yes
- Type: Array of SseConnectRoute structures
The routes.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: To get the routes of an SSE connect
The following example returns the routes of an SSE connect in aa-example-1. Traffic from the attached network uses the default route to reach the SSE provider. Traffic from the SSE provider uses the 10.0.0.0/16 route to reach the attached transit gateway.
$result = $client->getSseConnectRoutes([
'RegionName' => 'aa-example-1',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
]);
Result syntax:
[
'Routes' => [
[
'DestinationCidrBlock' => '0.0.0.0/0',
'Destinations' => [
[
'SseDestination' => [
'SseRegion' => 'aa-example-1',
'SseRouteType' => 'DEFAULT',
'SseVendor' => 'PALO_ALTO',
],
],
],
'Source' => 'ATTACHED_NETWORK',
],
[
'DestinationCidrBlock' => '10.0.0.0/16',
'Destinations' => [
[
'TransitGatewayDestination' => [
'SseConnectTransitGatewayAttachmentId' => 'sse-connect-tgw-attach-1234567890abcdef0',
],
],
],
'Source' => 'SSE',
],
],
]
GetSseConnectTransitGatewayAttachment
$result = $client->getSseConnectTransitGatewayAttachment([/* ... */]); $promise = $client->getSseConnectTransitGatewayAttachmentAsync([/* ... */]);
Returns information about an SSE connect transit gateway attachment, including the ID of the underlying transit gateway attachment.
Parameter Syntax
$result = $client->getSseConnectTransitGatewayAttachment([
'SseConnectTransitGatewayAttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- SseConnectTransitGatewayAttachmentId
-
- Required: Yes
- Type: string
The ID of the SSE connect transit gateway attachment.
Result Syntax
[
'SseConnectTransitGatewayAttachment' => [
'CreatedAt' => <DateTime>,
'OwnerAccountId' => '<string>',
'SseConnectId' => '<string>',
'SseConnectTransitGatewayAttachmentArn' => '<string>',
'SseConnectTransitGatewayAttachmentId' => '<string>',
'State' => 'CREATING|PENDING_ATTACHMENT_ACCEPTANCE|AVAILABLE|UPDATING|FAILED|REJECTED|DELETING|DELETED',
'StateReason' => [
'Code' => 'TRANSIT_GATEWAY_OWNER_REJECTED',
'Message' => '<string>',
],
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'TransitGatewayArn' => '<string>',
'TransitGatewayAttachmentId' => '<string>',
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- SseConnectTransitGatewayAttachment
-
- Type: SseConnectTransitGatewayAttachment structure
Information about the SSE connect transit gateway attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: To get an SSE connect transit gateway attachment
The following example returns an SSE connect transit gateway attachment that is waiting for the transit gateway owner to accept it.
$result = $client->getSseConnectTransitGatewayAttachment([
'SseConnectTransitGatewayAttachmentId' => 'sse-connect-tgw-attach-1234567890abcdef0',
]);
Result syntax:
[
'SseConnectTransitGatewayAttachment' => [
'OwnerAccountId' => '111122223333',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseConnectTransitGatewayAttachmentArn' => 'arn:aws:networkmanager::111122223333:sse-connect-tgw-attachment/sse-connect-tgw-attach-1234567890abcdef0',
'SseConnectTransitGatewayAttachmentId' => 'sse-connect-tgw-attach-1234567890abcdef0',
'State' => 'PENDING_ATTACHMENT_ACCEPTANCE',
'TransitGatewayArn' => 'arn:aws:ec2:aa-example-1:444455556666:transit-gateway/tgw-1234567890abcdef0',
'TransitGatewayAttachmentId' => 'tgw-attach-1234567890abcdef0',
],
]
GetTransitGatewayConnectPeerAssociations
$result = $client->getTransitGatewayConnectPeerAssociations([/* ... */]); $promise = $client->getTransitGatewayConnectPeerAssociationsAsync([/* ... */]);
Gets information about one or more of your transit gateway Connect peer associations in a global network.
Parameter Syntax
$result = $client->getTransitGatewayConnectPeerAssociations([
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'TransitGatewayConnectPeerArns' => ['<string>', ...],
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- TransitGatewayConnectPeerArns
-
- Type: Array of strings
One or more transit gateway Connect peer Amazon Resource Names (ARNs).
Result Syntax
[
'NextToken' => '<string>',
'TransitGatewayConnectPeerAssociations' => [
[
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|DELETED',
'TransitGatewayConnectPeerArn' => '<string>',
],
// ...
],
]
Result Details
Members
- NextToken
-
- Type: string
The token to use for the next page of results.
- TransitGatewayConnectPeerAssociations
-
- Type: Array of TransitGatewayConnectPeerAssociation structures
Information about the transit gateway Connect peer associations.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetTransitGatewayPeering
$result = $client->getTransitGatewayPeering([/* ... */]); $promise = $client->getTransitGatewayPeeringAsync([/* ... */]);
Returns information about a transit gateway peer.
Parameter Syntax
$result = $client->getTransitGatewayPeering([
'PeeringId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- PeeringId
-
- Required: Yes
- Type: string
The ID of the peering request.
Result Syntax
[
'TransitGatewayPeering' => [
'Peering' => [
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'LastModificationErrors' => [
[
'Code' => 'TRANSIT_GATEWAY_NOT_FOUND|TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED|MISSING_PERMISSIONS|INTERNAL_ERROR|EDGE_LOCATION_PEER_DUPLICATE|INVALID_TRANSIT_GATEWAY_STATE|TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED|CREATION_FAILED|DELETION_FAILED',
'Message' => '<string>',
'MissingPermissionsContext' => [
'MissingPermission' => '<string>',
],
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'OwnerAccountId' => '<string>',
'PeeringId' => '<string>',
'PeeringType' => 'TRANSIT_GATEWAY',
'ResourceArn' => '<string>',
'State' => 'CREATING|FAILED|AVAILABLE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'TransitGatewayArn' => '<string>',
'TransitGatewayPeeringAttachmentId' => '<string>',
],
]
Result Details
Members
- TransitGatewayPeering
-
- Type: TransitGatewayPeering structure
Returns information about a transit gateway peering.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetTransitGatewayRegistrations
$result = $client->getTransitGatewayRegistrations([/* ... */]); $promise = $client->getTransitGatewayRegistrationsAsync([/* ... */]);
Gets information about the transit gateway registrations in a specified global network.
Parameter Syntax
$result = $client->getTransitGatewayRegistrations([
'GlobalNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'TransitGatewayArns' => ['<string>', ...],
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- TransitGatewayArns
-
- Type: Array of strings
The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.
Result Syntax
[
'NextToken' => '<string>',
'TransitGatewayRegistrations' => [
[
'GlobalNetworkId' => '<string>',
'State' => [
'Code' => 'PENDING|AVAILABLE|DELETING|DELETED|FAILED',
'Message' => '<string>',
],
'TransitGatewayArn' => '<string>',
],
// ...
],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- TransitGatewayRegistrations
-
- Type: Array of TransitGatewayRegistration structures
The transit gateway registrations.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetTransitGatewayRouteTableAttachment
$result = $client->getTransitGatewayRouteTableAttachment([/* ... */]); $promise = $client->getTransitGatewayRouteTableAttachmentAsync([/* ... */]);
Returns information about a transit gateway route table attachment.
Parameter Syntax
$result = $client->getTransitGatewayRouteTableAttachment([
'AttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the transit gateway route table attachment.
Result Syntax
[
'TransitGatewayRouteTableAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'PeeringId' => '<string>',
'TransitGatewayRouteTableArn' => '<string>',
],
]
Result Details
Members
- TransitGatewayRouteTableAttachment
-
- Type: TransitGatewayRouteTableAttachment structure
Returns information about the transit gateway route table attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
GetVpcAttachment
$result = $client->getVpcAttachment([/* ... */]); $promise = $client->getVpcAttachmentAsync([/* ... */]);
Returns information about a VPC attachment.
Parameter Syntax
$result = $client->getVpcAttachment([
'AttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment.
Result Syntax
[
'VpcAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'Options' => [
'ApplianceModeSupport' => true || false,
'DnsSupport' => true || false,
'Ipv6Support' => true || false,
'SecurityGroupReferencingSupport' => true || false,
],
'SubnetArns' => ['<string>', ...],
],
]
Result Details
Members
- VpcAttachment
-
- Type: VpcAttachment structure
Returns details about a VPC attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListAttachmentNatConfigurations
$result = $client->listAttachmentNatConfigurations([/* ... */]); $promise = $client->listAttachmentNatConfigurationsAsync([/* ... */]);
Returns the NAT configurations of core network attachments. You must specify either a core network ID or an attachment ID. Only the core network owner can list NAT configurations.
Parameter Syntax
$result = $client->listAttachmentNatConfigurations([
'AttachmentId' => '<string>',
'CoreNetworkId' => '<string>',
'Filters' => [
'<FilterName>' => ['<string>', ...],
// ...
],
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- AttachmentId
-
- Type: string
The ID of an attachment. Returns the NAT configuration of the specified attachment. If you specify both an attachment ID and a core network ID, the attachment ID is used.
- CoreNetworkId
-
- Type: string
The ID of a core network. Returns the NAT configurations of attachments in the core network that support NAT.
- Filters
-
- Type: Associative array of custom strings keys (FilterName) to stringss
The filters to apply to the results. Values for the same filter are joined with OR, and different filters are joined with AND. You can specify up to 10 filter values in total. The following filters are supported:
-
nat-gateway-support: The state of NAT gateway support on the attachment, for exampleENABLED. -
nat-system-route-support: Whether system routes are installed for the attachment,trueorfalse. -
rule-number: The rule number of a NAT rule. -
match-source-cidr: The source CIDR block of a NAT rule. The value must exactly match the CIDR block of the rule. -
nat-cidr: The NAT CIDR block of a NAT rule. The value must exactly match the CIDR block of the rule. -
nat-rule-state: The state of a NAT rule, for exampleACTIVATED.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'AttachmentNatConfigurations' => [
[
'AttachmentId' => '<string>',
'NatGatewayRules' => [
[
'MatchSourceCidr' => '<string>',
'NatCidr' => '<string>',
'RuleNumber' => <integer>,
'State' => 'CREATING|MODIFYING|DELETING|ACTIVATED|ACTIVATING|DEACTIVATED|DEACTIVATING|FAILED|PENDING_ATTACHMENT_ACCEPTANCE',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- AttachmentNatConfigurations
-
- Required: Yes
- Type: Array of AttachmentNatConfiguration structures
The NAT configurations of the attachments.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListAttachmentRoutingPolicyAssociations
$result = $client->listAttachmentRoutingPolicyAssociations([/* ... */]); $promise = $client->listAttachmentRoutingPolicyAssociationsAsync([/* ... */]);
Lists the routing policy associations for attachments in a core network.
Parameter Syntax
$result = $client->listAttachmentRoutingPolicyAssociations([
'AttachmentId' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- AttachmentId
-
- Type: string
The ID of a specific attachment to filter the routing policy associations.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network to list attachment routing policy associations for.
- MaxResults
-
- Type: int
The maximum number of results to return in a single page.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'AttachmentRoutingPolicyAssociations' => [
[
'AssociatedRoutingPolicies' => ['<string>', ...],
'AttachmentId' => '<string>',
'PendingRoutingPolicies' => ['<string>', ...],
'RoutingPolicyLabel' => '<string>',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- AttachmentRoutingPolicyAssociations
-
- Type: Array of AttachmentRoutingPolicyAssociationSummary structures
The list of attachment routing policy associations.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListAttachments
$result = $client->listAttachments([/* ... */]); $promise = $client->listAttachmentsAsync([/* ... */]);
Returns a list of core network attachments.
Parameter Syntax
$result = $client->listAttachments([
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkId' => '<string>',
'EdgeLocation' => '<string>',
'MaxResults' => <integer>,
'NextToken' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
]);
Parameter Details
Members
- AttachmentType
-
- Type: string
The type of attachment.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- EdgeLocation
-
- Type: string
The Region where the edge is located.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- State
-
- Type: string
The state of the attachment.
Result Syntax
[
'Attachments' => [
[
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- Attachments
-
- Type: Array of Attachment structures
Describes the list of attachments.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListConnectPeers
$result = $client->listConnectPeers([/* ... */]); $promise = $client->listConnectPeersAsync([/* ... */]);
Returns a list of core network Connect peers.
Parameter Syntax
$result = $client->listConnectPeers([
'ConnectAttachmentId' => '<string>',
'CoreNetworkId' => '<string>',
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- ConnectAttachmentId
-
- Type: string
The ID of the attachment.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'ConnectPeers' => [
[
'ConnectAttachmentId' => '<string>',
'ConnectPeerId' => '<string>',
'ConnectPeerState' => 'CREATING|FAILED|AVAILABLE|DELETING',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'SubnetArn' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- ConnectPeers
-
- Type: Array of ConnectPeerSummary structures
Describes the Connect peers.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListContextChanges
$result = $client->listContextChanges([/* ... */]); $promise = $client->listContextChangesAsync([/* ... */]);
Returns the context entries that were added to or removed from a context store after the specified version. The context store must be in the AVAILABLE state.
Parameter Syntax
$result = $client->listContextChanges([
'ContextStoreId' => '<string>', // REQUIRED
'FromVersionId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store.
- FromVersionId
-
- Required: Yes
- Type: string
The version to return changes from. Specify a version returned by
ListContexts,GetContextVersion, or theToVersionIdof a previousListContextChangesrequest. If the version is no longer available, the request fails, and you must callListContextsto get the current context entries. - MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'ContextChanges' => [
[
'ChangeType' => 'ADDED|REMOVED',
'Context' => [
'AttachmentType' => '<string>',
'AvailabilityZone' => '<string>',
'ContextId' => '<string>',
'ContextType' => '<string>',
'PublicId' => '<string>',
'Region' => '<string>',
'SegmentType' => '<string>',
],
],
// ...
],
'FromVersionId' => '<string>',
'NextToken' => '<string>',
'ToVersionId' => '<string>',
]
Result Details
Members
- ContextChanges
-
- Type: Array of ContextChange structures
The context entries that were added or removed.
- FromVersionId
-
- Type: string
The version that the changes start from.
- NextToken
-
- Type: string
The token for the next page of results.
- ToVersionId
-
- Type: string
The version that the changes bring the context entries up to. To get later changes, specify this value as
FromVersionIdin your next request. All pages of the same request return the same version.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListContextStoreAssociations
$result = $client->listContextStoreAssociations([/* ... */]); $promise = $client->listContextStoreAssociationsAsync([/* ... */]);
Returns the transit gateway associations of a context store.
Parameter Syntax
$result = $client->listContextStoreAssociations([
'ContextStoreId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'ContextStoreAssociations' => [
[
'ContextStoreId' => '<string>',
'CreatedAt' => <DateTime>,
'State' => 'ASSOCIATING|ASSOCIATED|DISASSOCIATING|FAILED',
'TransitGatewayArn' => '<string>',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- ContextStoreAssociations
-
- Type: Array of ContextStoreAssociation structures
The context store associations.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListContextStores
$result = $client->listContextStores([/* ... */]); $promise = $client->listContextStoresAsync([/* ... */]);
Returns the context stores in your account. You can optionally return only the context stores in a specific global network.
Parameter Syntax
$result = $client->listContextStores([
'GlobalNetworkId' => '<string>',
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- GlobalNetworkId
-
- Type: string
The ID of a global network. If you specify this parameter, only the context stores in the global network are returned.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'ContextStores' => [
[
'ContextStoreArn' => '<string>',
'ContextStoreId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- ContextStores
-
- Type: Array of ContextStore structures
The context stores.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListContexts
$result = $client->listContexts([/* ... */]); $promise = $client->listContextsAsync([/* ... */]);
Returns the context entries of a context store, and the version of the context entries. To get the context entries that were added or removed after this version, specify the returned VersionId in a ListContextChanges request. The context store must be in the AVAILABLE state.
Parameter Syntax
$result = $client->listContexts([
'ContextStoreId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'Contexts' => [
[
'AttachmentType' => '<string>',
'AvailabilityZone' => '<string>',
'ContextId' => '<string>',
'ContextType' => '<string>',
'PublicId' => '<string>',
'Region' => '<string>',
'SegmentType' => '<string>',
],
// ...
],
'NextToken' => '<string>',
'VersionId' => '<string>',
]
Result Details
Members
- Contexts
-
- Type: Array of ContextEntry structures
The context entries.
- NextToken
-
- Type: string
The token for the next page of results.
- VersionId
-
- Type: string
The version of the returned context entries. All pages of the same request return the same version.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListCoreNetworkDryRunRoutes
$result = $client->listCoreNetworkDryRunRoutes([/* ... */]); $promise = $client->listCoreNetworkDryRunRoutesAsync([/* ... */]);
Returns the routes that a core network policy version produces in a segment or network function group at an edge location. Each route shows how it changes compared to the current routes of the core network.
Before you call this operation, use StartCoreNetworkPolicyDryRun to start a dry run of the policy version, and wait for the dry run to reach the AVAILABLE state.
Parameter Syntax
$result = $client->listCoreNetworkDryRunRoutes([
'CoreNetworkId' => '<string>', // REQUIRED
'DestinationFilters' => [
'<FilterName>' => ['<string>', ...],
// ...
],
'DryRunChangeStates' => ['<string>', ...],
'EdgeLocation' => '<string>', // REQUIRED
'ExactCidrMatches' => ['<string>', ...],
'IsOverlappingRoute' => true || false,
'LongestPrefixMatches' => ['<string>', ...],
'MaxResults' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'NextToken' => '<string>',
'PolicyVersionId' => <integer>, // REQUIRED
'PrefixListIds' => ['<string>', ...],
'SegmentName' => '<string>',
'States' => ['<string>', ...],
'SubnetOfMatches' => ['<string>', ...],
'SupernetOfMatches' => ['<string>', ...],
'Types' => ['<string>', ...],
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network.
- DestinationFilters
-
- Type: Associative array of custom strings keys (FilterName) to stringss
Filters the routes by destination. Possible values:
TRANSIT_GATEWAY_ATTACHMENT_ID,RESOURCE_ID, orRESOURCE_TYPE. You can specify up to 20 filters, with up to 20 values for each filter. - DryRunChangeStates
-
- Type: Array of strings
The change states that the routes must have. For a description of each change state, see
NetworkRoute$DryRunChangeState. - EdgeLocation
-
- Required: Yes
- Type: string
The edge location to return routes for.
- ExactCidrMatches
-
- Type: Array of strings
The Classless Inter-Domain Routing (CIDR) blocks that the routes must exactly match. You can specify up to 10 values.
- IsOverlappingRoute
-
- Type: boolean
Specifies whether to return only overlapping routes.
- LongestPrefixMatches
-
- Type: Array of strings
The CIDR blocks for which to return the most specific route (longest prefix match). You can specify up to 10 values.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NetworkFunctionGroupName
-
- Type: string
The name of the network function group to return routes for. You must specify either
SegmentNameorNetworkFunctionGroupName, but not both. - NextToken
-
- Type: string
The token for the next page of results.
- PolicyVersionId
-
- Required: Yes
- Type: int
The ID of the policy version that the dry run was started for.
- PrefixListIds
-
- Type: Array of strings
The IDs of the prefix lists that the routes must belong to. You can specify up to 10 values.
- SegmentName
-
- Type: string
The name of the segment to return routes for. You must specify either
SegmentNameorNetworkFunctionGroupName, but not both. - States
-
- Type: Array of strings
The states of the routes to return. You can specify up to 10 values.
- SubnetOfMatches
-
- Type: Array of strings
The CIDR blocks that the CIDR blocks of the routes must be subnets of. You can specify up to 10 values.
- SupernetOfMatches
-
- Type: Array of strings
The CIDR blocks that the CIDR blocks of the routes must encompass. For example, if you specify 10.24.34.0/23, the results include 10.24.34.0/22. You can specify up to 10 values.
- Types
-
- Type: Array of strings
The types of the routes to return. You can specify up to 10 values.
Result Syntax
[
'NetworkRoutes' => [
[
'DestinationCidrBlock' => '<string>',
'Destinations' => [
[
'CoreNetworkAttachmentId' => '<string>',
'EdgeLocation' => '<string>',
'NetworkFunctionGroupName' => '<string>',
'ResourceId' => '<string>',
'ResourceType' => '<string>',
'SegmentName' => '<string>',
'TransitGatewayAttachmentId' => '<string>',
],
// ...
],
'DryRunChangeState' => 'ADDED|REMOVED|UPDATED|NO_CHANGES',
'IsOverlappingRoute' => true || false,
'PrefixListId' => '<string>',
'State' => 'ACTIVE|BLACKHOLE|PENDING_DEPLOYMENT',
'Type' => 'PROPAGATED|STATIC|SYSTEM',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- NetworkRoutes
-
- Type: Array of NetworkRoute structures
The routes that the policy version produces.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Listing the routes that a dry run adds to a segment
$result = $client->listCoreNetworkDryRunRoutes([
'CoreNetworkId' => 'core-network-0123456789abcdef0',
'DryRunChangeStates' => [
'ADDED',
],
'EdgeLocation' => 'aa-example-1',
'MaxResults' => 10,
'PolicyVersionId' => 2,
'SegmentName' => 'prod',
]);
Result syntax:
[
'NetworkRoutes' => [
[
'DestinationCidrBlock' => '10.24.34.0/24',
'Destinations' => [
[
'CoreNetworkAttachmentId' => 'attachment-0123456789abcdef0',
'EdgeLocation' => 'aa-example-1',
'ResourceId' => 'vpc-0123456789abcdef0',
'ResourceType' => 'vpc',
'SegmentName' => 'prod',
],
],
'DryRunChangeState' => 'ADDED',
'IsOverlappingRoute' => ,
'State' => 'ACTIVE',
'Type' => 'PROPAGATED',
],
],
]
ListCoreNetworkPolicyVersions
$result = $client->listCoreNetworkPolicyVersions([/* ... */]); $promise = $client->listCoreNetworkPolicyVersionsAsync([/* ... */]);
Returns a list of core network policy versions.
Parameter Syntax
$result = $client->listCoreNetworkPolicyVersions([
'CoreNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'CoreNetworkPolicyVersions' => [
[
'Alias' => 'LIVE|LATEST',
'ChangeSetState' => 'PENDING_GENERATION|FAILED_GENERATION|READY_TO_EXECUTE|EXECUTING|EXECUTION_SUCCEEDED|OUT_OF_DATE',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'PolicyVersionId' => <integer>,
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- CoreNetworkPolicyVersions
-
- Type: Array of CoreNetworkPolicyVersion structures
Describes core network policy versions.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListCoreNetworkPrefixListAssociations
$result = $client->listCoreNetworkPrefixListAssociations([/* ... */]); $promise = $client->listCoreNetworkPrefixListAssociationsAsync([/* ... */]);
Lists the prefix list associations for a core network.
Parameter Syntax
$result = $client->listCoreNetworkPrefixListAssociations([
'CoreNetworkId' => '<string>', // REQUIRED
'MaxResults' => <integer>,
'NextToken' => '<string>',
'PrefixListArn' => '<string>',
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network to list prefix list associations for.
- MaxResults
-
- Type: int
The maximum number of results to return in a single page.
- NextToken
-
- Type: string
The token for the next page of results.
- PrefixListArn
-
- Type: string
The ARN of a specific prefix list to filter the associations.
Result Syntax
[
'NextToken' => '<string>',
'PrefixListAssociations' => [
[
'CoreNetworkId' => '<string>',
'PrefixListAlias' => '<string>',
'PrefixListArn' => '<string>',
],
// ...
],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- PrefixListAssociations
-
- Type: Array of PrefixListAssociation structures
The list of prefix list associations for the core network.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListCoreNetworkRoutingInformation
$result = $client->listCoreNetworkRoutingInformation([/* ... */]); $promise = $client->listCoreNetworkRoutingInformationAsync([/* ... */]);
Lists routing information for a core network, including routes and their attributes.
Parameter Syntax
$result = $client->listCoreNetworkRoutingInformation([
'CommunityMatches' => ['<string>', ...],
'CoreNetworkId' => '<string>', // REQUIRED
'EdgeLocation' => '<string>', // REQUIRED
'ExactAsPathMatches' => ['<string>', ...],
'ExactPrefixMatches' => ['<string>', ...],
'LocalPreferenceMatches' => ['<string>', ...],
'LongestPrefixMatches' => ['<string>', ...],
'MaxResults' => <integer>,
'MedMatches' => ['<string>', ...],
'NextHopFilters' => [
'<FilterName>' => ['<string>', ...],
// ...
],
'NextToken' => '<string>',
'SegmentName' => '<string>', // REQUIRED
'SubnetOfMatches' => ['<string>', ...],
'SupernetOfMatches' => ['<string>', ...],
]);
Parameter Details
Members
- CommunityMatches
-
- Type: Array of strings
BGP community values to match when filtering routing information.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network to retrieve routing information for.
- EdgeLocation
-
- Required: Yes
- Type: string
The edge location to filter routing information by.
- ExactAsPathMatches
-
- Type: Array of strings
Exact AS path values to match when filtering routing information.
- ExactPrefixMatches
-
- Type: Array of strings
Exact prefix values to match when filtering routing information.
- LocalPreferenceMatches
-
- Type: Array of strings
Local preference values to match when filtering routing information.
- LongestPrefixMatches
-
- Type: Array of strings
Filters routing information based on the longest prefix that matches each provided IP address.
- MaxResults
-
- Type: int
The maximum number of routing information entries to return in a single page.
- MedMatches
-
- Type: Array of strings
Multi-Exit Discriminator (MED) values to match when filtering routing information.
- NextHopFilters
-
- Type: Associative array of custom strings keys (FilterName) to stringss
Filters to apply based on next hop information. Each filter value must exactly match the corresponding next hop value. Values for the same filter are joined with OR, and different filters are joined with AND. The following filters are supported:
-
core-network-attachment-id: The ID of the core network attachment for the next hop, for exampleattachment-0123456789abcdef0. -
segment-name: The name of the segment for the next hop. -
edge-location: The edge location for the next hop, for exampleus-east-1. -
resource-id: The ID of the resource for the next hop. -
resource-type: The type of resource for the next hop. The possible values arevpc,vpn,connect-peer,direct-connect-gateway,transit-gateway-route-table,attachment, andblackhole. -
ip-address: The IP address of the next hop. For a Site-to-Site VPN next hop, this is the outside IP address of the AWS side of the VPN tunnel. For a Connect peer next hop, this is the core network BGP address of the Connect peer. The value must be a single IPv4 or IPv6 address.
You can specify up to 10 filter values in total across
NextHopFiltersand the other match parameters in the request. Each filter value can be up to 256 characters. - NextToken
-
- Type: string
The token for the next page of results.
- SegmentName
-
- Required: Yes
- Type: string
The name of the segment to filter routing information by.
- SubnetOfMatches
-
- Type: Array of strings
Prefix values to filter routing information whose prefix is a subnet of the prefixes provided.
- SupernetOfMatches
-
- Type: Array of strings
Prefix values to filter routing information whose prefix is a supernet of the prefixes provided.
Result Syntax
[
'CoreNetworkRoutingInformation' => [
[
'AsPath' => ['<string>', ...],
'Communities' => ['<string>', ...],
'LocalPreference' => '<string>',
'Med' => '<string>',
'NextHop' => [
'CoreNetworkAttachmentId' => '<string>',
'EdgeLocation' => '<string>',
'IpAddress' => '<string>',
'ResourceId' => '<string>',
'ResourceType' => '<string>',
'SegmentName' => '<string>',
],
'Prefix' => '<string>',
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- CoreNetworkRoutingInformation
-
- Type: Array of CoreNetworkRoutingInformation structures
The list of routing information for the core network.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListCoreNetworks
$result = $client->listCoreNetworks([/* ... */]); $promise = $client->listCoreNetworksAsync([/* ... */]);
Returns a list of owned and shared core networks.
Parameter Syntax
$result = $client->listCoreNetworks([
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'CoreNetworks' => [
[
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'OwnerAccountId' => '<string>',
'State' => 'CREATING|UPDATING|AVAILABLE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- CoreNetworks
-
- Type: Array of CoreNetworkSummary structures
Describes the list of core networks.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListNetworkScopePrincipals
$result = $client->listNetworkScopePrincipals([/* ... */]); $promise = $client->listNetworkScopePrincipalsAsync([/* ... */]);
Lists the principals associated with a network scope. Results are paginated. To get the next page of results, use NextToken.
Parameter Syntax
$result = $client->listNetworkScopePrincipals([
'MaxResults' => <integer>,
'NetworkScopeId' => '<string>', // REQUIRED
'NextToken' => '<string>',
'Principals' => ['<string>', ...],
]);
Parameter Details
Members
- MaxResults
-
- Type: int
The maximum number of results to return. Valid values are from 1 to 500.
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope.
- NextToken
-
- Type: string
The token for the next page of results.
- Principals
-
- Type: Array of strings
The principals to return. Only principals that are associated with the network scope are returned, so a page can contain fewer than
MaxResultsprincipals and still include aNextToken. You can specify from 1 to 100 principals.
Result Syntax
[
'NetworkScopePrincipals' => [
[
'NetworkScopeId' => '<string>',
'Principal' => '<string>',
'PrincipalRegions' => ['<string>', ...],
'State' => 'ASSOCIATING|ASSOCIATED|FAILED|DISASSOCIATING|DISASSOCIATED|INACTIVE',
'StateReason' => [
'Code' => 'ORGANIZATION_ACCESS_LOST|SCOPE_OWNER_NOT_ORGANIZATION_MEMBER|NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED|SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR|NOT_IN_OWNER_ORGANIZATION|ORGANIZATIONAL_UNIT_DELETED|NETWORK_MANAGER_SERVICE_LINKED_ROLE_NOT_ASSUMABLE|REGION_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED|NETWORK_SECURITY_ANALYSIS_POLICY_ATTACHMENT_LIMIT_EXCEEDED',
'Message' => '<string>',
],
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- NetworkScopePrincipals
-
- Required: Yes
- Type: Array of NetworkScopePrincipal structures
Information about the principals.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Listing the principals of a network scope
$result = $client->listNetworkScopePrincipals([
'MaxResults' => 10,
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
]);
Result syntax:
[
'NetworkScopePrincipals' => [
[
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'Principal' => '444455556666',
'PrincipalRegions' => [
'us-east-1',
'us-west-2',
],
'State' => 'ASSOCIATED',
],
[
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'Principal' => '777788889999',
'PrincipalRegions' => [
'us-east-1',
'us-west-2',
],
'State' => 'ASSOCIATING',
],
],
]
ListNetworkScopes
$result = $client->listNetworkScopes([/* ... */]); $promise = $client->listNetworkScopesAsync([/* ... */]);
Lists the network scopes owned by your AWS account in the current Region. Results are paginated. To get the next page of results, use NextToken.
Parameter Syntax
$result = $client->listNetworkScopes([
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- MaxResults
-
- Type: int
The maximum number of results to return. Valid values are from 1 to 500.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'NetworkScopes' => [
[
'AccessMode' => 'ACCOUNTS|ORGANIZATIONS',
'CreatedAt' => <DateTime>,
'Name' => '<string>',
'NetworkScopeArn' => '<string>',
'NetworkScopeId' => '<string>',
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED|FAILED',
'StateReason' => [
'Code' => 'SCOPE_OWNER_NOT_ORGANIZATION_MEMBER|NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED|SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR|NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED|PRINCIPALS_NOT_FULLY_COVERED',
'Message' => '<string>',
],
],
// ...
],
'NextToken' => '<string>',
]
Result Details
Members
- NetworkScopes
-
- Required: Yes
- Type: Array of NetworkScopeSummary structures
Information about the network scopes.
- NextToken
-
- Type: string
The token for the next page of results.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Listing network scopes
$result = $client->listNetworkScopes([
'MaxResults' => 10,
]);
Result syntax:
[
'NetworkScopes' => [
[
'AccessMode' => 'ACCOUNTS',
'CreatedAt' => ,
'Name' => 'production-network',
'NetworkScopeArn' => 'arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0',
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'State' => 'AVAILABLE',
],
[
'AccessMode' => 'ORGANIZATIONS',
'CreatedAt' => ,
'Name' => 'organization-network',
'NetworkScopeArn' => 'arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0abcdef1234567890',
'NetworkScopeId' => 'network-scope-0abcdef1234567890',
'State' => 'AVAILABLE',
],
],
]
ListOrganizationServiceAccessStatus
$result = $client->listOrganizationServiceAccessStatus([/* ... */]); $promise = $client->listOrganizationServiceAccessStatusAsync([/* ... */]);
Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
Parameter Syntax
$result = $client->listOrganizationServiceAccessStatus([
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'NextToken' => '<string>',
'OrganizationStatus' => [
'AccountStatusList' => [
[
'AccountId' => '<string>',
'SLRDeploymentStatus' => '<string>',
],
// ...
],
'OrganizationAwsServiceAccessStatus' => '<string>',
'OrganizationId' => '<string>',
'SLRDeploymentStatus' => '<string>',
],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- OrganizationStatus
-
- Type: OrganizationStatus structure
Displays the status of an Amazon Web Services Organization.
Errors
There are no errors described for this operation.
ListPeerings
$result = $client->listPeerings([/* ... */]); $promise = $client->listPeeringsAsync([/* ... */]);
Lists the peerings for a core network.
Parameter Syntax
$result = $client->listPeerings([
'CoreNetworkId' => '<string>',
'EdgeLocation' => '<string>',
'MaxResults' => <integer>,
'NextToken' => '<string>',
'PeeringType' => 'TRANSIT_GATEWAY',
'State' => 'CREATING|FAILED|AVAILABLE|DELETING',
]);
Parameter Details
Members
- CoreNetworkId
-
- Type: string
The ID of a core network.
- EdgeLocation
-
- Type: string
Returns a list edge locations for the
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- PeeringType
-
- Type: string
Returns a list of a peering requests.
- State
-
- Type: string
Returns a list of the peering request states.
Result Syntax
[
'NextToken' => '<string>',
'Peerings' => [
[
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'LastModificationErrors' => [
[
'Code' => 'TRANSIT_GATEWAY_NOT_FOUND|TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED|MISSING_PERMISSIONS|INTERNAL_ERROR|EDGE_LOCATION_PEER_DUPLICATE|INVALID_TRANSIT_GATEWAY_STATE|TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED|CREATION_FAILED|DELETION_FAILED',
'Message' => '<string>',
'MissingPermissionsContext' => [
'MissingPermission' => '<string>',
],
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'OwnerAccountId' => '<string>',
'PeeringId' => '<string>',
'PeeringType' => 'TRANSIT_GATEWAY',
'ResourceArn' => '<string>',
'State' => 'CREATING|FAILED|AVAILABLE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
// ...
],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- Peerings
-
- Type: Array of Peering structures
Lists the transit gateway peerings for the
ListPeeringsrequest.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
ListSSERegions
$result = $client->listSSERegions([/* ... */]); $promise = $client->listSSERegionsAsync([/* ... */]);
Lists the Regions where an SSE provider is available. You can specify these Regions when you create or update an SSE connect. Results are paginated. Use the NextToken parameter to retrieve additional results.
Parameter Syntax
$result = $client->listSSERegions([
'MaxResults' => <integer>,
'NextToken' => '<string>',
'SseVendor' => '<string>', // REQUIRED
]);
Parameter Details
Members
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- SseVendor
-
- Required: Yes
- Type: string
The SSE provider.
Result Syntax
[
'NextToken' => '<string>',
'Regions' => ['<string>', ...],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- Regions
-
- Required: Yes
- Type: Array of strings
The Regions where the SSE provider is available.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: To list the Regions where an SSE provider is available
The following example lists where an SSE provider is available.
$result = $client->listSSERegions([
'SseVendor' => 'PALO_ALTO',
]);
Result syntax:
[
'Regions' => [
'aa-example-3',
'aa-example-1',
'aa-example-2',
],
]
ListSseConnectTransitGatewayAttachments
$result = $client->listSseConnectTransitGatewayAttachments([/* ... */]); $promise = $client->listSseConnectTransitGatewayAttachmentsAsync([/* ... */]);
Lists the SSE connect transit gateway attachments in your account. You can return only the attachments of a specific SSE connect. Results are paginated. Use the NextToken parameter to retrieve additional results.
Parameter Syntax
$result = $client->listSseConnectTransitGatewayAttachments([
'MaxResults' => <integer>,
'NextToken' => '<string>',
'SseConnectId' => '<string>',
]);
Parameter Details
Members
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
- SseConnectId
-
- Type: string
The ID of an SSE connect. If you specify this parameter, only the attachments of this SSE connect are returned.
Result Syntax
[
'NextToken' => '<string>',
'SseConnectTransitGatewayAttachments' => [
[
'CreatedAt' => <DateTime>,
'OwnerAccountId' => '<string>',
'SseConnectId' => '<string>',
'SseConnectTransitGatewayAttachmentArn' => '<string>',
'SseConnectTransitGatewayAttachmentId' => '<string>',
'State' => 'CREATING|PENDING_ATTACHMENT_ACCEPTANCE|AVAILABLE|UPDATING|FAILED|REJECTED|DELETING|DELETED',
'StateReason' => [
'Code' => 'TRANSIT_GATEWAY_OWNER_REJECTED',
'Message' => '<string>',
],
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'TransitGatewayArn' => '<string>',
'TransitGatewayAttachmentId' => '<string>',
'UpdatedAt' => <DateTime>,
],
// ...
],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- SseConnectTransitGatewayAttachments
-
- Required: Yes
- Type: Array of SseConnectTransitGatewayAttachment structures
The SSE connect transit gateway attachments.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: To list the transit gateway attachments of an SSE connect
The following example lists the transit gateway attachments of an SSE connect.
$result = $client->listSseConnectTransitGatewayAttachments([
'SseConnectId' => 'sse-connect-1234567890abcdef0',
]);
Result syntax:
[
'SseConnectTransitGatewayAttachments' => [
[
'OwnerAccountId' => '111122223333',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseConnectTransitGatewayAttachmentArn' => 'arn:aws:networkmanager::111122223333:sse-connect-tgw-attachment/sse-connect-tgw-attach-1234567890abcdef0',
'SseConnectTransitGatewayAttachmentId' => 'sse-connect-tgw-attach-1234567890abcdef0',
'State' => 'AVAILABLE',
'TransitGatewayArn' => 'arn:aws:ec2:aa-example-1:111122223333:transit-gateway/tgw-1234567890abcdef0',
'TransitGatewayAttachmentId' => 'tgw-attach-1234567890abcdef0',
],
],
]
ListSseConnects
$result = $client->listSseConnects([/* ... */]); $promise = $client->listSseConnectsAsync([/* ... */]);
Lists the SSE connects in your account. Results are paginated. Use the NextToken parameter to retrieve additional results.
Parameter Syntax
$result = $client->listSseConnects([
'MaxResults' => <integer>,
'NextToken' => '<string>',
]);
Parameter Details
Members
- MaxResults
-
- Type: int
The maximum number of results to return.
- NextToken
-
- Type: string
The token for the next page of results.
Result Syntax
[
'NextToken' => '<string>',
'SseConnects' => [
[
'AttachmentRegions' => [
[
'RegionName' => '<string>',
],
// ...
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'PartnerLinkStatus' => 'PENDING|LINKED|NOT_LINKED',
'SseConnectArn' => '<string>',
'SseConnectId' => '<string>',
'SseRegions' => [
[
'PeerHealthStatus' => 'HEALTHY|UNHEALTHY',
'RegionName' => '<string>',
],
// ...
],
'SseVendor' => '<string>',
'State' => 'CREATING|AVAILABLE|UPDATING|FAILED|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
// ...
],
]
Result Details
Members
- NextToken
-
- Type: string
The token for the next page of results.
- SseConnects
-
- Required: Yes
- Type: Array of SseConnect structures
The SSE connects.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: To list SSE connects
The following example lists the SSE connects in your account.
$result = $client->listSseConnects([ ]);
Result syntax:
[
'SseConnects' => [
[
'Description' => 'Branch internet egress',
'PartnerLinkStatus' => 'LINKED',
'SseConnectArn' => 'arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseVendor' => 'PALO_ALTO',
'State' => 'AVAILABLE',
],
],
]
ListTagsForResource
$result = $client->listTagsForResource([/* ... */]); $promise = $client->listTagsForResourceAsync([/* ... */]);
Lists the tags for a specified resource.
Parameter Syntax
$result = $client->listTagsForResource([
'ResourceArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ResourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource.
Result Syntax
[
'TagList' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]
Result Details
Members
- TagList
-
- Type: Array of Tag structures
The list of tags.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
PutAttachmentRoutingPolicyLabel
$result = $client->putAttachmentRoutingPolicyLabel([/* ... */]); $promise = $client->putAttachmentRoutingPolicyLabelAsync([/* ... */]);
Applies a routing policy label to an attachment for traffic routing decisions.
Parameter Syntax
$result = $client->putAttachmentRoutingPolicyLabel([
'AttachmentId' => '<string>', // REQUIRED
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'RoutingPolicyLabel' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment to apply the routing policy label to.
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network containing the attachment.
- RoutingPolicyLabel
-
- Required: Yes
- Type: string
The routing policy label to apply to the attachment.
Result Syntax
[
'AttachmentId' => '<string>',
'CoreNetworkId' => '<string>',
'RoutingPolicyLabel' => '<string>',
]
Result Details
Members
- AttachmentId
-
- Type: string
The ID of the attachment that received the routing policy label.
- CoreNetworkId
-
- Type: string
The ID of the core network containing the attachment.
- RoutingPolicyLabel
-
- Type: string
The routing policy label that was applied to the attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
PutCoreNetworkPolicy
$result = $client->putCoreNetworkPolicy([/* ... */]); $promise = $client->putCoreNetworkPolicyAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->putCoreNetworkPolicy([
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'Description' => '<string>',
'LatestVersionId' => <integer>,
'PolicyDocument' => '<string>', // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
The client token associated with the request.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
- Description
-
- Type: string
a core network policy description.
- LatestVersionId
-
- Type: int
The ID of a core network policy.
- PolicyDocument
-
- Required: Yes
- Type: string (string|number|array|map or anything parsable by json_encode)
The policy document.
Result Syntax
[
'CoreNetworkPolicy' => [
'Alias' => 'LIVE|LATEST',
'ChangeSetState' => 'PENDING_GENERATION|FAILED_GENERATION|READY_TO_EXECUTE|EXECUTING|EXECUTION_SUCCEEDED|OUT_OF_DATE',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DryRunFailureReason' => '<string>',
'DryRunState' => 'PENDING|AVAILABLE|STALE|FAILED',
'DryRunUpdatedAt' => <DateTime>,
'PolicyDocument' => '<string>',
'PolicyErrors' => [
[
'ErrorCode' => '<string>',
'Message' => '<string>',
'Path' => '<string>',
],
// ...
],
'PolicyVersionId' => <integer>,
],
]
Result Details
Members
- CoreNetworkPolicy
-
- Type: CoreNetworkPolicy structure
Describes the changed core network policy.
Errors
- CoreNetworkPolicyException:
Describes a core network policy exception.
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
PutResourcePolicy
$result = $client->putResourcePolicy([/* ... */]); $promise = $client->putResourcePolicyAsync([/* ... */]);
Creates or updates a resource policy.
Parameter Syntax
$result = $client->putResourcePolicy([
'PolicyDocument' => '<string>', // REQUIRED
'ResourceArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- PolicyDocument
-
- Required: Yes
- Type: string (string|number|array|map or anything parsable by json_encode)
The JSON resource policy document.
- ResourceArn
-
- Required: Yes
- Type: string
The ARN of the resource policy.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
RegisterTransitGateway
$result = $client->registerTransitGateway([/* ... */]); $promise = $client->registerTransitGatewayAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->registerTransitGateway([
'GlobalNetworkId' => '<string>', // REQUIRED
'TransitGatewayArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- TransitGatewayArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the transit gateway.
Result Syntax
[
'TransitGatewayRegistration' => [
'GlobalNetworkId' => '<string>',
'State' => [
'Code' => 'PENDING|AVAILABLE|DELETING|DELETED|FAILED',
'Message' => '<string>',
],
'TransitGatewayArn' => '<string>',
],
]
Result Details
Members
- TransitGatewayRegistration
-
- Type: TransitGatewayRegistration structure
Information about the transit gateway registration.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
RejectAttachment
$result = $client->rejectAttachment([/* ... */]); $promise = $client->rejectAttachmentAsync([/* ... */]);
Rejects a core network attachment request.
Parameter Syntax
$result = $client->rejectAttachment([
'AttachmentId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment.
Result Syntax
[
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- Attachment
-
- Type: Attachment structure
Describes the rejected attachment request.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
RemoveAttachmentRoutingPolicyLabel
$result = $client->removeAttachmentRoutingPolicyLabel([/* ... */]); $promise = $client->removeAttachmentRoutingPolicyLabelAsync([/* ... */]);
Removes a routing policy label from an attachment.
Parameter Syntax
$result = $client->removeAttachmentRoutingPolicyLabel([
'AttachmentId' => '<string>', // REQUIRED
'CoreNetworkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment to remove the routing policy label from.
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network containing the attachment.
Result Syntax
[
'AttachmentId' => '<string>',
'CoreNetworkId' => '<string>',
'RoutingPolicyLabel' => '<string>',
]
Result Details
Members
- AttachmentId
-
- Type: string
The ID of the attachment from which the routing policy label was removed.
- CoreNetworkId
-
- Type: string
The ID of the core network containing the attachment.
- RoutingPolicyLabel
-
- Type: string
The routing policy label that was removed from the attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
RestoreCoreNetworkPolicyVersion
$result = $client->restoreCoreNetworkPolicyVersion([/* ... */]); $promise = $client->restoreCoreNetworkPolicyVersionAsync([/* ... */]);
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.
Parameter Syntax
$result = $client->restoreCoreNetworkPolicyVersion([
'CoreNetworkId' => '<string>', // REQUIRED
'PolicyVersionId' => <integer>, // REQUIRED
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
- PolicyVersionId
-
- Required: Yes
- Type: int
The ID of the policy version to restore.
Result Syntax
[
'CoreNetworkPolicy' => [
'Alias' => 'LIVE|LATEST',
'ChangeSetState' => 'PENDING_GENERATION|FAILED_GENERATION|READY_TO_EXECUTE|EXECUTING|EXECUTION_SUCCEEDED|OUT_OF_DATE',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DryRunFailureReason' => '<string>',
'DryRunState' => 'PENDING|AVAILABLE|STALE|FAILED',
'DryRunUpdatedAt' => <DateTime>,
'PolicyDocument' => '<string>',
'PolicyErrors' => [
[
'ErrorCode' => '<string>',
'Message' => '<string>',
'Path' => '<string>',
],
// ...
],
'PolicyVersionId' => <integer>,
],
]
Result Details
Members
- CoreNetworkPolicy
-
- Type: CoreNetworkPolicy structure
Describes the restored core network policy.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
StartCoreNetworkPolicyDryRun
$result = $client->startCoreNetworkPolicyDryRun([/* ... */]); $promise = $client->startCoreNetworkPolicyDryRunAsync([/* ... */]);
Starts a dry run of a core network policy version. A dry run calculates the routes that the policy version produces, without applying the policy version to your core network. Use ListCoreNetworkDryRunRoutes to compare these routes to the current routes of your core network.
The dry run is in the PENDING state when it starts, and changes to AVAILABLE when its results are ready. To check the state of a dry run, call GetCoreNetworkPolicy and check the DryRunState of the policy version.
Parameter Syntax
$result = $client->startCoreNetworkPolicyDryRun([
'ClientToken' => '<string>',
'CoreNetworkId' => '<string>', // REQUIRED
'PolicyVersionId' => <integer>, // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If a dry run is already in the
PENDINGstate for the policy version, the service returns the currentDryRunStateof that dry run and doesn't start another dry run. - CoreNetworkId
-
- Required: Yes
- Type: string
The ID of the core network.
- PolicyVersionId
-
- Required: Yes
- Type: int
The ID of the policy version for which to start the dry run.
Result Syntax
[
'CoreNetworkId' => '<string>',
'DryRunState' => 'PENDING|AVAILABLE|STALE|FAILED',
'PolicyVersionId' => <integer>,
]
Result Details
Members
- CoreNetworkId
-
- Type: string
The ID of the core network.
- DryRunState
-
- Type: string
The state of the dry run.
- PolicyVersionId
-
- Type: int
The ID of the policy version.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Starting a dry run of a core network policy version
$result = $client->startCoreNetworkPolicyDryRun([
'ClientToken' => 'a1b2c3d4-5678-90ab-cdef-EXAMPLE11111',
'CoreNetworkId' => 'core-network-0123456789abcdef0',
'PolicyVersionId' => 2,
]);
Result syntax:
[
'CoreNetworkId' => 'core-network-0123456789abcdef0',
'DryRunState' => 'PENDING',
'PolicyVersionId' => 2,
]
StartOrganizationServiceAccessUpdate
$result = $client->startOrganizationServiceAccessUpdate([/* ... */]); $promise = $client->startOrganizationServiceAccessUpdateAsync([/* ... */]);
Enables the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.
Parameter Syntax
$result = $client->startOrganizationServiceAccessUpdate([
'Action' => '<string>', // REQUIRED
]);
Parameter Details
Members
- Action
-
- Required: Yes
- Type: string
The action to take for the update request. This can be either
ENABLEorDISABLE.
Result Syntax
[
'OrganizationStatus' => [
'AccountStatusList' => [
[
'AccountId' => '<string>',
'SLRDeploymentStatus' => '<string>',
],
// ...
],
'OrganizationAwsServiceAccessStatus' => '<string>',
'OrganizationId' => '<string>',
'SLRDeploymentStatus' => '<string>',
],
]
Result Details
Members
- OrganizationStatus
-
- Type: OrganizationStatus structure
The status of the service access update request for an Amazon Web Services Organization.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
StartRouteAnalysis
$result = $client->startRouteAnalysis([/* ... */]); $promise = $client->startRouteAnalysisAsync([/* ... */]);
Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.
Parameter Syntax
$result = $client->startRouteAnalysis([
'Destination' => [ // REQUIRED
'IpAddress' => '<string>',
'TransitGatewayAttachmentArn' => '<string>',
],
'GlobalNetworkId' => '<string>', // REQUIRED
'IncludeReturnPath' => true || false,
'Source' => [ // REQUIRED
'IpAddress' => '<string>',
'TransitGatewayAttachmentArn' => '<string>',
],
'UseMiddleboxes' => true || false,
]);
Parameter Details
Members
- Destination
-
- Required: Yes
- Type: RouteAnalysisEndpointOptionsSpecification structure
The destination.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- IncludeReturnPath
-
- Type: boolean
Indicates whether to analyze the return path. The default is
false. - Source
-
- Required: Yes
- Type: RouteAnalysisEndpointOptionsSpecification structure
The source from which traffic originates.
- UseMiddleboxes
-
- Type: boolean
Indicates whether to include the location of middlebox appliances in the route analysis. The default is
false.
Result Syntax
[
'RouteAnalysis' => [
'Destination' => [
'IpAddress' => '<string>',
'TransitGatewayArn' => '<string>',
'TransitGatewayAttachmentArn' => '<string>',
],
'ForwardPath' => [
'CompletionStatus' => [
'ReasonCode' => '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' => ['<string>', ...],
'ResultCode' => 'CONNECTED|NOT_CONNECTED',
],
'Path' => [
[
'DestinationCidrBlock' => '<string>',
'Resource' => [
'Definition' => '<string>',
'IsMiddlebox' => true || false,
'NameTag' => '<string>',
'RegisteredGatewayArn' => '<string>',
'ResourceArn' => '<string>',
'ResourceType' => '<string>',
],
'Sequence' => <integer>,
],
// ...
],
],
'GlobalNetworkId' => '<string>',
'IncludeReturnPath' => true || false,
'OwnerAccountId' => '<string>',
'ReturnPath' => [
'CompletionStatus' => [
'ReasonCode' => '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' => ['<string>', ...],
'ResultCode' => 'CONNECTED|NOT_CONNECTED',
],
'Path' => [
[
'DestinationCidrBlock' => '<string>',
'Resource' => [
'Definition' => '<string>',
'IsMiddlebox' => true || false,
'NameTag' => '<string>',
'RegisteredGatewayArn' => '<string>',
'ResourceArn' => '<string>',
'ResourceType' => '<string>',
],
'Sequence' => <integer>,
],
// ...
],
],
'RouteAnalysisId' => '<string>',
'Source' => [
'IpAddress' => '<string>',
'TransitGatewayArn' => '<string>',
'TransitGatewayAttachmentArn' => '<string>',
],
'StartTimestamp' => <DateTime>,
'Status' => 'RUNNING|COMPLETED|FAILED',
'UseMiddleboxes' => true || false,
],
]
Result Details
Members
- RouteAnalysis
-
- Type: RouteAnalysis structure
The route analysis.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
TagResource
$result = $client->tagResource([/* ... */]); $promise = $client->tagResourceAsync([/* ... */]);
Tags a specified resource.
Parameter Syntax
$result = $client->tagResource([
'ResourceArn' => '<string>', // REQUIRED
'Tags' => [ // REQUIRED
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- ResourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource.
- Tags
-
- Required: Yes
- Type: Array of Tag structures
The tags to apply to the specified resource.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UntagResource
$result = $client->untagResource([/* ... */]); $promise = $client->untagResourceAsync([/* ... */]);
Removes tags from a specified resource.
Parameter Syntax
$result = $client->untagResource([
'ResourceArn' => '<string>', // REQUIRED
'TagKeys' => ['<string>', ...], // REQUIRED
]);
Parameter Details
Members
- ResourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource.
- TagKeys
-
- Required: Yes
- Type: Array of strings
The tag keys to remove from the specified resource.
Result Syntax
[]
Result Details
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateAttachmentNatConfiguration
$result = $client->updateAttachmentNatConfiguration([/* ... */]); $promise = $client->updateAttachmentNatConfigurationAsync([/* ... */]);
Updates the NAT configuration of a core network attachment. You can enable or disable NAT gateway support, specify whether the core network installs system routes for the NAT CIDR blocks, and replace the NAT rules of the attachment. Specify at least one of NatGatewaySupport, NatSystemRouteSupport, or NatGatewayRules.
Only the core network owner can update the NAT configuration of an attachment. The attachment must be in the AVAILABLE, PENDING_ATTACHMENT_ACCEPTANCE, or PENDING_TAG_ACCEPTANCE state. Changes are applied asynchronously, and the attachment is in the UPDATING state while they are applied. If the attachment is pending acceptance, the NAT configuration is stored and is applied after the attachment is accepted.
Parameter Syntax
$result = $client->updateAttachmentNatConfiguration([
'AttachmentId' => '<string>', // REQUIRED
'ClientToken' => '<string>',
'NatGatewayRules' => [
[
'MatchSourceCidr' => '<string>', // REQUIRED
'NatCidr' => '<string>', // REQUIRED
'RuleNumber' => <integer>, // REQUIRED
],
// ...
],
'NatGatewaySupport' => 'ENABLE|DISABLE',
'NatSystemRouteSupport' => true || false,
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment to update the NAT configuration for.
- ClientToken
-
- Type: string
The client token associated with the request.
- NatGatewayRules
-
- Type: Array of NatRuleRequest structures
The complete set of NAT rules for the attachment, up to 50 rules. The rules that you specify replace the existing rules of the attachment, matched by rule number. Existing rules that aren't included in the request are deleted. To delete all NAT rules, specify an empty list. You can delete all NAT rules only when NAT gateway support is disabled, or when you disable it in the same request. If you omit this parameter, the existing rules are unchanged.
- NatGatewaySupport
-
- Type: string
Specifies whether to enable or disable NAT gateway support on the attachment. When you disable NAT gateway support, the attachment keeps its NAT rules but doesn't apply them. To enable NAT gateway support, the attachment must have at least one NAT rule, either specified in this request or already configured on the attachment. If you omit this parameter, NAT gateway support is unchanged.
- NatSystemRouteSupport
-
- Type: boolean
Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. System routes have a route type of
SYSTEM. NAT is applied to traffic whether or not this option is enabled. If you omit this parameter, the current value is unchanged.
Result Syntax
[
'AttachmentId' => '<string>',
'NatGatewayRules' => [
[
'MatchSourceCidr' => '<string>',
'NatCidr' => '<string>',
'RuleNumber' => <integer>,
'State' => 'CREATING|MODIFYING|DELETING|ACTIVATED|ACTIVATING|DEACTIVATED|DEACTIVATING|FAILED|PENDING_ATTACHMENT_ACCEPTANCE',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
]
Result Details
Members
- AttachmentId
-
- Type: string
The ID of the attachment.
- NatGatewayRules
-
- Type: Array of NatRule structures
The NAT rules of the attachment, including rules that are being deleted.
- NatGatewaySupport
-
- Type: string
The state of NAT gateway support on the attachment. The transitional states
ENABLINGandDISABLINGchange toENABLEDorDISABLEDafter the update is applied. The state isPENDING_ATTACHMENT_ACCEPTANCEwhen NAT gateway support is enabled on an attachment that is pending acceptance. - NatSystemRouteSupport
-
- Type: boolean
Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateConnection
$result = $client->updateConnection([/* ... */]); $promise = $client->updateConnectionAsync([/* ... */]);
Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
Parameter Syntax
$result = $client->updateConnection([
'ConnectedLinkId' => '<string>',
'ConnectionId' => '<string>', // REQUIRED
'Description' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>',
]);
Parameter Details
Members
- ConnectedLinkId
-
- Type: string
The ID of the link for the second device in the connection.
- ConnectionId
-
- Required: Yes
- Type: string
The ID of the connection.
- Description
-
- Type: string
A description of the connection.
Length Constraints: Maximum length of 256 characters.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkId
-
- Type: string
The ID of the link for the first device in the connection.
Result Syntax
[
'Connection' => [
'ConnectedDeviceId' => '<string>',
'ConnectedLinkId' => '<string>',
'ConnectionArn' => '<string>',
'ConnectionId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- Connection
-
- Type: Connection structure
Information about the connection.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateContextStore
$result = $client->updateContextStore([/* ... */]); $promise = $client->updateContextStoreAsync([/* ... */]);
Updates the description of a context store. The context store must be in the AVAILABLE state.
Parameter Syntax
$result = $client->updateContextStore([
'ContextStoreId' => '<string>', // REQUIRED
'Description' => '<string>',
]);
Parameter Details
Members
- ContextStoreId
-
- Required: Yes
- Type: string
The ID of the context store.
- Description
-
- Type: string
The new description of the context store.
Constraints: Maximum length of 256 characters. Only printable ASCII characters are allowed.
Result Syntax
[
'ContextStore' => [
'ContextStoreArn' => '<string>',
'ContextStoreId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- ContextStore
-
- Type: ContextStore structure
Information about the context store.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateCoreNetwork
$result = $client->updateCoreNetwork([/* ... */]); $promise = $client->updateCoreNetworkAsync([/* ... */]);
Updates the description of a core network.
Parameter Syntax
$result = $client->updateCoreNetwork([
'CoreNetworkId' => '<string>', // REQUIRED
'Description' => '<string>',
]);
Parameter Details
Members
- CoreNetworkId
-
- Required: Yes
- Type: string
The ID of a core network.
- Description
-
- Type: string
The description of the update.
Result Syntax
[
'CoreNetwork' => [
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'Edges' => [
[
'Asn' => <integer>,
'EdgeLocation' => '<string>',
'InsideCidrBlocks' => ['<string>', ...],
],
// ...
],
'GlobalNetworkId' => '<string>',
'NetworkFunctionGroups' => [
[
'EdgeLocations' => ['<string>', ...],
'Name' => '<string>',
'Segments' => [
'SendTo' => ['<string>', ...],
'SendVia' => ['<string>', ...],
],
],
// ...
],
'Segments' => [
[
'EdgeLocations' => ['<string>', ...],
'Name' => '<string>',
'SharedSegments' => ['<string>', ...],
],
// ...
],
'State' => 'CREATING|UPDATING|AVAILABLE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- CoreNetwork
-
- Type: CoreNetwork structure
Returns information about a core network update.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateDevice
$result = $client->updateDevice([/* ... */]); $promise = $client->updateDeviceAsync([/* ... */]);
Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
Parameter Syntax
$result = $client->updateDevice([
'AWSLocation' => [
'SubnetArn' => '<string>',
'Zone' => '<string>',
],
'Description' => '<string>',
'DeviceId' => '<string>', // REQUIRED
'GlobalNetworkId' => '<string>', // REQUIRED
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'Model' => '<string>',
'SerialNumber' => '<string>',
'SiteId' => '<string>',
'Type' => '<string>',
'Vendor' => '<string>',
]);
Parameter Details
Members
- AWSLocation
-
- Type: AWSLocation structure
The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.
- Description
-
- Type: string
A description of the device.
Constraints: Maximum length of 256 characters.
- DeviceId
-
- Required: Yes
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- Location
-
- Type: Location structure
Describes a location.
- Model
-
- Type: string
The model of the device.
Constraints: Maximum length of 128 characters.
- SerialNumber
-
- Type: string
The serial number of the device.
Constraints: Maximum length of 128 characters.
- SiteId
-
- Type: string
The ID of the site.
- Type
-
- Type: string
The type of the device.
- Vendor
-
- Type: string
The vendor of the device.
Constraints: Maximum length of 128 characters.
Result Syntax
[
'Device' => [
'AWSLocation' => [
'SubnetArn' => '<string>',
'Zone' => '<string>',
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'DeviceArn' => '<string>',
'DeviceId' => '<string>',
'GlobalNetworkId' => '<string>',
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'Model' => '<string>',
'SerialNumber' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
'Vendor' => '<string>',
],
]
Result Details
Members
- Device
-
- Type: Device structure
Information about the device.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateDirectConnectGatewayAttachment
$result = $client->updateDirectConnectGatewayAttachment([/* ... */]); $promise = $client->updateDirectConnectGatewayAttachmentAsync([/* ... */]);
Updates the edge locations associated with an Amazon Web Services Direct Connect gateway attachment.
Parameter Syntax
$result = $client->updateDirectConnectGatewayAttachment([
'AttachmentId' => '<string>', // REQUIRED
'EdgeLocations' => ['<string>', ...],
]);
Parameter Details
Members
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the Direct Connect gateway attachment for the updated edge locations.
- EdgeLocations
-
- Type: Array of strings
One or more edge locations to update for the Direct Connect gateway attachment. The updated array of edge locations overwrites the previous array of locations.
EdgeLocationsis only used for Direct Connect gateway attachments.
Result Syntax
[
'DirectConnectGatewayAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'DirectConnectGatewayArn' => '<string>',
],
]
Result Details
Members
- DirectConnectGatewayAttachment
-
- Type: DirectConnectGatewayAttachment structure
Returns details of the Direct Connect gateway attachment with the updated edge locations.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateGlobalNetwork
$result = $client->updateGlobalNetwork([/* ... */]); $promise = $client->updateGlobalNetworkAsync([/* ... */]);
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
Parameter Syntax
$result = $client->updateGlobalNetwork([
'Description' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- Description
-
- Type: string
A description of the global network.
Constraints: Maximum length of 256 characters.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of your global network.
Result Syntax
[
'GlobalNetwork' => [
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkArn' => '<string>',
'GlobalNetworkId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- GlobalNetwork
-
- Type: GlobalNetwork structure
Information about the global network object.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateLink
$result = $client->updateLink([/* ... */]); $promise = $client->updateLinkAsync([/* ... */]);
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
Parameter Syntax
$result = $client->updateLink([
'Bandwidth' => [
'DownloadSpeed' => <integer>,
'UploadSpeed' => <integer>,
],
'Description' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'LinkId' => '<string>', // REQUIRED
'Provider' => '<string>',
'Type' => '<string>',
]);
Parameter Details
Members
- Bandwidth
-
- Type: Bandwidth structure
The upload and download speed in Mbps.
- Description
-
- Type: string
A description of the link.
Constraints: Maximum length of 256 characters.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- LinkId
-
- Required: Yes
- Type: string
The ID of the link.
- Provider
-
- Type: string
The provider of the link.
Constraints: Maximum length of 128 characters.
- Type
-
- Type: string
The type of the link.
Constraints: Maximum length of 128 characters.
Result Syntax
[
'Link' => [
'Bandwidth' => [
'DownloadSpeed' => <integer>,
'UploadSpeed' => <integer>,
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'LinkArn' => '<string>',
'LinkId' => '<string>',
'Provider' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'Type' => '<string>',
],
]
Result Details
Members
- Link
-
- Type: Link structure
Information about the link.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ServiceQuotaExceededException:
A service limit was exceeded.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateNetworkResourceMetadata
$result = $client->updateNetworkResourceMetadata([/* ... */]); $promise = $client->updateNetworkResourceMetadataAsync([/* ... */]);
Updates the resource metadata for the specified global network.
Parameter Syntax
$result = $client->updateNetworkResourceMetadata([
'GlobalNetworkId' => '<string>', // REQUIRED
'Metadata' => ['<string>', ...], // REQUIRED
'ResourceArn' => '<string>', // REQUIRED
]);
Parameter Details
Members
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- Metadata
-
- Required: Yes
- Type: Associative array of custom strings keys (ConstrainedString) to strings
The resource metadata.
- ResourceArn
-
- Required: Yes
- Type: string
The ARN of the resource.
Result Syntax
[
'Metadata' => ['<string>', ...],
'ResourceArn' => '<string>',
]
Result Details
Members
- Metadata
-
- Type: Associative array of custom strings keys (ConstrainedString) to strings
The updated resource metadata.
- ResourceArn
-
- Type: string
The ARN of the resource.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateNetworkScope
$result = $client->updateNetworkScope([/* ... */]); $promise = $client->updateNetworkScopeAsync([/* ... */]);
Updates the name or the Regions of a network scope. You must specify at least one of Name or NetworkScopeRegions. The network scope must be in the AVAILABLE state. You can't change the access mode of a network scope.
A change to the Regions takes effect asynchronously, and the network scope is in the UPDATING state until the change is complete. A change to the name only takes effect immediately.
Parameter Syntax
$result = $client->updateNetworkScope([
'Name' => '<string>',
'NetworkScopeId' => '<string>', // REQUIRED
'NetworkScopeRegions' => ['<string>', ...],
]);
Parameter Details
Members
- Name
-
- Type: string
The new name of the network scope. The name can be up to 128 characters long and can contain letters, numbers, and spaces, as well as the following characters: . _ : / + = @ -. If you omit this parameter, the name is unchanged.
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope to update.
- NetworkScopeRegions
-
- Type: Array of strings
The complete set of AWS Regions for the network scope. The Regions that you specify replace the existing Regions of the network scope. Each Region must be one where AWS Ops Agent for networking is available. If you omit this parameter, the Regions are unchanged.
Result Syntax
[
'NetworkScope' => [
'AccessMode' => 'ACCOUNTS|ORGANIZATIONS',
'CreatedAt' => <DateTime>,
'Name' => '<string>',
'NetworkScopeArn' => '<string>',
'NetworkScopeId' => '<string>',
'NetworkScopeRegions' => ['<string>', ...],
'State' => 'PENDING|AVAILABLE|UPDATING|DELETING|DELETED|FAILED',
'StateReason' => [
'Code' => 'SCOPE_OWNER_NOT_ORGANIZATION_MEMBER|NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED|SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR|NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED|NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED|PRINCIPALS_NOT_FULLY_COVERED',
'Message' => '<string>',
],
],
]
Result Details
Members
- NetworkScope
-
- Required: Yes
- Type: NetworkScope structure
Information about the network scope.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Examples
Example 1: Example – Adding a Region to a network scope
$result = $client->updateNetworkScope([
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'NetworkScopeRegions' => [
'us-east-1',
'us-west-2',
'eu-west-1',
],
]);
Result syntax:
[
'NetworkScope' => [
'AccessMode' => 'ACCOUNTS',
'CreatedAt' => ,
'Name' => 'production-network',
'NetworkScopeArn' => 'arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0',
'NetworkScopeId' => 'network-scope-0123456789abcdef0',
'NetworkScopeRegions' => [
'us-east-1',
'us-west-2',
'eu-west-1',
],
'State' => 'UPDATING',
],
]
UpdateSite
$result = $client->updateSite([/* ... */]); $promise = $client->updateSiteAsync([/* ... */]);
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
Parameter Syntax
$result = $client->updateSite([
'Description' => '<string>',
'GlobalNetworkId' => '<string>', // REQUIRED
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'SiteId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- Description
-
- Type: string
A description of your site.
Constraints: Maximum length of 256 characters.
- GlobalNetworkId
-
- Required: Yes
- Type: string
The ID of the global network.
- Location
-
- Type: Location structure
The site location:
-
Address: The physical address of the site. -
Latitude: The latitude of the site. -
Longitude: The longitude of the site.
- SiteId
-
- Required: Yes
- Type: string
The ID of your site.
Result Syntax
[
'Site' => [
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'GlobalNetworkId' => '<string>',
'Location' => [
'Address' => '<string>',
'Latitude' => '<string>',
'Longitude' => '<string>',
],
'SiteArn' => '<string>',
'SiteId' => '<string>',
'State' => 'PENDING|AVAILABLE|DELETING|UPDATING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
]
Result Details
Members
- Site
-
- Type: Site structure
Information about the site.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
UpdateSseConnect
$result = $client->updateSseConnect([/* ... */]); $promise = $client->updateSseConnectAsync([/* ... */]);
Updates the description or the Regions of an SSE connect. Specify at least one of Description or SseRegions. You can't change the SSE provider. The SSE connect must be in the AVAILABLE state.
You can't remove a Region while a core network is attached to the SSE connect in that Region. Update the core network attachment first.
Parameter Syntax
$result = $client->updateSseConnect([
'Description' => '<string>',
'DryRun' => true || false,
'SseConnectId' => '<string>', // REQUIRED
'SseRegions' => ['<string>', ...],
]);
Parameter Details
Members
- Description
-
- Type: string
The new description of the SSE connect. If you omit this parameter, the description is unchanged.
- DryRun
-
- Type: boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isAccessDeniedException. - SseConnectId
-
- Required: Yes
- Type: string
The ID of the SSE connect to update.
- SseRegions
-
- Type: Array of strings
The complete list of Regions where the SSE connect peers with the SSE provider. This list replaces the current Regions. You must specify at least two Regions, and the SSE provider must be available in each Region. If you omit this parameter, the Regions are unchanged.
Result Syntax
[
'SseConnect' => [
'AttachmentRegions' => [
[
'RegionName' => '<string>',
],
// ...
],
'CreatedAt' => <DateTime>,
'Description' => '<string>',
'PartnerLinkStatus' => 'PENDING|LINKED|NOT_LINKED',
'SseConnectArn' => '<string>',
'SseConnectId' => '<string>',
'SseRegions' => [
[
'PeerHealthStatus' => 'HEALTHY|UNHEALTHY',
'RegionName' => '<string>',
],
// ...
],
'SseVendor' => '<string>',
'State' => 'CREATING|AVAILABLE|UPDATING|FAILED|DELETING|DELETED',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
]
Result Details
Members
- SseConnect
-
- Type: SseConnect structure
Information about the SSE connect.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- ResourceNotFoundException:
The specified resource could not be found.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
- DryRunOperation:
You have the required permissions. You specified the
DryRunparameter, so the request didn't run.
Examples
Example 1: To update the Regions of an SSE connect
The following example replaces the Regions of an SSE connect with aa-example-1, aa-example-2, and aa-example-3.
$result = $client->updateSseConnect([
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseRegions' => [
'aa-example-1',
'aa-example-2',
'aa-example-3',
],
]);
Result syntax:
[
'SseConnect' => [
'Description' => 'Branch internet egress',
'PartnerLinkStatus' => 'LINKED',
'SseConnectArn' => 'arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0',
'SseConnectId' => 'sse-connect-1234567890abcdef0',
'SseRegions' => [
[
'RegionName' => 'aa-example-1',
],
[
'RegionName' => 'aa-example-2',
],
[
'RegionName' => 'aa-example-3',
],
],
'SseVendor' => 'PALO_ALTO',
'State' => 'UPDATING',
],
]
UpdateVpcAttachment
$result = $client->updateVpcAttachment([/* ... */]); $promise = $client->updateVpcAttachmentAsync([/* ... */]);
Updates a VPC attachment.
Parameter Syntax
$result = $client->updateVpcAttachment([
'AddSubnetArns' => ['<string>', ...],
'AttachmentId' => '<string>', // REQUIRED
'Options' => [
'ApplianceModeSupport' => true || false,
'DnsSupport' => true || false,
'Ipv6Support' => true || false,
'SecurityGroupReferencingSupport' => true || false,
],
'RemoveSubnetArns' => ['<string>', ...],
]);
Parameter Details
Members
- AddSubnetArns
-
- Type: Array of strings
Adds a subnet ARN to the VPC attachment.
- AttachmentId
-
- Required: Yes
- Type: string
The ID of the attachment.
- Options
-
- Type: VpcOptions structure
Additional options for updating the VPC attachment.
- RemoveSubnetArns
-
- Type: Array of strings
Removes a subnet ARN from the attachment.
Result Syntax
[
'VpcAttachment' => [
'Attachment' => [
'AttachmentId' => '<string>',
'AttachmentPolicyRuleNumber' => <integer>,
'AttachmentType' => 'CONNECT|SITE_TO_SITE_VPN|VPC|DIRECT_CONNECT_GATEWAY|TRANSIT_GATEWAY_ROUTE_TABLE',
'CoreNetworkArn' => '<string>',
'CoreNetworkId' => '<string>',
'CreatedAt' => <DateTime>,
'EdgeLocation' => '<string>',
'EdgeLocations' => ['<string>', ...],
'LastModificationErrors' => [
[
'Code' => 'VPC_NOT_FOUND|SUBNET_NOT_FOUND|SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE|SUBNET_NO_FREE_ADDRESSES|SUBNET_UNSUPPORTED_AVAILABILITY_ZONE|SUBNET_NO_IPV6_CIDRS|SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE|VPN_CONNECTION_NOT_FOUND|MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED|DIRECT_CONNECT_GATEWAY_NOT_FOUND|DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS|DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF|VPN_EXISTING_ASSOCIATIONS|VPN_STATIC_ROUTES_NAT_UNSUPPORTED|VPC_UNSUPPORTED_FEATURES|DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS|CREATION_FAILED|UPDATE_FAILED|DELETION_FAILED',
'Message' => '<string>',
'RequestId' => '<string>',
'ResourceArn' => '<string>',
],
// ...
],
'NatGatewaySupport' => 'ENABLED|ENABLING|DISABLED|DISABLING|PENDING_ATTACHMENT_ACCEPTANCE',
'NatSystemRouteSupport' => true || false,
'NetworkFunctionGroupName' => '<string>',
'OwnerAccountId' => '<string>',
'ProposedNetworkFunctionGroupChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'NetworkFunctionGroupName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ProposedSegmentChange' => [
'AttachmentPolicyRuleNumber' => <integer>,
'SegmentName' => '<string>',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
],
'ResourceArn' => '<string>',
'SegmentName' => '<string>',
'State' => 'REJECTED|PENDING_ATTACHMENT_ACCEPTANCE|CREATING|FAILED|AVAILABLE|UPDATING|PENDING_NETWORK_UPDATE|PENDING_TAG_ACCEPTANCE|DELETING',
'Tags' => [
[
'Key' => '<string>',
'Value' => '<string>',
],
// ...
],
'UpdatedAt' => <DateTime>,
],
'Options' => [
'ApplianceModeSupport' => true || false,
'DnsSupport' => true || false,
'Ipv6Support' => true || false,
'SecurityGroupReferencingSupport' => true || false,
],
'SubnetArns' => ['<string>', ...],
],
]
Result Details
Members
- VpcAttachment
-
- Type: VpcAttachment structure
Describes the updated VPC attachment.
Errors
- ValidationException:
The input fails to satisfy the constraints.
- AccessDeniedException:
You do not have sufficient access to perform this action.
- ResourceNotFoundException:
The specified resource could not be found.
- ConflictException:
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- ThrottlingException:
The request was denied due to request throttling.
- InternalServerException:
The request has failed due to an internal error.
Shapes
AWSLocation
Description
Specifies a location in Amazon Web Services.
Members
- SubnetArn
-
- Type: string
The Amazon Resource Name (ARN) of the subnet that the device is located in.
- Zone
-
- Type: string
The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
AccessDeniedException
Description
You do not have sufficient access to perform this action.
Members
- Message
-
- Required: Yes
- Type: string
- ReasonCode
-
- Type: string
A prerequisite that you must complete before you retry the request. Only the network scope operations return this value. Branch on this value rather than on
Message. These are the same codes that a network scope and a network scope principal carry inStateReason, so a prerequisite that is missing when you make the request and one that is found to be missing later are reported the same way.
AccountStatus
Description
Describes the current status of an account within an Amazon Web Services Organization, including service-linked roles (SLRs).
Members
- AccountId
-
- Type: string
The ID of an account within the Amazon Web Services Organization.
- SLRDeploymentStatus
-
- Type: string
The status of SLR deployment for the account.
Attachment
Description
Describes a core network attachment.
Members
- AttachmentId
-
- Type: string
The ID of the attachment.
- AttachmentPolicyRuleNumber
-
- Type: int
The policy rule number associated with the attachment.
- AttachmentType
-
- Type: string
The type of attachment.
- CoreNetworkArn
-
- Type: string
The ARN of a core network.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the attachment was created.
- EdgeLocation
-
- Type: string
The Region where the edge is located. This is returned for all attachment types except a Direct Connect gateway attachment, which instead returns
EdgeLocations. - EdgeLocations
-
- Type: Array of strings
The edge locations that the Direct Connect gateway is associated with. This is returned only for Direct Connect gateway attachments. All other attachment types retrun
EdgeLocation. - LastModificationErrors
-
- Type: Array of AttachmentError structures
Describes the error associated with the attachment request.
- NatGatewaySupport
-
- Type: string
The state of NAT gateway support on the attachment. This is returned only to the core network owner for attachment types that support NAT.
- NatSystemRouteSupport
-
- Type: boolean
Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. This is returned only to the core network owner for attachment types that support NAT.
- NetworkFunctionGroupName
-
- Type: string
The name of the network function group.
- OwnerAccountId
-
- Type: string
The ID of the attachment account owner.
- ProposedNetworkFunctionGroupChange
-
- Type: ProposedNetworkFunctionGroupChange structure
Describes a proposed change to a network function group associated with the attachment.
- ProposedSegmentChange
-
- Type: ProposedSegmentChange structure
The attachment to move from one segment to another.
- ResourceArn
-
- Type: string
The attachment resource ARN.
- SegmentName
-
- Type: string
The name of the segment attachment.
- State
-
- Type: string
The state of the attachment.
- Tags
-
- Type: Array of Tag structures
The tags associated with the attachment.
- UpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the attachment was last updated.
AttachmentError
Description
Describes the error associated with an attachment request.
Members
- Code
-
- Type: string
The error code for the attachment request.
- Message
-
- Type: string
The message associated with the error
code. - RequestId
-
- Type: string
The ID of the attachment request.
- ResourceArn
-
- Type: string
The ARN of the requested attachment resource.
AttachmentNatConfiguration
Description
Describes the NAT configuration of a core network attachment.
Members
- AttachmentId
-
- Type: string
The ID of the attachment.
- NatGatewayRules
-
- Type: Array of NatRule structures
The NAT rules of the attachment.
- NatGatewaySupport
-
- Type: string
The state of NAT gateway support on the attachment.
- NatSystemRouteSupport
-
- Type: boolean
Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules.
AttachmentRoutingPolicyAssociationSummary
Description
Summary information about routing policy associations for an attachment.
Members
- AssociatedRoutingPolicies
-
- Type: Array of strings
The list of routing policies currently associated with the attachment.
- AttachmentId
-
- Type: string
The ID of the attachment associated with the routing policy.
- PendingRoutingPolicies
-
- Type: Array of strings
The list of routing policies that are pending association with the attachment.
- RoutingPolicyLabel
-
- Type: string
The routing policy label associated with the attachment.
Bandwidth
Description
Describes bandwidth information.
Members
- DownloadSpeed
-
- Type: int
Download speed in Mbps.
- UploadSpeed
-
- Type: int
Upload speed in Mbps.
BgpOptions
Description
Describes the BGP options.
Members
- PeerAsn
-
- Type: long (int|float)
The Peer ASN of the BGP.
ConflictException
Description
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
Members
- Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
The ID of the resource.
- ResourceType
-
- Required: Yes
- Type: string
The resource type.
ConnectAttachment
Description
Describes a core network Connect attachment.
Members
- Attachment
-
- Type: Attachment structure
The attachment details.
- Options
-
- Type: ConnectAttachmentOptions structure
Options for connecting an attachment.
- TransportAttachmentId
-
- Type: string
The ID of the transport attachment.
ConnectAttachmentOptions
Description
Describes a core network Connect attachment options.
Members
- Protocol
-
- Type: string
The protocol used for the attachment connection.
ConnectPeer
Description
Describes a core network Connect peer.
Members
- Configuration
-
- Type: ConnectPeerConfiguration structure
The configuration of the Connect peer.
- ConnectAttachmentId
-
- Type: string
The ID of the attachment to connect.
- ConnectPeerId
-
- Type: string
The ID of the Connect peer.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the Connect peer was created.
- EdgeLocation
-
- Type: string
The Connect peer Regions where edges are located.
- LastModificationErrors
-
- Type: Array of ConnectPeerError structures
Describes the error associated with the attachment request.
- State
-
- Type: string
The state of the Connect peer.
- SubnetArn
-
- Type: string
The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.
- Tags
-
- Type: Array of Tag structures
The list of key-value tags associated with the Connect peer.
ConnectPeerAssociation
Description
Describes a core network Connect peer association.
Members
- ConnectPeerId
-
- Type: string
The ID of the Connect peer.
- DeviceId
-
- Type: string
The ID of the device to connect to.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- LinkId
-
- Type: string
The ID of the link.
- State
-
- Type: string
The state of the Connect peer association.
ConnectPeerBgpConfiguration
Description
Describes a core network BGP configuration.
Members
- CoreNetworkAddress
-
- Type: string
The address of a core network.
- CoreNetworkAsn
-
- Type: long (int|float)
The ASN of the Coret Network.
- PeerAddress
-
- Type: string
The address of a core network Connect peer.
- PeerAsn
-
- Type: long (int|float)
The ASN of the Connect peer.
ConnectPeerConfiguration
Description
Describes a core network Connect peer configuration.
Members
- BgpConfigurations
-
- Type: Array of ConnectPeerBgpConfiguration structures
The Connect peer BGP configurations.
- CoreNetworkAddress
-
- Type: string
The IP address of a core network.
- InsideCidrBlocks
-
- Type: Array of strings
The inside IP addresses used for a Connect peer configuration.
- PeerAddress
-
- Type: string
The IP address of the Connect peer.
- Protocol
-
- Type: string
The protocol used for a Connect peer configuration.
ConnectPeerError
Description
Describes an error associated with a Connect peer request
Members
- Code
-
- Type: string
The error code for the Connect peer request.
- Message
-
- Type: string
The message associated with the error
code. - RequestId
-
- Type: string
The ID of the Connect peer request.
- ResourceArn
-
- Type: string
The ARN of the requested Connect peer resource.
ConnectPeerSummary
Description
Summary description of a Connect peer.
Members
- ConnectAttachmentId
-
- Type: string
The ID of a Connect peer attachment.
- ConnectPeerId
-
- Type: string
The ID of a Connect peer.
- ConnectPeerState
-
- Type: string
The state of a Connect peer.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when a Connect peer was created.
- EdgeLocation
-
- Type: string
The Region where the edge is located.
- SubnetArn
-
- Type: string
The subnet ARN for the Connect peer summary.
- Tags
-
- Type: Array of Tag structures
The list of key-value tags associated with the Connect peer summary.
Connection
Description
Describes a connection.
Members
- ConnectedDeviceId
-
- Type: string
The ID of the second device in the connection.
- ConnectedLinkId
-
- Type: string
The ID of the link for the second device in the connection.
- ConnectionArn
-
- Type: string
The Amazon Resource Name (ARN) of the connection.
- ConnectionId
-
- Type: string
The ID of the connection.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the connection was created.
- Description
-
- Type: string
The description of the connection.
- DeviceId
-
- Type: string
The ID of the first device in the connection.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- LinkId
-
- Type: string
The ID of the link for the first device in the connection.
- State
-
- Type: string
The state of the connection.
- Tags
-
- Type: Array of Tag structures
The tags for the connection.
ConnectionHealth
Description
Describes connection health.
Members
- Status
-
- Type: string
The connection status.
- Timestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time the status was last updated.
- Type
-
- Type: string
The connection type.
ContextChange
Description
Describes a context entry that was added to or removed from a context store.
Members
- ChangeType
-
- Type: string
The type of change. The possible values are the following:
-
ADDED: The context entry was added to the context store. -
REMOVED: The context entry was removed from the context store.
- Context
-
- Type: ContextEntry structure
The context entry that was added or removed.
ContextEntry
Description
Describes a context entry in a context store. A context entry describes a resource, such as a security group, subnet, or attachment.
Members
- AttachmentType
-
- Type: string
The type of the attachment, for example
VPC. Network Manager returns this value only when the context type isAttachment. - AvailabilityZone
-
- Type: string
The ID of the Availability Zone of the resource, for example
use1-az2. Network Manager returns this value only when the context type isSubnet. - ContextId
-
- Type: string
The ID of the context entry.
- ContextType
-
- Type: string
The type of the context entry, for example
SegmentId,Subnet, orAttachment. - PublicId
-
- Type: string
The ID of the resource, for example a security group ID, subnet ID, or transit gateway attachment ID.
- Region
-
- Type: string
The Amazon Web Services Region of the resource.
- SegmentType
-
- Type: string
The type of the segment, for example
SecurityGroup. Network Manager returns this value only when the context type isSegmentId.
ContextStore
Description
Describes a context store.
Members
- ContextStoreArn
-
- Type: string
The Amazon Resource Name (ARN) of the context store.
- ContextStoreId
-
- Type: string
The ID of the context store.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the context store was created.
- Description
-
- Type: string
The description of the context store.
- GlobalNetworkId
-
- Type: string
The ID of the global network that the context store belongs to.
- State
-
- Type: string
The state of the context store. The possible values are the following:
-
PENDING: The context store is being created. -
AVAILABLE: The context store is ready to use. -
UPDATING: The context store is being updated. -
DELETING: The context store is being deleted. -
DELETED: The context store is deleted.
- Tags
-
- Type: Array of Tag structures
The tags associated with the context store.
ContextStoreAssociation
Description
Describes the association between a context store and a transit gateway.
Members
- ContextStoreId
-
- Type: string
The ID of the context store.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the association was created.
- State
-
- Type: string
The state of the association. The possible values are the following:
-
ASSOCIATING: The transit gateway is being associated with the context store. -
ASSOCIATED: The transit gateway is associated with the context store. -
DISASSOCIATING: The transit gateway is being disassociated from the context store. -
FAILED: The association failed. To remove it, disassociate the transit gateway.
- TransitGatewayArn
-
- Type: string
The Amazon Resource Name (ARN) of the transit gateway.
CoreNetwork
Description
Describes a core network.
Members
- CoreNetworkArn
-
- Type: string
The ARN of a core network.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when a core network was created.
- Description
-
- Type: string
The description of a core network.
- Edges
-
- Type: Array of CoreNetworkEdge structures
The edges within a core network.
- GlobalNetworkId
-
- Type: string
The ID of the global network that your core network is a part of.
- NetworkFunctionGroups
-
- Type: Array of CoreNetworkNetworkFunctionGroup structures
The network function groups associated with a core network.
- Segments
-
- Type: Array of CoreNetworkSegment structures
The segments within a core network.
- State
-
- Type: string
The current state of a core network.
- Tags
-
- Type: Array of Tag structures
The list of key-value tags associated with a core network.
CoreNetworkChange
Description
Details describing a core network change.
Members
- Action
-
- Type: string
The action to take for a core network.
- Identifier
-
- Type: string
The resource identifier.
- IdentifierPath
-
- Type: string
Uniquely identifies the path for a change within the changeset. For example, the
IdentifierPathfor a core network segment change might be"CORE_NETWORK_SEGMENT/us-east-1/devsegment". - NewValues
-
- Type: CoreNetworkChangeValues structure
The new value for a core network
- PreviousValues
-
- Type: CoreNetworkChangeValues structure
The previous values for a core network.
- Type
-
- Type: string
The type of change.
CoreNetworkChangeEvent
Description
Describes a core network change event. This can be a change to a segment, attachment, route, etc.
Members
- Action
-
- Type: string
The action taken for the change event.
- EventTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for an event change in status.
- IdentifierPath
-
- Type: string
Uniquely identifies the path for a change within the changeset. For example, the
IdentifierPathfor a core network segment change might be"CORE_NETWORK_SEGMENT/us-east-1/devsegment". - Status
-
- Type: string
The status of the core network change event.
- Type
-
- Type: string
Describes the type of change event.
- Values
-
- Type: CoreNetworkChangeEventValues structure
Details of the change event.
CoreNetworkChangeEventValues
Description
Describes a core network change event.
Members
- AttachmentId
-
- Type: string
The ID of the attachment if the change event is associated with an attachment.
- Cidr
-
- Type: string
For a
STATIC_ROUTEevent, this is the IP address. - EdgeLocation
-
- Type: string
The edge location for the core network change event.
- NetworkFunctionGroupName
-
- Type: string
The changed network function group name.
- PeerEdgeLocation
-
- Type: string
The edge location of the peer in a core network change event.
- RoutingPolicyAssociationDetails
-
- Type: Array of RoutingPolicyAssociationDetail structures
The names of the routing policies and other association details in a core network change event.
- RoutingPolicyDirection
-
- Type: string
The routing policy direction (inbound/outbound) in a core network change event.
- SegmentName
-
- Type: string
The segment name if the change event is associated with a segment.
CoreNetworkChangeValues
Description
Describes a core network change.
Members
- Asn
-
- Type: long (int|float)
The ASN of a core network.
- AttachmentId
-
- Type: string
The attachment identifier in the core network change values.
- Cidr
-
- Type: string
The IP addresses used for a core network.
- DestinationIdentifier
-
- Type: string
The ID of the destination.
- DnsSupport
-
- Type: boolean
Indicates whether public DNS support is supported. The default is
true. - EdgeLocations
-
- Type: Array of strings
The Regions where edges are located in a core network.
- InsideCidrBlocks
-
- Type: Array of strings
The inside IP addresses used for core network change values.
- MultipathResilience
-
- Type: MultipathResilienceChangeValues structure
The change in multipath resilience configuration in the core network change values.
- NetworkFunctionGroupName
-
- Type: string
The network function group name if the change event is associated with a network function group.
- PeerEdgeLocations
-
- Type: Array of strings
The edge locations of peers in the core network change values.
- RoutingPolicy
-
- Type: string
The routing policy configuration in the core network change values.
- RoutingPolicyAssociationDetails
-
- Type: Array of RoutingPolicyAssociationDetail structures
The names of the routing policies and other association details in the core network change values.
- RoutingPolicyDirection
-
- Type: string
The routing policy direction (inbound/outbound) in the core network change values.
- SecurityGroupReferencingSupport
-
- Type: boolean
Indicates whether security group referencing is enabled for the core network.
- SegmentName
-
- Type: string
The names of the segments in a core network.
- ServiceInsertionActions
-
- Type: Array of ServiceInsertionAction structures
Describes the service insertion action.
- SharedSegments
-
- Type: Array of strings
The shared segments for a core network change value.
- VpnEcmpSupport
-
- Type: boolean
Indicates whether Equal Cost Multipath (ECMP) is enabled for the core network.
CoreNetworkEdge
Description
Describes a core network edge.
Members
- Asn
-
- Type: long (int|float)
The ASN of a core network edge.
- EdgeLocation
-
- Type: string
The Region where a core network edge is located.
- InsideCidrBlocks
-
- Type: Array of strings
The inside IP addresses used for core network edges.
CoreNetworkNetworkFunctionGroup
Description
Describes a network function group.
Members
- EdgeLocations
-
- Type: Array of strings
The core network edge locations.
- Name
-
- Type: string
The name of the network function group.
- Segments
-
- Type: ServiceInsertionSegments structure
The segments associated with the network function group.
CoreNetworkNetworkFunctionGroupIdentifier
Description
Describes a core network
Members
- CoreNetworkId
-
- Type: string
The ID of the core network.
- EdgeLocation
-
- Type: string
The location for the core network edge.
- NetworkFunctionGroupName
-
- Type: string
The network function group name.
CoreNetworkPolicy
Description
Describes a core network policy. You can have only one LIVE Core Policy.
Members
- Alias
-
- Type: string
Whether a core network policy is the current LIVE policy or the most recently submitted policy.
- ChangeSetState
-
- Type: string
The state of a core network policy.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when a core network policy was created.
- Description
-
- Type: string
The description of a core network policy.
- DryRunFailureReason
-
- Type: string
The reason that the dry run failed. The service returns this value only when
DryRunStateisFAILED. - DryRunState
-
- Type: string
The state of the dry run for the policy version.
Possible values:
PENDING- The dry run is in progress.AVAILABLE- The dry run results are ready.STALE- The dry run no longer reflects the current state of the core network. To get current results, start a new dry run.FAILED- The dry run failed. For the reason, seeDryRunFailureReason. - DryRunUpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the dry run state of the policy version was last updated.
- PolicyDocument
-
- Type: string (string|number|array|map or anything parsable by json_encode)
Describes a core network policy.
- PolicyErrors
-
- Type: Array of CoreNetworkPolicyError structures
Describes any errors in a core network policy.
- PolicyVersionId
-
- Type: int
The ID of the policy version.
CoreNetworkPolicyError
Description
Provides details about an error in a core network policy.
Members
- ErrorCode
-
- Required: Yes
- Type: string
The error code associated with a core network policy error.
- Message
-
- Required: Yes
- Type: string
The message associated with a core network policy error code.
- Path
-
- Type: string
The JSON path where the error was discovered in the policy document.
CoreNetworkPolicyException
Description
Describes a core network policy exception.
Members
- Errors
-
- Type: Array of CoreNetworkPolicyError structures
Describes a core network policy exception.
- Message
-
- Required: Yes
- Type: string
CoreNetworkPolicyVersion
Description
Describes a core network policy version.
Members
- Alias
-
- Type: string
Whether a core network policy is the current policy or the most recently submitted policy.
- ChangeSetState
-
- Type: string
The status of the policy version change set.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when a core network policy version was created.
- Description
-
- Type: string
The description of a core network policy version.
- PolicyVersionId
-
- Type: int
The ID of the policy version.
CoreNetworkRoutingInformation
Description
Routing information for a core network, including route details and BGP attributes.
Members
- AsPath
-
- Type: Array of strings
The BGP AS path for the route.
- Communities
-
- Type: Array of strings
The BGP community values for the route.
- LocalPreference
-
- Type: string
The BGP local preference value for the route.
- Med
-
- Type: string
The BGP Multi-Exit Discriminator (MED) value for the route.
- NextHop
-
- Type: RoutingInformationNextHop structure
The next hop information for the route.
- Prefix
-
- Type: string
The IP prefix for the route.
CoreNetworkSegment
Description
Describes a core network segment, which are dedicated routes. Only attachments within this segment can communicate with each other.
Members
- EdgeLocations
-
- Type: Array of strings
The Regions where the edges are located.
- Name
-
- Type: string
The name of a core network segment.
- SharedSegments
-
- Type: Array of strings
The shared segments of a core network.
CoreNetworkSegmentEdgeIdentifier
Description
Returns details about a core network edge.
Members
- CoreNetworkId
-
- Type: string
The ID of a core network.
- EdgeLocation
-
- Type: string
The Region where the segment edge is located.
- SegmentName
-
- Type: string
The name of the segment edge.
CoreNetworkSummary
Description
Returns summary information about a core network.
Members
- CoreNetworkArn
-
- Type: string
a core network ARN.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- Description
-
- Type: string
The description of a core network.
- GlobalNetworkId
-
- Type: string
The global network ID.
- OwnerAccountId
-
- Type: string
The ID of the account owner.
- State
-
- Type: string
The state of a core network.
- Tags
-
- Type: Array of Tag structures
The key-value tags associated with a core network summary.
CustomerGatewayAssociation
Description
Describes the association between a customer gateway, a device, and a link.
Members
- CustomerGatewayArn
-
- Type: string
The Amazon Resource Name (ARN) of the customer gateway.
- DeviceId
-
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- LinkId
-
- Type: string
The ID of the link.
- State
-
- Type: string
The association state.
Device
Description
Describes a device.
Members
- AWSLocation
-
- Type: AWSLocation structure
The Amazon Web Services location of the device.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the site was created.
- Description
-
- Type: string
The description of the device.
- DeviceArn
-
- Type: string
The Amazon Resource Name (ARN) of the device.
- DeviceId
-
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- Location
-
- Type: Location structure
The site location.
- Model
-
- Type: string
The device model.
- SerialNumber
-
- Type: string
The device serial number.
- SiteId
-
- Type: string
The site ID.
- State
-
- Type: string
The device state.
- Tags
-
- Type: Array of Tag structures
The tags for the device.
- Type
-
- Type: string
The device type.
- Vendor
-
- Type: string
The device vendor.
DirectConnectGatewayAttachment
Description
Describes a Direct Connect gateway attachment.
Members
- Attachment
-
- Type: Attachment structure
Describes a core network attachment.
- DirectConnectGatewayArn
-
- Type: string
The Direct Connect gateway attachment ARN.
DryRunOperation
Description
You have the required permissions. You specified the DryRun parameter, so the request didn't run.
Members
- Message
-
- Required: Yes
- Type: string
EdgeOverride
Description
Describes the edge that's used for the override.
Members
- EdgeSets
-
- Type: Array of stringss
The list of edge locations.
- UseEdge
-
- Type: string
The edge that should be used when overriding the current edge order.
GlobalNetwork
Description
Describes a global network. This is a single private network acting as a high-level container for your network objects, including an Amazon Web Services-managed Core Network.
Members
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the global network was created.
- Description
-
- Type: string
The description of the global network.
- GlobalNetworkArn
-
- Type: string
The Amazon Resource Name (ARN) of the global network.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- State
-
- Type: string
The state of the global network.
- Tags
-
- Type: Array of Tag structures
The tags for the global network.
InternalServerException
Description
The request has failed due to an internal error.
Members
- Message
-
- Required: Yes
- Type: string
- RetryAfterSeconds
-
- Type: int
Indicates when to retry the request.
Link
Description
Describes a link.
Members
- Bandwidth
-
- Type: Bandwidth structure
The bandwidth for the link.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the link was created.
- Description
-
- Type: string
The description of the link.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- LinkArn
-
- Type: string
The Amazon Resource Name (ARN) of the link.
- LinkId
-
- Type: string
The ID of the link.
- Provider
-
- Type: string
The provider of the link.
- SiteId
-
- Type: string
The ID of the site.
- State
-
- Type: string
The state of the link.
- Tags
-
- Type: Array of Tag structures
The tags for the link.
- Type
-
- Type: string
The type of the link.
LinkAssociation
Description
Describes the association between a device and a link.
Members
- DeviceId
-
- Type: string
The device ID for the link association.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- LinkAssociationState
-
- Type: string
The state of the association.
- LinkId
-
- Type: string
The ID of the link.
Location
Description
Describes a location.
Members
- Address
-
- Type: string
The physical address.
- Latitude
-
- Type: string
The latitude.
- Longitude
-
- Type: string
The longitude.
MultipathResilienceChangeValues
Description
Information about a change in multipath resilience.
Members
- EdgeSets
-
- Type: Array of stringss
A set of two edge locations.
- Mode
-
- Type: string
The mode (best-effort/disabled) of multipath resilience.
NatRule
Description
Describes a NAT rule of an attachment.
Members
- MatchSourceCidr
-
- Type: string
The source CIDR block that the rule matches for traffic from the attachment.
- NatCidr
-
- Type: string
The CIDR block that matching source addresses are translated to.
- RuleNumber
-
- Type: int
The rule number. Rule numbers identify the rules of an attachment and don't set the order in which rules are evaluated.
- State
-
- Type: string
The state of the NAT rule. The possible values are the following:
-
CREATING: The rule is being created. -
MODIFYING: The rule is being modified. -
DELETING: The rule is being deleted. -
ACTIVATING: NAT gateway support is being enabled, and the rule is being applied. -
ACTIVATED: NAT gateway support is enabled, and the rule is applied. -
DEACTIVATING: NAT gateway support is being disabled, and the rule is being removed from use. -
DEACTIVATED: NAT gateway support is disabled, and the rule isn't applied. -
FAILED: The attachment failed to be created, and the rule isn't applied. -
PENDING_ATTACHMENT_ACCEPTANCE: The attachment is pending acceptance. The rule is applied after the attachment is accepted.
NatRuleRequest
Description
Describes a NAT rule to configure on an attachment. Source addresses in the source CIDR block of traffic from the attachment are translated to the same host addresses in the NAT CIDR block. Traffic to an address in the NAT CIDR block is translated back to the matching address in the source CIDR block.
Members
- MatchSourceCidr
-
- Required: Yes
- Type: string
The IPv4 CIDR block to match against the source address of traffic from the attachment. The CIDR block can't overlap with the multicast range (224.0.0.0/4).
- NatCidr
-
- Required: Yes
- Type: string
The IPv4 CIDR block to translate matching source addresses to. The prefix length must be the same as the prefix length of
MatchSourceCidr. The CIDR block must be within a private (RFC 1918) or shared address space (RFC 6598) range. The CIDR blocks of the NAT rules of an attachment can't overlap with each other. - RuleNumber
-
- Required: Yes
- Type: int
The rule number, from 1 to 32766. Each rule number must be unique for the attachment.
NetworkFunctionGroup
Description
Describes a network function group for service insertion.
Members
- Name
-
- Type: string
The name of the network function group.
NetworkResource
Description
Describes a network resource.
Members
- AccountId
-
- Type: string
The Amazon Web Services account ID.
- AwsRegion
-
- Type: string
The Amazon Web Services Region.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- Definition
-
- Type: string
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
- DefinitionTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the resource definition was retrieved.
- Metadata
-
- Type: Associative array of custom strings keys (ConstrainedString) to strings
The resource metadata.
- RegisteredGatewayArn
-
- Type: string
The ARN of the gateway.
- ResourceArn
-
- Type: string
The ARN of the resource.
- ResourceId
-
- Type: string
The ID of the resource.
- ResourceType
-
- Type: 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:
-
attachment -
connect-peer -
connection -
core-network -
device -
link -
peering -
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
- Tags
-
- Type: Array of Tag structures
The tags.
NetworkResourceCount
Description
Describes a resource count.
Members
- Count
-
- Type: int
The resource count.
- ResourceType
-
- Type: string
The resource type.
NetworkResourceSummary
Description
Describes a network resource.
Members
- Definition
-
- Type: string
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
- IsMiddlebox
-
- Type: boolean
Indicates whether this is a middlebox appliance.
- NameTag
-
- Type: string
The value for the Name tag.
- RegisteredGatewayArn
-
- Type: string
The ARN of the gateway.
- ResourceArn
-
- Type: string
The ARN of the resource.
- ResourceType
-
- Type: string
The resource type.
NetworkRoute
Description
Describes a network route.
Members
- DestinationCidrBlock
-
- Type: string
A unique identifier for the route, such as a CIDR block.
- Destinations
-
- Type: Array of NetworkRouteDestination structures
The destinations.
- DryRunChangeState
-
- Type: string
How the route changes when the policy version is applied, compared to the current routes of the core network. Only
ListCoreNetworkDryRunRoutesreturns this value.Possible values:
ADDED- The policy version adds the route.REMOVED- The policy version removes the route.UPDATED- The policy version changes the route.NO_CHANGES- The policy version doesn't change the route. - IsOverlappingRoute
-
- Type: boolean
Indicates whether the route overlaps with another route, so that the route used to forward traffic can't be determined. Only
ListCoreNetworkDryRunRoutesreturns this value. - PrefixListId
-
- Type: string
The ID of the prefix list.
- State
-
- Type: string
The route state. The possible values are
ACTIVE,BLACKHOLE, andPENDING_DEPLOYMENT.PENDING_DEPLOYMENT- The route might not be installed, because routing policies or service insertion act on an overlapping CIDR block. The route is resolved only after the policy version is deployed. OnlyListCoreNetworkDryRunRoutesreturns this value. - Type
-
- Type: string
The route type. The possible values are
PROPAGATED,STATIC, andSYSTEM. ASYSTEMroute is installed by the core network for the NAT CIDR block of an attachment's NAT rule.
NetworkRouteDestination
Description
Describes the destination of a network route.
Members
- CoreNetworkAttachmentId
-
- Type: string
The ID of a core network attachment.
- EdgeLocation
-
- Type: string
The edge location for the network destination.
- NetworkFunctionGroupName
-
- Type: string
The network function group name associated with the destination.
- ResourceId
-
- Type: string
The ID of the resource.
- ResourceType
-
- Type: string
The resource type.
- SegmentName
-
- Type: string
The name of the segment.
- TransitGatewayAttachmentId
-
- Type: string
The ID of the transit gateway attachment.
NetworkScope
Description
Describes a network scope.
Members
- AccessMode
-
- Required: Yes
- Type: string
How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With
ACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it. - CreatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the network scope was created.
- Name
-
- Required: Yes
- Type: string
The name of the network scope.
- NetworkScopeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the network scope.
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope.
- NetworkScopeRegions
-
- Required: Yes
- Type: Array of strings
The AWS Regions that the network scope covers.
- State
-
- Required: Yes
- Type: string
The state of the network scope. The possible values are the following:
-
PENDING: The network scope is being created. -
AVAILABLE: The network scope is ready to use. -
UPDATING: A change to the Regions of the network scope is being applied. -
DELETING: The network scope is being deleted. -
DELETED: The network scope is deleted.GetNetworkScopeandListNetworkScopesreturn it for 2 hours. -
FAILED: A prerequisite that you must complete blocked the creation or the deletion of the network scope. The network scope isn't in use,StateReasondescribes what to complete, and deleting the network scope is the only way to leave this state. A change that's blocked by a prerequisite that you must complete leaves the network scopeAVAILABLEwith aStateReason. If a change fails for another reason, the network scope staysUPDATINGwhile the change is retried.
- StateReason
-
- Type: NetworkScopeStateReason structure
The reason for the current state of the network scope. A
FAILEDnetwork scope always has a reason. AnAVAILABLEnetwork scope has a reason when there's a prerequisite that you must complete. For anAVAILABLEnetwork scope, the reason clears after you resolve the cause and the network scope is next checked. AFAILEDnetwork scope keeps its reason until you delete it.
NetworkScopePrincipal
Description
Describes a principal associated with a network scope.
Members
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope.
- Principal
-
- Required: Yes
- Type: string
The principal.
- PrincipalRegions
-
- Required: Yes
- Type: Array of strings
The AWS Regions of the network scope. A principal always has all of the Regions of the network scope. If the account isn't covered in a Region for a reason that you must fix,
StateReasonsays so. - State
-
- Required: Yes
- Type: string
The state of the principal. The possible values are the following:
-
ASSOCIATING: The principal is being associated with the network scope. -
ASSOCIATED: The principal is associated with the network scope. -
FAILED: The principal isn't covered in any Region of the network scope. If you must fix the cause,StateReasondescribes it. The association is retried, and the principal becomesASSOCIATEDwhen it's covered in at least one Region. -
DISASSOCIATING: The principal is being disassociated from the network scope. -
DISASSOCIATED: The principal is disassociated from the network scope. The network scope then removes the principal, soListNetworkScopePrincipalsno longer returns it. -
INACTIVE: The principal no longer qualifies for the network scope, because the account left the organization or the network scope's owner lost its standing in the organization. The network scope keeps the principal but doesn't cover it, andStateReasondescribes the cause. The principal returns toASSOCIATINGwhen the cause is resolved. This state applies only to network scopes with theORGANIZATIONSaccess mode.
- StateReason
-
- Type: NetworkScopePrincipalStateReason structure
The reason for the current state of the principal. A reason is always returned for a principal in the
INACTIVEstate. For a principal in theFAILEDstate, or in theASSOCIATEDstate when it covers only some of the Regions of the network scope, a reason is returned when the cause is one that you must fix. A reason is also returned for a principal in theDISASSOCIATINGstate when you must complete a prerequisite to finish removing it.
NetworkScopePrincipalStateReason
Description
Contains a code and a message that describe why a network scope principal is in its current state, for example why the account isn't covered in a Region of the network scope.
Members
- Code
-
- Type: string
A stable code that identifies why the resource is in its current state. Branch on this value rather than on
Message. - Message
-
- Type: string
A human-readable description of the reason, including details such as the action that was denied, the account, or the Region. Don't parse this value to determine state.
NetworkScopeStateReason
Description
Contains a code and a message that describe why a network scope is in its current state.
Members
- Code
-
- Type: string
A stable code that identifies why the resource is in its current state. Branch on this value rather than on
Message. - Message
-
- Type: string
A human-readable description of the reason, including details such as the action that was denied, the account, or the Region. Don't parse this value to determine state.
NetworkScopeSummary
Description
Describes a network scope returned by ListNetworkScopes.
Members
- AccessMode
-
- Required: Yes
- Type: string
How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With
ACCOUNTS, the account can be any AWS account. WithORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it. - CreatedAt
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the network scope was created.
- Name
-
- Required: Yes
- Type: string
The name of the network scope.
- NetworkScopeArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the network scope.
- NetworkScopeId
-
- Required: Yes
- Type: string
The ID of the network scope.
- State
-
- Required: Yes
- Type: string
The state of the network scope. To see the Regions of the network scope, call
GetNetworkScope. - StateReason
-
- Type: NetworkScopeStateReason structure
The reason for the current state of the network scope, if a reason applies.
NetworkTelemetry
Description
Describes the telemetry information for a resource.
Members
- AccountId
-
- Type: string
The Amazon Web Services account ID.
- Address
-
- Type: string
The address.
- AwsRegion
-
- Type: string
The Amazon Web Services Region.
- CoreNetworkId
-
- Type: string
The ID of a core network.
- Health
-
- Type: ConnectionHealth structure
The connection health.
- RegisteredGatewayArn
-
- Type: string
The ARN of the gateway.
- ResourceArn
-
- Type: string
The ARN of the resource.
- ResourceId
-
- Type: string
The ID of the resource.
- ResourceType
-
- Type: string
The resource type.
OrganizationStatus
Description
The status of an Amazon Web Services Organization and the accounts within that organization.
Members
- AccountStatusList
-
- Type: Array of AccountStatus structures
The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either
SUCCEEDEDorIN_PROGRESS. - OrganizationAwsServiceAccessStatus
-
- Type: string
The status of the organization's AWS service access. This will be
ENABLEDorDISABLED. - OrganizationId
-
- Type: string
The ID of an Amazon Web Services Organization.
- SLRDeploymentStatus
-
- Type: string
The status of the SLR deployment for the account. This will be either
SUCCEEDEDorIN_PROGRESS.
PathComponent
Description
Describes a path component.
Members
- DestinationCidrBlock
-
- Type: string
The destination CIDR block in the route table.
- Resource
-
- Type: NetworkResourceSummary structure
The resource.
- Sequence
-
- Type: int
The sequence number in the path. The destination is 0.
Peering
Description
Describes a peering connection.
Members
- CoreNetworkArn
-
- Type: string
The ARN of a core network.
- CoreNetworkId
-
- Type: string
The ID of the core network for the peering request.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the attachment peer was created.
- EdgeLocation
-
- Type: string
The edge location for the peer.
- LastModificationErrors
-
- Type: Array of PeeringError structures
Describes the error associated with the peering request.
- OwnerAccountId
-
- Type: string
The ID of the account owner.
- PeeringId
-
- Type: string
The ID of the peering attachment.
- PeeringType
-
- Type: string
The type of peering. This will be
TRANSIT_GATEWAY. - ResourceArn
-
- Type: string
The resource ARN of the peer.
- State
-
- Type: string
The current state of the peering connection.
- Tags
-
- Type: Array of Tag structures
The list of key-value tags associated with the peering.
PeeringError
Description
Describes an error associated with a peering request.
Members
- Code
-
- Type: string
The error code for the peering request.
- Message
-
- Type: string
The message associated with the error
code. - MissingPermissionsContext
-
- Type: PermissionsErrorContext structure
Provides additional information about missing permissions for the peering error.
- RequestId
-
- Type: string
The ID of the Peering request.
- ResourceArn
-
- Type: string
The ARN of the requested peering resource.
PermissionsErrorContext
Description
Describes additional information about missing permissions.
Members
- MissingPermission
-
- Type: string
The missing permissions.
PrefixListAssociation
Description
Information about a prefix list association with a core network.
Members
- CoreNetworkId
-
- Type: string
The ID of the core network in the association.
- PrefixListAlias
-
- Type: string
The alias of the prefix list in the association.
- PrefixListArn
-
- Type: string
The ARN of the prefix list in the association.
ProposedNetworkFunctionGroupChange
Description
Describes proposed changes to a network function group.
Members
- AttachmentPolicyRuleNumber
-
- Type: int
The proposed new attachment policy rule number for the network function group.
- NetworkFunctionGroupName
-
- Type: string
The proposed name change for the network function group name.
- Tags
-
- Type: Array of Tag structures
The list of proposed changes to the key-value tags associated with the network function group.
ProposedSegmentChange
Description
Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.
Members
- AttachmentPolicyRuleNumber
-
- Type: int
The rule number in the policy document that applies to this change.
- SegmentName
-
- Type: string
The name of the segment to change.
- Tags
-
- Type: Array of Tag structures
The list of key-value tags that changed for the segment.
Relationship
Description
Describes a resource relationship.
Members
- From
-
- Type: string
The ARN of the resource.
- To
-
- Type: string
The ARN of the resource.
ResourceNotFoundException
Description
The specified resource could not be found.
Members
- Context
-
- Type: Associative array of custom strings keys (ExceptionContextKey) to strings
The specified resource could not be found.
- Message
-
- Required: Yes
- Type: string
- ResourceId
-
- Required: Yes
- Type: string
The ID of the resource.
- ResourceType
-
- Required: Yes
- Type: string
The resource type.
RouteAnalysis
Description
Describes a route analysis.
Members
- Destination
-
- Type: RouteAnalysisEndpointOptions structure
The destination.
- ForwardPath
-
- Type: RouteAnalysisPath structure
The forward path.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- IncludeReturnPath
-
- Type: boolean
Indicates whether to analyze the return path. The return path is not analyzed if the forward path analysis does not succeed.
- OwnerAccountId
-
- Type: string
The ID of the AWS account that created the route analysis.
- ReturnPath
-
- Type: RouteAnalysisPath structure
The return path.
- RouteAnalysisId
-
- Type: string
The ID of the route analysis.
- Source
-
- Type: RouteAnalysisEndpointOptions structure
The source.
- StartTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time that the analysis started.
- Status
-
- Type: string
The status of the route analysis.
- UseMiddleboxes
-
- Type: boolean
Indicates whether to include the location of middlebox appliances in the route analysis.
RouteAnalysisCompletion
Description
Describes the status of an analysis at completion.
Members
- ReasonCode
-
- Type: 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.
- ReasonContext
-
- Type: Associative array of custom strings keys (ReasonContextKey) to strings
Additional information about the path. Available only if a connection is not found.
- ResultCode
-
- Type: string
The result of the analysis. If the status is
NOT_CONNECTED, check the reason code.
RouteAnalysisEndpointOptions
Description
Describes a source or a destination.
Members
- IpAddress
-
- Type: string
The IP address.
- TransitGatewayArn
-
- Type: string
The ARN of the transit gateway.
- TransitGatewayAttachmentArn
-
- Type: string
The ARN of the transit gateway attachment.
RouteAnalysisEndpointOptionsSpecification
Description
Describes a source or a destination.
Members
- IpAddress
-
- Type: string
The IP address.
- TransitGatewayAttachmentArn
-
- Type: string
The ARN of the transit gateway attachment.
RouteAnalysisPath
Description
Describes a route analysis path.
Members
- CompletionStatus
-
- Type: RouteAnalysisCompletion structure
The status of the analysis at completion.
- Path
-
- Type: Array of PathComponent structures
The route analysis path.
RouteTableIdentifier
Description
Describes a route table.
Members
- CoreNetworkNetworkFunctionGroup
-
- Type: CoreNetworkNetworkFunctionGroupIdentifier structure
The route table identifier associated with the network function group.
- CoreNetworkSegmentEdge
-
- Type: CoreNetworkSegmentEdgeIdentifier structure
The segment edge in a core network.
- TransitGatewayRouteTableArn
-
- Type: 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".
RoutingInformationNextHop
Description
Information about the next hop for a route in the core network.
Members
- CoreNetworkAttachmentId
-
- Type: string
The ID of the core network attachment for the next hop.
- EdgeLocation
-
- Type: string
The edge location for the next hop.
- IpAddress
-
- Type: string
The IP address of the next hop.
- ResourceId
-
- Type: string
The ID of the resource for the next hop.
- ResourceType
-
- Type: string
The type of resource for the next hop.
- SegmentName
-
- Type: string
The name of the segment for the next hop.
RoutingPolicyAssociationDetail
Description
Information about a routing policy association.
Members
- RoutingPolicyNames
-
- Type: Array of strings
The names of the routing policies in the association.
- SharedSegments
-
- Type: Array of strings
The names of the segments that are shared with each other in the association.
ServiceInsertionAction
Description
Describes the action that the service insertion will take for any segments associated with it.
Members
- Action
-
- Type: string
The action the service insertion takes for traffic.
send-viasends east-west traffic between attachments.send-tosends north-south traffic to the security appliance, and then from that to either the Internet or to an on-premesis location. - Mode
-
- Type: string
Describes the mode packets take for the
send-viaaction. This is not used when the action issend-to.dual-hoppackets traverse attachments in both the source to the destination core network edges. This mode requires that an inspection attachment must be present in all Regions of the service insertion-enabled segments. Forsingle-hop, packets traverse a single intermediate inserted attachment. You can useEdgeOverrideto specify a specific edge to use. - Via
-
- Type: Via structure
The list of network function groups and any edge overrides for the chosen service insertion action. Used for both
send-toorsend-via. - WhenSentTo
-
- Type: WhenSentTo structure
The list of destination segments if the service insertion action is
send-via.
ServiceInsertionSegments
Description
Describes the segments associated with the service insertion action.
Members
- SendTo
-
- Type: Array of strings
The list of segments associated with the
send-toaction. - SendVia
-
- Type: Array of strings
The list of segments associated with the
send-viaaction.
ServiceQuotaExceededException
Description
A service limit was exceeded.
Members
- LimitCode
-
- Required: Yes
- Type: string
The limit code.
- Message
-
- Required: Yes
- Type: string
The error message.
- ResourceId
-
- Type: string
The ID of the resource.
- ResourceType
-
- Type: string
The resource type.
- ServiceCode
-
- Required: Yes
- Type: string
The service code.
Site
Description
Describes a site.
Members
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time that the site was created.
- Description
-
- Type: string
The description of the site.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- Location
-
- Type: Location structure
The location of the site.
- SiteArn
-
- Type: string
The Amazon Resource Name (ARN) of the site.
- SiteId
-
- Type: string
The ID of the site.
- State
-
- Type: string
The state of the site.
- Tags
-
- Type: Array of Tag structures
The tags for the site.
SiteToSiteVpnAttachment
Description
Creates a site-to-site VPN attachment.
Members
- Attachment
-
- Type: Attachment structure
Provides details about a site-to-site VPN attachment.
- VpnConnectionArn
-
- Type: string
The ARN of the site-to-site VPN attachment.
SseConnect
Description
Describes an SSE connect, which connects your transit gateways or core network to an SSE provider.
Members
- AttachmentRegions
-
- Type: Array of SseConnectAttachmentRegion structures
The Regions where the SSE connect has attachments.
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the SSE connect was created.
- Description
-
- Type: string
The description of the SSE connect.
- PartnerLinkStatus
-
- Type: string
The status of the link between the SSE connect and your account with the SSE provider. The link status is separate from the state of the SSE connect. Link the SSE connect before you add attachments.
-
PENDING– Account linking is in progress. -
LINKED– Account linking is complete. -
NOT_LINKED– The SSE connect isn't linked to an account with the SSE provider.
- SseConnectArn
-
- Type: string
The ARN of the SSE connect.
- SseConnectId
-
- Type: string
The ID of the SSE connect.
- SseRegions
-
- Type: Array of SseConnectSseRegion structures
The Regions where the SSE connect peers with the SSE provider, and the peer health in each Region.
- SseVendor
-
- Type: string
The SSE provider.
- State
-
- Type: string
The state of the SSE connect. Valid values:
-
CREATING– The SSE connect is being created. -
AVAILABLE– The SSE connect is available for use. -
UPDATING– An update is in progress. -
FAILED– The operation didn't complete. -
DELETING– The SSE connect is being deleted. -
DELETED– The SSE connect was deleted.
- Tags
-
- Type: Array of Tag structures
The tags associated with the SSE connect.
- UpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the SSE connect was last updated.
SseConnectAttachment
Description
Describes an attachment between an SSE connect and a Cloud WAN core network.
Members
- Attachment
-
- Type: Attachment structure
The attachment details.
- SseConnectArn
-
- Type: string
The ARN of the SSE connect.
SseConnectAttachmentRegion
Description
Describes a Region where an SSE connect has attachments.
Members
- RegionName
-
- Type: string
The name of the Region.
SseConnectRoute
Description
Describes a route of an SSE connect.
Members
- DestinationCidrBlock
-
- Type: string
The destination CIDR block of the route.
- Destinations
-
- Type: Array of SseConnectRouteDestination structures
The destinations of the route.
- Source
-
- Type: string
The source of the traffic that this route applies to. Valid values:
-
SSE– Traffic that the SSE connect receives from the SSE provider. -
ATTACHED_NETWORK– Traffic that the SSE connect receives from an attached transit gateway or core network.
SseConnectRouteDestination
Description
Describes a destination of an SSE connect route. Exactly one of the members is set.
Members
- CoreNetworkDestination
-
- Type: SseRouteCoreNetworkDestination structure
The core network destination, if the route points to an SSE connect core network attachment.
- SseDestination
-
- Type: SseRouteSseDestination structure
The SSE provider destination, if the route points to the SSE provider.
- TransitGatewayDestination
-
- Type: SseRouteTransitGatewayDestination structure
The transit gateway destination, if the route points to an SSE connect transit gateway attachment.
SseConnectSseRegion
Description
Describes a Region where an SSE connect peers with the SSE provider.
Members
- PeerHealthStatus
-
- Type: string
The health of the connection between the SSE connect and the SSE provider in the Region.
- RegionName
-
- Type: string
The name of the Region.
SseConnectTransitGatewayAttachment
Description
Describes an attachment between an SSE connect and a transit gateway.
Members
- CreatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the attachment was created.
- OwnerAccountId
-
- Type: string
The ID of the account that owns the attachment.
- SseConnectId
-
- Type: string
The ID of the SSE connect.
- SseConnectTransitGatewayAttachmentArn
-
- Type: string
The ARN of the SSE connect transit gateway attachment.
- SseConnectTransitGatewayAttachmentId
-
- Type: string
The ID of the SSE connect transit gateway attachment.
- State
-
- Type: string
The state of the attachment. Valid values:
-
CREATING– The attachment is being created. -
PENDING_ATTACHMENT_ACCEPTANCE– The transit gateway owner must accept the attachment. -
AVAILABLE– The attachment is available for routing. -
UPDATING– An update is in progress. -
FAILED– The attachment couldn't be created or updated. -
REJECTED– The transit gateway owner rejected the attachment. -
DELETING– The attachment is being deleted. -
DELETED– The attachment was deleted.
- StateReason
-
- Type: SseConnectTransitGatewayAttachmentStateReason structure
The reason for the current state of the attachment, if available.
- Tags
-
- Type: Array of Tag structures
The tags associated with the attachment.
- TransitGatewayArn
-
- Type: string
The ARN of the transit gateway.
- TransitGatewayAttachmentId
-
- Type: string
The ID of the underlying transit gateway attachment. Use this ID to accept or reject the attachment and to configure transit gateway route table association and propagation.
- UpdatedAt
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the attachment was last updated.
SseConnectTransitGatewayAttachmentStateReason
Description
Describes the reason for the state of an SSE connect transit gateway attachment.
Members
- Code
-
- Type: string
The reason code.
TRANSIT_GATEWAY_OWNER_REJECTEDmeans that the transit gateway owner rejected the attachment. - Message
-
- Type: string
A message that describes the reason for the state.
SseRouteCoreNetworkDestination
Description
Describes a core network route destination.
Members
- SseConnectCoreNetworkAttachmentId
-
- Type: string
The ID of the SSE connect core network attachment.
SseRouteSseDestination
Description
Describes an SSE provider route destination.
Members
- SseRegion
-
- Type: string
The Region of the SSE provider destination.
- SseRouteType
-
- Type: string
The type of SSE provider route. Valid values:
-
DEFAULT– A default route that sends traffic from your network to the SSE provider. -
SNAT– A route for the source NAT (SNAT) prefixes that the SSE provider assigned to your account.
- SseVendor
-
- Type: string
The SSE provider.
SseRouteTransitGatewayDestination
Description
Describes a transit gateway route destination.
Members
- SseConnectTransitGatewayAttachmentId
-
- Type: string
The ID of the SSE connect transit gateway attachment.
Tag
Description
Describes a tag.
Members
- Key
-
- Type: string
The tag key.
Constraints: Maximum length of 128 characters.
- Value
-
- Type: string
The tag value.
Constraints: Maximum length of 256 characters.
ThrottlingException
Description
The request was denied due to request throttling.
Members
- Message
-
- Required: Yes
- Type: string
- RetryAfterSeconds
-
- Type: int
Indicates when to retry the request.
TransitGatewayConnectPeerAssociation
Description
Describes a transit gateway Connect peer association.
Members
- DeviceId
-
- Type: string
The ID of the device.
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- LinkId
-
- Type: string
The ID of the link.
- State
-
- Type: string
The state of the association.
- TransitGatewayConnectPeerArn
-
- Type: string
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
TransitGatewayPeering
Description
Describes a transit gateway peering attachment.
Members
- Peering
-
- Type: Peering structure
Describes a transit gateway peer connection.
- TransitGatewayArn
-
- Type: string
The ARN of the transit gateway.
- TransitGatewayPeeringAttachmentId
-
- Type: string
The ID of the transit gateway peering attachment.
TransitGatewayRegistration
Description
Describes the registration of a transit gateway to a global network.
Members
- GlobalNetworkId
-
- Type: string
The ID of the global network.
- State
-
- Type: TransitGatewayRegistrationStateReason structure
The state of the transit gateway registration.
- TransitGatewayArn
-
- Type: string
The Amazon Resource Name (ARN) of the transit gateway.
TransitGatewayRegistrationStateReason
Description
Describes the status of a transit gateway registration.
Members
- Code
-
- Type: string
The code for the state reason.
- Message
-
- Type: string
The message for the state reason.
TransitGatewayRouteTableAttachment
Description
Describes a transit gateway route table attachment.
Members
- Attachment
-
- Type: Attachment structure
Describes a core network attachment.
- PeeringId
-
- Type: string
The ID of the peering attachment.
- TransitGatewayRouteTableArn
-
- Type: 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".
ValidationException
Description
The input fails to satisfy the constraints.
Members
- Fields
-
- Type: Array of ValidationExceptionField structures
The fields that caused the error, if applicable.
- Message
-
- Required: Yes
- Type: string
- Reason
-
- Type: string
The reason for the error.
- ReasonCode
-
- Type: string
A prerequisite that you must complete before you retry the request. Only the network scope operations return this value. Branch on this value rather than on
Message. These are the same codes that a network scope and a network scope principal carry inStateReason, so a prerequisite that is missing when you make the request and one that is found to be missing later are reported the same way.
ValidationExceptionField
Description
Describes a validation exception for a field.
Members
- Message
-
- Required: Yes
- Type: string
The message for the field.
- Name
-
- Required: Yes
- Type: string
The name of the field.
Via
Description
The list of network function groups and edge overrides for the service insertion action. Used for both the send-to and send-via actions.
Members
- NetworkFunctionGroups
-
- Type: Array of NetworkFunctionGroup structures
The list of network function groups associated with the service insertion action.
- WithEdgeOverrides
-
- Type: Array of EdgeOverride structures
Describes any edge overrides. An edge override is a specific edge to be used for traffic.
VpcAttachment
Description
Describes a VPC attachment.
Members
- Attachment
-
- Type: Attachment structure
Provides details about the VPC attachment.
- Options
-
- Type: VpcOptions structure
Provides details about the VPC attachment.
- SubnetArns
-
- Type: Array of strings
The subnet ARNs.
VpcOptions
Description
Describes the VPC options.
Members
- ApplianceModeSupport
-
- Type: 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. - DnsSupport
-
- Type: boolean
Indicates whether DNS is supported.
- Ipv6Support
-
- Type: boolean
Indicates whether IPv6 is supported.
- SecurityGroupReferencingSupport
-
- Type: boolean
Indicates whether security group referencing is enabled for this VPC attachment. The default is
true. However, at the core network policy-level the default is set tofalse.
WhenSentTo
Description
Displays a list of the destination segments. Used only when the service insertion action is send-to.
Members
- WhenSentToSegmentsList
-
- Type: Array of strings
The list of destination segments when the service insertion action is
send-to.