View a markdown version of this page

ModifyTransitGatewayNetworkFunctionAttachment - Amazon Elastic Compute Cloud

ModifyTransitGatewayNetworkFunctionAttachment

Adds Availability Zones to or removes Availability Zones from the specified network function attachment. The attachment must be in the available state. You must specify at least one Availability Zone to add or remove, and the attachment must keep at least one Availability Zone.

Adding an Availability Zone provisions a new Gateway Load Balancer endpoint in that Availability Zone. If the endpoint service doesn't automatically accept connection requests, the endpoint service owner must accept the endpoint connection for each Availability Zone that you add.

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.

AddAvailabilityZone.N

The names of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.

Type: Array of strings

Required: No

AddAvailabilityZoneId.N

The IDs of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.

Type: Array of strings

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 is UnauthorizedOperation.

Type: Boolean

Required: No

RemoveAvailabilityZone.N

The names of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.

Type: Array of strings

Required: No

RemoveAvailabilityZoneId.N

The IDs of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.

Type: Array of strings

Required: No

TransitGatewayAttachmentId

The ID of the network function attachment.

Type: String

Required: Yes

Response Elements

The following elements are returned by the service.

requestId

The ID of the request.

Type: String

transitGatewayNetworkFunctionAttachment

Information about the network function attachment.

Type: TransitGatewayNetworkFunctionAttachment object

Errors

For information about the errors that are common to all actions, see Common Error Types.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: