Interface AmazonCloudFrontAsync

  • All Superinterfaces:
    AmazonCloudFront
    All Known Implementing Classes:
    AbstractAmazonCloudFrontAsync, AmazonCloudFrontAsyncClient

    public interface AmazonCloudFrontAsync
    extends AmazonCloudFront
    Interface for accessing CloudFront asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept an AsyncHandler can be used to receive notification when an asynchronous operation completes.
    • Method Detail

      • createCloudFrontOriginAccessIdentityAsync

        Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync​(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
        Create a new origin access identity.
        Parameters:
        createCloudFrontOriginAccessIdentityRequest - The request to create a new origin access identity.
        Returns:
        A Java Future containing the result of the CreateCloudFrontOriginAccessIdentity operation returned by the service.
      • createDistributionAsync

        Future<CreateDistributionResult> createDistributionAsync​(CreateDistributionRequest createDistributionRequest)
        Create a new distribution.
        Parameters:
        createDistributionRequest - The request to create a new distribution.
        Returns:
        A Java Future containing the result of the CreateDistribution operation returned by the service.
      • createDistributionAsync

        Future<CreateDistributionResult> createDistributionAsync​(CreateDistributionRequest createDistributionRequest,
                                                                 AsyncHandler<CreateDistributionRequest,​CreateDistributionResult> asyncHandler)
        Create a new distribution.
        Parameters:
        createDistributionRequest - The request to create a new distribution.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the CreateDistribution operation returned by the service.
      • createInvalidationAsync

        Future<CreateInvalidationResult> createInvalidationAsync​(CreateInvalidationRequest createInvalidationRequest)
        Create a new invalidation.
        Parameters:
        createInvalidationRequest - The request to create an invalidation.
        Returns:
        A Java Future containing the result of the CreateInvalidation operation returned by the service.
      • createInvalidationAsync

        Future<CreateInvalidationResult> createInvalidationAsync​(CreateInvalidationRequest createInvalidationRequest,
                                                                 AsyncHandler<CreateInvalidationRequest,​CreateInvalidationResult> asyncHandler)
        Create a new invalidation.
        Parameters:
        createInvalidationRequest - The request to create an invalidation.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the CreateInvalidation operation returned by the service.
      • createStreamingDistributionAsync

        Future<CreateStreamingDistributionResult> createStreamingDistributionAsync​(CreateStreamingDistributionRequest createStreamingDistributionRequest)
        Create a new streaming distribution.
        Parameters:
        createStreamingDistributionRequest - The request to create a new streaming distribution.
        Returns:
        A Java Future containing the result of the CreateStreamingDistribution operation returned by the service.
      • createStreamingDistributionAsync

        Future<CreateStreamingDistributionResult> createStreamingDistributionAsync​(CreateStreamingDistributionRequest createStreamingDistributionRequest,
                                                                                   AsyncHandler<CreateStreamingDistributionRequest,​CreateStreamingDistributionResult> asyncHandler)
        Create a new streaming distribution.
        Parameters:
        createStreamingDistributionRequest - The request to create a new streaming distribution.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the CreateStreamingDistribution operation returned by the service.
      • deleteCloudFrontOriginAccessIdentityAsync

        Future<DeleteCloudFrontOriginAccessIdentityResult> deleteCloudFrontOriginAccessIdentityAsync​(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
        Delete an origin access identity.
        Parameters:
        deleteCloudFrontOriginAccessIdentityRequest - The request to delete a origin access identity.
        Returns:
        A Java Future containing the result of the DeleteCloudFrontOriginAccessIdentity operation returned by the service.
      • deleteDistributionAsync

        Future<DeleteDistributionResult> deleteDistributionAsync​(DeleteDistributionRequest deleteDistributionRequest)
        Delete a distribution.
        Parameters:
        deleteDistributionRequest - The request to delete a distribution.
        Returns:
        A Java Future containing the result of the DeleteDistribution operation returned by the service.
      • deleteDistributionAsync

        Future<DeleteDistributionResult> deleteDistributionAsync​(DeleteDistributionRequest deleteDistributionRequest,
                                                                 AsyncHandler<DeleteDistributionRequest,​DeleteDistributionResult> asyncHandler)
        Delete a distribution.
        Parameters:
        deleteDistributionRequest - The request to delete a distribution.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DeleteDistribution operation returned by the service.
      • deleteStreamingDistributionAsync

        Future<DeleteStreamingDistributionResult> deleteStreamingDistributionAsync​(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
        Delete a streaming distribution.
        Parameters:
        deleteStreamingDistributionRequest - The request to delete a streaming distribution.
        Returns:
        A Java Future containing the result of the DeleteStreamingDistribution operation returned by the service.
      • deleteStreamingDistributionAsync

        Future<DeleteStreamingDistributionResult> deleteStreamingDistributionAsync​(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest,
                                                                                   AsyncHandler<DeleteStreamingDistributionRequest,​DeleteStreamingDistributionResult> asyncHandler)
        Delete a streaming distribution.
        Parameters:
        deleteStreamingDistributionRequest - The request to delete a streaming distribution.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DeleteStreamingDistribution operation returned by the service.
      • getCloudFrontOriginAccessIdentityAsync

        Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync​(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
        Get the information about an origin access identity.
        Parameters:
        getCloudFrontOriginAccessIdentityRequest - The request to get an origin access identity's information.
        Returns:
        A Java Future containing the result of the GetCloudFrontOriginAccessIdentity operation returned by the service.
      • getCloudFrontOriginAccessIdentityConfigAsync

        Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync​(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
        Get the configuration information about an origin access identity.
        Parameters:
        getCloudFrontOriginAccessIdentityConfigRequest - The request to get an origin access identity's configuration.
        Returns:
        A Java Future containing the result of the GetCloudFrontOriginAccessIdentityConfig operation returned by the service.
      • getDistributionAsync

        Future<GetDistributionResult> getDistributionAsync​(GetDistributionRequest getDistributionRequest)
        Get the information about a distribution.
        Parameters:
        getDistributionRequest - The request to get a distribution's information.
        Returns:
        A Java Future containing the result of the GetDistribution operation returned by the service.
      • getDistributionAsync

        Future<GetDistributionResult> getDistributionAsync​(GetDistributionRequest getDistributionRequest,
                                                           AsyncHandler<GetDistributionRequest,​GetDistributionResult> asyncHandler)
        Get the information about a distribution.
        Parameters:
        getDistributionRequest - The request to get a distribution's information.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the GetDistribution operation returned by the service.
      • getDistributionConfigAsync

        Future<GetDistributionConfigResult> getDistributionConfigAsync​(GetDistributionConfigRequest getDistributionConfigRequest)
        Get the configuration information about a distribution.
        Parameters:
        getDistributionConfigRequest - The request to get a distribution configuration.
        Returns:
        A Java Future containing the result of the GetDistributionConfig operation returned by the service.
      • getDistributionConfigAsync

        Future<GetDistributionConfigResult> getDistributionConfigAsync​(GetDistributionConfigRequest getDistributionConfigRequest,
                                                                       AsyncHandler<GetDistributionConfigRequest,​GetDistributionConfigResult> asyncHandler)
        Get the configuration information about a distribution.
        Parameters:
        getDistributionConfigRequest - The request to get a distribution configuration.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the GetDistributionConfig operation returned by the service.
      • getInvalidationAsync

        Future<GetInvalidationResult> getInvalidationAsync​(GetInvalidationRequest getInvalidationRequest)
        Get the information about an invalidation.
        Parameters:
        getInvalidationRequest - The request to get an invalidation's information.
        Returns:
        A Java Future containing the result of the GetInvalidation operation returned by the service.
      • getInvalidationAsync

        Future<GetInvalidationResult> getInvalidationAsync​(GetInvalidationRequest getInvalidationRequest,
                                                           AsyncHandler<GetInvalidationRequest,​GetInvalidationResult> asyncHandler)
        Get the information about an invalidation.
        Parameters:
        getInvalidationRequest - The request to get an invalidation's information.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the GetInvalidation operation returned by the service.
      • getStreamingDistributionAsync

        Future<GetStreamingDistributionResult> getStreamingDistributionAsync​(GetStreamingDistributionRequest getStreamingDistributionRequest)
        Get the information about a streaming distribution.
        Parameters:
        getStreamingDistributionRequest - The request to get a streaming distribution's information.
        Returns:
        A Java Future containing the result of the GetStreamingDistribution operation returned by the service.
      • getStreamingDistributionAsync

        Future<GetStreamingDistributionResult> getStreamingDistributionAsync​(GetStreamingDistributionRequest getStreamingDistributionRequest,
                                                                             AsyncHandler<GetStreamingDistributionRequest,​GetStreamingDistributionResult> asyncHandler)
        Get the information about a streaming distribution.
        Parameters:
        getStreamingDistributionRequest - The request to get a streaming distribution's information.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the GetStreamingDistribution operation returned by the service.
      • getStreamingDistributionConfigAsync

        Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync​(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
        Get the configuration information about a streaming distribution.
        Parameters:
        getStreamingDistributionConfigRequest - To request to get a streaming distribution configuration.
        Returns:
        A Java Future containing the result of the GetStreamingDistributionConfig operation returned by the service.
      • getStreamingDistributionConfigAsync

        Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync​(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest,
                                                                                         AsyncHandler<GetStreamingDistributionConfigRequest,​GetStreamingDistributionConfigResult> asyncHandler)
        Get the configuration information about a streaming distribution.
        Parameters:
        getStreamingDistributionConfigRequest - To request to get a streaming distribution configuration.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the GetStreamingDistributionConfig operation returned by the service.
      • listCloudFrontOriginAccessIdentitiesAsync

        Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync​(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
        List origin access identities.
        Parameters:
        listCloudFrontOriginAccessIdentitiesRequest - The request to list origin access identities.
        Returns:
        A Java Future containing the result of the ListCloudFrontOriginAccessIdentities operation returned by the service.
      • listDistributionsAsync

        Future<ListDistributionsResult> listDistributionsAsync​(ListDistributionsRequest listDistributionsRequest)
        List distributions.
        Parameters:
        listDistributionsRequest - The request to list your distributions.
        Returns:
        A Java Future containing the result of the ListDistributions operation returned by the service.
      • listDistributionsAsync

        Future<ListDistributionsResult> listDistributionsAsync​(ListDistributionsRequest listDistributionsRequest,
                                                               AsyncHandler<ListDistributionsRequest,​ListDistributionsResult> asyncHandler)
        List distributions.
        Parameters:
        listDistributionsRequest - The request to list your distributions.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the ListDistributions operation returned by the service.
      • listDistributionsByWebACLIdAsync

        Future<ListDistributionsByWebACLIdResult> listDistributionsByWebACLIdAsync​(ListDistributionsByWebACLIdRequest listDistributionsByWebACLIdRequest)
        List the distributions that are associated with a specified AWS WAF web ACL.
        Parameters:
        listDistributionsByWebACLIdRequest - The request to list distributions that are associated with a specified AWS WAF web ACL.
        Returns:
        A Java Future containing the result of the ListDistributionsByWebACLId operation returned by the service.
      • listDistributionsByWebACLIdAsync

        Future<ListDistributionsByWebACLIdResult> listDistributionsByWebACLIdAsync​(ListDistributionsByWebACLIdRequest listDistributionsByWebACLIdRequest,
                                                                                   AsyncHandler<ListDistributionsByWebACLIdRequest,​ListDistributionsByWebACLIdResult> asyncHandler)
        List the distributions that are associated with a specified AWS WAF web ACL.
        Parameters:
        listDistributionsByWebACLIdRequest - The request to list distributions that are associated with a specified AWS WAF web ACL.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the ListDistributionsByWebACLId operation returned by the service.
      • listInvalidationsAsync

        Future<ListInvalidationsResult> listInvalidationsAsync​(ListInvalidationsRequest listInvalidationsRequest)
        List invalidation batches.
        Parameters:
        listInvalidationsRequest - The request to list invalidations.
        Returns:
        A Java Future containing the result of the ListInvalidations operation returned by the service.
      • listInvalidationsAsync

        Future<ListInvalidationsResult> listInvalidationsAsync​(ListInvalidationsRequest listInvalidationsRequest,
                                                               AsyncHandler<ListInvalidationsRequest,​ListInvalidationsResult> asyncHandler)
        List invalidation batches.
        Parameters:
        listInvalidationsRequest - The request to list invalidations.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the ListInvalidations operation returned by the service.
      • listStreamingDistributionsAsync

        Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync​(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
        List streaming distributions.
        Parameters:
        listStreamingDistributionsRequest - The request to list your streaming distributions.
        Returns:
        A Java Future containing the result of the ListStreamingDistributions operation returned by the service.
      • listStreamingDistributionsAsync

        Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync​(ListStreamingDistributionsRequest listStreamingDistributionsRequest,
                                                                                 AsyncHandler<ListStreamingDistributionsRequest,​ListStreamingDistributionsResult> asyncHandler)
        List streaming distributions.
        Parameters:
        listStreamingDistributionsRequest - The request to list your streaming distributions.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the ListStreamingDistributions operation returned by the service.
      • updateCloudFrontOriginAccessIdentityAsync

        Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync​(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
        Update an origin access identity.
        Parameters:
        updateCloudFrontOriginAccessIdentityRequest - The request to update an origin access identity.
        Returns:
        A Java Future containing the result of the UpdateCloudFrontOriginAccessIdentity operation returned by the service.
      • updateDistributionAsync

        Future<UpdateDistributionResult> updateDistributionAsync​(UpdateDistributionRequest updateDistributionRequest)
        Update a distribution.
        Parameters:
        updateDistributionRequest - The request to update a distribution.
        Returns:
        A Java Future containing the result of the UpdateDistribution operation returned by the service.
      • updateDistributionAsync

        Future<UpdateDistributionResult> updateDistributionAsync​(UpdateDistributionRequest updateDistributionRequest,
                                                                 AsyncHandler<UpdateDistributionRequest,​UpdateDistributionResult> asyncHandler)
        Update a distribution.
        Parameters:
        updateDistributionRequest - The request to update a distribution.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UpdateDistribution operation returned by the service.
      • updateStreamingDistributionAsync

        Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync​(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
        Update a streaming distribution.
        Parameters:
        updateStreamingDistributionRequest - The request to update a streaming distribution.
        Returns:
        A Java Future containing the result of the UpdateStreamingDistribution operation returned by the service.
      • updateStreamingDistributionAsync

        Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync​(UpdateStreamingDistributionRequest updateStreamingDistributionRequest,
                                                                                   AsyncHandler<UpdateStreamingDistributionRequest,​UpdateStreamingDistributionResult> asyncHandler)
        Update a streaming distribution.
        Parameters:
        updateStreamingDistributionRequest - The request to update a streaming distribution.
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UpdateStreamingDistribution operation returned by the service.