/
models_0.ts
8567 lines (7493 loc) · 227 KB
/
models_0.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// smithy-typescript generated code
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
/**
* @public
* <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips)
* on an instance.</p>
*/
export interface AcceleratorCount {
/**
* <p>The minimum number of accelerators. If this parameter is not specified, there is no minimum
* limit.</p>
*/
Min?: number;
/**
* <p>The maximum number of accelerators. If this parameter is not specified, there is no
* maximum limit.</p>
*/
Max?: number;
}
/**
* @public
* <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips)
* on an instance. To exclude accelerator-enabled instance types, set <code>Max</code> to
* <code>0</code>.</p>
*/
export interface AcceleratorCountRequest {
/**
* <p>The minimum number of accelerators. To specify no minimum limit, omit this
* parameter.</p>
*/
Min?: number;
/**
* <p>The maximum number of accelerators. To specify no maximum limit, omit this
* parameter. To exclude accelerator-enabled instance types, set <code>Max</code> to
* <code>0</code>.</p>
*/
Max?: number;
}
/**
* @public
* @enum
*/
export const AcceleratorManufacturer = {
AMAZON_WEB_SERVICES: "amazon-web-services",
AMD: "amd",
NVIDIA: "nvidia",
XILINX: "xilinx",
} as const;
/**
* @public
*/
export type AcceleratorManufacturer = (typeof AcceleratorManufacturer)[keyof typeof AcceleratorManufacturer];
/**
* @public
* @enum
*/
export const AcceleratorName = {
A100: "a100",
INFERENTIA: "inferentia",
K520: "k520",
K80: "k80",
M60: "m60",
RADEON_PRO_V520: "radeon-pro-v520",
T4: "t4",
V100: "v100",
VU9P: "vu9p",
} as const;
/**
* @public
*/
export type AcceleratorName = (typeof AcceleratorName)[keyof typeof AcceleratorName];
/**
* @public
* <p>The minimum and maximum amount of total accelerator memory, in MiB.</p>
*/
export interface AcceleratorTotalMemoryMiB {
/**
* <p>The minimum amount of accelerator memory, in MiB. If this parameter is not specified,
* there is no minimum limit.</p>
*/
Min?: number;
/**
* <p>The maximum amount of accelerator memory, in MiB. If this parameter is not specified,
* there is no maximum limit.</p>
*/
Max?: number;
}
/**
* @public
* <p>The minimum and maximum amount of total accelerator memory, in MiB.</p>
*/
export interface AcceleratorTotalMemoryMiBRequest {
/**
* <p>The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this
* parameter.</p>
*/
Min?: number;
/**
* <p>The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this
* parameter.</p>
*/
Max?: number;
}
/**
* @public
* @enum
*/
export const AcceleratorType = {
FPGA: "fpga",
GPU: "gpu",
INFERENCE: "inference",
} as const;
/**
* @public
*/
export type AcceleratorType = (typeof AcceleratorType)[keyof typeof AcceleratorType];
/**
* @public
* @enum
*/
export const ResourceType = {
capacity_reservation: "capacity-reservation",
capacity_reservation_fleet: "capacity-reservation-fleet",
carrier_gateway: "carrier-gateway",
client_vpn_endpoint: "client-vpn-endpoint",
coip_pool: "coip-pool",
customer_gateway: "customer-gateway",
dedicated_host: "dedicated-host",
dhcp_options: "dhcp-options",
egress_only_internet_gateway: "egress-only-internet-gateway",
elastic_gpu: "elastic-gpu",
elastic_ip: "elastic-ip",
export_image_task: "export-image-task",
export_instance_task: "export-instance-task",
fleet: "fleet",
fpga_image: "fpga-image",
host_reservation: "host-reservation",
image: "image",
import_image_task: "import-image-task",
import_snapshot_task: "import-snapshot-task",
instance: "instance",
instance_event_window: "instance-event-window",
internet_gateway: "internet-gateway",
ipam: "ipam",
ipam_pool: "ipam-pool",
ipam_resource_discovery: "ipam-resource-discovery",
ipam_resource_discovery_association: "ipam-resource-discovery-association",
ipam_scope: "ipam-scope",
ipv4pool_ec2: "ipv4pool-ec2",
ipv6pool_ec2: "ipv6pool-ec2",
key_pair: "key-pair",
launch_template: "launch-template",
local_gateway: "local-gateway",
local_gateway_route_table: "local-gateway-route-table",
local_gateway_route_table_virtual_interface_group_association:
"local-gateway-route-table-virtual-interface-group-association",
local_gateway_route_table_vpc_association: "local-gateway-route-table-vpc-association",
local_gateway_virtual_interface: "local-gateway-virtual-interface",
local_gateway_virtual_interface_group: "local-gateway-virtual-interface-group",
natgateway: "natgateway",
network_acl: "network-acl",
network_insights_access_scope: "network-insights-access-scope",
network_insights_access_scope_analysis: "network-insights-access-scope-analysis",
network_insights_analysis: "network-insights-analysis",
network_insights_path: "network-insights-path",
network_interface: "network-interface",
placement_group: "placement-group",
prefix_list: "prefix-list",
replace_root_volume_task: "replace-root-volume-task",
reserved_instances: "reserved-instances",
route_table: "route-table",
security_group: "security-group",
security_group_rule: "security-group-rule",
snapshot: "snapshot",
spot_fleet_request: "spot-fleet-request",
spot_instances_request: "spot-instances-request",
subnet: "subnet",
subnet_cidr_reservation: "subnet-cidr-reservation",
traffic_mirror_filter: "traffic-mirror-filter",
traffic_mirror_filter_rule: "traffic-mirror-filter-rule",
traffic_mirror_session: "traffic-mirror-session",
traffic_mirror_target: "traffic-mirror-target",
transit_gateway: "transit-gateway",
transit_gateway_attachment: "transit-gateway-attachment",
transit_gateway_connect_peer: "transit-gateway-connect-peer",
transit_gateway_multicast_domain: "transit-gateway-multicast-domain",
transit_gateway_policy_table: "transit-gateway-policy-table",
transit_gateway_route_table: "transit-gateway-route-table",
transit_gateway_route_table_announcement: "transit-gateway-route-table-announcement",
verified_access_endpoint: "verified-access-endpoint",
verified_access_group: "verified-access-group",
verified_access_instance: "verified-access-instance",
verified_access_policy: "verified-access-policy",
verified_access_trust_provider: "verified-access-trust-provider",
volume: "volume",
vpc: "vpc",
vpc_block_public_access_exclusion: "vpc-block-public-access-exclusion",
vpc_endpoint: "vpc-endpoint",
vpc_endpoint_connection: "vpc-endpoint-connection",
vpc_endpoint_connection_device_type: "vpc-endpoint-connection-device-type",
vpc_endpoint_service: "vpc-endpoint-service",
vpc_endpoint_service_permission: "vpc-endpoint-service-permission",
vpc_flow_log: "vpc-flow-log",
vpc_peering_connection: "vpc-peering-connection",
vpn_connection: "vpn-connection",
vpn_connection_device_type: "vpn-connection-device-type",
vpn_gateway: "vpn-gateway",
} as const;
/**
* @public
*/
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
/**
* @public
* <p>Describes a tag.</p>
*/
export interface Tag {
/**
* <p>The key of the tag.</p>
* <p>Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters.
* May not begin with <code>aws:</code>.</p>
*/
Key?: string;
/**
* <p>The value of the tag.</p>
* <p>Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.</p>
*/
Value?: string;
}
/**
* @public
* <p>The tags to apply to a resource when the resource is being created. When you specify a tag, you must
* specify the resource type to tag, otherwise the request will fail.</p>
* <note>
* <p>The <code>Valid Values</code> lists all the resource types that can be tagged.
* However, the action you're using might not support tagging all of these resource types.
* If you try to tag a resource type that is unsupported for the action you're using,
* you'll get an error.</p>
* </note>
*/
export interface TagSpecification {
/**
* <p>The type of resource to tag on creation.</p>
*/
ResourceType?: ResourceType | string;
/**
* <p>The tags to apply to the resource.</p>
*/
Tags?: Tag[];
}
/**
* @public
*/
export interface AcceptAddressTransferRequest {
/**
* <p>The Elastic IP address you are accepting for transfer.</p>
*/
Address: string | undefined;
/**
* <p>
* <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
*/
TagSpecifications?: TagSpecification[];
/**
* <p>Checks whether you have the required permissions for the action, without actually making the request,
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
*/
DryRun?: boolean;
}
/**
* @public
* @enum
*/
export const AddressTransferStatus = {
accepted: "accepted",
disabled: "disabled",
pending: "pending",
} as const;
/**
* @public
*/
export type AddressTransferStatus = (typeof AddressTransferStatus)[keyof typeof AddressTransferStatus];
/**
* @public
* <p>Details on the Elastic IP address transfer. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro">Transfer Elastic IP addresses</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
*/
export interface AddressTransfer {
/**
* <p>The Elastic IP address being transferred.</p>
*/
PublicIp?: string;
/**
* <p>The allocation ID of an Elastic IP address.</p>
*/
AllocationId?: string;
/**
* <p>The ID of the account that you want to transfer the Elastic IP address to.</p>
*/
TransferAccountId?: string;
/**
* <p>The timestamp when the Elastic IP address transfer expired. When the source account starts
* the transfer, the transfer account has seven hours to allocate the Elastic IP address to
* complete the transfer, or the Elastic IP address will return to its original owner.</p>
*/
TransferOfferExpirationTimestamp?: Date;
/**
* <p>The timestamp when the Elastic IP address transfer was accepted.</p>
*/
TransferOfferAcceptedTimestamp?: Date;
/**
* <p>The Elastic IP address transfer status.</p>
*/
AddressTransferStatus?: AddressTransferStatus | string;
}
/**
* @public
*/
export interface AcceptAddressTransferResult {
/**
* <p>An Elastic IP address transfer.</p>
*/
AddressTransfer?: AddressTransfer;
}
/**
* @public
* <p>Details about the target configuration.</p>
*/
export interface TargetConfigurationRequest {
/**
* <p>The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot
* be specified in a request</p>
*/
InstanceCount?: number;
/**
* <p>The Convertible Reserved Instance offering ID.</p>
*/
OfferingId: string | undefined;
}
/**
* @public
* <p>Contains the parameters for accepting the quote.</p>
*/
export interface AcceptReservedInstancesExchangeQuoteRequest {
/**
* <p>Checks whether you have the required permissions for the action, without actually making the request,
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
*/
DryRun?: boolean;
/**
* <p>The IDs of the Convertible Reserved Instances to exchange for another Convertible
* Reserved Instance of the same or higher value.</p>
*/
ReservedInstanceIds: string[] | undefined;
/**
* <p>The configuration of the target Convertible Reserved Instance to exchange for your
* current Convertible Reserved Instances.</p>
*/
TargetConfigurations?: TargetConfigurationRequest[];
}
/**
* @public
* <p>The result of the exchange and whether it was <code>successful</code>.</p>
*/
export interface AcceptReservedInstancesExchangeQuoteResult {
/**
* <p>The ID of the successful exchange.</p>
*/
ExchangeId?: string;
}
/**
* @public
*/
export interface AcceptTransitGatewayMulticastDomainAssociationsRequest {
/**
* <p>The ID of the transit gateway multicast domain.</p>
*/
TransitGatewayMulticastDomainId?: string;
/**
* <p>The ID of the transit gateway attachment.</p>
*/
TransitGatewayAttachmentId?: string;
/**
* <p>The IDs of the subnets to associate with the transit gateway multicast domain.</p>
*/
SubnetIds?: string[];
/**
* <p>Checks whether you have the required permissions for the action, without actually making the request,
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
*/
DryRun?: boolean;
}
/**
* @public
* @enum
*/
export const TransitGatewayAttachmentResourceType = {
connect: "connect",
direct_connect_gateway: "direct-connect-gateway",
peering: "peering",
tgw_peering: "tgw-peering",
vpc: "vpc",
vpn: "vpn",
} as const;
/**
* @public
*/
export type TransitGatewayAttachmentResourceType =
(typeof TransitGatewayAttachmentResourceType)[keyof typeof TransitGatewayAttachmentResourceType];
/**
* @public
* @enum
*/
export const TransitGatewayMulitcastDomainAssociationState = {
associated: "associated",
associating: "associating",
disassociated: "disassociated",
disassociating: "disassociating",
failed: "failed",
pendingAcceptance: "pendingAcceptance",
rejected: "rejected",
} as const;
/**
* @public
*/
export type TransitGatewayMulitcastDomainAssociationState =
(typeof TransitGatewayMulitcastDomainAssociationState)[keyof typeof TransitGatewayMulitcastDomainAssociationState];
/**
* @public
* <p>Describes the subnet association with the transit gateway multicast domain.</p>
*/
export interface SubnetAssociation {
/**
* <p>The ID of the subnet.</p>
*/
SubnetId?: string;
/**
* <p>The state of the subnet association.</p>
*/
State?: TransitGatewayMulitcastDomainAssociationState | string;
}
/**
* @public
* <p>Describes the multicast domain associations.</p>
*/
export interface TransitGatewayMulticastDomainAssociations {
/**
* <p>The ID of the transit gateway multicast domain.</p>
*/
TransitGatewayMulticastDomainId?: string;
/**
* <p>The ID of the transit gateway attachment.</p>
*/
TransitGatewayAttachmentId?: string;
/**
* <p>The ID of the resource.</p>
*/
ResourceId?: string;
/**
* <p>The type of resource, for example a VPC attachment.</p>
*/
ResourceType?: TransitGatewayAttachmentResourceType | string;
/**
* <p> The ID of the Amazon Web Services account that owns the resource.</p>
*/
ResourceOwnerId?: string;
/**
* <p>The subnets associated with the multicast domain.</p>
*/
Subnets?: SubnetAssociation[];
}
/**
* @public
*/
export interface AcceptTransitGatewayMulticastDomainAssociationsResult {
/**
* <p>Information about the multicast domain associations.</p>
*/
Associations?: TransitGatewayMulticastDomainAssociations;
}
/**
* @public
*/
export interface AcceptTransitGatewayPeeringAttachmentRequest {
/**
* <p>The ID of the transit gateway attachment.</p>
*/
TransitGatewayAttachmentId: string | undefined;
/**
* <p>Checks whether you have the required permissions for the action, without actually making the request,
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
*/
DryRun?: boolean;
}
/**
* @public
* <p>Information about the transit gateway in the peering attachment.</p>
*/
export interface PeeringTgwInfo {
/**
* <p>The ID of the transit gateway.</p>
*/
TransitGatewayId?: string;
/**
* <p>The ID of the core network where the transit gateway peer is located.</p>
*/
CoreNetworkId?: string;
/**
* <p>The ID of the Amazon Web Services account that owns the transit gateway.</p>
*/
OwnerId?: string;
/**
* <p>The Region of the transit gateway.</p>
*/
Region?: string;
}
/**
* @public
* @enum
*/
export const DynamicRoutingValue = {
disable: "disable",
enable: "enable",
} as const;
/**
* @public
*/
export type DynamicRoutingValue = (typeof DynamicRoutingValue)[keyof typeof DynamicRoutingValue];
/**
* @public
* <p>Describes dynamic routing for the transit gateway peering attachment.</p>
*/
export interface TransitGatewayPeeringAttachmentOptions {
/**
* <p>Describes whether dynamic routing is enabled or disabled for the transit gateway peering attachment.</p>
*/
DynamicRouting?: DynamicRoutingValue | string;
}
/**
* @public
* @enum
*/
export const TransitGatewayAttachmentState = {
available: "available",
deleted: "deleted",
deleting: "deleting",
failed: "failed",
failing: "failing",
initiating: "initiating",
initiatingRequest: "initiatingRequest",
modifying: "modifying",
pending: "pending",
pendingAcceptance: "pendingAcceptance",
rejected: "rejected",
rejecting: "rejecting",
rollingBack: "rollingBack",
} as const;
/**
* @public
*/
export type TransitGatewayAttachmentState =
(typeof TransitGatewayAttachmentState)[keyof typeof TransitGatewayAttachmentState];
/**
* @public
* <p>The status of the transit gateway peering attachment.</p>
*/
export interface PeeringAttachmentStatus {
/**
* <p>The status code.</p>
*/
Code?: string;
/**
* <p>The status message, if applicable.</p>
*/
Message?: string;
}
/**
* @public
* <p>Describes the transit gateway peering attachment.</p>
*/
export interface TransitGatewayPeeringAttachment {
/**
* <p>The ID of the transit gateway peering attachment.</p>
*/
TransitGatewayAttachmentId?: string;
/**
* <p>The ID of the accepter transit gateway attachment.</p>
*/
AccepterTransitGatewayAttachmentId?: string;
/**
* <p>Information about the requester transit gateway.</p>
*/
RequesterTgwInfo?: PeeringTgwInfo;
/**
* <p>Information about the accepter transit gateway.</p>
*/
AccepterTgwInfo?: PeeringTgwInfo;
/**
* <p>Details about the transit gateway peering attachment.</p>
*/
Options?: TransitGatewayPeeringAttachmentOptions;
/**
* <p>The status of the transit gateway peering attachment.</p>
*/
Status?: PeeringAttachmentStatus;
/**
* <p>The state of the transit gateway peering attachment. Note that the <code>initiating</code> state has been deprecated.</p>
*/
State?: TransitGatewayAttachmentState | string;
/**
* <p>The time the transit gateway peering attachment was created.</p>
*/
CreationTime?: Date;
/**
* <p>The tags for the transit gateway peering attachment.</p>
*/
Tags?: Tag[];
}
/**
* @public
*/
export interface AcceptTransitGatewayPeeringAttachmentResult {
/**
* <p>The transit gateway peering attachment.</p>
*/
TransitGatewayPeeringAttachment?: TransitGatewayPeeringAttachment;
}
/**
* @public
*/
export interface AcceptTransitGatewayVpcAttachmentRequest {
/**
* <p>The ID of the attachment.</p>
*/
TransitGatewayAttachmentId: string | undefined;
/**
* <p>Checks whether you have the required permissions for the action, without actually making the request,
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
*/
DryRun?: boolean;
}
/**
* @public
* @enum
*/
export const ApplianceModeSupportValue = {
disable: "disable",
enable: "enable",
} as const;
/**
* @public
*/
export type ApplianceModeSupportValue = (typeof ApplianceModeSupportValue)[keyof typeof ApplianceModeSupportValue];
/**
* @public
* @enum
*/
export const DnsSupportValue = {
disable: "disable",
enable: "enable",
} as const;
/**
* @public
*/
export type DnsSupportValue = (typeof DnsSupportValue)[keyof typeof DnsSupportValue];
/**
* @public
* @enum
*/
export const Ipv6SupportValue = {
disable: "disable",
enable: "enable",
} as const;
/**
* @public
*/
export type Ipv6SupportValue = (typeof Ipv6SupportValue)[keyof typeof Ipv6SupportValue];
/**
* @public
* <p>Describes the VPC attachment options.</p>
*/
export interface TransitGatewayVpcAttachmentOptions {
/**
* <p>Indicates whether DNS support is enabled.</p>
*/
DnsSupport?: DnsSupportValue | string;
/**
* <p>Indicates whether IPv6 support is disabled.</p>
*/
Ipv6Support?: Ipv6SupportValue | string;
/**
* <p>Indicates whether appliance mode support is enabled.</p>
*/
ApplianceModeSupport?: ApplianceModeSupportValue | string;
}
/**
* @public
* <p>Describes a VPC attachment.</p>
*/
export interface TransitGatewayVpcAttachment {
/**
* <p>The ID of the attachment.</p>
*/
TransitGatewayAttachmentId?: string;
/**
* <p>The ID of the transit gateway.</p>
*/
TransitGatewayId?: string;
/**
* <p>The ID of the VPC.</p>
*/
VpcId?: string;
/**
* <p>The ID of the Amazon Web Services account that owns the VPC.</p>
*/
VpcOwnerId?: string;
/**
* <p>The state of the VPC attachment. Note that the <code>initiating</code> state has been deprecated.</p>
*/
State?: TransitGatewayAttachmentState | string;
/**
* <p>The IDs of the subnets.</p>
*/
SubnetIds?: string[];
/**
* <p>The creation time.</p>
*/
CreationTime?: Date;
/**
* <p>The VPC attachment options.</p>
*/
Options?: TransitGatewayVpcAttachmentOptions;
/**
* <p>The tags for the VPC attachment.</p>
*/
Tags?: Tag[];
}
/**
* @public
*/
export interface AcceptTransitGatewayVpcAttachmentResult {
/**
* <p>The VPC attachment.</p>
*/
TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment;
}
/**
* @public
*/
export interface AcceptVpcEndpointConnectionsRequest {
/**
* <p>Checks whether you have the required permissions for the action, without actually making the request,
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
*/
DryRun?: boolean;
/**
* <p>The ID of the VPC endpoint service.</p>
*/
ServiceId: string | undefined;
/**
* <p>The IDs of the interface VPC endpoints.</p>
*/
VpcEndpointIds: string[] | undefined;
}
/**
* @public
* <p>Information about the error that occurred. For more information about errors, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
*/
export interface UnsuccessfulItemError {
/**
* <p>The error code.</p>
*/
Code?: string;
/**
* <p>The error message accompanying the error code.</p>
*/
Message?: string;
}
/**
* @public
* <p>Information about items that were not successfully processed in a batch call.</p>
*/
export interface UnsuccessfulItem {
/**
* <p>Information about the error.</p>
*/
Error?: UnsuccessfulItemError;
/**
* <p>The ID of the resource.</p>
*/
ResourceId?: string;
}
/**
* @public
*/
export interface AcceptVpcEndpointConnectionsResult {
/**
* <p>Information about the interface endpoints that were not accepted, if
* applicable.</p>
*/
Unsuccessful?: UnsuccessfulItem[];
}
/**
* @public
*/
export interface AcceptVpcPeeringConnectionRequest {
/**
* <p>Checks whether you have the required permissions for the action, without actually making the request,
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
*/
DryRun?: boolean;
/**
* <p>The ID of the VPC peering connection. You must specify this parameter in the
* request.</p>
*/
VpcPeeringConnectionId: string | undefined;
}
/**
* @public
* <p>Describes an IPv4 CIDR block.</p>
*/
export interface CidrBlock {
/**
* <p>The IPv4 CIDR block.</p>
*/
CidrBlock?: string;
}
/**
* @public
* <p>Describes an IPv6 CIDR block.</p>
*/
export interface Ipv6CidrBlock {
/**
* <p>The IPv6 CIDR block.</p>
*/
Ipv6CidrBlock?: string;
}
/**
* @public
* <note>
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
* </note>
* <p>Describes the VPC peering connection options.</p>
*/
export interface VpcPeeringConnectionOptionsDescription {
/**
* <p>Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.</p>
*/
AllowDnsResolutionFromRemoteVpc?: boolean;
/**
* <p>Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.</p>
*/
AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
/**
* <p>Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.</p>
*/
AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
}
/**
* @public
* <p>Describes a VPC in a VPC peering connection.</p>
*/
export interface VpcPeeringConnectionVpcInfo {
/**
* <p>The IPv4 CIDR block for the VPC.</p>
*/
CidrBlock?: string;
/**
* <p>The IPv6 CIDR block for the VPC.</p>
*/
Ipv6CidrBlockSet?: Ipv6CidrBlock[];
/**
* <p>Information about the IPv4 CIDR blocks for the VPC.</p>
*/
CidrBlockSet?: CidrBlock[];