types-boto3-marketplace-catalog 1.36.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- types_boto3_marketplace_catalog/__init__.py +31 -0
- types_boto3_marketplace_catalog/__init__.pyi +30 -0
- types_boto3_marketplace_catalog/__main__.py +43 -0
- types_boto3_marketplace_catalog/client.py +277 -0
- types_boto3_marketplace_catalog/client.pyi +274 -0
- types_boto3_marketplace_catalog/literals.py +518 -0
- types_boto3_marketplace_catalog/literals.pyi +516 -0
- types_boto3_marketplace_catalog/paginator.py +89 -0
- types_boto3_marketplace_catalog/paginator.pyi +82 -0
- types_boto3_marketplace_catalog/py.typed +0 -0
- types_boto3_marketplace_catalog/type_defs.py +796 -0
- types_boto3_marketplace_catalog/type_defs.pyi +688 -0
- types_boto3_marketplace_catalog/version.py +7 -0
- types_boto3_marketplace_catalog-1.36.0.dist-info/LICENSE +21 -0
- types_boto3_marketplace_catalog-1.36.0.dist-info/METADATA +484 -0
- types_boto3_marketplace_catalog-1.36.0.dist-info/RECORD +18 -0
- types_boto3_marketplace_catalog-1.36.0.dist-info/WHEEL +5 -0
- types_boto3_marketplace_catalog-1.36.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for marketplace-catalog service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_marketplace_catalog import (
|
|
9
|
+
Client,
|
|
10
|
+
ListChangeSetsPaginator,
|
|
11
|
+
ListEntitiesPaginator,
|
|
12
|
+
MarketplaceCatalogClient,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
session = Session()
|
|
16
|
+
client: MarketplaceCatalogClient = session.client("marketplace-catalog")
|
|
17
|
+
|
|
18
|
+
list_change_sets_paginator: ListChangeSetsPaginator = client.get_paginator("list_change_sets")
|
|
19
|
+
list_entities_paginator: ListEntitiesPaginator = client.get_paginator("list_entities")
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Copyright 2025 Vlad Emelianov
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from .client import MarketplaceCatalogClient
|
|
26
|
+
from .paginator import ListChangeSetsPaginator, ListEntitiesPaginator
|
|
27
|
+
|
|
28
|
+
Client = MarketplaceCatalogClient
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
__all__ = ("Client", "ListChangeSetsPaginator", "ListEntitiesPaginator", "MarketplaceCatalogClient")
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for marketplace-catalog service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_marketplace_catalog import (
|
|
9
|
+
Client,
|
|
10
|
+
ListChangeSetsPaginator,
|
|
11
|
+
ListEntitiesPaginator,
|
|
12
|
+
MarketplaceCatalogClient,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
session = Session()
|
|
16
|
+
client: MarketplaceCatalogClient = session.client("marketplace-catalog")
|
|
17
|
+
|
|
18
|
+
list_change_sets_paginator: ListChangeSetsPaginator = client.get_paginator("list_change_sets")
|
|
19
|
+
list_entities_paginator: ListEntitiesPaginator = client.get_paginator("list_entities")
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Copyright 2025 Vlad Emelianov
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from .client import MarketplaceCatalogClient
|
|
26
|
+
from .paginator import ListChangeSetsPaginator, ListEntitiesPaginator
|
|
27
|
+
|
|
28
|
+
Client = MarketplaceCatalogClient
|
|
29
|
+
|
|
30
|
+
__all__ = ("Client", "ListChangeSetsPaginator", "ListEntitiesPaginator", "MarketplaceCatalogClient")
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def print_info() -> None:
|
|
11
|
+
"""
|
|
12
|
+
Print package info to stdout.
|
|
13
|
+
"""
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 MarketplaceCatalog 1.36.0\n"
|
|
16
|
+
"Version: 1.36.0\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
|
+
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog.html#marketplacecatalog\n"
|
|
20
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def print_version() -> None:
|
|
26
|
+
"""
|
|
27
|
+
Print package version to stdout.
|
|
28
|
+
"""
|
|
29
|
+
sys.stdout.write("1.36.0\n")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def main() -> None:
|
|
33
|
+
"""
|
|
34
|
+
Main CLI entrypoint.
|
|
35
|
+
"""
|
|
36
|
+
if "--version" in sys.argv:
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
39
|
+
print_info()
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
if __name__ == "__main__":
|
|
43
|
+
main()
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for marketplace-catalog service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_marketplace_catalog.client import MarketplaceCatalogClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: MarketplaceCatalogClient = session.client("marketplace-catalog")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from typing import Any, overload
|
|
23
|
+
|
|
24
|
+
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
27
|
+
|
|
28
|
+
from .paginator import ListChangeSetsPaginator, ListEntitiesPaginator
|
|
29
|
+
from .type_defs import (
|
|
30
|
+
BatchDescribeEntitiesRequestRequestTypeDef,
|
|
31
|
+
BatchDescribeEntitiesResponseTypeDef,
|
|
32
|
+
CancelChangeSetRequestRequestTypeDef,
|
|
33
|
+
CancelChangeSetResponseTypeDef,
|
|
34
|
+
DeleteResourcePolicyRequestRequestTypeDef,
|
|
35
|
+
DescribeChangeSetRequestRequestTypeDef,
|
|
36
|
+
DescribeChangeSetResponseTypeDef,
|
|
37
|
+
DescribeEntityRequestRequestTypeDef,
|
|
38
|
+
DescribeEntityResponseTypeDef,
|
|
39
|
+
GetResourcePolicyRequestRequestTypeDef,
|
|
40
|
+
GetResourcePolicyResponseTypeDef,
|
|
41
|
+
ListChangeSetsRequestRequestTypeDef,
|
|
42
|
+
ListChangeSetsResponseTypeDef,
|
|
43
|
+
ListEntitiesRequestRequestTypeDef,
|
|
44
|
+
ListEntitiesResponseTypeDef,
|
|
45
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
46
|
+
ListTagsForResourceResponseTypeDef,
|
|
47
|
+
PutResourcePolicyRequestRequestTypeDef,
|
|
48
|
+
StartChangeSetRequestRequestTypeDef,
|
|
49
|
+
StartChangeSetResponseTypeDef,
|
|
50
|
+
TagResourceRequestRequestTypeDef,
|
|
51
|
+
UntagResourceRequestRequestTypeDef,
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
if sys.version_info >= (3, 9):
|
|
55
|
+
from builtins import dict as Dict
|
|
56
|
+
from builtins import type as Type
|
|
57
|
+
from collections.abc import Mapping
|
|
58
|
+
else:
|
|
59
|
+
from typing import Dict, Mapping, Type
|
|
60
|
+
if sys.version_info >= (3, 12):
|
|
61
|
+
from typing import Literal, Unpack
|
|
62
|
+
else:
|
|
63
|
+
from typing_extensions import Literal, Unpack
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
__all__ = ("MarketplaceCatalogClient",)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class Exceptions(BaseClientExceptions):
|
|
70
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
71
|
+
ClientError: Type[BotocoreClientError]
|
|
72
|
+
InternalServiceException: Type[BotocoreClientError]
|
|
73
|
+
ResourceInUseException: Type[BotocoreClientError]
|
|
74
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
75
|
+
ResourceNotSupportedException: Type[BotocoreClientError]
|
|
76
|
+
ServiceQuotaExceededException: Type[BotocoreClientError]
|
|
77
|
+
ThrottlingException: Type[BotocoreClientError]
|
|
78
|
+
ValidationException: Type[BotocoreClientError]
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class MarketplaceCatalogClient(BaseClient):
|
|
82
|
+
"""
|
|
83
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog.html#MarketplaceCatalog.Client)
|
|
84
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/)
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
meta: ClientMeta
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def exceptions(self) -> Exceptions:
|
|
91
|
+
"""
|
|
92
|
+
MarketplaceCatalogClient exceptions.
|
|
93
|
+
|
|
94
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog.html#MarketplaceCatalog.Client)
|
|
95
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#exceptions)
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
99
|
+
"""
|
|
100
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/can_paginate.html)
|
|
101
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#can_paginate)
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
def generate_presigned_url(
|
|
105
|
+
self,
|
|
106
|
+
ClientMethod: str,
|
|
107
|
+
Params: Mapping[str, Any] = ...,
|
|
108
|
+
ExpiresIn: int = 3600,
|
|
109
|
+
HttpMethod: str = ...,
|
|
110
|
+
) -> str:
|
|
111
|
+
"""
|
|
112
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/generate_presigned_url.html)
|
|
113
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#generate_presigned_url)
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
def batch_describe_entities(
|
|
117
|
+
self, **kwargs: Unpack[BatchDescribeEntitiesRequestRequestTypeDef]
|
|
118
|
+
) -> BatchDescribeEntitiesResponseTypeDef:
|
|
119
|
+
"""
|
|
120
|
+
Returns metadata and content for multiple entities.
|
|
121
|
+
|
|
122
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/batch_describe_entities.html)
|
|
123
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#batch_describe_entities)
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
def cancel_change_set(
|
|
127
|
+
self, **kwargs: Unpack[CancelChangeSetRequestRequestTypeDef]
|
|
128
|
+
) -> CancelChangeSetResponseTypeDef:
|
|
129
|
+
"""
|
|
130
|
+
Used to cancel an open change request.
|
|
131
|
+
|
|
132
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/cancel_change_set.html)
|
|
133
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#cancel_change_set)
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
def delete_resource_policy(
|
|
137
|
+
self, **kwargs: Unpack[DeleteResourcePolicyRequestRequestTypeDef]
|
|
138
|
+
) -> Dict[str, Any]:
|
|
139
|
+
"""
|
|
140
|
+
Deletes a resource-based policy on an entity that is identified by its resource
|
|
141
|
+
ARN.
|
|
142
|
+
|
|
143
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/delete_resource_policy.html)
|
|
144
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#delete_resource_policy)
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
def describe_change_set(
|
|
148
|
+
self, **kwargs: Unpack[DescribeChangeSetRequestRequestTypeDef]
|
|
149
|
+
) -> DescribeChangeSetResponseTypeDef:
|
|
150
|
+
"""
|
|
151
|
+
Provides information about a given change set.
|
|
152
|
+
|
|
153
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/describe_change_set.html)
|
|
154
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#describe_change_set)
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
def describe_entity(
|
|
158
|
+
self, **kwargs: Unpack[DescribeEntityRequestRequestTypeDef]
|
|
159
|
+
) -> DescribeEntityResponseTypeDef:
|
|
160
|
+
"""
|
|
161
|
+
Returns the metadata and content of the entity.
|
|
162
|
+
|
|
163
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/describe_entity.html)
|
|
164
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#describe_entity)
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
def get_resource_policy(
|
|
168
|
+
self, **kwargs: Unpack[GetResourcePolicyRequestRequestTypeDef]
|
|
169
|
+
) -> GetResourcePolicyResponseTypeDef:
|
|
170
|
+
"""
|
|
171
|
+
Gets a resource-based policy of an entity that is identified by its resource
|
|
172
|
+
ARN.
|
|
173
|
+
|
|
174
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/get_resource_policy.html)
|
|
175
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#get_resource_policy)
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
def list_change_sets(
|
|
179
|
+
self, **kwargs: Unpack[ListChangeSetsRequestRequestTypeDef]
|
|
180
|
+
) -> ListChangeSetsResponseTypeDef:
|
|
181
|
+
"""
|
|
182
|
+
Returns the list of change sets owned by the account being used to make the
|
|
183
|
+
call.
|
|
184
|
+
|
|
185
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/list_change_sets.html)
|
|
186
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#list_change_sets)
|
|
187
|
+
"""
|
|
188
|
+
|
|
189
|
+
def list_entities(
|
|
190
|
+
self, **kwargs: Unpack[ListEntitiesRequestRequestTypeDef]
|
|
191
|
+
) -> ListEntitiesResponseTypeDef:
|
|
192
|
+
"""
|
|
193
|
+
Provides the list of entities of a given type.
|
|
194
|
+
|
|
195
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/list_entities.html)
|
|
196
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#list_entities)
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
def list_tags_for_resource(
|
|
200
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
201
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
202
|
+
"""
|
|
203
|
+
Lists all tags that have been added to a resource (either an <a
|
|
204
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities">entity</a>
|
|
205
|
+
or <a
|
|
206
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-chang...
|
|
207
|
+
|
|
208
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/list_tags_for_resource.html)
|
|
209
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#list_tags_for_resource)
|
|
210
|
+
"""
|
|
211
|
+
|
|
212
|
+
def put_resource_policy(
|
|
213
|
+
self, **kwargs: Unpack[PutResourcePolicyRequestRequestTypeDef]
|
|
214
|
+
) -> Dict[str, Any]:
|
|
215
|
+
"""
|
|
216
|
+
Attaches a resource-based policy to an entity.
|
|
217
|
+
|
|
218
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/put_resource_policy.html)
|
|
219
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#put_resource_policy)
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
def start_change_set(
|
|
223
|
+
self, **kwargs: Unpack[StartChangeSetRequestRequestTypeDef]
|
|
224
|
+
) -> StartChangeSetResponseTypeDef:
|
|
225
|
+
"""
|
|
226
|
+
Allows you to request changes for your entities.
|
|
227
|
+
|
|
228
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/start_change_set.html)
|
|
229
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#start_change_set)
|
|
230
|
+
"""
|
|
231
|
+
|
|
232
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
233
|
+
"""
|
|
234
|
+
Tags a resource (either an <a
|
|
235
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities">entity</a>
|
|
236
|
+
or <a
|
|
237
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets">change
|
|
238
|
+
set</a>).
|
|
239
|
+
|
|
240
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/tag_resource.html)
|
|
241
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#tag_resource)
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
def untag_resource(
|
|
245
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
246
|
+
) -> Dict[str, Any]:
|
|
247
|
+
"""
|
|
248
|
+
Removes a tag or list of tags from a resource (either an <a
|
|
249
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities">entity</a>
|
|
250
|
+
or <a
|
|
251
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-se...
|
|
252
|
+
|
|
253
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/untag_resource.html)
|
|
254
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#untag_resource)
|
|
255
|
+
"""
|
|
256
|
+
|
|
257
|
+
@overload # type: ignore[override]
|
|
258
|
+
def get_paginator( # type: ignore[override]
|
|
259
|
+
self, operation_name: Literal["list_change_sets"]
|
|
260
|
+
) -> ListChangeSetsPaginator:
|
|
261
|
+
"""
|
|
262
|
+
Create a paginator for an operation.
|
|
263
|
+
|
|
264
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/get_paginator.html)
|
|
265
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#get_paginator)
|
|
266
|
+
"""
|
|
267
|
+
|
|
268
|
+
@overload # type: ignore[override]
|
|
269
|
+
def get_paginator( # type: ignore[override]
|
|
270
|
+
self, operation_name: Literal["list_entities"]
|
|
271
|
+
) -> ListEntitiesPaginator:
|
|
272
|
+
"""
|
|
273
|
+
Create a paginator for an operation.
|
|
274
|
+
|
|
275
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/get_paginator.html)
|
|
276
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#get_paginator)
|
|
277
|
+
"""
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for marketplace-catalog service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_marketplace_catalog.client import MarketplaceCatalogClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: MarketplaceCatalogClient = session.client("marketplace-catalog")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from typing import Any, overload
|
|
23
|
+
|
|
24
|
+
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
27
|
+
|
|
28
|
+
from .paginator import ListChangeSetsPaginator, ListEntitiesPaginator
|
|
29
|
+
from .type_defs import (
|
|
30
|
+
BatchDescribeEntitiesRequestRequestTypeDef,
|
|
31
|
+
BatchDescribeEntitiesResponseTypeDef,
|
|
32
|
+
CancelChangeSetRequestRequestTypeDef,
|
|
33
|
+
CancelChangeSetResponseTypeDef,
|
|
34
|
+
DeleteResourcePolicyRequestRequestTypeDef,
|
|
35
|
+
DescribeChangeSetRequestRequestTypeDef,
|
|
36
|
+
DescribeChangeSetResponseTypeDef,
|
|
37
|
+
DescribeEntityRequestRequestTypeDef,
|
|
38
|
+
DescribeEntityResponseTypeDef,
|
|
39
|
+
GetResourcePolicyRequestRequestTypeDef,
|
|
40
|
+
GetResourcePolicyResponseTypeDef,
|
|
41
|
+
ListChangeSetsRequestRequestTypeDef,
|
|
42
|
+
ListChangeSetsResponseTypeDef,
|
|
43
|
+
ListEntitiesRequestRequestTypeDef,
|
|
44
|
+
ListEntitiesResponseTypeDef,
|
|
45
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
46
|
+
ListTagsForResourceResponseTypeDef,
|
|
47
|
+
PutResourcePolicyRequestRequestTypeDef,
|
|
48
|
+
StartChangeSetRequestRequestTypeDef,
|
|
49
|
+
StartChangeSetResponseTypeDef,
|
|
50
|
+
TagResourceRequestRequestTypeDef,
|
|
51
|
+
UntagResourceRequestRequestTypeDef,
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
if sys.version_info >= (3, 9):
|
|
55
|
+
from builtins import dict as Dict
|
|
56
|
+
from builtins import type as Type
|
|
57
|
+
from collections.abc import Mapping
|
|
58
|
+
else:
|
|
59
|
+
from typing import Dict, Mapping, Type
|
|
60
|
+
if sys.version_info >= (3, 12):
|
|
61
|
+
from typing import Literal, Unpack
|
|
62
|
+
else:
|
|
63
|
+
from typing_extensions import Literal, Unpack
|
|
64
|
+
|
|
65
|
+
__all__ = ("MarketplaceCatalogClient",)
|
|
66
|
+
|
|
67
|
+
class Exceptions(BaseClientExceptions):
|
|
68
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
69
|
+
ClientError: Type[BotocoreClientError]
|
|
70
|
+
InternalServiceException: Type[BotocoreClientError]
|
|
71
|
+
ResourceInUseException: Type[BotocoreClientError]
|
|
72
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
73
|
+
ResourceNotSupportedException: Type[BotocoreClientError]
|
|
74
|
+
ServiceQuotaExceededException: Type[BotocoreClientError]
|
|
75
|
+
ThrottlingException: Type[BotocoreClientError]
|
|
76
|
+
ValidationException: Type[BotocoreClientError]
|
|
77
|
+
|
|
78
|
+
class MarketplaceCatalogClient(BaseClient):
|
|
79
|
+
"""
|
|
80
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog.html#MarketplaceCatalog.Client)
|
|
81
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/)
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
meta: ClientMeta
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def exceptions(self) -> Exceptions:
|
|
88
|
+
"""
|
|
89
|
+
MarketplaceCatalogClient exceptions.
|
|
90
|
+
|
|
91
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog.html#MarketplaceCatalog.Client)
|
|
92
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#exceptions)
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
96
|
+
"""
|
|
97
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/can_paginate.html)
|
|
98
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#can_paginate)
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
def generate_presigned_url(
|
|
102
|
+
self,
|
|
103
|
+
ClientMethod: str,
|
|
104
|
+
Params: Mapping[str, Any] = ...,
|
|
105
|
+
ExpiresIn: int = 3600,
|
|
106
|
+
HttpMethod: str = ...,
|
|
107
|
+
) -> str:
|
|
108
|
+
"""
|
|
109
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/generate_presigned_url.html)
|
|
110
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#generate_presigned_url)
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
def batch_describe_entities(
|
|
114
|
+
self, **kwargs: Unpack[BatchDescribeEntitiesRequestRequestTypeDef]
|
|
115
|
+
) -> BatchDescribeEntitiesResponseTypeDef:
|
|
116
|
+
"""
|
|
117
|
+
Returns metadata and content for multiple entities.
|
|
118
|
+
|
|
119
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/batch_describe_entities.html)
|
|
120
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#batch_describe_entities)
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
def cancel_change_set(
|
|
124
|
+
self, **kwargs: Unpack[CancelChangeSetRequestRequestTypeDef]
|
|
125
|
+
) -> CancelChangeSetResponseTypeDef:
|
|
126
|
+
"""
|
|
127
|
+
Used to cancel an open change request.
|
|
128
|
+
|
|
129
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/cancel_change_set.html)
|
|
130
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#cancel_change_set)
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
def delete_resource_policy(
|
|
134
|
+
self, **kwargs: Unpack[DeleteResourcePolicyRequestRequestTypeDef]
|
|
135
|
+
) -> Dict[str, Any]:
|
|
136
|
+
"""
|
|
137
|
+
Deletes a resource-based policy on an entity that is identified by its resource
|
|
138
|
+
ARN.
|
|
139
|
+
|
|
140
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/delete_resource_policy.html)
|
|
141
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#delete_resource_policy)
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
def describe_change_set(
|
|
145
|
+
self, **kwargs: Unpack[DescribeChangeSetRequestRequestTypeDef]
|
|
146
|
+
) -> DescribeChangeSetResponseTypeDef:
|
|
147
|
+
"""
|
|
148
|
+
Provides information about a given change set.
|
|
149
|
+
|
|
150
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/describe_change_set.html)
|
|
151
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#describe_change_set)
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
def describe_entity(
|
|
155
|
+
self, **kwargs: Unpack[DescribeEntityRequestRequestTypeDef]
|
|
156
|
+
) -> DescribeEntityResponseTypeDef:
|
|
157
|
+
"""
|
|
158
|
+
Returns the metadata and content of the entity.
|
|
159
|
+
|
|
160
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/describe_entity.html)
|
|
161
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#describe_entity)
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
def get_resource_policy(
|
|
165
|
+
self, **kwargs: Unpack[GetResourcePolicyRequestRequestTypeDef]
|
|
166
|
+
) -> GetResourcePolicyResponseTypeDef:
|
|
167
|
+
"""
|
|
168
|
+
Gets a resource-based policy of an entity that is identified by its resource
|
|
169
|
+
ARN.
|
|
170
|
+
|
|
171
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/get_resource_policy.html)
|
|
172
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#get_resource_policy)
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
def list_change_sets(
|
|
176
|
+
self, **kwargs: Unpack[ListChangeSetsRequestRequestTypeDef]
|
|
177
|
+
) -> ListChangeSetsResponseTypeDef:
|
|
178
|
+
"""
|
|
179
|
+
Returns the list of change sets owned by the account being used to make the
|
|
180
|
+
call.
|
|
181
|
+
|
|
182
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/list_change_sets.html)
|
|
183
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#list_change_sets)
|
|
184
|
+
"""
|
|
185
|
+
|
|
186
|
+
def list_entities(
|
|
187
|
+
self, **kwargs: Unpack[ListEntitiesRequestRequestTypeDef]
|
|
188
|
+
) -> ListEntitiesResponseTypeDef:
|
|
189
|
+
"""
|
|
190
|
+
Provides the list of entities of a given type.
|
|
191
|
+
|
|
192
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/list_entities.html)
|
|
193
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#list_entities)
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
def list_tags_for_resource(
|
|
197
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
198
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
199
|
+
"""
|
|
200
|
+
Lists all tags that have been added to a resource (either an <a
|
|
201
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities">entity</a>
|
|
202
|
+
or <a
|
|
203
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-chang...
|
|
204
|
+
|
|
205
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/list_tags_for_resource.html)
|
|
206
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#list_tags_for_resource)
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
def put_resource_policy(
|
|
210
|
+
self, **kwargs: Unpack[PutResourcePolicyRequestRequestTypeDef]
|
|
211
|
+
) -> Dict[str, Any]:
|
|
212
|
+
"""
|
|
213
|
+
Attaches a resource-based policy to an entity.
|
|
214
|
+
|
|
215
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/put_resource_policy.html)
|
|
216
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#put_resource_policy)
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
def start_change_set(
|
|
220
|
+
self, **kwargs: Unpack[StartChangeSetRequestRequestTypeDef]
|
|
221
|
+
) -> StartChangeSetResponseTypeDef:
|
|
222
|
+
"""
|
|
223
|
+
Allows you to request changes for your entities.
|
|
224
|
+
|
|
225
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/start_change_set.html)
|
|
226
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#start_change_set)
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
230
|
+
"""
|
|
231
|
+
Tags a resource (either an <a
|
|
232
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities">entity</a>
|
|
233
|
+
or <a
|
|
234
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets">change
|
|
235
|
+
set</a>).
|
|
236
|
+
|
|
237
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/tag_resource.html)
|
|
238
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#tag_resource)
|
|
239
|
+
"""
|
|
240
|
+
|
|
241
|
+
def untag_resource(
|
|
242
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
243
|
+
) -> Dict[str, Any]:
|
|
244
|
+
"""
|
|
245
|
+
Removes a tag or list of tags from a resource (either an <a
|
|
246
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities">entity</a>
|
|
247
|
+
or <a
|
|
248
|
+
href="https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-se...
|
|
249
|
+
|
|
250
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/untag_resource.html)
|
|
251
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#untag_resource)
|
|
252
|
+
"""
|
|
253
|
+
|
|
254
|
+
@overload # type: ignore[override]
|
|
255
|
+
def get_paginator( # type: ignore[override]
|
|
256
|
+
self, operation_name: Literal["list_change_sets"]
|
|
257
|
+
) -> ListChangeSetsPaginator:
|
|
258
|
+
"""
|
|
259
|
+
Create a paginator for an operation.
|
|
260
|
+
|
|
261
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/get_paginator.html)
|
|
262
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#get_paginator)
|
|
263
|
+
"""
|
|
264
|
+
|
|
265
|
+
@overload # type: ignore[override]
|
|
266
|
+
def get_paginator( # type: ignore[override]
|
|
267
|
+
self, operation_name: Literal["list_entities"]
|
|
268
|
+
) -> ListEntitiesPaginator:
|
|
269
|
+
"""
|
|
270
|
+
Create a paginator for an operation.
|
|
271
|
+
|
|
272
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/marketplace-catalog/client/get_paginator.html)
|
|
273
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_marketplace_catalog/client/#get_paginator)
|
|
274
|
+
"""
|