Interface Cloud9Client
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface Cloud9Client extends AwsClient
Service client for accessing AWS Cloud9. This can be created using the staticbuilder()method.Cloud9 Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and release software in the cloud.
For more information about Cloud9, see the Cloud9 User Guide.
Cloud9 supports these operations:
-
CreateEnvironmentEC2: Creates an Cloud9 development environment, launches an Amazon EC2 instance, and then connects from the instance to the environment. -
CreateEnvironmentMembership: Adds an environment member to an environment. -
DeleteEnvironment: Deletes an environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance. -
DeleteEnvironmentMembership: Deletes an environment member from an environment. -
DescribeEnvironmentMemberships: Gets information about environment members for an environment. -
DescribeEnvironments: Gets information about environments. -
DescribeEnvironmentStatus: Gets status information for an environment. -
ListEnvironments: Gets a list of environment identifiers. -
ListTagsForResource: Gets the tags for an environment. -
TagResource: Adds tags to an environment. -
UntagResource: Removes tags from an environment. -
UpdateEnvironment: Changes the settings of an existing environment. -
UpdateEnvironmentMembership: Changes the settings of an existing environment member for an environment.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static Cloud9ClientBuilderbuilder()Create a builder that can be used to configure and create aCloud9Client.static Cloud9Clientcreate()Create aCloud9Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateEnvironmentEc2ResponsecreateEnvironmentEC2(Consumer<CreateEnvironmentEc2Request.Builder> createEnvironmentEc2Request)Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.default CreateEnvironmentEc2ResponsecreateEnvironmentEC2(CreateEnvironmentEc2Request createEnvironmentEc2Request)Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.default CreateEnvironmentMembershipResponsecreateEnvironmentMembership(Consumer<CreateEnvironmentMembershipRequest.Builder> createEnvironmentMembershipRequest)Adds an environment member to an Cloud9 development environment.default CreateEnvironmentMembershipResponsecreateEnvironmentMembership(CreateEnvironmentMembershipRequest createEnvironmentMembershipRequest)Adds an environment member to an Cloud9 development environment.default DeleteEnvironmentResponsedeleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest)Deletes an Cloud9 development environment.default DeleteEnvironmentResponsedeleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)Deletes an Cloud9 development environment.default DeleteEnvironmentMembershipResponsedeleteEnvironmentMembership(Consumer<DeleteEnvironmentMembershipRequest.Builder> deleteEnvironmentMembershipRequest)Deletes an environment member from a development environment.default DeleteEnvironmentMembershipResponsedeleteEnvironmentMembership(DeleteEnvironmentMembershipRequest deleteEnvironmentMembershipRequest)Deletes an environment member from a development environment.default DescribeEnvironmentMembershipsResponsedescribeEnvironmentMemberships()Gets information about environment members for an Cloud9 development environment.default DescribeEnvironmentMembershipsResponsedescribeEnvironmentMemberships(Consumer<DescribeEnvironmentMembershipsRequest.Builder> describeEnvironmentMembershipsRequest)Gets information about environment members for an Cloud9 development environment.default DescribeEnvironmentMembershipsResponsedescribeEnvironmentMemberships(DescribeEnvironmentMembershipsRequest describeEnvironmentMembershipsRequest)Gets information about environment members for an Cloud9 development environment.default DescribeEnvironmentMembershipsIterabledescribeEnvironmentMembershipsPaginator()This is a variant ofdescribeEnvironmentMemberships(software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsRequest)operation.default DescribeEnvironmentMembershipsIterabledescribeEnvironmentMembershipsPaginator(Consumer<DescribeEnvironmentMembershipsRequest.Builder> describeEnvironmentMembershipsRequest)This is a variant ofdescribeEnvironmentMemberships(software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsRequest)operation.default DescribeEnvironmentMembershipsIterabledescribeEnvironmentMembershipsPaginator(DescribeEnvironmentMembershipsRequest describeEnvironmentMembershipsRequest)This is a variant ofdescribeEnvironmentMemberships(software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsRequest)operation.default DescribeEnvironmentsResponsedescribeEnvironments(Consumer<DescribeEnvironmentsRequest.Builder> describeEnvironmentsRequest)Gets information about Cloud9 development environments.default DescribeEnvironmentsResponsedescribeEnvironments(DescribeEnvironmentsRequest describeEnvironmentsRequest)Gets information about Cloud9 development environments.default DescribeEnvironmentStatusResponsedescribeEnvironmentStatus(Consumer<DescribeEnvironmentStatusRequest.Builder> describeEnvironmentStatusRequest)Gets status information for an Cloud9 development environment.default DescribeEnvironmentStatusResponsedescribeEnvironmentStatus(DescribeEnvironmentStatusRequest describeEnvironmentStatusRequest)Gets status information for an Cloud9 development environment.default ListEnvironmentsResponselistEnvironments()Gets a list of Cloud9 development environment identifiers.default ListEnvironmentsResponselistEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)Gets a list of Cloud9 development environment identifiers.default ListEnvironmentsResponselistEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)Gets a list of Cloud9 development environment identifiers.default ListEnvironmentsIterablelistEnvironmentsPaginator()This is a variant oflistEnvironments(software.amazon.awssdk.services.cloud9.model.ListEnvironmentsRequest)operation.default ListEnvironmentsIterablelistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)This is a variant oflistEnvironments(software.amazon.awssdk.services.cloud9.model.ListEnvironmentsRequest)operation.default ListEnvironmentsIterablelistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest)This is a variant oflistEnvironments(software.amazon.awssdk.services.cloud9.model.ListEnvironmentsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Gets a list of the tags associated with an Cloud9 development environment.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Gets a list of the tags associated with an Cloud9 development environment.default Cloud9ServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Adds tags to an Cloud9 development environment.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Adds tags to an Cloud9 development environment.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Removes tags from an Cloud9 development environment.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Removes tags from an Cloud9 development environment.default UpdateEnvironmentResponseupdateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest)Changes the settings of an existing Cloud9 development environment.default UpdateEnvironmentResponseupdateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)Changes the settings of an existing Cloud9 development environment.default UpdateEnvironmentMembershipResponseupdateEnvironmentMembership(Consumer<UpdateEnvironmentMembershipRequest.Builder> updateEnvironmentMembershipRequest)Changes the settings of an existing environment member for an Cloud9 development environment.default UpdateEnvironmentMembershipResponseupdateEnvironmentMembership(UpdateEnvironmentMembershipRequest updateEnvironmentMembershipRequest)Changes the settings of an existing environment member for an Cloud9 development environment.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createEnvironmentEC2
default CreateEnvironmentEc2Response createEnvironmentEC2(CreateEnvironmentEc2Request createEnvironmentEc2Request) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.
- Parameters:
createEnvironmentEc2Request-- Returns:
- Result of the CreateEnvironmentEC2 operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createEnvironmentEC2
default CreateEnvironmentEc2Response createEnvironmentEC2(Consumer<CreateEnvironmentEc2Request.Builder> createEnvironmentEc2Request) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.
This is a convenience which creates an instance of the
CreateEnvironmentEc2Request.Builderavoiding the need to create one manually viaCreateEnvironmentEc2Request.builder()- Parameters:
createEnvironmentEc2Request- AConsumerthat will call methods onCreateEnvironmentEc2Request.Builderto create a request.- Returns:
- Result of the CreateEnvironmentEC2 operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createEnvironmentMembership
default CreateEnvironmentMembershipResponse createEnvironmentMembership(CreateEnvironmentMembershipRequest createEnvironmentMembershipRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Adds an environment member to an Cloud9 development environment.
- Parameters:
createEnvironmentMembershipRequest-- Returns:
- Result of the CreateEnvironmentMembership operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createEnvironmentMembership
default CreateEnvironmentMembershipResponse createEnvironmentMembership(Consumer<CreateEnvironmentMembershipRequest.Builder> createEnvironmentMembershipRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Adds an environment member to an Cloud9 development environment.
This is a convenience which creates an instance of the
CreateEnvironmentMembershipRequest.Builderavoiding the need to create one manually viaCreateEnvironmentMembershipRequest.builder()- Parameters:
createEnvironmentMembershipRequest- AConsumerthat will call methods onCreateEnvironmentMembershipRequest.Builderto create a request.- Returns:
- Result of the CreateEnvironmentMembership operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEnvironment
default DeleteEnvironmentResponse deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
- Parameters:
deleteEnvironmentRequest-- Returns:
- Result of the DeleteEnvironment operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEnvironment
default DeleteEnvironmentResponse deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
This is a convenience which creates an instance of the
DeleteEnvironmentRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentRequest.builder()- Parameters:
deleteEnvironmentRequest- AConsumerthat will call methods onDeleteEnvironmentRequest.Builderto create a request.- Returns:
- Result of the DeleteEnvironment operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEnvironmentMembership
default DeleteEnvironmentMembershipResponse deleteEnvironmentMembership(DeleteEnvironmentMembershipRequest deleteEnvironmentMembershipRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Deletes an environment member from a development environment.
- Parameters:
deleteEnvironmentMembershipRequest-- Returns:
- Result of the DeleteEnvironmentMembership operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEnvironmentMembership
default DeleteEnvironmentMembershipResponse deleteEnvironmentMembership(Consumer<DeleteEnvironmentMembershipRequest.Builder> deleteEnvironmentMembershipRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Deletes an environment member from a development environment.
This is a convenience which creates an instance of the
DeleteEnvironmentMembershipRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentMembershipRequest.builder()- Parameters:
deleteEnvironmentMembershipRequest- AConsumerthat will call methods onDeleteEnvironmentMembershipRequest.Builderto create a request.- Returns:
- Result of the DeleteEnvironmentMembership operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEnvironmentMemberships
default DescribeEnvironmentMembershipsResponse describeEnvironmentMemberships(DescribeEnvironmentMembershipsRequest describeEnvironmentMembershipsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets information about environment members for an Cloud9 development environment.
- Parameters:
describeEnvironmentMembershipsRequest-- Returns:
- Result of the DescribeEnvironmentMemberships operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEnvironmentMemberships
default DescribeEnvironmentMembershipsResponse describeEnvironmentMemberships(Consumer<DescribeEnvironmentMembershipsRequest.Builder> describeEnvironmentMembershipsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets information about environment members for an Cloud9 development environment.
This is a convenience which creates an instance of the
DescribeEnvironmentMembershipsRequest.Builderavoiding the need to create one manually viaDescribeEnvironmentMembershipsRequest.builder()- Parameters:
describeEnvironmentMembershipsRequest- AConsumerthat will call methods onDescribeEnvironmentMembershipsRequest.Builderto create a request.- Returns:
- Result of the DescribeEnvironmentMemberships operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEnvironmentMemberships
default DescribeEnvironmentMembershipsResponse describeEnvironmentMemberships() throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets information about environment members for an Cloud9 development environment.
- Returns:
- Result of the DescribeEnvironmentMemberships operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
describeEnvironmentMemberships(DescribeEnvironmentMembershipsRequest), AWS API Documentation
-
describeEnvironmentMembershipsPaginator
default DescribeEnvironmentMembershipsIterable describeEnvironmentMembershipsPaginator() throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
This is a variant of
describeEnvironmentMemberships(software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.cloud9.paginators.DescribeEnvironmentMembershipsIterable responses = client.describeEnvironmentMembershipsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cloud9.paginators.DescribeEnvironmentMembershipsIterable responses = client .describeEnvironmentMembershipsPaginator(request); for (software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cloud9.paginators.DescribeEnvironmentMembershipsIterable responses = client.describeEnvironmentMembershipsPaginator(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
describeEnvironmentMemberships(software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
describeEnvironmentMembershipsPaginator(DescribeEnvironmentMembershipsRequest), AWS API Documentation
-
describeEnvironmentMembershipsPaginator
default DescribeEnvironmentMembershipsIterable describeEnvironmentMembershipsPaginator(DescribeEnvironmentMembershipsRequest describeEnvironmentMembershipsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
This is a variant of
describeEnvironmentMemberships(software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.cloud9.paginators.DescribeEnvironmentMembershipsIterable responses = client.describeEnvironmentMembershipsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cloud9.paginators.DescribeEnvironmentMembershipsIterable responses = client .describeEnvironmentMembershipsPaginator(request); for (software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cloud9.paginators.DescribeEnvironmentMembershipsIterable responses = client.describeEnvironmentMembershipsPaginator(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
describeEnvironmentMemberships(software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsRequest)operation.- Parameters:
describeEnvironmentMembershipsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEnvironmentMembershipsPaginator
default DescribeEnvironmentMembershipsIterable describeEnvironmentMembershipsPaginator(Consumer<DescribeEnvironmentMembershipsRequest.Builder> describeEnvironmentMembershipsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
This is a variant of
describeEnvironmentMemberships(software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.cloud9.paginators.DescribeEnvironmentMembershipsIterable responses = client.describeEnvironmentMembershipsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cloud9.paginators.DescribeEnvironmentMembershipsIterable responses = client .describeEnvironmentMembershipsPaginator(request); for (software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cloud9.paginators.DescribeEnvironmentMembershipsIterable responses = client.describeEnvironmentMembershipsPaginator(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
describeEnvironmentMemberships(software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentMembershipsRequest)operation.
This is a convenience which creates an instance of the
DescribeEnvironmentMembershipsRequest.Builderavoiding the need to create one manually viaDescribeEnvironmentMembershipsRequest.builder()- Parameters:
describeEnvironmentMembershipsRequest- AConsumerthat will call methods onDescribeEnvironmentMembershipsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEnvironmentStatus
default DescribeEnvironmentStatusResponse describeEnvironmentStatus(DescribeEnvironmentStatusRequest describeEnvironmentStatusRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets status information for an Cloud9 development environment.
- Parameters:
describeEnvironmentStatusRequest-- Returns:
- Result of the DescribeEnvironmentStatus operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEnvironmentStatus
default DescribeEnvironmentStatusResponse describeEnvironmentStatus(Consumer<DescribeEnvironmentStatusRequest.Builder> describeEnvironmentStatusRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets status information for an Cloud9 development environment.
This is a convenience which creates an instance of the
DescribeEnvironmentStatusRequest.Builderavoiding the need to create one manually viaDescribeEnvironmentStatusRequest.builder()- Parameters:
describeEnvironmentStatusRequest- AConsumerthat will call methods onDescribeEnvironmentStatusRequest.Builderto create a request.- Returns:
- Result of the DescribeEnvironmentStatus operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEnvironments
default DescribeEnvironmentsResponse describeEnvironments(DescribeEnvironmentsRequest describeEnvironmentsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets information about Cloud9 development environments.
- Parameters:
describeEnvironmentsRequest-- Returns:
- Result of the DescribeEnvironments operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEnvironments
default DescribeEnvironmentsResponse describeEnvironments(Consumer<DescribeEnvironmentsRequest.Builder> describeEnvironmentsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets information about Cloud9 development environments.
This is a convenience which creates an instance of the
DescribeEnvironmentsRequest.Builderavoiding the need to create one manually viaDescribeEnvironmentsRequest.builder()- Parameters:
describeEnvironmentsRequest- AConsumerthat will call methods onDescribeEnvironmentsRequest.Builderto create a request.- Returns:
- Result of the DescribeEnvironments operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironments
default ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets a list of Cloud9 development environment identifiers.
- Parameters:
listEnvironmentsRequest-- Returns:
- Result of the ListEnvironments operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironments
default ListEnvironmentsResponse listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets a list of Cloud9 development environment identifiers.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- Result of the ListEnvironments operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironments
default ListEnvironmentsResponse listEnvironments() throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Gets a list of Cloud9 development environment identifiers.
- Returns:
- Result of the ListEnvironments operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listEnvironments(ListEnvironmentsRequest), AWS API Documentation
-
listEnvironmentsPaginator
default ListEnvironmentsIterable listEnvironmentsPaginator() throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
This is a variant of
listEnvironments(software.amazon.awssdk.services.cloud9.model.ListEnvironmentsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.cloud9.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cloud9.paginators.ListEnvironmentsIterable responses = client .listEnvironmentsPaginator(request); for (software.amazon.awssdk.services.cloud9.model.ListEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cloud9.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(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
listEnvironments(software.amazon.awssdk.services.cloud9.model.ListEnvironmentsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listEnvironmentsPaginator(ListEnvironmentsRequest), AWS API Documentation
-
listEnvironmentsPaginator
default ListEnvironmentsIterable listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
This is a variant of
listEnvironments(software.amazon.awssdk.services.cloud9.model.ListEnvironmentsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.cloud9.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cloud9.paginators.ListEnvironmentsIterable responses = client .listEnvironmentsPaginator(request); for (software.amazon.awssdk.services.cloud9.model.ListEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cloud9.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(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
listEnvironments(software.amazon.awssdk.services.cloud9.model.ListEnvironmentsRequest)operation.- Parameters:
listEnvironmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironmentsPaginator
default ListEnvironmentsIterable listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
This is a variant of
listEnvironments(software.amazon.awssdk.services.cloud9.model.ListEnvironmentsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.cloud9.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.cloud9.paginators.ListEnvironmentsIterable responses = client .listEnvironmentsPaginator(request); for (software.amazon.awssdk.services.cloud9.model.ListEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.cloud9.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(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
listEnvironments(software.amazon.awssdk.services.cloud9.model.ListEnvironmentsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws NotFoundException, InternalServerErrorException, BadRequestException, AwsServiceException, SdkClientException, Cloud9Exception
Gets a list of the tags associated with an Cloud9 development environment.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
NotFoundException- The target resource cannot be found.InternalServerErrorException- An internal server error occurred.BadRequestException- The target request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws NotFoundException, InternalServerErrorException, BadRequestException, AwsServiceException, SdkClientException, Cloud9Exception
Gets a list of the tags associated with an Cloud9 development environment.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
NotFoundException- The target resource cannot be found.InternalServerErrorException- An internal server error occurred.BadRequestException- The target request is invalid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws NotFoundException, InternalServerErrorException, BadRequestException, ConcurrentAccessException, AwsServiceException, SdkClientException, Cloud9Exception
Adds tags to an Cloud9 development environment.
Tags that you add to an Cloud9 environment by using this method will NOT be automatically propagated to underlying resources.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
NotFoundException- The target resource cannot be found.InternalServerErrorException- An internal server error occurred.BadRequestException- The target request is invalid.ConcurrentAccessException- A concurrent access issue occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws NotFoundException, InternalServerErrorException, BadRequestException, ConcurrentAccessException, AwsServiceException, SdkClientException, Cloud9Exception
Adds tags to an Cloud9 development environment.
Tags that you add to an Cloud9 environment by using this method will NOT be automatically propagated to underlying resources.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
NotFoundException- The target resource cannot be found.InternalServerErrorException- An internal server error occurred.BadRequestException- The target request is invalid.ConcurrentAccessException- A concurrent access issue occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws NotFoundException, InternalServerErrorException, BadRequestException, ConcurrentAccessException, AwsServiceException, SdkClientException, Cloud9Exception
Removes tags from an Cloud9 development environment.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
NotFoundException- The target resource cannot be found.InternalServerErrorException- An internal server error occurred.BadRequestException- The target request is invalid.ConcurrentAccessException- A concurrent access issue occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws NotFoundException, InternalServerErrorException, BadRequestException, ConcurrentAccessException, AwsServiceException, SdkClientException, Cloud9Exception
Removes tags from an Cloud9 development environment.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
NotFoundException- The target resource cannot be found.InternalServerErrorException- An internal server error occurred.BadRequestException- The target request is invalid.ConcurrentAccessException- A concurrent access issue occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEnvironment
default UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Changes the settings of an existing Cloud9 development environment.
- Parameters:
updateEnvironmentRequest-- Returns:
- Result of the UpdateEnvironment operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEnvironment
default UpdateEnvironmentResponse updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Changes the settings of an existing Cloud9 development environment.
This is a convenience which creates an instance of the
UpdateEnvironmentRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentRequest.builder()- Parameters:
updateEnvironmentRequest- AConsumerthat will call methods onUpdateEnvironmentRequest.Builderto create a request.- Returns:
- Result of the UpdateEnvironment operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEnvironmentMembership
default UpdateEnvironmentMembershipResponse updateEnvironmentMembership(UpdateEnvironmentMembershipRequest updateEnvironmentMembershipRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Changes the settings of an existing environment member for an Cloud9 development environment.
- Parameters:
updateEnvironmentMembershipRequest-- Returns:
- Result of the UpdateEnvironmentMembership operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateEnvironmentMembership
default UpdateEnvironmentMembershipResponse updateEnvironmentMembership(Consumer<UpdateEnvironmentMembershipRequest.Builder> updateEnvironmentMembershipRequest) throws BadRequestException, ConflictException, NotFoundException, ForbiddenException, TooManyRequestsException, LimitExceededException, InternalServerErrorException, AwsServiceException, SdkClientException, Cloud9Exception
Changes the settings of an existing environment member for an Cloud9 development environment.
This is a convenience which creates an instance of the
UpdateEnvironmentMembershipRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentMembershipRequest.builder()- Parameters:
updateEnvironmentMembershipRequest- AConsumerthat will call methods onUpdateEnvironmentMembershipRequest.Builderto create a request.- Returns:
- Result of the UpdateEnvironmentMembership operation returned by the service.
- Throws:
BadRequestException- The target request is invalid.ConflictException- A conflict occurred.NotFoundException- The target resource cannot be found.ForbiddenException- An access permissions issue occurred.TooManyRequestsException- Too many service requests were made over the given time period.LimitExceededException- A service limit was exceeded.InternalServerErrorException- An internal server error occurred.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Cloud9Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static Cloud9Client create()
Create aCloud9Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static Cloud9ClientBuilder builder()
Create a builder that can be used to configure and create aCloud9Client.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default Cloud9ServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-