Skip to main content

Type annotations for boto3.NimbleStudio 1.24.80 service generated with mypy-boto3-builder 7.11.9

Project description

mypy-boto3-nimble

PyPI - mypy-boto3-nimble PyPI - Python Version Docs PyPI - Downloads

boto3.typed

Type annotations for boto3.NimbleStudio 1.24.80 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.

Generated by mypy-boto3-builder 7.11.9.

More information can be found on boto3-stubs page and in mypy-boto3-nimble docs.

See how it helps to find and fix potential bugs:

boto3-stubs demo

How to install

VSCode extension

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and NimbleStudio.

From PyPI with pip

Install boto3-stubs for NimbleStudio service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[nimble]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[nimble]'


# standalone installation
python -m pip install mypy-boto3-nimble

How to uninstall

python -m pip uninstall -y mypy-boto3-nimble

Usage

VSCode

python -m pip install 'boto3-stubs[nimble]'

Both type checking and code completion should now work. No explicit type annotations required, write your boto3 code as usual.

PyCharm

Install boto3-stubs-lite[nimble] in your environment:

python -m pip install 'boto3-stubs-lite[nimble]'`

Both type checking and code completion should now work. Explicit type annotations are required.

Use boto3-stubs package instead for implicit type discovery.

Emacs

  • Install boto3-stubs with services you use in your environment:
python -m pip install 'boto3-stubs[nimble]'
(use-package lsp-pyright
  :ensure t
  :hook (python-mode . (lambda ()
                          (require 'lsp-pyright)
                          (lsp)))  ; or lsp-deferred
  :init (when (executable-find "python3")
          (setq lsp-pyright-python-executable-cmd "python3"))
  )
  • Make sure emacs uses the environment where you have installed boto3-stubs

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

Sublime Text

  • Install boto3-stubs[nimble] with services you use in your environment:
python -m pip install 'boto3-stubs[nimble]'

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

Other IDEs

Not tested, but as long as your IDE supports mypy or pyright, everything should work.

mypy

  • Install mypy: python -m pip install mypy
  • Install boto3-stubs[nimble] in your environment:
python -m pip install 'boto3-stubs[nimble]'`

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

pyright

  • Install pyright: npm i -g pyright
  • Install boto3-stubs[nimble] in your environment:
python -m pip install 'boto3-stubs[nimble]'

Optionally, you can install boto3-stubs to typings folder.

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

Explicit type annotations

Client annotations

NimbleStudioClient provides annotations for boto3.client("nimble").

from boto3.session import Session

from mypy_boto3_nimble import NimbleStudioClient

client: NimbleStudioClient = Session().client("nimble")

# now client usage is checked by mypy and IDE should provide code completion

Paginators annotations

mypy_boto3_nimble.paginator module contains type annotations for all paginators.

from boto3.session import Session

from mypy_boto3_nimble import NimbleStudioClient
from mypy_boto3_nimble.paginator import (
    ListEulaAcceptancesPaginator,
    ListEulasPaginator,
    ListLaunchProfileMembersPaginator,
    ListLaunchProfilesPaginator,
    ListStreamingImagesPaginator,
    ListStreamingSessionsPaginator,
    ListStudioComponentsPaginator,
    ListStudioMembersPaginator,
    ListStudiosPaginator,
)

client: NimbleStudioClient = Session().client("nimble")

# Explicit type annotations are optional here
# Types should be correctly discovered by mypy and IDEs
list_eula_acceptances_paginator: ListEulaAcceptancesPaginator = client.get_paginator(
    "list_eula_acceptances"
)
list_eulas_paginator: ListEulasPaginator = client.get_paginator("list_eulas")
list_launch_profile_members_paginator: ListLaunchProfileMembersPaginator = client.get_paginator(
    "list_launch_profile_members"
)
list_launch_profiles_paginator: ListLaunchProfilesPaginator = client.get_paginator(
    "list_launch_profiles"
)
list_streaming_images_paginator: ListStreamingImagesPaginator = client.get_paginator(
    "list_streaming_images"
)
list_streaming_sessions_paginator: ListStreamingSessionsPaginator = client.get_paginator(
    "list_streaming_sessions"
)
list_studio_components_paginator: ListStudioComponentsPaginator = client.get_paginator(
    "list_studio_components"
)
list_studio_members_paginator: ListStudioMembersPaginator = client.get_paginator(
    "list_studio_members"
)
list_studios_paginator: ListStudiosPaginator = client.get_paginator("list_studios")

