Skip to content

LicenseManagerLinuxSubscriptions module

Index > LicenseManagerLinuxSubscriptions

Auto-generated documentation for LicenseManagerLinuxSubscriptions type annotations stubs module mypy-boto3-license-manager-linux-subscriptions.

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 LicenseManagerLinuxSubscriptions.

From PyPI with pip

Install boto3-stubs for LicenseManagerLinuxSubscriptions service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[license-manager-linux-subscriptions]'


# 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[license-manager-linux-subscriptions]'


# standalone installation
python -m pip install mypy-boto3-license-manager-linux-subscriptions

How to uninstall

python -m pip uninstall -y mypy-boto3-license-manager-linux-subscriptions

Usage

Code samples can be found in Examples.

LicenseManagerLinuxSubscriptionsClient

Type annotations and code completion for boto3.client("license-manager-linux-subscriptions") as LicenseManagerLinuxSubscriptionsClient boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_license_manager_linux_subscriptions.client import LicenseManagerLinuxSubscriptionsClient

def get_client() -> LicenseManagerLinuxSubscriptionsClient:
    return Session().client("license-manager-linux-subscriptions")

Paginators

Type annotations and code completion for paginators from boto3.client("license-manager-linux-subscriptions").get_paginator("...").

Usage example
from boto3.session import Session

from mypy_boto3_license_manager_linux_subscriptions.paginator import ListLinuxSubscriptionInstancesPaginator

def get_list_linux_subscription_instances_paginator() -> ListLinuxSubscriptionInstancesPaginator:
    return Session().client("license-manager-linux-subscriptions").get_paginator("list_linux_subscription_instances"))

Literals

Type annotations for literals used in methods and schemas.

Usage example
from mypy_boto3_license_manager_linux_subscriptions.literals import LinuxSubscriptionsDiscoveryType

def get_value() -> LinuxSubscriptionsDiscoveryType:
    return "Disabled"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from mypy_boto3_license_manager_linux_subscriptions.type_defs import FilterTypeDef

def get_value() -> FilterTypeDef:
    return {
        "Name": ...,
    }