/** * <p> * Gets information about the current <a>ApiKeys</a> resource. * </p> * * @return Result of the GetApiKeys operation returned by the service. * @throws BadRequestException * The submitted request is not valid, for example, the input is incomplete or incorrect. See the * accompanying error message for details. * @throws UnauthorizedException * The request is denied because the caller has insufficient permissions. * @throws TooManyRequestsException * The request has reached its throttling limit. Retry after the specified time period. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ApiGatewayException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ApiGatewayClient.GetApiKeys * @see #getApiKeys(GetApiKeysRequest) */ default GetApiKeysResponse getApiKeys() throws BadRequestException, UnauthorizedException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayException { return getApiKeys(GetApiKeysRequest.builder().build()); }
/** * <p> * Gets information about the current <a>ApiKeys</a> resource. * </p> * * @return A Java Future containing the result of the GetApiKeys operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.</li> * <li>UnauthorizedException The request is denied because the caller has insufficient permissions.</li> * <li>TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>ApiGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.</li> * </ul> * @sample ApiGatewayAsyncClient.GetApiKeys */ default CompletableFuture<GetApiKeysResponse> getApiKeys() { return getApiKeys(GetApiKeysRequest.builder().build()); }
/** * <p> * Gets information about the current <a>ApiKeys</a> resource. * </p> * * @return A Java Future containing the result of the GetApiKeys operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>BadRequestException The submitted request is not valid, for example, the input is incomplete or * incorrect. See the accompanying error message for details.</li> * <li>UnauthorizedException The request is denied because the caller has insufficient permissions.</li> * <li>TooManyRequestsException The request has reached its throttling limit. Retry after the specified time * period.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>ApiGatewayException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.</li> * </ul> * @sample ApiGatewayAsyncClient.GetApiKeys */ default CompletableFuture<GetApiKeysResponse> getApiKeys() { return getApiKeys(GetApiKeysRequest.builder().build()); }
return getApiKeysPaginator(GetApiKeysRequest.builder().build());
return getApiKeysPaginator(GetApiKeysRequest.builder().build());
return getApiKeysPaginator(GetApiKeysRequest.builder().build());
return getApiKeys(GetApiKeysRequest.builder().applyMutation(getApiKeysRequest).build());
return getApiKeys(GetApiKeysRequest.builder().applyMutation(getApiKeysRequest).build());
return getApiKeys(GetApiKeysRequest.builder().applyMutation(getApiKeysRequest).build());
throws BadRequestException, UnauthorizedException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayException { return getApiKeysPaginator(GetApiKeysRequest.builder().applyMutation(getApiKeysRequest).build());
return getApiKeysPaginator(GetApiKeysRequest.builder().applyMutation(getApiKeysRequest).build());
return getApiKeysPaginator(GetApiKeysRequest.builder().applyMutation(getApiKeysRequest).build());