Interface CloudWatchOmniAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface CloudWatchOmniAsyncClient extends AwsClient
Service client for accessing CloudWatch Omni asynchronously. This can be created using the static 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.

CloudWatch Omni is a unified observability experience built on Amazon CloudWatch. You work in a space, an isolated environment that holds your telemetry and controls who can access it, and your data is stored in the CloudWatch Dataset for correlated analysis of logs, metrics, and traces.

  • Field Details

  • Method Details

    • createAccessGrant

      default CompletableFuture<CreateAccessGrantResponse> createAccessGrant(CreateAccessGrantRequest createAccessGrantRequest)

      Creates an AccessGrant that authorizes a principal to perform a set of actions on resources in a space.

      Optionally narrow the grant with scoped actions that limit it to specific resources and fields. Use ListAccessGrants and GetAccessGrant to retrieve grants, and DeleteAccessGrant to remove them.

      Parameters:
      createAccessGrantRequest -
      Returns:
      A Java Future containing the result of the CreateAccessGrant 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAccessGrant

      default CompletableFuture<CreateAccessGrantResponse> createAccessGrant(Consumer<CreateAccessGrantRequest.Builder> createAccessGrantRequest)

      Creates an AccessGrant that authorizes a principal to perform a set of actions on resources in a space.

      Optionally narrow the grant with scoped actions that limit it to specific resources and fields. Use ListAccessGrants and GetAccessGrant to retrieve grants, and DeleteAccessGrant to remove them.


      This is a convenience which creates an instance of the CreateAccessGrantRequest.Builder avoiding the need to create one manually via CreateAccessGrantRequest.builder()

      Parameters:
      createAccessGrantRequest - A Consumer that will call methods on CreateAccessGrantRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAccessGrant 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAccessProfile

      default CompletableFuture<CreateAccessProfileResponse> createAccessProfile(CreateAccessProfileRequest createAccessProfileRequest)

      Creates an access profile in a space.

      Use GetAccessProfile and ListAccessProfiles to retrieve profiles, and UpdateAccessProfile to modify one.

      Parameters:
      createAccessProfileRequest -
      Returns:
      A Java Future containing the result of the CreateAccessProfile 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAccessProfile

      default CompletableFuture<CreateAccessProfileResponse> createAccessProfile(Consumer<CreateAccessProfileRequest.Builder> createAccessProfileRequest)

      Creates an access profile in a space.

      Use GetAccessProfile and ListAccessProfiles to retrieve profiles, and UpdateAccessProfile to modify one.


      This is a convenience which creates an instance of the CreateAccessProfileRequest.Builder avoiding the need to create one manually via CreateAccessProfileRequest.builder()

      Parameters:
      createAccessProfileRequest - A Consumer that will call methods on CreateAccessProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAccessProfile 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAlert

      default CompletableFuture<CreateAlertResponse> createAlert(CreateAlertRequest createAlertRequest)

      Creates a new alert within a space.

      Use GetAlert and ListAlerts to retrieve alerts, UpdateAlert to modify one, and DeleteAlert to remove it.

      Parameters:
      createAlertRequest -
      Returns:
      A Java Future containing the result of the CreateAlert 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAlert

      default CompletableFuture<CreateAlertResponse> createAlert(Consumer<CreateAlertRequest.Builder> createAlertRequest)

      Creates a new alert within a space.

      Use GetAlert and ListAlerts to retrieve alerts, UpdateAlert to modify one, and DeleteAlert to remove it.


      This is a convenience which creates an instance of the CreateAlertRequest.Builder avoiding the need to create one manually via CreateAlertRequest.builder()

      Parameters:
      createAlertRequest - A Consumer that will call methods on CreateAlertRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAlert 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDomain

      default CompletableFuture<CreateDomainResponse> createDomain(CreateDomainRequest createDomainRequest)

      Creates a domain with identity provider configuration.

      Use GetDomain to retrieve the domain, UpdateDomain to change its configuration, and CreateSpace to add spaces within it.

      Parameters:
      createDomainRequest -
      Returns:
      A Java Future containing the result of the CreateDomain 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDomain

      default CompletableFuture<CreateDomainResponse> createDomain(Consumer<CreateDomainRequest.Builder> createDomainRequest)

      Creates a domain with identity provider configuration.

      Use GetDomain to retrieve the domain, UpdateDomain to change its configuration, and CreateSpace to add spaces within it.


      This is a convenience which creates an instance of the CreateDomainRequest.Builder avoiding the need to create one manually via CreateDomainRequest.builder()

      Parameters:
      createDomainRequest - A Consumer that will call methods on CreateDomainRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateDomain 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDomainAccessGrantForOrganization

      default CompletableFuture<CreateDomainAccessGrantForOrganizationResponse> createDomainAccessGrantForOrganization(CreateDomainAccessGrantForOrganizationRequest createDomainAccessGrantForOrganizationRequest)

      Creates an AccessGrant that authorizes a principal to administer an organization domain.

      Parameters:
      createDomainAccessGrantForOrganizationRequest -
      Returns:
      A Java Future containing the result of the CreateDomainAccessGrantForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDomainAccessGrantForOrganization

      default CompletableFuture<CreateDomainAccessGrantForOrganizationResponse> createDomainAccessGrantForOrganization(Consumer<CreateDomainAccessGrantForOrganizationRequest.Builder> createDomainAccessGrantForOrganizationRequest)

      Creates an AccessGrant that authorizes a principal to administer an organization domain.


      This is a convenience which creates an instance of the CreateDomainAccessGrantForOrganizationRequest.Builder avoiding the need to create one manually via CreateDomainAccessGrantForOrganizationRequest.builder()

      Parameters:
      createDomainAccessGrantForOrganizationRequest - A Consumer that will call methods on CreateDomainAccessGrantForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateDomainAccessGrantForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDomainForOrganization

      default CompletableFuture<CreateDomainForOrganizationResponse> createDomainForOrganization(CreateDomainForOrganizationRequest createDomainForOrganizationRequest)

      Creates an organization-scoped domain for the caller's AWS Organization. Only the organization's management account can call this operation.

      Parameters:
      createDomainForOrganizationRequest -
      Returns:
      A Java Future containing the result of the CreateDomainForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDomainForOrganization

      default CompletableFuture<CreateDomainForOrganizationResponse> createDomainForOrganization(Consumer<CreateDomainForOrganizationRequest.Builder> createDomainForOrganizationRequest)

      Creates an organization-scoped domain for the caller's AWS Organization. Only the organization's management account can call this operation.


      This is a convenience which creates an instance of the CreateDomainForOrganizationRequest.Builder avoiding the need to create one manually via CreateDomainForOrganizationRequest.builder()

      Parameters:
      createDomainForOrganizationRequest - A Consumer that will call methods on CreateDomainForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateDomainForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createIntegration

      default CompletableFuture<CreateIntegrationResponse> createIntegration(CreateIntegrationRequest createIntegrationRequest)

      Creates an integration with a third-party provider. Returns the integration identifier and its initial status; when the provider requires interactive consent, an authorization URL is returned for the user to complete setup.

      Parameters:
      createIntegrationRequest - The request for creating an integration with a third-party provider.
      Returns:
      A Java Future containing the result of the CreateIntegration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createIntegration

      default CompletableFuture<CreateIntegrationResponse> createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest)

      Creates an integration with a third-party provider. Returns the integration identifier and its initial status; when the provider requires interactive consent, an authorization URL is returned for the user to complete setup.


      This is a convenience which creates an instance of the CreateIntegrationRequest.Builder avoiding the need to create one manually via CreateIntegrationRequest.builder()

      Parameters:
      createIntegrationRequest - A Consumer that will call methods on CreateIntegrationRequest.Builder to create a request. The request for creating an integration with a third-party provider.
      Returns:
      A Java Future containing the result of the CreateIntegration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOmniDashboard

      default CompletableFuture<CreateOmniDashboardResponse> createOmniDashboard(CreateOmniDashboardRequest createOmniDashboardRequest)

      Creates a new dashboard within a space.

      Use GetOmniDashboard and ListOmniDashboards to retrieve dashboards, UpdateOmniDashboard to modify one, and DeleteOmniDashboard to remove it.

      Parameters:
      createOmniDashboardRequest -
      Returns:
      A Java Future containing the result of the CreateOmniDashboard 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOmniDashboard

      default CompletableFuture<CreateOmniDashboardResponse> createOmniDashboard(Consumer<CreateOmniDashboardRequest.Builder> createOmniDashboardRequest)

      Creates a new dashboard within a space.

      Use GetOmniDashboard and ListOmniDashboards to retrieve dashboards, UpdateOmniDashboard to modify one, and DeleteOmniDashboard to remove it.


      This is a convenience which creates an instance of the CreateOmniDashboardRequest.Builder avoiding the need to create one manually via CreateOmniDashboardRequest.builder()

      Parameters:
      createOmniDashboardRequest - A Consumer that will call methods on CreateOmniDashboardRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateOmniDashboard 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOneTimeDeepLinkCode

      default CompletableFuture<CreateOneTimeDeepLinkCodeResponse> createOneTimeDeepLinkCode(CreateOneTimeDeepLinkCodeRequest createOneTimeDeepLinkCodeRequest)

      Generates a one-time code for deep-link authentication.

      Direct the user's browser to the returned deepLinkUrl before it expires. The code is exchanged for an authenticated, domain-scoped session and can be used only once.

      Parameters:
      createOneTimeDeepLinkCodeRequest -
      Returns:
      A Java Future containing the result of the CreateOneTimeDeepLinkCode 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createOneTimeDeepLinkCode

      default CompletableFuture<CreateOneTimeDeepLinkCodeResponse> createOneTimeDeepLinkCode(Consumer<CreateOneTimeDeepLinkCodeRequest.Builder> createOneTimeDeepLinkCodeRequest)

      Generates a one-time code for deep-link authentication.

      Direct the user's browser to the returned deepLinkUrl before it expires. The code is exchanged for an authenticated, domain-scoped session and can be used only once.


      This is a convenience which creates an instance of the CreateOneTimeDeepLinkCodeRequest.Builder avoiding the need to create one manually via CreateOneTimeDeepLinkCodeRequest.builder()

      Parameters:
      createOneTimeDeepLinkCodeRequest - A Consumer that will call methods on CreateOneTimeDeepLinkCodeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateOneTimeDeepLinkCode 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSpace

      default CompletableFuture<CreateSpaceResponse> createSpace(CreateSpaceRequest createSpaceRequest)

      Creates a space in a domain.

      Use GetSpace to retrieve the space, ListSpaces to enumerate spaces, UpdateSpace to modify it, and DeleteSpace to remove it.

      Parameters:
      createSpaceRequest -
      Returns:
      A Java Future containing the result of the CreateSpace 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSpace

      default CompletableFuture<CreateSpaceResponse> createSpace(Consumer<CreateSpaceRequest.Builder> createSpaceRequest)

      Creates a space in a domain.

      Use GetSpace to retrieve the space, ListSpaces to enumerate spaces, UpdateSpace to modify it, and DeleteSpace to remove it.


      This is a convenience which creates an instance of the CreateSpaceRequest.Builder avoiding the need to create one manually via CreateSpaceRequest.builder()

      Parameters:
      createSpaceRequest - A Consumer that will call methods on CreateSpaceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateSpace 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createView

      default CompletableFuture<CreateViewResponse> createView(CreateViewRequest createViewRequest)

      Creates a new SQL view.

      A view is a named, reusable SQL query that can be referenced from telemetry queries. View names must be unique within the account and region. Only USER views can be created — MANAGED views are provisioned by AWS.

      Parameters:
      createViewRequest -
      Returns:
      A Java Future containing the result of the CreateView 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createView

      default CompletableFuture<CreateViewResponse> createView(Consumer<CreateViewRequest.Builder> createViewRequest)

      Creates a new SQL view.

      A view is a named, reusable SQL query that can be referenced from telemetry queries. View names must be unique within the account and region. Only USER views can be created — MANAGED views are provisioned by AWS.


      This is a convenience which creates an instance of the CreateViewRequest.Builder avoiding the need to create one manually via CreateViewRequest.builder()

      Parameters:
      createViewRequest - A Consumer that will call methods on CreateViewRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateView 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAccessGrant

      default CompletableFuture<DeleteAccessGrantResponse> deleteAccessGrant(DeleteAccessGrantRequest deleteAccessGrantRequest)

      Removes an existing AccessGrant, revoking the access it granted.

      A service-managed grant cannot be deleted.

      Parameters:
      deleteAccessGrantRequest -
      Returns:
      A Java Future containing the result of the DeleteAccessGrant 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAccessGrant

      default CompletableFuture<DeleteAccessGrantResponse> deleteAccessGrant(Consumer<DeleteAccessGrantRequest.Builder> deleteAccessGrantRequest)

      Removes an existing AccessGrant, revoking the access it granted.

      A service-managed grant cannot be deleted.


      This is a convenience which creates an instance of the DeleteAccessGrantRequest.Builder avoiding the need to create one manually via DeleteAccessGrantRequest.builder()

      Parameters:
      deleteAccessGrantRequest - A Consumer that will call methods on DeleteAccessGrantRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAccessGrant 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAccessProfile

      default CompletableFuture<DeleteAccessProfileResponse> deleteAccessProfile(DeleteAccessProfileRequest deleteAccessProfileRequest)

      Removes an access profile.

      An access profile cannot be deleted while access grants reference it.

      Parameters:
      deleteAccessProfileRequest -
      Returns:
      A Java Future containing the result of the DeleteAccessProfile 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAccessProfile

      default CompletableFuture<DeleteAccessProfileResponse> deleteAccessProfile(Consumer<DeleteAccessProfileRequest.Builder> deleteAccessProfileRequest)

      Removes an access profile.

      An access profile cannot be deleted while access grants reference it.


      This is a convenience which creates an instance of the DeleteAccessProfileRequest.Builder avoiding the need to create one manually via DeleteAccessProfileRequest.builder()

      Parameters:
      deleteAccessProfileRequest - A Consumer that will call methods on DeleteAccessProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAccessProfile 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAlert

      default CompletableFuture<DeleteAlertResponse> deleteAlert(DeleteAlertRequest deleteAlertRequest)

      Deletes an alert by its identifier.

      Idempotent: deleting an alert that has already been removed succeeds without error.

      Parameters:
      deleteAlertRequest -
      Returns:
      A Java Future containing the result of the DeleteAlert 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAlert

      default CompletableFuture<DeleteAlertResponse> deleteAlert(Consumer<DeleteAlertRequest.Builder> deleteAlertRequest)

      Deletes an alert by its identifier.

      Idempotent: deleting an alert that has already been removed succeeds without error.


      This is a convenience which creates an instance of the DeleteAlertRequest.Builder avoiding the need to create one manually via DeleteAlertRequest.builder()

      Parameters:
      deleteAlertRequest - A Consumer that will call methods on DeleteAlertRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAlert 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDomain

      default CompletableFuture<DeleteDomainResponse> deleteDomain(DeleteDomainRequest deleteDomainRequest)

      Removes a domain and all of its resources. Call this operation in the Region where the domain was created.

      A domain cannot be deleted while it contains spaces.

      Parameters:
      deleteDomainRequest -
      Returns:
      A Java Future containing the result of the DeleteDomain 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDomain

      default CompletableFuture<DeleteDomainResponse> deleteDomain(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest)

      Removes a domain and all of its resources. Call this operation in the Region where the domain was created.

      A domain cannot be deleted while it contains spaces.


      This is a convenience which creates an instance of the DeleteDomainRequest.Builder avoiding the need to create one manually via DeleteDomainRequest.builder()

      Parameters:
      deleteDomainRequest - A Consumer that will call methods on DeleteDomainRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteDomain 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDomainAccessGrantForOrganization

      default CompletableFuture<DeleteDomainAccessGrantForOrganizationResponse> deleteDomainAccessGrantForOrganization(DeleteDomainAccessGrantForOrganizationRequest deleteDomainAccessGrantForOrganizationRequest)

      Removes an existing organization access grant, revoking the access it granted.

      A service-managed grant cannot be deleted.

      Parameters:
      deleteDomainAccessGrantForOrganizationRequest -
      Returns:
      A Java Future containing the result of the DeleteDomainAccessGrantForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDomainAccessGrantForOrganization

      default CompletableFuture<DeleteDomainAccessGrantForOrganizationResponse> deleteDomainAccessGrantForOrganization(Consumer<DeleteDomainAccessGrantForOrganizationRequest.Builder> deleteDomainAccessGrantForOrganizationRequest)

      Removes an existing organization access grant, revoking the access it granted.

      A service-managed grant cannot be deleted.


      This is a convenience which creates an instance of the DeleteDomainAccessGrantForOrganizationRequest.Builder avoiding the need to create one manually via DeleteDomainAccessGrantForOrganizationRequest.builder()

      Parameters:
      deleteDomainAccessGrantForOrganizationRequest - A Consumer that will call methods on DeleteDomainAccessGrantForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteDomainAccessGrantForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDomainForOrganization

      default CompletableFuture<DeleteDomainForOrganizationResponse> deleteDomainForOrganization(DeleteDomainForOrganizationRequest deleteDomainForOrganizationRequest)

      Removes an organization domain and all of its resources. Call this operation in the Region where the domain was created.

      A domain cannot be deleted while it contains spaces.

      Parameters:
      deleteDomainForOrganizationRequest -
      Returns:
      A Java Future containing the result of the DeleteDomainForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDomainForOrganization

      default CompletableFuture<DeleteDomainForOrganizationResponse> deleteDomainForOrganization(Consumer<DeleteDomainForOrganizationRequest.Builder> deleteDomainForOrganizationRequest)

      Removes an organization domain and all of its resources. Call this operation in the Region where the domain was created.

      A domain cannot be deleted while it contains spaces.


      This is a convenience which creates an instance of the DeleteDomainForOrganizationRequest.Builder avoiding the need to create one manually via DeleteDomainForOrganizationRequest.builder()

      Parameters:
      deleteDomainForOrganizationRequest - A Consumer that will call methods on DeleteDomainForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteDomainForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteIntegration

      default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest)

      Deletes an integration. Returns the resulting status.

      Parameters:
      deleteIntegrationRequest - The request for deleting an integration.
      Returns:
      A Java Future containing the result of the DeleteIntegration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteIntegration

      default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest)

      Deletes an integration. Returns the resulting status.


      This is a convenience which creates an instance of the DeleteIntegrationRequest.Builder avoiding the need to create one manually via DeleteIntegrationRequest.builder()

      Parameters:
      deleteIntegrationRequest - A Consumer that will call methods on DeleteIntegrationRequest.Builder to create a request. The request for deleting an integration.
      Returns:
      A Java Future containing the result of the DeleteIntegration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteOmniDashboard

      default CompletableFuture<DeleteOmniDashboardResponse> deleteOmniDashboard(DeleteOmniDashboardRequest deleteOmniDashboardRequest)

      Removes a dashboard from a space.

      Parameters:
      deleteOmniDashboardRequest -
      Returns:
      A Java Future containing the result of the DeleteOmniDashboard 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteOmniDashboard

      default CompletableFuture<DeleteOmniDashboardResponse> deleteOmniDashboard(Consumer<DeleteOmniDashboardRequest.Builder> deleteOmniDashboardRequest)

      Removes a dashboard from a space.


      This is a convenience which creates an instance of the DeleteOmniDashboardRequest.Builder avoiding the need to create one manually via DeleteOmniDashboardRequest.builder()

      Parameters:
      deleteOmniDashboardRequest - A Consumer that will call methods on DeleteOmniDashboardRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteOmniDashboard 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSpace

      default CompletableFuture<DeleteSpaceResponse> deleteSpace(DeleteSpaceRequest deleteSpaceRequest)

      Removes a space and all of its resources.

      Parameters:
      deleteSpaceRequest -
      Returns:
      A Java Future containing the result of the DeleteSpace 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSpace

      default CompletableFuture<DeleteSpaceResponse> deleteSpace(Consumer<DeleteSpaceRequest.Builder> deleteSpaceRequest)

      Removes a space and all of its resources.


      This is a convenience which creates an instance of the DeleteSpaceRequest.Builder avoiding the need to create one manually via DeleteSpaceRequest.builder()

      Parameters:
      deleteSpaceRequest - A Consumer that will call methods on DeleteSpaceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteSpace 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteView

      default CompletableFuture<DeleteViewResponse> deleteView(DeleteViewRequest deleteViewRequest)

      Deletes the specified view.

      Queries that reference the view fail after it is deleted. Managed views cannot be deleted.

      Parameters:
      deleteViewRequest -
      Returns:
      A Java Future containing the result of the DeleteView 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteView

      default CompletableFuture<DeleteViewResponse> deleteView(Consumer<DeleteViewRequest.Builder> deleteViewRequest)

      Deletes the specified view.

      Queries that reference the view fail after it is deleted. Managed views cannot be deleted.


      This is a convenience which creates an instance of the DeleteViewRequest.Builder avoiding the need to create one manually via DeleteViewRequest.builder()

      Parameters:
      deleteViewRequest - A Consumer that will call methods on DeleteViewRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteView 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccessGrant

      default CompletableFuture<GetAccessGrantResponse> getAccessGrant(GetAccessGrantRequest getAccessGrantRequest)

      Retrieves the full detail of a single AccessGrant by ID.

      Parameters:
      getAccessGrantRequest -
      Returns:
      A Java Future containing the result of the GetAccessGrant 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccessGrant

      default CompletableFuture<GetAccessGrantResponse> getAccessGrant(Consumer<GetAccessGrantRequest.Builder> getAccessGrantRequest)

      Retrieves the full detail of a single AccessGrant by ID.


      This is a convenience which creates an instance of the GetAccessGrantRequest.Builder avoiding the need to create one manually via GetAccessGrantRequest.builder()

      Parameters:
      getAccessGrantRequest - A Consumer that will call methods on GetAccessGrantRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAccessGrant 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccessProfile

      default CompletableFuture<GetAccessProfileResponse> getAccessProfile(GetAccessProfileRequest getAccessProfileRequest)

      Retrieves an access profile by ID.

      The response indicates whether the calling principal is currently allowed to assume the profile.

      Parameters:
      getAccessProfileRequest -
      Returns:
      A Java Future containing the result of the GetAccessProfile 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccessProfile

      default CompletableFuture<GetAccessProfileResponse> getAccessProfile(Consumer<GetAccessProfileRequest.Builder> getAccessProfileRequest)

      Retrieves an access profile by ID.

      The response indicates whether the calling principal is currently allowed to assume the profile.


      This is a convenience which creates an instance of the GetAccessProfileRequest.Builder avoiding the need to create one manually via GetAccessProfileRequest.builder()

      Parameters:
      getAccessProfileRequest - A Consumer that will call methods on GetAccessProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAccessProfile 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAlert

      default CompletableFuture<GetAlertResponse> getAlert(GetAlertRequest getAlertRequest)

      Retrieves a single alert by its identifier.

      Use ListAlerts to enumerate alerts in the space.

      Parameters:
      getAlertRequest -
      Returns:
      A Java Future containing the result of the GetAlert 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAlert

      Retrieves a single alert by its identifier.

      Use ListAlerts to enumerate alerts in the space.


      This is a convenience which creates an instance of the GetAlertRequest.Builder avoiding the need to create one manually via GetAlertRequest.builder()

      Parameters:
      getAlertRequest - A Consumer that will call methods on GetAlertRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAlert 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getContextGraph

      default CompletableFuture<GetContextGraphResponse> getContextGraph(GetContextGraphRequest getContextGraphRequest)

      Queries the context graph with filtering, traversal, and pagination support.

      Pagination note: nodes and edges are returned together as a coherent subgraph. Pagination cursors advance over nodes (the primary collection); each page includes all edges connecting nodes within that page. Callers should treat nodes as the paginated collection and edges as supplementary relationship data attached to those nodes.

      Parameters:
      getContextGraphRequest - The request for retrieving a slice of the context graph.
      Returns:
      A Java Future containing the result of the GetContextGraph 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getContextGraph

      default CompletableFuture<GetContextGraphResponse> getContextGraph(Consumer<GetContextGraphRequest.Builder> getContextGraphRequest)

      Queries the context graph with filtering, traversal, and pagination support.

      Pagination note: nodes and edges are returned together as a coherent subgraph. Pagination cursors advance over nodes (the primary collection); each page includes all edges connecting nodes within that page. Callers should treat nodes as the paginated collection and edges as supplementary relationship data attached to those nodes.


      This is a convenience which creates an instance of the GetContextGraphRequest.Builder avoiding the need to create one manually via GetContextGraphRequest.builder()

      Parameters:
      getContextGraphRequest - A Consumer that will call methods on GetContextGraphRequest.Builder to create a request. The request for retrieving a slice of the context graph.
      Returns:
      A Java Future containing the result of the GetContextGraph 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getContextGraphPaginator

      default GetContextGraphPublisher getContextGraphPaginator(GetContextGraphRequest getContextGraphRequest)

      This is a variant of getContextGraph(software.amazon.awssdk.services.cloudwatchomni.model.GetContextGraphRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.GetContextGraphPublisher publisher = client.getContextGraphPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.GetContextGraphPublisher publisher = client.getContextGraphPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.GetContextGraphResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.GetContextGraphResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 getContextGraph(software.amazon.awssdk.services.cloudwatchomni.model.GetContextGraphRequest) operation.

      Parameters:
      getContextGraphRequest - The request for retrieving a slice of the context graph.
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getContextGraphPaginator

      default GetContextGraphPublisher getContextGraphPaginator(Consumer<GetContextGraphRequest.Builder> getContextGraphRequest)

      This is a variant of getContextGraph(software.amazon.awssdk.services.cloudwatchomni.model.GetContextGraphRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.GetContextGraphPublisher publisher = client.getContextGraphPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.GetContextGraphPublisher publisher = client.getContextGraphPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.GetContextGraphResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.GetContextGraphResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 getContextGraph(software.amazon.awssdk.services.cloudwatchomni.model.GetContextGraphRequest) operation.


      This is a convenience which creates an instance of the GetContextGraphRequest.Builder avoiding the need to create one manually via GetContextGraphRequest.builder()

      Parameters:
      getContextGraphRequest - A Consumer that will call methods on GetContextGraphRequest.Builder to create a request. The request for retrieving a slice of the context graph.
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDomain

      default CompletableFuture<GetDomainResponse> getDomain(GetDomainRequest getDomainRequest)

      Retrieves the details of a domain by ID.

      Parameters:
      getDomainRequest -
      Returns:
      A Java Future containing the result of the GetDomain 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDomain

      default CompletableFuture<GetDomainResponse> getDomain(Consumer<GetDomainRequest.Builder> getDomainRequest)

      Retrieves the details of a domain by ID.


      This is a convenience which creates an instance of the GetDomainRequest.Builder avoiding the need to create one manually via GetDomainRequest.builder()

      Parameters:
      getDomainRequest - A Consumer that will call methods on GetDomainRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDomain 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDomainAccessGrantForOrganization

      default CompletableFuture<GetDomainAccessGrantForOrganizationResponse> getDomainAccessGrantForOrganization(GetDomainAccessGrantForOrganizationRequest getDomainAccessGrantForOrganizationRequest)

      Retrieves the full detail of a single organization access grant by ID.

      Parameters:
      getDomainAccessGrantForOrganizationRequest -
      Returns:
      A Java Future containing the result of the GetDomainAccessGrantForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDomainAccessGrantForOrganization

      default CompletableFuture<GetDomainAccessGrantForOrganizationResponse> getDomainAccessGrantForOrganization(Consumer<GetDomainAccessGrantForOrganizationRequest.Builder> getDomainAccessGrantForOrganizationRequest)

      Retrieves the full detail of a single organization access grant by ID.


      This is a convenience which creates an instance of the GetDomainAccessGrantForOrganizationRequest.Builder avoiding the need to create one manually via GetDomainAccessGrantForOrganizationRequest.builder()

      Parameters:
      getDomainAccessGrantForOrganizationRequest - A Consumer that will call methods on GetDomainAccessGrantForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDomainAccessGrantForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDomainForOrganization

      default CompletableFuture<GetDomainForOrganizationResponse> getDomainForOrganization(GetDomainForOrganizationRequest getDomainForOrganizationRequest)

      Retrieves the details of an organization domain by ID.

      Parameters:
      getDomainForOrganizationRequest -
      Returns:
      A Java Future containing the result of the GetDomainForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDomainForOrganization

      default CompletableFuture<GetDomainForOrganizationResponse> getDomainForOrganization(Consumer<GetDomainForOrganizationRequest.Builder> getDomainForOrganizationRequest)

      Retrieves the details of an organization domain by ID.


      This is a convenience which creates an instance of the GetDomainForOrganizationRequest.Builder avoiding the need to create one manually via GetDomainForOrganizationRequest.builder()

      Parameters:
      getDomainForOrganizationRequest - A Consumer that will call methods on GetDomainForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDomainForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getIntegration

      default CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest)

      Returns the details of a single integration, identified by its identifier, Amazon Resource Name, or name.

      Parameters:
      getIntegrationRequest - The request for retrieving a single integration.
      Returns:
      A Java Future containing the result of the GetIntegration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getIntegration

      default CompletableFuture<GetIntegrationResponse> getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest)

      Returns the details of a single integration, identified by its identifier, Amazon Resource Name, or name.


      This is a convenience which creates an instance of the GetIntegrationRequest.Builder avoiding the need to create one manually via GetIntegrationRequest.builder()

      Parameters:
      getIntegrationRequest - A Consumer that will call methods on GetIntegrationRequest.Builder to create a request. The request for retrieving a single integration.
      Returns:
      A Java Future containing the result of the GetIntegration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getIntelligenceConfiguration

      default CompletableFuture<GetIntelligenceConfigurationResponse> getIntelligenceConfiguration(GetIntelligenceConfigurationRequest getIntelligenceConfigurationRequest)

      Retrieves the intelligence configuration for the calling account. Account is identified via FAS (caller identity). Returns the default configuration if none exists yet.

      Parameters:
      getIntelligenceConfigurationRequest - The request for retrieving the intelligence configuration of the calling account.
      Returns:
      A Java Future containing the result of the GetIntelligenceConfiguration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getIntelligenceConfiguration

      default CompletableFuture<GetIntelligenceConfigurationResponse> getIntelligenceConfiguration(Consumer<GetIntelligenceConfigurationRequest.Builder> getIntelligenceConfigurationRequest)

      Retrieves the intelligence configuration for the calling account. Account is identified via FAS (caller identity). Returns the default configuration if none exists yet.


      This is a convenience which creates an instance of the GetIntelligenceConfigurationRequest.Builder avoiding the need to create one manually via GetIntelligenceConfigurationRequest.builder()

      Parameters:
      getIntelligenceConfigurationRequest - A Consumer that will call methods on GetIntelligenceConfigurationRequest.Builder to create a request. The request for retrieving the intelligence configuration of the calling account.
      Returns:
      A Java Future containing the result of the GetIntelligenceConfiguration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOmniDashboard

      default CompletableFuture<GetOmniDashboardResponse> getOmniDashboard(GetOmniDashboardRequest getOmniDashboardRequest)

      Retrieves a dashboard by ID within a space.

      Parameters:
      getOmniDashboardRequest -
      Returns:
      A Java Future containing the result of the GetOmniDashboard 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOmniDashboard

      default CompletableFuture<GetOmniDashboardResponse> getOmniDashboard(Consumer<GetOmniDashboardRequest.Builder> getOmniDashboardRequest)

      Retrieves a dashboard by ID within a space.


      This is a convenience which creates an instance of the GetOmniDashboardRequest.Builder avoiding the need to create one manually via GetOmniDashboardRequest.builder()

      Parameters:
      getOmniDashboardRequest - A Consumer that will call methods on GetOmniDashboardRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetOmniDashboard 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSpace

      default CompletableFuture<GetSpaceResponse> getSpace(GetSpaceRequest getSpaceRequest)

      Retrieves the details of a space by ID.

      Parameters:
      getSpaceRequest -
      Returns:
      A Java Future containing the result of the GetSpace 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSpace

      Retrieves the details of a space by ID.


      This is a convenience which creates an instance of the GetSpaceRequest.Builder avoiding the need to create one manually via GetSpaceRequest.builder()

      Parameters:
      getSpaceRequest - A Consumer that will call methods on GetSpaceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetSpace 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSpaceCredentialsForOrganization

      default CompletableFuture<GetSpaceCredentialsForOrganizationResponse> getSpaceCredentialsForOrganization(GetSpaceCredentialsForOrganizationRequest getSpaceCredentialsForOrganizationRequest)

      Returns temporary credentials for a space in an organization member account. The credentials are valid for one hour.

      The caller must be the organization's management account or a delegated administrator with access to the target space. The target account must be an active member of the same organization as the domain, and the space must already exist.

      Parameters:
      getSpaceCredentialsForOrganizationRequest -
      Returns:
      A Java Future containing the result of the GetSpaceCredentialsForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSpaceCredentialsForOrganization

      default CompletableFuture<GetSpaceCredentialsForOrganizationResponse> getSpaceCredentialsForOrganization(Consumer<GetSpaceCredentialsForOrganizationRequest.Builder> getSpaceCredentialsForOrganizationRequest)

      Returns temporary credentials for a space in an organization member account. The credentials are valid for one hour.

      The caller must be the organization's management account or a delegated administrator with access to the target space. The target account must be an active member of the same organization as the domain, and the space must already exist.


      This is a convenience which creates an instance of the GetSpaceCredentialsForOrganizationRequest.Builder avoiding the need to create one manually via GetSpaceCredentialsForOrganizationRequest.builder()

      Parameters:
      getSpaceCredentialsForOrganizationRequest - A Consumer that will call methods on GetSpaceCredentialsForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetSpaceCredentialsForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTelemetryQueryResults

      default CompletableFuture<GetTelemetryQueryResultsResponse> getTelemetryQueryResults(GetTelemetryQueryResultsRequest getTelemetryQueryResultsRequest)

      Returns the results for the specified query.

      Parameters:
      getTelemetryQueryResultsRequest -
      Returns:
      A Java Future containing the result of the GetTelemetryQueryResults 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTelemetryQueryResults

      default CompletableFuture<GetTelemetryQueryResultsResponse> getTelemetryQueryResults(Consumer<GetTelemetryQueryResultsRequest.Builder> getTelemetryQueryResultsRequest)

      Returns the results for the specified query.


      This is a convenience which creates an instance of the GetTelemetryQueryResultsRequest.Builder avoiding the need to create one manually via GetTelemetryQueryResultsRequest.builder()

      Parameters:
      getTelemetryQueryResultsRequest - A Consumer that will call methods on GetTelemetryQueryResultsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTelemetryQueryResults 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTelemetryQueryResultsPaginator

      default GetTelemetryQueryResultsPublisher getTelemetryQueryResultsPaginator(GetTelemetryQueryResultsRequest getTelemetryQueryResultsRequest)

      This is a variant of getTelemetryQueryResults(software.amazon.awssdk.services.cloudwatchomni.model.GetTelemetryQueryResultsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.GetTelemetryQueryResultsPublisher publisher = client.getTelemetryQueryResultsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.GetTelemetryQueryResultsPublisher publisher = client.getTelemetryQueryResultsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.GetTelemetryQueryResultsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.GetTelemetryQueryResultsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 getTelemetryQueryResults(software.amazon.awssdk.services.cloudwatchomni.model.GetTelemetryQueryResultsRequest) operation.

      Parameters:
      getTelemetryQueryResultsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTelemetryQueryResultsPaginator

      default GetTelemetryQueryResultsPublisher getTelemetryQueryResultsPaginator(Consumer<GetTelemetryQueryResultsRequest.Builder> getTelemetryQueryResultsRequest)

      This is a variant of getTelemetryQueryResults(software.amazon.awssdk.services.cloudwatchomni.model.GetTelemetryQueryResultsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.GetTelemetryQueryResultsPublisher publisher = client.getTelemetryQueryResultsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.GetTelemetryQueryResultsPublisher publisher = client.getTelemetryQueryResultsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.GetTelemetryQueryResultsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.GetTelemetryQueryResultsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 getTelemetryQueryResults(software.amazon.awssdk.services.cloudwatchomni.model.GetTelemetryQueryResultsRequest) operation.


      This is a convenience which creates an instance of the GetTelemetryQueryResultsRequest.Builder avoiding the need to create one manually via GetTelemetryQueryResultsRequest.builder()

      Parameters:
      getTelemetryQueryResultsRequest - A Consumer that will call methods on GetTelemetryQueryResultsRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getView

      default CompletableFuture<GetViewResponse> getView(GetViewRequest getViewRequest)

      Returns the definition and metadata of the specified view.

      Parameters:
      getViewRequest -
      Returns:
      A Java Future containing the result of the GetView 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getView

      Returns the definition and metadata of the specified view.


      This is a convenience which creates an instance of the GetViewRequest.Builder avoiding the need to create one manually via GetViewRequest.builder()

      Parameters:
      getViewRequest - A Consumer that will call methods on GetViewRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetView 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessGrants

      default CompletableFuture<ListAccessGrantsResponse> listAccessGrants(ListAccessGrantsRequest listAccessGrantsRequest)

      Returns AccessGrants, with optional filtering by domain, space, principal, or permission. A grant is returned only when it matches every filter supplied. With no filters, returns the grants for the current account and Region.

      Parameters:
      listAccessGrantsRequest -
      Returns:
      A Java Future containing the result of the ListAccessGrants 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessGrants

      default CompletableFuture<ListAccessGrantsResponse> listAccessGrants(Consumer<ListAccessGrantsRequest.Builder> listAccessGrantsRequest)

      Returns AccessGrants, with optional filtering by domain, space, principal, or permission. A grant is returned only when it matches every filter supplied. With no filters, returns the grants for the current account and Region.


      This is a convenience which creates an instance of the ListAccessGrantsRequest.Builder avoiding the need to create one manually via ListAccessGrantsRequest.builder()

      Parameters:
      listAccessGrantsRequest - A Consumer that will call methods on ListAccessGrantsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAccessGrants 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessGrantsPaginator

      default ListAccessGrantsPublisher listAccessGrantsPaginator(ListAccessGrantsRequest listAccessGrantsRequest)

      This is a variant of listAccessGrants(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessGrantsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAccessGrantsPublisher publisher = client.listAccessGrantsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAccessGrantsPublisher publisher = client.listAccessGrantsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListAccessGrantsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessGrantsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAccessGrants(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessGrantsRequest) operation.

      Parameters:
      listAccessGrantsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessGrantsPaginator

      default ListAccessGrantsPublisher listAccessGrantsPaginator(Consumer<ListAccessGrantsRequest.Builder> listAccessGrantsRequest)

      This is a variant of listAccessGrants(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessGrantsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAccessGrantsPublisher publisher = client.listAccessGrantsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAccessGrantsPublisher publisher = client.listAccessGrantsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListAccessGrantsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessGrantsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAccessGrants(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessGrantsRequest) operation.


      This is a convenience which creates an instance of the ListAccessGrantsRequest.Builder avoiding the need to create one manually via ListAccessGrantsRequest.builder()

      Parameters:
      listAccessGrantsRequest - A Consumer that will call methods on ListAccessGrantsRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessProfiles

      default CompletableFuture<ListAccessProfilesResponse> listAccessProfiles(ListAccessProfilesRequest listAccessProfilesRequest)

      Returns the access profiles in a space.

      Parameters:
      listAccessProfilesRequest -
      Returns:
      A Java Future containing the result of the ListAccessProfiles 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessProfiles

      default CompletableFuture<ListAccessProfilesResponse> listAccessProfiles(Consumer<ListAccessProfilesRequest.Builder> listAccessProfilesRequest)

      Returns the access profiles in a space.


      This is a convenience which creates an instance of the ListAccessProfilesRequest.Builder avoiding the need to create one manually via ListAccessProfilesRequest.builder()

      Parameters:
      listAccessProfilesRequest - A Consumer that will call methods on ListAccessProfilesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAccessProfiles 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessProfilesPaginator

      default ListAccessProfilesPublisher listAccessProfilesPaginator(ListAccessProfilesRequest listAccessProfilesRequest)

      This is a variant of listAccessProfiles(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessProfilesRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAccessProfilesPublisher publisher = client.listAccessProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAccessProfilesPublisher publisher = client.listAccessProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListAccessProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessProfilesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAccessProfiles(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessProfilesRequest) operation.

      Parameters:
      listAccessProfilesRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessProfilesPaginator

      default ListAccessProfilesPublisher listAccessProfilesPaginator(Consumer<ListAccessProfilesRequest.Builder> listAccessProfilesRequest)

      This is a variant of listAccessProfiles(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessProfilesRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAccessProfilesPublisher publisher = client.listAccessProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAccessProfilesPublisher publisher = client.listAccessProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListAccessProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessProfilesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAccessProfiles(software.amazon.awssdk.services.cloudwatchomni.model.ListAccessProfilesRequest) operation.


      This is a convenience which creates an instance of the ListAccessProfilesRequest.Builder avoiding the need to create one manually via ListAccessProfilesRequest.builder()

      Parameters:
      listAccessProfilesRequest - A Consumer that will call methods on ListAccessProfilesRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAlerts

      default CompletableFuture<ListAlertsResponse> listAlerts(ListAlertsRequest listAlertsRequest)

      Lists alerts within a space, optionally filtered by exact name(s), a single name prefix, or exact alertId(s), with pagination.

      Use GetAlert to retrieve a single alert's full detail.

      Parameters:
      listAlertsRequest -
      Returns:
      A Java Future containing the result of the ListAlerts 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAlerts

      default CompletableFuture<ListAlertsResponse> listAlerts(Consumer<ListAlertsRequest.Builder> listAlertsRequest)

      Lists alerts within a space, optionally filtered by exact name(s), a single name prefix, or exact alertId(s), with pagination.

      Use GetAlert to retrieve a single alert's full detail.


      This is a convenience which creates an instance of the ListAlertsRequest.Builder avoiding the need to create one manually via ListAlertsRequest.builder()

      Parameters:
      listAlertsRequest - A Consumer that will call methods on ListAlertsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAlerts 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAlertsPaginator

      default ListAlertsPublisher listAlertsPaginator(ListAlertsRequest listAlertsRequest)

      This is a variant of listAlerts(software.amazon.awssdk.services.cloudwatchomni.model.ListAlertsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAlertsPublisher publisher = client.listAlertsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAlertsPublisher publisher = client.listAlertsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListAlertsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListAlertsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAlerts(software.amazon.awssdk.services.cloudwatchomni.model.ListAlertsRequest) operation.

      Parameters:
      listAlertsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAlertsPaginator

      default ListAlertsPublisher listAlertsPaginator(Consumer<ListAlertsRequest.Builder> listAlertsRequest)

      This is a variant of listAlerts(software.amazon.awssdk.services.cloudwatchomni.model.ListAlertsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAlertsPublisher publisher = client.listAlertsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListAlertsPublisher publisher = client.listAlertsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListAlertsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListAlertsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAlerts(software.amazon.awssdk.services.cloudwatchomni.model.ListAlertsRequest) operation.


      This is a convenience which creates an instance of the ListAlertsRequest.Builder avoiding the need to create one manually via ListAlertsRequest.builder()

      Parameters:
      listAlertsRequest - A Consumer that will call methods on ListAlertsRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDomainAccessGrantsForOrganization

      default CompletableFuture<ListDomainAccessGrantsForOrganizationResponse> listDomainAccessGrantsForOrganization(ListDomainAccessGrantsForOrganizationRequest listDomainAccessGrantsForOrganizationRequest)

      Returns organization-level domain access grants, with optional filtering by domain, principal, or permission. A grant is returned only when it matches every filter supplied. With no filters, returns the grants for the caller's organization.

      Parameters:
      listDomainAccessGrantsForOrganizationRequest -
      Returns:
      A Java Future containing the result of the ListDomainAccessGrantsForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDomainAccessGrantsForOrganization

      default CompletableFuture<ListDomainAccessGrantsForOrganizationResponse> listDomainAccessGrantsForOrganization(Consumer<ListDomainAccessGrantsForOrganizationRequest.Builder> listDomainAccessGrantsForOrganizationRequest)

      Returns organization-level domain access grants, with optional filtering by domain, principal, or permission. A grant is returned only when it matches every filter supplied. With no filters, returns the grants for the caller's organization.


      This is a convenience which creates an instance of the ListDomainAccessGrantsForOrganizationRequest.Builder avoiding the need to create one manually via ListDomainAccessGrantsForOrganizationRequest.builder()

      Parameters:
      listDomainAccessGrantsForOrganizationRequest - A Consumer that will call methods on ListDomainAccessGrantsForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListDomainAccessGrantsForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDomainAccessGrantsForOrganizationPaginator

      default ListDomainAccessGrantsForOrganizationPublisher listDomainAccessGrantsForOrganizationPaginator(ListDomainAccessGrantsForOrganizationRequest listDomainAccessGrantsForOrganizationRequest)

      This is a variant of listDomainAccessGrantsForOrganization(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainAccessGrantsForOrganizationRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListDomainAccessGrantsForOrganizationPublisher publisher = client.listDomainAccessGrantsForOrganizationPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListDomainAccessGrantsForOrganizationPublisher publisher = client.listDomainAccessGrantsForOrganizationPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListDomainAccessGrantsForOrganizationResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainAccessGrantsForOrganizationResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDomainAccessGrantsForOrganization(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainAccessGrantsForOrganizationRequest) operation.

      Parameters:
      listDomainAccessGrantsForOrganizationRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDomainAccessGrantsForOrganizationPaginator

      default ListDomainAccessGrantsForOrganizationPublisher listDomainAccessGrantsForOrganizationPaginator(Consumer<ListDomainAccessGrantsForOrganizationRequest.Builder> listDomainAccessGrantsForOrganizationRequest)

      This is a variant of listDomainAccessGrantsForOrganization(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainAccessGrantsForOrganizationRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListDomainAccessGrantsForOrganizationPublisher publisher = client.listDomainAccessGrantsForOrganizationPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListDomainAccessGrantsForOrganizationPublisher publisher = client.listDomainAccessGrantsForOrganizationPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListDomainAccessGrantsForOrganizationResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainAccessGrantsForOrganizationResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDomainAccessGrantsForOrganization(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainAccessGrantsForOrganizationRequest) operation.


      This is a convenience which creates an instance of the ListDomainAccessGrantsForOrganizationRequest.Builder avoiding the need to create one manually via ListDomainAccessGrantsForOrganizationRequest.builder()

      Parameters:
      listDomainAccessGrantsForOrganizationRequest - A Consumer that will call methods on ListDomainAccessGrantsForOrganizationRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDomains

      default CompletableFuture<ListDomainsResponse> listDomains(ListDomainsRequest listDomainsRequest)

      Returns the caller's domains: the account-scoped domain and the organization-scoped domain, if either exists. At most two domains are returned.

      Parameters:
      listDomainsRequest -
      Returns:
      A Java Future containing the result of the ListDomains 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDomains

      default CompletableFuture<ListDomainsResponse> listDomains(Consumer<ListDomainsRequest.Builder> listDomainsRequest)

      Returns the caller's domains: the account-scoped domain and the organization-scoped domain, if either exists. At most two domains are returned.


      This is a convenience which creates an instance of the ListDomainsRequest.Builder avoiding the need to create one manually via ListDomainsRequest.builder()

      Parameters:
      listDomainsRequest - A Consumer that will call methods on ListDomainsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListDomains 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDomainsPaginator

      default ListDomainsPublisher listDomainsPaginator(ListDomainsRequest listDomainsRequest)

      This is a variant of listDomains(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListDomainsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDomains(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainsRequest) operation.

      Parameters:
      listDomainsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDomainsPaginator

      default ListDomainsPublisher listDomainsPaginator(Consumer<ListDomainsRequest.Builder> listDomainsRequest)

      This is a variant of listDomains(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListDomainsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDomains(software.amazon.awssdk.services.cloudwatchomni.model.ListDomainsRequest) operation.


      This is a convenience which creates an instance of the ListDomainsRequest.Builder avoiding the need to create one manually via ListDomainsRequest.builder()

      Parameters:
      listDomainsRequest - A Consumer that will call methods on ListDomainsRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrations

      default CompletableFuture<ListIntegrationsResponse> listIntegrations(ListIntegrationsRequest listIntegrationsRequest)

      Lists the integrations in the account, optionally filtered by type, status, or name. Results are paginated.

      Parameters:
      listIntegrationsRequest - The request for listing the integrations in an account.
      Returns:
      A Java Future containing the result of the ListIntegrations 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrations

      default CompletableFuture<ListIntegrationsResponse> listIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest)

      Lists the integrations in the account, optionally filtered by type, status, or name. Results are paginated.


      This is a convenience which creates an instance of the ListIntegrationsRequest.Builder avoiding the need to create one manually via ListIntegrationsRequest.builder()

      Parameters:
      listIntegrationsRequest - A Consumer that will call methods on ListIntegrationsRequest.Builder to create a request. The request for listing the integrations in an account.
      Returns:
      A Java Future containing the result of the ListIntegrations 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrationsPaginator

      default ListIntegrationsPublisher listIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest)

      This is a variant of listIntegrations(software.amazon.awssdk.services.cloudwatchomni.model.ListIntegrationsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListIntegrationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListIntegrationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listIntegrations(software.amazon.awssdk.services.cloudwatchomni.model.ListIntegrationsRequest) operation.

      Parameters:
      listIntegrationsRequest - The request for listing the integrations in an account.
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrationsPaginator

      default ListIntegrationsPublisher listIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest)

      This is a variant of listIntegrations(software.amazon.awssdk.services.cloudwatchomni.model.ListIntegrationsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListIntegrationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListIntegrationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listIntegrations(software.amazon.awssdk.services.cloudwatchomni.model.ListIntegrationsRequest) operation.


      This is a convenience which creates an instance of the ListIntegrationsRequest.Builder avoiding the need to create one manually via ListIntegrationsRequest.builder()

      Parameters:
      listIntegrationsRequest - A Consumer that will call methods on ListIntegrationsRequest.Builder to create a request. The request for listing the integrations in an account.
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOmniDashboards

      default CompletableFuture<ListOmniDashboardsResponse> listOmniDashboards(ListOmniDashboardsRequest listOmniDashboardsRequest)

      Returns the dashboards in a space, optionally filtered by name prefix.

      Parameters:
      listOmniDashboardsRequest -
      Returns:
      A Java Future containing the result of the ListOmniDashboards 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOmniDashboards

      default CompletableFuture<ListOmniDashboardsResponse> listOmniDashboards(Consumer<ListOmniDashboardsRequest.Builder> listOmniDashboardsRequest)

      Returns the dashboards in a space, optionally filtered by name prefix.


      This is a convenience which creates an instance of the ListOmniDashboardsRequest.Builder avoiding the need to create one manually via ListOmniDashboardsRequest.builder()

      Parameters:
      listOmniDashboardsRequest - A Consumer that will call methods on ListOmniDashboardsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListOmniDashboards 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOmniDashboardsPaginator

      default ListOmniDashboardsPublisher listOmniDashboardsPaginator(ListOmniDashboardsRequest listOmniDashboardsRequest)

      This is a variant of listOmniDashboards(software.amazon.awssdk.services.cloudwatchomni.model.ListOmniDashboardsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListOmniDashboardsPublisher publisher = client.listOmniDashboardsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListOmniDashboardsPublisher publisher = client.listOmniDashboardsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListOmniDashboardsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListOmniDashboardsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOmniDashboards(software.amazon.awssdk.services.cloudwatchomni.model.ListOmniDashboardsRequest) operation.

      Parameters:
      listOmniDashboardsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOmniDashboardsPaginator

      default ListOmniDashboardsPublisher listOmniDashboardsPaginator(Consumer<ListOmniDashboardsRequest.Builder> listOmniDashboardsRequest)

      This is a variant of listOmniDashboards(software.amazon.awssdk.services.cloudwatchomni.model.ListOmniDashboardsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListOmniDashboardsPublisher publisher = client.listOmniDashboardsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListOmniDashboardsPublisher publisher = client.listOmniDashboardsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListOmniDashboardsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListOmniDashboardsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOmniDashboards(software.amazon.awssdk.services.cloudwatchomni.model.ListOmniDashboardsRequest) operation.


      This is a convenience which creates an instance of the ListOmniDashboardsRequest.Builder avoiding the need to create one manually via ListOmniDashboardsRequest.builder()

      Parameters:
      listOmniDashboardsRequest - A Consumer that will call methods on ListOmniDashboardsRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSpaces

      default CompletableFuture<ListSpacesResponse> listSpaces(ListSpacesRequest listSpacesRequest)

      Returns the spaces in the account, optionally filtered by domain.

      Parameters:
      listSpacesRequest -
      Returns:
      A Java Future containing the result of the ListSpaces 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSpaces

      default CompletableFuture<ListSpacesResponse> listSpaces(Consumer<ListSpacesRequest.Builder> listSpacesRequest)

      Returns the spaces in the account, optionally filtered by domain.


      This is a convenience which creates an instance of the ListSpacesRequest.Builder avoiding the need to create one manually via ListSpacesRequest.builder()

      Parameters:
      listSpacesRequest - A Consumer that will call methods on ListSpacesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSpaces 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSpacesForOrganization

      default CompletableFuture<ListSpacesForOrganizationResponse> listSpacesForOrganization(ListSpacesForOrganizationRequest listSpacesForOrganizationRequest)

      Returns the spaces across all member accounts in the organization.

      Parameters:
      listSpacesForOrganizationRequest -
      Returns:
      A Java Future containing the result of the ListSpacesForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSpacesForOrganization

      default CompletableFuture<ListSpacesForOrganizationResponse> listSpacesForOrganization(Consumer<ListSpacesForOrganizationRequest.Builder> listSpacesForOrganizationRequest)

      Returns the spaces across all member accounts in the organization.


      This is a convenience which creates an instance of the ListSpacesForOrganizationRequest.Builder avoiding the need to create one manually via ListSpacesForOrganizationRequest.builder()

      Parameters:
      listSpacesForOrganizationRequest - A Consumer that will call methods on ListSpacesForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSpacesForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSpacesForOrganizationPaginator

      default ListSpacesForOrganizationPublisher listSpacesForOrganizationPaginator(ListSpacesForOrganizationRequest listSpacesForOrganizationRequest)

      This is a variant of listSpacesForOrganization(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesForOrganizationRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListSpacesForOrganizationPublisher publisher = client.listSpacesForOrganizationPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListSpacesForOrganizationPublisher publisher = client.listSpacesForOrganizationPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesForOrganizationResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesForOrganizationResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSpacesForOrganization(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesForOrganizationRequest) operation.

      Parameters:
      listSpacesForOrganizationRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSpacesForOrganizationPaginator

      default ListSpacesForOrganizationPublisher listSpacesForOrganizationPaginator(Consumer<ListSpacesForOrganizationRequest.Builder> listSpacesForOrganizationRequest)

      This is a variant of listSpacesForOrganization(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesForOrganizationRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListSpacesForOrganizationPublisher publisher = client.listSpacesForOrganizationPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListSpacesForOrganizationPublisher publisher = client.listSpacesForOrganizationPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesForOrganizationResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesForOrganizationResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSpacesForOrganization(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesForOrganizationRequest) operation.


      This is a convenience which creates an instance of the ListSpacesForOrganizationRequest.Builder avoiding the need to create one manually via ListSpacesForOrganizationRequest.builder()

      Parameters:
      listSpacesForOrganizationRequest - A Consumer that will call methods on ListSpacesForOrganizationRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSpacesPaginator

      default ListSpacesPublisher listSpacesPaginator(ListSpacesRequest listSpacesRequest)

      This is a variant of listSpaces(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListSpacesPublisher publisher = client.listSpacesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListSpacesPublisher publisher = client.listSpacesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSpaces(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesRequest) operation.

      Parameters:
      listSpacesRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSpacesPaginator

      default ListSpacesPublisher listSpacesPaginator(Consumer<ListSpacesRequest.Builder> listSpacesRequest)

      This is a variant of listSpaces(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListSpacesPublisher publisher = client.listSpacesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListSpacesPublisher publisher = client.listSpacesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSpaces(software.amazon.awssdk.services.cloudwatchomni.model.ListSpacesRequest) operation.


      This is a convenience which creates an instance of the ListSpacesRequest.Builder avoiding the need to create one manually via ListSpacesRequest.builder()

      Parameters:
      listSpacesRequest - A Consumer that will call methods on ListSpacesRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTelemetryFields

      default CompletableFuture<ListTelemetryFieldsResponse> listTelemetryFields(ListTelemetryFieldsRequest listTelemetryFieldsRequest)

      Lists fields available for telemetry queries.

      Returns a list of fields included in the specified dataset, granular to telemetry type. Returned field names reflect the exact stored casing and are case-sensitive when referenced in query expressions; the query engine does not normalize identifier case.

      Parameters:
      listTelemetryFieldsRequest -
      Returns:
      A Java Future containing the result of the ListTelemetryFields 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTelemetryFields

      default CompletableFuture<ListTelemetryFieldsResponse> listTelemetryFields(Consumer<ListTelemetryFieldsRequest.Builder> listTelemetryFieldsRequest)

      Lists fields available for telemetry queries.

      Returns a list of fields included in the specified dataset, granular to telemetry type. Returned field names reflect the exact stored casing and are case-sensitive when referenced in query expressions; the query engine does not normalize identifier case.


      This is a convenience which creates an instance of the ListTelemetryFieldsRequest.Builder avoiding the need to create one manually via ListTelemetryFieldsRequest.builder()

      Parameters:
      listTelemetryFieldsRequest - A Consumer that will call methods on ListTelemetryFieldsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTelemetryFields 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTelemetryFieldsPaginator

      default ListTelemetryFieldsPublisher listTelemetryFieldsPaginator(ListTelemetryFieldsRequest listTelemetryFieldsRequest)

      This is a variant of listTelemetryFields(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryFieldsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListTelemetryFieldsPublisher publisher = client.listTelemetryFieldsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListTelemetryFieldsPublisher publisher = client.listTelemetryFieldsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryFieldsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryFieldsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null 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 listTelemetryFields(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryFieldsRequest) operation.

      Parameters:
      listTelemetryFieldsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTelemetryFieldsPaginator

      default ListTelemetryFieldsPublisher listTelemetryFieldsPaginator(Consumer<ListTelemetryFieldsRequest.Builder> listTelemetryFieldsRequest)

      This is a variant of listTelemetryFields(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryFieldsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListTelemetryFieldsPublisher publisher = client.listTelemetryFieldsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListTelemetryFieldsPublisher publisher = client.listTelemetryFieldsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryFieldsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryFieldsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null 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 listTelemetryFields(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryFieldsRequest) operation.


      This is a convenience which creates an instance of the ListTelemetryFieldsRequest.Builder avoiding the need to create one manually via ListTelemetryFieldsRequest.builder()

      Parameters:
      listTelemetryFieldsRequest - A Consumer that will call methods on ListTelemetryFieldsRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTelemetryQuerySessions

      default CompletableFuture<ListTelemetryQuerySessionsResponse> listTelemetryQuerySessions(ListTelemetryQuerySessionsRequest listTelemetryQuerySessionsRequest)

      Lists telemetry query sessions.

      Returns a list of telemetry query sessions owned by the caller.

      Parameters:
      listTelemetryQuerySessionsRequest -
      Returns:
      A Java Future containing the result of the ListTelemetryQuerySessions 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTelemetryQuerySessions

      default CompletableFuture<ListTelemetryQuerySessionsResponse> listTelemetryQuerySessions(Consumer<ListTelemetryQuerySessionsRequest.Builder> listTelemetryQuerySessionsRequest)

      Lists telemetry query sessions.

      Returns a list of telemetry query sessions owned by the caller.


      This is a convenience which creates an instance of the ListTelemetryQuerySessionsRequest.Builder avoiding the need to create one manually via ListTelemetryQuerySessionsRequest.builder()

      Parameters:
      listTelemetryQuerySessionsRequest - A Consumer that will call methods on ListTelemetryQuerySessionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTelemetryQuerySessions 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTelemetryQuerySessionsPaginator

      default ListTelemetryQuerySessionsPublisher listTelemetryQuerySessionsPaginator(ListTelemetryQuerySessionsRequest listTelemetryQuerySessionsRequest)

      This is a variant of listTelemetryQuerySessions(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryQuerySessionsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListTelemetryQuerySessionsPublisher publisher = client.listTelemetryQuerySessionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListTelemetryQuerySessionsPublisher publisher = client.listTelemetryQuerySessionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryQuerySessionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryQuerySessionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listTelemetryQuerySessions(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryQuerySessionsRequest) operation.

      Parameters:
      listTelemetryQuerySessionsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTelemetryQuerySessionsPaginator

      default ListTelemetryQuerySessionsPublisher listTelemetryQuerySessionsPaginator(Consumer<ListTelemetryQuerySessionsRequest.Builder> listTelemetryQuerySessionsRequest)

      This is a variant of listTelemetryQuerySessions(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryQuerySessionsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListTelemetryQuerySessionsPublisher publisher = client.listTelemetryQuerySessionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListTelemetryQuerySessionsPublisher publisher = client.listTelemetryQuerySessionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryQuerySessionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryQuerySessionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listTelemetryQuerySessions(software.amazon.awssdk.services.cloudwatchomni.model.ListTelemetryQuerySessionsRequest) operation.


      This is a convenience which creates an instance of the ListTelemetryQuerySessionsRequest.Builder avoiding the need to create one manually via ListTelemetryQuerySessionsRequest.builder()

      Parameters:
      listTelemetryQuerySessionsRequest - A Consumer that will call methods on ListTelemetryQuerySessionsRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listViews

      default CompletableFuture<ListViewsResponse> listViews(ListViewsRequest listViewsRequest)

      Lists the views in the caller's account and region.

      Returns a summary for each view, optionally filtered by view type. View definitions are not included — use GetView to retrieve them.

      Parameters:
      listViewsRequest -
      Returns:
      A Java Future containing the result of the ListViews 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listViews

      default CompletableFuture<ListViewsResponse> listViews(Consumer<ListViewsRequest.Builder> listViewsRequest)

      Lists the views in the caller's account and region.

      Returns a summary for each view, optionally filtered by view type. View definitions are not included — use GetView to retrieve them.


      This is a convenience which creates an instance of the ListViewsRequest.Builder avoiding the need to create one manually via ListViewsRequest.builder()

      Parameters:
      listViewsRequest - A Consumer that will call methods on ListViewsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListViews 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listViewsPaginator

      default ListViewsPublisher listViewsPaginator(ListViewsRequest listViewsRequest)

      This is a variant of listViews(software.amazon.awssdk.services.cloudwatchomni.model.ListViewsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListViewsPublisher publisher = client.listViewsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListViewsPublisher publisher = client.listViewsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListViewsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListViewsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listViews(software.amazon.awssdk.services.cloudwatchomni.model.ListViewsRequest) operation.

      Parameters:
      listViewsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listViewsPaginator

      default ListViewsPublisher listViewsPaginator(Consumer<ListViewsRequest.Builder> listViewsRequest)

      This is a variant of listViews(software.amazon.awssdk.services.cloudwatchomni.model.ListViewsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListViewsPublisher publisher = client.listViewsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.ListViewsPublisher publisher = client.listViewsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.ListViewsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.ListViewsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listViews(software.amazon.awssdk.services.cloudwatchomni.model.ListViewsRequest) operation.


      This is a convenience which creates an instance of the ListViewsRequest.Builder avoiding the need to create one manually via ListViewsRequest.builder()

      Parameters:
      listViewsRequest - A Consumer that will call methods on ListViewsRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putIntelligenceConfiguration

      default CompletableFuture<PutIntelligenceConfigurationResponse> putIntelligenceConfiguration(PutIntelligenceConfigurationRequest putIntelligenceConfigurationRequest)

      Creates or updates the intelligence configuration for the calling account. Account is identified via FAS (caller identity).

      Parameters:
      putIntelligenceConfigurationRequest - The request for updating the intelligence configuration of the calling account.
      Returns:
      A Java Future containing the result of the PutIntelligenceConfiguration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putIntelligenceConfiguration

      default CompletableFuture<PutIntelligenceConfigurationResponse> putIntelligenceConfiguration(Consumer<PutIntelligenceConfigurationRequest.Builder> putIntelligenceConfigurationRequest)

      Creates or updates the intelligence configuration for the calling account. Account is identified via FAS (caller identity).


      This is a convenience which creates an instance of the PutIntelligenceConfigurationRequest.Builder avoiding the need to create one manually via PutIntelligenceConfigurationRequest.builder()

      Parameters:
      putIntelligenceConfigurationRequest - A Consumer that will call methods on PutIntelligenceConfigurationRequest.Builder to create a request. The request for updating the intelligence configuration of the calling account.
      Returns:
      A Java Future containing the result of the PutIntelligenceConfiguration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchPrincipals

      default CompletableFuture<SearchPrincipalsResponse> searchPrincipals(SearchPrincipalsRequest searchPrincipalsRequest)

      Searches Identity Center for users and groups in a domain. The domain must be configured with Identity Center.

      To grant access to a result, pass its principalId to CreateAccessGrant with a principalType of IDC_USER for a user or IDC_GROUP for a group.

      Parameters:
      searchPrincipalsRequest -
      Returns:
      A Java Future containing the result of the SearchPrincipals 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchPrincipals

      default CompletableFuture<SearchPrincipalsResponse> searchPrincipals(Consumer<SearchPrincipalsRequest.Builder> searchPrincipalsRequest)

      Searches Identity Center for users and groups in a domain. The domain must be configured with Identity Center.

      To grant access to a result, pass its principalId to CreateAccessGrant with a principalType of IDC_USER for a user or IDC_GROUP for a group.


      This is a convenience which creates an instance of the SearchPrincipalsRequest.Builder avoiding the need to create one manually via SearchPrincipalsRequest.builder()

      Parameters:
      searchPrincipalsRequest - A Consumer that will call methods on SearchPrincipalsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SearchPrincipals 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchPrincipalsPaginator

      default SearchPrincipalsPublisher searchPrincipalsPaginator(SearchPrincipalsRequest searchPrincipalsRequest)

      This is a variant of searchPrincipals(software.amazon.awssdk.services.cloudwatchomni.model.SearchPrincipalsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.SearchPrincipalsPublisher publisher = client.searchPrincipalsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.SearchPrincipalsPublisher publisher = client.searchPrincipalsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.SearchPrincipalsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.SearchPrincipalsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 searchPrincipals(software.amazon.awssdk.services.cloudwatchomni.model.SearchPrincipalsRequest) operation.

      Parameters:
      searchPrincipalsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchPrincipalsPaginator

      default SearchPrincipalsPublisher searchPrincipalsPaginator(Consumer<SearchPrincipalsRequest.Builder> searchPrincipalsRequest)

      This is a variant of searchPrincipals(software.amazon.awssdk.services.cloudwatchomni.model.SearchPrincipalsRequest) 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 new Subscription i.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
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.SearchPrincipalsPublisher publisher = client.searchPrincipalsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudwatchomni.paginators.SearchPrincipalsPublisher publisher = client.searchPrincipalsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudwatchomni.model.SearchPrincipalsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudwatchomni.model.SearchPrincipalsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 searchPrincipals(software.amazon.awssdk.services.cloudwatchomni.model.SearchPrincipalsRequest) operation.


      This is a convenience which creates an instance of the SearchPrincipalsRequest.Builder avoiding the need to create one manually via SearchPrincipalsRequest.builder()

      Parameters:
      searchPrincipalsRequest - A Consumer that will call methods on SearchPrincipalsRequest.Builder to 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTelemetryQuery

      default CompletableFuture<StartTelemetryQueryResponse> startTelemetryQuery(StartTelemetryQueryRequest startTelemetryQueryRequest)

      Starts a telemetry query within a session.

      Submits the provided query string for execution in the specified session. Use GetTelemetryQueryResults to poll for results and check query status.

      Parameters:
      startTelemetryQueryRequest -
      Returns:
      A Java Future containing the result of the StartTelemetryQuery 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTelemetryQuery

      default CompletableFuture<StartTelemetryQueryResponse> startTelemetryQuery(Consumer<StartTelemetryQueryRequest.Builder> startTelemetryQueryRequest)

      Starts a telemetry query within a session.

      Submits the provided query string for execution in the specified session. Use GetTelemetryQueryResults to poll for results and check query status.


      This is a convenience which creates an instance of the StartTelemetryQueryRequest.Builder avoiding the need to create one manually via StartTelemetryQueryRequest.builder()

      Parameters:
      startTelemetryQueryRequest - A Consumer that will call methods on StartTelemetryQueryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartTelemetryQuery 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTelemetryQuerySession

      default CompletableFuture<StartTelemetryQuerySessionResponse> startTelemetryQuerySession(StartTelemetryQuerySessionRequest startTelemetryQuerySessionRequest)

      Starts a new telemetry query session.

      A session provides a logical grouping for one or more telemetry queries. The returned session ID is required when starting queries via StartTelemetryQuery.

      Parameters:
      startTelemetryQuerySessionRequest -
      Returns:
      A Java Future containing the result of the StartTelemetryQuerySession 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTelemetryQuerySession

      default CompletableFuture<StartTelemetryQuerySessionResponse> startTelemetryQuerySession(Consumer<StartTelemetryQuerySessionRequest.Builder> startTelemetryQuerySessionRequest)

      Starts a new telemetry query session.

      A session provides a logical grouping for one or more telemetry queries. The returned session ID is required when starting queries via StartTelemetryQuery.


      This is a convenience which creates an instance of the StartTelemetryQuerySessionRequest.Builder avoiding the need to create one manually via StartTelemetryQuerySessionRequest.builder()

      Parameters:
      startTelemetryQuerySessionRequest - A Consumer that will call methods on StartTelemetryQuerySessionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartTelemetryQuerySession 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopTelemetryQuery

      default CompletableFuture<StopTelemetryQueryResponse> stopTelemetryQuery(StopTelemetryQueryRequest stopTelemetryQueryRequest)

      Stops a running telemetry query.

      Parameters:
      stopTelemetryQueryRequest -
      Returns:
      A Java Future containing the result of the StopTelemetryQuery 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopTelemetryQuery

      default CompletableFuture<StopTelemetryQueryResponse> stopTelemetryQuery(Consumer<StopTelemetryQueryRequest.Builder> stopTelemetryQueryRequest)

      Stops a running telemetry query.


      This is a convenience which creates an instance of the StopTelemetryQueryRequest.Builder avoiding the need to create one manually via StopTelemetryQueryRequest.builder()

      Parameters:
      stopTelemetryQueryRequest - A Consumer that will call methods on StopTelemetryQueryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopTelemetryQuery 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopTelemetryQuerySession

      default CompletableFuture<StopTelemetryQuerySessionResponse> stopTelemetryQuerySession(StopTelemetryQuerySessionRequest stopTelemetryQuerySessionRequest)

      Stops a telemetry query session.

      Terminates the specified session. After a session is stopped it cannot be reused.

      Parameters:
      stopTelemetryQuerySessionRequest -
      Returns:
      A Java Future containing the result of the StopTelemetryQuerySession 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopTelemetryQuerySession

      default CompletableFuture<StopTelemetryQuerySessionResponse> stopTelemetryQuerySession(Consumer<StopTelemetryQuerySessionRequest.Builder> stopTelemetryQuerySessionRequest)

      Stops a telemetry query session.

      Terminates the specified session. After a session is stopped it cannot be reused.


      This is a convenience which creates an instance of the StopTelemetryQuerySessionRequest.Builder avoiding the need to create one manually via StopTelemetryQuerySessionRequest.builder()

      Parameters:
      stopTelemetryQuerySessionRequest - A Consumer that will call methods on StopTelemetryQuerySessionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopTelemetryQuerySession 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAccessProfile

      default CompletableFuture<UpdateAccessProfileResponse> updateAccessProfile(UpdateAccessProfileRequest updateAccessProfileRequest)

      Updates the name or description of an access profile.

      Only the provided fields are changed; omitted fields are left unchanged.

      Parameters:
      updateAccessProfileRequest -
      Returns:
      A Java Future containing the result of the UpdateAccessProfile 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAccessProfile

      default CompletableFuture<UpdateAccessProfileResponse> updateAccessProfile(Consumer<UpdateAccessProfileRequest.Builder> updateAccessProfileRequest)

      Updates the name or description of an access profile.

      Only the provided fields are changed; omitted fields are left unchanged.


      This is a convenience which creates an instance of the UpdateAccessProfileRequest.Builder avoiding the need to create one manually via UpdateAccessProfileRequest.builder()

      Parameters:
      updateAccessProfileRequest - A Consumer that will call methods on UpdateAccessProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAccessProfile 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAlert

      default CompletableFuture<UpdateAlertResponse> updateAlert(UpdateAlertRequest updateAlertRequest)

      Updates an existing alert.

      Only non-null fields overwrite existing values.

      Parameters:
      updateAlertRequest -
      Returns:
      A Java Future containing the result of the UpdateAlert 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAlert

      default CompletableFuture<UpdateAlertResponse> updateAlert(Consumer<UpdateAlertRequest.Builder> updateAlertRequest)

      Updates an existing alert.

      Only non-null fields overwrite existing values.


      This is a convenience which creates an instance of the UpdateAlertRequest.Builder avoiding the need to create one manually via UpdateAlertRequest.builder()

      Parameters:
      updateAlertRequest - A Consumer that will call methods on UpdateAlertRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAlert 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateDomain

      default CompletableFuture<UpdateDomainResponse> updateDomain(UpdateDomainRequest updateDomainRequest)

      Updates a domain's name or identity provider configuration.

      Only the provided fields are changed; omitted fields are left unchanged. Renaming a domain also changes the endpoint URLs derived from its name.

      Parameters:
      updateDomainRequest -
      Returns:
      A Java Future containing the result of the UpdateDomain 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateDomain

      default CompletableFuture<UpdateDomainResponse> updateDomain(Consumer<UpdateDomainRequest.Builder> updateDomainRequest)

      Updates a domain's name or identity provider configuration.

      Only the provided fields are changed; omitted fields are left unchanged. Renaming a domain also changes the endpoint URLs derived from its name.


      This is a convenience which creates an instance of the UpdateDomainRequest.Builder avoiding the need to create one manually via UpdateDomainRequest.builder()

      Parameters:
      updateDomainRequest - A Consumer that will call methods on UpdateDomainRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateDomain 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateDomainForOrganization

      default CompletableFuture<UpdateDomainForOrganizationResponse> updateDomainForOrganization(UpdateDomainForOrganizationRequest updateDomainForOrganizationRequest)

      Updates an organization domain's name or identity provider configuration. Call this operation in the Region where the domain was created.

      Only the provided fields are changed; omitted fields are left unchanged. Renaming a domain also changes the endpoint URLs derived from its name.

      Parameters:
      updateDomainForOrganizationRequest -
      Returns:
      A Java Future containing the result of the UpdateDomainForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateDomainForOrganization

      default CompletableFuture<UpdateDomainForOrganizationResponse> updateDomainForOrganization(Consumer<UpdateDomainForOrganizationRequest.Builder> updateDomainForOrganizationRequest)

      Updates an organization domain's name or identity provider configuration. Call this operation in the Region where the domain was created.

      Only the provided fields are changed; omitted fields are left unchanged. Renaming a domain also changes the endpoint URLs derived from its name.


      This is a convenience which creates an instance of the UpdateDomainForOrganizationRequest.Builder avoiding the need to create one manually via UpdateDomainForOrganizationRequest.builder()

      Parameters:
      updateDomainForOrganizationRequest - A Consumer that will call methods on UpdateDomainForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateDomainForOrganization 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntegration

      default CompletableFuture<UpdateIntegrationResponse> updateIntegration(UpdateIntegrationRequest updateIntegrationRequest)

      Updates an existing integration, identified by its id, ARN, or name. Only the fields you provide are changed.

      Parameters:
      updateIntegrationRequest - The request for updating an existing integration.
      Returns:
      A Java Future containing the result of the UpdateIntegration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntegration

      default CompletableFuture<UpdateIntegrationResponse> updateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest)

      Updates an existing integration, identified by its id, ARN, or name. Only the fields you provide are changed.


      This is a convenience which creates an instance of the UpdateIntegrationRequest.Builder avoiding the need to create one manually via UpdateIntegrationRequest.builder()

      Parameters:
      updateIntegrationRequest - A Consumer that will call methods on UpdateIntegrationRequest.Builder to create a request. The request for updating an existing integration.
      Returns:
      A Java Future containing the result of the UpdateIntegration 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateOmniDashboard

      default CompletableFuture<UpdateOmniDashboardResponse> updateOmniDashboard(UpdateOmniDashboardRequest updateOmniDashboardRequest)

      Updates an existing dashboard within a space.

      Only the provided fields are changed; omitted fields are left unchanged.

      Parameters:
      updateOmniDashboardRequest -
      Returns:
      A Java Future containing the result of the UpdateOmniDashboard 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateOmniDashboard

      default CompletableFuture<UpdateOmniDashboardResponse> updateOmniDashboard(Consumer<UpdateOmniDashboardRequest.Builder> updateOmniDashboardRequest)

      Updates an existing dashboard within a space.

      Only the provided fields are changed; omitted fields are left unchanged.


      This is a convenience which creates an instance of the UpdateOmniDashboardRequest.Builder avoiding the need to create one manually via UpdateOmniDashboardRequest.builder()

      Parameters:
      updateOmniDashboardRequest - A Consumer that will call methods on UpdateOmniDashboardRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateOmniDashboard 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSpace

      default CompletableFuture<UpdateSpaceResponse> updateSpace(UpdateSpaceRequest updateSpaceRequest)

      Updates a space.

      Only the provided fields are changed; omitted fields are left unchanged.

      Parameters:
      updateSpaceRequest -
      Returns:
      A Java Future containing the result of the UpdateSpace 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSpace

      default CompletableFuture<UpdateSpaceResponse> updateSpace(Consumer<UpdateSpaceRequest.Builder> updateSpaceRequest)

      Updates a space.

      Only the provided fields are changed; omitted fields are left unchanged.


      This is a convenience which creates an instance of the UpdateSpaceRequest.Builder avoiding the need to create one manually via UpdateSpaceRequest.builder()

      Parameters:
      updateSpaceRequest - A Consumer that will call methods on UpdateSpaceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateSpace 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • ServiceQuotaExceededException A service quota 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateView

      default CompletableFuture<UpdateViewResponse> updateView(UpdateViewRequest updateViewRequest)

      Updates an existing view's definition and/or description.

      Only the fields you provide are changed. Managed views cannot be updated.

      Parameters:
      updateViewRequest -
      Returns:
      A Java Future containing the result of the UpdateView 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateView

      default CompletableFuture<UpdateViewResponse> updateView(Consumer<UpdateViewRequest.Builder> updateViewRequest)

      Updates an existing view's definition and/or description.

      Only the fields you provide are changed. Managed views cannot be updated.


      This is a convenience which creates an instance of the UpdateViewRequest.Builder avoiding the need to create one manually via UpdateViewRequest.builder()

      Parameters:
      updateViewRequest - A Consumer that will call methods on UpdateViewRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateView 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException The request was throttled due to exceeding the allowed request rate.
      • ValidationException A parameter is specified incorrectly.
      • ResourceNotFoundException The specified resource does not exist.
      • AccessDeniedException The caller is not authorized to perform this action.
      • InternalServerException An unexpected error occurred while processing the request.
      • ConflictException The operation could not be completed because of a conflict with the current state of the resource.
      • 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.
      • CloudWatchOmniException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default CloudWatchOmniServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static CloudWatchOmniAsyncClient create()
      Create a CloudWatchOmniAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a CloudWatchOmniAsyncClient.