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

software.amazon.awssdk.services.codestarconnections.CodeStarConnectionsClient 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.codestarconnections;

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.codestarconnections.model.AccessDeniedException;
import software.amazon.awssdk.services.codestarconnections.model.CodeStarConnectionsException;
import software.amazon.awssdk.services.codestarconnections.model.ConcurrentModificationException;
import software.amazon.awssdk.services.codestarconnections.model.ConditionalCheckFailedException;
import software.amazon.awssdk.services.codestarconnections.model.ConflictException;
import software.amazon.awssdk.services.codestarconnections.model.CreateConnectionRequest;
import software.amazon.awssdk.services.codestarconnections.model.CreateConnectionResponse;
import software.amazon.awssdk.services.codestarconnections.model.CreateHostRequest;
import software.amazon.awssdk.services.codestarconnections.model.CreateHostResponse;
import software.amazon.awssdk.services.codestarconnections.model.CreateRepositoryLinkRequest;
import software.amazon.awssdk.services.codestarconnections.model.CreateRepositoryLinkResponse;
import software.amazon.awssdk.services.codestarconnections.model.CreateSyncConfigurationRequest;
import software.amazon.awssdk.services.codestarconnections.model.CreateSyncConfigurationResponse;
import software.amazon.awssdk.services.codestarconnections.model.DeleteConnectionRequest;
import software.amazon.awssdk.services.codestarconnections.model.DeleteConnectionResponse;
import software.amazon.awssdk.services.codestarconnections.model.DeleteHostRequest;
import software.amazon.awssdk.services.codestarconnections.model.DeleteHostResponse;
import software.amazon.awssdk.services.codestarconnections.model.DeleteRepositoryLinkRequest;
import software.amazon.awssdk.services.codestarconnections.model.DeleteRepositoryLinkResponse;
import software.amazon.awssdk.services.codestarconnections.model.DeleteSyncConfigurationRequest;
import software.amazon.awssdk.services.codestarconnections.model.DeleteSyncConfigurationResponse;
import software.amazon.awssdk.services.codestarconnections.model.GetConnectionRequest;
import software.amazon.awssdk.services.codestarconnections.model.GetConnectionResponse;
import software.amazon.awssdk.services.codestarconnections.model.GetHostRequest;
import software.amazon.awssdk.services.codestarconnections.model.GetHostResponse;
import software.amazon.awssdk.services.codestarconnections.model.GetRepositoryLinkRequest;
import software.amazon.awssdk.services.codestarconnections.model.GetRepositoryLinkResponse;
import software.amazon.awssdk.services.codestarconnections.model.GetRepositorySyncStatusRequest;
import software.amazon.awssdk.services.codestarconnections.model.GetRepositorySyncStatusResponse;
import software.amazon.awssdk.services.codestarconnections.model.GetResourceSyncStatusRequest;
import software.amazon.awssdk.services.codestarconnections.model.GetResourceSyncStatusResponse;
import software.amazon.awssdk.services.codestarconnections.model.GetSyncBlockerSummaryRequest;
import software.amazon.awssdk.services.codestarconnections.model.GetSyncBlockerSummaryResponse;
import software.amazon.awssdk.services.codestarconnections.model.GetSyncConfigurationRequest;
import software.amazon.awssdk.services.codestarconnections.model.GetSyncConfigurationResponse;
import software.amazon.awssdk.services.codestarconnections.model.InternalServerException;
import software.amazon.awssdk.services.codestarconnections.model.InvalidInputException;
import software.amazon.awssdk.services.codestarconnections.model.LimitExceededException;
import software.amazon.awssdk.services.codestarconnections.model.ListConnectionsRequest;
import software.amazon.awssdk.services.codestarconnections.model.ListConnectionsResponse;
import software.amazon.awssdk.services.codestarconnections.model.ListHostsRequest;
import software.amazon.awssdk.services.codestarconnections.model.ListHostsResponse;
import software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksRequest;
import software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksResponse;
import software.amazon.awssdk.services.codestarconnections.model.ListRepositorySyncDefinitionsRequest;
import software.amazon.awssdk.services.codestarconnections.model.ListRepositorySyncDefinitionsResponse;
import software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsRequest;
import software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsResponse;
import software.amazon.awssdk.services.codestarconnections.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.codestarconnections.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.codestarconnections.model.ResourceAlreadyExistsException;
import software.amazon.awssdk.services.codestarconnections.model.ResourceNotFoundException;
import software.amazon.awssdk.services.codestarconnections.model.ResourceUnavailableException;
import software.amazon.awssdk.services.codestarconnections.model.RetryLatestCommitFailedException;
import software.amazon.awssdk.services.codestarconnections.model.SyncBlockerDoesNotExistException;
import software.amazon.awssdk.services.codestarconnections.model.SyncConfigurationStillExistsException;
import software.amazon.awssdk.services.codestarconnections.model.TagResourceRequest;
import software.amazon.awssdk.services.codestarconnections.model.TagResourceResponse;
import software.amazon.awssdk.services.codestarconnections.model.ThrottlingException;
import software.amazon.awssdk.services.codestarconnections.model.UnsupportedProviderTypeException;
import software.amazon.awssdk.services.codestarconnections.model.UntagResourceRequest;
import software.amazon.awssdk.services.codestarconnections.model.UntagResourceResponse;
import software.amazon.awssdk.services.codestarconnections.model.UpdateHostRequest;
import software.amazon.awssdk.services.codestarconnections.model.UpdateHostResponse;
import software.amazon.awssdk.services.codestarconnections.model.UpdateOutOfSyncException;
import software.amazon.awssdk.services.codestarconnections.model.UpdateRepositoryLinkRequest;
import software.amazon.awssdk.services.codestarconnections.model.UpdateRepositoryLinkResponse;
import software.amazon.awssdk.services.codestarconnections.model.UpdateSyncBlockerRequest;
import software.amazon.awssdk.services.codestarconnections.model.UpdateSyncBlockerResponse;
import software.amazon.awssdk.services.codestarconnections.model.UpdateSyncConfigurationRequest;
import software.amazon.awssdk.services.codestarconnections.model.UpdateSyncConfigurationResponse;
import software.amazon.awssdk.services.codestarconnections.paginators.ListConnectionsIterable;
import software.amazon.awssdk.services.codestarconnections.paginators.ListHostsIterable;
import software.amazon.awssdk.services.codestarconnections.paginators.ListRepositoryLinksIterable;
import software.amazon.awssdk.services.codestarconnections.paginators.ListSyncConfigurationsIterable;

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

