All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.protocolrestxml.ProtocolRestXmlAsyncClient Maven / Gradle / Ivy

There is a newer version: 2.0.6
Show newest version
/*
 * Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.protocolrestxml;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.protocolrestxml.model.AllTypesRequest;
import software.amazon.awssdk.services.protocolrestxml.model.AllTypesResponse;
import software.amazon.awssdk.services.protocolrestxml.model.DeleteOperationRequest;
import software.amazon.awssdk.services.protocolrestxml.model.DeleteOperationResponse;
import software.amazon.awssdk.services.protocolrestxml.model.IdempotentOperationRequest;
import software.amazon.awssdk.services.protocolrestxml.model.IdempotentOperationResponse;
import software.amazon.awssdk.services.protocolrestxml.model.MapOfStringToListOfStringInQueryParamsRequest;
import software.amazon.awssdk.services.protocolrestxml.model.MapOfStringToListOfStringInQueryParamsResponse;
import software.amazon.awssdk.services.protocolrestxml.model.MembersInHeadersRequest;
import software.amazon.awssdk.services.protocolrestxml.model.MembersInHeadersResponse;
import software.amazon.awssdk.services.protocolrestxml.model.MembersInQueryParamsRequest;
import software.amazon.awssdk.services.protocolrestxml.model.MembersInQueryParamsResponse;
import software.amazon.awssdk.services.protocolrestxml.model.MultiLocationOperationRequest;
import software.amazon.awssdk.services.protocolrestxml.model.MultiLocationOperationResponse;
import software.amazon.awssdk.services.protocolrestxml.model.OperationWithExplicitPayloadBlobRequest;
import software.amazon.awssdk.services.protocolrestxml.model.OperationWithExplicitPayloadBlobResponse;
import software.amazon.awssdk.services.protocolrestxml.model.OperationWithGreedyLabelRequest;
import software.amazon.awssdk.services.protocolrestxml.model.OperationWithGreedyLabelResponse;
import software.amazon.awssdk.services.protocolrestxml.model.OperationWithModeledContentTypeRequest;
import software.amazon.awssdk.services.protocolrestxml.model.OperationWithModeledContentTypeResponse;
import software.amazon.awssdk.services.protocolrestxml.model.QueryParamWithoutValueRequest;
import software.amazon.awssdk.services.protocolrestxml.model.QueryParamWithoutValueResponse;
import software.amazon.awssdk.services.protocolrestxml.model.RestXmlTypesRequest;
import software.amazon.awssdk.services.protocolrestxml.model.RestXmlTypesResponse;

/**
 * Service client for accessing AmazonProtocolRestXml asynchronously. This can be created using the static
 * {@link #builder()} method.
 *
 * null
 */
@Generated("software.amazon.awssdk:codegen")
public interface ProtocolRestXmlAsyncClient extends SdkClient {
    String SERVICE_NAME = "restxml";

    /**
     * Create a {@link ProtocolRestXmlAsyncClient} with the region loaded from the
     * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
     * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
     */
    static ProtocolRestXmlAsyncClient create() {
        return builder().build();
    }

    /**
     * Create a builder that can be used to configure and create a {@link ProtocolRestXmlAsyncClient}.
     */
    static ProtocolRestXmlAsyncClientBuilder builder() {
        return new DefaultProtocolRestXmlAsyncClientBuilder();
    }

