MarketplaceCatalogClient
Index > MarketplaceCatalog > MarketplaceCatalogClient
Auto-generated documentation for MarketplaceCatalog type annotations stubs module mypy-boto3-marketplace-catalog.
MarketplaceCatalogClient
Type annotations and code completion for boto3.client("marketplace-catalog")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_marketplace_catalog.client import MarketplaceCatalogClient
def get_marketplace-catalog_client() -> MarketplaceCatalogClient:
return Session().client("marketplace-catalog")
Exceptions
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("marketplace-catalog").exceptions
structure.
client = boto3.client("marketplace-catalog")
try:
do_something(client)
except (
client.AccessDeniedException,
client.ClientError,
client.InternalServiceException,
client.ResourceInUseException,
client.ResourceNotFoundException,
client.ResourceNotSupportedException,
client.ServiceQuotaExceededException,
client.ThrottlingException,
client.ValidationException,
) as e:
print(e)
from mypy_boto3_marketplace_catalog.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-catalog").can_paginate
method.
boto3 documentation
cancel_change_set
Used to cancel an open change request.
Type annotations and code completion for boto3.client("marketplace-catalog").cancel_change_set
method.
boto3 documentation
def cancel_change_set(
self,
*,
Catalog: str,
ChangeSetId: str,
) -> CancelChangeSetResponseTypeDef: # (1)
...
kwargs: CancelChangeSetRequestRequestTypeDef = { # (1)
"Catalog": ...,
"ChangeSetId": ...,
}
parent.cancel_change_set(**kwargs)
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("marketplace-catalog").close
method.
boto3 documentation
describe_change_set
Provides information about a given change set.
Type annotations and code completion for boto3.client("marketplace-catalog").describe_change_set
method.
boto3 documentation
def describe_change_set(
self,
*,
Catalog: str,
ChangeSetId: str,
) -> DescribeChangeSetResponseTypeDef: # (1)
...
kwargs: DescribeChangeSetRequestRequestTypeDef = { # (1)
"Catalog": ...,
"ChangeSetId": ...,
}
parent.describe_change_set(**kwargs)
describe_entity
Returns the metadata and content of the entity.
Type annotations and code completion for boto3.client("marketplace-catalog").describe_entity
method.
boto3 documentation
def describe_entity(
self,
*,
Catalog: str,
EntityId: str,
) -> DescribeEntityResponseTypeDef: # (1)
...
kwargs: DescribeEntityRequestRequestTypeDef = { # (1)
"Catalog": ...,
"EntityId": ...,
}
parent.describe_entity(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("marketplace-catalog").generate_presigned_url
method.
boto3 documentation
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
list_change_sets
Returns the list of change sets owned by the account being used to make the call.
Type annotations and code completion for boto3.client("marketplace-catalog").list_change_sets
method.
boto3 documentation
def list_change_sets(
self,
*,
Catalog: str,
FilterList: Sequence[FilterTypeDef] = ..., # (1)
Sort: SortTypeDef = ..., # (2)
MaxResults: int = ...,
NextToken: str = ...,
) -> ListChangeSetsResponseTypeDef: # (3)
...
- See FilterTypeDef
- See SortTypeDef
- See ListChangeSetsResponseTypeDef
kwargs: ListChangeSetsRequestRequestTypeDef = { # (1)
"Catalog": ...,
}
parent.list_change_sets(**kwargs)
list_entities
Provides the list of entities of a given type.
Type annotations and code completion for boto3.client("marketplace-catalog").list_entities
method.
boto3 documentation
def list_entities(
self,
*,
Catalog: str,
EntityType: str,
FilterList: Sequence[FilterTypeDef] = ..., # (1)
Sort: SortTypeDef = ..., # (2)
NextToken: str = ...,
MaxResults: int = ...,
) -> ListEntitiesResponseTypeDef: # (3)
...
- See FilterTypeDef
- See SortTypeDef
- See ListEntitiesResponseTypeDef
kwargs: ListEntitiesRequestRequestTypeDef = { # (1)
"Catalog": ...,
"EntityType": ...,
}
parent.list_entities(**kwargs)
list_tags_for_resource
Lists all tags that have been added to a resource (either an
entity_ or change set
<https://docs.aws.amazon.com/marketplace-catalog/latest/api-
reference/welcome.html#working-with-change-se...
.
Type annotations and code completion for boto3.client("marketplace-catalog").list_tags_for_resource
method.
boto3 documentation
def list_tags_for_resource(
self,
*,
ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
start_change_set
Allows you to request changes for your entities.
Type annotations and code completion for boto3.client("marketplace-catalog").start_change_set
method.
boto3 documentation
def start_change_set(
self,
*,
Catalog: str,
ChangeSet: Sequence[ChangeTypeDef], # (1)
ChangeSetName: str = ...,
ClientRequestToken: str = ...,
ChangeSetTags: Sequence[TagTypeDef] = ..., # (2)
) -> StartChangeSetResponseTypeDef: # (3)
...
- See ChangeTypeDef
- See TagTypeDef
- See StartChangeSetResponseTypeDef
kwargs: StartChangeSetRequestRequestTypeDef = { # (1)
"Catalog": ...,
"ChangeSet": ...,
}
parent.start_change_set(**kwargs)
tag_resource
Tags a resource (either an entity or change set ).
Type annotations and code completion for boto3.client("marketplace-catalog").tag_resource
method.
boto3 documentation
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Sequence[TagTypeDef], # (1)
) -> Dict[str, Any]:
...
- See TagTypeDef
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource
Removes a tag or list of tags from a resource (either an entity_ or change set...
Type annotations and code completion for boto3.client("marketplace-catalog").untag_resource
method.
boto3 documentation
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> Dict[str, Any]:
...