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

software.amazon.awssdk.services.appsync.AppSyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon AppSync module holds the client classes that are used for communicating with Amazon AppSync.

There is a newer version: 2.29.15
Show newest version
/*
 * Copyright 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.appsync;

import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.appsync.model.AccessDeniedException;
import software.amazon.awssdk.services.appsync.model.ApiKeyLimitExceededException;
import software.amazon.awssdk.services.appsync.model.ApiKeyValidityOutOfBoundsException;
import software.amazon.awssdk.services.appsync.model.ApiLimitExceededException;
import software.amazon.awssdk.services.appsync.model.AppSyncException;
import software.amazon.awssdk.services.appsync.model.AssociateApiRequest;
import software.amazon.awssdk.services.appsync.model.AssociateApiResponse;
import software.amazon.awssdk.services.appsync.model.AssociateMergedGraphqlApiRequest;
import software.amazon.awssdk.services.appsync.model.AssociateMergedGraphqlApiResponse;
import software.amazon.awssdk.services.appsync.model.AssociateSourceGraphqlApiRequest;
import software.amazon.awssdk.services.appsync.model.AssociateSourceGraphqlApiResponse;
import software.amazon.awssdk.services.appsync.model.BadRequestException;
import software.amazon.awssdk.services.appsync.model.ConcurrentModificationException;
import software.amazon.awssdk.services.appsync.model.CreateApiCacheRequest;
import software.amazon.awssdk.services.appsync.model.CreateApiCacheResponse;
import software.amazon.awssdk.services.appsync.model.CreateApiKeyRequest;
import software.amazon.awssdk.services.appsync.model.CreateApiKeyResponse;
import software.amazon.awssdk.services.appsync.model.CreateDataSourceRequest;
import software.amazon.awssdk.services.appsync.model.CreateDataSourceResponse;
import software.amazon.awssdk.services.appsync.model.CreateDomainNameRequest;
import software.amazon.awssdk.services.appsync.model.CreateDomainNameResponse;
import software.amazon.awssdk.services.appsync.model.CreateFunctionRequest;
import software.amazon.awssdk.services.appsync.model.CreateFunctionResponse;
import software.amazon.awssdk.services.appsync.model.CreateGraphqlApiRequest;
import software.amazon.awssdk.services.appsync.model.CreateGraphqlApiResponse;
import software.amazon.awssdk.services.appsync.model.CreateResolverRequest;
import software.amazon.awssdk.services.appsync.model.CreateResolverResponse;
import software.amazon.awssdk.services.appsync.model.CreateTypeRequest;
import software.amazon.awssdk.services.appsync.model.CreateTypeResponse;
import software.amazon.awssdk.services.appsync.model.DeleteApiCacheRequest;
import software.amazon.awssdk.services.appsync.model.DeleteApiCacheResponse;
import software.amazon.awssdk.services.appsync.model.DeleteApiKeyRequest;
import software.amazon.awssdk.services.appsync.model.DeleteApiKeyResponse;
import software.amazon.awssdk.services.appsync.model.DeleteDataSourceRequest;
import software.amazon.awssdk.services.appsync.model.DeleteDataSourceResponse;
import software.amazon.awssdk.services.appsync.model.DeleteDomainNameRequest;
import software.amazon.awssdk.services.appsync.model.DeleteDomainNameResponse;
import software.amazon.awssdk.services.appsync.model.DeleteFunctionRequest;
import software.amazon.awssdk.services.appsync.model.DeleteFunctionResponse;
import software.amazon.awssdk.services.appsync.model.DeleteGraphqlApiRequest;
import software.amazon.awssdk.services.appsync.model.DeleteGraphqlApiResponse;
import software.amazon.awssdk.services.appsync.model.DeleteResolverRequest;
import software.amazon.awssdk.services.appsync.model.DeleteResolverResponse;
import software.amazon.awssdk.services.appsync.model.DeleteTypeRequest;
import software.amazon.awssdk.services.appsync.model.DeleteTypeResponse;
import software.amazon.awssdk.services.appsync.model.DisassociateApiRequest;
import software.amazon.awssdk.services.appsync.model.DisassociateApiResponse;
import software.amazon.awssdk.services.appsync.model.DisassociateMergedGraphqlApiRequest;
import software.amazon.awssdk.services.appsync.model.DisassociateMergedGraphqlApiResponse;
import software.amazon.awssdk.services.appsync.model.DisassociateSourceGraphqlApiRequest;
import software.amazon.awssdk.services.appsync.model.DisassociateSourceGraphqlApiResponse;
import software.amazon.awssdk.services.appsync.model.EvaluateCodeRequest;
import software.amazon.awssdk.services.appsync.model.EvaluateCodeResponse;
import software.amazon.awssdk.services.appsync.model.EvaluateMappingTemplateRequest;
import software.amazon.awssdk.services.appsync.model.EvaluateMappingTemplateResponse;
import software.amazon.awssdk.services.appsync.model.FlushApiCacheRequest;
import software.amazon.awssdk.services.appsync.model.FlushApiCacheResponse;
import software.amazon.awssdk.services.appsync.model.GetApiAssociationRequest;
import software.amazon.awssdk.services.appsync.model.GetApiAssociationResponse;
import software.amazon.awssdk.services.appsync.model.GetApiCacheRequest;
import software.amazon.awssdk.services.appsync.model.GetApiCacheResponse;
import software.amazon.awssdk.services.appsync.model.GetDataSourceIntrospectionRequest;
import software.amazon.awssdk.services.appsync.model.GetDataSourceIntrospectionResponse;
import software.amazon.awssdk.services.appsync.model.GetDataSourceRequest;
import software.amazon.awssdk.services.appsync.model.GetDataSourceResponse;
import software.amazon.awssdk.services.appsync.model.GetDomainNameRequest;
import software.amazon.awssdk.services.appsync.model.GetDomainNameResponse;
import software.amazon.awssdk.services.appsync.model.GetFunctionRequest;
import software.amazon.awssdk.services.appsync.model.GetFunctionResponse;
import software.amazon.awssdk.services.appsync.model.GetGraphqlApiEnvironmentVariablesRequest;
import software.amazon.awssdk.services.appsync.model.GetGraphqlApiEnvironmentVariablesResponse;
import software.amazon.awssdk.services.appsync.model.GetGraphqlApiRequest;
import software.amazon.awssdk.services.appsync.model.GetGraphqlApiResponse;
import software.amazon.awssdk.services.appsync.model.GetIntrospectionSchemaRequest;
import software.amazon.awssdk.services.appsync.model.GetIntrospectionSchemaResponse;
import software.amazon.awssdk.services.appsync.model.GetResolverRequest;
import software.amazon.awssdk.services.appsync.model.GetResolverResponse;
import software.amazon.awssdk.services.appsync.model.GetSchemaCreationStatusRequest;
import software.amazon.awssdk.services.appsync.model.GetSchemaCreationStatusResponse;
import software.amazon.awssdk.services.appsync.model.GetSourceApiAssociationRequest;
import software.amazon.awssdk.services.appsync.model.GetSourceApiAssociationResponse;
import software.amazon.awssdk.services.appsync.model.GetTypeRequest;
import software.amazon.awssdk.services.appsync.model.GetTypeResponse;
import software.amazon.awssdk.services.appsync.model.GraphQlSchemaException;
import software.amazon.awssdk.services.appsync.model.InternalFailureException;
import software.amazon.awssdk.services.appsync.model.LimitExceededException;
import software.amazon.awssdk.services.appsync.model.ListApiKeysRequest;
import software.amazon.awssdk.services.appsync.model.ListApiKeysResponse;
import software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest;
import software.amazon.awssdk.services.appsync.model.ListDataSourcesResponse;
import software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest;
import software.amazon.awssdk.services.appsync.model.ListDomainNamesResponse;
import software.amazon.awssdk.services.appsync.model.ListFunctionsRequest;
import software.amazon.awssdk.services.appsync.model.ListFunctionsResponse;
import software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest;
import software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse;
import software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest;
import software.amazon.awssdk.services.appsync.model.ListResolversByFunctionResponse;
import software.amazon.awssdk.services.appsync.model.ListResolversRequest;
import software.amazon.awssdk.services.appsync.model.ListResolversResponse;
import software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest;
import software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsResponse;
import software.amazon.awssdk.services.appsync.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.appsync.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest;
import software.amazon.awssdk.services.appsync.model.ListTypesByAssociationResponse;
import software.amazon.awssdk.services.appsync.model.ListTypesRequest;
import software.amazon.awssdk.services.appsync.model.ListTypesResponse;
import software.amazon.awssdk.services.appsync.model.NotFoundException;
import software.amazon.awssdk.services.appsync.model.PutGraphqlApiEnvironmentVariablesRequest;
import software.amazon.awssdk.services.appsync.model.PutGraphqlApiEnvironmentVariablesResponse;
import software.amazon.awssdk.services.appsync.model.StartDataSourceIntrospectionRequest;
import software.amazon.awssdk.services.appsync.model.StartDataSourceIntrospectionResponse;
import software.amazon.awssdk.services.appsync.model.StartSchemaCreationRequest;
import software.amazon.awssdk.services.appsync.model.StartSchemaCreationResponse;
import software.amazon.awssdk.services.appsync.model.StartSchemaMergeRequest;
import software.amazon.awssdk.services.appsync.model.StartSchemaMergeResponse;
import software.amazon.awssdk.services.appsync.model.TagResourceRequest;
import software.amazon.awssdk.services.appsync.model.TagResourceResponse;
import software.amazon.awssdk.services.appsync.model.UnauthorizedException;
import software.amazon.awssdk.services.appsync.model.UntagResourceRequest;
import software.amazon.awssdk.services.appsync.model.UntagResourceResponse;
import software.amazon.awssdk.services.appsync.model.UpdateApiCacheRequest;
import software.amazon.awssdk.services.appsync.model.UpdateApiCacheResponse;
import software.amazon.awssdk.services.appsync.model.UpdateApiKeyRequest;
import software.amazon.awssdk.services.appsync.model.UpdateApiKeyResponse;
import software.amazon.awssdk.services.appsync.model.UpdateDataSourceRequest;
import software.amazon.awssdk.services.appsync.model.UpdateDataSourceResponse;
import software.amazon.awssdk.services.appsync.model.UpdateDomainNameRequest;
import software.amazon.awssdk.services.appsync.model.UpdateDomainNameResponse;
import software.amazon.awssdk.services.appsync.model.UpdateFunctionRequest;
import software.amazon.awssdk.services.appsync.model.UpdateFunctionResponse;
import software.amazon.awssdk.services.appsync.model.UpdateGraphqlApiRequest;
import software.amazon.awssdk.services.appsync.model.UpdateGraphqlApiResponse;
import software.amazon.awssdk.services.appsync.model.UpdateResolverRequest;
import software.amazon.awssdk.services.appsync.model.UpdateResolverResponse;
import software.amazon.awssdk.services.appsync.model.UpdateSourceApiAssociationRequest;
import software.amazon.awssdk.services.appsync.model.UpdateSourceApiAssociationResponse;
import software.amazon.awssdk.services.appsync.model.UpdateTypeRequest;
import software.amazon.awssdk.services.appsync.model.UpdateTypeResponse;
import software.amazon.awssdk.services.appsync.paginators.ListApiKeysIterable;
import software.amazon.awssdk.services.appsync.paginators.ListDataSourcesIterable;
import software.amazon.awssdk.services.appsync.paginators.ListDomainNamesIterable;
import software.amazon.awssdk.services.appsync.paginators.ListFunctionsIterable;
import software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable;
import software.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionIterable;
import software.amazon.awssdk.services.appsync.paginators.ListResolversIterable;
import software.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsIterable;
import software.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationIterable;
import software.amazon.awssdk.services.appsync.paginators.ListTypesIterable;

/**
 * Service client for accessing AWSAppSync. This can be created using the static {@link #builder()} method.
 *
 * 

* AppSync provides API actions for creating and interacting with data sources using GraphQL from your application. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface AppSyncClient extends AwsClient { String SERVICE_NAME = "appsync"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "appsync"; /** *

* Maps an endpoint to your custom domain. *

* * @param associateApiRequest * @return Result of the AssociateApi operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.AssociateApi * @see AWS API * Documentation */ default AssociateApiResponse associateApi(AssociateApiRequest associateApiRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Maps an endpoint to your custom domain. *

*
*

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

* * @param associateApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.AssociateApiRequest.Builder} to create a request. * @return Result of the AssociateApi operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.AssociateApi * @see AWS API * Documentation */ default AssociateApiResponse associateApi(Consumer associateApiRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return associateApi(AssociateApiRequest.builder().applyMutation(associateApiRequest).build()); } /** *

* Creates an association between a Merged API and source API using the source API's identifier. *

* * @param associateMergedGraphqlApiRequest * @return Result of the AssociateMergedGraphqlApi operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.AssociateMergedGraphqlApi * @see AWS API Documentation */ default AssociateMergedGraphqlApiResponse associateMergedGraphqlApi( AssociateMergedGraphqlApiRequest associateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates an association between a Merged API and source API using the source API's identifier. *

*
*

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

* * @param associateMergedGraphqlApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.AssociateMergedGraphqlApiRequest.Builder} to create a * request. * @return Result of the AssociateMergedGraphqlApi operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.AssociateMergedGraphqlApi * @see AWS API Documentation */ default AssociateMergedGraphqlApiResponse associateMergedGraphqlApi( Consumer associateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { return associateMergedGraphqlApi(AssociateMergedGraphqlApiRequest.builder() .applyMutation(associateMergedGraphqlApiRequest).build()); } /** *

* Creates an association between a Merged API and source API using the Merged API's identifier. *

* * @param associateSourceGraphqlApiRequest * @return Result of the AssociateSourceGraphqlApi operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.AssociateSourceGraphqlApi * @see AWS API Documentation */ default AssociateSourceGraphqlApiResponse associateSourceGraphqlApi( AssociateSourceGraphqlApiRequest associateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates an association between a Merged API and source API using the Merged API's identifier. *

*
*

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

* * @param associateSourceGraphqlApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.AssociateSourceGraphqlApiRequest.Builder} to create a * request. * @return Result of the AssociateSourceGraphqlApi operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.AssociateSourceGraphqlApi * @see AWS API Documentation */ default AssociateSourceGraphqlApiResponse associateSourceGraphqlApi( Consumer associateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { return associateSourceGraphqlApi(AssociateSourceGraphqlApiRequest.builder() .applyMutation(associateSourceGraphqlApiRequest).build()); } /** *

* Creates a cache for the GraphQL API. *

* * @param createApiCacheRequest * Represents the input of a CreateApiCache operation. * @return Result of the CreateApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateApiCache * @see AWS API * Documentation */ default CreateApiCacheResponse createApiCache(CreateApiCacheRequest createApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a cache for the GraphQL API. *

*
*

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

* * @param createApiCacheRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.CreateApiCacheRequest.Builder} to create a request. * Represents the input of a CreateApiCache operation. * @return Result of the CreateApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateApiCache * @see AWS API * Documentation */ default CreateApiCacheResponse createApiCache(Consumer createApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return createApiCache(CreateApiCacheRequest.builder().applyMutation(createApiCacheRequest).build()); } /** *

* Creates a unique key that you can distribute to clients who invoke your API. *

* * @param createApiKeyRequest * @return Result of the CreateApiKey operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws ApiKeyLimitExceededException * The API key exceeded a limit. Try your request again. * @throws ApiKeyValidityOutOfBoundsException * The API key expiration must be set to a value between 1 and 365 days from creation (for * CreateApiKey) or from update (for UpdateApiKey). * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateApiKey * @see AWS API * Documentation */ default CreateApiKeyResponse createApiKey(CreateApiKeyRequest createApiKeyRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, ApiKeyLimitExceededException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a unique key that you can distribute to clients who invoke your API. *

*
*

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

* * @param createApiKeyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.CreateApiKeyRequest.Builder} to create a request. * @return Result of the CreateApiKey operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws ApiKeyLimitExceededException * The API key exceeded a limit. Try your request again. * @throws ApiKeyValidityOutOfBoundsException * The API key expiration must be set to a value between 1 and 365 days from creation (for * CreateApiKey) or from update (for UpdateApiKey). * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateApiKey * @see AWS API * Documentation */ default CreateApiKeyResponse createApiKey(Consumer createApiKeyRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, ApiKeyLimitExceededException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException { return createApiKey(CreateApiKeyRequest.builder().applyMutation(createApiKeyRequest).build()); } /** *

* Creates a DataSource object. *

* * @param createDataSourceRequest * @return Result of the CreateDataSource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateDataSource * @see AWS API * Documentation */ default CreateDataSourceResponse createDataSource(CreateDataSourceRequest createDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a DataSource object. *

*
*

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

* * @param createDataSourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.CreateDataSourceRequest.Builder} to create a request. * @return Result of the CreateDataSource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateDataSource * @see AWS API * Documentation */ default CreateDataSourceResponse createDataSource(Consumer createDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return createDataSource(CreateDataSourceRequest.builder().applyMutation(createDataSourceRequest).build()); } /** *

* Creates a custom DomainName object. *

* * @param createDomainNameRequest * @return Result of the CreateDomainName operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateDomainName * @see AWS API * Documentation */ default CreateDomainNameResponse createDomainName(CreateDomainNameRequest createDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a custom DomainName object. *

*
*

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

* * @param createDomainNameRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.CreateDomainNameRequest.Builder} to create a request. * @return Result of the CreateDomainName operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateDomainName * @see AWS API * Documentation */ default CreateDomainNameResponse createDomainName(Consumer createDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return createDomainName(CreateDomainNameRequest.builder().applyMutation(createDomainNameRequest).build()); } /** *

* Creates a Function object. *

*

* A function is a reusable entity. You can use multiple functions to compose the resolver logic. *

* * @param createFunctionRequest * @return Result of the CreateFunction operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateFunction * @see AWS API * Documentation */ default CreateFunctionResponse createFunction(CreateFunctionRequest createFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a Function object. *

*

* A function is a reusable entity. You can use multiple functions to compose the resolver logic. *

*
*

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

* * @param createFunctionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.CreateFunctionRequest.Builder} to create a request. * @return Result of the CreateFunction operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateFunction * @see AWS API * Documentation */ default CreateFunctionResponse createFunction(Consumer createFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { return createFunction(CreateFunctionRequest.builder().applyMutation(createFunctionRequest).build()); } /** *

* Creates a GraphqlApi object. *

* * @param createGraphqlApiRequest * @return Result of the CreateGraphqlApi operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws ApiLimitExceededException * The GraphQL API exceeded a limit. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateGraphqlApi * @see AWS API * Documentation */ default CreateGraphqlApiResponse createGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest) throws BadRequestException, LimitExceededException, ConcurrentModificationException, UnauthorizedException, InternalFailureException, ApiLimitExceededException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a GraphqlApi object. *

*
*

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

* * @param createGraphqlApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.CreateGraphqlApiRequest.Builder} to create a request. * @return Result of the CreateGraphqlApi operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws ApiLimitExceededException * The GraphQL API exceeded a limit. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateGraphqlApi * @see AWS API * Documentation */ default CreateGraphqlApiResponse createGraphqlApi(Consumer createGraphqlApiRequest) throws BadRequestException, LimitExceededException, ConcurrentModificationException, UnauthorizedException, InternalFailureException, ApiLimitExceededException, AwsServiceException, SdkClientException, AppSyncException { return createGraphqlApi(CreateGraphqlApiRequest.builder().applyMutation(createGraphqlApiRequest).build()); } /** *

* Creates a Resolver object. *

*

* A resolver converts incoming requests into a format that a data source can understand, and converts the data * source's responses into GraphQL. *

* * @param createResolverRequest * @return Result of the CreateResolver operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateResolver * @see AWS API * Documentation */ default CreateResolverResponse createResolver(CreateResolverRequest createResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a Resolver object. *

*

* A resolver converts incoming requests into a format that a data source can understand, and converts the data * source's responses into GraphQL. *

*
*

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

* * @param createResolverRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.CreateResolverRequest.Builder} to create a request. * @return Result of the CreateResolver operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateResolver * @see AWS API * Documentation */ default CreateResolverResponse createResolver(Consumer createResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { return createResolver(CreateResolverRequest.builder().applyMutation(createResolverRequest).build()); } /** *

* Creates a Type object. *

* * @param createTypeRequest * @return Result of the CreateType operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateType * @see AWS API * Documentation */ default CreateTypeResponse createType(CreateTypeRequest createTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a Type object. *

*
*

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

* * @param createTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.CreateTypeRequest.Builder} to create a request. * @return Result of the CreateType operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.CreateType * @see AWS API * Documentation */ default CreateTypeResponse createType(Consumer createTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return createType(CreateTypeRequest.builder().applyMutation(createTypeRequest).build()); } /** *

* Deletes an ApiCache object. *

* * @param deleteApiCacheRequest * Represents the input of a DeleteApiCache operation. * @return Result of the DeleteApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteApiCache * @see AWS API * Documentation */ default DeleteApiCacheResponse deleteApiCache(DeleteApiCacheRequest deleteApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes an ApiCache object. *

*
*

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

* * @param deleteApiCacheRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DeleteApiCacheRequest.Builder} to create a request. * Represents the input of a DeleteApiCache operation. * @return Result of the DeleteApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteApiCache * @see AWS API * Documentation */ default DeleteApiCacheResponse deleteApiCache(Consumer deleteApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return deleteApiCache(DeleteApiCacheRequest.builder().applyMutation(deleteApiCacheRequest).build()); } /** *

* Deletes an API key. *

* * @param deleteApiKeyRequest * @return Result of the DeleteApiKey operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteApiKey * @see AWS API * Documentation */ default DeleteApiKeyResponse deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes an API key. *

*
*

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

* * @param deleteApiKeyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DeleteApiKeyRequest.Builder} to create a request. * @return Result of the DeleteApiKey operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteApiKey * @see AWS API * Documentation */ default DeleteApiKeyResponse deleteApiKey(Consumer deleteApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return deleteApiKey(DeleteApiKeyRequest.builder().applyMutation(deleteApiKeyRequest).build()); } /** *

* Deletes a DataSource object. *

* * @param deleteDataSourceRequest * @return Result of the DeleteDataSource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteDataSource * @see AWS API * Documentation */ default DeleteDataSourceResponse deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes a DataSource object. *

*
*

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

* * @param deleteDataSourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DeleteDataSourceRequest.Builder} to create a request. * @return Result of the DeleteDataSource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteDataSource * @see AWS API * Documentation */ default DeleteDataSourceResponse deleteDataSource(Consumer deleteDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return deleteDataSource(DeleteDataSourceRequest.builder().applyMutation(deleteDataSourceRequest).build()); } /** *

* Deletes a custom DomainName object. *

* * @param deleteDomainNameRequest * @return Result of the DeleteDomainName operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteDomainName * @see AWS API * Documentation */ default DeleteDomainNameResponse deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes a custom DomainName object. *

*
*

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

* * @param deleteDomainNameRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DeleteDomainNameRequest.Builder} to create a request. * @return Result of the DeleteDomainName operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteDomainName * @see AWS API * Documentation */ default DeleteDomainNameResponse deleteDomainName(Consumer deleteDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return deleteDomainName(DeleteDomainNameRequest.builder().applyMutation(deleteDomainNameRequest).build()); } /** *

* Deletes a Function. *

* * @param deleteFunctionRequest * @return Result of the DeleteFunction operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteFunction * @see AWS API * Documentation */ default DeleteFunctionResponse deleteFunction(DeleteFunctionRequest deleteFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes a Function. *

*
*

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

* * @param deleteFunctionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DeleteFunctionRequest.Builder} to create a request. * @return Result of the DeleteFunction operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteFunction * @see AWS API * Documentation */ default DeleteFunctionResponse deleteFunction(Consumer deleteFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { return deleteFunction(DeleteFunctionRequest.builder().applyMutation(deleteFunctionRequest).build()); } /** *

* Deletes a GraphqlApi object. *

* * @param deleteGraphqlApiRequest * @return Result of the DeleteGraphqlApi operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteGraphqlApi * @see AWS API * Documentation */ default DeleteGraphqlApiResponse deleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes a GraphqlApi object. *

*
*

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

* * @param deleteGraphqlApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DeleteGraphqlApiRequest.Builder} to create a request. * @return Result of the DeleteGraphqlApi operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteGraphqlApi * @see AWS API * Documentation */ default DeleteGraphqlApiResponse deleteGraphqlApi(Consumer deleteGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { return deleteGraphqlApi(DeleteGraphqlApiRequest.builder().applyMutation(deleteGraphqlApiRequest).build()); } /** *

* Deletes a Resolver object. *

* * @param deleteResolverRequest * @return Result of the DeleteResolver operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteResolver * @see AWS API * Documentation */ default DeleteResolverResponse deleteResolver(DeleteResolverRequest deleteResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes a Resolver object. *

*
*

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

* * @param deleteResolverRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DeleteResolverRequest.Builder} to create a request. * @return Result of the DeleteResolver operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteResolver * @see AWS API * Documentation */ default DeleteResolverResponse deleteResolver(Consumer deleteResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { return deleteResolver(DeleteResolverRequest.builder().applyMutation(deleteResolverRequest).build()); } /** *

* Deletes a Type object. *

* * @param deleteTypeRequest * @return Result of the DeleteType operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteType * @see AWS API * Documentation */ default DeleteTypeResponse deleteType(DeleteTypeRequest deleteTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes a Type object. *

*
*

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

* * @param deleteTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DeleteTypeRequest.Builder} to create a request. * @return Result of the DeleteType operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DeleteType * @see AWS API * Documentation */ default DeleteTypeResponse deleteType(Consumer deleteTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return deleteType(DeleteTypeRequest.builder().applyMutation(deleteTypeRequest).build()); } /** *

* Removes an ApiAssociation object from a custom domain. *

* * @param disassociateApiRequest * @return Result of the DisassociateApi operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DisassociateApi * @see AWS API * Documentation */ default DisassociateApiResponse disassociateApi(DisassociateApiRequest disassociateApiRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Removes an ApiAssociation object from a custom domain. *

*
*

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

* * @param disassociateApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DisassociateApiRequest.Builder} to create a request. * @return Result of the DisassociateApi operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DisassociateApi * @see AWS API * Documentation */ default DisassociateApiResponse disassociateApi(Consumer disassociateApiRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return disassociateApi(DisassociateApiRequest.builder().applyMutation(disassociateApiRequest).build()); } /** *

* Deletes an association between a Merged API and source API using the source API's identifier and the association * ID. *

* * @param disassociateMergedGraphqlApiRequest * @return Result of the DisassociateMergedGraphqlApi operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DisassociateMergedGraphqlApi * @see AWS API Documentation */ default DisassociateMergedGraphqlApiResponse disassociateMergedGraphqlApi( DisassociateMergedGraphqlApiRequest disassociateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes an association between a Merged API and source API using the source API's identifier and the association * ID. *

*
*

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

* * @param disassociateMergedGraphqlApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DisassociateMergedGraphqlApiRequest.Builder} to * create a request. * @return Result of the DisassociateMergedGraphqlApi operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DisassociateMergedGraphqlApi * @see AWS API Documentation */ default DisassociateMergedGraphqlApiResponse disassociateMergedGraphqlApi( Consumer disassociateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { return disassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest.builder() .applyMutation(disassociateMergedGraphqlApiRequest).build()); } /** *

* Deletes an association between a Merged API and source API using the Merged API's identifier and the association * ID. *

* * @param disassociateSourceGraphqlApiRequest * @return Result of the DisassociateSourceGraphqlApi operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DisassociateSourceGraphqlApi * @see AWS API Documentation */ default DisassociateSourceGraphqlApiResponse disassociateSourceGraphqlApi( DisassociateSourceGraphqlApiRequest disassociateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Deletes an association between a Merged API and source API using the Merged API's identifier and the association * ID. *

*
*

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

* * @param disassociateSourceGraphqlApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.DisassociateSourceGraphqlApiRequest.Builder} to * create a request. * @return Result of the DisassociateSourceGraphqlApi operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.DisassociateSourceGraphqlApi * @see AWS API Documentation */ default DisassociateSourceGraphqlApiResponse disassociateSourceGraphqlApi( Consumer disassociateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { return disassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest.builder() .applyMutation(disassociateSourceGraphqlApiRequest).build()); } /** *

* Evaluates the given code and returns the response. The code definition requirements depend on the specified * runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request * function takes the incoming request after a GraphQL operation is parsed and converts it into a request * configuration for the selected data source operation. The response function interprets responses from the data * source and maps it to the shape of the GraphQL field output type. *

* * @param evaluateCodeRequest * @return Result of the EvaluateCode operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.EvaluateCode * @see AWS API * Documentation */ default EvaluateCodeResponse evaluateCode(EvaluateCodeRequest evaluateCodeRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Evaluates the given code and returns the response. The code definition requirements depend on the specified * runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request * function takes the incoming request after a GraphQL operation is parsed and converts it into a request * configuration for the selected data source operation. The response function interprets responses from the data * source and maps it to the shape of the GraphQL field output type. *

*
*

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

* * @param evaluateCodeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.EvaluateCodeRequest.Builder} to create a request. * @return Result of the EvaluateCode operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.EvaluateCode * @see AWS API * Documentation */ default EvaluateCodeResponse evaluateCode(Consumer evaluateCodeRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { return evaluateCode(EvaluateCodeRequest.builder().applyMutation(evaluateCodeRequest).build()); } /** *

* Evaluates a given template and returns the response. The mapping template can be a request or response template. *

*

* Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request * configuration for the selected data source operation. Response templates interpret responses from the data source * and map it to the shape of the GraphQL field output type. *

*

* Mapping templates are written in the Apache Velocity Template Language (VTL). *

* * @param evaluateMappingTemplateRequest * @return Result of the EvaluateMappingTemplate operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.EvaluateMappingTemplate * @see AWS API Documentation */ default EvaluateMappingTemplateResponse evaluateMappingTemplate(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Evaluates a given template and returns the response. The mapping template can be a request or response template. *

*

* Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request * configuration for the selected data source operation. Response templates interpret responses from the data source * and map it to the shape of the GraphQL field output type. *

*

* Mapping templates are written in the Apache Velocity Template Language (VTL). *

*
*

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

* * @param evaluateMappingTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.EvaluateMappingTemplateRequest.Builder} to create a * request. * @return Result of the EvaluateMappingTemplate operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.EvaluateMappingTemplate * @see AWS API Documentation */ default EvaluateMappingTemplateResponse evaluateMappingTemplate( Consumer evaluateMappingTemplateRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { return evaluateMappingTemplate(EvaluateMappingTemplateRequest.builder().applyMutation(evaluateMappingTemplateRequest) .build()); } /** *

* Flushes an ApiCache object. *

* * @param flushApiCacheRequest * Represents the input of a FlushApiCache operation. * @return Result of the FlushApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.FlushApiCache * @see AWS API * Documentation */ default FlushApiCacheResponse flushApiCache(FlushApiCacheRequest flushApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Flushes an ApiCache object. *

*
*

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

* * @param flushApiCacheRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.FlushApiCacheRequest.Builder} to create a request. * Represents the input of a FlushApiCache operation. * @return Result of the FlushApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.FlushApiCache * @see AWS API * Documentation */ default FlushApiCacheResponse flushApiCache(Consumer flushApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return flushApiCache(FlushApiCacheRequest.builder().applyMutation(flushApiCacheRequest).build()); } /** *

* Retrieves an ApiAssociation object. *

* * @param getApiAssociationRequest * @return Result of the GetApiAssociation operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetApiAssociation * @see AWS API * Documentation */ default GetApiAssociationResponse getApiAssociation(GetApiAssociationRequest getApiAssociationRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves an ApiAssociation object. *

*
*

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

* * @param getApiAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetApiAssociationRequest.Builder} to create a * request. * @return Result of the GetApiAssociation operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetApiAssociation * @see AWS API * Documentation */ default GetApiAssociationResponse getApiAssociation(Consumer getApiAssociationRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return getApiAssociation(GetApiAssociationRequest.builder().applyMutation(getApiAssociationRequest).build()); } /** *

* Retrieves an ApiCache object. *

* * @param getApiCacheRequest * Represents the input of a GetApiCache operation. * @return Result of the GetApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetApiCache * @see AWS API * Documentation */ default GetApiCacheResponse getApiCache(GetApiCacheRequest getApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves an ApiCache object. *

*
*

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

* * @param getApiCacheRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetApiCacheRequest.Builder} to create a request. * Represents the input of a GetApiCache operation. * @return Result of the GetApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetApiCache * @see AWS API * Documentation */ default GetApiCacheResponse getApiCache(Consumer getApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return getApiCache(GetApiCacheRequest.builder().applyMutation(getApiCacheRequest).build()); } /** *

* Retrieves a DataSource object. *

* * @param getDataSourceRequest * @return Result of the GetDataSource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetDataSource * @see AWS API * Documentation */ default GetDataSourceResponse getDataSource(GetDataSourceRequest getDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves a DataSource object. *

*
*

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

* * @param getDataSourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetDataSourceRequest.Builder} to create a request. * @return Result of the GetDataSource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetDataSource * @see AWS API * Documentation */ default GetDataSourceResponse getDataSource(Consumer getDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return getDataSource(GetDataSourceRequest.builder().applyMutation(getDataSourceRequest).build()); } /** *

* Retrieves the record of an existing introspection. If the retrieval is successful, the result of the * instrospection will also be returned. If the retrieval fails the operation, an error message will be returned * instead. *

* * @param getDataSourceIntrospectionRequest * @return Result of the GetDataSourceIntrospection operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetDataSourceIntrospection * @see AWS API Documentation */ default GetDataSourceIntrospectionResponse getDataSourceIntrospection( GetDataSourceIntrospectionRequest getDataSourceIntrospectionRequest) throws BadRequestException, NotFoundException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves the record of an existing introspection. If the retrieval is successful, the result of the * instrospection will also be returned. If the retrieval fails the operation, an error message will be returned * instead. *

*
*

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

* * @param getDataSourceIntrospectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetDataSourceIntrospectionRequest.Builder} to create * a request. * @return Result of the GetDataSourceIntrospection operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetDataSourceIntrospection * @see AWS API Documentation */ default GetDataSourceIntrospectionResponse getDataSourceIntrospection( Consumer getDataSourceIntrospectionRequest) throws BadRequestException, NotFoundException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return getDataSourceIntrospection(GetDataSourceIntrospectionRequest.builder() .applyMutation(getDataSourceIntrospectionRequest).build()); } /** *

* Retrieves a custom DomainName object. *

* * @param getDomainNameRequest * @return Result of the GetDomainName operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetDomainName * @see AWS API * Documentation */ default GetDomainNameResponse getDomainName(GetDomainNameRequest getDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves a custom DomainName object. *

*
*

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

* * @param getDomainNameRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetDomainNameRequest.Builder} to create a request. * @return Result of the GetDomainName operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetDomainName * @see AWS API * Documentation */ default GetDomainNameResponse getDomainName(Consumer getDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return getDomainName(GetDomainNameRequest.builder().applyMutation(getDomainNameRequest).build()); } /** *

* Get a Function. *

* * @param getFunctionRequest * @return Result of the GetFunction operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetFunction * @see AWS API * Documentation */ default GetFunctionResponse getFunction(GetFunctionRequest getFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Get a Function. *

*
*

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

* * @param getFunctionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetFunctionRequest.Builder} to create a request. * @return Result of the GetFunction operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetFunction * @see AWS API * Documentation */ default GetFunctionResponse getFunction(Consumer getFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException { return getFunction(GetFunctionRequest.builder().applyMutation(getFunctionRequest).build()); } /** *

* Retrieves a GraphqlApi object. *

* * @param getGraphqlApiRequest * @return Result of the GetGraphqlApi operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetGraphqlApi * @see AWS API * Documentation */ default GetGraphqlApiResponse getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves a GraphqlApi object. *

*
*

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

* * @param getGraphqlApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetGraphqlApiRequest.Builder} to create a request. * @return Result of the GetGraphqlApi operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetGraphqlApi * @see AWS API * Documentation */ default GetGraphqlApiResponse getGraphqlApi(Consumer getGraphqlApiRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { return getGraphqlApi(GetGraphqlApiRequest.builder().applyMutation(getGraphqlApiRequest).build()); } /** *

* Retrieves the list of environmental variable key-value pairs associated with an API by its ID value. *

* * @param getGraphqlApiEnvironmentVariablesRequest * @return Result of the GetGraphqlApiEnvironmentVariables operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetGraphqlApiEnvironmentVariables * @see AWS API Documentation */ default GetGraphqlApiEnvironmentVariablesResponse getGraphqlApiEnvironmentVariables( GetGraphqlApiEnvironmentVariablesRequest getGraphqlApiEnvironmentVariablesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves the list of environmental variable key-value pairs associated with an API by its ID value. *

*
*

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

* * @param getGraphqlApiEnvironmentVariablesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetGraphqlApiEnvironmentVariablesRequest.Builder} to * create a request. * @return Result of the GetGraphqlApiEnvironmentVariables operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetGraphqlApiEnvironmentVariables * @see AWS API Documentation */ default GetGraphqlApiEnvironmentVariablesResponse getGraphqlApiEnvironmentVariables( Consumer getGraphqlApiEnvironmentVariablesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { return getGraphqlApiEnvironmentVariables(GetGraphqlApiEnvironmentVariablesRequest.builder() .applyMutation(getGraphqlApiEnvironmentVariablesRequest).build()); } /** *

* Retrieves the introspection schema for a GraphQL API. *

* * @param getIntrospectionSchemaRequest * @return Result of the GetIntrospectionSchema operation returned by the service. * @throws GraphQlSchemaException * The GraphQL schema is not valid. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetIntrospectionSchema * @see AWS API Documentation */ default GetIntrospectionSchemaResponse getIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest) throws GraphQlSchemaException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves the introspection schema for a GraphQL API. *

*
*

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

* * @param getIntrospectionSchemaRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetIntrospectionSchemaRequest.Builder} to create a * request. * @return Result of the GetIntrospectionSchema operation returned by the service. * @throws GraphQlSchemaException * The GraphQL schema is not valid. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetIntrospectionSchema * @see AWS API Documentation */ default GetIntrospectionSchemaResponse getIntrospectionSchema( Consumer getIntrospectionSchemaRequest) throws GraphQlSchemaException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return getIntrospectionSchema(GetIntrospectionSchemaRequest.builder().applyMutation(getIntrospectionSchemaRequest) .build()); } /** *

* Retrieves a Resolver object. *

* * @param getResolverRequest * @return Result of the GetResolver operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetResolver * @see AWS API * Documentation */ default GetResolverResponse getResolver(GetResolverRequest getResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves a Resolver object. *

*
*

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

* * @param getResolverRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetResolverRequest.Builder} to create a request. * @return Result of the GetResolver operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetResolver * @see AWS API * Documentation */ default GetResolverResponse getResolver(Consumer getResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException { return getResolver(GetResolverRequest.builder().applyMutation(getResolverRequest).build()); } /** *

* Retrieves the current status of a schema creation operation. *

* * @param getSchemaCreationStatusRequest * @return Result of the GetSchemaCreationStatus operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetSchemaCreationStatus * @see AWS API Documentation */ default GetSchemaCreationStatusResponse getSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves the current status of a schema creation operation. *

*
*

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

* * @param getSchemaCreationStatusRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetSchemaCreationStatusRequest.Builder} to create a * request. * @return Result of the GetSchemaCreationStatus operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetSchemaCreationStatus * @see AWS API Documentation */ default GetSchemaCreationStatusResponse getSchemaCreationStatus( Consumer getSchemaCreationStatusRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return getSchemaCreationStatus(GetSchemaCreationStatusRequest.builder().applyMutation(getSchemaCreationStatusRequest) .build()); } /** *

* Retrieves a SourceApiAssociation object. *

* * @param getSourceApiAssociationRequest * @return Result of the GetSourceApiAssociation operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetSourceApiAssociation * @see AWS API Documentation */ default GetSourceApiAssociationResponse getSourceApiAssociation(GetSourceApiAssociationRequest getSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves a SourceApiAssociation object. *

*
*

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

* * @param getSourceApiAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetSourceApiAssociationRequest.Builder} to create a * request. * @return Result of the GetSourceApiAssociation operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetSourceApiAssociation * @see AWS API Documentation */ default GetSourceApiAssociationResponse getSourceApiAssociation( Consumer getSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return getSourceApiAssociation(GetSourceApiAssociationRequest.builder().applyMutation(getSourceApiAssociationRequest) .build()); } /** *

* Retrieves a Type object. *

* * @param getTypeRequest * @return Result of the GetType operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetType * @see AWS API * Documentation */ default GetTypeResponse getType(GetTypeRequest getTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Retrieves a Type object. *

*
*

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

* * @param getTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.GetTypeRequest.Builder} to create a request. * @return Result of the GetType operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.GetType * @see AWS API * Documentation */ default GetTypeResponse getType(Consumer getTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return getType(GetTypeRequest.builder().applyMutation(getTypeRequest).build()); } /** *

* Lists the API keys for a given API. *

* *

* API keys are deleted automatically 60 days after they expire. However, they may still be included in the response * until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key * before it's automatically deleted. *

*
* * @param listApiKeysRequest * @return Result of the ListApiKeys operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListApiKeys * @see AWS API * Documentation */ default ListApiKeysResponse listApiKeys(ListApiKeysRequest listApiKeysRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Lists the API keys for a given API. *

* *

* API keys are deleted automatically 60 days after they expire. However, they may still be included in the response * until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key * before it's automatically deleted. *

*

*

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

* * @param listApiKeysRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListApiKeysRequest.Builder} to create a request. * @return Result of the ListApiKeys operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListApiKeys * @see AWS API * Documentation */ default ListApiKeysResponse listApiKeys(Consumer listApiKeysRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listApiKeys(ListApiKeysRequest.builder().applyMutation(listApiKeysRequest).build()); } /** *

* This is a variant of {@link #listApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListApiKeysIterable responses = client.listApiKeysPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListApiKeysIterable responses = client.listApiKeysPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListApiKeysResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListApiKeysIterable responses = client.listApiKeysPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)} operation. *

* * @param listApiKeysRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListApiKeys * @see AWS API * Documentation */ default ListApiKeysIterable listApiKeysPaginator(ListApiKeysRequest listApiKeysRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return new ListApiKeysIterable(this, listApiKeysRequest); } /** *

* This is a variant of {@link #listApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListApiKeysIterable responses = client.listApiKeysPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListApiKeysIterable responses = client.listApiKeysPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListApiKeysResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListApiKeysIterable responses = client.listApiKeysPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)} operation. *

*
*

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

* * @param listApiKeysRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListApiKeysRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListApiKeys * @see AWS API * Documentation */ default ListApiKeysIterable listApiKeysPaginator(Consumer listApiKeysRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listApiKeysPaginator(ListApiKeysRequest.builder().applyMutation(listApiKeysRequest).build()); } /** *

* Lists the data sources for a given API. *

* * @param listDataSourcesRequest * @return Result of the ListDataSources operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListDataSources * @see AWS API * Documentation */ default ListDataSourcesResponse listDataSources(ListDataSourcesRequest listDataSourcesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Lists the data sources for a given API. *

*
*

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

* * @param listDataSourcesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest.Builder} to create a request. * @return Result of the ListDataSources operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListDataSources * @see AWS API * Documentation */ default ListDataSourcesResponse listDataSources(Consumer listDataSourcesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listDataSources(ListDataSourcesRequest.builder().applyMutation(listDataSourcesRequest).build()); } /** *

* This is a variant of * {@link #listDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListDataSourcesIterable responses = client.listDataSourcesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListDataSourcesIterable responses = client
     *             .listDataSourcesPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListDataSourcesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListDataSourcesIterable responses = client.listDataSourcesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)} operation. *

* * @param listDataSourcesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListDataSources * @see AWS API * Documentation */ default ListDataSourcesIterable listDataSourcesPaginator(ListDataSourcesRequest listDataSourcesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return new ListDataSourcesIterable(this, listDataSourcesRequest); } /** *

* This is a variant of * {@link #listDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListDataSourcesIterable responses = client.listDataSourcesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListDataSourcesIterable responses = client
     *             .listDataSourcesPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListDataSourcesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListDataSourcesIterable responses = client.listDataSourcesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)} operation. *

*
*

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

* * @param listDataSourcesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListDataSources * @see AWS API * Documentation */ default ListDataSourcesIterable listDataSourcesPaginator(Consumer listDataSourcesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listDataSourcesPaginator(ListDataSourcesRequest.builder().applyMutation(listDataSourcesRequest).build()); } /** *

* Lists multiple custom domain names. *

* * @param listDomainNamesRequest * @return Result of the ListDomainNames operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListDomainNames * @see AWS API * Documentation */ default ListDomainNamesResponse listDomainNames(ListDomainNamesRequest listDomainNamesRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Lists multiple custom domain names. *

*
*

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

* * @param listDomainNamesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest.Builder} to create a request. * @return Result of the ListDomainNames operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListDomainNames * @see AWS API * Documentation */ default ListDomainNamesResponse listDomainNames(Consumer listDomainNamesRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listDomainNames(ListDomainNamesRequest.builder().applyMutation(listDomainNamesRequest).build()); } /** *

* This is a variant of * {@link #listDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListDomainNamesIterable responses = client.listDomainNamesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListDomainNamesIterable responses = client
     *             .listDomainNamesPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListDomainNamesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListDomainNamesIterable responses = client.listDomainNamesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)} operation. *

* * @param listDomainNamesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListDomainNames * @see AWS API * Documentation */ default ListDomainNamesIterable listDomainNamesPaginator(ListDomainNamesRequest listDomainNamesRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return new ListDomainNamesIterable(this, listDomainNamesRequest); } /** *

* This is a variant of * {@link #listDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListDomainNamesIterable responses = client.listDomainNamesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListDomainNamesIterable responses = client
     *             .listDomainNamesPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListDomainNamesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListDomainNamesIterable responses = client.listDomainNamesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)} operation. *

*
*

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

* * @param listDomainNamesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListDomainNames * @see AWS API * Documentation */ default ListDomainNamesIterable listDomainNamesPaginator(Consumer listDomainNamesRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listDomainNamesPaginator(ListDomainNamesRequest.builder().applyMutation(listDomainNamesRequest).build()); } /** *

* List multiple functions. *

* * @param listFunctionsRequest * @return Result of the ListFunctions operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListFunctions * @see AWS API * Documentation */ default ListFunctionsResponse listFunctions(ListFunctionsRequest listFunctionsRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* List multiple functions. *

*
*

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

* * @param listFunctionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListFunctionsRequest.Builder} to create a request. * @return Result of the ListFunctions operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListFunctions * @see AWS API * Documentation */ default ListFunctionsResponse listFunctions(Consumer listFunctionsRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listFunctions(ListFunctionsRequest.builder().applyMutation(listFunctionsRequest).build()); } /** *

* This is a variant of {@link #listFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListFunctionsIterable responses = client.listFunctionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListFunctionsIterable responses = client.listFunctionsPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListFunctionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListFunctionsIterable responses = client.listFunctionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)} operation. *

* * @param listFunctionsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListFunctions * @see AWS API * Documentation */ default ListFunctionsIterable listFunctionsPaginator(ListFunctionsRequest listFunctionsRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return new ListFunctionsIterable(this, listFunctionsRequest); } /** *

* This is a variant of {@link #listFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListFunctionsIterable responses = client.listFunctionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListFunctionsIterable responses = client.listFunctionsPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListFunctionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListFunctionsIterable responses = client.listFunctionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)} operation. *

*
*

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

* * @param listFunctionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListFunctionsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListFunctions * @see AWS API * Documentation */ default ListFunctionsIterable listFunctionsPaginator(Consumer listFunctionsRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listFunctionsPaginator(ListFunctionsRequest.builder().applyMutation(listFunctionsRequest).build()); } /** *

* Lists your GraphQL APIs. *

* * @param listGraphqlApisRequest * @return Result of the ListGraphqlApis operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListGraphqlApis * @see AWS API * Documentation */ default ListGraphqlApisResponse listGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest) throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Lists your GraphQL APIs. *

