aws-resource-validator-apprunner 2.0.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,812 @@
1
+ # This file is auto-generated by aws_resource_validator.generator.pipeline_b.
2
+ # Do not edit manually; run `arv-generate pipeline-b` to refresh it.
3
+ from datetime import datetime
4
+ from decimal import Decimal
5
+ from typing import (
6
+ Any,
7
+ Callable,
8
+ Dict,
9
+ FrozenSet,
10
+ IO,
11
+ List,
12
+ Literal,
13
+ Mapping,
14
+ Optional,
15
+ Sequence,
16
+ Set,
17
+ Tuple,
18
+ Type,
19
+ Union,
20
+ )
21
+
22
+ from botocore.client import BaseClient
23
+ from botocore.response import StreamingBody
24
+ from pydantic import Field
25
+
26
+ from aws_resource_validator.core.base_validator_model import BaseValidatorModel, EventStream
27
+ from aws_resource_validator.pydantic_models.apprunner.apprunner_constants import * # noqa: F401,F403
28
+
29
+ # Optional boto3 symbols — imported lazily so services that don't need them
30
+ # aren't forced to pull in boto3 at import time.
31
+ try:
32
+ from boto3.dynamodb.conditions import ConditionBase # noqa: F401
33
+ except ImportError: # pragma: no cover
34
+ ConditionBase = Any # type: ignore[assignment,misc]
35
+ try:
36
+ from boto3.s3.transfer import TransferConfig # noqa: F401
37
+ except ImportError: # pragma: no cover
38
+ TransferConfig = Any # type: ignore[assignment,misc]
39
+
40
+
41
+ # This class is the input for the 'associate_custom_domain' function.
42
+ class AssociateCustomDomainRequestTypeDef(BaseValidatorModel):
43
+ ServiceArn: str
44
+ DomainName: str
45
+ EnableWWWSubdomain: Optional[bool] = None
46
+
47
+
48
+ class ResponseMetadataTypeDef(BaseValidatorModel):
49
+ RequestId: str
50
+ HTTPStatusCode: int
51
+ HTTPHeaders: Dict[str, str]
52
+ RetryAttempts: int
53
+ HostId: Optional[str] = None
54
+
55
+
56
+ class VpcDNSTargetTypeDef(BaseValidatorModel):
57
+ VpcIngressConnectionArn: Optional[str] = None
58
+ VpcId: Optional[str] = None
59
+ DomainName: Optional[str] = None
60
+
61
+
62
+ class AuthenticationConfigurationTypeDef(BaseValidatorModel):
63
+ ConnectionArn: Optional[str] = None
64
+ AccessRoleArn: Optional[str] = None
65
+
66
+
67
+ class AutoScalingConfigurationSummaryTypeDef(BaseValidatorModel):
68
+ AutoScalingConfigurationArn: Optional[str] = None
69
+ AutoScalingConfigurationName: Optional[str] = None
70
+ AutoScalingConfigurationRevision: Optional[int] = None
71
+ Status: Optional[AutoScalingConfigurationStatusType] = None
72
+ CreatedAt: Optional[datetime] = None
73
+ HasAssociatedService: Optional[bool] = None
74
+ IsDefault: Optional[bool] = None
75
+
76
+
77
+ class AutoScalingConfigurationTypeDef(BaseValidatorModel):
78
+ AutoScalingConfigurationArn: Optional[str] = None
79
+ AutoScalingConfigurationName: Optional[str] = None
80
+ AutoScalingConfigurationRevision: Optional[int] = None
81
+ Latest: Optional[bool] = None
82
+ Status: Optional[AutoScalingConfigurationStatusType] = None
83
+ MaxConcurrency: Optional[int] = None
84
+ MinSize: Optional[int] = None
85
+ MaxSize: Optional[int] = None
86
+ CreatedAt: Optional[datetime] = None
87
+ DeletedAt: Optional[datetime] = None
88
+ HasAssociatedService: Optional[bool] = None
89
+ IsDefault: Optional[bool] = None
90
+
91
+
92
+ class CertificateValidationRecordTypeDef(BaseValidatorModel):
93
+ Name: Optional[str] = None
94
+ Type: Optional[str] = None
95
+ Value: Optional[str] = None
96
+ Status: Optional[CertificateValidationRecordStatusType] = None
97
+
98
+
99
+ class CodeConfigurationValuesOutputTypeDef(BaseValidatorModel):
100
+ Runtime: RuntimeType
101
+ BuildCommand: Optional[str] = None
102
+ StartCommand: Optional[str] = None
103
+ Port: Optional[str] = None
104
+ RuntimeEnvironmentVariables: Optional[Dict[str, str]] = None
105
+ RuntimeEnvironmentSecrets: Optional[Dict[str, str]] = None
106
+
107
+
108
+ class CodeConfigurationValuesTypeDef(BaseValidatorModel):
109
+ Runtime: RuntimeType
110
+ BuildCommand: Optional[str] = None
111
+ StartCommand: Optional[str] = None
112
+ Port: Optional[str] = None
113
+ RuntimeEnvironmentVariables: Optional[Dict[str, str]] = None
114
+ RuntimeEnvironmentSecrets: Optional[Dict[str, str]] = None
115
+
116
+
117
+ class SourceCodeVersionTypeDef(BaseValidatorModel):
118
+ Type: Literal["BRANCH"]
119
+ Value: str
120
+
121
+
122
+ class ConnectionSummaryTypeDef(BaseValidatorModel):
123
+ ConnectionName: Optional[str] = None
124
+ ConnectionArn: Optional[str] = None
125
+ ProviderType: Optional[ProviderTypeType] = None
126
+ Status: Optional[ConnectionStatusType] = None
127
+ CreatedAt: Optional[datetime] = None
128
+
129
+
130
+ class ConnectionTypeDef(BaseValidatorModel):
131
+ ConnectionName: Optional[str] = None
132
+ ConnectionArn: Optional[str] = None
133
+ ProviderType: Optional[ProviderTypeType] = None
134
+ Status: Optional[ConnectionStatusType] = None
135
+ CreatedAt: Optional[datetime] = None
136
+
137
+
138
+ class TagTypeDef(BaseValidatorModel):
139
+ Key: Optional[str] = None
140
+ Value: Optional[str] = None
141
+
142
+
143
+ class TraceConfigurationTypeDef(BaseValidatorModel):
144
+ Vendor: Literal["AWSXRAY"]
145
+
146
+
147
+ class EncryptionConfigurationTypeDef(BaseValidatorModel):
148
+ KmsKey: str
149
+
150
+
151
+ class HealthCheckConfigurationTypeDef(BaseValidatorModel):
152
+ Protocol: Optional[HealthCheckProtocolType] = None
153
+ Path: Optional[str] = None
154
+ Interval: Optional[int] = None
155
+ Timeout: Optional[int] = None
156
+ HealthyThreshold: Optional[int] = None
157
+ UnhealthyThreshold: Optional[int] = None
158
+
159
+
160
+ class InstanceConfigurationTypeDef(BaseValidatorModel):
161
+ Cpu: Optional[str] = None
162
+ Memory: Optional[str] = None
163
+ InstanceRoleArn: Optional[str] = None
164
+
165
+
166
+ class ServiceObservabilityConfigurationTypeDef(BaseValidatorModel):
167
+ ObservabilityEnabled: bool
168
+ ObservabilityConfigurationArn: Optional[str] = None
169
+
170
+
171
+ class VpcConnectorTypeDef(BaseValidatorModel):
172
+ VpcConnectorName: Optional[str] = None
173
+ VpcConnectorArn: Optional[str] = None
174
+ VpcConnectorRevision: Optional[int] = None
175
+ Subnets: Optional[List[str]] = None
176
+ SecurityGroups: Optional[List[str]] = None
177
+ Status: Optional[VpcConnectorStatusType] = None
178
+ CreatedAt: Optional[datetime] = None
179
+ DeletedAt: Optional[datetime] = None
180
+
181
+
182
+ class IngressVpcConfigurationTypeDef(BaseValidatorModel):
183
+ VpcId: Optional[str] = None
184
+ VpcEndpointId: Optional[str] = None
185
+
186
+
187
+ # This class is the input for the 'delete_auto_scaling_configuration' function.
188
+ class DeleteAutoScalingConfigurationRequestTypeDef(BaseValidatorModel):
189
+ AutoScalingConfigurationArn: str
190
+ DeleteAllRevisions: Optional[bool] = None
191
+
192
+
193
+ # This class is the input for the 'delete_connection' function.
194
+ class DeleteConnectionRequestTypeDef(BaseValidatorModel):
195
+ ConnectionArn: str
196
+
197
+
198
+ # This class is the input for the 'delete_observability_configuration' function.
199
+ class DeleteObservabilityConfigurationRequestTypeDef(BaseValidatorModel):
200
+ ObservabilityConfigurationArn: str
201
+
202
+
203
+ # This class is the input for the 'delete_service' function.
204
+ class DeleteServiceRequestTypeDef(BaseValidatorModel):
205
+ ServiceArn: str
206
+
207
+
208
+ # This class is the input for the 'delete_vpc_connector' function.
209
+ class DeleteVpcConnectorRequestTypeDef(BaseValidatorModel):
210
+ VpcConnectorArn: str
211
+
212
+
213
+ # This class is the input for the 'delete_vpc_ingress_connection' function.
214
+ class DeleteVpcIngressConnectionRequestTypeDef(BaseValidatorModel):
215
+ VpcIngressConnectionArn: str
216
+
217
+
218
+ # This class is the input for the 'describe_auto_scaling_configuration' function.
219
+ class DescribeAutoScalingConfigurationRequestTypeDef(BaseValidatorModel):
220
+ AutoScalingConfigurationArn: str
221
+
222
+
223
+ # This class is the input for the 'describe_custom_domains' function.
224
+ class DescribeCustomDomainsRequestTypeDef(BaseValidatorModel):
225
+ ServiceArn: str
226
+ NextToken: Optional[str] = None
227
+ MaxResults: Optional[int] = None
228
+
229
+
230
+ # This class is the input for the 'describe_observability_configuration' function.
231
+ class DescribeObservabilityConfigurationRequestTypeDef(BaseValidatorModel):
232
+ ObservabilityConfigurationArn: str
233
+
234
+
235
+ # This class is the input for the 'describe_service' function.
236
+ class DescribeServiceRequestTypeDef(BaseValidatorModel):
237
+ ServiceArn: str
238
+
239
+
240
+ # This class is the input for the 'describe_vpc_connector' function.
241
+ class DescribeVpcConnectorRequestTypeDef(BaseValidatorModel):
242
+ VpcConnectorArn: str
243
+
244
+
245
+ # This class is the input for the 'describe_vpc_ingress_connection' function.
246
+ class DescribeVpcIngressConnectionRequestTypeDef(BaseValidatorModel):
247
+ VpcIngressConnectionArn: str
248
+
249
+
250
+ # This class is the input for the 'disassociate_custom_domain' function.
251
+ class DisassociateCustomDomainRequestTypeDef(BaseValidatorModel):
252
+ ServiceArn: str
253
+ DomainName: str
254
+
255
+
256
+ class EgressConfigurationTypeDef(BaseValidatorModel):
257
+ EgressType: Optional[EgressTypeType] = None
258
+ VpcConnectorArn: Optional[str] = None
259
+
260
+
261
+ class ImageConfigurationOutputTypeDef(BaseValidatorModel):
262
+ RuntimeEnvironmentVariables: Optional[Dict[str, str]] = None
263
+ StartCommand: Optional[str] = None
264
+ Port: Optional[str] = None
265
+ RuntimeEnvironmentSecrets: Optional[Dict[str, str]] = None
266
+
267
+
268
+ class ImageConfigurationTypeDef(BaseValidatorModel):
269
+ RuntimeEnvironmentVariables: Optional[Dict[str, str]] = None
270
+ StartCommand: Optional[str] = None
271
+ Port: Optional[str] = None
272
+ RuntimeEnvironmentSecrets: Optional[Dict[str, str]] = None
273
+
274
+
275
+ class IngressConfigurationTypeDef(BaseValidatorModel):
276
+ IsPubliclyAccessible: Optional[bool] = None
277
+
278
+
279
+ # This class is the input for the 'list_auto_scaling_configurations' function.
280
+ class ListAutoScalingConfigurationsRequestTypeDef(BaseValidatorModel):
281
+ AutoScalingConfigurationName: Optional[str] = None
282
+ LatestOnly: Optional[bool] = None
283
+ MaxResults: Optional[int] = None
284
+ NextToken: Optional[str] = None
285
+
286
+
287
+ # This class is the input for the 'list_connections' function.
288
+ class ListConnectionsRequestTypeDef(BaseValidatorModel):
289
+ ConnectionName: Optional[str] = None
290
+ MaxResults: Optional[int] = None
291
+ NextToken: Optional[str] = None
292
+
293
+
294
+ # This class is the input for the 'list_observability_configurations' function.
295
+ class ListObservabilityConfigurationsRequestTypeDef(BaseValidatorModel):
296
+ ObservabilityConfigurationName: Optional[str] = None
297
+ LatestOnly: Optional[bool] = None
298
+ MaxResults: Optional[int] = None
299
+ NextToken: Optional[str] = None
300
+
301
+
302
+ class ObservabilityConfigurationSummaryTypeDef(BaseValidatorModel):
303
+ ObservabilityConfigurationArn: Optional[str] = None
304
+ ObservabilityConfigurationName: Optional[str] = None
305
+ ObservabilityConfigurationRevision: Optional[int] = None
306
+
307
+
308
+ # This class is the input for the 'list_operations' function.
309
+ class ListOperationsRequestTypeDef(BaseValidatorModel):
310
+ ServiceArn: str
311
+ NextToken: Optional[str] = None
312
+ MaxResults: Optional[int] = None
313
+
314
+
315
+ class OperationSummaryTypeDef(BaseValidatorModel):
316
+ Id: Optional[str] = None
317
+ Type: Optional[OperationTypeType] = None
318
+ Status: Optional[OperationStatusType] = None
319
+ TargetArn: Optional[str] = None
320
+ StartedAt: Optional[datetime] = None
321
+ EndedAt: Optional[datetime] = None
322
+ UpdatedAt: Optional[datetime] = None
323
+
324
+
325
+ # This class is the input for the 'list_services_for_auto_scaling_configuration' function.
326
+ class ListServicesForAutoScalingConfigurationRequestTypeDef(BaseValidatorModel):
327
+ AutoScalingConfigurationArn: str
328
+ MaxResults: Optional[int] = None
329
+ NextToken: Optional[str] = None
330
+
331
+
332
+ # This class is the input for the 'list_services' function.
333
+ class ListServicesRequestTypeDef(BaseValidatorModel):
334
+ NextToken: Optional[str] = None
335
+ MaxResults: Optional[int] = None
336
+
337
+
338
+ class ServiceSummaryTypeDef(BaseValidatorModel):
339
+ ServiceName: Optional[str] = None
340
+ ServiceId: Optional[str] = None
341
+ ServiceArn: Optional[str] = None
342
+ ServiceUrl: Optional[str] = None
343
+ CreatedAt: Optional[datetime] = None
344
+ UpdatedAt: Optional[datetime] = None
345
+ Status: Optional[ServiceStatusType] = None
346
+
347
+
348
+ # This class is the input for the 'list_tags_for_resource' function.
349
+ class ListTagsForResourceRequestTypeDef(BaseValidatorModel):
350
+ ResourceArn: str
351
+
352
+
353
+ # This class is the input for the 'list_vpc_connectors' function.
354
+ class ListVpcConnectorsRequestTypeDef(BaseValidatorModel):
355
+ MaxResults: Optional[int] = None
356
+ NextToken: Optional[str] = None
357
+
358
+
359
+ class ListVpcIngressConnectionsFilterTypeDef(BaseValidatorModel):
360
+ ServiceArn: Optional[str] = None
361
+ VpcEndpointId: Optional[str] = None
362
+
363
+
364
+ class VpcIngressConnectionSummaryTypeDef(BaseValidatorModel):
365
+ VpcIngressConnectionArn: Optional[str] = None
366
+ ServiceArn: Optional[str] = None
367
+
368
+
369
+ # This class is the input for the 'pause_service' function.
370
+ class PauseServiceRequestTypeDef(BaseValidatorModel):
371
+ ServiceArn: str
372
+
373
+
374
+ # This class is the input for the 'resume_service' function.
375
+ class ResumeServiceRequestTypeDef(BaseValidatorModel):
376
+ ServiceArn: str
377
+
378
+
379
+ # This class is the input for the 'start_deployment' function.
380
+ class StartDeploymentRequestTypeDef(BaseValidatorModel):
381
+ ServiceArn: str
382
+
383
+
384
+ class UntagResourceRequestTypeDef(BaseValidatorModel):
385
+ ResourceArn: str
386
+ TagKeys: List[str]
387
+
388
+
389
+ # This class is the input for the 'update_default_auto_scaling_configuration' function.
390
+ class UpdateDefaultAutoScalingConfigurationRequestTypeDef(BaseValidatorModel):
391
+ AutoScalingConfigurationArn: str
392
+
393
+
394
+ # This class is the output for the 'list_services_for_auto_scaling_configuration' function.
395
+ class ListServicesForAutoScalingConfigurationResponseTypeDef(BaseValidatorModel):
396
+ ServiceArnList: List[str]
397
+ ResponseMetadata: ResponseMetadataTypeDef
398
+ NextToken: Optional[str] = None
399
+
400
+
401
+ # This class is the output for the 'start_deployment' function.
402
+ class StartDeploymentResponseTypeDef(BaseValidatorModel):
403
+ OperationId: str
404
+ ResponseMetadata: ResponseMetadataTypeDef
405
+
406
+
407
+ # This class is the output for the 'list_auto_scaling_configurations' function.
408
+ class ListAutoScalingConfigurationsResponseTypeDef(BaseValidatorModel):
409
+ AutoScalingConfigurationSummaryList: List[AutoScalingConfigurationSummaryTypeDef]
410
+ ResponseMetadata: ResponseMetadataTypeDef
411
+ NextToken: Optional[str] = None
412
+
413
+
414
+ # This class is the output for the 'create_auto_scaling_configuration' function.
415
+ class CreateAutoScalingConfigurationResponseTypeDef(BaseValidatorModel):
416
+ AutoScalingConfiguration: AutoScalingConfigurationTypeDef
417
+ ResponseMetadata: ResponseMetadataTypeDef
418
+
419
+
420
+ # This class is the output for the 'delete_auto_scaling_configuration' function.
421
+ class DeleteAutoScalingConfigurationResponseTypeDef(BaseValidatorModel):
422
+ AutoScalingConfiguration: AutoScalingConfigurationTypeDef
423
+ ResponseMetadata: ResponseMetadataTypeDef
424
+
425
+
426
+ # This class is the output for the 'describe_auto_scaling_configuration' function.
427
+ class DescribeAutoScalingConfigurationResponseTypeDef(BaseValidatorModel):
428
+ AutoScalingConfiguration: AutoScalingConfigurationTypeDef
429
+ ResponseMetadata: ResponseMetadataTypeDef
430
+
431
+
432
+ # This class is the output for the 'update_default_auto_scaling_configuration' function.
433
+ class UpdateDefaultAutoScalingConfigurationResponseTypeDef(BaseValidatorModel):
434
+ AutoScalingConfiguration: AutoScalingConfigurationTypeDef
435
+ ResponseMetadata: ResponseMetadataTypeDef
436
+
437
+
438
+ class CustomDomainTypeDef(BaseValidatorModel):
439
+ DomainName: str
440
+ EnableWWWSubdomain: bool
441
+ Status: CustomDomainAssociationStatusType
442
+ CertificateValidationRecords: Optional[List[CertificateValidationRecordTypeDef]] = None
443
+
444
+
445
+ class CodeConfigurationOutputTypeDef(BaseValidatorModel):
446
+ ConfigurationSource: ConfigurationSourceType
447
+ CodeConfigurationValues: Optional[CodeConfigurationValuesOutputTypeDef] = None
448
+
449
+
450
+ class CodeConfigurationTypeDef(BaseValidatorModel):
451
+ ConfigurationSource: ConfigurationSourceType
452
+ CodeConfigurationValues: Optional[CodeConfigurationValuesTypeDef] = None
453
+
454
+
455
+ # This class is the output for the 'list_connections' function.
456
+ class ListConnectionsResponseTypeDef(BaseValidatorModel):
457
+ ConnectionSummaryList: List[ConnectionSummaryTypeDef]
458
+ ResponseMetadata: ResponseMetadataTypeDef
459
+ NextToken: Optional[str] = None
460
+
461
+
462
+ # This class is the output for the 'create_connection' function.
463
+ class CreateConnectionResponseTypeDef(BaseValidatorModel):
464
+ Connection: ConnectionTypeDef
465
+ ResponseMetadata: ResponseMetadataTypeDef
466
+
467
+
468
+ # This class is the output for the 'delete_connection' function.
469
+ class DeleteConnectionResponseTypeDef(BaseValidatorModel):
470
+ Connection: ConnectionTypeDef
471
+ ResponseMetadata: ResponseMetadataTypeDef
472
+
473
+
474
+ # This class is the input for the 'create_auto_scaling_configuration' function.
475
+ class CreateAutoScalingConfigurationRequestTypeDef(BaseValidatorModel):
476
+ AutoScalingConfigurationName: str
477
+ MaxConcurrency: Optional[int] = None
478
+ MinSize: Optional[int] = None
479
+ MaxSize: Optional[int] = None
480
+ Tags: Optional[List[TagTypeDef]] = None
481
+
482
+
483
+ # This class is the input for the 'create_connection' function.
484
+ class CreateConnectionRequestTypeDef(BaseValidatorModel):
485
+ ConnectionName: str
486
+ ProviderType: ProviderTypeType
487
+ Tags: Optional[List[TagTypeDef]] = None
488
+
489
+
490
+ # This class is the input for the 'create_vpc_connector' function.
491
+ class CreateVpcConnectorRequestTypeDef(BaseValidatorModel):
492
+ VpcConnectorName: str
493
+ Subnets: List[str]
494
+ SecurityGroups: Optional[List[str]] = None
495
+ Tags: Optional[List[TagTypeDef]] = None
496
+
497
+
498
+ # This class is the output for the 'list_tags_for_resource' function.
499
+ class ListTagsForResourceResponseTypeDef(BaseValidatorModel):
500
+ Tags: List[TagTypeDef]
501
+ ResponseMetadata: ResponseMetadataTypeDef
502
+
503
+
504
+ class TagResourceRequestTypeDef(BaseValidatorModel):
505
+ ResourceArn: str
506
+ Tags: List[TagTypeDef]
507
+
508
+
509
+ # This class is the input for the 'create_observability_configuration' function.
510
+ class CreateObservabilityConfigurationRequestTypeDef(BaseValidatorModel):
511
+ ObservabilityConfigurationName: str
512
+ TraceConfiguration: Optional[TraceConfigurationTypeDef] = None
513
+ Tags: Optional[List[TagTypeDef]] = None
514
+
515
+
516
+ class ObservabilityConfigurationTypeDef(BaseValidatorModel):
517
+ ObservabilityConfigurationArn: Optional[str] = None
518
+ ObservabilityConfigurationName: Optional[str] = None
519
+ TraceConfiguration: Optional[TraceConfigurationTypeDef] = None
520
+ ObservabilityConfigurationRevision: Optional[int] = None
521
+ Latest: Optional[bool] = None
522
+ Status: Optional[ObservabilityConfigurationStatusType] = None
523
+ CreatedAt: Optional[datetime] = None
524
+ DeletedAt: Optional[datetime] = None
525
+
526
+
527
+ # This class is the output for the 'create_vpc_connector' function.
528
+ class CreateVpcConnectorResponseTypeDef(BaseValidatorModel):
529
+ VpcConnector: VpcConnectorTypeDef
530
+ ResponseMetadata: ResponseMetadataTypeDef
531
+
532
+
533
+ # This class is the output for the 'delete_vpc_connector' function.
534
+ class DeleteVpcConnectorResponseTypeDef(BaseValidatorModel):
535
+ VpcConnector: VpcConnectorTypeDef
536
+ ResponseMetadata: ResponseMetadataTypeDef
537
+
538
+
539
+ # This class is the output for the 'describe_vpc_connector' function.
540
+ class DescribeVpcConnectorResponseTypeDef(BaseValidatorModel):
541
+ VpcConnector: VpcConnectorTypeDef
542
+ ResponseMetadata: ResponseMetadataTypeDef
543
+
544
+
545
+ # This class is the output for the 'list_vpc_connectors' function.
546
+ class ListVpcConnectorsResponseTypeDef(BaseValidatorModel):
547
+ VpcConnectors: List[VpcConnectorTypeDef]
548
+ ResponseMetadata: ResponseMetadataTypeDef
549
+ NextToken: Optional[str] = None
550
+
551
+
552
+ # This class is the input for the 'create_vpc_ingress_connection' function.
553
+ class CreateVpcIngressConnectionRequestTypeDef(BaseValidatorModel):
554
+ ServiceArn: str
555
+ VpcIngressConnectionName: str
556
+ IngressVpcConfiguration: IngressVpcConfigurationTypeDef
557
+ Tags: Optional[List[TagTypeDef]] = None
558
+
559
+
560
+ # This class is the input for the 'update_vpc_ingress_connection' function.
561
+ class UpdateVpcIngressConnectionRequestTypeDef(BaseValidatorModel):
562
+ VpcIngressConnectionArn: str
563
+ IngressVpcConfiguration: IngressVpcConfigurationTypeDef
564
+
565
+
566
+ class VpcIngressConnectionTypeDef(BaseValidatorModel):
567
+ VpcIngressConnectionArn: Optional[str] = None
568
+ VpcIngressConnectionName: Optional[str] = None
569
+ ServiceArn: Optional[str] = None
570
+ Status: Optional[VpcIngressConnectionStatusType] = None
571
+ AccountId: Optional[str] = None
572
+ DomainName: Optional[str] = None
573
+ IngressVpcConfiguration: Optional[IngressVpcConfigurationTypeDef] = None
574
+ CreatedAt: Optional[datetime] = None
575
+ DeletedAt: Optional[datetime] = None
576
+
577
+
578
+ class ImageRepositoryOutputTypeDef(BaseValidatorModel):
579
+ ImageIdentifier: str
580
+ ImageRepositoryType: ImageRepositoryTypeType
581
+ ImageConfiguration: Optional[ImageConfigurationOutputTypeDef] = None
582
+
583
+
584
+ class ImageRepositoryTypeDef(BaseValidatorModel):
585
+ ImageIdentifier: str
586
+ ImageRepositoryType: ImageRepositoryTypeType
587
+ ImageConfiguration: Optional[ImageConfigurationTypeDef] = None
588
+
589
+
590
+ class NetworkConfigurationTypeDef(BaseValidatorModel):
591
+ EgressConfiguration: Optional[EgressConfigurationTypeDef] = None
592
+ IngressConfiguration: Optional[IngressConfigurationTypeDef] = None
593
+ IpAddressType: Optional[IpAddressTypeType] = None
594
+
595
+
596
+ # This class is the output for the 'list_observability_configurations' function.
597
+ class ListObservabilityConfigurationsResponseTypeDef(BaseValidatorModel):
598
+ ObservabilityConfigurationSummaryList: List[ObservabilityConfigurationSummaryTypeDef]
599
+ ResponseMetadata: ResponseMetadataTypeDef
600
+ NextToken: Optional[str] = None
601
+
602
+
603
+ # This class is the output for the 'list_operations' function.
604
+ class ListOperationsResponseTypeDef(BaseValidatorModel):
605
+ OperationSummaryList: List[OperationSummaryTypeDef]
606
+ ResponseMetadata: ResponseMetadataTypeDef
607
+ NextToken: Optional[str] = None
608
+
609
+
610
+ # This class is the output for the 'list_services' function.
611
+ class ListServicesResponseTypeDef(BaseValidatorModel):
612
+ ServiceSummaryList: List[ServiceSummaryTypeDef]
613
+ ResponseMetadata: ResponseMetadataTypeDef
614
+ NextToken: Optional[str] = None
615
+
616
+
617
+ # This class is the input for the 'list_vpc_ingress_connections' function.
618
+ class ListVpcIngressConnectionsRequestTypeDef(BaseValidatorModel):
619
+ Filter: Optional[ListVpcIngressConnectionsFilterTypeDef] = None
620
+ MaxResults: Optional[int] = None
621
+ NextToken: Optional[str] = None
622
+
623
+
624
+ # This class is the output for the 'list_vpc_ingress_connections' function.
625
+ class ListVpcIngressConnectionsResponseTypeDef(BaseValidatorModel):
626
+ VpcIngressConnectionSummaryList: List[VpcIngressConnectionSummaryTypeDef]
627
+ ResponseMetadata: ResponseMetadataTypeDef
628
+ NextToken: Optional[str] = None
629
+
630
+
631
+ # This class is the output for the 'associate_custom_domain' function.
632
+ class AssociateCustomDomainResponseTypeDef(BaseValidatorModel):
633
+ DNSTarget: str
634
+ ServiceArn: str
635
+ CustomDomain: CustomDomainTypeDef
636
+ VpcDNSTargets: List[VpcDNSTargetTypeDef]
637
+ ResponseMetadata: ResponseMetadataTypeDef
638
+
639
+
640
+ # This class is the output for the 'describe_custom_domains' function.
641
+ class DescribeCustomDomainsResponseTypeDef(BaseValidatorModel):
642
+ DNSTarget: str
643
+ ServiceArn: str
644
+ CustomDomains: List[CustomDomainTypeDef]
645
+ VpcDNSTargets: List[VpcDNSTargetTypeDef]
646
+ ResponseMetadata: ResponseMetadataTypeDef
647
+ NextToken: Optional[str] = None
648
+
649
+
650
+ # This class is the output for the 'disassociate_custom_domain' function.
651
+ class DisassociateCustomDomainResponseTypeDef(BaseValidatorModel):
652
+ DNSTarget: str
653
+ ServiceArn: str
654
+ CustomDomain: CustomDomainTypeDef
655
+ VpcDNSTargets: List[VpcDNSTargetTypeDef]
656
+ ResponseMetadata: ResponseMetadataTypeDef
657
+
658
+
659
+ class CodeRepositoryOutputTypeDef(BaseValidatorModel):
660
+ RepositoryUrl: str
661
+ SourceCodeVersion: SourceCodeVersionTypeDef
662
+ CodeConfiguration: Optional[CodeConfigurationOutputTypeDef] = None
663
+ SourceDirectory: Optional[str] = None
664
+
665
+
666
+ class CodeRepositoryTypeDef(BaseValidatorModel):
667
+ RepositoryUrl: str
668
+ SourceCodeVersion: SourceCodeVersionTypeDef
669
+ CodeConfiguration: Optional[CodeConfigurationTypeDef] = None
670
+ SourceDirectory: Optional[str] = None
671
+
672
+
673
+ # This class is the output for the 'create_observability_configuration' function.
674
+ class CreateObservabilityConfigurationResponseTypeDef(BaseValidatorModel):
675
+ ObservabilityConfiguration: ObservabilityConfigurationTypeDef
676
+ ResponseMetadata: ResponseMetadataTypeDef
677
+
678
+
679
+ # This class is the output for the 'delete_observability_configuration' function.
680
+ class DeleteObservabilityConfigurationResponseTypeDef(BaseValidatorModel):
681
+ ObservabilityConfiguration: ObservabilityConfigurationTypeDef
682
+ ResponseMetadata: ResponseMetadataTypeDef
683
+
684
+
685
+ # This class is the output for the 'describe_observability_configuration' function.
686
+ class DescribeObservabilityConfigurationResponseTypeDef(BaseValidatorModel):
687
+ ObservabilityConfiguration: ObservabilityConfigurationTypeDef
688
+ ResponseMetadata: ResponseMetadataTypeDef
689
+
690
+
691
+ # This class is the output for the 'create_vpc_ingress_connection' function.
692
+ class CreateVpcIngressConnectionResponseTypeDef(BaseValidatorModel):
693
+ VpcIngressConnection: VpcIngressConnectionTypeDef
694
+ ResponseMetadata: ResponseMetadataTypeDef
695
+
696
+
697
+ # This class is the output for the 'delete_vpc_ingress_connection' function.
698
+ class DeleteVpcIngressConnectionResponseTypeDef(BaseValidatorModel):
699
+ VpcIngressConnection: VpcIngressConnectionTypeDef
700
+ ResponseMetadata: ResponseMetadataTypeDef
701
+
702
+
703
+ # This class is the output for the 'describe_vpc_ingress_connection' function.
704
+ class DescribeVpcIngressConnectionResponseTypeDef(BaseValidatorModel):
705
+ VpcIngressConnection: VpcIngressConnectionTypeDef
706
+ ResponseMetadata: ResponseMetadataTypeDef
707
+
708
+
709
+ # This class is the output for the 'update_vpc_ingress_connection' function.
710
+ class UpdateVpcIngressConnectionResponseTypeDef(BaseValidatorModel):
711
+ VpcIngressConnection: VpcIngressConnectionTypeDef
712
+ ResponseMetadata: ResponseMetadataTypeDef
713
+
714
+
715
+ class SourceConfigurationOutputTypeDef(BaseValidatorModel):
716
+ CodeRepository: Optional[CodeRepositoryOutputTypeDef] = None
717
+ ImageRepository: Optional[ImageRepositoryOutputTypeDef] = None
718
+ AutoDeploymentsEnabled: Optional[bool] = None
719
+ AuthenticationConfiguration: Optional[AuthenticationConfigurationTypeDef] = None
720
+
721
+
722
+ class SourceConfigurationTypeDef(BaseValidatorModel):
723
+ CodeRepository: Optional[CodeRepositoryTypeDef] = None
724
+ ImageRepository: Optional[ImageRepositoryTypeDef] = None
725
+ AutoDeploymentsEnabled: Optional[bool] = None
726
+ AuthenticationConfiguration: Optional[AuthenticationConfigurationTypeDef] = None
727
+
728
+
729
+ class ServiceTypeDef(BaseValidatorModel):
730
+ ServiceName: str
731
+ ServiceId: str
732
+ ServiceArn: str
733
+ CreatedAt: datetime
734
+ UpdatedAt: datetime
735
+ Status: ServiceStatusType
736
+ SourceConfiguration: SourceConfigurationOutputTypeDef
737
+ InstanceConfiguration: InstanceConfigurationTypeDef
738
+ AutoScalingConfigurationSummary: AutoScalingConfigurationSummaryTypeDef
739
+ NetworkConfiguration: NetworkConfigurationTypeDef
740
+ ServiceUrl: Optional[str] = None
741
+ DeletedAt: Optional[datetime] = None
742
+ EncryptionConfiguration: Optional[EncryptionConfigurationTypeDef] = None
743
+ HealthCheckConfiguration: Optional[HealthCheckConfigurationTypeDef] = None
744
+ ObservabilityConfiguration: Optional[ServiceObservabilityConfigurationTypeDef] = None
745
+
746
+
747
+ SourceConfigurationUnionTypeDef = Union[SourceConfigurationOutputTypeDef, SourceConfigurationTypeDef]
748
+
749
+
750
+ # This class is the output for the 'create_service' function.
751
+ class CreateServiceResponseTypeDef(BaseValidatorModel):
752
+ Service: ServiceTypeDef
753
+ OperationId: str
754
+ ResponseMetadata: ResponseMetadataTypeDef
755
+
756
+
757
+ # This class is the output for the 'delete_service' function.
758
+ class DeleteServiceResponseTypeDef(BaseValidatorModel):
759
+ Service: ServiceTypeDef
760
+ OperationId: str
761
+ ResponseMetadata: ResponseMetadataTypeDef
762
+
763
+
764
+ # This class is the output for the 'describe_service' function.
765
+ class DescribeServiceResponseTypeDef(BaseValidatorModel):
766
+ Service: ServiceTypeDef
767
+ ResponseMetadata: ResponseMetadataTypeDef
768
+
769
+
770
+ # This class is the output for the 'pause_service' function.
771
+ class PauseServiceResponseTypeDef(BaseValidatorModel):
772
+ Service: ServiceTypeDef
773
+ OperationId: str
774
+ ResponseMetadata: ResponseMetadataTypeDef
775
+
776
+
777
+ # This class is the output for the 'resume_service' function.
778
+ class ResumeServiceResponseTypeDef(BaseValidatorModel):
779
+ Service: ServiceTypeDef
780
+ OperationId: str
781
+ ResponseMetadata: ResponseMetadataTypeDef
782
+
783
+
784
+ # This class is the output for the 'update_service' function.
785
+ class UpdateServiceResponseTypeDef(BaseValidatorModel):
786
+ Service: ServiceTypeDef
787
+ OperationId: str
788
+ ResponseMetadata: ResponseMetadataTypeDef
789
+
790
+
791
+ # This class is the input for the 'create_service' function.
792
+ class CreateServiceRequestTypeDef(BaseValidatorModel):
793
+ ServiceName: str
794
+ SourceConfiguration: SourceConfigurationUnionTypeDef
795
+ InstanceConfiguration: Optional[InstanceConfigurationTypeDef] = None
796
+ Tags: Optional[List[TagTypeDef]] = None
797
+ EncryptionConfiguration: Optional[EncryptionConfigurationTypeDef] = None
798
+ HealthCheckConfiguration: Optional[HealthCheckConfigurationTypeDef] = None
799
+ AutoScalingConfigurationArn: Optional[str] = None
800
+ NetworkConfiguration: Optional[NetworkConfigurationTypeDef] = None
801
+ ObservabilityConfiguration: Optional[ServiceObservabilityConfigurationTypeDef] = None
802
+
803
+
804
+ # This class is the input for the 'update_service' function.
805
+ class UpdateServiceRequestTypeDef(BaseValidatorModel):
806
+ ServiceArn: str
807
+ SourceConfiguration: Optional[SourceConfigurationUnionTypeDef] = None
808
+ InstanceConfiguration: Optional[InstanceConfigurationTypeDef] = None
809
+ AutoScalingConfigurationArn: Optional[str] = None
810
+ HealthCheckConfiguration: Optional[HealthCheckConfigurationTypeDef] = None
811
+ NetworkConfiguration: Optional[NetworkConfigurationTypeDef] = None
812
+ ObservabilityConfiguration: Optional[ServiceObservabilityConfigurationTypeDef] = None