2025/09/16 - Amazon OpenSearch Ingestion - 8 new api methods
Changes Adds support for cross-account ingestion for push-based sources. This includes resource policies for sharing pipelines across accounts and features for managing pipeline endpoints which enable accessing pipelines across different VPCs, including VPCs in other accounts.
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.
See also: AWS API Documentation
Request Syntax
client.create_pipeline_endpoint( PipelineArn='string', VpcOptions={ 'SubnetIds': [ 'string', ], 'SecurityGroupIds': [ 'string', ] } )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the pipeline to create the endpoint for.
dict
[REQUIRED]
Container for the VPC configuration for the pipeline endpoint, including subnet IDs and security group IDs.
SubnetIds (list) --
A list of subnet IDs where the pipeline endpoint network interfaces are created.
(string) --
SecurityGroupIds (list) --
A list of security group IDs that control network access to the pipeline endpoint.
(string) --
dict
Response Syntax
{ 'PipelineArn': 'string', 'EndpointId': 'string', 'Status': 'CREATING'|'ACTIVE'|'CREATE_FAILED'|'DELETING'|'REVOKING'|'REVOKED', 'VpcId': 'string' }
Response Structure
(dict) --
PipelineArn (string) --
The Amazon Resource Name (ARN) of the pipeline associated with the endpoint.
EndpointId (string) --
The unique identifier of the pipeline endpoint.
Status (string) --
The current status of the pipeline endpoint.
VpcId (string) --
The ID of the VPC where the pipeline endpoint was created.
Lists the pipeline endpoints connected to pipelines in your account.
See also: AWS API Documentation
Request Syntax
client.list_pipeline_endpoint_connections( MaxResults=123, NextToken='string' )
integer
The maximum number of pipeline endpoint connections to return in the response.
string
If your initial ListPipelineEndpointConnections operation returns a nextToken, you can include the returned nextToken in subsequent ListPipelineEndpointConnections operations, which returns results in the next page.
dict
Response Syntax
{ 'NextToken': 'string', 'PipelineEndpointConnections': [ { 'PipelineArn': 'string', 'EndpointId': 'string', 'Status': 'CREATING'|'ACTIVE'|'CREATE_FAILED'|'DELETING'|'REVOKING'|'REVOKED', 'VpcEndpointOwner': 'string' }, ] }
Response Structure
(dict) --
NextToken (string) --
When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
PipelineEndpointConnections (list) --
A list of pipeline endpoint connections.
(dict) --
Represents a connection to a pipeline endpoint, containing details about the endpoint association.
PipelineArn (string) --
The Amazon Resource Name (ARN) of the pipeline in the endpoint connection.
EndpointId (string) --
The unique identifier of the endpoint in the connection.
Status (string) --
The current status of the pipeline endpoint connection.
VpcEndpointOwner (string) --
The Amazon Web Services account ID that owns the VPC endpoint used in this connection.
Retrieves the resource-based policy attached to an OpenSearch Ingestion resource.
See also: AWS API Documentation
Request Syntax
client.get_resource_policy( ResourceArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource for which to retrieve the policy.
dict
Response Syntax
{ 'ResourceArn': 'string', 'Policy': 'string' }
Response Structure
(dict) --
ResourceArn (string) --
The Amazon Resource Name (ARN) of the resource.
Policy (string) --
The resource-based policy document in JSON format.
Lists all pipeline endpoints in your account.
See also: AWS API Documentation
Request Syntax
client.list_pipeline_endpoints( MaxResults=123, NextToken='string' )
integer
The maximum number of pipeline endpoints to return in the response.
string
If your initial ListPipelineEndpoints operation returns a NextToken, you can include the returned NextToken in subsequent ListPipelineEndpoints operations, which returns results in the next page.
dict
Response Syntax
{ 'NextToken': 'string', 'PipelineEndpoints': [ { 'PipelineArn': 'string', 'EndpointId': 'string', 'Status': 'CREATING'|'ACTIVE'|'CREATE_FAILED'|'DELETING'|'REVOKING'|'REVOKED', 'VpcId': 'string', 'VpcOptions': { 'SubnetIds': [ 'string', ], 'SecurityGroupIds': [ 'string', ] }, 'IngestEndpointUrl': 'string' }, ] }
Response Structure
(dict) --
NextToken (string) --
When NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
PipelineEndpoints (list) --
A list of pipeline endpoints.
(dict) --
Represents a VPC endpoint for an OpenSearch Ingestion pipeline, enabling private connectivity between your VPC and the pipeline.
PipelineArn (string) --
The Amazon Resource Name (ARN) of the pipeline associated with this endpoint.
EndpointId (string) --
The unique identifier for the pipeline endpoint.
Status (string) --
The current status of the pipeline endpoint.
VpcId (string) --
The ID of the VPC where the pipeline endpoint is created.
VpcOptions (dict) --
Configuration options for the VPC endpoint, including subnet and security group settings.
SubnetIds (list) --
A list of subnet IDs where the pipeline endpoint network interfaces are created.
(string) --
SecurityGroupIds (list) --
A list of security group IDs that control network access to the pipeline endpoint.
(string) --
IngestEndpointUrl (string) --
The URL used to ingest data to the pipeline through the VPC endpoint.
Attaches a resource-based policy to an OpenSearch Ingestion resource. Resource-based policies grant permissions to principals to perform actions on the resource.
See also: AWS API Documentation
Request Syntax
client.put_resource_policy( ResourceArn='string', Policy='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to attach the policy to.
string
[REQUIRED]
The resource-based policy document in JSON format.
dict
Response Syntax
{ 'ResourceArn': 'string', 'Policy': 'string' }
Response Structure
(dict) --
ResourceArn (string) --
The Amazon Resource Name (ARN) of the resource.
Policy (string) --
The resource-based policy document that was attached to the resource.
Deletes a VPC endpoint for an OpenSearch Ingestion pipeline.
See also: AWS API Documentation
Request Syntax
client.delete_pipeline_endpoint( EndpointId='string' )
string
[REQUIRED]
The unique identifier of the pipeline endpoint to delete.
dict
Response Syntax
{}
Response Structure
(dict) --
Revokes pipeline endpoints from specified endpoint IDs.
See also: AWS API Documentation
Request Syntax
client.revoke_pipeline_endpoint_connections( PipelineArn='string', EndpointIds=[ 'string', ] )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the pipeline from which to revoke endpoint connections.
list
[REQUIRED]
A list of endpoint IDs for which to revoke access to the pipeline.
(string) --
dict
Response Syntax
{ 'PipelineArn': 'string' }
Response Structure
(dict) --
PipelineArn (string) --
The Amazon Resource Name (ARN) of the pipeline from which endpoint connections were revoked.
Deletes a resource-based policy from an OpenSearch Ingestion resource.
See also: AWS API Documentation
Request Syntax
client.delete_resource_policy( ResourceArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource from which to delete the policy.
dict
Response Syntax
{}
Response Structure
(dict) --