    /**
     * Invokes the AllTypes operation asynchronously.
     *
     * @param allTypesRequest
     * @return A Java Future containing the result of the AllTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • EmptyModeledException
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.AllTypes */ default CompletableFuture allTypes(AllTypesRequest allTypesRequest) { throw new UnsupportedOperationException(); } /** * Invokes the AllTypes operation asynchronously.
*

* This is a convenience which creates an instance of the {@link AllTypesRequest.Builder} avoiding the need to * create one manually via {@link AllTypesRequest#builder()} *

* * @param allTypesRequest * A {@link Consumer} that will call methods on {@link AllTypesStructure.Builder} to create a request. * @return A Java Future containing the result of the AllTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • EmptyModeledException
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.AllTypes */ default CompletableFuture allTypes(Consumer allTypesRequest) { return allTypes(AllTypesRequest.builder().applyMutation(allTypesRequest).build()); } /** * Invokes the AllTypes operation asynchronously. * * @return A Java Future containing the result of the AllTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • EmptyModeledException
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.AllTypes */ default CompletableFuture allTypes() { return allTypes(AllTypesRequest.builder().build()); } /** * Invokes the DeleteOperation operation asynchronously. * * @param deleteOperationRequest * @return A Java Future containing the result of the DeleteOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.DeleteOperation */ default CompletableFuture deleteOperation(DeleteOperationRequest deleteOperationRequest) { throw new UnsupportedOperationException(); } /** * Invokes the DeleteOperation operation asynchronously.
*

* This is a convenience which creates an instance of the {@link DeleteOperationRequest.Builder} avoiding the need * to create one manually via {@link DeleteOperationRequest#builder()} *

* * @param deleteOperationRequest * A {@link Consumer} that will call methods on {@link DeleteOperationRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.DeleteOperation */ default CompletableFuture deleteOperation( Consumer deleteOperationRequest) { return deleteOperation(DeleteOperationRequest.builder().applyMutation(deleteOperationRequest).build()); } /** * Invokes the DeleteOperation operation asynchronously. * * @return A Java Future containing the result of the DeleteOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.DeleteOperation */ default CompletableFuture deleteOperation() { return deleteOperation(DeleteOperationRequest.builder().build()); } /** * Invokes the IdempotentOperation operation asynchronously. * * @param idempotentOperationRequest * @return A Java Future containing the result of the IdempotentOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.IdempotentOperation */ default CompletableFuture idempotentOperation( IdempotentOperationRequest idempotentOperationRequest) { throw new UnsupportedOperationException(); } /** * Invokes the IdempotentOperation operation asynchronously.
*

* This is a convenience which creates an instance of the {@link IdempotentOperationRequest.Builder} avoiding the * need to create one manually via {@link IdempotentOperationRequest#builder()} *

* * @param idempotentOperationRequest * A {@link Consumer} that will call methods on {@link IdempotentOperationStructure.Builder} to create a * request. * @return A Java Future containing the result of the IdempotentOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.IdempotentOperation */ default CompletableFuture idempotentOperation( Consumer idempotentOperationRequest) { return idempotentOperation(IdempotentOperationRequest.builder().applyMutation(idempotentOperationRequest).build()); } /** * Invokes the MapOfStringToListOfStringInQueryParams operation asynchronously. * * @param mapOfStringToListOfStringInQueryParamsRequest * @return A Java Future containing the result of the MapOfStringToListOfStringInQueryParams operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MapOfStringToListOfStringInQueryParams */ default CompletableFuture mapOfStringToListOfStringInQueryParams( MapOfStringToListOfStringInQueryParamsRequest mapOfStringToListOfStringInQueryParamsRequest) { throw new UnsupportedOperationException(); } /** * Invokes the MapOfStringToListOfStringInQueryParams operation asynchronously.
*

* This is a convenience which creates an instance of the * {@link MapOfStringToListOfStringInQueryParamsRequest.Builder} avoiding the need to create one manually via * {@link MapOfStringToListOfStringInQueryParamsRequest#builder()} *

* * @param mapOfStringToListOfStringInQueryParamsRequest * A {@link Consumer} that will call methods on {@link MapOfStringToListOfStringInQueryParamsInput.Builder} * to create a request. * @return A Java Future containing the result of the MapOfStringToListOfStringInQueryParams operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MapOfStringToListOfStringInQueryParams */ default CompletableFuture mapOfStringToListOfStringInQueryParams( Consumer mapOfStringToListOfStringInQueryParamsRequest) { return mapOfStringToListOfStringInQueryParams(MapOfStringToListOfStringInQueryParamsRequest.builder() .applyMutation(mapOfStringToListOfStringInQueryParamsRequest).build()); } /** * Invokes the MapOfStringToListOfStringInQueryParams operation asynchronously. * * @return A Java Future containing the result of the MapOfStringToListOfStringInQueryParams operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MapOfStringToListOfStringInQueryParams */ default CompletableFuture mapOfStringToListOfStringInQueryParams() { return mapOfStringToListOfStringInQueryParams(MapOfStringToListOfStringInQueryParamsRequest.builder().build()); } /** * Invokes the MembersInHeaders operation asynchronously. * * @param membersInHeadersRequest * @return A Java Future containing the result of the MembersInHeaders operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MembersInHeaders */ default CompletableFuture membersInHeaders(MembersInHeadersRequest membersInHeadersRequest) { throw new UnsupportedOperationException(); } /** * Invokes the MembersInHeaders operation asynchronously.
*

* This is a convenience which creates an instance of the {@link MembersInHeadersRequest.Builder} avoiding the need * to create one manually via {@link MembersInHeadersRequest#builder()} *

* * @param membersInHeadersRequest * A {@link Consumer} that will call methods on {@link MembersInHeadersInput.Builder} to create a request. * @return A Java Future containing the result of the MembersInHeaders operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MembersInHeaders */ default CompletableFuture membersInHeaders( Consumer membersInHeadersRequest) { return membersInHeaders(MembersInHeadersRequest.builder().applyMutation(membersInHeadersRequest).build()); } /** * Invokes the MembersInHeaders operation asynchronously. * * @return A Java Future containing the result of the MembersInHeaders operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MembersInHeaders */ default CompletableFuture membersInHeaders() { return membersInHeaders(MembersInHeadersRequest.builder().build()); } /** * Invokes the MembersInQueryParams operation asynchronously. * * @param membersInQueryParamsRequest * @return A Java Future containing the result of the MembersInQueryParams operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MembersInQueryParams */ default CompletableFuture membersInQueryParams( MembersInQueryParamsRequest membersInQueryParamsRequest) { throw new UnsupportedOperationException(); } /** * Invokes the MembersInQueryParams operation asynchronously.
*

* This is a convenience which creates an instance of the {@link MembersInQueryParamsRequest.Builder} avoiding the * need to create one manually via {@link MembersInQueryParamsRequest#builder()} *

* * @param membersInQueryParamsRequest * A {@link Consumer} that will call methods on {@link MembersInQueryParamsInput.Builder} to create a * request. * @return A Java Future containing the result of the MembersInQueryParams operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MembersInQueryParams */ default CompletableFuture membersInQueryParams( Consumer membersInQueryParamsRequest) { return membersInQueryParams(MembersInQueryParamsRequest.builder().applyMutation(membersInQueryParamsRequest).build()); } /** * Invokes the MembersInQueryParams operation asynchronously. * * @return A Java Future containing the result of the MembersInQueryParams operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MembersInQueryParams */ default CompletableFuture membersInQueryParams() { return membersInQueryParams(MembersInQueryParamsRequest.builder().build()); } /** * Invokes the MultiLocationOperation operation asynchronously. * * @param multiLocationOperationRequest * @return A Java Future containing the result of the MultiLocationOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MultiLocationOperation */ default CompletableFuture multiLocationOperation( MultiLocationOperationRequest multiLocationOperationRequest) { throw new UnsupportedOperationException(); } /** * Invokes the MultiLocationOperation operation asynchronously.
*

* This is a convenience which creates an instance of the {@link MultiLocationOperationRequest.Builder} avoiding the * need to create one manually via {@link MultiLocationOperationRequest#builder()} *

* * @param multiLocationOperationRequest * A {@link Consumer} that will call methods on {@link MultiLocationOperationInput.Builder} to create a * request. * @return A Java Future containing the result of the MultiLocationOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.MultiLocationOperation */ default CompletableFuture multiLocationOperation( Consumer multiLocationOperationRequest) { return multiLocationOperation(MultiLocationOperationRequest.builder().applyMutation(multiLocationOperationRequest) .build()); } /** * Invokes the OperationWithExplicitPayloadBlob operation asynchronously. * * @param operationWithExplicitPayloadBlobRequest * @return A Java Future containing the result of the OperationWithExplicitPayloadBlob operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.OperationWithExplicitPayloadBlob */ default CompletableFuture operationWithExplicitPayloadBlob( OperationWithExplicitPayloadBlobRequest operationWithExplicitPayloadBlobRequest) { throw new UnsupportedOperationException(); } /** * Invokes the OperationWithExplicitPayloadBlob operation asynchronously.
*

* This is a convenience which creates an instance of the {@link OperationWithExplicitPayloadBlobRequest.Builder} * avoiding the need to create one manually via {@link OperationWithExplicitPayloadBlobRequest#builder()} *

* * @param operationWithExplicitPayloadBlobRequest * A {@link Consumer} that will call methods on {@link OperationWithExplicitPayloadBlobInput.Builder} to * create a request. * @return A Java Future containing the result of the OperationWithExplicitPayloadBlob operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.OperationWithExplicitPayloadBlob */ default CompletableFuture operationWithExplicitPayloadBlob( Consumer operationWithExplicitPayloadBlobRequest) { return operationWithExplicitPayloadBlob(OperationWithExplicitPayloadBlobRequest.builder() .applyMutation(operationWithExplicitPayloadBlobRequest).build()); } /** * Invokes the OperationWithExplicitPayloadBlob operation asynchronously. * * @return A Java Future containing the result of the OperationWithExplicitPayloadBlob operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.OperationWithExplicitPayloadBlob */ default CompletableFuture operationWithExplicitPayloadBlob() { return operationWithExplicitPayloadBlob(OperationWithExplicitPayloadBlobRequest.builder().build()); } /** * Invokes the OperationWithGreedyLabel operation asynchronously. * * @param operationWithGreedyLabelRequest * @return A Java Future containing the result of the OperationWithGreedyLabel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.OperationWithGreedyLabel */ default CompletableFuture operationWithGreedyLabel( OperationWithGreedyLabelRequest operationWithGreedyLabelRequest) { throw new UnsupportedOperationException(); } /** * Invokes the OperationWithGreedyLabel operation asynchronously.
*

* This is a convenience which creates an instance of the {@link OperationWithGreedyLabelRequest.Builder} avoiding * the need to create one manually via {@link OperationWithGreedyLabelRequest#builder()} *

* * @param operationWithGreedyLabelRequest * A {@link Consumer} that will call methods on {@link OperationWithGreedyLabelInput.Builder} to create a * request. * @return A Java Future containing the result of the OperationWithGreedyLabel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.OperationWithGreedyLabel */ default CompletableFuture operationWithGreedyLabel( Consumer operationWithGreedyLabelRequest) { return operationWithGreedyLabel(OperationWithGreedyLabelRequest.builder().applyMutation(operationWithGreedyLabelRequest) .build()); } /** * Invokes the OperationWithModeledContentType operation asynchronously. * * @param operationWithModeledContentTypeRequest * @return A Java Future containing the result of the OperationWithModeledContentType operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.OperationWithModeledContentType */ default CompletableFuture operationWithModeledContentType( OperationWithModeledContentTypeRequest operationWithModeledContentTypeRequest) { throw new UnsupportedOperationException(); } /** * Invokes the OperationWithModeledContentType operation asynchronously.
*

* This is a convenience which creates an instance of the {@link OperationWithModeledContentTypeRequest.Builder} * avoiding the need to create one manually via {@link OperationWithModeledContentTypeRequest#builder()} *

* * @param operationWithModeledContentTypeRequest * A {@link Consumer} that will call methods on {@link OperationWithModeledContentTypeInput.Builder} to * create a request. * @return A Java Future containing the result of the OperationWithModeledContentType operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.OperationWithModeledContentType */ default CompletableFuture operationWithModeledContentType( Consumer operationWithModeledContentTypeRequest) { return operationWithModeledContentType(OperationWithModeledContentTypeRequest.builder() .applyMutation(operationWithModeledContentTypeRequest).build()); } /** * Invokes the OperationWithModeledContentType operation asynchronously. * * @return A Java Future containing the result of the OperationWithModeledContentType operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.OperationWithModeledContentType */ default CompletableFuture operationWithModeledContentType() { return operationWithModeledContentType(OperationWithModeledContentTypeRequest.builder().build()); } /** * Invokes the QueryParamWithoutValue operation asynchronously. * * @param queryParamWithoutValueRequest * @return A Java Future containing the result of the QueryParamWithoutValue operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.QueryParamWithoutValue */ default CompletableFuture queryParamWithoutValue( QueryParamWithoutValueRequest queryParamWithoutValueRequest) { throw new UnsupportedOperationException(); } /** * Invokes the QueryParamWithoutValue operation asynchronously.
*

* This is a convenience which creates an instance of the {@link QueryParamWithoutValueRequest.Builder} avoiding the * need to create one manually via {@link QueryParamWithoutValueRequest#builder()} *

* * @param queryParamWithoutValueRequest * A {@link Consumer} that will call methods on {@link QueryParamWithoutValueInput.Builder} to create a * request. * @return A Java Future containing the result of the QueryParamWithoutValue operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.QueryParamWithoutValue */ default CompletableFuture queryParamWithoutValue( Consumer queryParamWithoutValueRequest) { return queryParamWithoutValue(QueryParamWithoutValueRequest.builder().applyMutation(queryParamWithoutValueRequest) .build()); } /** * Invokes the QueryParamWithoutValue operation asynchronously. * * @return A Java Future containing the result of the QueryParamWithoutValue operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.QueryParamWithoutValue */ default CompletableFuture queryParamWithoutValue() { return queryParamWithoutValue(QueryParamWithoutValueRequest.builder().build()); } /** * Invokes the RestXmlTypes operation asynchronously. * * @param restXmlTypesRequest * @return A Java Future containing the result of the RestXmlTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.RestXmlTypes */ default CompletableFuture restXmlTypes(RestXmlTypesRequest restXmlTypesRequest) { throw new UnsupportedOperationException(); } /** * Invokes the RestXmlTypes operation asynchronously.
*

* This is a convenience which creates an instance of the {@link RestXmlTypesRequest.Builder} avoiding the need to * create one manually via {@link RestXmlTypesRequest#builder()} *

* * @param restXmlTypesRequest * A {@link Consumer} that will call methods on {@link RestXmlTypesStructure.Builder} to create a request. * @return A Java Future containing the result of the RestXmlTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.RestXmlTypes */ default CompletableFuture restXmlTypes(Consumer restXmlTypesRequest) { return restXmlTypes(RestXmlTypesRequest.builder().applyMutation(restXmlTypesRequest).build()); } /** * Invokes the RestXmlTypes operation asynchronously. * * @return A Java Future containing the result of the RestXmlTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ProtocolRestXmlException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample ProtocolRestXmlAsyncClient.RestXmlTypes */ default CompletableFuture restXmlTypes() { return restXmlTypes(RestXmlTypesRequest.builder().build()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy