Skip to content

MarketplaceDeploymentServiceClient#

Index > MarketplaceDeploymentService > MarketplaceDeploymentServiceClient

Auto-generated documentation for MarketplaceDeploymentService type annotations stubs module mypy-boto3-marketplace-deployment.

MarketplaceDeploymentServiceClient#

Type annotations and code completion for boto3.client("marketplace-deployment"). boto3 documentation

# MarketplaceDeploymentServiceClient usage example

from boto3.session import Session
from mypy_boto3_marketplace_deployment.client import MarketplaceDeploymentServiceClient

def get_marketplace-deployment_client() -> MarketplaceDeploymentServiceClient:
    return Session().client("marketplace-deployment")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("marketplace-deployment").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("marketplace-deployment")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_marketplace_deployment.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("marketplace-deployment").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("marketplace-deployment").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("marketplace-deployment").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

list_tags_for_resource#

Lists all tags that have been added to a deployment parameter resource.

Type annotations and code completion for boto3.client("marketplace-deployment").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

put_deployment_parameter#

Creates or updates a deployment parameter and is targeted by catalog and agreementId.

Type annotations and code completion for boto3.client("marketplace-deployment").put_deployment_parameter method. boto3 documentation

# put_deployment_parameter method definition

def put_deployment_parameter(
    self,
    *,
    agreementId: str,
    catalog: str,
    deploymentParameter: DeploymentParameterInputTypeDef,  # (1)
    productId: str,
    clientToken: str = ...,
    expirationDate: Union[datetime, str] = ...,
    tags: Mapping[str, str] = ...,
) -> PutDeploymentParameterResponseTypeDef:  # (2)
    ...
  1. See DeploymentParameterInputTypeDef
  2. See PutDeploymentParameterResponseTypeDef
# put_deployment_parameter method usage example with argument unpacking

kwargs: PutDeploymentParameterRequestRequestTypeDef = {  # (1)
    "agreementId": ...,
    "catalog": ...,
    "deploymentParameter": ...,
    "productId": ...,
}

parent.put_deployment_parameter(**kwargs)
  1. See PutDeploymentParameterRequestRequestTypeDef

tag_resource#

Tags a resource.

Type annotations and code completion for boto3.client("marketplace-deployment").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str] = ...,
) -> Dict[str, Any]:
    ...
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes a tag or list of tags from a resource.

Type annotations and code completion for boto3.client("marketplace-deployment").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef