@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.
|
Modifier and Type | Method and Description |
---|---|
CreateWorkspaceResult |
createWorkspace(CreateWorkspaceRequest createWorkspaceRequest)
Creates a new AMP workspace.
|
DeleteWorkspaceResult |
deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest)
Deletes an AMP workspace.
|
DescribeWorkspaceResult |
describeWorkspace(DescribeWorkspaceRequest describeWorkspaceRequest)
Describes an existing AMP workspace.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListWorkspacesResult |
listWorkspaces(ListWorkspacesRequest listWorkspacesRequest)
Lists all AMP workspaces, including workspaces being created or deleted.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateWorkspaceAliasResult |
updateWorkspaceAlias(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest)
Updates an AMP workspace alias.
|
static final String ENDPOINT_PREFIX
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.DeleteWorkspaceResult deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest)
Deletes an AMP workspace.
deleteWorkspaceRequest
- Represents the input of a DeleteWorkspace 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.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.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.