*
*

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

* * @param listGraphqlApisRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest.Builder} to create a request. * @return Result of the ListGraphqlApis operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListGraphqlApis * @see AWS API * Documentation */ default ListGraphqlApisResponse listGraphqlApis(Consumer listGraphqlApisRequest) throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listGraphqlApis(ListGraphqlApisRequest.builder().applyMutation(listGraphqlApisRequest).build()); } /** *

* Lists your GraphQL APIs. *

* * @return Result of the ListGraphqlApis operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListGraphqlApis * @see #listGraphqlApis(ListGraphqlApisRequest) * @see AWS API * Documentation */ default ListGraphqlApisResponse listGraphqlApis() throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listGraphqlApis(ListGraphqlApisRequest.builder().build()); } /** *

* This is a variant of * {@link #listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable responses = client.listGraphqlApisPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable responses = client
     *             .listGraphqlApisPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable responses = client.listGraphqlApisPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)} operation. *

* * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListGraphqlApis * @see #listGraphqlApisPaginator(ListGraphqlApisRequest) * @see AWS API * Documentation */ default ListGraphqlApisIterable listGraphqlApisPaginator() throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listGraphqlApisPaginator(ListGraphqlApisRequest.builder().build()); } /** *

* This is a variant of * {@link #listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable responses = client.listGraphqlApisPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable responses = client
     *             .listGraphqlApisPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable responses = client.listGraphqlApisPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)} operation. *

* * @param listGraphqlApisRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListGraphqlApis * @see AWS API * Documentation */ default ListGraphqlApisIterable listGraphqlApisPaginator(ListGraphqlApisRequest listGraphqlApisRequest) throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return new ListGraphqlApisIterable(this, listGraphqlApisRequest); } /** *

* This is a variant of * {@link #listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable responses = client.listGraphqlApisPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable responses = client
     *             .listGraphqlApisPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisIterable responses = client.listGraphqlApisPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)} operation. *

*
*

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

* * @param listGraphqlApisRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListGraphqlApis * @see AWS API * Documentation */ default ListGraphqlApisIterable listGraphqlApisPaginator(Consumer listGraphqlApisRequest) throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listGraphqlApisPaginator(ListGraphqlApisRequest.builder().applyMutation(listGraphqlApisRequest).build()); } /** *

* Lists the resolvers for a given API and type. *

* * @param listResolversRequest * @return Result of the ListResolvers operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListResolvers * @see AWS API * Documentation */ default ListResolversResponse listResolvers(ListResolversRequest listResolversRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Lists the resolvers for a given API and type. *

*
*

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

* * @param listResolversRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListResolversRequest.Builder} to create a request. * @return Result of the ListResolvers operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListResolvers * @see AWS API * Documentation */ default ListResolversResponse listResolvers(Consumer listResolversRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listResolvers(ListResolversRequest.builder().applyMutation(listResolversRequest).build()); } /** *

* This is a variant of {@link #listResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListResolversIterable responses = client.listResolversPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListResolversIterable responses = client.listResolversPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListResolversResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListResolversIterable responses = client.listResolversPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)} operation. *

* * @param listResolversRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListResolvers * @see AWS API * Documentation */ default ListResolversIterable listResolversPaginator(ListResolversRequest listResolversRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return new ListResolversIterable(this, listResolversRequest); } /** *

* This is a variant of {@link #listResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListResolversIterable responses = client.listResolversPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListResolversIterable responses = client.listResolversPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListResolversResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListResolversIterable responses = client.listResolversPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)} operation. *

*
*

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

* * @param listResolversRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListResolversRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListResolvers * @see AWS API * Documentation */ default ListResolversIterable listResolversPaginator(Consumer listResolversRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listResolversPaginator(ListResolversRequest.builder().applyMutation(listResolversRequest).build()); } /** *

* List the resolvers that are associated with a specific function. *

* * @param listResolversByFunctionRequest * @return Result of the ListResolversByFunction operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListResolversByFunction * @see AWS API Documentation */ default ListResolversByFunctionResponse listResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* List the resolvers that are associated with a specific function. *