* This Amazon Web Services CodeStar Connections API Reference provides descriptions and usage examples of the * operations and data types for the Amazon Web Services CodeStar Connections API. You can use the connections API to * work with connections and installations. *

*

* Connections are configurations that you use to connect Amazon Web Services resources to external code * repositories. Each connection is a resource that can be given to services such as CodePipeline to connect to a * third-party repository such as Bitbucket. For example, you can add the connection in CodePipeline so that it triggers * your pipeline when a code change is made to your third-party code repository. Each connection is named and associated * with a unique ARN that is used to reference the connection. *

*

* When you create a connection, the console initiates a third-party connection handshake. Installations are the * apps that are used to conduct this handshake. For example, the installation for the Bitbucket provider type is the * Bitbucket app. When you create a connection, you can choose an existing installation or create one. *

*

* When you want to create a connection to an installed provider type such as GitHub Enterprise Server, you create a * host for your connections. *

*

* You can work with connections by calling: *

*
    *
  • *

    * CreateConnection, which creates a uniquely named connection that can be referenced by services such as * CodePipeline. *

    *
  • *
  • *

    * DeleteConnection, which deletes the specified connection. *

    *
  • *
  • *

    * GetConnection, which returns information about the connection, including the connection status. *

    *
  • *
  • *

    * ListConnections, which lists the connections associated with your account. *

    *
  • *
*

* You can work with hosts by calling: *

*
    *
  • *

    * CreateHost, which creates a host that represents the infrastructure where your provider is installed. *

    *
  • *
  • *

    * DeleteHost, which deletes the specified host. *

    *
  • *
  • *

    * GetHost, which returns information about the host, including the setup status. *

    *
  • *
  • *

    * ListHosts, which lists the hosts associated with your account. *

    *
  • *
*

* You can work with tags in Amazon Web Services CodeStar Connections by calling the following: *

*
    *
  • *

    * ListTagsForResource, which gets information about Amazon Web Services tags for a specified Amazon Resource * Name (ARN) in Amazon Web Services CodeStar Connections. *

    *
  • *
  • *

    * TagResource, which adds or updates tags for a resource in Amazon Web Services CodeStar Connections. *

    *
  • *
  • *

    * UntagResource, which removes tags for a resource in Amazon Web Services CodeStar Connections. *

    *
  • *
*

* For information about how to use Amazon Web Services CodeStar Connections, see the Developer Tools User * Guide. *

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

* Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it * can access third-party code repositories. The connection is in pending status until the third-party connection * handshake is completed from the console. *

* * @param createConnectionRequest * @return Result of the CreateConnection operation returned by the service. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.CreateConnection * @see AWS API Documentation */ default CreateConnectionResponse createConnection(CreateConnectionRequest createConnectionRequest) throws LimitExceededException, ResourceNotFoundException, ResourceUnavailableException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it * can access third-party code repositories. The connection is in pending status until the third-party connection * handshake is completed from the console. *

*
*

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

* * @param createConnectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.CreateConnectionRequest.Builder} to * create a request. * @return Result of the CreateConnection operation returned by the service. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.CreateConnection * @see AWS API Documentation */ default CreateConnectionResponse createConnection(Consumer createConnectionRequest) throws LimitExceededException, ResourceNotFoundException, ResourceUnavailableException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return createConnection(CreateConnectionRequest.builder().applyMutation(createConnectionRequest).build()); } /** *

* Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used * when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You * create one host for all connections to that provider. *

* *

* A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` * by setting up the host in the console. *

*
* * @param createHostRequest * @return Result of the CreateHost operation returned by the service. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.CreateHost * @see AWS API Documentation */ default CreateHostResponse createHost(CreateHostRequest createHostRequest) throws LimitExceededException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used * when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You * create one host for all connections to that provider. *

