Interface AmpClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface AmpClient extends AwsClient
Service client for accessing Amazon Prometheus Service. This can be created using the staticbuilder()method.Amazon Managed Service for Prometheus
-
-
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
-
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
-
createAlertManagerDefinition
default CreateAlertManagerDefinitionResponse createAlertManagerDefinition(CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Create an alert manager definition.
- Parameters:
createAlertManagerDefinitionRequest- Represents the input of a CreateAlertManagerDefinition operation.- Returns:
- Result of the CreateAlertManagerDefinition operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createAlertManagerDefinition
default 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.Builderavoiding the need to create one manually viaCreateAlertManagerDefinitionRequest.builder()- Parameters:
createAlertManagerDefinitionRequest- AConsumerthat will call methods onCreateAlertManagerDefinitionRequest.Builderto create a request. Represents the input of a CreateAlertManagerDefinition operation.- Returns:
- Result of the CreateAlertManagerDefinition operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createLoggingConfiguration
default CreateLoggingConfigurationResponse createLoggingConfiguration(CreateLoggingConfigurationRequest createLoggingConfigurationRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Create logging configuration.
- Parameters:
createLoggingConfigurationRequest- Represents the input of a CreateLoggingConfiguration operation.- Returns:
- Result of the CreateLoggingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createLoggingConfiguration
default CreateLoggingConfigurationResponse createLoggingConfiguration(Consumer<CreateLoggingConfigurationRequest.Builder> createLoggingConfigurationRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Create logging configuration.
This is a convenience which creates an instance of the
CreateLoggingConfigurationRequest.Builderavoiding the need to create one manually viaCreateLoggingConfigurationRequest.builder()- Parameters:
createLoggingConfigurationRequest- AConsumerthat will call methods onCreateLoggingConfigurationRequest.Builderto create a request. Represents the input of a CreateLoggingConfiguration operation.- Returns:
- Result of the CreateLoggingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createRuleGroupsNamespace
default CreateRuleGroupsNamespaceResponse createRuleGroupsNamespace(CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Create a rule group namespace.
- Parameters:
createRuleGroupsNamespaceRequest- Represents the input of a CreateRuleGroupsNamespace operation.- Returns:
- Result of the CreateRuleGroupsNamespace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createRuleGroupsNamespace
default 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.Builderavoiding the need to create one manually viaCreateRuleGroupsNamespaceRequest.builder()- Parameters:
createRuleGroupsNamespaceRequest- AConsumerthat will call methods onCreateRuleGroupsNamespaceRequest.Builderto create a request. Represents the input of a CreateRuleGroupsNamespace operation.- Returns:
- Result of the CreateRuleGroupsNamespace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createScraper
default CreateScraperResponse createScraper(CreateScraperRequest createScraperRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Create a scraper.
- Parameters:
createScraperRequest- Represents the input of a CreateScraper operation.- Returns:
- Result of the CreateScraper operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createScraper
default CreateScraperResponse createScraper(Consumer<CreateScraperRequest.Builder> createScraperRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Create a scraper.
This is a convenience which creates an instance of the
CreateScraperRequest.Builderavoiding the need to create one manually viaCreateScraperRequest.builder()- Parameters:
createScraperRequest- AConsumerthat will call methods onCreateScraperRequest.Builderto create a request. Represents the input of a CreateScraper operation.- Returns:
- Result of the CreateScraper operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createWorkspace
default CreateWorkspaceResponse createWorkspace(CreateWorkspaceRequest createWorkspaceRequest) throws ThrottlingException, ConflictException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Creates a new AMP workspace.
- Parameters:
createWorkspaceRequest- Represents the input of a CreateWorkspace operation.- Returns:
- Result of the CreateWorkspace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createWorkspace
default 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.Builderavoiding the need to create one manually viaCreateWorkspaceRequest.builder()- Parameters:
createWorkspaceRequest- AConsumerthat will call methods onCreateWorkspaceRequest.Builderto create a request. Represents the input of a CreateWorkspace operation.- Returns:
- Result of the CreateWorkspace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAlertManagerDefinition
default DeleteAlertManagerDefinitionResponse deleteAlertManagerDefinition(DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes an alert manager definition.
- Parameters:
deleteAlertManagerDefinitionRequest- Represents the input of a DeleteAlertManagerDefinition operation.- Returns:
- Result of the DeleteAlertManagerDefinition operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAlertManagerDefinition
default 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.Builderavoiding the need to create one manually viaDeleteAlertManagerDefinitionRequest.builder()- Parameters:
deleteAlertManagerDefinitionRequest- AConsumerthat will call methods onDeleteAlertManagerDefinitionRequest.Builderto create a request. Represents the input of a DeleteAlertManagerDefinition operation.- Returns:
- Result of the DeleteAlertManagerDefinition operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLoggingConfiguration
default DeleteLoggingConfigurationResponse deleteLoggingConfiguration(DeleteLoggingConfigurationRequest deleteLoggingConfigurationRequest) throws ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Delete logging configuration.
- Parameters:
deleteLoggingConfigurationRequest- Represents the input of a DeleteLoggingConfiguration operation.- Returns:
- Result of the DeleteLoggingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLoggingConfiguration
default DeleteLoggingConfigurationResponse deleteLoggingConfiguration(Consumer<DeleteLoggingConfigurationRequest.Builder> deleteLoggingConfigurationRequest) throws ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Delete logging configuration.
This is a convenience which creates an instance of the
DeleteLoggingConfigurationRequest.Builderavoiding the need to create one manually viaDeleteLoggingConfigurationRequest.builder()- Parameters:
deleteLoggingConfigurationRequest- AConsumerthat will call methods onDeleteLoggingConfigurationRequest.Builderto create a request. Represents the input of a DeleteLoggingConfiguration operation.- Returns:
- Result of the DeleteLoggingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRuleGroupsNamespace
default DeleteRuleGroupsNamespaceResponse deleteRuleGroupsNamespace(DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Delete a rule groups namespace.
- Parameters:
deleteRuleGroupsNamespaceRequest- Represents the input of a DeleteRuleGroupsNamespace operation.- Returns:
- Result of the DeleteRuleGroupsNamespace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRuleGroupsNamespace
default 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.Builderavoiding the need to create one manually viaDeleteRuleGroupsNamespaceRequest.builder()- Parameters:
deleteRuleGroupsNamespaceRequest- AConsumerthat will call methods onDeleteRuleGroupsNamespaceRequest.Builderto create a request. Represents the input of a DeleteRuleGroupsNamespace operation.- Returns:
- Result of the DeleteRuleGroupsNamespace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteScraper
default DeleteScraperResponse deleteScraper(DeleteScraperRequest deleteScraperRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes a scraper.
- Parameters:
deleteScraperRequest- Represents the input of a DeleteScraper operation.- Returns:
- Result of the DeleteScraper operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteScraper
default DeleteScraperResponse deleteScraper(Consumer<DeleteScraperRequest.Builder> deleteScraperRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes a scraper.
This is a convenience which creates an instance of the
DeleteScraperRequest.Builderavoiding the need to create one manually viaDeleteScraperRequest.builder()- Parameters:
deleteScraperRequest- AConsumerthat will call methods onDeleteScraperRequest.Builderto create a request. Represents the input of a DeleteScraper operation.- Returns:
- Result of the DeleteScraper operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteWorkspace
default DeleteWorkspaceResponse deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes an AMP workspace.
- Parameters:
deleteWorkspaceRequest- Represents the input of a DeleteWorkspace operation.- Returns:
- Result of the DeleteWorkspace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteWorkspace
default 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.Builderavoiding the need to create one manually viaDeleteWorkspaceRequest.builder()- Parameters:
deleteWorkspaceRequest- AConsumerthat will call methods onDeleteWorkspaceRequest.Builderto create a request. Represents the input of a DeleteWorkspace operation.- Returns:
- Result of the DeleteWorkspace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeAlertManagerDefinition
default DescribeAlertManagerDefinitionResponse describeAlertManagerDefinition(DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describes an alert manager definition.
- Parameters:
describeAlertManagerDefinitionRequest- Represents the input of a DescribeAlertManagerDefinition operation.- Returns:
- Result of the DescribeAlertManagerDefinition operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeAlertManagerDefinition
default 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.Builderavoiding the need to create one manually viaDescribeAlertManagerDefinitionRequest.builder()- Parameters:
describeAlertManagerDefinitionRequest- AConsumerthat will call methods onDescribeAlertManagerDefinitionRequest.Builderto create a request. Represents the input of a DescribeAlertManagerDefinition operation.- Returns:
- Result of the DescribeAlertManagerDefinition operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeLoggingConfiguration
default DescribeLoggingConfigurationResponse describeLoggingConfiguration(DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describes logging configuration.
- Parameters:
describeLoggingConfigurationRequest- Represents the input of a DescribeLoggingConfiguration operation.- Returns:
- Result of the DescribeLoggingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeLoggingConfiguration
default DescribeLoggingConfigurationResponse describeLoggingConfiguration(Consumer<DescribeLoggingConfigurationRequest.Builder> describeLoggingConfigurationRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describes logging configuration.
This is a convenience which creates an instance of the
DescribeLoggingConfigurationRequest.Builderavoiding the need to create one manually viaDescribeLoggingConfigurationRequest.builder()- Parameters:
describeLoggingConfigurationRequest- AConsumerthat will call methods onDescribeLoggingConfigurationRequest.Builderto create a request. Represents the input of a DescribeLoggingConfiguration operation.- Returns:
- Result of the DescribeLoggingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRuleGroupsNamespace
default DescribeRuleGroupsNamespaceResponse describeRuleGroupsNamespace(DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describe a rule groups namespace.
- Parameters:
describeRuleGroupsNamespaceRequest- Represents the input of a DescribeRuleGroupsNamespace operation.- Returns:
- Result of the DescribeRuleGroupsNamespace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRuleGroupsNamespace
default 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.Builderavoiding the need to create one manually viaDescribeRuleGroupsNamespaceRequest.builder()- Parameters:
describeRuleGroupsNamespaceRequest- AConsumerthat will call methods onDescribeRuleGroupsNamespaceRequest.Builderto create a request. Represents the input of a DescribeRuleGroupsNamespace operation.- Returns:
- Result of the DescribeRuleGroupsNamespace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeScraper
default DescribeScraperResponse describeScraper(DescribeScraperRequest describeScraperRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describe an existing scraper.
- Parameters:
describeScraperRequest- Represents the input of a DescribeScraper operation.- Returns:
- Result of the DescribeScraper operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeScraper
default DescribeScraperResponse describeScraper(Consumer<DescribeScraperRequest.Builder> describeScraperRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describe an existing scraper.
This is a convenience which creates an instance of the
DescribeScraperRequest.Builderavoiding the need to create one manually viaDescribeScraperRequest.builder()- Parameters:
describeScraperRequest- AConsumerthat will call methods onDescribeScraperRequest.Builderto create a request. Represents the input of a DescribeScraper operation.- Returns:
- Result of the DescribeScraper operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeWorkspace
default DescribeWorkspaceResponse describeWorkspace(DescribeWorkspaceRequest describeWorkspaceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Describes an existing AMP workspace.
- Parameters:
describeWorkspaceRequest- Represents the input of a DescribeWorkspace operation.- Returns:
- Result of the DescribeWorkspace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeWorkspace
default 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.Builderavoiding the need to create one manually viaDescribeWorkspaceRequest.builder()- Parameters:
describeWorkspaceRequest- AConsumerthat will call methods onDescribeWorkspaceRequest.Builderto create a request. Represents the input of a DescribeWorkspace operation.- Returns:
- Result of the DescribeWorkspace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDefaultScraperConfiguration
default GetDefaultScraperConfigurationResponse getDefaultScraperConfiguration(GetDefaultScraperConfigurationRequest getDefaultScraperConfigurationRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Gets a default configuration.
- Parameters:
getDefaultScraperConfigurationRequest- Represents the input of a GetDefaultScraperConfiguration operation.- Returns:
- Result of the GetDefaultScraperConfiguration operation returned by the service.
- Throws:
ThrottlingException- Request was denied due to request throttling.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.AwsServiceException- See Also:
- AWS API Documentation
-
getDefaultScraperConfiguration
default GetDefaultScraperConfigurationResponse getDefaultScraperConfiguration(Consumer<GetDefaultScraperConfigurationRequest.Builder> getDefaultScraperConfigurationRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Gets a default configuration.
This is a convenience which creates an instance of the
GetDefaultScraperConfigurationRequest.Builderavoiding the need to create one manually viaGetDefaultScraperConfigurationRequest.builder()- Parameters:
getDefaultScraperConfigurationRequest- AConsumerthat will call methods onGetDefaultScraperConfigurationRequest.Builderto create a request. Represents the input of a GetDefaultScraperConfiguration operation.- Returns:
- Result of the GetDefaultScraperConfiguration operation returned by the service.
- Throws:
ThrottlingException- Request was denied due to request throttling.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.AwsServiceException- See Also:
- AWS API Documentation
-
listRuleGroupsNamespaces
default ListRuleGroupsNamespacesResponse listRuleGroupsNamespaces(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists rule groups namespaces.
- Parameters:
listRuleGroupsNamespacesRequest- Represents the input of a ListRuleGroupsNamespaces operation.- Returns:
- Result of the ListRuleGroupsNamespaces operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRuleGroupsNamespaces
default 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.Builderavoiding the need to create one manually viaListRuleGroupsNamespacesRequest.builder()- Parameters:
listRuleGroupsNamespacesRequest- AConsumerthat will call methods onListRuleGroupsNamespacesRequest.Builderto create a request. Represents the input of a ListRuleGroupsNamespaces operation.- Returns:
- Result of the ListRuleGroupsNamespaces operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRuleGroupsNamespacesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesIterable responses = client.listRuleGroupsNamespacesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listRuleGroupsNamespacesRequest- Represents the input of a ListRuleGroupsNamespaces operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRuleGroupsNamespacesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesIterable responses = client.listRuleGroupsNamespacesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListRuleGroupsNamespacesRequest.builder()- Parameters:
listRuleGroupsNamespacesRequest- AConsumerthat will call methods onListRuleGroupsNamespacesRequest.Builderto create a request. Represents the input of a ListRuleGroupsNamespaces operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listScrapers
default ListScrapersResponse listScrapers(ListScrapersRequest listScrapersRequest) throws ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
- Parameters:
listScrapersRequest- Represents the input of a ListScrapers operation.- Returns:
- Result of the ListScrapers operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listScrapers
default ListScrapersResponse listScrapers(Consumer<ListScrapersRequest.Builder> listScrapersRequest) throws ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
This is a convenience which creates an instance of the
ListScrapersRequest.Builderavoiding the need to create one manually viaListScrapersRequest.builder()- Parameters:
listScrapersRequest- AConsumerthat will call methods onListScrapersRequest.Builderto create a request. Represents the input of a ListScrapers operation.- Returns:
- Result of the ListScrapers operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listScrapersPaginator
default ListScrapersIterable listScrapersPaginator(ListScrapersRequest listScrapersRequest) throws ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
This is a variant of
listScrapers(software.amazon.awssdk.services.amp.model.ListScrapersRequest)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.amp.paginators.ListScrapersIterable responses = client.listScrapersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amp.paginators.ListScrapersIterable responses = client.listScrapersPaginator(request); for (software.amazon.awssdk.services.amp.model.ListScrapersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amp.paginators.ListScrapersIterable responses = client.listScrapersPaginator(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
listScrapers(software.amazon.awssdk.services.amp.model.ListScrapersRequest)operation.- Parameters:
listScrapersRequest- Represents the input of a ListScrapers operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listScrapersPaginator
default ListScrapersIterable listScrapersPaginator(Consumer<ListScrapersRequest.Builder> listScrapersRequest) throws ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
This is a variant of
listScrapers(software.amazon.awssdk.services.amp.model.ListScrapersRequest)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.amp.paginators.ListScrapersIterable responses = client.listScrapersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amp.paginators.ListScrapersIterable responses = client.listScrapersPaginator(request); for (software.amazon.awssdk.services.amp.model.ListScrapersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amp.paginators.ListScrapersIterable responses = client.listScrapersPaginator(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
listScrapers(software.amazon.awssdk.services.amp.model.ListScrapersRequest)operation.This is a convenience which creates an instance of the
ListScrapersRequest.Builderavoiding the need to create one manually viaListScrapersRequest.builder()- Parameters:
listScrapersRequest- AConsumerthat will call methods onListScrapersRequest.Builderto create a request. Represents the input of a ListScrapers operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists the tags you have assigned to the resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default 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.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:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkspaces
default ListWorkspacesResponse listWorkspaces(ListWorkspacesRequest listWorkspacesRequest) throws ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Lists all AMP workspaces, including workspaces being created or deleted.
- Parameters:
listWorkspacesRequest- Represents the input of a ListWorkspaces operation.- Returns:
- Result of the ListWorkspaces operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkspaces
default 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.Builderavoiding the need to create one manually viaListWorkspacesRequest.builder()- Parameters:
listWorkspacesRequest- AConsumerthat will call methods onListWorkspacesRequest.Builderto create a request. Represents the input of a ListWorkspaces operation.- Returns:
- Result of the ListWorkspaces operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkspacesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.amp.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listWorkspacesRequest- Represents the input of a ListWorkspaces operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkspacesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.amp.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListWorkspacesRequest.builder()- Parameters:
listWorkspacesRequest- AConsumerthat will call methods onListWorkspacesRequest.Builderto create a request. Represents the input of a ListWorkspaces operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putAlertManagerDefinition
default PutAlertManagerDefinitionResponse putAlertManagerDefinition(PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Update an alert manager definition.
- Parameters:
putAlertManagerDefinitionRequest- Represents the input of a PutAlertManagerDefinition operation.- Returns:
- Result of the PutAlertManagerDefinition operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putAlertManagerDefinition
default 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.Builderavoiding the need to create one manually viaPutAlertManagerDefinitionRequest.builder()- Parameters:
putAlertManagerDefinitionRequest- AConsumerthat will call methods onPutAlertManagerDefinitionRequest.Builderto create a request. Represents the input of a PutAlertManagerDefinition operation.- Returns:
- Result of the PutAlertManagerDefinition operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putRuleGroupsNamespace
default PutRuleGroupsNamespaceResponse putRuleGroupsNamespace(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Update a rule groups namespace.
- Parameters:
putRuleGroupsNamespaceRequest- Represents the input of a PutRuleGroupsNamespace operation.- Returns:
- Result of the PutRuleGroupsNamespace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putRuleGroupsNamespace
default 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.Builderavoiding the need to create one manually viaPutRuleGroupsNamespaceRequest.builder()- Parameters:
putRuleGroupsNamespaceRequest- AConsumerthat will call methods onPutRuleGroupsNamespaceRequest.Builderto create a request. Represents the input of a PutRuleGroupsNamespace operation.- Returns:
- Result of the PutRuleGroupsNamespace operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Creates tags for the specified resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default 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.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:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Deletes tags from the specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default 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.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:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateLoggingConfiguration
default UpdateLoggingConfigurationResponse updateLoggingConfiguration(UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest) throws ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Update logging configuration.
- Parameters:
updateLoggingConfigurationRequest- Represents the input of an UpdateLoggingConfiguration operation.- Returns:
- Result of the UpdateLoggingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateLoggingConfiguration
default UpdateLoggingConfigurationResponse updateLoggingConfiguration(Consumer<UpdateLoggingConfigurationRequest.Builder> updateLoggingConfigurationRequest) throws ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AmpException
Update logging configuration.
This is a convenience which creates an instance of the
UpdateLoggingConfigurationRequest.Builderavoiding the need to create one manually viaUpdateLoggingConfigurationRequest.builder()- Parameters:
updateLoggingConfigurationRequest- AConsumerthat will call methods onUpdateLoggingConfigurationRequest.Builderto create a request. Represents the input of an UpdateLoggingConfiguration operation.- Returns:
- Result of the UpdateLoggingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateWorkspaceAlias
default UpdateWorkspaceAliasResponse updateWorkspaceAlias(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest) throws ThrottlingException, ConflictException, ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AmpException
Updates an AMP workspace alias.
- Parameters:
updateWorkspaceAliasRequest- Represents the input of an UpdateWorkspaceAlias operation.- Returns:
- Result of the UpdateWorkspaceAlias operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateWorkspaceAlias
default 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.Builderavoiding the need to create one manually viaUpdateWorkspaceAliasRequest.builder()- Parameters:
updateWorkspaceAliasRequest- AConsumerthat will call methods onUpdateWorkspaceAliasRequest.Builderto create a request. Represents the input of an UpdateWorkspaceAlias operation.- Returns:
- Result of the UpdateWorkspaceAlias operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
waiter
default AmpWaiter waiter()
Create an instance ofAmpWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
AmpWaiter
-
create
static AmpClient create()
Create aAmpClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static AmpClientBuilder builder()
Create a builder that can be used to configure and create aAmpClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default AmpServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-