All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.osis.AmazonOSIS Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon OpenSearch Ingestion module holds the client classes that are used for communicating with Amazon OpenSearch Ingestion Service

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.osis;

import javax.annotation.Generated;

import com.amazonaws.*;
import com.amazonaws.regions.*;

import com.amazonaws.services.osis.model.*;

/**
 * Interface for accessing Amazon OpenSearch Ingestion.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.osis.AbstractAmazonOSIS} instead. *

*

*

* Use the Amazon OpenSearch Ingestion API to create and manage ingestion pipelines. OpenSearch Ingestion is a fully * managed data collector that delivers real-time log and trace data to OpenSearch Service domains. For more * information, see Getting data into your * cluster using OpenSearch Ingestion. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonOSIS { /** * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata * (such as supported regions) of the service. * * @see RegionUtils#getRegionsForService(String) */ String ENDPOINT_PREFIX = "osis"; /** *

* Creates an OpenSearch Ingestion pipeline. For more information, see Creating * Amazon OpenSearch Ingestion pipelines. *

* * @param createPipelineRequest * @return Result of the CreatePipeline operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws LimitExceededException * You attempted to create more than the allowed number of tags. * @throws ValidationException * An exception for missing or invalid input fields. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws ResourceAlreadyExistsException * You attempted to create a resource that already exists. * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @sample AmazonOSIS.CreatePipeline * @see AWS API * Documentation */ CreatePipelineResult createPipeline(CreatePipelineRequest createPipelineRequest); /** *

* Deletes an OpenSearch Ingestion pipeline. For more information, see Deleting Amazon * OpenSearch Ingestion pipelines. *

* * @param deletePipelineRequest * @return Result of the DeletePipeline operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws ValidationException * An exception for missing or invalid input fields. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @throws ConflictException * The client attempted to remove a resource that is currently in use. * @sample AmazonOSIS.DeletePipeline * @see AWS API * Documentation */ DeletePipelineResult deletePipeline(DeletePipelineRequest deletePipelineRequest); /** *

* Retrieves information about an OpenSearch Ingestion pipeline. *

* * @param getPipelineRequest * @return Result of the GetPipeline operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws ValidationException * An exception for missing or invalid input fields. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @sample AmazonOSIS.GetPipeline * @see AWS API * Documentation */ GetPipelineResult getPipeline(GetPipelineRequest getPipelineRequest); /** *

* Retrieves information about a specific blueprint for OpenSearch Ingestion. Blueprints are templates for the * configuration needed for a CreatePipeline request. For more information, see Using blueprints to create a pipeline. *

* * @param getPipelineBlueprintRequest * @return Result of the GetPipelineBlueprint operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws ValidationException * An exception for missing or invalid input fields. * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @sample AmazonOSIS.GetPipelineBlueprint * @see AWS API * Documentation */ GetPipelineBlueprintResult getPipelineBlueprint(GetPipelineBlueprintRequest getPipelineBlueprintRequest); /** *

* Returns progress information for the current change happening on an OpenSearch Ingestion pipeline. Currently, * this operation only returns information when a pipeline is being created. *

*

* For more information, see Tracking the status of pipeline creation. *

* * @param getPipelineChangeProgressRequest * @return Result of the GetPipelineChangeProgress operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws ValidationException * An exception for missing or invalid input fields. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @sample AmazonOSIS.GetPipelineChangeProgress * @see AWS * API Documentation */ GetPipelineChangeProgressResult getPipelineChangeProgress(GetPipelineChangeProgressRequest getPipelineChangeProgressRequest); /** *

* Retrieves a list of all available blueprints for Data Prepper. For more information, see Using blueprints to create a pipeline. *

* * @param listPipelineBlueprintsRequest * @return Result of the ListPipelineBlueprints operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws ValidationException * An exception for missing or invalid input fields. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws InvalidPaginationTokenException * An invalid pagination token provided in the request. * @sample AmazonOSIS.ListPipelineBlueprints * @see AWS * API Documentation */ ListPipelineBlueprintsResult listPipelineBlueprints(ListPipelineBlueprintsRequest listPipelineBlueprintsRequest); /** *

* Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region. For more * information, see Viewing Amazon * OpenSearch Ingestion pipelines. *

* * @param listPipelinesRequest * @return Result of the ListPipelines operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws ValidationException * An exception for missing or invalid input fields. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws InvalidPaginationTokenException * An invalid pagination token provided in the request. * @sample AmazonOSIS.ListPipelines * @see AWS API * Documentation */ ListPipelinesResult listPipelines(ListPipelinesRequest listPipelinesRequest); /** *

* Lists all resource tags associated with an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon * OpenSearch Ingestion pipelines. *

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws ValidationException * An exception for missing or invalid input fields. * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @sample AmazonOSIS.ListTagsForResource * @see AWS API * Documentation */ ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Starts an OpenSearch Ingestion pipeline. For more information, see Starting an OpenSearch Ingestion pipeline. *

