types-boto3-resource-explorer-2 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.
@@ -0,0 +1,426 @@
1
+ """
2
+ Type annotations for resource-explorer-2 service type definitions.
3
+
4
+ [Open 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 2024 Vlad Emelianov
15
+ """
16
+
17
+ import sys
18
+ from datetime import datetime
19
+ from typing import Any, Dict, List, Mapping, Sequence
20
+
21
+ from .literals import AWSServiceAccessStatusType, IndexStateType, IndexTypeType
22
+
23
+ if sys.version_info >= (3, 12):
24
+ from typing import NotRequired, TypedDict
25
+ else:
26
+ from typing_extensions import NotRequired, TypedDict
27
+
28
+ __all__ = (
29
+ "AssociateDefaultViewInputRequestTypeDef",
30
+ "AssociateDefaultViewOutputTypeDef",
31
+ "BatchGetViewErrorTypeDef",
32
+ "BatchGetViewInputRequestTypeDef",
33
+ "BatchGetViewOutputTypeDef",
34
+ "CreateIndexInputRequestTypeDef",
35
+ "CreateIndexOutputTypeDef",
36
+ "CreateViewInputRequestTypeDef",
37
+ "CreateViewOutputTypeDef",
38
+ "DeleteIndexInputRequestTypeDef",
39
+ "DeleteIndexOutputTypeDef",
40
+ "DeleteViewInputRequestTypeDef",
41
+ "DeleteViewOutputTypeDef",
42
+ "EmptyResponseMetadataTypeDef",
43
+ "GetAccountLevelServiceConfigurationOutputTypeDef",
44
+ "GetDefaultViewOutputTypeDef",
45
+ "GetIndexOutputTypeDef",
46
+ "GetManagedViewInputRequestTypeDef",
47
+ "GetManagedViewOutputTypeDef",
48
+ "GetViewInputRequestTypeDef",
49
+ "GetViewOutputTypeDef",
50
+ "IncludedPropertyTypeDef",
51
+ "IndexTypeDef",
52
+ "ListIndexesForMembersInputListIndexesForMembersPaginateTypeDef",
53
+ "ListIndexesForMembersInputRequestTypeDef",
54
+ "ListIndexesForMembersOutputTypeDef",
55
+ "ListIndexesInputListIndexesPaginateTypeDef",
56
+ "ListIndexesInputRequestTypeDef",
57
+ "ListIndexesOutputTypeDef",
58
+ "ListManagedViewsInputListManagedViewsPaginateTypeDef",
59
+ "ListManagedViewsInputRequestTypeDef",
60
+ "ListManagedViewsOutputTypeDef",
61
+ "ListResourcesInputListResourcesPaginateTypeDef",
62
+ "ListResourcesInputRequestTypeDef",
63
+ "ListResourcesOutputTypeDef",
64
+ "ListSupportedResourceTypesInputListSupportedResourceTypesPaginateTypeDef",
65
+ "ListSupportedResourceTypesInputRequestTypeDef",
66
+ "ListSupportedResourceTypesOutputTypeDef",
67
+ "ListTagsForResourceInputRequestTypeDef",
68
+ "ListTagsForResourceOutputTypeDef",
69
+ "ListViewsInputListViewsPaginateTypeDef",
70
+ "ListViewsInputRequestTypeDef",
71
+ "ListViewsOutputTypeDef",
72
+ "ManagedViewTypeDef",
73
+ "MemberIndexTypeDef",
74
+ "OrgConfigurationTypeDef",
75
+ "PaginatorConfigTypeDef",
76
+ "ResourceCountTypeDef",
77
+ "ResourcePropertyTypeDef",
78
+ "ResourceTypeDef",
79
+ "ResponseMetadataTypeDef",
80
+ "SearchFilterTypeDef",
81
+ "SearchInputRequestTypeDef",
82
+ "SearchInputSearchPaginateTypeDef",
83
+ "SearchOutputTypeDef",
84
+ "SupportedResourceTypeTypeDef",
85
+ "TagResourceInputRequestTypeDef",
86
+ "UntagResourceInputRequestTypeDef",
87
+ "UpdateIndexTypeInputRequestTypeDef",
88
+ "UpdateIndexTypeOutputTypeDef",
89
+ "UpdateViewInputRequestTypeDef",
90
+ "UpdateViewOutputTypeDef",
91
+ "ViewTypeDef",
92
+ )
93
+
94
+ class AssociateDefaultViewInputRequestTypeDef(TypedDict):
95
+ ViewArn: str
96
+
97
+ class ResponseMetadataTypeDef(TypedDict):
98
+ RequestId: str
99
+ HTTPStatusCode: int
100
+ HTTPHeaders: Dict[str, str]
101
+ RetryAttempts: int
102
+ HostId: NotRequired[str]
103
+
104
+ class BatchGetViewErrorTypeDef(TypedDict):
105
+ ErrorMessage: str
106
+ ViewArn: str
107
+
108
+ class BatchGetViewInputRequestTypeDef(TypedDict):
109
+ ViewArns: NotRequired[Sequence[str]]
110
+
111
+ class CreateIndexInputRequestTypeDef(TypedDict):
112
+ ClientToken: NotRequired[str]
113
+ Tags: NotRequired[Mapping[str, str]]
114
+
115
+ class IncludedPropertyTypeDef(TypedDict):
116
+ Name: str
117
+
118
+ class SearchFilterTypeDef(TypedDict):
119
+ FilterString: str
120
+
121
+ class DeleteIndexInputRequestTypeDef(TypedDict):
122
+ Arn: str
123
+
124
+ class DeleteViewInputRequestTypeDef(TypedDict):
125
+ ViewArn: str
126
+
127
+ class OrgConfigurationTypeDef(TypedDict):
128
+ AWSServiceAccessStatus: AWSServiceAccessStatusType
129
+ ServiceLinkedRole: NotRequired[str]
130
+
131
+ class GetManagedViewInputRequestTypeDef(TypedDict):
132
+ ManagedViewArn: str
133
+
134
+ class GetViewInputRequestTypeDef(TypedDict):
135
+ ViewArn: str
136
+
137
+ IndexTypeDef = TypedDict(
138
+ "IndexTypeDef",
139
+ {
140
+ "Arn": NotRequired[str],
141
+ "Region": NotRequired[str],
142
+ "Type": NotRequired[IndexTypeType],
143
+ },
144
+ )
145
+
146
+ class PaginatorConfigTypeDef(TypedDict):
147
+ MaxItems: NotRequired[int]
148
+ PageSize: NotRequired[int]
149
+ StartingToken: NotRequired[str]
150
+
151
+ class ListIndexesForMembersInputRequestTypeDef(TypedDict):
152
+ AccountIdList: Sequence[str]
153
+ MaxResults: NotRequired[int]
154
+ NextToken: NotRequired[str]
155
+
156
+ MemberIndexTypeDef = TypedDict(
157
+ "MemberIndexTypeDef",
158
+ {
159
+ "AccountId": NotRequired[str],
160
+ "Arn": NotRequired[str],
161
+ "Region": NotRequired[str],
162
+ "Type": NotRequired[IndexTypeType],
163
+ },
164
+ )
165
+ ListIndexesInputRequestTypeDef = TypedDict(
166
+ "ListIndexesInputRequestTypeDef",
167
+ {
168
+ "MaxResults": NotRequired[int],
169
+ "NextToken": NotRequired[str],
170
+ "Regions": NotRequired[Sequence[str]],
171
+ "Type": NotRequired[IndexTypeType],
172
+ },
173
+ )
174
+
175
+ class ListManagedViewsInputRequestTypeDef(TypedDict):
176
+ MaxResults: NotRequired[int]
177
+ NextToken: NotRequired[str]
178
+ ServicePrincipal: NotRequired[str]
179
+
180
+ class ListSupportedResourceTypesInputRequestTypeDef(TypedDict):
181
+ MaxResults: NotRequired[int]
182
+ NextToken: NotRequired[str]
183
+
184
+ class SupportedResourceTypeTypeDef(TypedDict):
185
+ ResourceType: NotRequired[str]
186
+ Service: NotRequired[str]
187
+
188
+ class ListTagsForResourceInputRequestTypeDef(TypedDict):
189
+ resourceArn: str
190
+
191
+ class ListViewsInputRequestTypeDef(TypedDict):
192
+ MaxResults: NotRequired[int]
193
+ NextToken: NotRequired[str]
194
+
195
+ class ResourceCountTypeDef(TypedDict):
196
+ Complete: NotRequired[bool]
197
+ TotalResources: NotRequired[int]
198
+
199
+ class ResourcePropertyTypeDef(TypedDict):
200
+ Data: NotRequired[Dict[str, Any]]
201
+ LastReportedAt: NotRequired[datetime]
202
+ Name: NotRequired[str]
203
+
204
+ class SearchInputRequestTypeDef(TypedDict):
205
+ QueryString: str
206
+ MaxResults: NotRequired[int]
207
+ NextToken: NotRequired[str]
208
+ ViewArn: NotRequired[str]
209
+
210
+ class TagResourceInputRequestTypeDef(TypedDict):
211
+ resourceArn: str
212
+ Tags: NotRequired[Mapping[str, str]]
213
+
214
+ class UntagResourceInputRequestTypeDef(TypedDict):
215
+ resourceArn: str
216
+ tagKeys: Sequence[str]
217
+
218
+ UpdateIndexTypeInputRequestTypeDef = TypedDict(
219
+ "UpdateIndexTypeInputRequestTypeDef",
220
+ {
221
+ "Arn": str,
222
+ "Type": IndexTypeType,
223
+ },
224
+ )
225
+
226
+ class AssociateDefaultViewOutputTypeDef(TypedDict):
227
+ ViewArn: str
228
+ ResponseMetadata: ResponseMetadataTypeDef
229
+
230
+ class CreateIndexOutputTypeDef(TypedDict):
231
+ Arn: str
232
+ CreatedAt: datetime
233
+ State: IndexStateType
234
+ ResponseMetadata: ResponseMetadataTypeDef
235
+
236
+ class DeleteIndexOutputTypeDef(TypedDict):
237
+ Arn: str
238
+ LastUpdatedAt: datetime
239
+ State: IndexStateType
240
+ ResponseMetadata: ResponseMetadataTypeDef
241
+
242
+ class DeleteViewOutputTypeDef(TypedDict):
243
+ ViewArn: str
244
+ ResponseMetadata: ResponseMetadataTypeDef
245
+
246
+ class EmptyResponseMetadataTypeDef(TypedDict):
247
+ ResponseMetadata: ResponseMetadataTypeDef
248
+
249
+ class GetDefaultViewOutputTypeDef(TypedDict):
250
+ ViewArn: str
251
+ ResponseMetadata: ResponseMetadataTypeDef
252
+
253
+ GetIndexOutputTypeDef = TypedDict(
254
+ "GetIndexOutputTypeDef",
255
+ {
256
+ "Arn": str,
257
+ "CreatedAt": datetime,
258
+ "LastUpdatedAt": datetime,
259
+ "ReplicatingFrom": List[str],
260
+ "ReplicatingTo": List[str],
261
+ "State": IndexStateType,
262
+ "Tags": Dict[str, str],
263
+ "Type": IndexTypeType,
264
+ "ResponseMetadata": ResponseMetadataTypeDef,
265
+ },
266
+ )
267
+
268
+ class ListManagedViewsOutputTypeDef(TypedDict):
269
+ ManagedViews: List[str]
270
+ ResponseMetadata: ResponseMetadataTypeDef
271
+ NextToken: NotRequired[str]
272
+
273
+ class ListTagsForResourceOutputTypeDef(TypedDict):
274
+ Tags: Dict[str, str]
275
+ ResponseMetadata: ResponseMetadataTypeDef
276
+
277
+ class ListViewsOutputTypeDef(TypedDict):
278
+ Views: List[str]
279
+ ResponseMetadata: ResponseMetadataTypeDef
280
+ NextToken: NotRequired[str]
281
+
282
+ UpdateIndexTypeOutputTypeDef = TypedDict(
283
+ "UpdateIndexTypeOutputTypeDef",
284
+ {
285
+ "Arn": str,
286
+ "LastUpdatedAt": datetime,
287
+ "State": IndexStateType,
288
+ "Type": IndexTypeType,
289
+ "ResponseMetadata": ResponseMetadataTypeDef,
290
+ },
291
+ )
292
+
293
+ class CreateViewInputRequestTypeDef(TypedDict):
294
+ ViewName: str
295
+ ClientToken: NotRequired[str]
296
+ Filters: NotRequired[SearchFilterTypeDef]
297
+ IncludedProperties: NotRequired[Sequence[IncludedPropertyTypeDef]]
298
+ Scope: NotRequired[str]
299
+ Tags: NotRequired[Mapping[str, str]]
300
+
301
+ class ListResourcesInputRequestTypeDef(TypedDict):
302
+ Filters: NotRequired[SearchFilterTypeDef]
303
+ MaxResults: NotRequired[int]
304
+ NextToken: NotRequired[str]
305
+ ViewArn: NotRequired[str]
306
+
307
+ class ManagedViewTypeDef(TypedDict):
308
+ Filters: NotRequired[SearchFilterTypeDef]
309
+ IncludedProperties: NotRequired[List[IncludedPropertyTypeDef]]
310
+ LastUpdatedAt: NotRequired[datetime]
311
+ ManagedViewArn: NotRequired[str]
312
+ ManagedViewName: NotRequired[str]
313
+ Owner: NotRequired[str]
314
+ ResourcePolicy: NotRequired[str]
315
+ Scope: NotRequired[str]
316
+ TrustedService: NotRequired[str]
317
+ Version: NotRequired[str]
318
+
319
+ class UpdateViewInputRequestTypeDef(TypedDict):
320
+ ViewArn: str
321
+ Filters: NotRequired[SearchFilterTypeDef]
322
+ IncludedProperties: NotRequired[Sequence[IncludedPropertyTypeDef]]
323
+
324
+ class ViewTypeDef(TypedDict):
325
+ Filters: NotRequired[SearchFilterTypeDef]
326
+ IncludedProperties: NotRequired[List[IncludedPropertyTypeDef]]
327
+ LastUpdatedAt: NotRequired[datetime]
328
+ Owner: NotRequired[str]
329
+ Scope: NotRequired[str]
330
+ ViewArn: NotRequired[str]
331
+
332
+ class GetAccountLevelServiceConfigurationOutputTypeDef(TypedDict):
333
+ OrgConfiguration: OrgConfigurationTypeDef
334
+ ResponseMetadata: ResponseMetadataTypeDef
335
+
336
+ class ListIndexesOutputTypeDef(TypedDict):
337
+ Indexes: List[IndexTypeDef]
338
+ ResponseMetadata: ResponseMetadataTypeDef
339
+ NextToken: NotRequired[str]
340
+
341
+ class ListIndexesForMembersInputListIndexesForMembersPaginateTypeDef(TypedDict):
342
+ AccountIdList: Sequence[str]
343
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
344
+
345
+ ListIndexesInputListIndexesPaginateTypeDef = TypedDict(
346
+ "ListIndexesInputListIndexesPaginateTypeDef",
347
+ {
348
+ "Regions": NotRequired[Sequence[str]],
349
+ "Type": NotRequired[IndexTypeType],
350
+ "PaginationConfig": NotRequired[PaginatorConfigTypeDef],
351
+ },
352
+ )
353
+
354
+ class ListManagedViewsInputListManagedViewsPaginateTypeDef(TypedDict):
355
+ ServicePrincipal: NotRequired[str]
356
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
357
+
358
+ class ListResourcesInputListResourcesPaginateTypeDef(TypedDict):
359
+ Filters: NotRequired[SearchFilterTypeDef]
360
+ ViewArn: NotRequired[str]
361
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
362
+
363
+ class ListSupportedResourceTypesInputListSupportedResourceTypesPaginateTypeDef(TypedDict):
364
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
365
+
366
+ class ListViewsInputListViewsPaginateTypeDef(TypedDict):
367
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
368
+
369
+ class SearchInputSearchPaginateTypeDef(TypedDict):
370
+ QueryString: str
371
+ ViewArn: NotRequired[str]
372
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
373
+
374
+ class ListIndexesForMembersOutputTypeDef(TypedDict):
375
+ Indexes: List[MemberIndexTypeDef]
376
+ ResponseMetadata: ResponseMetadataTypeDef
377
+ NextToken: NotRequired[str]
378
+
379
+ class ListSupportedResourceTypesOutputTypeDef(TypedDict):
380
+ ResourceTypes: List[SupportedResourceTypeTypeDef]
381
+ ResponseMetadata: ResponseMetadataTypeDef
382
+ NextToken: NotRequired[str]
383
+
384
+ class ResourceTypeDef(TypedDict):
385
+ Arn: NotRequired[str]
386
+ LastReportedAt: NotRequired[datetime]
387
+ OwningAccountId: NotRequired[str]
388
+ Properties: NotRequired[List[ResourcePropertyTypeDef]]
389
+ Region: NotRequired[str]
390
+ ResourceType: NotRequired[str]
391
+ Service: NotRequired[str]
392
+
393
+ class GetManagedViewOutputTypeDef(TypedDict):
394
+ ManagedView: ManagedViewTypeDef
395
+ ResponseMetadata: ResponseMetadataTypeDef
396
+
397
+ class BatchGetViewOutputTypeDef(TypedDict):
398
+ Errors: List[BatchGetViewErrorTypeDef]
399
+ Views: List[ViewTypeDef]
400
+ ResponseMetadata: ResponseMetadataTypeDef
401
+
402
+ class CreateViewOutputTypeDef(TypedDict):
403
+ View: ViewTypeDef
404
+ ResponseMetadata: ResponseMetadataTypeDef
405
+
406
+ class GetViewOutputTypeDef(TypedDict):
407
+ Tags: Dict[str, str]
408
+ View: ViewTypeDef
409
+ ResponseMetadata: ResponseMetadataTypeDef
410
+
411
+ class UpdateViewOutputTypeDef(TypedDict):
412
+ View: ViewTypeDef
413
+ ResponseMetadata: ResponseMetadataTypeDef
414
+
415
+ class ListResourcesOutputTypeDef(TypedDict):
416
+ Resources: List[ResourceTypeDef]
417
+ ViewArn: str
418
+ ResponseMetadata: ResponseMetadataTypeDef
419
+ NextToken: NotRequired[str]
420
+
421
+ class SearchOutputTypeDef(TypedDict):
422
+ Count: ResourceCountTypeDef
423
+ Resources: List[ResourceTypeDef]
424
+ ViewArn: str
425
+ ResponseMetadata: ResponseMetadataTypeDef
426
+ NextToken: NotRequired[str]
@@ -0,0 +1,7 @@
1
+ """
2
+ Source of truth for version.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
7
+ __version__ = "1.35.71"
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 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.