Registry / type-stubs / mypy-boto3-marketplace-deployment

mypy-boto3-marketplace-deployment

JSON →
library1.43.0pypypi✓ verified 23d ago

mypy-boto3-marketplace-deployment provides machine-generated type annotations (type stubs) for the `boto3` AWS SDK's MarketplaceDeploymentService. These stubs enhance static analysis, autocompletion, and error checking in IDEs and type checkers like MyPy, ensuring more robust and maintainable AWS automation scripts. The library is currently at version 1.42.3, mirroring the `boto3` version it types, and is actively maintained with updates generated by `mypy-boto3-builder`.

pip install mypy-boto3-marketplace-deployment
INSTALL
IMPORT
SIG · MYPY-BOTO3-MARKETP
M
mypy-boto3-marketplace-deployment
type-stubspythonv1.43.0
Install
3.3s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.6MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 3.3s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MarketplaceDeploymentServiceClient
from mypy_boto3_marketplace_deployment import MarketplaceDeploymentServiceClient
from mypy_boto3_marketplace_deployment import MarketplaceDeploymentServiceClient

This quickstart demonstrates how to import and use the type-hinted `MarketplaceDeploymentServiceClient` with `boto3`. It includes the recommended `if TYPE_CHECKING` block to ensure type imports are only active during static analysis, avoiding runtime dependencies on the stub package.

import boto3 from typing import TYPE_CHECKING if TYPE_CHECKING: from mypy_boto3_marketplace_deployment import MarketplaceDeploymentServiceClient from mypy_boto3_marketplace_deployment.type_defs import DeploymentParameterInputTypeDef def get_marketplace_deployment_client() -> 'MarketplaceDeploymentServiceClient': """Returns a type-hinted MarketplaceDeploymentService client.""" # boto3.client is dynamically typed, mypy-boto3 provides the static types return boto3.client("marketplace-deployment") # type: ignore[return-value] def process_deployment_parameters(client: 'MarketplaceDeploymentServiceClient') -> None: """Example of using the client with typed input.""" # Example of a typed dictionary for input (replace with actual data) deployment_param: DeploymentParameterInputTypeDef = { "name": "ExampleParam", "value": "ExampleValue" } # In a real scenario, you'd call a client method here, e.g., client.SomeOperation(**deployment_param) print(f"Processing deployment parameter: {deployment_param['name']}") if __name__ == "__main__": client = get_marketplace_deployment_client() process_deployment_parameters(client)
Debug
Known issues
breakingAs of `mypy-boto3-builder` version 8.12.0, Python 3.8 support has been removed. All `mypy-boto3` packages, including this one, now require Python >=3.9.
fix
Upgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >=8.12.0 (and generated stubs)
breakingThe `mypy-boto3-builder` (version 8.9.0) introduced changes to how TypeDef names are generated, potentially shortening them (e.g., `CreateDistributionRequestRequestTypeDef` to `CreateDistributionRequestTypeDef`) or adjusting postfixes for conflicting names. While specific to the builder, this impacts all generated service stubs if such naming conflicts existed.
fix
Review your code for any explicit imports of `TypeDef` names and adjust according to the new naming conventions if they were affected.
affects: mypy-boto3-builder >=8.9.0 (and generated stubs)
gotchaThis package provides type stubs *only* for the `MarketplaceDeploymentService`. For comprehensive `boto3` type annotations covering all services, you should install the `boto3-stubs` metapackage (e.g., `pip install boto3-stubs[full]`) or specific service stubs for each service you use (e.g., `pip install boto3-stubs[s3,ec2]`). Installing only this package will not provide types for other boto3 services.
fix
Install `boto3-stubs` with the appropriate extras (`[full]`, `[all]`, or specific service names) to get type annotations for other AWS services.
affects: All versions
gotchaIt is highly recommended to wrap `mypy-boto3` type imports within `if TYPE_CHECKING:` blocks. This prevents the stub packages from becoming runtime dependencies, keeping your production environment lighter and cleaner. Tools like Pylint might complain about undefined variables without this pattern or by assigning `object` in the `else` branch.
fix
Encapsulate type imports: `from typing import TYPE_CHECKING\nif TYPE_CHECKING:\n    from mypy_boto3_marketplace_deployment import MarketplaceDeploymentServiceClient`
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThese are type stubs for `boto3`; `boto3` itself must be installed and used at runtime for the stubs to be effective.
Agent activity
17 hits · last 30 days
node
12
OpenAI (training)
2
Amazon
1
Resources
mypy-boto3-marketplace-deployment — pip install mypy-boto3-marketplace-deployment · libregistry