@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonPrometheus
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonPrometheus
instead.
Amazon Managed Service for Prometheus
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
static final String ENDPOINT_PREFIX
CreateAlertManagerDefinitionResult createAlertManagerDefinition(CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest)
Create an alert manager definition.
createAlertManagerDefinitionRequest
- Represents the input of a CreateAlertManagerDefinition operation.ThrottlingException
- Request was denied due to request throttling.ConflictException
- Updating or deleting a resource can cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.ServiceQuotaExceededException
- Request would cause a service quota to be exceeded.CreateLoggingConfigurationResult createLoggingConfiguration(CreateLoggingConfigurationRequest createLoggingConfigurationRequest)
Create logging configuration.
createLoggingConfigurationRequest
- Represents the input of a CreateLoggingConfiguration operation.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.CreateRuleGroupsNamespaceResult createRuleGroupsNamespace(CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest)
Create a rule group namespace.
createRuleGroupsNamespaceRequest
- Represents the input of a CreateRuleGroupsNamespace operation.ThrottlingException
- Request was denied due to request throttling.ConflictException
- Updating or deleting a resource can cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.ServiceQuotaExceededException
- Request would cause a service quota to be exceeded.CreateWorkspaceResult createWorkspace(CreateWorkspaceRequest createWorkspaceRequest)
Creates a new AMP workspace.
createWorkspaceRequest
- Represents the input of a CreateWorkspace operation.ThrottlingException
- Request was denied due to request throttling.ConflictException
- Updating or deleting a resource can cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.ServiceQuotaExceededException
- Request would cause a service quota to be exceeded.DeleteAlertManagerDefinitionResult deleteAlertManagerDefinition(DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest)
Deletes an alert manager definition.
deleteAlertManagerDefinitionRequest
- Represents the input of a DeleteAlertManagerDefinition operation.ThrottlingException
- Request was denied due to request throttling.ConflictException
- Updating or deleting a resource can cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.DeleteLoggingConfigurationResult deleteLoggingConfiguration(DeleteLoggingConfigurationRequest deleteLoggingConfigurationRequest)
Delete logging configuration.
deleteLoggingConfigurationRequest
- Represents the input of a DeleteLoggingConfiguration operation.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.DeleteRuleGroupsNamespaceResult deleteRuleGroupsNamespace(DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest)
Delete a rule groups namespace.
deleteRuleGroupsNamespaceRequest
- Represents the input of a DeleteRuleGroupsNamespace operation.ThrottlingException
- Request was denied due to request throttling.ConflictException
- Updating or deleting a resource can cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.DeleteWorkspaceResult deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest)
Deletes an AMP workspace.
deleteWorkspaceRequest
- Represents the input of a DeleteWorkspace operation.ThrottlingException
- Request was denied due to request throttling.ConflictException
- Updating or deleting a resource can cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.DescribeAlertManagerDefinitionResult describeAlertManagerDefinition(DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest)
Describes an alert manager definition.
describeAlertManagerDefinitionRequest
- Represents the input of a DescribeAlertManagerDefinition operation.ThrottlingException
- Request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.DescribeLoggingConfigurationResult describeLoggingConfiguration(DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest)
Describes logging configuration.
describeLoggingConfigurationRequest
- Represents the input of a DescribeLoggingConfiguration operation.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.DescribeRuleGroupsNamespaceResult describeRuleGroupsNamespace(DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest)
Describe a rule groups namespace.
describeRuleGroupsNamespaceRequest
- Represents the input of a DescribeRuleGroupsNamespace operation.ThrottlingException
- Request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.DescribeWorkspaceResult describeWorkspace(DescribeWorkspaceRequest describeWorkspaceRequest)
Describes an existing AMP workspace.
describeWorkspaceRequest
- Represents the input of a DescribeWorkspace operation.ThrottlingException
- Request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.ListRuleGroupsNamespacesResult listRuleGroupsNamespaces(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest)
Lists rule groups namespaces.
listRuleGroupsNamespacesRequest
- Represents the input of a ListRuleGroupsNamespaces operation.ThrottlingException
- Request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags you have assigned to the resource.
listTagsForResourceRequest
- ThrottlingException
- Request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.ListWorkspacesResult listWorkspaces(ListWorkspacesRequest listWorkspacesRequest)
Lists all AMP workspaces, including workspaces being created or deleted.
listWorkspacesRequest
- Represents the input of a ListWorkspaces operation.ThrottlingException
- Request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.PutAlertManagerDefinitionResult putAlertManagerDefinition(PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest)
Update an alert manager definition.
putAlertManagerDefinitionRequest
- Represents the input of a PutAlertManagerDefinition operation.ThrottlingException
- Request was denied due to request throttling.ConflictException
- Updating or deleting a resource can cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.ServiceQuotaExceededException
- Request would cause a service quota to be exceeded.PutRuleGroupsNamespaceResult putRuleGroupsNamespace(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest)
Update a rule groups namespace.
putRuleGroupsNamespaceRequest
- Represents the input of a PutRuleGroupsNamespace operation.ThrottlingException
- Request was denied due to request throttling.ConflictException
- Updating or deleting a resource can cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.ServiceQuotaExceededException
- Request would cause a service quota to be exceeded.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Creates tags for the specified resource.
tagResourceRequest
- ThrottlingException
- Request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Deletes tags from the specified resource.
untagResourceRequest
- ThrottlingException
- Request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.UpdateLoggingConfigurationResult updateLoggingConfiguration(UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest)
Update logging configuration.
updateLoggingConfigurationRequest
- Represents the input of an UpdateLoggingConfiguration operation.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.UpdateWorkspaceAliasResult updateWorkspaceAlias(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest)
Updates an AMP workspace alias.
updateWorkspaceAliasRequest
- Represents the input of an UpdateWorkspaceAlias operation.ThrottlingException
- Request was denied due to request throttling.ConflictException
- Updating or deleting a resource can cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an AWS service.ResourceNotFoundException
- Request references a resource which does not exist.AccessDeniedException
- User does not have sufficient access to perform this action.InternalServerException
- Unexpected error during processing of request.ServiceQuotaExceededException
- Request would cause a service quota to be exceeded.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.AmazonPrometheusWaiters waiters()