@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface AmpClient extends SdkClient
builder()
method.
Amazon Managed Service for Prometheus
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static AmpClient create()
AmpClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static AmpClientBuilder builder()
AmpClient.default CreateAlertManagerDefinitionResponse createAlertManagerDefinition(CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Create an alert manager definition.
createAlertManagerDefinitionRequest - Represents the input of a CreateAlertManagerDefinition operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAlertManagerDefinitionResponse createAlertManagerDefinition(Consumer<CreateAlertManagerDefinitionRequest.Builder> createAlertManagerDefinitionRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Create an alert manager definition.
This is a convenience which creates an instance of the CreateAlertManagerDefinitionRequest.Builder
avoiding the need to create one manually via CreateAlertManagerDefinitionRequest.builder()
createAlertManagerDefinitionRequest - A Consumer that will call methods on CreateAlertManagerDefinitionRequest.Builder to create
a request. Represents the input of a CreateAlertManagerDefinition operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateRuleGroupsNamespaceResponse createRuleGroupsNamespace(CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Create a rule group namespace.
createRuleGroupsNamespaceRequest - Represents the input of a CreateRuleGroupsNamespace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateRuleGroupsNamespaceResponse createRuleGroupsNamespace(Consumer<CreateRuleGroupsNamespaceRequest.Builder> createRuleGroupsNamespaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Create a rule group namespace.
This is a convenience which creates an instance of the CreateRuleGroupsNamespaceRequest.Builder avoiding
the need to create one manually via CreateRuleGroupsNamespaceRequest.builder()
createRuleGroupsNamespaceRequest - A Consumer that will call methods on CreateRuleGroupsNamespaceRequest.Builder to create a
request. Represents the input of a CreateRuleGroupsNamespace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateWorkspaceResponse createWorkspace(CreateWorkspaceRequest createWorkspaceRequest) throws ThrottlingException, ConflictException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Creates a new AMP workspace.
createWorkspaceRequest - Represents the input of a CreateWorkspace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateWorkspaceResponse createWorkspace(Consumer<CreateWorkspaceRequest.Builder> createWorkspaceRequest) throws ThrottlingException, ConflictException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Creates a new AMP workspace.
This is a convenience which creates an instance of the CreateWorkspaceRequest.Builder avoiding the need
to create one manually via CreateWorkspaceRequest.builder()
createWorkspaceRequest - A Consumer that will call methods on CreateWorkspaceRequest.Builder to create a request.
Represents the input of a CreateWorkspace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAlertManagerDefinitionResponse deleteAlertManagerDefinition(DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes an alert manager definition.
deleteAlertManagerDefinitionRequest - Represents the input of a DeleteAlertManagerDefinition operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAlertManagerDefinitionResponse deleteAlertManagerDefinition(Consumer<DeleteAlertManagerDefinitionRequest.Builder> deleteAlertManagerDefinitionRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes an alert manager definition.
This is a convenience which creates an instance of the DeleteAlertManagerDefinitionRequest.Builder
avoiding the need to create one manually via DeleteAlertManagerDefinitionRequest.builder()
deleteAlertManagerDefinitionRequest - A Consumer that will call methods on DeleteAlertManagerDefinitionRequest.Builder to create
a request. Represents the input of a DeleteAlertManagerDefinition operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRuleGroupsNamespaceResponse deleteRuleGroupsNamespace(DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Delete a rule groups namespace.
deleteRuleGroupsNamespaceRequest - Represents the input of a DeleteRuleGroupsNamespace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRuleGroupsNamespaceResponse deleteRuleGroupsNamespace(Consumer<DeleteRuleGroupsNamespaceRequest.Builder> deleteRuleGroupsNamespaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Delete a rule groups namespace.
This is a convenience which creates an instance of the DeleteRuleGroupsNamespaceRequest.Builder avoiding
the need to create one manually via DeleteRuleGroupsNamespaceRequest.builder()
deleteRuleGroupsNamespaceRequest - A Consumer that will call methods on DeleteRuleGroupsNamespaceRequest.Builder to create a
request. Represents the input of a DeleteRuleGroupsNamespace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteWorkspaceResponse deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes an AMP workspace.
deleteWorkspaceRequest - Represents the input of a DeleteWorkspace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteWorkspaceResponse deleteWorkspace(Consumer<DeleteWorkspaceRequest.Builder> deleteWorkspaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes an AMP workspace.
This is a convenience which creates an instance of the DeleteWorkspaceRequest.Builder avoiding the need
to create one manually via DeleteWorkspaceRequest.builder()
deleteWorkspaceRequest - A Consumer that will call methods on DeleteWorkspaceRequest.Builder to create a request.
Represents the input of a DeleteWorkspace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAlertManagerDefinitionResponse describeAlertManagerDefinition(DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describes an alert manager definition.
describeAlertManagerDefinitionRequest - Represents the input of a DescribeAlertManagerDefinition operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAlertManagerDefinitionResponse describeAlertManagerDefinition(Consumer<DescribeAlertManagerDefinitionRequest.Builder> describeAlertManagerDefinitionRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describes an alert manager definition.
This is a convenience which creates an instance of the DescribeAlertManagerDefinitionRequest.Builder
avoiding the need to create one manually via DescribeAlertManagerDefinitionRequest.builder()
describeAlertManagerDefinitionRequest - A Consumer that will call methods on DescribeAlertManagerDefinitionRequest.Builder to
create a request. Represents the input of a DescribeAlertManagerDefinition operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeRuleGroupsNamespaceResponse describeRuleGroupsNamespace(DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describe a rule groups namespace.
describeRuleGroupsNamespaceRequest - Represents the input of a DescribeRuleGroupsNamespace operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeRuleGroupsNamespaceResponse describeRuleGroupsNamespace(Consumer<DescribeRuleGroupsNamespaceRequest.Builder> describeRuleGroupsNamespaceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describe a rule groups namespace.
This is a convenience which creates an instance of the DescribeRuleGroupsNamespaceRequest.Builder
avoiding the need to create one manually via DescribeRuleGroupsNamespaceRequest.builder()
describeRuleGroupsNamespaceRequest - A Consumer that will call methods on DescribeRuleGroupsNamespaceRequest.Builder to create
a request. Represents the input of a DescribeRuleGroupsNamespace operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeWorkspaceResponse describeWorkspace(DescribeWorkspaceRequest describeWorkspaceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describes an existing AMP workspace.
describeWorkspaceRequest - Represents the input of a DescribeWorkspace operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeWorkspaceResponse describeWorkspace(Consumer<DescribeWorkspaceRequest.Builder> describeWorkspaceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describes an existing AMP workspace.
This is a convenience which creates an instance of the DescribeWorkspaceRequest.Builder avoiding the need
to create one manually via DescribeWorkspaceRequest.builder()
describeWorkspaceRequest - A Consumer that will call methods on DescribeWorkspaceRequest.Builder to create a request.
Represents the input of a DescribeWorkspace operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRuleGroupsNamespacesResponse listRuleGroupsNamespaces(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists rule groups namespaces.
listRuleGroupsNamespacesRequest - Represents the input of a ListRuleGroupsNamespaces operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRuleGroupsNamespacesResponse listRuleGroupsNamespaces(Consumer<ListRuleGroupsNamespacesRequest.Builder> listRuleGroupsNamespacesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists rule groups namespaces.
This is a convenience which creates an instance of the ListRuleGroupsNamespacesRequest.Builder avoiding
the need to create one manually via ListRuleGroupsNamespacesRequest.builder()
listRuleGroupsNamespacesRequest - A Consumer that will call methods on ListRuleGroupsNamespacesRequest.Builder to create a
request. Represents the input of a ListRuleGroupsNamespaces operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRuleGroupsNamespacesIterable listRuleGroupsNamespacesPaginator(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists rule groups namespaces.
This is a variant of
listRuleGroupsNamespaces(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesRequest)
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
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesIterable responses = client.listRuleGroupsNamespacesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesIterable responses = client
.listRuleGroupsNamespacesPaginator(request);
for (software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesIterable responses = client.listRuleGroupsNamespacesPaginator(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
listRuleGroupsNamespaces(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesRequest)
operation.
listRuleGroupsNamespacesRequest - Represents the input of a ListRuleGroupsNamespaces operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRuleGroupsNamespacesIterable listRuleGroupsNamespacesPaginator(Consumer<ListRuleGroupsNamespacesRequest.Builder> listRuleGroupsNamespacesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists rule groups namespaces.
This is a variant of
listRuleGroupsNamespaces(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesRequest)
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
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesIterable responses = client.listRuleGroupsNamespacesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesIterable responses = client
.listRuleGroupsNamespacesPaginator(request);
for (software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesIterable responses = client.listRuleGroupsNamespacesPaginator(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
listRuleGroupsNamespaces(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesRequest)
operation.
This is a convenience which creates an instance of the ListRuleGroupsNamespacesRequest.Builder avoiding
the need to create one manually via ListRuleGroupsNamespacesRequest.builder()
listRuleGroupsNamespacesRequest - A Consumer that will call methods on ListRuleGroupsNamespacesRequest.Builder to create a
request. Represents the input of a ListRuleGroupsNamespaces operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists the tags you have assigned to the resource.
listTagsForResourceRequest - ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists the tags you have assigned to the resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkspacesResponse listWorkspaces(ListWorkspacesRequest listWorkspacesRequest) throws ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists all AMP workspaces, including workspaces being created or deleted.
listWorkspacesRequest - Represents the input of a ListWorkspaces operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkspacesResponse listWorkspaces(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest) throws ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists all AMP workspaces, including workspaces being created or deleted.
This is a convenience which creates an instance of the ListWorkspacesRequest.Builder avoiding the need to
create one manually via ListWorkspacesRequest.builder()
listWorkspacesRequest - A Consumer that will call methods on ListWorkspacesRequest.Builder to create a request.
Represents the input of a ListWorkspaces operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkspacesIterable listWorkspacesPaginator(ListWorkspacesRequest listWorkspacesRequest) throws ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists all AMP workspaces, including workspaces being created or deleted.
This is a variant of listWorkspaces(software.amazon.awssdk.services.amp.model.ListWorkspacesRequest)
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
software.amazon.awssdk.services.amp.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.amp.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
for (software.amazon.awssdk.services.amp.model.ListWorkspacesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.amp.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(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
listWorkspaces(software.amazon.awssdk.services.amp.model.ListWorkspacesRequest) operation.
listWorkspacesRequest - Represents the input of a ListWorkspaces operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkspacesIterable listWorkspacesPaginator(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest) throws ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists all AMP workspaces, including workspaces being created or deleted.
This is a variant of listWorkspaces(software.amazon.awssdk.services.amp.model.ListWorkspacesRequest)
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
software.amazon.awssdk.services.amp.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.amp.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
for (software.amazon.awssdk.services.amp.model.ListWorkspacesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.amp.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(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
listWorkspaces(software.amazon.awssdk.services.amp.model.ListWorkspacesRequest) operation.
This is a convenience which creates an instance of the ListWorkspacesRequest.Builder avoiding the need to
create one manually via ListWorkspacesRequest.builder()
listWorkspacesRequest - A Consumer that will call methods on ListWorkspacesRequest.Builder to create a request.
Represents the input of a ListWorkspaces operation.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutAlertManagerDefinitionResponse putAlertManagerDefinition(PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Update an alert manager definition.
putAlertManagerDefinitionRequest - Represents the input of a PutAlertManagerDefinition operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutAlertManagerDefinitionResponse putAlertManagerDefinition(Consumer<PutAlertManagerDefinitionRequest.Builder> putAlertManagerDefinitionRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Update an alert manager definition.
This is a convenience which creates an instance of the PutAlertManagerDefinitionRequest.Builder avoiding
the need to create one manually via PutAlertManagerDefinitionRequest.builder()
putAlertManagerDefinitionRequest - A Consumer that will call methods on PutAlertManagerDefinitionRequest.Builder to create a
request. Represents the input of a PutAlertManagerDefinition operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutRuleGroupsNamespaceResponse putRuleGroupsNamespace(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Update a rule groups namespace.
putRuleGroupsNamespaceRequest - Represents the input of a PutRuleGroupsNamespace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutRuleGroupsNamespaceResponse putRuleGroupsNamespace(Consumer<PutRuleGroupsNamespaceRequest.Builder> putRuleGroupsNamespaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Update a rule groups namespace.
This is a convenience which creates an instance of the PutRuleGroupsNamespaceRequest.Builder avoiding the
need to create one manually via PutRuleGroupsNamespaceRequest.builder()
putRuleGroupsNamespaceRequest - A Consumer that will call methods on PutRuleGroupsNamespaceRequest.Builder to create a
request. Represents the input of a PutRuleGroupsNamespace operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Creates tags for the specified resource.
tagResourceRequest - ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Creates tags for the specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes tags from the specified resource.
untagResourceRequest - ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes tags from the specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ThrottlingException - Request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateWorkspaceAliasResponse updateWorkspaceAlias(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Updates an AMP workspace alias.
updateWorkspaceAliasRequest - Represents the input of an UpdateWorkspaceAlias operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateWorkspaceAliasResponse updateWorkspaceAlias(Consumer<UpdateWorkspaceAliasRequest.Builder> updateWorkspaceAliasRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Updates an AMP workspace alias.
This is a convenience which creates an instance of the UpdateWorkspaceAliasRequest.Builder avoiding the
need to create one manually via UpdateWorkspaceAliasRequest.builder()
updateWorkspaceAliasRequest - A Consumer that will call methods on UpdateWorkspaceAliasRequest.Builder to create a
request. Represents the input of an UpdateWorkspaceAlias operation.ThrottlingException - Request was denied due to request throttling.ConflictException - Updating or deleting a resource can cause an inconsistent state.ValidationException - The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException - Request references a resource which does not exist.AccessDeniedException - User does not have sufficient access to perform this action.InternalServerException - Unexpected error during processing of request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.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.AmpException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2021. All rights reserved.