Waiters annotations

mypy_boto3_nimble.waiter module contains type annotations for all waiters.

from boto3.session import Session

from mypy_boto3_nimble import NimbleStudioClient
from mypy_boto3_nimble.waiter import (
    LaunchProfileDeletedWaiter,
    LaunchProfileReadyWaiter,
    StreamingImageDeletedWaiter,
    StreamingImageReadyWaiter,
    StreamingSessionDeletedWaiter,
    StreamingSessionReadyWaiter,
    StreamingSessionStoppedWaiter,
    StreamingSessionStreamReadyWaiter,
    StudioComponentDeletedWaiter,
    StudioComponentReadyWaiter,
    StudioDeletedWaiter,
    StudioReadyWaiter,
)

client: NimbleStudioClient = Session().client("nimble")

# Explicit type annotations are optional here
# Types should be correctly discovered by mypy and IDEs
launch_profile_deleted_waiter: LaunchProfileDeletedWaiter = client.get_waiter(
    "launch_profile_deleted"
)
launch_profile_ready_waiter: LaunchProfileReadyWaiter = client.get_waiter("launch_profile_ready")
streaming_image_deleted_waiter: StreamingImageDeletedWaiter = client.get_waiter(
    "streaming_image_deleted"
)
streaming_image_ready_waiter: StreamingImageReadyWaiter = client.get_waiter("streaming_image_ready")
streaming_session_deleted_waiter: StreamingSessionDeletedWaiter = client.get_waiter(
    "streaming_session_deleted"
)
streaming_session_ready_waiter: StreamingSessionReadyWaiter = client.get_waiter(
    "streaming_session_ready"
)
streaming_session_stopped_waiter: StreamingSessionStoppedWaiter = client.get_waiter(
    "streaming_session_stopped"
)
streaming_session_stream_ready_waiter: StreamingSessionStreamReadyWaiter = client.get_waiter(
    "streaming_session_stream_ready"
)
studio_component_deleted_waiter: StudioComponentDeletedWaiter = client.get_waiter(
    "studio_component_deleted"
)
studio_component_ready_waiter: StudioComponentReadyWaiter = client.get_waiter(
    "studio_component_ready"
)
studio_deleted_waiter: StudioDeletedWaiter = client.get_waiter("studio_deleted")
studio_ready_waiter: StudioReadyWaiter = client.get_waiter("studio_ready")

Literals

mypy_boto3_nimble.literals module contains literals extracted from shapes that can be used in user code for type checking.

from mypy_boto3_nimble.literals import (
    LaunchProfileDeletedWaiterName,
    LaunchProfilePersonaType,
    LaunchProfilePlatformType,
    LaunchProfileReadyWaiterName,
    LaunchProfileStateType,
    LaunchProfileStatusCodeType,
    LaunchProfileValidationStateType,
    LaunchProfileValidationStatusCodeType,
    LaunchProfileValidationTypeType,
    ListEulaAcceptancesPaginatorName,
    ListEulasPaginatorName,
    ListLaunchProfileMembersPaginatorName,
    ListLaunchProfilesPaginatorName,
    ListStreamingImagesPaginatorName,
    ListStreamingSessionsPaginatorName,
    ListStudioComponentsPaginatorName,
    ListStudioMembersPaginatorName,
    ListStudiosPaginatorName,
    StreamingClipboardModeType,
    StreamingImageDeletedWaiterName,
    StreamingImageEncryptionConfigurationKeyTypeType,
    StreamingImageReadyWaiterName,
    StreamingImageStateType,
    StreamingImageStatusCodeType,
    StreamingInstanceTypeType,
    StreamingSessionDeletedWaiterName,
    StreamingSessionReadyWaiterName,
    StreamingSessionStateType,
    StreamingSessionStatusCodeType,
    StreamingSessionStoppedWaiterName,
    StreamingSessionStorageModeType,
    StreamingSessionStreamReadyWaiterName,
    StreamingSessionStreamStateType,
    StreamingSessionStreamStatusCodeType,
    StudioComponentDeletedWaiterName,
    StudioComponentInitializationScriptRunContextType,
    StudioComponentReadyWaiterName,
    StudioComponentStateType,
    StudioComponentStatusCodeType,
    StudioComponentSubtypeType,
    StudioComponentTypeType,
    StudioDeletedWaiterName,
    StudioEncryptionConfigurationKeyTypeType,
    StudioPersonaType,
    StudioReadyWaiterName,
    StudioStateType,
    StudioStatusCodeType,
    NimbleStudioServiceName,
    ServiceName,
    ResourceServiceName,
    PaginatorName,
    WaiterName,
    RegionName,
)


