{"action":"closed","issue":{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/83","labels_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/83/comments","events_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/83/events","html_url":"https://github.com/awslabs/aws-sdk-go/issues/83","id":56369119,"number":83,"title":"InternetGateway with igw-id fails","user":{"login":"rmenn","id":932452,"avatar_url":"https://avatars.githubusercontent.com/u/932452?v=3","gravatar_id":"","url":"https://api.github.com/users/rmenn","html_url":"https://github.com/rmenn","followers_url":"https://api.github.com/users/rmenn/followers","following_url":"https://api.github.com/users/rmenn/following{/other_user}","gists_url":"https://api.github.com/users/rmenn/gists{/gist_id}","starred_url":"https://api.github.com/users/rmenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmenn/subscriptions","organizations_url":"https://api.github.com/users/rmenn/orgs","repos_url":"https://api.github.com/users/rmenn/repos","events_url":"https://api.github.com/users/rmenn/events{/privacy}","received_events_url":"https://api.github.com/users/rmenn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T12:05:52Z","updated_at":"2015-02-10T11:54:34Z","closed_at":"2015-02-10T11:54:34Z","body":"Greetings, \r\n\r\nI found that if we add a gw-id to the DescribeInternetGateway method you get an error from AWS.\r\n\r\nBelow is a sample code\r\n\r\n```\r\n\tid := \"igw-XXXXX\"\r\n\tDescribeIGWOpts := &ec2.DescribeInternetGatewaysRequest{\r\n\t\tInternetGatewayIDs: []string{id},\r\n\t}\r\n\tresp, err := cli.DescribeInternetGateways(DescribeIGWOpts)\r\n\tif err != nil {\r\n\t\tpanic(err)\r\n\t}\r\n\tres := resp.InternetGateways[0]\r\n\tID := res.InternetGatewayID\r\n\tfmt.Println(*ID)\r\n```\r\n\r\nError:\r\npanic: The parameter InternetGatewayIds is not recognised"}}