AssociateTrunkInterface
Note
This API action is currently in limited preview only. If you are interested in using this feature, contact your account manager.
Associates a branch network interface with a trunk network interface.
Before you create the association, run the create-network-interface command and set
--interface-type
to trunk
. You must also create a network interface for each branch network interface that you want to associate with the trunk network interface.
Request Parameters
The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.
- BranchInterfaceId
-
The ID of the branch network interface.
Type: String
Required: Yes
- ClientToken
-
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
Type: String
Required: No
- DryRun
-
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 isUnauthorizedOperation
.Type: Boolean
Required: No
- GreKey
-
The application key. This applies to the GRE protocol.
Type: Integer
Required: No
- TrunkInterfaceId
-
The ID of the trunk network interface.
Type: String
Required: Yes
- VlanId
-
The ID of the VLAN. This applies to the VLAN protocol.
Type: Integer
Required: No
Response Elements
The following elements are returned by the service.
- clientToken
-
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
Type: String
- interfaceAssociation
-
Information about the association between the trunk network interface and branch network interface.
Type: TrunkInterfaceAssociation object
- requestId
-
The ID of the request.
Type: String
Errors
For information about the errors that are common to all actions, see Common client error codes.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: