types-boto3-resource-explorer-2 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.
@@ -0,0 +1,434 @@
1
+ """
2
+ Type annotations for resource-explorer-2 service type definitions.
3
+
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_resource_explorer_2/type_defs/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from types_boto3_resource_explorer_2.type_defs import AssociateDefaultViewInputRequestTypeDef
10
+
11
+ data: AssociateDefaultViewInputRequestTypeDef = ...
12
+ ```
13
+
14
+ Copyright 2025 Vlad Emelianov
15
+ """
16
+
17
+ from __future__ import annotations
18
+
19
+ import sys
20
+ from datetime import datetime
21
+ from typing import Any
22
+
23
+ from .literals import AWSServiceAccessStatusType, IndexStateType, IndexTypeType
24
+
25
+ if sys.version_info >= (3, 9):
26
+ from builtins import dict as Dict
27
+ from builtins import list as List
28
+ from collections.abc import Mapping, Sequence
29
+ else:
30
+ from typing import Dict, List, Mapping, Sequence
31
+ if sys.version_info >= (3, 12):
32
+ from typing import NotRequired, TypedDict
33
+ else:
34
+ from typing_extensions import NotRequired, TypedDict
35
+
36
+ __all__ = (
37
+ "AssociateDefaultViewInputRequestTypeDef",
38
+ "AssociateDefaultViewOutputTypeDef",
39
+ "BatchGetViewErrorTypeDef",
40
+ "BatchGetViewInputRequestTypeDef",
41
+ "BatchGetViewOutputTypeDef",
42
+ "CreateIndexInputRequestTypeDef",
43
+ "CreateIndexOutputTypeDef",
44
+ "CreateViewInputRequestTypeDef",
45
+ "CreateViewOutputTypeDef",
46
+ "DeleteIndexInputRequestTypeDef",
47
+ "DeleteIndexOutputTypeDef",
48
+ "DeleteViewInputRequestTypeDef",
49
+ "DeleteViewOutputTypeDef",
50
+ "EmptyResponseMetadataTypeDef",
51
+ "GetAccountLevelServiceConfigurationOutputTypeDef",
52
+ "GetDefaultViewOutputTypeDef",
53
+ "GetIndexOutputTypeDef",
54
+ "GetManagedViewInputRequestTypeDef",
55
+ "GetManagedViewOutputTypeDef",
56
+ "GetViewInputRequestTypeDef",
57
+ "GetViewOutputTypeDef",
58
+ "IncludedPropertyTypeDef",
59
+ "IndexTypeDef",
60
+ "ListIndexesForMembersInputPaginateTypeDef",
61
+ "ListIndexesForMembersInputRequestTypeDef",
62
+ "ListIndexesForMembersOutputTypeDef",
63
+ "ListIndexesInputPaginateTypeDef",
64
+ "ListIndexesInputRequestTypeDef",
65
+ "ListIndexesOutputTypeDef",
66
+ "ListManagedViewsInputPaginateTypeDef",
67
+ "ListManagedViewsInputRequestTypeDef",
68
+ "ListManagedViewsOutputTypeDef",
69
+ "ListResourcesInputPaginateTypeDef",
70
+ "ListResourcesInputRequestTypeDef",
71
+ "ListResourcesOutputTypeDef",
72
+ "ListSupportedResourceTypesInputPaginateTypeDef",
73
+ "ListSupportedResourceTypesInputRequestTypeDef",
74
+ "ListSupportedResourceTypesOutputTypeDef",
75
+ "ListTagsForResourceInputRequestTypeDef",
76
+ "ListTagsForResourceOutputTypeDef",
77
+ "ListViewsInputPaginateTypeDef",
78
+ "ListViewsInputRequestTypeDef",
79
+ "ListViewsOutputTypeDef",
80
+ "ManagedViewTypeDef",
81
+ "MemberIndexTypeDef",
82
+ "OrgConfigurationTypeDef",
83
+ "PaginatorConfigTypeDef",
84
+ "ResourceCountTypeDef",
85
+ "ResourcePropertyTypeDef",
86
+ "ResourceTypeDef",
87
+ "ResponseMetadataTypeDef",
88
+ "SearchFilterTypeDef",
89
+ "SearchInputPaginateTypeDef",
90
+ "SearchInputRequestTypeDef",
91
+ "SearchOutputTypeDef",
92
+ "SupportedResourceTypeTypeDef",
93
+ "TagResourceInputRequestTypeDef",
94
+ "UntagResourceInputRequestTypeDef",
95
+ "UpdateIndexTypeInputRequestTypeDef",
96
+ "UpdateIndexTypeOutputTypeDef",
97
+ "UpdateViewInputRequestTypeDef",
98
+ "UpdateViewOutputTypeDef",
99
+ "ViewTypeDef",
100
+ )
101
+
102
+ class AssociateDefaultViewInputRequestTypeDef(TypedDict):
103
+ ViewArn: str
104
+
105
+ class ResponseMetadataTypeDef(TypedDict):
106
+ RequestId: str
107
+ HTTPStatusCode: int
108
+ HTTPHeaders: Dict[str, str]
109
+ RetryAttempts: int
110
+ HostId: NotRequired[str]
111
+
112
+ class BatchGetViewErrorTypeDef(TypedDict):
113
+ ErrorMessage: str
114
+ ViewArn: str
115
+
116
+ class BatchGetViewInputRequestTypeDef(TypedDict):
117
+ ViewArns: NotRequired[Sequence[str]]
118
+
119
+ class CreateIndexInputRequestTypeDef(TypedDict):
120
+ ClientToken: NotRequired[str]
121
+ Tags: NotRequired[Mapping[str, str]]
122
+
123
+ class IncludedPropertyTypeDef(TypedDict):
124
+ Name: str
125
+
126
+ class SearchFilterTypeDef(TypedDict):
127
+ FilterString: str
128
+
129
+ class DeleteIndexInputRequestTypeDef(TypedDict):
130
+ Arn: str
131
+
132
+ class DeleteViewInputRequestTypeDef(TypedDict):
133
+ ViewArn: str
134
+
135
+ class OrgConfigurationTypeDef(TypedDict):
136
+ AWSServiceAccessStatus: AWSServiceAccessStatusType
137
+ ServiceLinkedRole: NotRequired[str]
138
+
139
+ class GetManagedViewInputRequestTypeDef(TypedDict):
140
+ ManagedViewArn: str
141
+
142
+ class GetViewInputRequestTypeDef(TypedDict):
143
+ ViewArn: str
144
+
145
+ IndexTypeDef = TypedDict(
146
+ "IndexTypeDef",
147
+ {
148
+ "Arn": NotRequired[str],
149
+ "Region": NotRequired[str],
150
+ "Type": NotRequired[IndexTypeType],
151
+ },
152
+ )
153
+
154
+ class PaginatorConfigTypeDef(TypedDict):
155
+ MaxItems: NotRequired[int]
156
+ PageSize: NotRequired[int]
157
+ StartingToken: NotRequired[str]
158
+
159
+ class ListIndexesForMembersInputRequestTypeDef(TypedDict):
160
+ AccountIdList: Sequence[str]
161
+ MaxResults: NotRequired[int]
162
+ NextToken: NotRequired[str]
163
+
164
+ MemberIndexTypeDef = TypedDict(
165
+ "MemberIndexTypeDef",
166
+ {
167
+ "AccountId": NotRequired[str],
168
+ "Arn": NotRequired[str],
169
+ "Region": NotRequired[str],
170
+ "Type": NotRequired[IndexTypeType],
171
+ },
172
+ )
173
+ ListIndexesInputRequestTypeDef = TypedDict(
174
+ "ListIndexesInputRequestTypeDef",
175
+ {
176
+ "MaxResults": NotRequired[int],
177
+ "NextToken": NotRequired[str],
178
+ "Regions": NotRequired[Sequence[str]],
179
+ "Type": NotRequired[IndexTypeType],
180
+ },
181
+ )
182
+
183
+ class ListManagedViewsInputRequestTypeDef(TypedDict):
184
+ MaxResults: NotRequired[int]
185
+ NextToken: NotRequired[str]
186
+ ServicePrincipal: NotRequired[str]
187
+
188
+ class ListSupportedResourceTypesInputRequestTypeDef(TypedDict):
189
+ MaxResults: NotRequired[int]
190
+ NextToken: NotRequired[str]
191
+
192
+ class SupportedResourceTypeTypeDef(TypedDict):
193
+ ResourceType: NotRequired[str]
194
+ Service: NotRequired[str]
195
+
196
+ class ListTagsForResourceInputRequestTypeDef(TypedDict):
197
+ resourceArn: str
198
+
199
+ class ListViewsInputRequestTypeDef(TypedDict):
200
+ MaxResults: NotRequired[int]
201
+ NextToken: NotRequired[str]
202
+
203
+ class ResourceCountTypeDef(TypedDict):
204
+ Complete: NotRequired[bool]
205
+ TotalResources: NotRequired[int]
206
+
207
+ class ResourcePropertyTypeDef(TypedDict):
208
+ Data: NotRequired[Dict[str, Any]]
209
+ LastReportedAt: NotRequired[datetime]
210
+ Name: NotRequired[str]
211
+
212
+ class SearchInputRequestTypeDef(TypedDict):
213
+ QueryString: str
214
+ MaxResults: NotRequired[int]
215
+ NextToken: NotRequired[str]
216
+ ViewArn: NotRequired[str]
217
+
218
+ class TagResourceInputRequestTypeDef(TypedDict):
219
+ resourceArn: str
220
+ Tags: NotRequired[Mapping[str, str]]
221
+
222
+ class UntagResourceInputRequestTypeDef(TypedDict):
223
+ resourceArn: str
224
+ tagKeys: Sequence[str]
225
+
226
+ UpdateIndexTypeInputRequestTypeDef = TypedDict(
227
+ "UpdateIndexTypeInputRequestTypeDef",
228
+ {
229
+ "Arn": str,
230
+ "Type": IndexTypeType,
231
+ },
232
+ )
233
+
234
+ class AssociateDefaultViewOutputTypeDef(TypedDict):
235
+ ViewArn: str
236
+ ResponseMetadata: ResponseMetadataTypeDef
237
+
238
+ class CreateIndexOutputTypeDef(TypedDict):
239
+ Arn: str
240
+ CreatedAt: datetime
241
+ State: IndexStateType
242
+ ResponseMetadata: ResponseMetadataTypeDef
243
+
244
+ class DeleteIndexOutputTypeDef(TypedDict):
245
+ Arn: str
246
+ LastUpdatedAt: datetime
247
+ State: IndexStateType
248
+ ResponseMetadata: ResponseMetadataTypeDef
249
+
250
+ class DeleteViewOutputTypeDef(TypedDict):
251
+ ViewArn: str
252
+ ResponseMetadata: ResponseMetadataTypeDef
253
+
254
+ class EmptyResponseMetadataTypeDef(TypedDict):
255
+ ResponseMetadata: ResponseMetadataTypeDef
256
+
257
+ class GetDefaultViewOutputTypeDef(TypedDict):
258
+ ViewArn: str
259
+ ResponseMetadata: ResponseMetadataTypeDef
260
+
261
+ GetIndexOutputTypeDef = TypedDict(
262
+ "GetIndexOutputTypeDef",
263
+ {
264
+ "Arn": str,
265
+ "CreatedAt": datetime,
266
+ "LastUpdatedAt": datetime,
267
+ "ReplicatingFrom": List[str],
268
+ "ReplicatingTo": List[str],
269
+ "State": IndexStateType,
270
+ "Tags": Dict[str, str],
271
+ "Type": IndexTypeType,
272
+ "ResponseMetadata": ResponseMetadataTypeDef,
273
+ },
274
+ )
275
+
276
+ class ListManagedViewsOutputTypeDef(TypedDict):
277
+ ManagedViews: List[str]
278
+ ResponseMetadata: ResponseMetadataTypeDef
279
+ NextToken: NotRequired[str]
280
+
281
+ class ListTagsForResourceOutputTypeDef(TypedDict):
282
+ Tags: Dict[str, str]
283
+ ResponseMetadata: ResponseMetadataTypeDef
284
+
285
+ class ListViewsOutputTypeDef(TypedDict):
286
+ Views: List[str]
287
+ ResponseMetadata: ResponseMetadataTypeDef
288
+ NextToken: NotRequired[str]
289
+
290
+ UpdateIndexTypeOutputTypeDef = TypedDict(
291
+ "UpdateIndexTypeOutputTypeDef",
292
+ {
293
+ "Arn": str,
294
+ "LastUpdatedAt": datetime,
295
+ "State": IndexStateType,
296
+ "Type": IndexTypeType,
297
+ "ResponseMetadata": ResponseMetadataTypeDef,
298
+ },
299
+ )
300
+
301
+ class CreateViewInputRequestTypeDef(TypedDict):
302
+ ViewName: str
303
+ ClientToken: NotRequired[str]
304
+ Filters: NotRequired[SearchFilterTypeDef]
305
+ IncludedProperties: NotRequired[Sequence[IncludedPropertyTypeDef]]
306
+ Scope: NotRequired[str]
307
+ Tags: NotRequired[Mapping[str, str]]
308
+
309
+ class ListResourcesInputRequestTypeDef(TypedDict):
310
+ Filters: NotRequired[SearchFilterTypeDef]
311
+ MaxResults: NotRequired[int]
312
+ NextToken: NotRequired[str]
313
+ ViewArn: NotRequired[str]
314
+
315
+ class ManagedViewTypeDef(TypedDict):
316
+ Filters: NotRequired[SearchFilterTypeDef]
317
+ IncludedProperties: NotRequired[List[IncludedPropertyTypeDef]]
318
+ LastUpdatedAt: NotRequired[datetime]
319
+ ManagedViewArn: NotRequired[str]
320
+ ManagedViewName: NotRequired[str]
321
+ Owner: NotRequired[str]
322
+ ResourcePolicy: NotRequired[str]
323
+ Scope: NotRequired[str]
324
+ TrustedService: NotRequired[str]
325
+ Version: NotRequired[str]
326
+
327
+ class UpdateViewInputRequestTypeDef(TypedDict):
328
+ ViewArn: str
329
+ Filters: NotRequired[SearchFilterTypeDef]
330
+ IncludedProperties: NotRequired[Sequence[IncludedPropertyTypeDef]]
331
+
332
+ class ViewTypeDef(TypedDict):
333
+ Filters: NotRequired[SearchFilterTypeDef]
334
+ IncludedProperties: NotRequired[List[IncludedPropertyTypeDef]]
335
+ LastUpdatedAt: NotRequired[datetime]
336
+ Owner: NotRequired[str]
337
+ Scope: NotRequired[str]
338
+ ViewArn: NotRequired[str]
339
+
340
+ class GetAccountLevelServiceConfigurationOutputTypeDef(TypedDict):
341
+ OrgConfiguration: OrgConfigurationTypeDef
342
+ ResponseMetadata: ResponseMetadataTypeDef
343
+
344
+ class ListIndexesOutputTypeDef(TypedDict):
345
+ Indexes: List[IndexTypeDef]
346
+ ResponseMetadata: ResponseMetadataTypeDef
347
+ NextToken: NotRequired[str]
348
+
349
+ class ListIndexesForMembersInputPaginateTypeDef(TypedDict):
350
+ AccountIdList: Sequence[str]
351
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
352
+
353
+ ListIndexesInputPaginateTypeDef = TypedDict(
354
+ "ListIndexesInputPaginateTypeDef",
355
+ {
356
+ "Regions": NotRequired[Sequence[str]],
357
+ "Type": NotRequired[IndexTypeType],
358
+ "PaginationConfig": NotRequired[PaginatorConfigTypeDef],
359
+ },
360
+ )
361
+
362
+ class ListManagedViewsInputPaginateTypeDef(TypedDict):
363
+ ServicePrincipal: NotRequired[str]
364
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
365
+
366
+ class ListResourcesInputPaginateTypeDef(TypedDict):
367
+ Filters: NotRequired[SearchFilterTypeDef]
368
+ ViewArn: NotRequired[str]
369
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
370
+
371
+ class ListSupportedResourceTypesInputPaginateTypeDef(TypedDict):
372
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
373
+
374
+ class ListViewsInputPaginateTypeDef(TypedDict):
375
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
376
+
377
+ class SearchInputPaginateTypeDef(TypedDict):
378
+ QueryString: str
379
+ ViewArn: NotRequired[str]
380
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
381
+
382
+ class ListIndexesForMembersOutputTypeDef(TypedDict):
383
+ Indexes: List[MemberIndexTypeDef]
384
+ ResponseMetadata: ResponseMetadataTypeDef
385
+ NextToken: NotRequired[str]
386
+
387
+ class ListSupportedResourceTypesOutputTypeDef(TypedDict):
388
+ ResourceTypes: List[SupportedResourceTypeTypeDef]
389
+ ResponseMetadata: ResponseMetadataTypeDef
390
+ NextToken: NotRequired[str]
391
+
392
+ class ResourceTypeDef(TypedDict):
393
+ Arn: NotRequired[str]
394
+ LastReportedAt: NotRequired[datetime]
395
+ OwningAccountId: NotRequired[str]
396
+ Properties: NotRequired[List[ResourcePropertyTypeDef]]
397
+ Region: NotRequired[str]
398
+ ResourceType: NotRequired[str]
399
+ Service: NotRequired[str]
400
+
401
+ class GetManagedViewOutputTypeDef(TypedDict):
402
+ ManagedView: ManagedViewTypeDef
403
+ ResponseMetadata: ResponseMetadataTypeDef
404
+
405
+ class BatchGetViewOutputTypeDef(TypedDict):
406
+ Errors: List[BatchGetViewErrorTypeDef]
407
+ Views: List[ViewTypeDef]
408
+ ResponseMetadata: ResponseMetadataTypeDef
409
+
410
+ class CreateViewOutputTypeDef(TypedDict):
411
+ View: ViewTypeDef
412
+ ResponseMetadata: ResponseMetadataTypeDef
413
+
414
+ class GetViewOutputTypeDef(TypedDict):
415
+ Tags: Dict[str, str]
416
+ View: ViewTypeDef
417
+ ResponseMetadata: ResponseMetadataTypeDef
418
+
419
+ class UpdateViewOutputTypeDef(TypedDict):
420
+ View: ViewTypeDef
421
+ ResponseMetadata: ResponseMetadataTypeDef
422
+
423
+ class ListResourcesOutputTypeDef(TypedDict):
424
+ Resources: List[ResourceTypeDef]
425
+ ViewArn: str
426
+ ResponseMetadata: ResponseMetadataTypeDef
427
+ NextToken: NotRequired[str]
428
+
429
+ class SearchOutputTypeDef(TypedDict):
430
+ Count: ResourceCountTypeDef
431
+ Resources: List[ResourceTypeDef]
432
+ ViewArn: str
433
+ ResponseMetadata: ResponseMetadataTypeDef
434
+ NextToken: NotRequired[str]
@@ -0,0 +1,7 @@
1
+ """
2
+ Source of truth for version.
3
+
4
+ Copyright 2025 Vlad Emelianov
5
+ """
6
+
7
+ __version__ = "1.36.0"
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Vlad Emelianov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.