Interface ObservabilityAdminAsyncClient
- 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.
You can use Amazon CloudWatch Observability Admin to discover and understand the state of telemetry configuration in CloudWatch for your Amazon Web Services Organization or account. This simplifies the process of auditing your telemetry collection configurations across multiple resource types within your Amazon Web Services Organization or account. By providing a consolidated view, it allows you to easily review and manage telemetry settings, helping you ensure proper monitoring and data collection across your Amazon Web Services environment. For more information, see Auditing CloudWatch telemetry configurations in the CloudWatch User Guide.
For information on the permissions you need to use this API, see Identity and access management for Amazon CloudWatch in the CloudWatch User Guide.
-
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 aObservabilityAdminAsyncClient.create()Create aObservabilityAdminAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createCentralizationRuleForOrganization(Consumer<CreateCentralizationRuleForOrganizationRequest.Builder> createCentralizationRuleForOrganizationRequest) Creates a centralization rule that applies across an Amazon Web Services Organization.createCentralizationRuleForOrganization(CreateCentralizationRuleForOrganizationRequest createCentralizationRuleForOrganizationRequest) Creates a centralization rule that applies across an Amazon Web Services Organization.createTelemetryRule(Consumer<CreateTelemetryRuleRequest.Builder> createTelemetryRuleRequest) Creates a telemetry rule that defines how telemetry should be configured for Amazon Web Services resources in your account.createTelemetryRule(CreateTelemetryRuleRequest createTelemetryRuleRequest) Creates a telemetry rule that defines how telemetry should be configured for Amazon Web Services resources in your account.createTelemetryRuleForOrganization(Consumer<CreateTelemetryRuleForOrganizationRequest.Builder> createTelemetryRuleForOrganizationRequest) Creates a telemetry rule that applies across an Amazon Web Services Organization.createTelemetryRuleForOrganization(CreateTelemetryRuleForOrganizationRequest createTelemetryRuleForOrganizationRequest) Creates a telemetry rule that applies across an Amazon Web Services Organization.deleteCentralizationRuleForOrganization(Consumer<DeleteCentralizationRuleForOrganizationRequest.Builder> deleteCentralizationRuleForOrganizationRequest) Deletes an organization-wide centralization rule.deleteCentralizationRuleForOrganization(DeleteCentralizationRuleForOrganizationRequest deleteCentralizationRuleForOrganizationRequest) Deletes an organization-wide centralization rule.deleteTelemetryRule(Consumer<DeleteTelemetryRuleRequest.Builder> deleteTelemetryRuleRequest) Deletes a telemetry rule from your account.deleteTelemetryRule(DeleteTelemetryRuleRequest deleteTelemetryRuleRequest) Deletes a telemetry rule from your account.deleteTelemetryRuleForOrganization(Consumer<DeleteTelemetryRuleForOrganizationRequest.Builder> deleteTelemetryRuleForOrganizationRequest) Deletes an organization-wide telemetry rule.deleteTelemetryRuleForOrganization(DeleteTelemetryRuleForOrganizationRequest deleteTelemetryRuleForOrganizationRequest) Deletes an organization-wide telemetry rule.getCentralizationRuleForOrganization(Consumer<GetCentralizationRuleForOrganizationRequest.Builder> getCentralizationRuleForOrganizationRequest) Retrieves the details of a specific organization centralization rule.getCentralizationRuleForOrganization(GetCentralizationRuleForOrganizationRequest getCentralizationRuleForOrganizationRequest) Retrieves the details of a specific organization centralization rule.getTelemetryEnrichmentStatus(Consumer<GetTelemetryEnrichmentStatusRequest.Builder> getTelemetryEnrichmentStatusRequest) Returns the current status of the resource tags for telemetry feature, which enhances telemetry data with additional resource metadata from Amazon Web Services Resource Explorer.getTelemetryEnrichmentStatus(GetTelemetryEnrichmentStatusRequest getTelemetryEnrichmentStatusRequest) Returns the current status of the resource tags for telemetry feature, which enhances telemetry data with additional resource metadata from Amazon Web Services Resource Explorer.getTelemetryEvaluationStatus(Consumer<GetTelemetryEvaluationStatusRequest.Builder> getTelemetryEvaluationStatusRequest) Returns the current onboarding status of the telemetry config feature, including the status of the feature and reason the feature failed to start or stop.getTelemetryEvaluationStatus(GetTelemetryEvaluationStatusRequest getTelemetryEvaluationStatusRequest) Returns the current onboarding status of the telemetry config feature, including the status of the feature and reason the feature failed to start or stop.getTelemetryEvaluationStatusForOrganization(Consumer<GetTelemetryEvaluationStatusForOrganizationRequest.Builder> getTelemetryEvaluationStatusForOrganizationRequest) This returns the onboarding status of the telemetry configuration feature for the organization.getTelemetryEvaluationStatusForOrganization(GetTelemetryEvaluationStatusForOrganizationRequest getTelemetryEvaluationStatusForOrganizationRequest) This returns the onboarding status of the telemetry configuration feature for the organization.getTelemetryRule(Consumer<GetTelemetryRuleRequest.Builder> getTelemetryRuleRequest) Retrieves the details of a specific telemetry rule in your account.getTelemetryRule(GetTelemetryRuleRequest getTelemetryRuleRequest) Retrieves the details of a specific telemetry rule in your account.getTelemetryRuleForOrganization(Consumer<GetTelemetryRuleForOrganizationRequest.Builder> getTelemetryRuleForOrganizationRequest) Retrieves the details of a specific organization telemetry rule.getTelemetryRuleForOrganization(GetTelemetryRuleForOrganizationRequest getTelemetryRuleForOrganizationRequest) Retrieves the details of a specific organization telemetry rule.listCentralizationRulesForOrganization(Consumer<ListCentralizationRulesForOrganizationRequest.Builder> listCentralizationRulesForOrganizationRequest) Lists all centralization rules in your organization.listCentralizationRulesForOrganization(ListCentralizationRulesForOrganizationRequest listCentralizationRulesForOrganizationRequest) Lists all centralization rules in your organization.listCentralizationRulesForOrganizationPaginator(Consumer<ListCentralizationRulesForOrganizationRequest.Builder> listCentralizationRulesForOrganizationRequest) listCentralizationRulesForOrganizationPaginator(ListCentralizationRulesForOrganizationRequest listCentralizationRulesForOrganizationRequest) listResourceTelemetry(Consumer<ListResourceTelemetryRequest.Builder> listResourceTelemetryRequest) Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config.listResourceTelemetry(ListResourceTelemetryRequest listResourceTelemetryRequest) Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config.listResourceTelemetryForOrganization(Consumer<ListResourceTelemetryForOrganizationRequest.Builder> listResourceTelemetryForOrganizationRequest) Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config in the organization.listResourceTelemetryForOrganization(ListResourceTelemetryForOrganizationRequest listResourceTelemetryForOrganizationRequest) Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config in the organization.listResourceTelemetryForOrganizationPaginator(Consumer<ListResourceTelemetryForOrganizationRequest.Builder> listResourceTelemetryForOrganizationRequest) listResourceTelemetryForOrganizationPaginator(ListResourceTelemetryForOrganizationRequest listResourceTelemetryForOrganizationRequest) default ListResourceTelemetryPublisherlistResourceTelemetryPaginator(Consumer<ListResourceTelemetryRequest.Builder> listResourceTelemetryRequest) This is a variant oflistResourceTelemetry(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryRequest)operation.default ListResourceTelemetryPublisherlistResourceTelemetryPaginator(ListResourceTelemetryRequest listResourceTelemetryRequest) This is a variant oflistResourceTelemetry(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags attached to the specified telemetry rule resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags attached to the specified telemetry rule resource.listTelemetryRules(Consumer<ListTelemetryRulesRequest.Builder> listTelemetryRulesRequest) Lists all telemetry rules in your account.listTelemetryRules(ListTelemetryRulesRequest listTelemetryRulesRequest) Lists all telemetry rules in your account.listTelemetryRulesForOrganization(Consumer<ListTelemetryRulesForOrganizationRequest.Builder> listTelemetryRulesForOrganizationRequest) Lists all telemetry rules in your organization.listTelemetryRulesForOrganization(ListTelemetryRulesForOrganizationRequest listTelemetryRulesForOrganizationRequest) Lists all telemetry rules in your organization.listTelemetryRulesForOrganizationPaginator(Consumer<ListTelemetryRulesForOrganizationRequest.Builder> listTelemetryRulesForOrganizationRequest) listTelemetryRulesForOrganizationPaginator(ListTelemetryRulesForOrganizationRequest listTelemetryRulesForOrganizationRequest) default ListTelemetryRulesPublisherlistTelemetryRulesPaginator(Consumer<ListTelemetryRulesRequest.Builder> listTelemetryRulesRequest) This is a variant oflistTelemetryRules(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesRequest)operation.default ListTelemetryRulesPublisherlistTelemetryRulesPaginator(ListTelemetryRulesRequest listTelemetryRulesRequest) This is a variant oflistTelemetryRules(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesRequest)operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartTelemetryEnrichment(Consumer<StartTelemetryEnrichmentRequest.Builder> startTelemetryEnrichmentRequest) Enables the resource tags for telemetry feature for your account, which enhances telemetry data with additional resource metadata from Amazon Web Services Resource Explorer to provide richer context for monitoring and observability.startTelemetryEnrichment(StartTelemetryEnrichmentRequest startTelemetryEnrichmentRequest) Enables the resource tags for telemetry feature for your account, which enhances telemetry data with additional resource metadata from Amazon Web Services Resource Explorer to provide richer context for monitoring and observability.startTelemetryEvaluation(Consumer<StartTelemetryEvaluationRequest.Builder> startTelemetryEvaluationRequest) This action begins onboarding the caller Amazon Web Services account to the telemetry config feature.startTelemetryEvaluation(StartTelemetryEvaluationRequest startTelemetryEvaluationRequest) This action begins onboarding the caller Amazon Web Services account to the telemetry config feature.startTelemetryEvaluationForOrganization(Consumer<StartTelemetryEvaluationForOrganizationRequest.Builder> startTelemetryEvaluationForOrganizationRequest) This actions begins onboarding the organization and all member accounts to the telemetry config feature.startTelemetryEvaluationForOrganization(StartTelemetryEvaluationForOrganizationRequest startTelemetryEvaluationForOrganizationRequest) This actions begins onboarding the organization and all member accounts to the telemetry config feature.stopTelemetryEnrichment(Consumer<StopTelemetryEnrichmentRequest.Builder> stopTelemetryEnrichmentRequest) Disables the resource tags for telemetry feature for your account, stopping the enhancement of telemetry data with additional resource metadata.stopTelemetryEnrichment(StopTelemetryEnrichmentRequest stopTelemetryEnrichmentRequest) Disables the resource tags for telemetry feature for your account, stopping the enhancement of telemetry data with additional resource metadata.stopTelemetryEvaluation(Consumer<StopTelemetryEvaluationRequest.Builder> stopTelemetryEvaluationRequest) This action begins offboarding the caller Amazon Web Services account from the telemetry config feature.stopTelemetryEvaluation(StopTelemetryEvaluationRequest stopTelemetryEvaluationRequest) This action begins offboarding the caller Amazon Web Services account from the telemetry config feature.stopTelemetryEvaluationForOrganization(Consumer<StopTelemetryEvaluationForOrganizationRequest.Builder> stopTelemetryEvaluationForOrganizationRequest) This action offboards the Organization of the caller Amazon Web Services account from the telemetry config feature.stopTelemetryEvaluationForOrganization(StopTelemetryEvaluationForOrganizationRequest stopTelemetryEvaluationForOrganizationRequest) This action offboards the Organization of the caller Amazon Web Services account from the telemetry config feature.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags for a telemetry rule resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or updates tags for a telemetry rule resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a telemetry rule resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a telemetry rule resource.updateCentralizationRuleForOrganization(Consumer<UpdateCentralizationRuleForOrganizationRequest.Builder> updateCentralizationRuleForOrganizationRequest) Updates an existing centralization rule that applies across an Amazon Web Services Organization.updateCentralizationRuleForOrganization(UpdateCentralizationRuleForOrganizationRequest updateCentralizationRuleForOrganizationRequest) Updates an existing centralization rule that applies across an Amazon Web Services Organization.updateTelemetryRule(Consumer<UpdateTelemetryRuleRequest.Builder> updateTelemetryRuleRequest) Updates an existing telemetry rule in your account.updateTelemetryRule(UpdateTelemetryRuleRequest updateTelemetryRuleRequest) Updates an existing telemetry rule in your account.updateTelemetryRuleForOrganization(Consumer<UpdateTelemetryRuleForOrganizationRequest.Builder> updateTelemetryRuleForOrganizationRequest) Updates an existing telemetry rule that applies across an Amazon Web Services Organization.updateTelemetryRuleForOrganization(UpdateTelemetryRuleForOrganizationRequest updateTelemetryRuleForOrganizationRequest) Updates an existing telemetry rule that applies across an Amazon Web Services Organization.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
-
createCentralizationRuleForOrganization
default CompletableFuture<CreateCentralizationRuleForOrganizationResponse> createCentralizationRuleForOrganization(CreateCentralizationRuleForOrganizationRequest createCentralizationRuleForOrganizationRequest) Creates a centralization rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
createCentralizationRuleForOrganizationRequest-- Returns:
- A Java Future containing the result of the CreateCentralizationRuleForOrganization 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCentralizationRuleForOrganization
default CompletableFuture<CreateCentralizationRuleForOrganizationResponse> createCentralizationRuleForOrganization(Consumer<CreateCentralizationRuleForOrganizationRequest.Builder> createCentralizationRuleForOrganizationRequest) Creates a centralization rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
CreateCentralizationRuleForOrganizationRequest.Builderavoiding the need to create one manually viaCreateCentralizationRuleForOrganizationRequest.builder()- Parameters:
createCentralizationRuleForOrganizationRequest- AConsumerthat will call methods onCreateCentralizationRuleForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateCentralizationRuleForOrganization 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTelemetryRule
default CompletableFuture<CreateTelemetryRuleResponse> createTelemetryRule(CreateTelemetryRuleRequest createTelemetryRuleRequest) Creates a telemetry rule that defines how telemetry should be configured for Amazon Web Services resources in your account. The rule specifies which resources should have telemetry enabled and how that telemetry data should be collected based on resource type, telemetry type, and selection criteria.
- Parameters:
createTelemetryRuleRequest-- Returns:
- A Java Future containing the result of the CreateTelemetryRule 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTelemetryRule
default CompletableFuture<CreateTelemetryRuleResponse> createTelemetryRule(Consumer<CreateTelemetryRuleRequest.Builder> createTelemetryRuleRequest) Creates a telemetry rule that defines how telemetry should be configured for Amazon Web Services resources in your account. The rule specifies which resources should have telemetry enabled and how that telemetry data should be collected based on resource type, telemetry type, and selection criteria.
This is a convenience which creates an instance of the
CreateTelemetryRuleRequest.Builderavoiding the need to create one manually viaCreateTelemetryRuleRequest.builder()- Parameters:
createTelemetryRuleRequest- AConsumerthat will call methods onCreateTelemetryRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTelemetryRule 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTelemetryRuleForOrganization
default CompletableFuture<CreateTelemetryRuleForOrganizationResponse> createTelemetryRuleForOrganization(CreateTelemetryRuleForOrganizationRequest createTelemetryRuleForOrganizationRequest) Creates a telemetry rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
createTelemetryRuleForOrganizationRequest-- Returns:
- A Java Future containing the result of the CreateTelemetryRuleForOrganization 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTelemetryRuleForOrganization
default CompletableFuture<CreateTelemetryRuleForOrganizationResponse> createTelemetryRuleForOrganization(Consumer<CreateTelemetryRuleForOrganizationRequest.Builder> createTelemetryRuleForOrganizationRequest) Creates a telemetry rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
CreateTelemetryRuleForOrganizationRequest.Builderavoiding the need to create one manually viaCreateTelemetryRuleForOrganizationRequest.builder()- Parameters:
createTelemetryRuleForOrganizationRequest- AConsumerthat will call methods onCreateTelemetryRuleForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTelemetryRuleForOrganization 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCentralizationRuleForOrganization
default CompletableFuture<DeleteCentralizationRuleForOrganizationResponse> deleteCentralizationRuleForOrganization(DeleteCentralizationRuleForOrganizationRequest deleteCentralizationRuleForOrganizationRequest) Deletes an organization-wide centralization rule. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
deleteCentralizationRuleForOrganizationRequest-- Returns:
- A Java Future containing the result of the DeleteCentralizationRuleForOrganization 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCentralizationRuleForOrganization
default CompletableFuture<DeleteCentralizationRuleForOrganizationResponse> deleteCentralizationRuleForOrganization(Consumer<DeleteCentralizationRuleForOrganizationRequest.Builder> deleteCentralizationRuleForOrganizationRequest) Deletes an organization-wide centralization rule. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
DeleteCentralizationRuleForOrganizationRequest.Builderavoiding the need to create one manually viaDeleteCentralizationRuleForOrganizationRequest.builder()- Parameters:
deleteCentralizationRuleForOrganizationRequest- AConsumerthat will call methods onDeleteCentralizationRuleForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteCentralizationRuleForOrganization 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTelemetryRule
default CompletableFuture<DeleteTelemetryRuleResponse> deleteTelemetryRule(DeleteTelemetryRuleRequest deleteTelemetryRuleRequest) Deletes a telemetry rule from your account. Any telemetry configurations previously created by the rule will remain but no new resources will be configured by this rule.
- Parameters:
deleteTelemetryRuleRequest-- Returns:
- A Java Future containing the result of the DeleteTelemetryRule 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTelemetryRule
default CompletableFuture<DeleteTelemetryRuleResponse> deleteTelemetryRule(Consumer<DeleteTelemetryRuleRequest.Builder> deleteTelemetryRuleRequest) Deletes a telemetry rule from your account. Any telemetry configurations previously created by the rule will remain but no new resources will be configured by this rule.
This is a convenience which creates an instance of the
DeleteTelemetryRuleRequest.Builderavoiding the need to create one manually viaDeleteTelemetryRuleRequest.builder()- Parameters:
deleteTelemetryRuleRequest- AConsumerthat will call methods onDeleteTelemetryRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTelemetryRule 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTelemetryRuleForOrganization
default CompletableFuture<DeleteTelemetryRuleForOrganizationResponse> deleteTelemetryRuleForOrganization(DeleteTelemetryRuleForOrganizationRequest deleteTelemetryRuleForOrganizationRequest) Deletes an organization-wide telemetry rule. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
deleteTelemetryRuleForOrganizationRequest-- Returns:
- A Java Future containing the result of the DeleteTelemetryRuleForOrganization 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTelemetryRuleForOrganization
default CompletableFuture<DeleteTelemetryRuleForOrganizationResponse> deleteTelemetryRuleForOrganization(Consumer<DeleteTelemetryRuleForOrganizationRequest.Builder> deleteTelemetryRuleForOrganizationRequest) Deletes an organization-wide telemetry rule. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
DeleteTelemetryRuleForOrganizationRequest.Builderavoiding the need to create one manually viaDeleteTelemetryRuleForOrganizationRequest.builder()- Parameters:
deleteTelemetryRuleForOrganizationRequest- AConsumerthat will call methods onDeleteTelemetryRuleForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTelemetryRuleForOrganization 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCentralizationRuleForOrganization
default CompletableFuture<GetCentralizationRuleForOrganizationResponse> getCentralizationRuleForOrganization(GetCentralizationRuleForOrganizationRequest getCentralizationRuleForOrganizationRequest) Retrieves the details of a specific organization centralization rule. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
getCentralizationRuleForOrganizationRequest-- Returns:
- A Java Future containing the result of the GetCentralizationRuleForOrganization 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCentralizationRuleForOrganization
default CompletableFuture<GetCentralizationRuleForOrganizationResponse> getCentralizationRuleForOrganization(Consumer<GetCentralizationRuleForOrganizationRequest.Builder> getCentralizationRuleForOrganizationRequest) Retrieves the details of a specific organization centralization rule. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
GetCentralizationRuleForOrganizationRequest.Builderavoiding the need to create one manually viaGetCentralizationRuleForOrganizationRequest.builder()- Parameters:
getCentralizationRuleForOrganizationRequest- AConsumerthat will call methods onGetCentralizationRuleForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetCentralizationRuleForOrganization 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryEnrichmentStatus
default CompletableFuture<GetTelemetryEnrichmentStatusResponse> getTelemetryEnrichmentStatus(GetTelemetryEnrichmentStatusRequest getTelemetryEnrichmentStatusRequest) Returns the current status of the resource tags for telemetry feature, which enhances telemetry data with additional resource metadata from Amazon Web Services Resource Explorer.
- Parameters:
getTelemetryEnrichmentStatusRequest-- Returns:
- A Java Future containing the result of the GetTelemetryEnrichmentStatus 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryEnrichmentStatus
default CompletableFuture<GetTelemetryEnrichmentStatusResponse> getTelemetryEnrichmentStatus(Consumer<GetTelemetryEnrichmentStatusRequest.Builder> getTelemetryEnrichmentStatusRequest) Returns the current status of the resource tags for telemetry feature, which enhances telemetry data with additional resource metadata from Amazon Web Services Resource Explorer.
This is a convenience which creates an instance of the
GetTelemetryEnrichmentStatusRequest.Builderavoiding the need to create one manually viaGetTelemetryEnrichmentStatusRequest.builder()- Parameters:
getTelemetryEnrichmentStatusRequest- AConsumerthat will call methods onGetTelemetryEnrichmentStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTelemetryEnrichmentStatus 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryEvaluationStatus
default CompletableFuture<GetTelemetryEvaluationStatusResponse> getTelemetryEvaluationStatus(GetTelemetryEvaluationStatusRequest getTelemetryEvaluationStatusRequest) Returns the current onboarding status of the telemetry config feature, including the status of the feature and reason the feature failed to start or stop.
- Parameters:
getTelemetryEvaluationStatusRequest-- Returns:
- A Java Future containing the result of the GetTelemetryEvaluationStatus 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryEvaluationStatus
default CompletableFuture<GetTelemetryEvaluationStatusResponse> getTelemetryEvaluationStatus(Consumer<GetTelemetryEvaluationStatusRequest.Builder> getTelemetryEvaluationStatusRequest) Returns the current onboarding status of the telemetry config feature, including the status of the feature and reason the feature failed to start or stop.
This is a convenience which creates an instance of the
GetTelemetryEvaluationStatusRequest.Builderavoiding the need to create one manually viaGetTelemetryEvaluationStatusRequest.builder()- Parameters:
getTelemetryEvaluationStatusRequest- AConsumerthat will call methods onGetTelemetryEvaluationStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTelemetryEvaluationStatus 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryEvaluationStatusForOrganization
default CompletableFuture<GetTelemetryEvaluationStatusForOrganizationResponse> getTelemetryEvaluationStatusForOrganization(GetTelemetryEvaluationStatusForOrganizationRequest getTelemetryEvaluationStatusForOrganizationRequest) This returns the onboarding status of the telemetry configuration feature for the organization. It can only be called by a Management Account of an Amazon Web Services Organization or an assigned Delegated Admin Account of Amazon CloudWatch telemetry config.
- Parameters:
getTelemetryEvaluationStatusForOrganizationRequest-- Returns:
- A Java Future containing the result of the GetTelemetryEvaluationStatusForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryEvaluationStatusForOrganization
default CompletableFuture<GetTelemetryEvaluationStatusForOrganizationResponse> getTelemetryEvaluationStatusForOrganization(Consumer<GetTelemetryEvaluationStatusForOrganizationRequest.Builder> getTelemetryEvaluationStatusForOrganizationRequest) This returns the onboarding status of the telemetry configuration feature for the organization. It can only be called by a Management Account of an Amazon Web Services Organization or an assigned Delegated Admin Account of Amazon CloudWatch telemetry config.
This is a convenience which creates an instance of the
GetTelemetryEvaluationStatusForOrganizationRequest.Builderavoiding the need to create one manually viaGetTelemetryEvaluationStatusForOrganizationRequest.builder()- Parameters:
getTelemetryEvaluationStatusForOrganizationRequest- AConsumerthat will call methods onGetTelemetryEvaluationStatusForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTelemetryEvaluationStatusForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryRule
default CompletableFuture<GetTelemetryRuleResponse> getTelemetryRule(GetTelemetryRuleRequest getTelemetryRuleRequest) Retrieves the details of a specific telemetry rule in your account.
- Parameters:
getTelemetryRuleRequest-- Returns:
- A Java Future containing the result of the GetTelemetryRule 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryRule
default CompletableFuture<GetTelemetryRuleResponse> getTelemetryRule(Consumer<GetTelemetryRuleRequest.Builder> getTelemetryRuleRequest) Retrieves the details of a specific telemetry rule in your account.
This is a convenience which creates an instance of the
GetTelemetryRuleRequest.Builderavoiding the need to create one manually viaGetTelemetryRuleRequest.builder()- Parameters:
getTelemetryRuleRequest- AConsumerthat will call methods onGetTelemetryRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTelemetryRule 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryRuleForOrganization
default CompletableFuture<GetTelemetryRuleForOrganizationResponse> getTelemetryRuleForOrganization(GetTelemetryRuleForOrganizationRequest getTelemetryRuleForOrganizationRequest) Retrieves the details of a specific organization telemetry rule. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
getTelemetryRuleForOrganizationRequest-- Returns:
- A Java Future containing the result of the GetTelemetryRuleForOrganization 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTelemetryRuleForOrganization
default CompletableFuture<GetTelemetryRuleForOrganizationResponse> getTelemetryRuleForOrganization(Consumer<GetTelemetryRuleForOrganizationRequest.Builder> getTelemetryRuleForOrganizationRequest) Retrieves the details of a specific organization telemetry rule. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
GetTelemetryRuleForOrganizationRequest.Builderavoiding the need to create one manually viaGetTelemetryRuleForOrganizationRequest.builder()- Parameters:
getTelemetryRuleForOrganizationRequest- AConsumerthat will call methods onGetTelemetryRuleForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTelemetryRuleForOrganization 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCentralizationRulesForOrganization
default CompletableFuture<ListCentralizationRulesForOrganizationResponse> listCentralizationRulesForOrganization(ListCentralizationRulesForOrganizationRequest listCentralizationRulesForOrganizationRequest) Lists all centralization rules in your organization. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
listCentralizationRulesForOrganizationRequest-- Returns:
- A Java Future containing the result of the ListCentralizationRulesForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCentralizationRulesForOrganization
default CompletableFuture<ListCentralizationRulesForOrganizationResponse> listCentralizationRulesForOrganization(Consumer<ListCentralizationRulesForOrganizationRequest.Builder> listCentralizationRulesForOrganizationRequest) Lists all centralization rules in your organization. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
ListCentralizationRulesForOrganizationRequest.Builderavoiding the need to create one manually viaListCentralizationRulesForOrganizationRequest.builder()- Parameters:
listCentralizationRulesForOrganizationRequest- AConsumerthat will call methods onListCentralizationRulesForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCentralizationRulesForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCentralizationRulesForOrganizationPaginator
default ListCentralizationRulesForOrganizationPublisher listCentralizationRulesForOrganizationPaginator(ListCentralizationRulesForOrganizationRequest listCentralizationRulesForOrganizationRequest) This is a variant of
listCentralizationRulesForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListCentralizationRulesForOrganizationRequest)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.observabilityadmin.paginators.ListCentralizationRulesForOrganizationPublisher publisher = client.listCentralizationRulesForOrganizationPaginator(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.observabilityadmin.paginators.ListCentralizationRulesForOrganizationPublisher publisher = client.listCentralizationRulesForOrganizationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListCentralizationRulesForOrganizationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListCentralizationRulesForOrganizationResponse 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
listCentralizationRulesForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListCentralizationRulesForOrganizationRequest)operation.- Parameters:
listCentralizationRulesForOrganizationRequest-- 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCentralizationRulesForOrganizationPaginator
default ListCentralizationRulesForOrganizationPublisher listCentralizationRulesForOrganizationPaginator(Consumer<ListCentralizationRulesForOrganizationRequest.Builder> listCentralizationRulesForOrganizationRequest) This is a variant of
listCentralizationRulesForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListCentralizationRulesForOrganizationRequest)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.observabilityadmin.paginators.ListCentralizationRulesForOrganizationPublisher publisher = client.listCentralizationRulesForOrganizationPaginator(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.observabilityadmin.paginators.ListCentralizationRulesForOrganizationPublisher publisher = client.listCentralizationRulesForOrganizationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListCentralizationRulesForOrganizationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListCentralizationRulesForOrganizationResponse 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
listCentralizationRulesForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListCentralizationRulesForOrganizationRequest)operation.
This is a convenience which creates an instance of the
ListCentralizationRulesForOrganizationRequest.Builderavoiding the need to create one manually viaListCentralizationRulesForOrganizationRequest.builder()- Parameters:
listCentralizationRulesForOrganizationRequest- AConsumerthat will call methods onListCentralizationRulesForOrganizationRequest.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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTelemetry
default CompletableFuture<ListResourceTelemetryResponse> listResourceTelemetry(ListResourceTelemetryRequest listResourceTelemetryRequest) Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config. For more information, see Auditing CloudWatch telemetry configurations.
- Parameters:
listResourceTelemetryRequest-- Returns:
- A Java Future containing the result of the ListResourceTelemetry 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTelemetry
default CompletableFuture<ListResourceTelemetryResponse> listResourceTelemetry(Consumer<ListResourceTelemetryRequest.Builder> listResourceTelemetryRequest) Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config. For more information, see Auditing CloudWatch telemetry configurations.
This is a convenience which creates an instance of the
ListResourceTelemetryRequest.Builderavoiding the need to create one manually viaListResourceTelemetryRequest.builder()- Parameters:
listResourceTelemetryRequest- AConsumerthat will call methods onListResourceTelemetryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResourceTelemetry 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTelemetryForOrganization
default CompletableFuture<ListResourceTelemetryForOrganizationResponse> listResourceTelemetryForOrganization(ListResourceTelemetryForOrganizationRequest listResourceTelemetryForOrganizationRequest) Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config in the organization.
- Parameters:
listResourceTelemetryForOrganizationRequest-- Returns:
- A Java Future containing the result of the ListResourceTelemetryForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTelemetryForOrganization
default CompletableFuture<ListResourceTelemetryForOrganizationResponse> listResourceTelemetryForOrganization(Consumer<ListResourceTelemetryForOrganizationRequest.Builder> listResourceTelemetryForOrganizationRequest) Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config in the organization.
This is a convenience which creates an instance of the
ListResourceTelemetryForOrganizationRequest.Builderavoiding the need to create one manually viaListResourceTelemetryForOrganizationRequest.builder()- Parameters:
listResourceTelemetryForOrganizationRequest- AConsumerthat will call methods onListResourceTelemetryForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResourceTelemetryForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTelemetryForOrganizationPaginator
default ListResourceTelemetryForOrganizationPublisher listResourceTelemetryForOrganizationPaginator(ListResourceTelemetryForOrganizationRequest listResourceTelemetryForOrganizationRequest) This is a variant of
listResourceTelemetryForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryForOrganizationRequest)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.observabilityadmin.paginators.ListResourceTelemetryForOrganizationPublisher publisher = client.listResourceTelemetryForOrganizationPaginator(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.observabilityadmin.paginators.ListResourceTelemetryForOrganizationPublisher publisher = client.listResourceTelemetryForOrganizationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryForOrganizationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryForOrganizationResponse 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
listResourceTelemetryForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryForOrganizationRequest)operation.- Parameters:
listResourceTelemetryForOrganizationRequest-- 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTelemetryForOrganizationPaginator
default ListResourceTelemetryForOrganizationPublisher listResourceTelemetryForOrganizationPaginator(Consumer<ListResourceTelemetryForOrganizationRequest.Builder> listResourceTelemetryForOrganizationRequest) This is a variant of
listResourceTelemetryForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryForOrganizationRequest)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.observabilityadmin.paginators.ListResourceTelemetryForOrganizationPublisher publisher = client.listResourceTelemetryForOrganizationPaginator(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.observabilityadmin.paginators.ListResourceTelemetryForOrganizationPublisher publisher = client.listResourceTelemetryForOrganizationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryForOrganizationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryForOrganizationResponse 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
listResourceTelemetryForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryForOrganizationRequest)operation.
This is a convenience which creates an instance of the
ListResourceTelemetryForOrganizationRequest.Builderavoiding the need to create one manually viaListResourceTelemetryForOrganizationRequest.builder()- Parameters:
listResourceTelemetryForOrganizationRequest- AConsumerthat will call methods onListResourceTelemetryForOrganizationRequest.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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTelemetryPaginator
default ListResourceTelemetryPublisher listResourceTelemetryPaginator(ListResourceTelemetryRequest listResourceTelemetryRequest) This is a variant of
listResourceTelemetry(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryRequest)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.observabilityadmin.paginators.ListResourceTelemetryPublisher publisher = client.listResourceTelemetryPaginator(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.observabilityadmin.paginators.ListResourceTelemetryPublisher publisher = client.listResourceTelemetryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryResponse 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
listResourceTelemetry(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryRequest)operation.- Parameters:
listResourceTelemetryRequest-- 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceTelemetryPaginator
default ListResourceTelemetryPublisher listResourceTelemetryPaginator(Consumer<ListResourceTelemetryRequest.Builder> listResourceTelemetryRequest) This is a variant of
listResourceTelemetry(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryRequest)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.observabilityadmin.paginators.ListResourceTelemetryPublisher publisher = client.listResourceTelemetryPaginator(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.observabilityadmin.paginators.ListResourceTelemetryPublisher publisher = client.listResourceTelemetryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryResponse 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
listResourceTelemetry(software.amazon.awssdk.services.observabilityadmin.model.ListResourceTelemetryRequest)operation.
This is a convenience which creates an instance of the
ListResourceTelemetryRequest.Builderavoiding the need to create one manually viaListResourceTelemetryRequest.builder()- Parameters:
listResourceTelemetryRequest- AConsumerthat will call methods onListResourceTelemetryRequest.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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException 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) Lists all tags attached to the specified telemetry rule 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException 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) Lists all tags attached to the specified telemetry rule 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTelemetryRules
default CompletableFuture<ListTelemetryRulesResponse> listTelemetryRules(ListTelemetryRulesRequest listTelemetryRulesRequest) Lists all telemetry rules in your account. You can filter the results by specifying a rule name prefix.
- Parameters:
listTelemetryRulesRequest-- Returns:
- A Java Future containing the result of the ListTelemetryRules 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTelemetryRules
default CompletableFuture<ListTelemetryRulesResponse> listTelemetryRules(Consumer<ListTelemetryRulesRequest.Builder> listTelemetryRulesRequest) Lists all telemetry rules in your account. You can filter the results by specifying a rule name prefix.
This is a convenience which creates an instance of the
ListTelemetryRulesRequest.Builderavoiding the need to create one manually viaListTelemetryRulesRequest.builder()- Parameters:
listTelemetryRulesRequest- AConsumerthat will call methods onListTelemetryRulesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTelemetryRules 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTelemetryRulesForOrganization
default CompletableFuture<ListTelemetryRulesForOrganizationResponse> listTelemetryRulesForOrganization(ListTelemetryRulesForOrganizationRequest listTelemetryRulesForOrganizationRequest) Lists all telemetry rules in your organization. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
listTelemetryRulesForOrganizationRequest-- Returns:
- A Java Future containing the result of the ListTelemetryRulesForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTelemetryRulesForOrganization
default CompletableFuture<ListTelemetryRulesForOrganizationResponse> listTelemetryRulesForOrganization(Consumer<ListTelemetryRulesForOrganizationRequest.Builder> listTelemetryRulesForOrganizationRequest) Lists all telemetry rules in your organization. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
ListTelemetryRulesForOrganizationRequest.Builderavoiding the need to create one manually viaListTelemetryRulesForOrganizationRequest.builder()- Parameters:
listTelemetryRulesForOrganizationRequest- AConsumerthat will call methods onListTelemetryRulesForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTelemetryRulesForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTelemetryRulesForOrganizationPaginator
default ListTelemetryRulesForOrganizationPublisher listTelemetryRulesForOrganizationPaginator(ListTelemetryRulesForOrganizationRequest listTelemetryRulesForOrganizationRequest) This is a variant of
listTelemetryRulesForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesForOrganizationRequest)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.observabilityadmin.paginators.ListTelemetryRulesForOrganizationPublisher publisher = client.listTelemetryRulesForOrganizationPaginator(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.observabilityadmin.paginators.ListTelemetryRulesForOrganizationPublisher publisher = client.listTelemetryRulesForOrganizationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesForOrganizationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesForOrganizationResponse 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
listTelemetryRulesForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesForOrganizationRequest)operation.- Parameters:
listTelemetryRulesForOrganizationRequest-- 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTelemetryRulesForOrganizationPaginator
default ListTelemetryRulesForOrganizationPublisher listTelemetryRulesForOrganizationPaginator(Consumer<ListTelemetryRulesForOrganizationRequest.Builder> listTelemetryRulesForOrganizationRequest) This is a variant of
listTelemetryRulesForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesForOrganizationRequest)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.observabilityadmin.paginators.ListTelemetryRulesForOrganizationPublisher publisher = client.listTelemetryRulesForOrganizationPaginator(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.observabilityadmin.paginators.ListTelemetryRulesForOrganizationPublisher publisher = client.listTelemetryRulesForOrganizationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesForOrganizationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesForOrganizationResponse 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
listTelemetryRulesForOrganization(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesForOrganizationRequest)operation.
This is a convenience which creates an instance of the
ListTelemetryRulesForOrganizationRequest.Builderavoiding the need to create one manually viaListTelemetryRulesForOrganizationRequest.builder()- Parameters:
listTelemetryRulesForOrganizationRequest- AConsumerthat will call methods onListTelemetryRulesForOrganizationRequest.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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTelemetryRulesPaginator
default ListTelemetryRulesPublisher listTelemetryRulesPaginator(ListTelemetryRulesRequest listTelemetryRulesRequest) This is a variant of
listTelemetryRules(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesRequest)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.observabilityadmin.paginators.ListTelemetryRulesPublisher publisher = client.listTelemetryRulesPaginator(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.observabilityadmin.paginators.ListTelemetryRulesPublisher publisher = client.listTelemetryRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesResponse 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
listTelemetryRules(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesRequest)operation.- Parameters:
listTelemetryRulesRequest-- 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTelemetryRulesPaginator
default ListTelemetryRulesPublisher listTelemetryRulesPaginator(Consumer<ListTelemetryRulesRequest.Builder> listTelemetryRulesRequest) This is a variant of
listTelemetryRules(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesRequest)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.observabilityadmin.paginators.ListTelemetryRulesPublisher publisher = client.listTelemetryRulesPaginator(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.observabilityadmin.paginators.ListTelemetryRulesPublisher publisher = client.listTelemetryRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesResponse 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
listTelemetryRules(software.amazon.awssdk.services.observabilityadmin.model.ListTelemetryRulesRequest)operation.
This is a convenience which creates an instance of the
ListTelemetryRulesRequest.Builderavoiding the need to create one manually viaListTelemetryRulesRequest.builder()- Parameters:
listTelemetryRulesRequest- AConsumerthat will call methods onListTelemetryRulesRequest.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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTelemetryEnrichment
default CompletableFuture<StartTelemetryEnrichmentResponse> startTelemetryEnrichment(StartTelemetryEnrichmentRequest startTelemetryEnrichmentRequest) Enables the resource tags for telemetry feature for your account, which enhances telemetry data with additional resource metadata from Amazon Web Services Resource Explorer to provide richer context for monitoring and observability.
- Parameters:
startTelemetryEnrichmentRequest-- Returns:
- A Java Future containing the result of the StartTelemetryEnrichment 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.- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTelemetryEnrichment
default CompletableFuture<StartTelemetryEnrichmentResponse> startTelemetryEnrichment(Consumer<StartTelemetryEnrichmentRequest.Builder> startTelemetryEnrichmentRequest) Enables the resource tags for telemetry feature for your account, which enhances telemetry data with additional resource metadata from Amazon Web Services Resource Explorer to provide richer context for monitoring and observability.
This is a convenience which creates an instance of the
StartTelemetryEnrichmentRequest.Builderavoiding the need to create one manually viaStartTelemetryEnrichmentRequest.builder()- Parameters:
startTelemetryEnrichmentRequest- AConsumerthat will call methods onStartTelemetryEnrichmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartTelemetryEnrichment 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.- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTelemetryEvaluation
default CompletableFuture<StartTelemetryEvaluationResponse> startTelemetryEvaluation(StartTelemetryEvaluationRequest startTelemetryEvaluationRequest) This action begins onboarding the caller Amazon Web Services account to the telemetry config feature.
- Parameters:
startTelemetryEvaluationRequest-- Returns:
- A Java Future containing the result of the StartTelemetryEvaluation 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTelemetryEvaluation
default CompletableFuture<StartTelemetryEvaluationResponse> startTelemetryEvaluation(Consumer<StartTelemetryEvaluationRequest.Builder> startTelemetryEvaluationRequest) This action begins onboarding the caller Amazon Web Services account to the telemetry config feature.
This is a convenience which creates an instance of the
StartTelemetryEvaluationRequest.Builderavoiding the need to create one manually viaStartTelemetryEvaluationRequest.builder()- Parameters:
startTelemetryEvaluationRequest- AConsumerthat will call methods onStartTelemetryEvaluationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartTelemetryEvaluation 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTelemetryEvaluationForOrganization
default CompletableFuture<StartTelemetryEvaluationForOrganizationResponse> startTelemetryEvaluationForOrganization(StartTelemetryEvaluationForOrganizationRequest startTelemetryEvaluationForOrganizationRequest) This actions begins onboarding the organization and all member accounts to the telemetry config feature.
- Parameters:
startTelemetryEvaluationForOrganizationRequest-- Returns:
- A Java Future containing the result of the StartTelemetryEvaluationForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTelemetryEvaluationForOrganization
default CompletableFuture<StartTelemetryEvaluationForOrganizationResponse> startTelemetryEvaluationForOrganization(Consumer<StartTelemetryEvaluationForOrganizationRequest.Builder> startTelemetryEvaluationForOrganizationRequest) This actions begins onboarding the organization and all member accounts to the telemetry config feature.
This is a convenience which creates an instance of the
StartTelemetryEvaluationForOrganizationRequest.Builderavoiding the need to create one manually viaStartTelemetryEvaluationForOrganizationRequest.builder()- Parameters:
startTelemetryEvaluationForOrganizationRequest- AConsumerthat will call methods onStartTelemetryEvaluationForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartTelemetryEvaluationForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopTelemetryEnrichment
default CompletableFuture<StopTelemetryEnrichmentResponse> stopTelemetryEnrichment(StopTelemetryEnrichmentRequest stopTelemetryEnrichmentRequest) Disables the resource tags for telemetry feature for your account, stopping the enhancement of telemetry data with additional resource metadata.
- Parameters:
stopTelemetryEnrichmentRequest-- Returns:
- A Java Future containing the result of the StopTelemetryEnrichment 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.- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopTelemetryEnrichment
default CompletableFuture<StopTelemetryEnrichmentResponse> stopTelemetryEnrichment(Consumer<StopTelemetryEnrichmentRequest.Builder> stopTelemetryEnrichmentRequest) Disables the resource tags for telemetry feature for your account, stopping the enhancement of telemetry data with additional resource metadata.
This is a convenience which creates an instance of the
StopTelemetryEnrichmentRequest.Builderavoiding the need to create one manually viaStopTelemetryEnrichmentRequest.builder()- Parameters:
stopTelemetryEnrichmentRequest- AConsumerthat will call methods onStopTelemetryEnrichmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopTelemetryEnrichment 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.- ConflictException The requested operation conflicts with the current state of the specified resource or with another request.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopTelemetryEvaluation
default CompletableFuture<StopTelemetryEvaluationResponse> stopTelemetryEvaluation(StopTelemetryEvaluationRequest stopTelemetryEvaluationRequest) This action begins offboarding the caller Amazon Web Services account from the telemetry config feature.
- Parameters:
stopTelemetryEvaluationRequest-- Returns:
- A Java Future containing the result of the StopTelemetryEvaluation 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopTelemetryEvaluation
default CompletableFuture<StopTelemetryEvaluationResponse> stopTelemetryEvaluation(Consumer<StopTelemetryEvaluationRequest.Builder> stopTelemetryEvaluationRequest) This action begins offboarding the caller Amazon Web Services account from the telemetry config feature.
This is a convenience which creates an instance of the
StopTelemetryEvaluationRequest.Builderavoiding the need to create one manually viaStopTelemetryEvaluationRequest.builder()- Parameters:
stopTelemetryEvaluationRequest- AConsumerthat will call methods onStopTelemetryEvaluationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopTelemetryEvaluation 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopTelemetryEvaluationForOrganization
default CompletableFuture<StopTelemetryEvaluationForOrganizationResponse> stopTelemetryEvaluationForOrganization(StopTelemetryEvaluationForOrganizationRequest stopTelemetryEvaluationForOrganizationRequest) This action offboards the Organization of the caller Amazon Web Services account from the telemetry config feature.
- Parameters:
stopTelemetryEvaluationForOrganizationRequest-- Returns:
- A Java Future containing the result of the StopTelemetryEvaluationForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopTelemetryEvaluationForOrganization
default CompletableFuture<StopTelemetryEvaluationForOrganizationResponse> stopTelemetryEvaluationForOrganization(Consumer<StopTelemetryEvaluationForOrganizationRequest.Builder> stopTelemetryEvaluationForOrganizationRequest) This action offboards the Organization of the caller Amazon Web Services account from the telemetry config feature.
This is a convenience which creates an instance of the
StopTelemetryEvaluationForOrganizationRequest.Builderavoiding the need to create one manually viaStopTelemetryEvaluationForOrganizationRequest.builder()- Parameters:
stopTelemetryEvaluationForOrganizationRequest- AConsumerthat will call methods onStopTelemetryEvaluationForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopTelemetryEvaluationForOrganization 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.- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException 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 telemetry rule 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException 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 telemetry rule 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException 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 tags from a telemetry rule 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException 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 tags from a telemetry rule 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.- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCentralizationRuleForOrganization
default CompletableFuture<UpdateCentralizationRuleForOrganizationResponse> updateCentralizationRuleForOrganization(UpdateCentralizationRuleForOrganizationRequest updateCentralizationRuleForOrganizationRequest) Updates an existing centralization rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
updateCentralizationRuleForOrganizationRequest-- Returns:
- A Java Future containing the result of the UpdateCentralizationRuleForOrganization 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCentralizationRuleForOrganization
default CompletableFuture<UpdateCentralizationRuleForOrganizationResponse> updateCentralizationRuleForOrganization(Consumer<UpdateCentralizationRuleForOrganizationRequest.Builder> updateCentralizationRuleForOrganizationRequest) Updates an existing centralization rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
UpdateCentralizationRuleForOrganizationRequest.Builderavoiding the need to create one manually viaUpdateCentralizationRuleForOrganizationRequest.builder()- Parameters:
updateCentralizationRuleForOrganizationRequest- AConsumerthat will call methods onUpdateCentralizationRuleForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateCentralizationRuleForOrganization 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTelemetryRule
default CompletableFuture<UpdateTelemetryRuleResponse> updateTelemetryRule(UpdateTelemetryRuleRequest updateTelemetryRuleRequest) Updates an existing telemetry rule in your account.
- Parameters:
updateTelemetryRuleRequest-- Returns:
- A Java Future containing the result of the UpdateTelemetryRule 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTelemetryRule
default CompletableFuture<UpdateTelemetryRuleResponse> updateTelemetryRule(Consumer<UpdateTelemetryRuleRequest.Builder> updateTelemetryRuleRequest) Updates an existing telemetry rule in your account.
This is a convenience which creates an instance of the
UpdateTelemetryRuleRequest.Builderavoiding the need to create one manually viaUpdateTelemetryRuleRequest.builder()- Parameters:
updateTelemetryRuleRequest- AConsumerthat will call methods onUpdateTelemetryRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTelemetryRule 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTelemetryRuleForOrganization
default CompletableFuture<UpdateTelemetryRuleForOrganizationResponse> updateTelemetryRuleForOrganization(UpdateTelemetryRuleForOrganizationRequest updateTelemetryRuleForOrganizationRequest) Updates an existing telemetry rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.
- Parameters:
updateTelemetryRuleForOrganizationRequest-- Returns:
- A Java Future containing the result of the UpdateTelemetryRuleForOrganization 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTelemetryRuleForOrganization
default CompletableFuture<UpdateTelemetryRuleForOrganizationResponse> updateTelemetryRuleForOrganization(Consumer<UpdateTelemetryRuleForOrganizationRequest.Builder> updateTelemetryRuleForOrganizationRequest) Updates an existing telemetry rule that applies across an Amazon Web Services Organization. This operation can only be called by the organization's management account or a delegated administrator account.
This is a convenience which creates an instance of the
UpdateTelemetryRuleForOrganizationRequest.Builderavoiding the need to create one manually viaUpdateTelemetryRuleForOrganizationRequest.builder()- Parameters:
updateTelemetryRuleForOrganizationRequest- AConsumerthat will call methods onUpdateTelemetryRuleForOrganizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTelemetryRuleForOrganization 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.- ServiceQuotaExceededException The requested operation would exceed the allowed quota for the specified resource type.
- ResourceNotFoundException The specified resource (such as a telemetry rule) could not be found.
- AccessDeniedException Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
- InternalServerException Indicates the request has failed to process because of an unknown server error, exception, or failure.
- ValidationException Indicates input validation failed. Check your request parameters and retry the request.
- TooManyRequestsException The request throughput limit was exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ObservabilityAdminException 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 aObservabilityAdminAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aObservabilityAdminAsyncClient.
-