NimbleStudioClient#
Index > NimbleStudio > NimbleStudioClient
Auto-generated documentation for NimbleStudio type annotations stubs module mypy-boto3-nimble.
NimbleStudioClient#
Type annotations and code completion for boto3.client("nimble")
.
boto3 documentation
# NimbleStudioClient usage example
from boto3.session import Session
from mypy_boto3_nimble.client import NimbleStudioClient
def get_nimble_client() -> NimbleStudioClient:
return Session().client("nimble")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("nimble").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("nimble")
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.ThrottlingException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_nimble.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
accept_eulas#
Accept EULAs.
Type annotations and code completion for boto3.client("nimble").accept_eulas
method.
boto3 documentation
# accept_eulas method definition
def accept_eulas(
self,
*,
studioId: str,
clientToken: str = ...,
eulaIds: Sequence[str] = ...,
) -> AcceptEulasResponseTypeDef: # (1)
...
# accept_eulas method usage example with argument unpacking
kwargs: AcceptEulasRequestRequestTypeDef = { # (1)
"studioId": ...,
}
parent.accept_eulas(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("nimble").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("nimble").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_launch_profile#
Create a launch profile.
Type annotations and code completion for boto3.client("nimble").create_launch_profile
method.
boto3 documentation
# create_launch_profile method definition
def create_launch_profile(
self,
*,
ec2SubnetIds: Sequence[str],
launchProfileProtocolVersions: Sequence[str],
name: str,
streamConfiguration: StreamConfigurationCreateTypeDef, # (1)
studioComponentIds: Sequence[str],
studioId: str,
clientToken: str = ...,
description: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateLaunchProfileResponseTypeDef: # (2)
...
# create_launch_profile method usage example with argument unpacking
kwargs: CreateLaunchProfileRequestRequestTypeDef = { # (1)
"ec2SubnetIds": ...,
"launchProfileProtocolVersions": ...,
"name": ...,
"streamConfiguration": ...,
"studioComponentIds": ...,
"studioId": ...,
}
parent.create_launch_profile(**kwargs)
create_streaming_image#
Creates a streaming image resource in a studio.
Type annotations and code completion for boto3.client("nimble").create_streaming_image
method.
boto3 documentation
# create_streaming_image method definition
def create_streaming_image(
self,
*,
ec2ImageId: str,
name: str,
studioId: str,
clientToken: str = ...,
description: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateStreamingImageResponseTypeDef: # (1)
...
# create_streaming_image method usage example with argument unpacking
kwargs: CreateStreamingImageRequestRequestTypeDef = { # (1)
"ec2ImageId": ...,
"name": ...,
"studioId": ...,
}
parent.create_streaming_image(**kwargs)
create_streaming_session#
Creates a streaming session in a studio.
Type annotations and code completion for boto3.client("nimble").create_streaming_session
method.
boto3 documentation
# create_streaming_session method definition
def create_streaming_session(
self,
*,
launchProfileId: str,
studioId: str,
clientToken: str = ...,
ec2InstanceType: StreamingInstanceTypeType =