Skip to content

Update Direct Connect Gateway Attachment

networkmanager_update_direct_connect_gateway_attachment R Documentation

Updates the edge locations associated with an Amazon Web Services Direct Connect gateway attachment

Description

Updates the edge locations associated with an Amazon Web Services Direct Connect gateway attachment.

Usage

networkmanager_update_direct_connect_gateway_attachment(AttachmentId,
  EdgeLocations)

Arguments

AttachmentId

[required] The ID of the Direct Connect gateway attachment for the updated edge locations.

EdgeLocations

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. EdgeLocations is only used for Direct Connect gateway attachments.

Value

A list with the following syntax:

list(
  DirectConnectGatewayAttachment = list(
    Attachment = list(
      CoreNetworkId = "string",
      CoreNetworkArn = "string",
      AttachmentId = "string",
      OwnerAccountId = "string",
      AttachmentType = "CONNECT"|"SITE_TO_SITE_VPN"|"VPC"|"DIRECT_CONNECT_GATEWAY"|"TRANSIT_GATEWAY_ROUTE_TABLE",
      State = "REJECTED"|"PENDING_ATTACHMENT_ACCEPTANCE"|"CREATING"|"FAILED"|"AVAILABLE"|"UPDATING"|"PENDING_NETWORK_UPDATE"|"PENDING_TAG_ACCEPTANCE"|"DELETING",
      EdgeLocation = "string",
      EdgeLocations = list(
        "string"
      ),
      ResourceArn = "string",
      AttachmentPolicyRuleNumber = 123,
      SegmentName = "string",
      NetworkFunctionGroupName = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      ProposedSegmentChange = list(
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        AttachmentPolicyRuleNumber = 123,
        SegmentName = "string"
      ),
      ProposedNetworkFunctionGroupChange = list(
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        AttachmentPolicyRuleNumber = 123,
        NetworkFunctionGroupName = "string"
      ),
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      ),
      LastModificationErrors = list(
        list(
          Code = "VPC_NOT_FOUND"|"SUBNET_NOT_FOUND"|"SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE"|"SUBNET_NO_FREE_ADDRESSES"|"SUBNET_UNSUPPORTED_AVAILABILITY_ZONE"|"SUBNET_NO_IPV6_CIDRS"|"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",
          Message = "string",
          ResourceArn = "string",
          RequestId = "string"
        )
      )
    ),
    DirectConnectGatewayArn = "string"
  )
)

Request syntax

svc$update_direct_connect_gateway_attachment(
  AttachmentId = "string",
  EdgeLocations = list(
    "string"
  )
)