def check_value(value: LaunchProfileDeletedWaiterName) -> bool:
    ...

Typed dictionaries

mypy_boto3_nimble.type_defs module contains structures and shapes assembled to typed dictionaries for additional type checking.

from mypy_boto3_nimble.type_defs import (
    AcceptEulasRequestRequestTypeDef,
    EulaAcceptanceTypeDef,
    ResponseMetadataTypeDef,
    ActiveDirectoryComputerAttributeTypeDef,
    ComputeFarmConfigurationTypeDef,
    CreateStreamingImageRequestRequestTypeDef,
    CreateStreamingSessionRequestRequestTypeDef,
    StreamingSessionTypeDef,
    CreateStreamingSessionStreamRequestRequestTypeDef,
    StreamingSessionStreamTypeDef,
    ScriptParameterKeyValueTypeDef,
    StudioComponentInitializationScriptTypeDef,
    StudioEncryptionConfigurationTypeDef,
    DeleteLaunchProfileMemberRequestRequestTypeDef,
    DeleteLaunchProfileRequestRequestTypeDef,
    DeleteStreamingImageRequestRequestTypeDef,
    DeleteStreamingSessionRequestRequestTypeDef,
    DeleteStudioComponentRequestRequestTypeDef,
    DeleteStudioMemberRequestRequestTypeDef,
    DeleteStudioRequestRequestTypeDef,
    EulaTypeDef,
    GetEulaRequestRequestTypeDef,
    GetLaunchProfileDetailsRequestRequestTypeDef,
    StudioComponentSummaryTypeDef,
    GetLaunchProfileInitializationRequestRequestTypeDef,
    GetLaunchProfileMemberRequestRequestTypeDef,
    LaunchProfileMembershipTypeDef,
    WaiterConfigTypeDef,
    GetLaunchProfileRequestRequestTypeDef,
    GetStreamingImageRequestRequestTypeDef,
    GetStreamingSessionRequestRequestTypeDef,
    GetStreamingSessionStreamRequestRequestTypeDef,
    GetStudioComponentRequestRequestTypeDef,
    GetStudioMemberRequestRequestTypeDef,
    StudioMembershipTypeDef,
    GetStudioRequestRequestTypeDef,
    LaunchProfileInitializationScriptTypeDef,
    ValidationResultTypeDef,
    LicenseServiceConfigurationTypeDef,
    PaginatorConfigTypeDef,
    ListEulaAcceptancesRequestRequestTypeDef,
    ListEulasRequestRequestTypeDef,
    ListLaunchProfileMembersRequestRequestTypeDef,
    ListLaunchProfilesRequestRequestTypeDef,
    ListStreamingImagesRequestRequestTypeDef,
    ListStreamingSessionsRequestRequestTypeDef,
    ListStudioComponentsRequestRequestTypeDef,
    ListStudioMembersRequestRequestTypeDef,
    ListStudiosRequestRequestTypeDef,
    ListTagsForResourceRequestRequestTypeDef,
    NewLaunchProfileMemberTypeDef,
    NewStudioMemberTypeDef,
    SharedFileSystemConfigurationTypeDef,
    StartStreamingSessionRequestRequestTypeDef,
    StartStudioSSOConfigurationRepairRequestRequestTypeDef,
    StopStreamingSessionRequestRequestTypeDef,
    StreamingSessionStorageRootTypeDef,
    StreamingImageEncryptionConfigurationTypeDef,
    TagResourceRequestRequestTypeDef,
    UntagResourceRequestRequestTypeDef,
    UpdateLaunchProfileMemberRequestRequestTypeDef,
    UpdateStreamingImageRequestRequestTypeDef,
    UpdateStudioRequestRequestTypeDef,
    AcceptEulasResponseTypeDef,
    ListEulaAcceptancesResponseTypeDef,
    ListTagsForResourceResponseTypeDef,
    ActiveDirectoryConfigurationTypeDef,
    LaunchProfileInitializationActiveDirectoryTypeDef,
    CreateStreamingSessionResponseTypeDef,
    DeleteStreamingSessionResponseTypeDef,
    GetStreamingSessionResponseTypeDef,
    ListStreamingSessionsResponseTypeDef,
    StartStreamingSessionResponseTypeDef,
    StopStreamingSessionResponseTypeDef,
    CreateStreamingSessionStreamResponseTypeDef,
    GetStreamingSessionStreamResponseTypeDef,
    CreateStudioRequestRequestTypeDef,
    StudioTypeDef,
    GetEulaResponseTypeDef,
    ListEulasResponseTypeDef,
    GetLaunchProfileMemberResponseTypeDef,
    ListLaunchProfileMembersResponseTypeDef,
    UpdateLaunchProfileMemberResponseTypeDef,
    GetLaunchProfileRequestLaunchProfileDeletedWaitTypeDef,
    GetLaunchProfileRequestLaunchProfileReadyWaitTypeDef,
    GetStreamingImageRequestStreamingImageDeletedWaitTypeDef,
    GetStreamingImageRequestStreamingImageReadyWaitTypeDef,
    GetStreamingSessionRequestStreamingSessionDeletedWaitTypeDef,
    GetStreamingSessionRequestStreamingSessionReadyWaitTypeDef,
    GetStreamingSessionRequestStreamingSessionStoppedWaitTypeDef,
    GetStreamingSessionStreamRequestStreamingSessionStreamReadyWaitTypeDef,
    GetStudioComponentRequestStudioComponentDeletedWaitTypeDef,
    GetStudioComponentRequestStudioComponentReadyWaitTypeDef,
    GetStudioRequestStudioDeletedWaitTypeDef,
    GetStudioRequestStudioReadyWaitTypeDef,
    GetStudioMemberResponseTypeDef,
    ListStudioMembersResponseTypeDef,
    ListEulaAcceptancesRequestListEulaAcceptancesPaginateTypeDef,
    ListEulasRequestListEulasPaginateTypeDef,
    ListLaunchProfileMembersRequestListLaunchProfileMembersPaginateTypeDef,
    ListLaunchProfilesRequestListLaunchProfilesPaginateTypeDef,
    ListStreamingImagesRequestListStreamingImagesPaginateTypeDef,
    ListStreamingSessionsRequestListStreamingSessionsPaginateTypeDef,
    ListStudioComponentsRequestListStudioComponentsPaginateTypeDef,
    ListStudioMembersRequestListStudioMembersPaginateTypeDef,
    ListStudiosRequestListStudiosPaginateTypeDef,
    PutLaunchProfileMembersRequestRequestTypeDef,
    PutStudioMembersRequestRequestTypeDef,
    StreamConfigurationSessionStorageTypeDef,
    StreamingImageTypeDef,
    StudioComponentConfigurationTypeDef,
    LaunchProfileInitializationTypeDef,
    CreateStudioResponseTypeDef,
    DeleteStudioResponseTypeDef,
    GetStudioResponseTypeDef,
    ListStudiosResponseTypeDef,
    StartStudioSSOConfigurationRepairResponseTypeDef,
    UpdateStudioResponseTypeDef,
    StreamConfigurationCreateTypeDef,
    StreamConfigurationTypeDef,
    CreateStreamingImageResponseTypeDef,
    DeleteStreamingImageResponseTypeDef,
    GetStreamingImageResponseTypeDef,
    ListStreamingImagesResponseTypeDef,
    UpdateStreamingImageResponseTypeDef,
    CreateStudioComponentRequestRequestTypeDef,
    StudioComponentTypeDef,
    UpdateStudioComponentRequestRequestTypeDef,
    GetLaunchProfileInitializationResponseTypeDef,
    CreateLaunchProfileRequestRequestTypeDef,
    UpdateLaunchProfileRequestRequestTypeDef,
    LaunchProfileTypeDef,
    CreateStudioComponentResponseTypeDef,
    DeleteStudioComponentResponseTypeDef,
    GetStudioComponentResponseTypeDef,
    ListStudioComponentsResponseTypeDef,
    UpdateStudioComponentResponseTypeDef,
    CreateLaunchProfileResponseTypeDef,
    DeleteLaunchProfileResponseTypeDef,
    GetLaunchProfileDetailsResponseTypeDef,
    GetLaunchProfileResponseTypeDef,
    ListLaunchProfilesResponseTypeDef,
    UpdateLaunchProfileResponseTypeDef,
)