* *

* A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` * by setting up the host in the console. *

*

*

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

* * @param createHostRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.CreateHostRequest.Builder} to create a * request. * @return Result of the CreateHost operation returned by the service. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.CreateHost * @see AWS API Documentation */ default CreateHostResponse createHost(Consumer createHostRequest) throws LimitExceededException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return createHost(CreateHostRequest.builder().applyMutation(createHostRequest).build()); } /** *

* Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync * changes to files in a specified Git repository. *

* * @param createRepositoryLinkRequest * @return Result of the CreateRepositoryLink operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @throws ResourceAlreadyExistsException * Unable to create resource. Resource already exists. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.CreateRepositoryLink * @see AWS API Documentation */ default CreateRepositoryLinkResponse createRepositoryLink(CreateRepositoryLinkRequest createRepositoryLinkRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync * changes to files in a specified Git repository. *

*
*

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

* * @param createRepositoryLinkRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.CreateRepositoryLinkRequest.Builder} to * create a request. * @return Result of the CreateRepositoryLink operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @throws ResourceAlreadyExistsException * Unable to create resource. Resource already exists. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.CreateRepositoryLink * @see AWS API Documentation */ default CreateRepositoryLinkResponse createRepositoryLink( Consumer createRepositoryLinkRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return createRepositoryLink(CreateRepositoryLinkRequest.builder().applyMutation(createRepositoryLinkRequest).build()); } /** *

* Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a * specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type. *

* * @param createSyncConfigurationRequest * @return Result of the CreateSyncConfiguration operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @throws ResourceAlreadyExistsException * Unable to create resource. Resource already exists. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.CreateSyncConfiguration * @see AWS API Documentation */ default CreateSyncConfigurationResponse createSyncConfiguration(CreateSyncConfigurationRequest createSyncConfigurationRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a * specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type. *

*
*

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

* * @param createSyncConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.CreateSyncConfigurationRequest.Builder} * to create a request. * @return Result of the CreateSyncConfiguration operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @throws ResourceAlreadyExistsException * Unable to create resource. Resource already exists. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.CreateSyncConfiguration * @see AWS API Documentation */ default CreateSyncConfigurationResponse createSyncConfiguration( Consumer createSyncConfigurationRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return createSyncConfiguration(CreateSyncConfigurationRequest.builder().applyMutation(createSyncConfigurationRequest) .build()); } /** *

* The connection to be deleted. *

* * @param deleteConnectionRequest * @return Result of the DeleteConnection operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.DeleteConnection * @see AWS API Documentation */ default DeleteConnectionResponse deleteConnection(DeleteConnectionRequest deleteConnectionRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* The connection to be deleted. *

*
*

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

* * @param deleteConnectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.DeleteConnectionRequest.Builder} to * create a request. * @return Result of the DeleteConnection operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.DeleteConnection * @see AWS API Documentation */ default DeleteConnectionResponse deleteConnection(Consumer deleteConnectionRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return deleteConnection(DeleteConnectionRequest.builder().applyMutation(deleteConnectionRequest).build()); } /** *

* The host to be deleted. Before you delete a host, all connections associated to the host must be deleted. *

* *

* A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state. *

*
* * @param deleteHostRequest * @return Result of the DeleteHost operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.DeleteHost * @see AWS API Documentation */ default DeleteHostResponse deleteHost(DeleteHostRequest deleteHostRequest) throws ResourceNotFoundException, ResourceUnavailableException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* The host to be deleted. Before you delete a host, all connections associated to the host must be deleted. *

* *

* A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state. *

*

*

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

* * @param deleteHostRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.DeleteHostRequest.Builder} to create a * request. * @return Result of the DeleteHost operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.DeleteHost * @see AWS API Documentation */ default DeleteHostResponse deleteHost(Consumer deleteHostRequest) throws ResourceNotFoundException, ResourceUnavailableException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return deleteHost(DeleteHostRequest.builder().applyMutation(deleteHostRequest).build()); } /** *

* Deletes the association between your connection and a specified external Git repository. *

* * @param deleteRepositoryLinkRequest * @return Result of the DeleteRepositoryLink operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws SyncConfigurationStillExistsException * Unable to continue. The sync blocker still exists. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @throws UnsupportedProviderTypeException * The specified provider type is not supported for connections. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.DeleteRepositoryLink * @see AWS API Documentation */ default DeleteRepositoryLinkResponse deleteRepositoryLink(DeleteRepositoryLinkRequest deleteRepositoryLinkRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, SyncConfigurationStillExistsException, ResourceNotFoundException, ThrottlingException, UnsupportedProviderTypeException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Deletes the association between your connection and a specified external Git repository. *

*
*

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

* * @param deleteRepositoryLinkRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.DeleteRepositoryLinkRequest.Builder} to * create a request. * @return Result of the DeleteRepositoryLink operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws SyncConfigurationStillExistsException * Unable to continue. The sync blocker still exists. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @throws UnsupportedProviderTypeException * The specified provider type is not supported for connections. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.DeleteRepositoryLink * @see AWS API Documentation */ default DeleteRepositoryLinkResponse deleteRepositoryLink( Consumer deleteRepositoryLinkRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, SyncConfigurationStillExistsException, ResourceNotFoundException, ThrottlingException, UnsupportedProviderTypeException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return deleteRepositoryLink(DeleteRepositoryLinkRequest.builder().applyMutation(deleteRepositoryLinkRequest).build()); } /** *

* Deletes the sync configuration for a specified repository and connection. *

* * @param deleteSyncConfigurationRequest * @return Result of the DeleteSyncConfiguration operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.DeleteSyncConfiguration * @see AWS API Documentation */ default DeleteSyncConfigurationResponse deleteSyncConfiguration(DeleteSyncConfigurationRequest deleteSyncConfigurationRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, LimitExceededException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Deletes the sync configuration for a specified repository and connection. *

*
*

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

* * @param deleteSyncConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.DeleteSyncConfigurationRequest.Builder} * to create a request. * @return Result of the DeleteSyncConfiguration operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.DeleteSyncConfiguration * @see AWS API Documentation */ default DeleteSyncConfigurationResponse deleteSyncConfiguration( Consumer deleteSyncConfigurationRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, LimitExceededException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return deleteSyncConfiguration(DeleteSyncConfigurationRequest.builder().applyMutation(deleteSyncConfigurationRequest) .build()); } /** *

* Returns the connection ARN and details such as status, owner, and provider type. *

* * @param getConnectionRequest * @return Result of the GetConnection operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetConnection * @see AWS API Documentation */ default GetConnectionResponse getConnection(GetConnectionRequest getConnectionRequest) throws ResourceNotFoundException, ResourceUnavailableException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Returns the connection ARN and details such as status, owner, and provider type. *

*
*

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

* * @param getConnectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.GetConnectionRequest.Builder} to create a * request. * @return Result of the GetConnection operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetConnection * @see AWS API Documentation */ default GetConnectionResponse getConnection(Consumer getConnectionRequest) throws ResourceNotFoundException, ResourceUnavailableException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return getConnection(GetConnectionRequest.builder().applyMutation(getConnectionRequest).build()); } /** *

* Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC * configuration. *

* * @param getHostRequest * @return Result of the GetHost operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetHost * @see AWS * API Documentation */ default GetHostResponse getHost(GetHostRequest getHostRequest) throws ResourceNotFoundException, ResourceUnavailableException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC * configuration. *

*
*

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

* * @param getHostRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.GetHostRequest.Builder} to create a * request. * @return Result of the GetHost operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetHost * @see AWS * API Documentation */ default GetHostResponse getHost(Consumer getHostRequest) throws ResourceNotFoundException, ResourceUnavailableException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return getHost(GetHostRequest.builder().applyMutation(getHostRequest).build()); } /** *

* Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files * in a specified Git repository. *

* * @param getRepositoryLinkRequest * @return Result of the GetRepositoryLink operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetRepositoryLink * @see AWS API Documentation */ default GetRepositoryLinkResponse getRepositoryLink(GetRepositoryLinkRequest getRepositoryLinkRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files * in a specified Git repository. *

*
*

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

* * @param getRepositoryLinkRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.GetRepositoryLinkRequest.Builder} to * create a request. * @return Result of the GetRepositoryLink operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetRepositoryLink * @see AWS API Documentation */ default GetRepositoryLinkResponse getRepositoryLink(Consumer getRepositoryLinkRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return getRepositoryLink(GetRepositoryLinkRequest.builder().applyMutation(getRepositoryLinkRequest).build()); } /** *

* Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes * from your remote repository. *

* * @param getRepositorySyncStatusRequest * @return Result of the GetRepositorySyncStatus operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetRepositorySyncStatus * @see AWS API Documentation */ default GetRepositorySyncStatusResponse getRepositorySyncStatus(GetRepositorySyncStatusRequest getRepositorySyncStatusRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes * from your remote repository. *

*
*

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

* * @param getRepositorySyncStatusRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.GetRepositorySyncStatusRequest.Builder} * to create a request. * @return Result of the GetRepositorySyncStatus operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetRepositorySyncStatus * @see AWS API Documentation */ default GetRepositorySyncStatusResponse getRepositorySyncStatus( Consumer getRepositorySyncStatusRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return getRepositorySyncStatus(GetRepositorySyncStatusRequest.builder().applyMutation(getRepositorySyncStatusRequest) .build()); } /** *

* Returns the status of the sync with the Git repository for a specific Amazon Web Services resource. *

* * @param getResourceSyncStatusRequest * @return Result of the GetResourceSyncStatus operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetResourceSyncStatus * @see AWS API Documentation */ default GetResourceSyncStatusResponse getResourceSyncStatus(GetResourceSyncStatusRequest getResourceSyncStatusRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Returns the status of the sync with the Git repository for a specific Amazon Web Services resource. *

*
*

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

* * @param getResourceSyncStatusRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.GetResourceSyncStatusRequest.Builder} to * create a request. * @return Result of the GetResourceSyncStatus operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetResourceSyncStatus * @see AWS API Documentation */ default GetResourceSyncStatusResponse getResourceSyncStatus( Consumer getResourceSyncStatusRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return getResourceSyncStatus(GetResourceSyncStatusRequest.builder().applyMutation(getResourceSyncStatusRequest).build()); } /** *

* Returns a list of the most recent sync blockers. *

* * @param getSyncBlockerSummaryRequest * @return Result of the GetSyncBlockerSummary operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetSyncBlockerSummary * @see AWS API Documentation */ default GetSyncBlockerSummaryResponse getSyncBlockerSummary(GetSyncBlockerSummaryRequest getSyncBlockerSummaryRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Returns a list of the most recent sync blockers. *

*
*

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

* * @param getSyncBlockerSummaryRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.GetSyncBlockerSummaryRequest.Builder} to * create a request. * @return Result of the GetSyncBlockerSummary operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetSyncBlockerSummary * @see AWS API Documentation */ default GetSyncBlockerSummaryResponse getSyncBlockerSummary( Consumer getSyncBlockerSummaryRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return getSyncBlockerSummary(GetSyncBlockerSummaryRequest.builder().applyMutation(getSyncBlockerSummaryRequest).build()); } /** *

* Returns details about a sync configuration, including the sync type and resource name. A sync configuration * allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a * Git repository. *

* * @param getSyncConfigurationRequest * @return Result of the GetSyncConfiguration operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetSyncConfiguration * @see AWS API Documentation */ default GetSyncConfigurationResponse getSyncConfiguration(GetSyncConfigurationRequest getSyncConfigurationRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Returns details about a sync configuration, including the sync type and resource name. A sync configuration * allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a * Git repository. *

*
*

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

* * @param getSyncConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.GetSyncConfigurationRequest.Builder} to * create a request. * @return Result of the GetSyncConfiguration operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.GetSyncConfiguration * @see AWS API Documentation */ default GetSyncConfigurationResponse getSyncConfiguration( Consumer getSyncConfigurationRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return getSyncConfiguration(GetSyncConfigurationRequest.builder().applyMutation(getSyncConfigurationRequest).build()); } /** *

* Lists the connections associated with your account. *

* * @param listConnectionsRequest * @return Result of the ListConnections operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListConnections * @see AWS API Documentation */ default ListConnectionsResponse listConnections(ListConnectionsRequest listConnectionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Lists the connections associated with your account. *

*
*

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

* * @param listConnectionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.ListConnectionsRequest.Builder} to create * a request. * @return Result of the ListConnections operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListConnections * @see AWS API Documentation */ default ListConnectionsResponse listConnections(Consumer listConnectionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return listConnections(ListConnectionsRequest.builder().applyMutation(listConnectionsRequest).build()); } /** *

* This is a variant of * {@link #listConnections(software.amazon.awssdk.services.codestarconnections.model.ListConnectionsRequest)} * 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.codestarconnections.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codestarconnections.paginators.ListConnectionsIterable responses = client
     *             .listConnectionsPaginator(request);
     *     for (software.amazon.awssdk.services.codestarconnections.model.ListConnectionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codestarconnections.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(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 #listConnections(software.amazon.awssdk.services.codestarconnections.model.ListConnectionsRequest)} * operation. *

* * @param listConnectionsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListConnections * @see AWS API Documentation */ default ListConnectionsIterable listConnectionsPaginator(ListConnectionsRequest listConnectionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return new ListConnectionsIterable(this, listConnectionsRequest); } /** *

* This is a variant of * {@link #listConnections(software.amazon.awssdk.services.codestarconnections.model.ListConnectionsRequest)} * 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.codestarconnections.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codestarconnections.paginators.ListConnectionsIterable responses = client
     *             .listConnectionsPaginator(request);
     *     for (software.amazon.awssdk.services.codestarconnections.model.ListConnectionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codestarconnections.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(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 #listConnections(software.amazon.awssdk.services.codestarconnections.model.ListConnectionsRequest)} * operation. *

*
*

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

* * @param listConnectionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.ListConnectionsRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListConnections * @see AWS API Documentation */ default ListConnectionsIterable listConnectionsPaginator(Consumer listConnectionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return listConnectionsPaginator(ListConnectionsRequest.builder().applyMutation(listConnectionsRequest).build()); } /** *

* Lists the hosts associated with your account. *

* * @param listHostsRequest * @return Result of the ListHosts operation returned by the service. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListHosts * @see AWS API Documentation */ default ListHostsResponse listHosts(ListHostsRequest listHostsRequest) throws AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Lists the hosts associated with your account. *

*
*

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

* * @param listHostsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.ListHostsRequest.Builder} to create a * request. * @return Result of the ListHosts operation returned by the service. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListHosts * @see AWS API Documentation */ default ListHostsResponse listHosts(Consumer listHostsRequest) throws AwsServiceException, SdkClientException, CodeStarConnectionsException { return listHosts(ListHostsRequest.builder().applyMutation(listHostsRequest).build()); } /** *

* This is a variant of * {@link #listHosts(software.amazon.awssdk.services.codestarconnections.model.ListHostsRequest)} 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.codestarconnections.paginators.ListHostsIterable responses = client.listHostsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codestarconnections.paginators.ListHostsIterable responses = client
     *             .listHostsPaginator(request);
     *     for (software.amazon.awssdk.services.codestarconnections.model.ListHostsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codestarconnections.paginators.ListHostsIterable responses = client.listHostsPaginator(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 #listHosts(software.amazon.awssdk.services.codestarconnections.model.ListHostsRequest)} operation. *

* * @param listHostsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListHosts * @see AWS API Documentation */ default ListHostsIterable listHostsPaginator(ListHostsRequest listHostsRequest) throws AwsServiceException, SdkClientException, CodeStarConnectionsException { return new ListHostsIterable(this, listHostsRequest); } /** *

* This is a variant of * {@link #listHosts(software.amazon.awssdk.services.codestarconnections.model.ListHostsRequest)} 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.codestarconnections.paginators.ListHostsIterable responses = client.listHostsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codestarconnections.paginators.ListHostsIterable responses = client
     *             .listHostsPaginator(request);
     *     for (software.amazon.awssdk.services.codestarconnections.model.ListHostsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codestarconnections.paginators.ListHostsIterable responses = client.listHostsPaginator(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 #listHosts(software.amazon.awssdk.services.codestarconnections.model.ListHostsRequest)} operation. *

*
*

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

* * @param listHostsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.ListHostsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListHosts * @see AWS API Documentation */ default ListHostsIterable listHostsPaginator(Consumer listHostsRequest) throws AwsServiceException, SdkClientException, CodeStarConnectionsException { return listHostsPaginator(ListHostsRequest.builder().applyMutation(listHostsRequest).build()); } /** *

* Lists the repository links created for connections in your account. *

* * @param listRepositoryLinksRequest * @return Result of the ListRepositoryLinks operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListRepositoryLinks * @see AWS API Documentation */ default ListRepositoryLinksResponse listRepositoryLinks(ListRepositoryLinksRequest listRepositoryLinksRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Lists the repository links created for connections in your account. *

*
*

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

* * @param listRepositoryLinksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksRequest.Builder} to * create a request. * @return Result of the ListRepositoryLinks operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListRepositoryLinks * @see AWS API Documentation */ default ListRepositoryLinksResponse listRepositoryLinks( Consumer listRepositoryLinksRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return listRepositoryLinks(ListRepositoryLinksRequest.builder().applyMutation(listRepositoryLinksRequest).build()); } /** *

* This is a variant of * {@link #listRepositoryLinks(software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksRequest)} * 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.codestarconnections.paginators.ListRepositoryLinksIterable responses = client.listRepositoryLinksPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codestarconnections.paginators.ListRepositoryLinksIterable responses = client
     *             .listRepositoryLinksPaginator(request);
     *     for (software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codestarconnections.paginators.ListRepositoryLinksIterable responses = client.listRepositoryLinksPaginator(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 #listRepositoryLinks(software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksRequest)} * operation. *

* * @param listRepositoryLinksRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListRepositoryLinks * @see AWS API Documentation */ default ListRepositoryLinksIterable listRepositoryLinksPaginator(ListRepositoryLinksRequest listRepositoryLinksRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return new ListRepositoryLinksIterable(this, listRepositoryLinksRequest); } /** *

* This is a variant of * {@link #listRepositoryLinks(software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksRequest)} * 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.codestarconnections.paginators.ListRepositoryLinksIterable responses = client.listRepositoryLinksPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codestarconnections.paginators.ListRepositoryLinksIterable responses = client
     *             .listRepositoryLinksPaginator(request);
     *     for (software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codestarconnections.paginators.ListRepositoryLinksIterable responses = client.listRepositoryLinksPaginator(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 #listRepositoryLinks(software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksRequest)} * operation. *

*
*

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

* * @param listRepositoryLinksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.ListRepositoryLinksRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListRepositoryLinks * @see AWS API Documentation */ default ListRepositoryLinksIterable listRepositoryLinksPaginator( Consumer listRepositoryLinksRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return listRepositoryLinksPaginator(ListRepositoryLinksRequest.builder().applyMutation(listRepositoryLinksRequest) .build()); } /** *

* Lists the repository sync definitions for repository links in your account. *

* * @param listRepositorySyncDefinitionsRequest * @return Result of the ListRepositorySyncDefinitions operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListRepositorySyncDefinitions * @see AWS API Documentation */ default ListRepositorySyncDefinitionsResponse listRepositorySyncDefinitions( ListRepositorySyncDefinitionsRequest listRepositorySyncDefinitionsRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Lists the repository sync definitions for repository links in your account. *

*
*

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

* * @param listRepositorySyncDefinitionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.ListRepositorySyncDefinitionsRequest.Builder} * to create a request. * @return Result of the ListRepositorySyncDefinitions operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListRepositorySyncDefinitions * @see AWS API Documentation */ default ListRepositorySyncDefinitionsResponse listRepositorySyncDefinitions( Consumer listRepositorySyncDefinitionsRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return listRepositorySyncDefinitions(ListRepositorySyncDefinitionsRequest.builder() .applyMutation(listRepositorySyncDefinitionsRequest).build()); } /** *

* Returns a list of sync configurations for a specified repository. *

* * @param listSyncConfigurationsRequest * @return Result of the ListSyncConfigurations operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListSyncConfigurations * @see AWS API Documentation */ default ListSyncConfigurationsResponse listSyncConfigurations(ListSyncConfigurationsRequest listSyncConfigurationsRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Returns a list of sync configurations for a specified repository. *

*
*

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

* * @param listSyncConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsRequest.Builder} to * create a request. * @return Result of the ListSyncConfigurations operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListSyncConfigurations * @see AWS API Documentation */ default ListSyncConfigurationsResponse listSyncConfigurations( Consumer listSyncConfigurationsRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return listSyncConfigurations(ListSyncConfigurationsRequest.builder().applyMutation(listSyncConfigurationsRequest) .build()); } /** *

* This is a variant of * {@link #listSyncConfigurations(software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsRequest)} * 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.codestarconnections.paginators.ListSyncConfigurationsIterable responses = client.listSyncConfigurationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codestarconnections.paginators.ListSyncConfigurationsIterable responses = client
     *             .listSyncConfigurationsPaginator(request);
     *     for (software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codestarconnections.paginators.ListSyncConfigurationsIterable responses = client.listSyncConfigurationsPaginator(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 #listSyncConfigurations(software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsRequest)} * operation. *

* * @param listSyncConfigurationsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListSyncConfigurations * @see AWS API Documentation */ default ListSyncConfigurationsIterable listSyncConfigurationsPaginator( ListSyncConfigurationsRequest listSyncConfigurationsRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return new ListSyncConfigurationsIterable(this, listSyncConfigurationsRequest); } /** *

* This is a variant of * {@link #listSyncConfigurations(software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsRequest)} * 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.codestarconnections.paginators.ListSyncConfigurationsIterable responses = client.listSyncConfigurationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codestarconnections.paginators.ListSyncConfigurationsIterable responses = client
     *             .listSyncConfigurationsPaginator(request);
     *     for (software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codestarconnections.paginators.ListSyncConfigurationsIterable responses = client.listSyncConfigurationsPaginator(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 #listSyncConfigurations(software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsRequest)} * operation. *

*
*

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

* * @param listSyncConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.ListSyncConfigurationsRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListSyncConfigurations * @see AWS API Documentation */ default ListSyncConfigurationsIterable listSyncConfigurationsPaginator( Consumer listSyncConfigurationsRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return listSyncConfigurationsPaginator(ListSyncConfigurationsRequest.builder() .applyMutation(listSyncConfigurationsRequest).build()); } /** *

* Gets the set of key-value pairs (metadata) that are used to manage the resource. *

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Gets the set of key-value pairs (metadata) that are used to manage the 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.codestarconnections.model.ListTagsForResourceRequest.Builder} to * create a request. * @return Result of the ListTagsForResource operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource. *

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.TagResource * @see AWS API Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, LimitExceededException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a 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 software.amazon.awssdk.services.codestarconnections.model.TagResourceRequest.Builder} to create a * request. * @return Result of the TagResource operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws LimitExceededException * Exceeded the maximum limit for connections. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.TagResource * @see AWS API Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws ResourceNotFoundException, LimitExceededException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes tags from an Amazon Web Services resource. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UntagResource * @see AWS API Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Removes tags from an Amazon Web Services 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.codestarconnections.model.UntagResourceRequest.Builder} to create a * request. * @return Result of the UntagResource operation returned by the service. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UntagResource * @see AWS API Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates a specified host with the provided configurations. *

* * @param updateHostRequest * @return Result of the UpdateHost operation returned by the service. * @throws ConflictException * Two conflicting operations have been made on the same resource. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and try again. * @throws UnsupportedOperationException * The operation is not supported. Check the connection status and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UpdateHost * @see AWS API Documentation */ default UpdateHostResponse updateHost(UpdateHostRequest updateHostRequest) throws ConflictException, ResourceNotFoundException, ResourceUnavailableException, software.amazon.awssdk.services.codestarconnections.model.UnsupportedOperationException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Updates a specified host with the provided configurations. *

*
*

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

* * @param updateHostRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.UpdateHostRequest.Builder} to create a * request. * @return Result of the UpdateHost operation returned by the service. * @throws ConflictException * Two conflicting operations have been made on the same resource. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ResourceUnavailableException * Resource not found. Verify the ARN for the host resource and try again. * @throws UnsupportedOperationException * The operation is not supported. Check the connection status and 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UpdateHost * @see AWS API Documentation */ default UpdateHostResponse updateHost(Consumer updateHostRequest) throws ConflictException, ResourceNotFoundException, ResourceUnavailableException, software.amazon.awssdk.services.codestarconnections.model.UnsupportedOperationException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return updateHost(UpdateHostRequest.builder().applyMutation(updateHostRequest).build()); } /** *

* Updates the association between your connection and a specified external Git repository. A repository link allows * Git sync to monitor and sync changes to files in a specified Git repository. *

* * @param updateRepositoryLinkRequest * @return Result of the UpdateRepositoryLink operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConditionalCheckFailedException * The conditional check failed. Try again later. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @throws UpdateOutOfSyncException * The update is out of sync. Try syncing 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UpdateRepositoryLink * @see AWS API Documentation */ default UpdateRepositoryLinkResponse updateRepositoryLink(UpdateRepositoryLinkRequest updateRepositoryLinkRequest) throws AccessDeniedException, ConditionalCheckFailedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, UpdateOutOfSyncException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Updates the association between your connection and a specified external Git repository. A repository link allows * Git sync to monitor and sync changes to files in a specified Git repository. *

*
*

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

* * @param updateRepositoryLinkRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.UpdateRepositoryLinkRequest.Builder} to * create a request. * @return Result of the UpdateRepositoryLink operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConditionalCheckFailedException * The conditional check failed. Try again later. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @throws UpdateOutOfSyncException * The update is out of sync. Try syncing 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UpdateRepositoryLink * @see AWS API Documentation */ default UpdateRepositoryLinkResponse updateRepositoryLink( Consumer updateRepositoryLinkRequest) throws AccessDeniedException, ConditionalCheckFailedException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, UpdateOutOfSyncException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return updateRepositoryLink(UpdateRepositoryLinkRequest.builder().applyMutation(updateRepositoryLinkRequest).build()); } /** *

* Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue. *

* * @param updateSyncBlockerRequest * @return Result of the UpdateSyncBlocker operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws RetryLatestCommitFailedException * Retrying the latest commit failed. Try again later. * @throws SyncBlockerDoesNotExistException * Unable to continue. The sync blocker does not exist. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UpdateSyncBlocker * @see AWS API Documentation */ default UpdateSyncBlockerResponse updateSyncBlocker(UpdateSyncBlockerRequest updateSyncBlockerRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, RetryLatestCommitFailedException, SyncBlockerDoesNotExistException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue. *

*
*

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

* * @param updateSyncBlockerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.UpdateSyncBlockerRequest.Builder} to * create a request. * @return Result of the UpdateSyncBlocker operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws RetryLatestCommitFailedException * Retrying the latest commit failed. Try again later. * @throws SyncBlockerDoesNotExistException * Unable to continue. The sync blocker does not exist. * @throws ThrottlingException * The request was denied due to request throttling. * @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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UpdateSyncBlocker * @see AWS API Documentation */ default UpdateSyncBlockerResponse updateSyncBlocker(Consumer updateSyncBlockerRequest) throws AccessDeniedException, InternalServerException, InvalidInputException, ResourceNotFoundException, RetryLatestCommitFailedException, SyncBlockerDoesNotExistException, ThrottlingException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return updateSyncBlocker(UpdateSyncBlockerRequest.builder().applyMutation(updateSyncBlockerRequest).build()); } /** *

* Updates the sync configuration for your connection and a specified external Git repository. *

* * @param updateSyncConfigurationRequest * @return Result of the UpdateSyncConfiguration operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @throws UpdateOutOfSyncException * The update is out of sync. Try syncing 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UpdateSyncConfiguration * @see AWS API Documentation */ default UpdateSyncConfigurationResponse updateSyncConfiguration(UpdateSyncConfigurationRequest updateSyncConfigurationRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, UpdateOutOfSyncException, AwsServiceException, SdkClientException, CodeStarConnectionsException { throw new UnsupportedOperationException(); } /** *

* Updates the sync configuration for your connection and a specified external Git repository. *

*
*

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

* * @param updateSyncConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.codestarconnections.model.UpdateSyncConfigurationRequest.Builder} * to create a request. * @return Result of the UpdateSyncConfiguration operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConcurrentModificationException * Exception thrown as a result of concurrent modification to an application. For example, two individuals * attempting to edit the same application at the same time. * @throws InternalServerException * Received an internal server exception. Try again later. * @throws InvalidInputException * The input is not valid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * Resource not found. Verify the connection resource ARN and try again. * @throws ThrottlingException * The request was denied due to request throttling. * @throws UpdateOutOfSyncException * The update is out of sync. Try syncing 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 CodeStarConnectionsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeStarConnectionsClient.UpdateSyncConfiguration * @see AWS API Documentation */ default UpdateSyncConfigurationResponse updateSyncConfiguration( Consumer updateSyncConfigurationRequest) throws AccessDeniedException, ConcurrentModificationException, InternalServerException, InvalidInputException, ResourceNotFoundException, ThrottlingException, UpdateOutOfSyncException, AwsServiceException, SdkClientException, CodeStarConnectionsException { return updateSyncConfiguration(UpdateSyncConfigurationRequest.builder().applyMutation(updateSyncConfigurationRequest) .build()); } /** * Create a {@link CodeStarConnectionsClient} 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 CodeStarConnectionsClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link CodeStarConnectionsClient}. */ static CodeStarConnectionsClientBuilder builder() { return new DefaultCodeStarConnectionsClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default CodeStarConnectionsServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy