/** * <p> * Represents a collection of <a>DomainName</a> resources. * </p> * * @return Result of the GetDomainNames 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.GetDomainNames * @see #getDomainNames(GetDomainNamesRequest) */ default GetDomainNamesResponse getDomainNames() throws BadRequestException, UnauthorizedException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayException { return getDomainNames(GetDomainNamesRequest.builder().build()); }
/** * <p> * Represents a collection of <a>DomainName</a> resources. * </p> * * @return A Java Future containing the result of the GetDomainNames 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.GetDomainNames */ default CompletableFuture<GetDomainNamesResponse> getDomainNames() { return getDomainNames(GetDomainNamesRequest.builder().build()); }
/** * <p> * Represents a collection of <a>DomainName</a> resources. * </p> * * @return A Java Future containing the result of the GetDomainNames 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.GetDomainNames */ default CompletableFuture<GetDomainNamesResponse> getDomainNames() { return getDomainNames(GetDomainNamesRequest.builder().build()); }
return getDomainNamesPaginator(GetDomainNamesRequest.builder().build());
return getDomainNamesPaginator(GetDomainNamesRequest.builder().build());
return getDomainNamesPaginator(GetDomainNamesRequest.builder().build());
return getDomainNames(GetDomainNamesRequest.builder().applyMutation(getDomainNamesRequest).build());
throws BadRequestException, UnauthorizedException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayException { return getDomainNames(GetDomainNamesRequest.builder().applyMutation(getDomainNamesRequest).build());
return getDomainNames(GetDomainNamesRequest.builder().applyMutation(getDomainNamesRequest).build());
return getDomainNamesPaginator(GetDomainNamesRequest.builder().applyMutation(getDomainNamesRequest).build());
return getDomainNamesPaginator(GetDomainNamesRequest.builder().applyMutation(getDomainNamesRequest).build());
throws BadRequestException, UnauthorizedException, TooManyRequestsException, AwsServiceException, SdkClientException, ApiGatewayException { return getDomainNamesPaginator(GetDomainNamesRequest.builder().applyMutation(getDomainNamesRequest).build());