OmicsClient#
Auto-generated documentation for Omics type annotations stubs module mypy-boto3-omics.
OmicsClient#
Type annotations and code completion for boto3.client("omics")
.
boto3 documentation
# OmicsClient usage example
from boto3.session import Session
from mypy_boto3_omics.client import OmicsClient
def get_omics_client() -> OmicsClient:
return Session().client("omics")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("omics").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("omics")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.InternalServerException,
client.exceptions.NotSupportedOperationException,
client.exceptions.RangeNotSatisfiableException,
client.exceptions.RequestTimeoutException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ServiceQuotaExceededException,
client.exceptions.ThrottlingException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_omics.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
abort_multipart_read_set_upload#
Stops a multipart upload.
Type annotations and code completion for boto3.client("omics").abort_multipart_read_set_upload
method.
boto3 documentation
# abort_multipart_read_set_upload method definition
def abort_multipart_read_set_upload(
self,
*,
sequenceStoreId: str,
uploadId: str,
) -> Dict[str, Any]:
...
# abort_multipart_read_set_upload method usage example with argument unpacking
kwargs: AbortMultipartReadSetUploadRequestRequestTypeDef = { # (1)
"sequenceStoreId": ...,
"uploadId": ...,
}
parent.abort_multipart_read_set_upload(**kwargs)
accept_share#
Accept a resource share request.
Type annotations and code completion for boto3.client("omics").accept_share
method.
boto3 documentation
# accept_share method definition
def accept_share(
self,
*,
shareId: str,
) -> AcceptShareResponseTypeDef: # (1)
...
# accept_share method usage example with argument unpacking
kwargs: AcceptShareRequestRequestTypeDef = { # (1)
"shareId": ...,
}
parent.accept_share(**kwargs)
batch_delete_read_set#
Deletes one or more read sets.
Type annotations and code completion for boto3.client("omics").batch_delete_read_set
method.