Interface BcmDashboardsAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Amazon Web Services Billing and Cost Management Dashboards is a service that enables you to create, manage, and share dashboards that combine multiple visualizations of your Amazon Web Services cost and usage data. You can combine multiple data sources including Cost Explorer, Savings Plans, and Reserved Instance metrics into unified dashboards, helping you analyze spending patterns and share cost insights across your organization.
You can use the Amazon Web Services Billing and Cost Management Dashboards API to programmatically create, manage, and share dashboards. This includes creating custom dashboards, configuring widgets, managing dashboard permissions, and sharing dashboards across accounts in your organization.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aBcmDashboardsAsyncClient.static BcmDashboardsAsyncClientcreate()Create aBcmDashboardsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateDashboardResponse> createDashboard(Consumer<CreateDashboardRequest.Builder> createDashboardRequest) Creates a new dashboard that can contain multiple widgets displaying cost and usage data.default CompletableFuture<CreateDashboardResponse> createDashboard(CreateDashboardRequest createDashboardRequest) Creates a new dashboard that can contain multiple widgets displaying cost and usage data.createScheduledReport(Consumer<CreateScheduledReportRequest.Builder> createScheduledReportRequest) Creates a new scheduled report for a dashboard.createScheduledReport(CreateScheduledReportRequest createScheduledReportRequest) Creates a new scheduled report for a dashboard.default CompletableFuture<DeleteDashboardResponse> deleteDashboard(Consumer<DeleteDashboardRequest.Builder> deleteDashboardRequest) Deletes a specified dashboard.default CompletableFuture<DeleteDashboardResponse> deleteDashboard(DeleteDashboardRequest deleteDashboardRequest) Deletes a specified dashboard.deleteScheduledReport(Consumer<DeleteScheduledReportRequest.Builder> deleteScheduledReportRequest) Deletes a specified scheduled report.deleteScheduledReport(DeleteScheduledReportRequest deleteScheduledReportRequest) Deletes a specified scheduled report.executeScheduledReport(Consumer<ExecuteScheduledReportRequest.Builder> executeScheduledReportRequest) Triggers an immediate execution of a scheduled report, outside of its regular schedule.executeScheduledReport(ExecuteScheduledReportRequest executeScheduledReportRequest) Triggers an immediate execution of a scheduled report, outside of its regular schedule.default CompletableFuture<GetDashboardResponse> getDashboard(Consumer<GetDashboardRequest.Builder> getDashboardRequest) Retrieves the configuration and metadata of a specified dashboard, including its widgets and layout settings.default CompletableFuture<GetDashboardResponse> getDashboard(GetDashboardRequest getDashboardRequest) Retrieves the configuration and metadata of a specified dashboard, including its widgets and layout settings.getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource-based policy attached to a dashboard, showing sharing configurations and permissions.getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource-based policy attached to a dashboard, showing sharing configurations and permissions.getScheduledReport(Consumer<GetScheduledReportRequest.Builder> getScheduledReportRequest) Retrieves the configuration and metadata of a specified scheduled report.getScheduledReport(GetScheduledReportRequest getScheduledReportRequest) Retrieves the configuration and metadata of a specified scheduled report.default CompletableFuture<ListDashboardsResponse> listDashboards(Consumer<ListDashboardsRequest.Builder> listDashboardsRequest) Returns a list of all dashboards in your account.default CompletableFuture<ListDashboardsResponse> listDashboards(ListDashboardsRequest listDashboardsRequest) Returns a list of all dashboards in your account.default ListDashboardsPublisherlistDashboardsPaginator(Consumer<ListDashboardsRequest.Builder> listDashboardsRequest) This is a variant oflistDashboards(software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsRequest)operation.default ListDashboardsPublisherlistDashboardsPaginator(ListDashboardsRequest listDashboardsRequest) This is a variant oflistDashboards(software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsRequest)operation.listScheduledReports(Consumer<ListScheduledReportsRequest.Builder> listScheduledReportsRequest) Returns a list of scheduled reports in your account.listScheduledReports(ListScheduledReportsRequest listScheduledReportsRequest) Returns a list of scheduled reports in your account.default ListScheduledReportsPublisherlistScheduledReportsPaginator(Consumer<ListScheduledReportsRequest.Builder> listScheduledReportsRequest) This is a variant oflistScheduledReports(software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsRequest)operation.default ListScheduledReportsPublisherlistScheduledReportsPaginator(ListScheduledReportsRequest listScheduledReportsRequest) This is a variant oflistScheduledReports(software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of all tags associated with a specified dashboard resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of all tags associated with a specified dashboard resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags for a specified dashboard resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or updates tags for a specified dashboard resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes specified tags from a dashboard resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes specified tags from a dashboard resource.default CompletableFuture<UpdateDashboardResponse> updateDashboard(Consumer<UpdateDashboardRequest.Builder> updateDashboardRequest) Updates an existing dashboard's properties, including its name, description, and widget configurations.default CompletableFuture<UpdateDashboardResponse> updateDashboard(UpdateDashboardRequest updateDashboardRequest) Updates an existing dashboard's properties, including its name, description, and widget configurations.updateScheduledReport(Consumer<UpdateScheduledReportRequest.Builder> updateScheduledReportRequest) Updates an existing scheduled report's properties, including its name, description, schedule configuration, and widget settings.updateScheduledReport(UpdateScheduledReportRequest updateScheduledReportRequest) Updates an existing scheduled report's properties, including its name, description, schedule configuration, and widget settings.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createDashboard
default CompletableFuture<CreateDashboardResponse> createDashboard(CreateDashboardRequest createDashboardRequest) Creates a new dashboard that can contain multiple widgets displaying cost and usage data. You can add custom widgets or use predefined widgets, arranging them in your preferred layout.
- Parameters:
createDashboardRequest-- Returns:
- A Java Future containing the result of the CreateDashboard operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ServiceQuotaExceededException The request would exceed a service quota. Review the service quotas for Amazon Web Services Billing and Cost Management Dashboards and retry your 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDashboard
default CompletableFuture<CreateDashboardResponse> createDashboard(Consumer<CreateDashboardRequest.Builder> createDashboardRequest) Creates a new dashboard that can contain multiple widgets displaying cost and usage data. You can add custom widgets or use predefined widgets, arranging them in your preferred layout.
This is a convenience which creates an instance of the
CreateDashboardRequest.Builderavoiding the need to create one manually viaCreateDashboardRequest.builder()- Parameters:
createDashboardRequest- AConsumerthat will call methods onCreateDashboardRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDashboard operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ServiceQuotaExceededException The request would exceed a service quota. Review the service quotas for Amazon Web Services Billing and Cost Management Dashboards and retry your 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createScheduledReport
default CompletableFuture<CreateScheduledReportResponse> createScheduledReport(CreateScheduledReportRequest createScheduledReportRequest) Creates a new scheduled report for a dashboard. A scheduled report automatically generates and delivers dashboard snapshots on a recurring schedule. Reports are delivered within 15 minutes of the scheduled delivery time.
- Parameters:
createScheduledReportRequest-- Returns:
- A Java Future containing the result of the CreateScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to create a resource that already exists or is being created.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ServiceQuotaExceededException The request would exceed a service quota. Review the service quotas for Amazon Web Services Billing and Cost Management Dashboards and retry your 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createScheduledReport
default CompletableFuture<CreateScheduledReportResponse> createScheduledReport(Consumer<CreateScheduledReportRequest.Builder> createScheduledReportRequest) Creates a new scheduled report for a dashboard. A scheduled report automatically generates and delivers dashboard snapshots on a recurring schedule. Reports are delivered within 15 minutes of the scheduled delivery time.
This is a convenience which creates an instance of the
CreateScheduledReportRequest.Builderavoiding the need to create one manually viaCreateScheduledReportRequest.builder()- Parameters:
createScheduledReportRequest- AConsumerthat will call methods onCreateScheduledReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to create a resource that already exists or is being created.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ServiceQuotaExceededException The request would exceed a service quota. Review the service quotas for Amazon Web Services Billing and Cost Management Dashboards and retry your 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDashboard
default CompletableFuture<DeleteDashboardResponse> deleteDashboard(DeleteDashboardRequest deleteDashboardRequest) Deletes a specified dashboard. This action cannot be undone.
- Parameters:
deleteDashboardRequest-- Returns:
- A Java Future containing the result of the DeleteDashboard operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDashboard
default CompletableFuture<DeleteDashboardResponse> deleteDashboard(Consumer<DeleteDashboardRequest.Builder> deleteDashboardRequest) Deletes a specified dashboard. This action cannot be undone.
This is a convenience which creates an instance of the
DeleteDashboardRequest.Builderavoiding the need to create one manually viaDeleteDashboardRequest.builder()- Parameters:
deleteDashboardRequest- AConsumerthat will call methods onDeleteDashboardRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDashboard operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteScheduledReport
default CompletableFuture<DeleteScheduledReportResponse> deleteScheduledReport(DeleteScheduledReportRequest deleteScheduledReportRequest) Deletes a specified scheduled report. This is an irreversible operation.
- Parameters:
deleteScheduledReportRequest-- Returns:
- A Java Future containing the result of the DeleteScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteScheduledReport
default CompletableFuture<DeleteScheduledReportResponse> deleteScheduledReport(Consumer<DeleteScheduledReportRequest.Builder> deleteScheduledReportRequest) Deletes a specified scheduled report. This is an irreversible operation.
This is a convenience which creates an instance of the
DeleteScheduledReportRequest.Builderavoiding the need to create one manually viaDeleteScheduledReportRequest.builder()- Parameters:
deleteScheduledReportRequest- AConsumerthat will call methods onDeleteScheduledReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeScheduledReport
default CompletableFuture<ExecuteScheduledReportResponse> executeScheduledReport(ExecuteScheduledReportRequest executeScheduledReportRequest) Triggers an immediate execution of a scheduled report, outside of its regular schedule. The scheduled report must be in
ENABLEDstate. Calling this operation on aDISABLEDscheduled report returns aValidationException.If a
clientTokenis provided, the service uses it for idempotency. Requests with the same client token will not trigger a new execution within the same minute.- Parameters:
executeScheduledReportRequest-- Returns:
- A Java Future containing the result of the ExecuteScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to create a resource that already exists or is being created.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeScheduledReport
default CompletableFuture<ExecuteScheduledReportResponse> executeScheduledReport(Consumer<ExecuteScheduledReportRequest.Builder> executeScheduledReportRequest) Triggers an immediate execution of a scheduled report, outside of its regular schedule. The scheduled report must be in
ENABLEDstate. Calling this operation on aDISABLEDscheduled report returns aValidationException.If a
clientTokenis provided, the service uses it for idempotency. Requests with the same client token will not trigger a new execution within the same minute.
This is a convenience which creates an instance of the
ExecuteScheduledReportRequest.Builderavoiding the need to create one manually viaExecuteScheduledReportRequest.builder()- Parameters:
executeScheduledReportRequest- AConsumerthat will call methods onExecuteScheduledReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExecuteScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to create a resource that already exists or is being created.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDashboard
default CompletableFuture<GetDashboardResponse> getDashboard(GetDashboardRequest getDashboardRequest) Retrieves the configuration and metadata of a specified dashboard, including its widgets and layout settings.
- Parameters:
getDashboardRequest-- Returns:
- A Java Future containing the result of the GetDashboard operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDashboard
default CompletableFuture<GetDashboardResponse> getDashboard(Consumer<GetDashboardRequest.Builder> getDashboardRequest) Retrieves the configuration and metadata of a specified dashboard, including its widgets and layout settings.
This is a convenience which creates an instance of the
GetDashboardRequest.Builderavoiding the need to create one manually viaGetDashboardRequest.builder()- Parameters:
getDashboardRequest- AConsumerthat will call methods onGetDashboardRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDashboard operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource-based policy attached to a dashboard, showing sharing configurations and permissions.
- Parameters:
getResourcePolicyRequest-- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource-based policy attached to a dashboard, showing sharing configurations and permissions.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getScheduledReport
default CompletableFuture<GetScheduledReportResponse> getScheduledReport(GetScheduledReportRequest getScheduledReportRequest) Retrieves the configuration and metadata of a specified scheduled report.
- Parameters:
getScheduledReportRequest-- Returns:
- A Java Future containing the result of the GetScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getScheduledReport
default CompletableFuture<GetScheduledReportResponse> getScheduledReport(Consumer<GetScheduledReportRequest.Builder> getScheduledReportRequest) Retrieves the configuration and metadata of a specified scheduled report.
This is a convenience which creates an instance of the
GetScheduledReportRequest.Builderavoiding the need to create one manually viaGetScheduledReportRequest.builder()- Parameters:
getScheduledReportRequest- AConsumerthat will call methods onGetScheduledReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDashboards
default CompletableFuture<ListDashboardsResponse> listDashboards(ListDashboardsRequest listDashboardsRequest) Returns a list of all dashboards in your account.
- Parameters:
listDashboardsRequest-- Returns:
- A Java Future containing the result of the ListDashboards operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDashboards
default CompletableFuture<ListDashboardsResponse> listDashboards(Consumer<ListDashboardsRequest.Builder> listDashboardsRequest) Returns a list of all dashboards in your account.
This is a convenience which creates an instance of the
ListDashboardsRequest.Builderavoiding the need to create one manually viaListDashboardsRequest.builder()- Parameters:
listDashboardsRequest- AConsumerthat will call methods onListDashboardsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDashboards operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDashboardsPaginator
default ListDashboardsPublisher listDashboardsPaginator(ListDashboardsRequest listDashboardsRequest) This is a variant of
listDashboards(software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.bcmdashboards.paginators.ListDashboardsPublisher publisher = client.listDashboardsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.bcmdashboards.paginators.ListDashboardsPublisher publisher = client.listDashboardsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsResponse response) { //... }; });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
listDashboards(software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsRequest)operation.- Parameters:
listDashboardsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDashboardsPaginator
default ListDashboardsPublisher listDashboardsPaginator(Consumer<ListDashboardsRequest.Builder> listDashboardsRequest) This is a variant of
listDashboards(software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.bcmdashboards.paginators.ListDashboardsPublisher publisher = client.listDashboardsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.bcmdashboards.paginators.ListDashboardsPublisher publisher = client.listDashboardsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsResponse response) { //... }; });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
listDashboards(software.amazon.awssdk.services.bcmdashboards.model.ListDashboardsRequest)operation.
This is a convenience which creates an instance of the
ListDashboardsRequest.Builderavoiding the need to create one manually viaListDashboardsRequest.builder()- Parameters:
listDashboardsRequest- AConsumerthat will call methods onListDashboardsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listScheduledReports
default CompletableFuture<ListScheduledReportsResponse> listScheduledReports(ListScheduledReportsRequest listScheduledReportsRequest) Returns a list of scheduled reports in your account.
- Parameters:
listScheduledReportsRequest-- Returns:
- A Java Future containing the result of the ListScheduledReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listScheduledReports
default CompletableFuture<ListScheduledReportsResponse> listScheduledReports(Consumer<ListScheduledReportsRequest.Builder> listScheduledReportsRequest) Returns a list of scheduled reports in your account.
This is a convenience which creates an instance of the
ListScheduledReportsRequest.Builderavoiding the need to create one manually viaListScheduledReportsRequest.builder()- Parameters:
listScheduledReportsRequest- AConsumerthat will call methods onListScheduledReportsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListScheduledReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listScheduledReportsPaginator
default ListScheduledReportsPublisher listScheduledReportsPaginator(ListScheduledReportsRequest listScheduledReportsRequest) This is a variant of
listScheduledReports(software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.bcmdashboards.paginators.ListScheduledReportsPublisher publisher = client.listScheduledReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.bcmdashboards.paginators.ListScheduledReportsPublisher publisher = client.listScheduledReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsResponse response) { //... }; });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
listScheduledReports(software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsRequest)operation.- Parameters:
listScheduledReportsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listScheduledReportsPaginator
default ListScheduledReportsPublisher listScheduledReportsPaginator(Consumer<ListScheduledReportsRequest.Builder> listScheduledReportsRequest) This is a variant of
listScheduledReports(software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.bcmdashboards.paginators.ListScheduledReportsPublisher publisher = client.listScheduledReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.bcmdashboards.paginators.ListScheduledReportsPublisher publisher = client.listScheduledReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsResponse response) { //... }; });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
listScheduledReports(software.amazon.awssdk.services.bcmdashboards.model.ListScheduledReportsRequest)operation.
This is a convenience which creates an instance of the
ListScheduledReportsRequest.Builderavoiding the need to create one manually viaListScheduledReportsRequest.builder()- Parameters:
listScheduledReportsRequest- AConsumerthat will call methods onListScheduledReportsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of all tags associated with a specified dashboard resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of all tags associated with a specified dashboard 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:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds or updates tags for a specified dashboard resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags for a specified dashboard 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:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes specified tags from a dashboard resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes specified tags from a dashboard 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:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDashboard
default CompletableFuture<UpdateDashboardResponse> updateDashboard(UpdateDashboardRequest updateDashboardRequest) Updates an existing dashboard's properties, including its name, description, and widget configurations.
- Parameters:
updateDashboardRequest-- Returns:
- A Java Future containing the result of the UpdateDashboard operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDashboard
default CompletableFuture<UpdateDashboardResponse> updateDashboard(Consumer<UpdateDashboardRequest.Builder> updateDashboardRequest) Updates an existing dashboard's properties, including its name, description, and widget configurations.
This is a convenience which creates an instance of the
UpdateDashboardRequest.Builderavoiding the need to create one manually viaUpdateDashboardRequest.builder()- Parameters:
updateDashboardRequest- AConsumerthat will call methods onUpdateDashboardRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDashboard operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateScheduledReport
default CompletableFuture<UpdateScheduledReportResponse> updateScheduledReport(UpdateScheduledReportRequest updateScheduledReportRequest) Updates an existing scheduled report's properties, including its name, description, schedule configuration, and widget settings. Only the parameters included in the request are updated; all other properties remain unchanged.
- Parameters:
updateScheduledReportRequest-- Returns:
- A Java Future containing the result of the UpdateScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to create a resource that already exists or is being created.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateScheduledReport
default CompletableFuture<UpdateScheduledReportResponse> updateScheduledReport(Consumer<UpdateScheduledReportRequest.Builder> updateScheduledReportRequest) Updates an existing scheduled report's properties, including its name, description, schedule configuration, and widget settings. Only the parameters included in the request are updated; all other properties remain unchanged.
This is a convenience which creates an instance of the
UpdateScheduledReportRequest.Builderavoiding the need to create one manually viaUpdateScheduledReportRequest.builder()- Parameters:
updateScheduledReportRequest- AConsumerthat will call methods onUpdateScheduledReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateScheduledReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to create a resource that already exists or is being created.
- AccessDeniedException You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.
- InternalServerException An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.
- ValidationException The input parameters do not satisfy the requirements. Check the error message for specific validation details.
- ResourceNotFoundException The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.
- 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.
- BcmDashboardsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aBcmDashboardsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aBcmDashboardsAsyncClient.
-