*
*

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

* * @param listResolversByFunctionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest.Builder} to create a * request. * @return Result of the ListResolversByFunction operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListResolversByFunction * @see AWS API Documentation */ default ListResolversByFunctionResponse listResolversByFunction( Consumer listResolversByFunctionRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listResolversByFunction(ListResolversByFunctionRequest.builder().applyMutation(listResolversByFunctionRequest) .build()); } /** *

* This is a variant of * {@link #listResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionIterable responses = client.listResolversByFunctionPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionIterable responses = client
     *             .listResolversByFunctionPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListResolversByFunctionResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionIterable responses = client.listResolversByFunctionPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)} * operation. *

* * @param listResolversByFunctionRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListResolversByFunction * @see AWS API Documentation */ default ListResolversByFunctionIterable listResolversByFunctionPaginator( ListResolversByFunctionRequest listResolversByFunctionRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return new ListResolversByFunctionIterable(this, listResolversByFunctionRequest); } /** *

* This is a variant of * {@link #listResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionIterable responses = client.listResolversByFunctionPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionIterable responses = client
     *             .listResolversByFunctionPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListResolversByFunctionResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionIterable responses = client.listResolversByFunctionPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)} * operation. *

*
*

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

* * @param listResolversByFunctionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListResolversByFunction * @see AWS API Documentation */ default ListResolversByFunctionIterable listResolversByFunctionPaginator( Consumer listResolversByFunctionRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listResolversByFunctionPaginator(ListResolversByFunctionRequest.builder() .applyMutation(listResolversByFunctionRequest).build()); } /** *

* Lists the SourceApiAssociationSummary data. *

* * @param listSourceApiAssociationsRequest * @return Result of the ListSourceApiAssociations operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListSourceApiAssociations * @see AWS API Documentation */ default ListSourceApiAssociationsResponse listSourceApiAssociations( ListSourceApiAssociationsRequest listSourceApiAssociationsRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Lists the SourceApiAssociationSummary data. *

*
*

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

* * @param listSourceApiAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest.Builder} to create a * request. * @return Result of the ListSourceApiAssociations operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListSourceApiAssociations * @see AWS API Documentation */ default ListSourceApiAssociationsResponse listSourceApiAssociations( Consumer listSourceApiAssociationsRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return listSourceApiAssociations(ListSourceApiAssociationsRequest.builder() .applyMutation(listSourceApiAssociationsRequest).build()); } /** *

* This is a variant of * {@link #listSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsIterable responses = client.listSourceApiAssociationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsIterable responses = client
     *             .listSourceApiAssociationsPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsIterable responses = client.listSourceApiAssociationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)} * operation. *

* * @param listSourceApiAssociationsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListSourceApiAssociations * @see AWS API Documentation */ default ListSourceApiAssociationsIterable listSourceApiAssociationsPaginator( ListSourceApiAssociationsRequest listSourceApiAssociationsRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return new ListSourceApiAssociationsIterable(this, listSourceApiAssociationsRequest); } /** *

* This is a variant of * {@link #listSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsIterable responses = client.listSourceApiAssociationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsIterable responses = client
     *             .listSourceApiAssociationsPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsIterable responses = client.listSourceApiAssociationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)} * operation. *

*
*

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

* * @param listSourceApiAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListSourceApiAssociations * @see AWS API Documentation */ default ListSourceApiAssociationsIterable listSourceApiAssociationsPaginator( Consumer listSourceApiAssociationsRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return listSourceApiAssociationsPaginator(ListSourceApiAssociationsRequest.builder() .applyMutation(listSourceApiAssociationsRequest).build()); } /** *

* Lists the tags for a resource. *

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Lists the tags for a resource. *

*
*

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

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListTagsForResourceRequest.Builder} to create a * request. * @return Result of the ListTagsForResource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Lists the types for a given API. *

* * @param listTypesRequest * @return Result of the ListTypes operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTypes * @see AWS API * Documentation */ default ListTypesResponse listTypes(ListTypesRequest listTypesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Lists the types for a given API. *

*
*

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

* * @param listTypesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListTypesRequest.Builder} to create a request. * @return Result of the ListTypes operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTypes * @see AWS API * Documentation */ default ListTypesResponse listTypes(Consumer listTypesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listTypes(ListTypesRequest.builder().applyMutation(listTypesRequest).build()); } /** *

* This is a variant of {@link #listTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListTypesIterable responses = client.listTypesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListTypesIterable responses = client.listTypesPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListTypesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListTypesIterable responses = client.listTypesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)} operation. *

* * @param listTypesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTypes * @see AWS API * Documentation */ default ListTypesIterable listTypesPaginator(ListTypesRequest listTypesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return new ListTypesIterable(this, listTypesRequest); } /** *

* This is a variant of {@link #listTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListTypesIterable responses = client.listTypesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListTypesIterable responses = client.listTypesPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListTypesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListTypesIterable responses = client.listTypesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)} operation. *

*
*

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

* * @param listTypesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListTypesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTypes * @see AWS API * Documentation */ default ListTypesIterable listTypesPaginator(Consumer listTypesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listTypesPaginator(ListTypesRequest.builder().applyMutation(listTypesRequest).build()); } /** *

* Lists Type objects by the source API association ID. *

* * @param listTypesByAssociationRequest * @return Result of the ListTypesByAssociation operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTypesByAssociation * @see AWS API Documentation */ default ListTypesByAssociationResponse listTypesByAssociation(ListTypesByAssociationRequest listTypesByAssociationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Lists Type objects by the source API association ID. *

*
*

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

* * @param listTypesByAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest.Builder} to create a * request. * @return Result of the ListTypesByAssociation operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTypesByAssociation * @see AWS API Documentation */ default ListTypesByAssociationResponse listTypesByAssociation( Consumer listTypesByAssociationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listTypesByAssociation(ListTypesByAssociationRequest.builder().applyMutation(listTypesByAssociationRequest) .build()); } /** *

* This is a variant of * {@link #listTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationIterable responses = client.listTypesByAssociationPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationIterable responses = client
     *             .listTypesByAssociationPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListTypesByAssociationResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationIterable responses = client.listTypesByAssociationPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)} * operation. *

* * @param listTypesByAssociationRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTypesByAssociation * @see AWS API Documentation */ default ListTypesByAssociationIterable listTypesByAssociationPaginator( ListTypesByAssociationRequest listTypesByAssociationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return new ListTypesByAssociationIterable(this, listTypesByAssociationRequest); } /** *

* This is a variant of * {@link #listTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationIterable responses = client.listTypesByAssociationPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationIterable responses = client
     *             .listTypesByAssociationPaginator(request);
     *     for (software.amazon.awssdk.services.appsync.model.ListTypesByAssociationResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationIterable responses = client.listTypesByAssociationPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)} * operation. *

*
*

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

* * @param listTypesByAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.ListTypesByAssociation * @see AWS API Documentation */ default ListTypesByAssociationIterable listTypesByAssociationPaginator( Consumer listTypesByAssociationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return listTypesByAssociationPaginator(ListTypesByAssociationRequest.builder() .applyMutation(listTypesByAssociationRequest).build()); } /** *

* Creates a list of environmental variables in an API by its ID value. *

*

* When creating an environmental variable, it must follow the constraints below: *

*
    *
  • *

    * Both JavaScript and VTL templates support environmental variables. *

    *
  • *
  • *

    * Environmental variables are not evaluated before function invocation. *

    *
  • *
  • *

    * Environmental variables only support string values. *

    *
  • *
  • *

    * Any defined value in an environmental variable is considered a string literal and not expanded. *

    *
  • *
  • *

    * Variable evaluations should ideally be performed in the function code. *

    *
  • *
*

* When creating an environmental variable key-value pair, it must follow the additional constraints below: *

*
    *
  • *

    * Keys must begin with a letter. *

    *
  • *
  • *

    * Keys must be at least two characters long. *

    *
  • *
  • *

    * Keys can only contain letters, numbers, and the underscore character (_). *

    *
  • *
  • *

    * Values can be up to 512 characters long. *

    *
  • *
  • *

    * You can configure up to 50 key-value pairs in a GraphQL API. *

    *
  • *
*

* You can create a list of environmental variables by adding it to the environmentVariables payload as * a list in the format {"key1":"value1","key2":"value2", …}. Note that each call of the * PutGraphqlApiEnvironmentVariables action will result in the overwriting of the existing * environmental variable list of that API. This means the existing environmental variables will be lost. To avoid * this, you must include all existing and new environmental variables in the list each time you call this action. *

* * @param putGraphqlApiEnvironmentVariablesRequest * @return Result of the PutGraphqlApiEnvironmentVariables operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.PutGraphqlApiEnvironmentVariables * @see AWS API Documentation */ default PutGraphqlApiEnvironmentVariablesResponse putGraphqlApiEnvironmentVariables( PutGraphqlApiEnvironmentVariablesRequest putGraphqlApiEnvironmentVariablesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a list of environmental variables in an API by its ID value. *

*

* When creating an environmental variable, it must follow the constraints below: *

*
    *
  • *

    * Both JavaScript and VTL templates support environmental variables. *

    *
  • *
  • *

    * Environmental variables are not evaluated before function invocation. *

    *
  • *
  • *

    * Environmental variables only support string values. *

    *
  • *
  • *

    * Any defined value in an environmental variable is considered a string literal and not expanded. *

    *
  • *
  • *

    * Variable evaluations should ideally be performed in the function code. *

    *
  • *
*

* When creating an environmental variable key-value pair, it must follow the additional constraints below: *

*
    *
  • *

    * Keys must begin with a letter. *

    *
  • *
  • *

    * Keys must be at least two characters long. *

    *
  • *
  • *

    * Keys can only contain letters, numbers, and the underscore character (_). *

    *
  • *
  • *

    * Values can be up to 512 characters long. *

    *
  • *
  • *

    * You can configure up to 50 key-value pairs in a GraphQL API. *

    *
  • *
*

* You can create a list of environmental variables by adding it to the environmentVariables payload as * a list in the format {"key1":"value1","key2":"value2", …}. Note that each call of the * PutGraphqlApiEnvironmentVariables action will result in the overwriting of the existing * environmental variable list of that API. This means the existing environmental variables will be lost. To avoid * this, you must include all existing and new environmental variables in the list each time you call this action. *

*
*

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

* * @param putGraphqlApiEnvironmentVariablesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.PutGraphqlApiEnvironmentVariablesRequest.Builder} to * create a request. * @return Result of the PutGraphqlApiEnvironmentVariables operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.PutGraphqlApiEnvironmentVariables * @see AWS API Documentation */ default PutGraphqlApiEnvironmentVariablesResponse putGraphqlApiEnvironmentVariables( Consumer putGraphqlApiEnvironmentVariablesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { return putGraphqlApiEnvironmentVariables(PutGraphqlApiEnvironmentVariablesRequest.builder() .applyMutation(putGraphqlApiEnvironmentVariablesRequest).build()); } /** *

* Creates a new introspection. Returns the introspectionId of the new introspection after its * creation. *

* * @param startDataSourceIntrospectionRequest * @return Result of the StartDataSourceIntrospection operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.StartDataSourceIntrospection * @see AWS API Documentation */ default StartDataSourceIntrospectionResponse startDataSourceIntrospection( StartDataSourceIntrospectionRequest startDataSourceIntrospectionRequest) throws NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Creates a new introspection. Returns the introspectionId of the new introspection after its * creation. *

*
*

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

* * @param startDataSourceIntrospectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.StartDataSourceIntrospectionRequest.Builder} to * create a request. * @return Result of the StartDataSourceIntrospection operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.StartDataSourceIntrospection * @see AWS API Documentation */ default StartDataSourceIntrospectionResponse startDataSourceIntrospection( Consumer startDataSourceIntrospectionRequest) throws NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { return startDataSourceIntrospection(StartDataSourceIntrospectionRequest.builder() .applyMutation(startDataSourceIntrospectionRequest).build()); } /** *

* Adds a new schema to your GraphQL API. *

*

* This operation is asynchronous. Use to determine when it has completed. *

* * @param startSchemaCreationRequest * @return Result of the StartSchemaCreation operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.StartSchemaCreation * @see AWS * API Documentation */ default StartSchemaCreationResponse startSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Adds a new schema to your GraphQL API. *