* * @param startPipelineRequest * @return Result of the StartPipeline operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws ConflictException * The client attempted to remove a resource that is currently in use. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @throws ValidationException * An exception for missing or invalid input fields. * @sample AmazonOSIS.StartPipeline * @see AWS API * Documentation */ StartPipelineResult startPipeline(StartPipelineRequest startPipelineRequest); /** *

* Stops an OpenSearch Ingestion pipeline. For more information, see Stopping an OpenSearch Ingestion pipeline. *

* * @param stopPipelineRequest * @return Result of the StopPipeline operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws ConflictException * The client attempted to remove a resource that is currently in use. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @throws ValidationException * An exception for missing or invalid input fields. * @sample AmazonOSIS.StopPipeline * @see AWS API * Documentation */ StopPipelineResult stopPipeline(StopPipelineRequest stopPipelineRequest); /** *

* Tags an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon * OpenSearch Ingestion pipelines. *

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws LimitExceededException * You attempted to create more than the allowed number of tags. * @throws ValidationException * An exception for missing or invalid input fields. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @sample AmazonOSIS.TagResource * @see AWS API * Documentation */ TagResourceResult tagResource(TagResourceRequest tagResourceRequest); /** *

* Removes one or more tags from an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon * OpenSearch Ingestion pipelines. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws ValidationException * An exception for missing or invalid input fields. * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @sample AmazonOSIS.UntagResource * @see AWS API * Documentation */ UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest); /** *

* Updates an OpenSearch Ingestion pipeline. For more information, see Updating Amazon * OpenSearch Ingestion pipelines. *

* * @param updatePipelineRequest * @return Result of the UpdatePipeline operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws ValidationException * An exception for missing or invalid input fields. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws ResourceNotFoundException * You attempted to access or delete a resource that does not exist. * @throws ConflictException * The client attempted to remove a resource that is currently in use. * @sample AmazonOSIS.UpdatePipeline * @see AWS API * Documentation */ UpdatePipelineResult updatePipeline(UpdatePipelineRequest updatePipelineRequest); /** *

* Checks whether an OpenSearch Ingestion pipeline configuration is valid prior to creation. For more information, * see Creating * Amazon OpenSearch Ingestion pipelines. *

* * @param validatePipelineRequest * @return Result of the ValidatePipeline operation returned by the service. * @throws DisabledOperationException * Exception is thrown when an operation has been disabled. * @throws AccessDeniedException * You don't have permissions to access the resource. * @throws InternalException * The request failed because of an unknown error, exception, or failure (the failure is internal to the * service). * @throws ValidationException * An exception for missing or invalid input fields. * @sample AmazonOSIS.ValidatePipeline * @see AWS API * Documentation */ ValidatePipelineResult validatePipeline(ValidatePipelineRequest validatePipelineRequest); /** * 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. */ void shutdown(); /** * 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. * * @param request * The originally executed request. * * @return The response metadata for the specified request, or null if none is available. */ ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy