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