Skip to content

IoTFleetHubClient#

Index > IoTFleetHub > IoTFleetHubClient

Auto-generated documentation for IoTFleetHub type annotations stubs module types-aiobotocore-iotfleethub.

IoTFleetHubClient#

Type annotations and code completion for session.create_client("iotfleethub") boto3 documentation

# IoTFleetHubClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_iotfleethub.client import IoTFleetHubClient

session = get_session()
async with session.create_client("iotfleethub") as client:
    client: IoTFleetHubClient

Exceptions#

aiobotocore client exceptions are generated in runtime. This class provides code completion for session.create_client("iotfleethub").exceptions structure.

# IoTFleetHubClient.exceptions usage example

async with session.create_client("iotfleethub") as client:
    try:
        do_something(client)
    except (
            client.ClientError,
        client.ConflictException,
        client.InternalFailureException,
        client.InvalidRequestException,
        client.LimitExceededException,
        client.ResourceNotFoundException,
        client.ThrottlingException,
    ) as e:
        print(e)
# IoTFleetHubClient usage type checking example

from types_aiobotocore_iotfleethub.client import Exceptions

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

Methods#

can_paginate#

Type annotations and code completion for session.create_client("iotfleethub").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 session.create_client("iotfleethub").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

await def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

create_application#

Creates a Fleet Hub for IoT Device Management web application.

Type annotations and code completion for session.create_client("iotfleethub").create_application method. boto3 documentation

# create_application method definition

await def create_application(
    self,
    *,
    applicationName: str,
    roleArn: str,
    applicationDescription: str = ...,
    clientToken: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateApplicationResponseTypeDef:  # (1)
    ...
  1. See CreateApplicationResponseTypeDef
# create_application method usage example with argument unpacking

kwargs: CreateApplicationRequestTypeDef = {  # (1)
    "applicationName": ...,
    "roleArn": ...,
}

parent.create_application(**kwargs)
  1. See CreateApplicationRequestTypeDef

delete_application#

Deletes a Fleet Hub for IoT Device Management web application.

Type annotations and code completion for session.create_client("iotfleethub").delete_application method. boto3 documentation

# delete_application method definition

await def delete_application(
    self,
    *,
    applicationId: str,
    clientToken: str = ...,
) -> Dict[str, Any]:
    ...
# delete_application method usage example with argument unpacking

kwargs: DeleteApplicationRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.delete_application(**kwargs)
  1. See DeleteApplicationRequestTypeDef

describe_application#

Gets information about a Fleet Hub for IoT Device Management web application.

Type annotations and code completion for session.create_client("iotfleethub").describe_application method. boto3 documentation

# describe_application method definition

await def describe_application(
    self,
    *,
    applicationId: str,
) -> DescribeApplicationResponseTypeDef:  # (1)
    ...
  1. See DescribeApplicationResponseTypeDef
# describe_application method usage example with argument unpacking

kwargs: DescribeApplicationRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.describe_application(**kwargs)
  1. See DescribeApplicationRequestTypeDef

list_applications#

Gets a list of Fleet Hub for IoT Device Management web applications for the current account.

Type annotations and code completion for session.create_client("iotfleethub").list_applications method. boto3 documentation

# list_applications method definition

await def list_applications(
    self,
    *,
    nextToken: str = ...,
) -> ListApplicationsResponseTypeDef:  # (1)
    ...
  1. See ListApplicationsResponseTypeDef
# list_applications method usage example with argument unpacking

kwargs: ListApplicationsRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_applications(**kwargs)
  1. See ListApplicationsRequestTypeDef

list_tags_for_resource#

Lists the tags for the specified resource.

Type annotations and code completion for session.create_client("iotfleethub").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

await 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#

Adds to or modifies the tags of the specified resource.

Type annotations and code completion for session.create_client("iotfleethub").tag_resource method. boto3 documentation

# tag_resource method definition

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

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

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

untag_resource#

Removes the specified tags (metadata) from the resource.

Type annotations and code completion for session.create_client("iotfleethub").untag_resource method. boto3 documentation

# untag_resource method definition

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

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

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

update_application#

Updates information about a Fleet Hub for IoT Device Management web application.

Type annotations and code completion for session.create_client("iotfleethub").update_application method. boto3 documentation

# update_application method definition

await def update_application(
    self,
    *,
    applicationId: str,
    applicationName: str = ...,
    applicationDescription: str = ...,
    clientToken: str = ...,
) -> Dict[str, Any]:
    ...
# update_application method usage example with argument unpacking

kwargs: UpdateApplicationRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.update_application(**kwargs)
  1. See UpdateApplicationRequestTypeDef

__aenter__#

Type annotations and code completion for session.create_client("iotfleethub").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> Self:
    ...

__aexit__#

Type annotations and code completion for session.create_client("iotfleethub").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Type[BaseException] | None,
    exc_val: BaseException | None,
    exc_tb: types.TracebackType | None,
) -> None:
    ...

get_paginator#

Type annotations and code completion for session.create_client("iotfleethub").get_paginator method with overloads.