def get_structure() -> AcceptEulasRequestRequestTypeDef:
    return {...}

How it works

Fully automated mypy-boto3-builder carefully generates type annotations for each service, patiently waiting for boto3 updates. It delivers a drop-in type annotations for you and makes sure that:

  • All available boto3 services are covered.
  • Each public class and method of every boto3 service gets valid type annotations extracted from the documentation (blame botocore docs if types are incorrect).
  • Type annotations include up-to-date documentation.
  • Link to documentation is provided for every method.
  • Code is processed by black and isort for readability.

What's new

Implemented features

  • Fully type annotated boto3, botocore and aiobotocore libraries
  • mypy, pyright, VSCode, PyCharm, Sublime Text and Emacs compatibility
  • Client, ServiceResource, Resource, Waiter Paginator type annotations for each service
  • Generated TypeDefs for each service
  • Generated Literals for each service
  • Auto discovery of types for boto3.client and boto3.session calls
  • Auto discovery of types for session.client and session.session calls
  • Auto discovery of types for client.get_waiter and client.get_paginator calls
  • Auto discovery of types for ServiceResource and Resource collections
  • Auto discovery of types for aiobotocore.Session.create_client calls

Latest changes

Builder changelog can be found in Releases.

Versioning

mypy-boto3-nimble version is the same as related boto3 version and follows PEP 440 format.

