IoTFleetHubClient
Index > IoTFleetHub > IoTFleetHubClient
Auto-generated documentation for IoTFleetHub type annotations stubs module mypy-boto3-iotfleethub.
IoTFleetHubClient
Type annotations and code completion for boto3.client("iotfleethub")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_iotfleethub.client import IoTFleetHubClient
def get_iotfleethub_client() -> IoTFleetHubClient:
return Session().client("iotfleethub")
Exceptions
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("iotfleethub").exceptions
structure.
client = boto3.client("iotfleethub")
try:
do_something(client)
except (
client.ClientError,
client.ConflictException,
client.InternalFailureException,
client.InvalidRequestException,
client.LimitExceededException,
client.ResourceNotFoundException,
client.ThrottlingException,
) as e:
print(e)
from mypy_boto3_iotfleethub.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("iotfleethub").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("iotfleethub").close
method.
boto3 documentation
create_application
Creates a Fleet Hub for AWS IoT Device Management web application.
Type annotations and code completion for boto3.client("iotfleethub").create_application
method.
boto3 documentation
def create_application(
self,
*,
applicationName: str,
roleArn: str,
applicationDescription: str = ...,
clientToken: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateApplicationResponseTypeDef: # (1)
...
kwargs: CreateApplicationRequestRequestTypeDef = { # (1)
"applicationName": ...,
"roleArn": ...,
}
parent.create_application(**kwargs)
delete_application
Deletes a Fleet Hub for AWS IoT Device Management web application.
Type annotations and code completion for boto3.client("iotfleethub").delete_application
method.
boto3 documentation
def delete_application(
self,
*,
applicationId: str,
clientToken: str = ...,
) -> Dict[str, Any]:
...
kwargs: DeleteApplicationRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.delete_application(**kwargs)
describe_application
Gets information about a Fleet Hub for AWS IoT Device Management web application.
Type annotations and code completion for boto3.client("iotfleethub").describe_application
method.
boto3 documentation
def describe_application(
self,
*,
applicationId: str,
) -> DescribeApplicationResponseTypeDef: # (1)
...
kwargs: DescribeApplicationRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.describe_application(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("iotfleethub").generate_presigned_url
method.
boto3 documentation
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
list_applications
Gets a list of Fleet Hub for AWS IoT Device Management web applications for the current account.
Type annotations and code completion for boto3.client("iotfleethub").list_applications
method.
boto3 documentation
def list_applications(
self,
*,
nextToken: str = ...,
) -> ListApplicationsResponseTypeDef: # (1)
...
kwargs: ListApplicationsRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_applications(**kwargs)
list_tags_for_resource
Lists the tags for the specified resource.
Type annotations and code completion for boto3.client("iotfleethub").list_tags_for_resource
method.
boto3 documentation
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
tag_resource
Adds to or modifies the tags of the specified resource.
Type annotations and code completion for boto3.client("iotfleethub").tag_resource
method.
boto3 documentation
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> Dict[str, Any]:
...
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource
Removes the specified tags (metadata) from the resource.
Type annotations and code completion for boto3.client("iotfleethub").untag_resource
method.
boto3 documentation
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_application
Updates information about a Fleet Hub for a AWS IoT Device Management web application.
Type annotations and code completion for boto3.client("iotfleethub").update_application
method.
boto3 documentation
def update_application(
self,
*,
applicationId: str,
applicationName: str = ...,
applicationDescription: str = ...,
clientToken: str = ...,
) -> Dict[str, Any]:
...
kwargs: UpdateApplicationRequestRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.update_application(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("iotfleethub").get_paginator
method with overloads.
client.get_paginator("list_applications")
-> ListApplicationsPaginator