@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 is a serverless, Prometheus-compatible monitoring service for container metrics that makes it easier to securely monitor container environments at scale. With Amazon Managed Service for Prometheus, you can use the same open-source Prometheus data model and query language that you use today to monitor the performance of your containerized workloads, and also enjoy improved scalability, availability, and security without having to manage the underlying infrastructure.
For more information about Amazon Managed Service for Prometheus, see the Amazon Managed Service for Prometheus User Guide.
Amazon Managed Service for Prometheus includes two APIs.
Use the Amazon Web Services API described in this guide to manage Amazon Managed Service for Prometheus resources, such as workspaces, rule groups, and alert managers.
Use the Prometheus-compatible API to work within your Prometheus workspace.
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 |
---|---|
CreateAlertManagerDefinitionResult |
createAlertManagerDefinition(CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest)
The
CreateAlertManagerDefinition operation creates the alert manager definition in a workspace. |
CreateLoggingConfigurationResult |
createLoggingConfiguration(CreateLoggingConfigurationRequest createLoggingConfigurationRequest)
The
CreateLoggingConfiguration operation creates a logging configuration for the workspace. |
CreateRuleGroupsNamespaceResult |
createRuleGroupsNamespace(CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest)
The
CreateRuleGroupsNamespace operation creates a rule groups namespace within a workspace. |
CreateScraperResult |
createScraper(CreateScraperRequest createScraperRequest)
The
CreateScraper operation creates a scraper to collect metrics. |
CreateWorkspaceResult |
createWorkspace(CreateWorkspaceRequest createWorkspaceRequest)
Creates a Prometheus workspace.
|
DeleteAlertManagerDefinitionResult |
deleteAlertManagerDefinition(DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest)
Deletes the alert manager definition from a workspace.
|
DeleteLoggingConfigurationResult |
deleteLoggingConfiguration(DeleteLoggingConfigurationRequest deleteLoggingConfigurationRequest)
Deletes the logging configuration for a workspace.
|
DeleteRuleGroupsNamespaceResult |
deleteRuleGroupsNamespace(DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest)
Deletes one rule groups namespace and its associated rule groups definition.
|
DeleteScraperResult |
deleteScraper(DeleteScraperRequest deleteScraperRequest)
The
DeleteScraper operation deletes one scraper, and stops any metrics collection that the scraper
performs. |
DeleteWorkspaceResult |
deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest)
Deletes an existing workspace.
|
DescribeAlertManagerDefinitionResult |
describeAlertManagerDefinition(DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest)
Retrieves the full information about the alert manager definition for a workspace.
|
DescribeLoggingConfigurationResult |
describeLoggingConfiguration(DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest)
Returns complete information about the current logging configuration of the workspace.
|
DescribeRuleGroupsNamespaceResult |
describeRuleGroupsNamespace(DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest)
Returns complete information about one rule groups namespace.
|
DescribeScraperResult |
describeScraper(DescribeScraperRequest describeScraperRequest)
The
DescribeScraper operation displays information about an existing scraper. |
DescribeWorkspaceResult |
describeWorkspace(DescribeWorkspaceRequest describeWorkspaceRequest)
Returns information about an existing 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.
|
GetDefaultScraperConfigurationResult |
getDefaultScraperConfiguration(GetDefaultScraperConfigurationRequest getDefaultScraperConfigurationRequest)
The
GetDefaultScraperConfiguration operation returns the default scraper configuration used when
Amazon EKS creates a scraper for you. |
ListRuleGroupsNamespacesResult |
listRuleGroupsNamespaces(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest)
Returns a list of rule groups namespaces in a workspace.
|
ListScrapersResult |
listScrapers(ListScrapersRequest listScrapersRequest)
The
ListScrapers operation lists all of the scrapers in your account. |
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
The
ListTagsForResource operation returns the tags that are associated with an Amazon Managed
Service for Prometheus resource. |
ListWorkspacesResult |
listWorkspaces(ListWorkspacesRequest listWorkspacesRequest)
Lists all of the Amazon Managed Service for Prometheus workspaces in your account.
|
PutAlertManagerDefinitionResult |
putAlertManagerDefinition(PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest)
Updates an existing alert manager definition in a workspace.
|
PutRuleGroupsNamespaceResult |
putRuleGroupsNamespace(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest)
Updates an existing rule groups namespace within a workspace.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
The
TagResource operation associates tags with an Amazon Managed Service for Prometheus resource. |
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from an Amazon Managed Service for Prometheus resource.
|
UpdateLoggingConfigurationResult |
updateLoggingConfiguration(UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest)
Updates the log group ARN or the workspace ID of the current logging configuration.
|
UpdateWorkspaceAliasResult |
updateWorkspaceAlias(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest)
Updates the alias of an existing workspace.
|
AmazonPrometheusWaiters |
waiters() |
static final String ENDPOINT_PREFIX
CreateAlertManagerDefinitionResult createAlertManagerDefinition(CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest)
The CreateAlertManagerDefinition
operation creates the alert manager definition in a workspace. If a
workspace already has an alert manager definition, don't use this operation to update it. Instead, use
PutAlertManagerDefinition
.
createAlertManagerDefinitionRequest
- Represents the input of a CreateAlertManagerDefinition
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ServiceQuotaExceededException
- Completing the request would cause a service quota to be exceeded.CreateLoggingConfigurationResult createLoggingConfiguration(CreateLoggingConfigurationRequest createLoggingConfigurationRequest)
The CreateLoggingConfiguration
operation creates a logging configuration for the workspace. Use this
operation to set the CloudWatch log group to which the logs will be published to.
createLoggingConfigurationRequest
- Represents the input of a CreateLoggingConfiguration
operation.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.CreateRuleGroupsNamespaceResult createRuleGroupsNamespace(CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest)
The CreateRuleGroupsNamespace
operation creates a rule groups namespace within a workspace. A rule
groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces.
Use this operation only to create new rule groups namespaces. To update an existing rule groups namespace, use
PutRuleGroupsNamespace
.
createRuleGroupsNamespaceRequest
- Represents the input of a CreateRuleGroupsNamespace
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ServiceQuotaExceededException
- Completing the request would cause a service quota to be exceeded.CreateScraperResult createScraper(CreateScraperRequest createScraperRequest)
The CreateScraper
operation creates a scraper to collect metrics. A scraper pulls metrics from
Prometheus-compatible sources within an Amazon EKS cluster, and sends them to your Amazon Managed Service for
Prometheus workspace. You can configure the scraper to control what metrics are collected, and what
transformations are applied prior to sending them to your workspace.
If needed, an IAM role will be created for you that gives Amazon Managed Service for Prometheus access to the metrics in your cluster. For more information, see Using roles for scraping metrics from EKS in the Amazon Managed Service for Prometheus User Guide.
You cannot update a scraper. If you want to change the configuration of the scraper, create a new scraper and delete the old one.
The scrapeConfiguration
parameter contains the base64-encoded version of the YAML configuration
file.
For more information about collectors, including what metrics are collected, and how to configure the scraper, see Amazon Web Services managed collectors in the Amazon Managed Service for Prometheus User Guide.
createScraperRequest
- Represents the input of a CreateScraper
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ServiceQuotaExceededException
- Completing the request would cause a service quota to be exceeded.CreateWorkspaceResult createWorkspace(CreateWorkspaceRequest createWorkspaceRequest)
Creates a Prometheus workspace. A workspace is a logical space dedicated to the storage and querying of Prometheus metrics. You can have one or more workspaces in each Region in your account.
createWorkspaceRequest
- Represents the input of a CreateWorkspace
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ServiceQuotaExceededException
- Completing the request would cause a service quota to be exceeded.DeleteAlertManagerDefinitionResult deleteAlertManagerDefinition(DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest)
Deletes the alert manager definition from a workspace.
deleteAlertManagerDefinitionRequest
- Represents the input of a DeleteAlertManagerDefinition
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.DeleteLoggingConfigurationResult deleteLoggingConfiguration(DeleteLoggingConfigurationRequest deleteLoggingConfigurationRequest)
Deletes the logging configuration for a workspace.
deleteLoggingConfigurationRequest
- Represents the input of a DeleteLoggingConfiguration
operation.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.DeleteRuleGroupsNamespaceResult deleteRuleGroupsNamespace(DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest)
Deletes one rule groups namespace and its associated rule groups definition.
deleteRuleGroupsNamespaceRequest
- Represents the input of a DeleteRuleGroupsNamespace
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.DeleteScraperResult deleteScraper(DeleteScraperRequest deleteScraperRequest)
The DeleteScraper
operation deletes one scraper, and stops any metrics collection that the scraper
performs.
deleteScraperRequest
- Represents the input of a DeleteScraper
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.DeleteWorkspaceResult deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest)
Deletes an existing workspace.
When you delete a workspace, the data that has been ingested into it is not immediately deleted. It will be permanently deleted within one month.
deleteWorkspaceRequest
- Represents the input of a DeleteWorkspace
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.DescribeAlertManagerDefinitionResult describeAlertManagerDefinition(DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest)
Retrieves the full information about the alert manager definition for a workspace.
describeAlertManagerDefinitionRequest
- Represents the input of a DescribeAlertManagerDefinition
operation.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.DescribeLoggingConfigurationResult describeLoggingConfiguration(DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest)
Returns complete information about the current logging configuration of the workspace.
describeLoggingConfigurationRequest
- Represents the input of a DescribeLoggingConfiguration
operation.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.DescribeRuleGroupsNamespaceResult describeRuleGroupsNamespace(DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest)
Returns complete information about one rule groups namespace. To retrieve a list of rule groups namespaces, use
ListRuleGroupsNamespaces
.
describeRuleGroupsNamespaceRequest
- Represents the input of a DescribeRuleGroupsNamespace
operation.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.DescribeScraperResult describeScraper(DescribeScraperRequest describeScraperRequest)
The DescribeScraper
operation displays information about an existing scraper.
describeScraperRequest
- Represents the input of a DescribeScraper
operation.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.DescribeWorkspaceResult describeWorkspace(DescribeWorkspaceRequest describeWorkspaceRequest)
Returns information about an existing workspace.
describeWorkspaceRequest
- Represents the input of a DescribeWorkspace
operation.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.GetDefaultScraperConfigurationResult getDefaultScraperConfiguration(GetDefaultScraperConfigurationRequest getDefaultScraperConfigurationRequest)
The GetDefaultScraperConfiguration
operation returns the default scraper configuration used when
Amazon EKS creates a scraper for you.
getDefaultScraperConfigurationRequest
- Represents the input of a GetDefaultScraperConfiguration
operation.ThrottlingException
- The request was denied due to request throttling.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ListRuleGroupsNamespacesResult listRuleGroupsNamespaces(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest)
Returns a list of rule groups namespaces in a workspace.
listRuleGroupsNamespacesRequest
- Represents the input of a ListRuleGroupsNamespaces
operation.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ListScrapersResult listScrapers(ListScrapersRequest listScrapersRequest)
The ListScrapers
operation lists all of the scrapers in your account. This includes scrapers being
created or deleted. You can optionally filter the returned list.
listScrapersRequest
- Represents the input of a ListScrapers
operation.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
The ListTagsForResource
operation returns the tags that are associated with an Amazon Managed
Service for Prometheus resource. Currently, the only resources that can be tagged are workspaces and rule groups
namespaces.
listTagsForResourceRequest
- ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ListWorkspacesResult listWorkspaces(ListWorkspacesRequest listWorkspacesRequest)
Lists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes workspaces being created or deleted.
listWorkspacesRequest
- Represents the input of a ListWorkspaces
operation.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.PutAlertManagerDefinitionResult putAlertManagerDefinition(PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest)
Updates an existing alert manager definition in a workspace. If the workspace does not already have an alert
manager definition, don't use this operation to create it. Instead, use CreateAlertManagerDefinition
.
putAlertManagerDefinitionRequest
- Represents the input of a PutAlertManagerDefinition
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ServiceQuotaExceededException
- Completing the request would cause a service quota to be exceeded.PutRuleGroupsNamespaceResult putRuleGroupsNamespace(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest)
Updates an existing rule groups namespace within a workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces.
Use this operation only to update existing rule groups namespaces. To create a new rule groups namespace, use
CreateRuleGroupsNamespace
.
You can't use this operation to add tags to an existing rule groups namespace. Instead, use
TagResource
.
putRuleGroupsNamespaceRequest
- Represents the input of a PutRuleGroupsNamespace
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ServiceQuotaExceededException
- Completing the request would cause a service quota to be exceeded.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
The TagResource
operation associates tags with an Amazon Managed Service for Prometheus resource.
The only resources that can be tagged are workspaces and rule groups namespaces.
If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
tagResourceRequest
- ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from an Amazon Managed Service for Prometheus resource. The only resources that can be tagged are workspaces and rule groups namespaces.
untagResourceRequest
- ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.UpdateLoggingConfigurationResult updateLoggingConfiguration(UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest)
Updates the log group ARN or the workspace ID of the current logging configuration.
updateLoggingConfigurationRequest
- Represents the input of an UpdateLoggingConfiguration
operation.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.UpdateWorkspaceAliasResult updateWorkspaceAlias(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest)
Updates the alias of an existing workspace.
updateWorkspaceAliasRequest
- Represents the input of an UpdateWorkspaceAlias
operation.ThrottlingException
- The request was denied due to request throttling.ConflictException
- The request would cause an inconsistent state.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The request references a resources that doesn't exist.AccessDeniedException
- You do not have sufficient access to perform this action.InternalServerException
- An unexpected error occurred during the processing of the request.ServiceQuotaExceededException
- Completing the 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()