Skip to content

ElementalInferenceClient#

Index > ElementalInference > ElementalInferenceClient

Auto-generated documentation for ElementalInference type annotations stubs module mypy-boto3-elementalinference.

ElementalInferenceClient#

Type annotations and code completion for boto3.client("elementalinference"). boto3 documentation

# ElementalInferenceClient usage example

from boto3.session import Session
from mypy_boto3_elementalinference.client import ElementalInferenceClient

def get_elementalinference_client() -> ElementalInferenceClient:
    return Session().client("elementalinference")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("elementalinference").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("elementalinference")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerErrorException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.TooManyRequestException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_elementalinference.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("elementalinference").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

generate_presigned_url#

Type annotations and code completion for boto3.client("elementalinference").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:
    ...

associate_feed#

Associates a resource with the feed.

Type annotations and code completion for boto3.client("elementalinference").associate_feed method. boto3 documentation

# associate_feed method definition

def associate_feed(
    self,
    *,
    id: str,
    associatedResourceName: str,
    outputs: Sequence[CreateOutputTypeDef],  # (1)
    dryRun: bool = ...,
) -> AssociateFeedResponseTypeDef:  # (2)
    ...
  1. See Sequence[CreateOutputTypeDef]
  2. See AssociateFeedResponseTypeDef
# associate_feed method usage example with argument unpacking

kwargs: AssociateFeedRequestTypeDef = {  # (1)
    "id": ...,
    "associatedResourceName": ...,
    "outputs": ...,
}

parent.associate_feed(**kwargs)
  1. See AssociateFeedRequestTypeDef

create_feed#

Creates a feed.

Type annotations and code completion for boto3.client("elementalinference").create_feed method. boto3 documentation

# create_feed method definition

def create_feed(
    self,
    *,
    name: str,
    outputs: Sequence[CreateOutputTypeDef],  # (1)
    tags: Mapping[str, str] = ...,
) -> CreateFeedResponseTypeDef:  # (2)
    ...
  1. See Sequence[CreateOutputTypeDef]
  2. See CreateFeedResponseTypeDef
# create_feed method usage example with argument unpacking

kwargs: CreateFeedRequestTypeDef = {  # (1)
    "name": ...,
    "outputs": ...,
}

parent.create_feed(**kwargs)
  1. See CreateFeedRequestTypeDef

delete_feed#

Deletes the specified feed.

Type annotations and code completion for boto3.client("elementalinference").delete_feed method. boto3 documentation

# delete_feed method definition

def delete_feed(
    self,
    *,
    id: str,
) -> DeleteFeedResponseTypeDef:  # (1)
    ...
  1. See DeleteFeedResponseTypeDef
# delete_feed method usage example with argument unpacking

kwargs: DeleteFeedRequestTypeDef = {  # (1)
    "id": ...,
}

parent.delete_feed(**kwargs)
  1. See DeleteFeedRequestTypeDef

disassociate_feed#

Releases the resource (for example, an MediaLive channel) that is associated with this feed.

Type annotations and code completion for boto3.client("elementalinference").disassociate_feed method. boto3 documentation

# disassociate_feed method definition

def disassociate_feed(
    self,
    *,
    id: str,
    associatedResourceName: str,
    dryRun: bool = ...,
) -> DisassociateFeedResponseTypeDef:  # (1)
    ...
  1. See DisassociateFeedResponseTypeDef
# disassociate_feed method usage example with argument unpacking

kwargs: DisassociateFeedRequestTypeDef = {  # (1)
    "id": ...,
    "associatedResourceName": ...,
}

parent.disassociate_feed(**kwargs)
  1. See DisassociateFeedRequestTypeDef

get_feed#

Retrieves information about the specified feed.

Type annotations and code completion for boto3.client("elementalinference").get_feed method. boto3 documentation

# get_feed method definition

def get_feed(
    self,
    *,
    id: str,
) -> GetFeedResponseTypeDef:  # (1)
    ...
  1. See GetFeedResponseTypeDef
# get_feed method usage example with argument unpacking

kwargs: GetFeedRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_feed(**kwargs)
  1. See GetFeedRequestTypeDef

list_feeds#

Displays a list of feeds that belong to this AWS account.

Type annotations and code completion for boto3.client("elementalinference").list_feeds method. boto3 documentation

# list_feeds method definition

def list_feeds(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListFeedsResponseTypeDef:  # (1)
    ...
  1. See ListFeedsResponseTypeDef
# list_feeds method usage example with argument unpacking

kwargs: ListFeedsRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_feeds(**kwargs)
  1. See ListFeedsRequestTypeDef

list_tags_for_resource#

List all tags that are on an Elemental Inference resource in the current region.

Type annotations and code completion for boto3.client("elementalinference").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestTypeDef

tag_resource#

Associates the specified tags to the resource identified by the specified resourceArn in the current region.

Type annotations and code completion for boto3.client("elementalinference").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestTypeDef

untag_resource#

Deletes specified tags from the specified resource in the current region.

Type annotations and code completion for boto3.client("elementalinference").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestTypeDef

update_feed#

Updates the name and/or outputs in a feed.

Type annotations and code completion for boto3.client("elementalinference").update_feed method. boto3 documentation

# update_feed method definition

def update_feed(
    self,
    *,
    name: str,
    id: str,
    outputs: Sequence[UpdateOutputTypeDef],  # (1)
) -> UpdateFeedResponseTypeDef:  # (2)
    ...
  1. See Sequence[UpdateOutputTypeDef]
  2. See UpdateFeedResponseTypeDef
# update_feed method usage example with argument unpacking

kwargs: UpdateFeedRequestTypeDef = {  # (1)
    "name": ...,
    "id": ...,
    "outputs": ...,
}

parent.update_feed(**kwargs)
  1. See UpdateFeedRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("elementalinference").get_paginator method with overloads.

get_waiter#

Type annotations and code completion for boto3.client("elementalinference").get_waiter method with overloads.