v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473344266.2 KB

Gets all labels or a specific label if name is provided. This is a paginated API. If you provide a null <code>maxResults</code>, this action retrieves a maximum of 50 records per page. If you provide a <code>maxResults</code>, the value must be between 10 and 50. To get the next page results, provide the pagination token from the <code>GetGetLabelsResponse</code> as part of your request. A null pagination token fetches the records from the beginning.

post/#X-Amz-Target=AWSHawksNestServiceFacade.GetLabels

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Headers

X-Amz-Target'AWSHawksNestServiceFacade.GetLabels' required

Request body

namestring

The name of the label or labels to get.

nextTokenstring

The next token for the subsequent request.

maxResultsinteger

The maximum number of objects to return for the request.

Response

Success

nextTokenstring

The next page token.