GO SDK V2 - Describe Addresses paginator

0

Hi, I'm using the GO SDK V2 to fetch all the EIPs of an account. My goal is to get the number of EIPs in a specific account.

I couldn't find a paginator option for this API call DescribeAddresses.

There is a paginator/next token option for the DescribeAddressesAttribute API call, but for this option, I could not retrieve all the EIPs addresses of the account. Actually without attribute passed, I got an empty result [].

I have a couple of questions:

  1. Is there a way to use pagination for DescribeAddresses?
  2. Is there a parameter for DescribeAddressesAttribute to make this call to retrieve all EIPs?
  3. What is the maximal number of EIPs in an account?
  4. What is the maximal number of results that can be returned from DescribeAddresses?

Thank you, Ori Adler

질문됨 2년 전279회 조회
1개 답변
0

DescribeAddresses isn't a paginated API action. It will return all Elastic IP addresses in the targeted account and region. Perhaps you are invoking it against the wrong account or region?

The maximum number of EIPs in an account and region is 5 by default, but is adjustable by issuing a service limit request.

AWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