Skip to main content

pipeline_endpoints

Creates, updates, deletes, gets or lists a pipeline_endpoints resource.

Overview

Namepipeline_endpoints
TypeResource
Idaws.osis.pipeline_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
endpoint_idstringThe unique identifier for the pipeline endpoint. (pattern: <code>^[a-zA-Z0-9][a-zA-Z0-9-_]+$</code>)
ingest_endpoint_urlstringThe URL used to ingest data to the pipeline through the VPC endpoint.
pipeline_arnstringThe Amazon Resource Name (ARN) of the pipeline associated with this endpoint. (pattern: <code>^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):osis:.+:pipeline/.+$</code>)
statusstringThe current status of the pipeline endpoint. (CREATING, ACTIVE, CREATE_FAILED, DELETING, REVOKING, REVOKED)
vpc_idstringThe ID of the VPC where the pipeline endpoint is created.
vpc_optionsobjectConfiguration settings for the VPC endpoint, specifying network access controls.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_pipeline_endpointsselectregionmaxResults, nextTokenLists all pipeline endpoints in your account.
create_pipeline_endpointinsertregion, PipelineArn, VpcOptionsCreates a VPC endpoint for an OpenSearch Ingestion pipeline. Pipeline endpoints allow you to ingest data from your VPC into pipelines that you have access to.
delete_pipeline_endpointdeleteendpoint_id, regionDeletes a VPC endpoint for an OpenSearch Ingestion pipeline.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpoint_idstringThe unique identifier of the pipeline endpoint to delete.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of pipeline endpoints to return in the response.
nextTokenstringIf your initial ListPipelineEndpoints operation returns a NextToken, you can include the returned NextToken in subsequent ListPipelineEndpoints operations, which returns results in the next page.

SELECT examples

Lists all pipeline endpoints in your account.

SELECT
endpoint_id,
ingest_endpoint_url,
pipeline_arn,
status,
vpc_id,
vpc_options
FROM aws.osis.pipeline_endpoints
WHERE region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;

INSERT examples

Creates a VPC endpoint for an OpenSearch Ingestion pipeline. Pipeline endpoints allow you to ingest data from your VPC into pipelines that you have access to.

INSERT INTO aws.osis.pipeline_endpoints (
PipelineArn,
VpcOptions,
region
)
SELECT
'{{ PipelineArn }}' /* required */,
'{{ VpcOptions }}' /* required */,
'{{ region }}'
RETURNING
endpoint_id,
pipeline_arn,
status,
vpc_id
;

DELETE examples

Deletes a VPC endpoint for an OpenSearch Ingestion pipeline.

DELETE FROM aws.osis.pipeline_endpoints
WHERE endpoint_id = '{{ endpoint_id }}' --required
AND region = '{{ region }}' --required
;