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: Union[VpcOptionsTypeDef, VpcOptionsOutputTypeDef] = ..., # (2)
BufferOptions: BufferOptionsTypeDef = ..., # (3)
EncryptionAtRestOptions: EncryptionAtRestOptionsTypeDef = ..., # (4)
Tags: Sequence[TagTypeDef] = ..., # (5)
) -> CreatePipelineResponseTypeDef: # (6)
...
- See LogPublishingOptionsTypeDef
- See VpcOptionsTypeDef VpcOptionsOutputTypeDef
- 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)
...