title: "NLB ARN is malformed" when create VPC link for AWS APIGateway
body: <p>I followed the tutorial to create a VPC link to my private elb balancer.
  <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-api-with-vpclink-cli.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-api-with-vpclink-cli.html</a></p>
  
  <p>But it failed, and got an error message "statusMessage": "NLB ARN is malformed".</p>
  
  <p>I do find the ELB with same ARN by elbv2 cli, so the ARN must be a legal one...</p>
  
  <p>I can't find document to solve the problem.
  anyone can help me? thank you.</p>
  
  <p>what i did is as following.</p>
  
  <pre><code>$ aws elbv2 describe-load-balancers --load-balancer-arns arn:aws:elasticloadbalancing:ap-northeast-1:846239845603:loadbalancer/app/v2-api-balancer/db49ab0ecaef1de8
  
  {
  "LoadBalancers": [
  {
  "Scheme": "internal",
  "SecurityGroups": [
  "sg-9282b8f4"
  ],
  "LoadBalancerArn": "arn:aws:elasticloadbalancing:ap-northeast-1:846239845603:loadbalancer/app/v2-api-balancer/db49ab0ecaef1de8",
  "State": {
  "Code": "active"
  },
  "CreatedTime": "2017-10-18T04:27:28.780Z",
  "VpcId": "vpc-dbe3f2be",
  "DNSName": "internal-v2-api-balancer-988454399.ap-northeast-1.elb.amazonaws.com",
  "AvailabilityZones": [
  {
  "SubnetId": "subnet-7642062e",
  "ZoneName": "ap-northeast-1c"
  },
  {
  "SubnetId": "subnet-c454fa8d",
  "ZoneName": "ap-northeast-1b"
  }
  ],
  "IpAddressType": "ipv4",
  "Type": "application",
  "LoadBalancerName": "v2-api-balancer",
  "CanonicalHostedZoneId": "Z14GRHDCWA56QT"
  }
  ]
  }
  </code></pre>
  
  <hr>
  
  <pre><code>$ aws apigateway create-vpc-link \ 
  --name my-test-vpc-link-1 \
  --target-arns "arn:aws:elasticloadbalancing:ap-northeast-1:846239845603:loadbalancer/app/v2-api-balancer/db49ab0ecaef1de8" 
  
  {
  "name": "my-test-vpc-link-1",
  "targetArns": [
  "arn:aws:elasticloadbalancing:ap-northeast-1:846239845603:loadbalancer/app/v2-api-balancer/db49ab0ecaef1de8"
  ],
  "id": "7eexgn",
  "status": "PENDING"
  }
  </code></pre>
  
  <hr>
  
  <pre><code>$ aws apigateway get-vpc-link --vpc-link-id 7eexgn
  
  {
  "id": "7eexgn",
  "targetArns": [
  "arn:aws:elasticloadbalancing:ap-northeast-1:846239845603:loadbalancer/app/v2-api-balancer/db49ab0ecaef1de8"
  ],
  "status": "FAILED",
  "name": "my-test-vpc-link-1",
  "statusMessage": "NLB ARN is malformed"
  }
  </code></pre>
  
  <hr>