
software.amazon.awssdk.services.appintegrations.AppIntegrationsClient Maven / Gradle / Ivy
/*
* 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.appintegrations;
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.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.appintegrations.model.AccessDeniedException;
import software.amazon.awssdk.services.appintegrations.model.AppIntegrationsException;
import software.amazon.awssdk.services.appintegrations.model.CreateDataIntegrationRequest;
import software.amazon.awssdk.services.appintegrations.model.CreateDataIntegrationResponse;
import software.amazon.awssdk.services.appintegrations.model.CreateEventIntegrationRequest;
import software.amazon.awssdk.services.appintegrations.model.CreateEventIntegrationResponse;
import software.amazon.awssdk.services.appintegrations.model.DeleteDataIntegrationRequest;
import software.amazon.awssdk.services.appintegrations.model.DeleteDataIntegrationResponse;
import software.amazon.awssdk.services.appintegrations.model.DeleteEventIntegrationRequest;
import software.amazon.awssdk.services.appintegrations.model.DeleteEventIntegrationResponse;
import software.amazon.awssdk.services.appintegrations.model.DuplicateResourceException;
import software.amazon.awssdk.services.appintegrations.model.GetDataIntegrationRequest;
import software.amazon.awssdk.services.appintegrations.model.GetDataIntegrationResponse;
import software.amazon.awssdk.services.appintegrations.model.GetEventIntegrationRequest;
import software.amazon.awssdk.services.appintegrations.model.GetEventIntegrationResponse;
import software.amazon.awssdk.services.appintegrations.model.InternalServiceErrorException;
import software.amazon.awssdk.services.appintegrations.model.InvalidRequestException;
import software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsRequest;
import software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationAssociationsResponse;
import software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsRequest;
import software.amazon.awssdk.services.appintegrations.model.ListDataIntegrationsResponse;
import software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsRequest;
import software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationAssociationsResponse;
import software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsRequest;
import software.amazon.awssdk.services.appintegrations.model.ListEventIntegrationsResponse;
import software.amazon.awssdk.services.appintegrations.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.appintegrations.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.appintegrations.model.ResourceNotFoundException;
import software.amazon.awssdk.services.appintegrations.model.ResourceQuotaExceededException;
import software.amazon.awssdk.services.appintegrations.model.TagResourceRequest;
import software.amazon.awssdk.services.appintegrations.model.TagResourceResponse;
import software.amazon.awssdk.services.appintegrations.model.ThrottlingException;
import software.amazon.awssdk.services.appintegrations.model.UntagResourceRequest;
import software.amazon.awssdk.services.appintegrations.model.UntagResourceResponse;
import software.amazon.awssdk.services.appintegrations.model.UpdateDataIntegrationRequest;
import software.amazon.awssdk.services.appintegrations.model.UpdateDataIntegrationResponse;
import software.amazon.awssdk.services.appintegrations.model.UpdateEventIntegrationRequest;
import software.amazon.awssdk.services.appintegrations.model.UpdateEventIntegrationResponse;
/**
* Service client for accessing Amazon AppIntegrations Service. This can be created using the static {@link #builder()}
* method.
*
*
* The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.
*
*
* For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations and Deliver information to agents
* using Amazon Connect Wisdom in the Amazon Connect Administrator Guide.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface AppIntegrationsClient extends SdkClient {
String SERVICE_NAME = "app-integrations";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "app-integrations";
/**
* Create a {@link AppIntegrationsClient} 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 AppIntegrationsClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link AppIntegrationsClient}.
*/
static AppIntegrationsClientBuilder builder() {
return new DefaultAppIntegrationsClientBuilder();
}
/**
*
* Creates and persists a DataIntegration resource.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration
API.
*
*
*
* @param createDataIntegrationRequest
* @return Result of the CreateDataIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceQuotaExceededException
* The allowed quota for the resource has been exceeded.
* @throws DuplicateResourceException
* A resource with the specified name already exists.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.CreateDataIntegration
* @see AWS API Documentation
*/
default CreateDataIntegrationResponse createDataIntegration(CreateDataIntegrationRequest createDataIntegrationRequest)
throws InternalServiceErrorException, ResourceQuotaExceededException, DuplicateResourceException,
ThrottlingException, InvalidRequestException, AccessDeniedException, AwsServiceException, SdkClientException,
AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Creates and persists a DataIntegration resource.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration
API.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDataIntegrationRequest.Builder} avoiding the
* need to create one manually via {@link CreateDataIntegrationRequest#builder()}
*
*
* @param createDataIntegrationRequest
* A {@link Consumer} that will call methods on {@link CreateDataIntegrationRequest.Builder} to create a
* request.
* @return Result of the CreateDataIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceQuotaExceededException
* The allowed quota for the resource has been exceeded.
* @throws DuplicateResourceException
* A resource with the specified name already exists.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.CreateDataIntegration
* @see AWS API Documentation
*/
default CreateDataIntegrationResponse createDataIntegration(
Consumer createDataIntegrationRequest) throws InternalServiceErrorException,
ResourceQuotaExceededException, DuplicateResourceException, ThrottlingException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
return createDataIntegration(CreateDataIntegrationRequest.builder().applyMutation(createDataIntegrationRequest).build());
}
/**
*
* Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in
* your account and a partner event source that pushes events to that bus. No objects are created in the your
* account, only metadata that is persisted on the EventIntegration control plane.
*
*
* @param createEventIntegrationRequest
* @return Result of the CreateEventIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceQuotaExceededException
* The allowed quota for the resource has been exceeded.
* @throws DuplicateResourceException
* A resource with the specified name already exists.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.CreateEventIntegration
* @see AWS API Documentation
*/
default CreateEventIntegrationResponse createEventIntegration(CreateEventIntegrationRequest createEventIntegrationRequest)
throws InternalServiceErrorException, ResourceQuotaExceededException, DuplicateResourceException,
ThrottlingException, InvalidRequestException, AccessDeniedException, AwsServiceException, SdkClientException,
AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in
* your account and a partner event source that pushes events to that bus. No objects are created in the your
* account, only metadata that is persisted on the EventIntegration control plane.
*
*
*
* This is a convenience which creates an instance of the {@link CreateEventIntegrationRequest.Builder} avoiding the
* need to create one manually via {@link CreateEventIntegrationRequest#builder()}
*
*
* @param createEventIntegrationRequest
* A {@link Consumer} that will call methods on {@link CreateEventIntegrationRequest.Builder} to create a
* request.
* @return Result of the CreateEventIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceQuotaExceededException
* The allowed quota for the resource has been exceeded.
* @throws DuplicateResourceException
* A resource with the specified name already exists.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.CreateEventIntegration
* @see AWS API Documentation
*/
default CreateEventIntegrationResponse createEventIntegration(
Consumer createEventIntegrationRequest) throws InternalServiceErrorException,
ResourceQuotaExceededException, DuplicateResourceException, ThrottlingException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
return createEventIntegration(CreateEventIntegrationRequest.builder().applyMutation(createEventIntegrationRequest)
.build());
}
/**
*
* Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be
* deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param deleteDataIntegrationRequest
* @return Result of the DeleteDataIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.DeleteDataIntegration
* @see AWS API Documentation
*/
default DeleteDataIntegrationResponse deleteDataIntegration(DeleteDataIntegrationRequest deleteDataIntegrationRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be
* deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDataIntegrationRequest.Builder} avoiding the
* need to create one manually via {@link DeleteDataIntegrationRequest#builder()}
*
*
* @param deleteDataIntegrationRequest
* A {@link Consumer} that will call methods on {@link DeleteDataIntegrationRequest.Builder} to create a
* request.
* @return Result of the DeleteDataIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.DeleteDataIntegration
* @see AWS API Documentation
*/
default DeleteDataIntegrationResponse deleteDataIntegration(
Consumer deleteDataIntegrationRequest) throws InternalServiceErrorException,
ThrottlingException, ResourceNotFoundException, InvalidRequestException, AccessDeniedException, AwsServiceException,
SdkClientException, AppIntegrationsException {
return deleteDataIntegration(DeleteDataIntegrationRequest.builder().applyMutation(deleteDataIntegrationRequest).build());
}
/**
*
* Deletes the specified existing event integration. If the event integration is associated with clients, the
* request is rejected.
*
*
* @param deleteEventIntegrationRequest
* @return Result of the DeleteEventIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.DeleteEventIntegration
* @see AWS API Documentation
*/
default DeleteEventIntegrationResponse deleteEventIntegration(DeleteEventIntegrationRequest deleteEventIntegrationRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified existing event integration. If the event integration is associated with clients, the
* request is rejected.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEventIntegrationRequest.Builder} avoiding the
* need to create one manually via {@link DeleteEventIntegrationRequest#builder()}
*
*
* @param deleteEventIntegrationRequest
* A {@link Consumer} that will call methods on {@link DeleteEventIntegrationRequest.Builder} to create a
* request.
* @return Result of the DeleteEventIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.DeleteEventIntegration
* @see AWS API Documentation
*/
default DeleteEventIntegrationResponse deleteEventIntegration(
Consumer deleteEventIntegrationRequest) throws InternalServiceErrorException,
ThrottlingException, ResourceNotFoundException, InvalidRequestException, AccessDeniedException, AwsServiceException,
SdkClientException, AppIntegrationsException {
return deleteEventIntegration(DeleteEventIntegrationRequest.builder().applyMutation(deleteEventIntegrationRequest)
.build());
}
/**
*
* Returns information about the DataIntegration.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param getDataIntegrationRequest
* @return Result of the GetDataIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.GetDataIntegration
* @see AWS API Documentation
*/
default GetDataIntegrationResponse getDataIntegration(GetDataIntegrationRequest getDataIntegrationRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the DataIntegration.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* This is a convenience which creates an instance of the {@link GetDataIntegrationRequest.Builder} avoiding the
* need to create one manually via {@link GetDataIntegrationRequest#builder()}
*
*
* @param getDataIntegrationRequest
* A {@link Consumer} that will call methods on {@link GetDataIntegrationRequest.Builder} to create a
* request.
* @return Result of the GetDataIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.GetDataIntegration
* @see AWS API Documentation
*/
default GetDataIntegrationResponse getDataIntegration(Consumer getDataIntegrationRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
return getDataIntegration(GetDataIntegrationRequest.builder().applyMutation(getDataIntegrationRequest).build());
}
/**
*
* Returns information about the event integration.
*
*
* @param getEventIntegrationRequest
* @return Result of the GetEventIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.GetEventIntegration
* @see AWS API Documentation
*/
default GetEventIntegrationResponse getEventIntegration(GetEventIntegrationRequest getEventIntegrationRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the event integration.
*
*
*
* This is a convenience which creates an instance of the {@link GetEventIntegrationRequest.Builder} avoiding the
* need to create one manually via {@link GetEventIntegrationRequest#builder()}
*
*
* @param getEventIntegrationRequest
* A {@link Consumer} that will call methods on {@link GetEventIntegrationRequest.Builder} to create a
* request.
* @return Result of the GetEventIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.GetEventIntegration
* @see AWS API Documentation
*/
default GetEventIntegrationResponse getEventIntegration(
Consumer getEventIntegrationRequest) throws InternalServiceErrorException,
ThrottlingException, ResourceNotFoundException, InvalidRequestException, AccessDeniedException, AwsServiceException,
SdkClientException, AppIntegrationsException {
return getEventIntegration(GetEventIntegrationRequest.builder().applyMutation(getEventIntegrationRequest).build());
}
/**
*
* Returns a paginated list of DataIntegration associations in the account.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param listDataIntegrationAssociationsRequest
* @return Result of the ListDataIntegrationAssociations operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListDataIntegrationAssociations
* @see AWS API Documentation
*/
default ListDataIntegrationAssociationsResponse listDataIntegrationAssociations(
ListDataIntegrationAssociationsRequest listDataIntegrationAssociationsRequest) throws InternalServiceErrorException,
ThrottlingException, ResourceNotFoundException, InvalidRequestException, AccessDeniedException, AwsServiceException,
SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of DataIntegration associations in the account.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* This is a convenience which creates an instance of the {@link ListDataIntegrationAssociationsRequest.Builder}
* avoiding the need to create one manually via {@link ListDataIntegrationAssociationsRequest#builder()}
*
*
* @param listDataIntegrationAssociationsRequest
* A {@link Consumer} that will call methods on {@link ListDataIntegrationAssociationsRequest.Builder} to
* create a request.
* @return Result of the ListDataIntegrationAssociations operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListDataIntegrationAssociations
* @see AWS API Documentation
*/
default ListDataIntegrationAssociationsResponse listDataIntegrationAssociations(
Consumer listDataIntegrationAssociationsRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
return listDataIntegrationAssociations(ListDataIntegrationAssociationsRequest.builder()
.applyMutation(listDataIntegrationAssociationsRequest).build());
}
/**
*
* Returns a paginated list of DataIntegrations in the account.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param listDataIntegrationsRequest
* @return Result of the ListDataIntegrations operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListDataIntegrations
* @see AWS API Documentation
*/
default ListDataIntegrationsResponse listDataIntegrations(ListDataIntegrationsRequest listDataIntegrationsRequest)
throws InternalServiceErrorException, ThrottlingException, InvalidRequestException, AccessDeniedException,
AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of DataIntegrations in the account.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* This is a convenience which creates an instance of the {@link ListDataIntegrationsRequest.Builder} avoiding the
* need to create one manually via {@link ListDataIntegrationsRequest#builder()}
*
*
* @param listDataIntegrationsRequest
* A {@link Consumer} that will call methods on {@link ListDataIntegrationsRequest.Builder} to create a
* request.
* @return Result of the ListDataIntegrations operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListDataIntegrations
* @see AWS API Documentation
*/
default ListDataIntegrationsResponse listDataIntegrations(
Consumer listDataIntegrationsRequest) throws InternalServiceErrorException,
ThrottlingException, InvalidRequestException, AccessDeniedException, AwsServiceException, SdkClientException,
AppIntegrationsException {
return listDataIntegrations(ListDataIntegrationsRequest.builder().applyMutation(listDataIntegrationsRequest).build());
}
/**
*
* Returns a paginated list of event integration associations in the account.
*
*
* @param listEventIntegrationAssociationsRequest
* @return Result of the ListEventIntegrationAssociations operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListEventIntegrationAssociations
* @see AWS API Documentation
*/
default ListEventIntegrationAssociationsResponse listEventIntegrationAssociations(
ListEventIntegrationAssociationsRequest listEventIntegrationAssociationsRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of event integration associations in the account.
*
*
*
* This is a convenience which creates an instance of the {@link ListEventIntegrationAssociationsRequest.Builder}
* avoiding the need to create one manually via {@link ListEventIntegrationAssociationsRequest#builder()}
*
*
* @param listEventIntegrationAssociationsRequest
* A {@link Consumer} that will call methods on {@link ListEventIntegrationAssociationsRequest.Builder} to
* create a request.
* @return Result of the ListEventIntegrationAssociations operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListEventIntegrationAssociations
* @see AWS API Documentation
*/
default ListEventIntegrationAssociationsResponse listEventIntegrationAssociations(
Consumer listEventIntegrationAssociationsRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
return listEventIntegrationAssociations(ListEventIntegrationAssociationsRequest.builder()
.applyMutation(listEventIntegrationAssociationsRequest).build());
}
/**
*
* Returns a paginated list of event integrations in the account.
*
*
* @param listEventIntegrationsRequest
* @return Result of the ListEventIntegrations operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListEventIntegrations
* @see AWS API Documentation
*/
default ListEventIntegrationsResponse listEventIntegrations(ListEventIntegrationsRequest listEventIntegrationsRequest)
throws InternalServiceErrorException, ThrottlingException, InvalidRequestException, AccessDeniedException,
AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of event integrations in the account.
*
*
*
* This is a convenience which creates an instance of the {@link ListEventIntegrationsRequest.Builder} avoiding the
* need to create one manually via {@link ListEventIntegrationsRequest#builder()}
*
*
* @param listEventIntegrationsRequest
* A {@link Consumer} that will call methods on {@link ListEventIntegrationsRequest.Builder} to create a
* request.
* @return Result of the ListEventIntegrations operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListEventIntegrations
* @see AWS API Documentation
*/
default ListEventIntegrationsResponse listEventIntegrations(
Consumer listEventIntegrationsRequest) throws InternalServiceErrorException,
ThrottlingException, InvalidRequestException, AccessDeniedException, AwsServiceException, SdkClientException,
AppIntegrationsException {
return listEventIntegrations(ListEventIntegrationsRequest.builder().applyMutation(listEventIntegrationsRequest).build());
}
/**
*
* Lists the tags for the specified resource.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws InvalidRequestException
* The request is not valid.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListTagsForResource
* @see AWS API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException,
AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the tags for the specified 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 ListTagsForResourceRequest.Builder} to create a
* request.
* @return Result of the ListTagsForResource operation returned by the service.
* @throws InvalidRequestException
* The request is not valid.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.ListTagsForResource
* @see AWS API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(
Consumer listTagsForResourceRequest) throws InvalidRequestException,
InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, AwsServiceException,
SdkClientException, AppIntegrationsException {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Adds the specified tags to the specified resource.
*
*
* @param tagResourceRequest
* @return Result of the TagResource operation returned by the service.
* @throws InvalidRequestException
* The request is not valid.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.TagResource
* @see AWS
* API Documentation
*/
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidRequestException,
InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, AwsServiceException,
SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Adds the specified tags to the specified resource.
*
*
*
* 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 TagResourceRequest.Builder} to create a request.
* @return Result of the TagResource operation returned by the service.
* @throws InvalidRequestException
* The request is not valid.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.TagResource
* @see AWS
* API Documentation
*/
default TagResourceResponse tagResource(Consumer tagResourceRequest)
throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException,
AwsServiceException, SdkClientException, AppIntegrationsException {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Removes the specified tags from the specified resource.
*
*
* @param untagResourceRequest
* @return Result of the UntagResource operation returned by the service.
* @throws InvalidRequestException
* The request is not valid.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.UntagResource
* @see AWS
* API Documentation
*/
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidRequestException,
InternalServiceErrorException, ResourceNotFoundException, ThrottlingException, AwsServiceException,
SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Removes the specified tags from the specified 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 UntagResourceRequest.Builder} to create a request.
* @return Result of the UntagResource operation returned by the service.
* @throws InvalidRequestException
* The request is not valid.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.UntagResource
* @see AWS
* API Documentation
*/
default UntagResourceResponse untagResource(Consumer untagResourceRequest)
throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, ThrottlingException,
AwsServiceException, SdkClientException, AppIntegrationsException {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates the description of a DataIntegration.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* @param updateDataIntegrationRequest
* @return Result of the UpdateDataIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.UpdateDataIntegration
* @see AWS API Documentation
*/
default UpdateDataIntegrationResponse updateDataIntegration(UpdateDataIntegrationRequest updateDataIntegrationRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the description of a DataIntegration.
*
*
*
* You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a
* different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateDataIntegrationRequest.Builder} avoiding the
* need to create one manually via {@link UpdateDataIntegrationRequest#builder()}
*
*
* @param updateDataIntegrationRequest
* A {@link Consumer} that will call methods on {@link UpdateDataIntegrationRequest.Builder} to create a
* request.
* @return Result of the UpdateDataIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.UpdateDataIntegration
* @see AWS API Documentation
*/
default UpdateDataIntegrationResponse updateDataIntegration(
Consumer updateDataIntegrationRequest) throws InternalServiceErrorException,
ThrottlingException, ResourceNotFoundException, InvalidRequestException, AccessDeniedException, AwsServiceException,
SdkClientException, AppIntegrationsException {
return updateDataIntegration(UpdateDataIntegrationRequest.builder().applyMutation(updateDataIntegrationRequest).build());
}
/**
*
* Updates the description of an event integration.
*
*
* @param updateEventIntegrationRequest
* @return Result of the UpdateEventIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.UpdateEventIntegration
* @see AWS API Documentation
*/
default UpdateEventIntegrationResponse updateEventIntegration(UpdateEventIntegrationRequest updateEventIntegrationRequest)
throws InternalServiceErrorException, ThrottlingException, ResourceNotFoundException, InvalidRequestException,
AccessDeniedException, AwsServiceException, SdkClientException, AppIntegrationsException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the description of an event integration.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateEventIntegrationRequest.Builder} avoiding the
* need to create one manually via {@link UpdateEventIntegrationRequest#builder()}
*
*
* @param updateEventIntegrationRequest
* A {@link Consumer} that will call methods on {@link UpdateEventIntegrationRequest.Builder} to create a
* request.
* @return Result of the UpdateEventIntegration operation returned by the service.
* @throws InternalServiceErrorException
* Request processing failed due to an error or failure with the service.
* @throws ThrottlingException
* The throttling limit has been exceeded.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws InvalidRequestException
* The request is not valid.
* @throws AccessDeniedException
* You do not have sufficient access to perform this action.
* @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 AppIntegrationsException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample AppIntegrationsClient.UpdateEventIntegration
* @see AWS API Documentation
*/
default UpdateEventIntegrationResponse updateEventIntegration(
Consumer updateEventIntegrationRequest) throws InternalServiceErrorException,
ThrottlingException, ResourceNotFoundException, InvalidRequestException, AccessDeniedException, AwsServiceException,
SdkClientException, AppIntegrationsException {
return updateEventIntegration(UpdateEventIntegrationRequest.builder().applyMutation(updateEventIntegrationRequest)
.build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
}