Thank you

Documentation

All services type annotations can be found in boto3 docs

Support and contributing

This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mypy-boto3-nimble-1.24.80.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypy_boto3_nimble-1.24.80-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

Details for the file mypy-boto3-nimble-1.24.80.tar.gz.

File metadata

  • Download URL: mypy-boto3-nimble-1.24.80.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for mypy-boto3-nimble-1.24.80.tar.gz
Algorithm Hash digest
SHA256 284c1e513355e88fb6ab8c09a14356d97bfdf3951ddae8acb2646ba1e8d6f3d8
MD5 c67c8e72c28a5576c8d0aad3e4155753
BLAKE2b-256 5f8d9a145087815d25d9554361b9c4d55a1496911c403e8a427ae3e1c284e5b5

See more details on using hashes here.

File details

Details for the file mypy_boto3_nimble-1.24.80-py3-none-any.whl.

File metadata

File hashes

Hashes for mypy_boto3_nimble-1.24.80-py3-none-any.whl
Algorithm Hash digest
SHA256 841a2e12551ab19749c9425e6dc5584bd770e93d9226bc72876488f88f0df018
MD5 56b8f9ca5227c8e1b2126d18107ac2a3
BLAKE2b-256 316be5236dca03e5e54766491073a2baad0af1baebfabf84c7a1c562fc1a1d23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page