OpenSearchIngestionClient#
Index > OpenSearchIngestion > OpenSearchIngestionClient
Auto-generated documentation for OpenSearchIngestion type annotations stubs module mypy-boto3-osis.
OpenSearchIngestionClient#
Type annotations and code completion for boto3.client("osis")
.
boto3 documentation
# OpenSearchIngestionClient usage example
from boto3.session import Session
from mypy_boto3_osis.client import OpenSearchIngestionClient
def get_osis_client() -> OpenSearchIngestionClient:
return Session().client("osis")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("osis").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("osis")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.DisabledOperationException,
client.exceptions.InternalException,
client.exceptions.InvalidPaginationTokenException,
client.exceptions.LimitExceededException,
client.exceptions.ResourceAlreadyExistsException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_osis.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("osis").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("osis").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_pipeline#
Creates an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").create_pipeline
method.
boto3 documentation
# create_pipeline method definition
def create_pipeline(
self,
*,
PipelineName: str,
MinUnits: int,
MaxUnits: int,
PipelineConfigurationBody: str,
LogPublishingOptions: LogPublishingOptionsTypeDef = ..., # (1)
VpcOptions: VpcOptionsTypeDef = ..., # (2)
BufferOptions: BufferOptionsTypeDef = ..., # (3)
EncryptionAtRestOptions: EncryptionAtRestOptionsTypeDef = ..., # (4)
Tags: Sequence[TagTypeDef] = ..., # (5)
) -> CreatePipelineResponseTypeDef: # (6)
...
- See LogPublishingOptionsTypeDef
- See VpcOptionsTypeDef
- See BufferOptionsTypeDef
- See EncryptionAtRestOptionsTypeDef
- See TagTypeDef
- See CreatePipelineResponseTypeDef
# create_pipeline method usage example with argument unpacking
kwargs: CreatePipelineRequestRequestTypeDef = { # (1)
"PipelineName": ...,
"MinUnits": ...,
"MaxUnits": ...,
"PipelineConfigurationBody": ...,
}
parent.create_pipeline(**kwargs)
delete_pipeline#
Deletes an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").delete_pipeline
method.
boto3 documentation
# delete_pipeline method definition
def delete_pipeline(
self,
*,
PipelineName: str,
) -> Dict[str, Any]:
...
# delete_pipeline method usage example with argument unpacking
kwargs: DeletePipelineRequestRequestTypeDef = { # (1)
"PipelineName": ...,
}
parent.delete_pipeline(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("osis").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_pipeline#
Retrieves information about an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").get_pipeline
method.
boto3 documentation
# get_pipeline method definition
def get_pipeline(
self,
*,
PipelineName: str,
) -> GetPipelineResponseTypeDef: # (1)
...
# get_pipeline method usage example with argument unpacking
kwargs: GetPipelineRequestRequestTypeDef = { # (1)
"PipelineName": ...,
}
parent.get_pipeline(**kwargs)
get_pipeline_blueprint#
Retrieves information about a specific blueprint for OpenSearch Ingestion.
Type annotations and code completion for boto3.client("osis").get_pipeline_blueprint
method.
boto3 documentation
# get_pipeline_blueprint method definition
def get_pipeline_blueprint(
self,
*,
BlueprintName: str,
Format: str = ...,
) -> GetPipelineBlueprintResponseTypeDef: # (1)
...
# get_pipeline_blueprint method usage example with argument unpacking
kwargs: GetPipelineBlueprintRequestRequestTypeDef = { # (1)
"BlueprintName": ...,
}
parent.get_pipeline_blueprint(**kwargs)
get_pipeline_change_progress#
Returns progress information for the current change happening on an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").get_pipeline_change_progress
method.
boto3 documentation
# get_pipeline_change_progress method definition
def get_pipeline_change_progress(
self,
*,
PipelineName: str,
) -> GetPipelineChangeProgressResponseTypeDef: # (1)
...
# get_pipeline_change_progress method usage example with argument unpacking
kwargs: GetPipelineChangeProgressRequestRequestTypeDef = { # (1)
"PipelineName": ...,
}
parent.get_pipeline_change_progress(**kwargs)
list_pipeline_blueprints#
Retrieves a list of all available blueprints for Data Prepper.
Type annotations and code completion for boto3.client("osis").list_pipeline_blueprints
method.
boto3 documentation
# list_pipeline_blueprints method definition
def list_pipeline_blueprints(
self,
) -> ListPipelineBlueprintsResponseTypeDef: # (1)
...
list_pipelines#
Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region.
Type annotations and code completion for boto3.client("osis").list_pipelines
method.
boto3 documentation
# list_pipelines method definition
def list_pipelines(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListPipelinesResponseTypeDef: # (1)
...
# list_pipelines method usage example with argument unpacking
kwargs: ListPipelinesRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_pipelines(**kwargs)
list_tags_for_resource#
Lists all resource tags associated with an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
Arn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"Arn": ...,
}
parent.list_tags_for_resource(**kwargs)
start_pipeline#
Starts an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").start_pipeline
method.
boto3 documentation
# start_pipeline method definition
def start_pipeline(
self,
*,
PipelineName: str,
) -> StartPipelineResponseTypeDef: # (1)
...
# start_pipeline method usage example with argument unpacking
kwargs: StartPipelineRequestRequestTypeDef = { # (1)
"PipelineName": ...,
}
parent.start_pipeline(**kwargs)
stop_pipeline#
Stops an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").stop_pipeline
method.
boto3 documentation
# stop_pipeline method definition
def stop_pipeline(
self,
*,
PipelineName: str,
) -> StopPipelineResponseTypeDef: # (1)
...
# stop_pipeline method usage example with argument unpacking
kwargs: StopPipelineRequestRequestTypeDef = { # (1)
"PipelineName": ...,
}
parent.stop_pipeline(**kwargs)
tag_resource#
Tags an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
Arn: str,
Tags: Sequence[TagTypeDef], # (1)
) -> Dict[str, Any]:
...
- See TagTypeDef
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"Arn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Removes one or more tags from an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
Arn: str,
TagKeys: Sequence[str],
) -> Dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"Arn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_pipeline#
Updates an OpenSearch Ingestion pipeline.
Type annotations and code completion for boto3.client("osis").update_pipeline
method.
boto3 documentation
# update_pipeline method definition
def update_pipeline(
self,
*,
PipelineName: str,
MinUnits: int = ...,
MaxUnits: int = ...,
PipelineConfigurationBody: str = ...,
LogPublishingOptions: LogPublishingOptionsTypeDef = ..., # (1)
BufferOptions: BufferOptionsTypeDef = ..., # (2)
EncryptionAtRestOptions: EncryptionAtRestOptionsTypeDef = ..., # (3)
) -> UpdatePipelineResponseTypeDef: # (4)
...
- See LogPublishingOptionsTypeDef
- See BufferOptionsTypeDef
- See EncryptionAtRestOptionsTypeDef
- See UpdatePipelineResponseTypeDef
# update_pipeline method usage example with argument unpacking
kwargs: UpdatePipelineRequestRequestTypeDef = { # (1)
"PipelineName": ...,
}
parent.update_pipeline(**kwargs)
validate_pipeline#
Checks whether an OpenSearch Ingestion pipeline configuration is valid prior to creation.
Type annotations and code completion for boto3.client("osis").validate_pipeline
method.
boto3 documentation
# validate_pipeline method definition
def validate_pipeline(
self,
*,
PipelineConfigurationBody: str,
) -> ValidatePipelineResponseTypeDef: # (1)
...
# validate_pipeline method usage example with argument unpacking
kwargs: ValidatePipelineRequestRequestTypeDef = { # (1)
"PipelineConfigurationBody": ...,
}
parent.validate_pipeline(**kwargs)