JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.qldb

Interface AmazonQLDB

    • Method Detail

      • cancelJournalKinesisStream

        CancelJournalKinesisStreamResult cancelJournalKinesisStream(CancelJournalKinesisStreamRequest cancelJournalKinesisStreamRequest)

        Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its current status must be ACTIVE.

        You can't restart a stream after you cancel it. Canceled QLDB stream resources are subject to a 7-day retention period, so they are automatically deleted after this limit expires.

        Parameters:
        cancelJournalKinesisStreamRequest -
        Returns:
        Result of the CancelJournalKinesisStream operation returned by the service.
        Throws:
        InvalidParameterException - One or more parameters in the request aren't valid.
        ResourceNotFoundException - The specified resource doesn't exist.
        ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.
        See Also:
        AWS API Documentation
      • describeJournalS3Export

        DescribeJournalS3ExportResult describeJournalS3Export(DescribeJournalS3ExportRequest describeJournalS3ExportRequest)

        Returns information about a journal export job, including the ledger name, export ID, creation time, current status, and the parameters of the original export creation request.

        This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide.

        If the export job with the given ExportId doesn't exist, then throws ResourceNotFoundException.

        If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.

        Parameters:
        describeJournalS3ExportRequest -
        Returns:
        Result of the DescribeJournalS3Export operation returned by the service.
        Throws:
        ResourceNotFoundException - The specified resource doesn't exist.
        See Also:
        AWS API Documentation
      • exportJournalToS3

        ExportJournalToS3Result exportJournalToS3(ExportJournalToS3Request exportJournalToS3Request)

        Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage Service (Amazon S3) bucket. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.

        If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.

        If the ledger with the given Name is in CREATING status, then throws ResourcePreconditionNotMetException.

        You can initiate up to two concurrent journal export requests for each ledger. Beyond this limit, journal export requests throw LimitExceededException.

        Parameters:
        exportJournalToS3Request -
        Returns:
        Result of the ExportJournalToS3 operation returned by the service.
        Throws:
        ResourceNotFoundException - The specified resource doesn't exist.
        ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.
        See Also:
        AWS API Documentation
      • getBlock

        GetBlockResult getBlock(GetBlockRequest getBlockRequest)

        Returns a block object at a specified address in a journal. Also returns a proof of the specified block for verification if DigestTipAddress is provided.

        For information about the data contents in a block, see Journal contents in the Amazon QLDB Developer Guide.

        If the specified ledger doesn't exist or is in DELETING status, then throws ResourceNotFoundException.

        If the specified ledger is in CREATING status, then throws ResourcePreconditionNotMetException.

        If no block exists with the specified address, then throws InvalidParameterException.

        Parameters:
        getBlockRequest -
        Returns:
        Result of the GetBlock operation returned by the service.
        Throws:
        InvalidParameterException - One or more parameters in the request aren't valid.
        ResourceNotFoundException - The specified resource doesn't exist.
        ResourcePreconditionNotMetException - The operation failed because a condition wasn't satisfied in advance.
        See Also:
        AWS API Documentation
      • listJournalS3Exports

        ListJournalS3ExportsResult listJournalS3Exports(ListJournalS3ExportsRequest listJournalS3ExportsRequest)

        Returns all journal export jobs for all ledgers that are associated with the current Amazon Web Services account and Region.

        This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3Exports multiple times.

        This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide.

        Parameters:
        listJournalS3ExportsRequest -
        Returns:
        Result of the ListJournalS3Exports operation returned by the service.
        See Also:
        AWS API Documentation
      • listJournalS3ExportsForLedger

        ListJournalS3ExportsForLedgerResult listJournalS3ExportsForLedger(ListJournalS3ExportsForLedgerRequest listJournalS3ExportsForLedgerRequest)

        Returns all journal export jobs for a specified ledger.

        This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3ExportsForLedger multiple times.

        This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide.

        Parameters:
        listJournalS3ExportsForLedgerRequest -
        Returns:
        Result of the ListJournalS3ExportsForLedger operation returned by the service.
        See Also:
        AWS API Documentation
      • listLedgers

        ListLedgersResult listLedgers(ListLedgersRequest listLedgersRequest)

        Returns all ledgers that are associated with the current Amazon Web Services account and Region.

        This action returns a maximum of MaxResults items and is paginated so that you can retrieve all the items by calling ListLedgers multiple times.

        Parameters:
        listLedgersRequest -
        Returns:
        Result of the ListLedgers operation returned by the service.
        See Also:
        AWS API Documentation
      • tagResource

        TagResourceResult tagResource(TagResourceRequest tagResourceRequest)

        Adds one or more tags to a specified Amazon QLDB resource.

        A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.

        Parameters:
        tagResourceRequest -
        Returns:
        Result of the TagResource operation returned by the service.
        Throws:
        InvalidParameterException - One or more parameters in the request aren't valid.
        ResourceNotFoundException - The specified resource doesn't exist.
        See Also:
        AWS API Documentation
      • shutdown

        void shutdown()
        Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.
      • getCachedResponseMetadata

        ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
        Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

        Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.

        Parameters:
        request - The originally executed request.
        Returns:
        The response metadata for the specified request, or null if none is available.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /