@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonOSISClient extends AmazonWebServiceClient implements AmazonOSIS
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonOSISClientBuilder |
builder() |
CreatePipelineResult |
createPipeline(CreatePipelineRequest request)
Creates an OpenSearch Ingestion pipeline.
|
DeletePipelineResult |
deletePipeline(DeletePipelineRequest request)
Deletes an OpenSearch Ingestion pipeline.
|
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.
|
GetPipelineResult |
getPipeline(GetPipelineRequest request)
Retrieves information about an OpenSearch Ingestion pipeline.
|
GetPipelineBlueprintResult |
getPipelineBlueprint(GetPipelineBlueprintRequest request)
Retrieves information about a specific blueprint for OpenSearch Ingestion.
|
GetPipelineChangeProgressResult |
getPipelineChangeProgress(GetPipelineChangeProgressRequest request)
Returns progress information for the current change happening on an OpenSearch Ingestion pipeline.
|
ListPipelineBlueprintsResult |
listPipelineBlueprints(ListPipelineBlueprintsRequest request)
Retrieves a list of all available blueprints for Data Prepper.
|
ListPipelinesResult |
listPipelines(ListPipelinesRequest request)
Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists all resource tags associated with an OpenSearch Ingestion pipeline.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartPipelineResult |
startPipeline(StartPipelineRequest request)
Starts an OpenSearch Ingestion pipeline.
|
StopPipelineResult |
stopPipeline(StopPipelineRequest request)
Stops an OpenSearch Ingestion pipeline.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Tags an OpenSearch Ingestion pipeline.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes one or more tags from an OpenSearch Ingestion pipeline.
|
UpdatePipelineResult |
updatePipeline(UpdatePipelineRequest request)
Updates an OpenSearch Ingestion pipeline.
|
ValidatePipelineResult |
validatePipeline(ValidatePipelineRequest request)
Checks whether an OpenSearch Ingestion pipeline configuration is valid prior to creation.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonOSISClientBuilder builder()
public CreatePipelineResult createPipeline(CreatePipelineRequest request)
Creates an OpenSearch Ingestion pipeline. For more information, see Creating Amazon OpenSearch Ingestion pipelines.
createPipeline
in interface AmazonOSIS
createPipelineRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.LimitExceededException
- You attempted to create more than the allowed number of tags.ValidationException
- An exception for missing or invalid input fields.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.ResourceAlreadyExistsException
- You attempted to create a resource that already exists.ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.public DeletePipelineResult deletePipeline(DeletePipelineRequest request)
Deletes an OpenSearch Ingestion pipeline. For more information, see Deleting Amazon OpenSearch Ingestion pipelines.
deletePipeline
in interface AmazonOSIS
deletePipelineRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.ValidationException
- An exception for missing or invalid input fields.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.ConflictException
- The client attempted to remove a resource that is currently in use.public GetPipelineResult getPipeline(GetPipelineRequest request)
Retrieves information about an OpenSearch Ingestion pipeline.
getPipeline
in interface AmazonOSIS
getPipelineRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.ValidationException
- An exception for missing or invalid input fields.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.public GetPipelineBlueprintResult getPipelineBlueprint(GetPipelineBlueprintRequest request)
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.
getPipelineBlueprint
in interface AmazonOSIS
getPipelineBlueprintRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.AccessDeniedException
- You don't have permissions to access the resource.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).ValidationException
- An exception for missing or invalid input fields.ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.public GetPipelineChangeProgressResult getPipelineChangeProgress(GetPipelineChangeProgressRequest request)
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.
getPipelineChangeProgress
in interface AmazonOSIS
getPipelineChangeProgressRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.ValidationException
- An exception for missing or invalid input fields.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.public ListPipelineBlueprintsResult listPipelineBlueprints(ListPipelineBlueprintsRequest request)
Retrieves a list of all available blueprints for Data Prepper. For more information, see Using blueprints to create a pipeline.
listPipelineBlueprints
in interface AmazonOSIS
listPipelineBlueprintsRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.ValidationException
- An exception for missing or invalid input fields.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.InvalidPaginationTokenException
- An invalid pagination token provided in the request.public ListPipelinesResult listPipelines(ListPipelinesRequest request)
Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region. For more information, see Viewing Amazon OpenSearch Ingestion pipelines.
listPipelines
in interface AmazonOSIS
listPipelinesRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.ValidationException
- An exception for missing or invalid input fields.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.InvalidPaginationTokenException
- An invalid pagination token provided in the request.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists all resource tags associated with an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon OpenSearch Ingestion pipelines.
listTagsForResource
in interface AmazonOSIS
listTagsForResourceRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.ValidationException
- An exception for missing or invalid input fields.ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.public StartPipelineResult startPipeline(StartPipelineRequest request)
Starts an OpenSearch Ingestion pipeline. For more information, see Starting an OpenSearch Ingestion pipeline.
startPipeline
in interface AmazonOSIS
startPipelineRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.AccessDeniedException
- You don't have permissions to access the resource.ConflictException
- The client attempted to remove a resource that is currently in use.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.ValidationException
- An exception for missing or invalid input fields.public StopPipelineResult stopPipeline(StopPipelineRequest request)
Stops an OpenSearch Ingestion pipeline. For more information, see Stopping an OpenSearch Ingestion pipeline.
stopPipeline
in interface AmazonOSIS
stopPipelineRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.AccessDeniedException
- You don't have permissions to access the resource.ConflictException
- The client attempted to remove a resource that is currently in use.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.ValidationException
- An exception for missing or invalid input fields.public TagResourceResult tagResource(TagResourceRequest request)
Tags an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon OpenSearch Ingestion pipelines.
tagResource
in interface AmazonOSIS
tagResourceRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.LimitExceededException
- You attempted to create more than the allowed number of tags.ValidationException
- An exception for missing or invalid input fields.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes one or more tags from an OpenSearch Ingestion pipeline. For more information, see Tagging Amazon OpenSearch Ingestion pipelines.
untagResource
in interface AmazonOSIS
untagResourceRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.ValidationException
- An exception for missing or invalid input fields.ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.public UpdatePipelineResult updatePipeline(UpdatePipelineRequest request)
Updates an OpenSearch Ingestion pipeline. For more information, see Updating Amazon OpenSearch Ingestion pipelines.
updatePipeline
in interface AmazonOSIS
updatePipelineRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.ValidationException
- An exception for missing or invalid input fields.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).AccessDeniedException
- You don't have permissions to access the resource.ResourceNotFoundException
- You attempted to access or delete a resource that does not exist.ConflictException
- The client attempted to remove a resource that is currently in use.public ValidatePipelineResult validatePipeline(ValidatePipelineRequest request)
Checks whether an OpenSearch Ingestion pipeline configuration is valid prior to creation. For more information, see Creating Amazon OpenSearch Ingestion pipelines.
validatePipeline
in interface AmazonOSIS
validatePipelineRequest
- DisabledOperationException
- Exception is thrown when an operation has been disabled.AccessDeniedException
- You don't have permissions to access the resource.InternalException
- The request failed because of an unknown error, exception, or failure (the failure is internal to the
service).ValidationException
- An exception for missing or invalid input fields.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata
in interface AmazonOSIS
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonOSIS
shutdown
in class AmazonWebServiceClient