*

* This operation is asynchronous. Use to determine when it has completed. *

*
*

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

* * @param startSchemaCreationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.StartSchemaCreationRequest.Builder} to create a * request. * @return Result of the StartSchemaCreation operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.StartSchemaCreation * @see AWS * API Documentation */ default StartSchemaCreationResponse startSchemaCreation( Consumer startSchemaCreationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return startSchemaCreation(StartSchemaCreationRequest.builder().applyMutation(startSchemaCreationRequest).build()); } /** *

* Initiates a merge operation. Returns a status that shows the result of the merge operation. *

* * @param startSchemaMergeRequest * @return Result of the StartSchemaMerge operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.StartSchemaMerge * @see AWS API * Documentation */ default StartSchemaMergeResponse startSchemaMerge(StartSchemaMergeRequest startSchemaMergeRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Initiates a merge operation. Returns a status that shows the result of the merge operation. *

*
*

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

* * @param startSchemaMergeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.StartSchemaMergeRequest.Builder} to create a request. * @return Result of the StartSchemaMerge operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.StartSchemaMerge * @see AWS API * Documentation */ default StartSchemaMergeResponse startSchemaMerge(Consumer startSchemaMergeRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { return startSchemaMerge(StartSchemaMergeRequest.builder().applyMutation(startSchemaMergeRequest).build()); } /** *

* Tags a resource with user-supplied tags. *

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Tags a resource with user-supplied tags. *

*
*

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

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.TagResourceRequest.Builder} to create a request. * @return Result of the TagResource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Untags a resource. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Untags a resource. *

*
*

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

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UntagResourceRequest.Builder} to create a request. * @return Result of the UntagResource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates the cache for the GraphQL API. *

* * @param updateApiCacheRequest * Represents the input of a UpdateApiCache operation. * @return Result of the UpdateApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateApiCache * @see AWS API * Documentation */ default UpdateApiCacheResponse updateApiCache(UpdateApiCacheRequest updateApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Updates the cache for the GraphQL API. *

*
*

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

* * @param updateApiCacheRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UpdateApiCacheRequest.Builder} to create a request. * Represents the input of a UpdateApiCache operation. * @return Result of the UpdateApiCache operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateApiCache * @see AWS API * Documentation */ default UpdateApiCacheResponse updateApiCache(Consumer updateApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return updateApiCache(UpdateApiCacheRequest.builder().applyMutation(updateApiCacheRequest).build()); } /** *

* Updates an API key. You can update the key as long as it's not deleted. *

* * @param updateApiKeyRequest * @return Result of the UpdateApiKey operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws ApiKeyValidityOutOfBoundsException * The API key expiration must be set to a value between 1 and 365 days from creation (for * CreateApiKey) or from update (for UpdateApiKey). * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateApiKey * @see AWS API * Documentation */ default UpdateApiKeyResponse updateApiKey(UpdateApiKeyRequest updateApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, LimitExceededException, InternalFailureException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Updates an API key. You can update the key as long as it's not deleted. *

*
*

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

* * @param updateApiKeyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UpdateApiKeyRequest.Builder} to create a request. * @return Result of the UpdateApiKey operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws LimitExceededException * The request exceeded a limit. Try your request again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws ApiKeyValidityOutOfBoundsException * The API key expiration must be set to a value between 1 and 365 days from creation (for * CreateApiKey) or from update (for UpdateApiKey). * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateApiKey * @see AWS API * Documentation */ default UpdateApiKeyResponse updateApiKey(Consumer updateApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, LimitExceededException, InternalFailureException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException { return updateApiKey(UpdateApiKeyRequest.builder().applyMutation(updateApiKeyRequest).build()); } /** *

* Updates a DataSource object. *

* * @param updateDataSourceRequest * @return Result of the UpdateDataSource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateDataSource * @see AWS API * Documentation */ default UpdateDataSourceResponse updateDataSource(UpdateDataSourceRequest updateDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Updates a DataSource object. *

*
*

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

* * @param updateDataSourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UpdateDataSourceRequest.Builder} to create a request. * @return Result of the UpdateDataSource operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateDataSource * @see AWS API * Documentation */ default UpdateDataSourceResponse updateDataSource(Consumer updateDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return updateDataSource(UpdateDataSourceRequest.builder().applyMutation(updateDataSourceRequest).build()); } /** *

* Updates a custom DomainName object. *

* * @param updateDomainNameRequest * @return Result of the UpdateDomainName operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateDomainName * @see AWS API * Documentation */ default UpdateDomainNameResponse updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Updates a custom DomainName object. *

*
*

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

* * @param updateDomainNameRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UpdateDomainNameRequest.Builder} to create a request. * @return Result of the UpdateDomainName operation returned by the service. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateDomainName * @see AWS API * Documentation */ default UpdateDomainNameResponse updateDomainName(Consumer updateDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException { return updateDomainName(UpdateDomainNameRequest.builder().applyMutation(updateDomainNameRequest).build()); } /** *

* Updates a Function object. *

* * @param updateFunctionRequest * @return Result of the UpdateFunction operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateFunction * @see AWS API * Documentation */ default UpdateFunctionResponse updateFunction(UpdateFunctionRequest updateFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Updates a Function object. *

*
*

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

* * @param updateFunctionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UpdateFunctionRequest.Builder} to create a request. * @return Result of the UpdateFunction operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateFunction * @see AWS API * Documentation */ default UpdateFunctionResponse updateFunction(Consumer updateFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { return updateFunction(UpdateFunctionRequest.builder().applyMutation(updateFunctionRequest).build()); } /** *

* Updates a GraphqlApi object. *

* * @param updateGraphqlApiRequest * @return Result of the UpdateGraphqlApi operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateGraphqlApi * @see AWS API * Documentation */ default UpdateGraphqlApiResponse updateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Updates a GraphqlApi object. *

*
*

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

* * @param updateGraphqlApiRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UpdateGraphqlApiRequest.Builder} to create a request. * @return Result of the UpdateGraphqlApi operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws AccessDeniedException * You don't have access to perform this operation on this resource. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateGraphqlApi * @see AWS API * Documentation */ default UpdateGraphqlApiResponse updateGraphqlApi(Consumer updateGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException { return updateGraphqlApi(UpdateGraphqlApiRequest.builder().applyMutation(updateGraphqlApiRequest).build()); } /** *

* Updates a Resolver object. *

* * @param updateResolverRequest * @return Result of the UpdateResolver operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateResolver * @see AWS API * Documentation */ default UpdateResolverResponse updateResolver(UpdateResolverRequest updateResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Updates a Resolver object. *

*
*

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

* * @param updateResolverRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UpdateResolverRequest.Builder} to create a request. * @return Result of the UpdateResolver operation returned by the service. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateResolver * @see AWS API * Documentation */ default UpdateResolverResponse updateResolver(Consumer updateResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException { return updateResolver(UpdateResolverRequest.builder().applyMutation(updateResolverRequest).build()); } /** *

* Updates some of the configuration choices of a particular source API association. *

* * @param updateSourceApiAssociationRequest * @return Result of the UpdateSourceApiAssociation operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateSourceApiAssociation * @see AWS API Documentation */ default UpdateSourceApiAssociationResponse updateSourceApiAssociation( UpdateSourceApiAssociationRequest updateSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Updates some of the configuration choices of a particular source API association. *

*
*

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

* * @param updateSourceApiAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UpdateSourceApiAssociationRequest.Builder} to create * a request. * @return Result of the UpdateSourceApiAssociation operation returned by the service. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateSourceApiAssociation * @see AWS API Documentation */ default UpdateSourceApiAssociationResponse updateSourceApiAssociation( Consumer updateSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException { return updateSourceApiAssociation(UpdateSourceApiAssociationRequest.builder() .applyMutation(updateSourceApiAssociationRequest).build()); } /** *

* Updates a Type object. *

* * @param updateTypeRequest * @return Result of the UpdateType operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateType * @see AWS API * Documentation */ default UpdateTypeResponse updateType(UpdateTypeRequest updateTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { throw new UnsupportedOperationException(); } /** *

* Updates a Type object. *

*
*

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

* * @param updateTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appsync.model.UpdateTypeRequest.Builder} to create a request. * @return Result of the UpdateType operation returned by the service. * @throws BadRequestException * The request is not well formed. For example, a value is invalid or a required field is missing. Check the * field values, and then try again. * @throws ConcurrentModificationException * Another modification is in progress at this time and it must complete before you can make your change. * @throws NotFoundException * The resource specified in the request was not found. Check the resource, and then try again. * @throws UnauthorizedException * You aren't authorized to perform this operation. * @throws InternalFailureException * An internal AppSync error occurred. Try your request again. * @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 AppSyncException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppSyncClient.UpdateType * @see AWS API * Documentation */ default UpdateTypeResponse updateType(Consumer updateTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException { return updateType(UpdateTypeRequest.builder().applyMutation(updateTypeRequest).build()); } /** * Create a {@link AppSyncClient} 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 AppSyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link AppSyncClient}. */ static AppSyncClientBuilder builder() { return new DefaultAppSyncClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default AppSyncServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy