@aws-sdk/client-ec2 3.438.0 → 3.441.0

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.
Files changed (90) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EC2.js +4 -0
  3. package/dist-cjs/commands/DescribeCapacityBlockOfferingsCommand.js +51 -0
  4. package/dist-cjs/commands/PurchaseCapacityBlockCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +8 -1
  7. package/dist-cjs/models/models_1.js +2 -0
  8. package/dist-cjs/models/models_3.js +2 -6
  9. package/dist-cjs/models/models_4.js +8 -2
  10. package/dist-cjs/pagination/DescribeCapacityBlockOfferingsPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +2 -1
  12. package/dist-cjs/protocols/Aws_ec2.js +213 -20
  13. package/dist-es/EC2.js +4 -0
  14. package/dist-es/commands/DescribeCapacityBlockOfferingsCommand.js +47 -0
  15. package/dist-es/commands/PurchaseCapacityBlockCommand.js +47 -0
  16. package/dist-es/commands/index.js +2 -0
  17. package/dist-es/models/models_0.js +7 -0
  18. package/dist-es/models/models_1.js +2 -0
  19. package/dist-es/models/models_3.js +0 -4
  20. package/dist-es/models/models_4.js +6 -0
  21. package/dist-es/pagination/DescribeCapacityBlockOfferingsPaginator.js +25 -0
  22. package/dist-es/pagination/index.js +2 -1
  23. package/dist-es/protocols/Aws_ec2.js +188 -0
  24. package/dist-types/EC2.d.ts +14 -0
  25. package/dist-types/EC2Client.d.ts +4 -2
  26. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  30. package/dist-types/commands/DeletePublicIpv4PoolCommand.d.ts +1 -2
  31. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +94 -0
  32. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -3
  36. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  39. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  40. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  41. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -1
  42. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  43. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -2
  44. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  45. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +122 -0
  46. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +2 -1
  47. package/dist-types/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  48. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  49. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -2
  50. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  51. package/dist-types/commands/index.d.ts +2 -0
  52. package/dist-types/models/models_0.d.ts +20 -16
  53. package/dist-types/models/models_1.d.ts +22 -51
  54. package/dist-types/models/models_2.d.ts +49 -18
  55. package/dist-types/models/models_3.d.ts +135 -788
  56. package/dist-types/models/models_4.d.ts +792 -120
  57. package/dist-types/models/models_5.d.ts +118 -141
  58. package/dist-types/models/models_6.d.ts +176 -217
  59. package/dist-types/models/models_7.d.ts +216 -1
  60. package/dist-types/pagination/DescribeCapacityBlockOfferingsPaginator.d.ts +7 -0
  61. package/dist-types/pagination/index.d.ts +2 -1
  62. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  63. package/dist-types/ts3.4/EC2.d.ts +34 -0
  64. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  65. package/dist-types/ts3.4/commands/DeletePublicIpv4PoolCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/DescribeCapacityBlockOfferingsCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/RevokeSecurityGroupIngressCommand.d.ts +4 -2
  78. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  79. package/dist-types/ts3.4/models/models_0.d.ts +10 -4
  80. package/dist-types/ts3.4/models/models_1.d.ts +6 -11
  81. package/dist-types/ts3.4/models/models_2.d.ts +13 -5
  82. package/dist-types/ts3.4/models/models_3.d.ts +31 -25
  83. package/dist-types/ts3.4/models/models_4.d.ts +28 -30
  84. package/dist-types/ts3.4/models/models_5.d.ts +26 -22
  85. package/dist-types/ts3.4/models/models_6.d.ts +33 -47
  86. package/dist-types/ts3.4/models/models_7.d.ts +46 -0
  87. package/dist-types/ts3.4/pagination/DescribeCapacityBlockOfferingsPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  89. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  90. package/package.json +4 -4
@@ -1,8 +1,124 @@
1
- import { AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
1
+ import { AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, TrunkInterfaceAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, RequestIpamResourceTag, ResponseLaunchTemplateData, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
3
- import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, SubnetCidrReservation, TransitGatewayPrefixListReference, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
3
+ import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, SubnetCidrReservation, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { AttributeBooleanValue, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IpamPoolCidr, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
5
5
  import { AnalysisStatus, ArchitectureType } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeTrunkInterfaceAssociationsRequest {
10
+ /**
11
+ * @public
12
+ * <p>The IDs of the associations.</p>
13
+ */
14
+ AssociationIds?: string[];
15
+ /**
16
+ * @public
17
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
18
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
19
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
20
+ */
21
+ DryRun?: boolean;
22
+ /**
23
+ * @public
24
+ * <p>One or more filters.</p>
25
+ * <ul>
26
+ * <li>
27
+ * <p>
28
+ * <code>gre-key</code> - The ID of a trunk interface association.</p>
29
+ * </li>
30
+ * <li>
31
+ * <p>
32
+ * <code>interface-protocol</code> - The interface protocol. Valid values are <code>VLAN</code> and <code>GRE</code>.</p>
33
+ * </li>
34
+ * </ul>
35
+ */
36
+ Filters?: Filter[];
37
+ /**
38
+ * @public
39
+ * <p>The token for the next page of results.</p>
40
+ */
41
+ NextToken?: string;
42
+ /**
43
+ * @public
44
+ * <p>The maximum number of results to return with a single call.
45
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
46
+ */
47
+ MaxResults?: number;
48
+ }
49
+ /**
50
+ * @public
51
+ */
52
+ export interface DescribeTrunkInterfaceAssociationsResult {
53
+ /**
54
+ * @public
55
+ * <p>Information about the trunk associations.</p>
56
+ */
57
+ InterfaceAssociations?: TrunkInterfaceAssociation[];
58
+ /**
59
+ * @public
60
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
61
+ */
62
+ NextToken?: string;
63
+ }
64
+ /**
65
+ * @public
66
+ */
67
+ export interface DescribeVerifiedAccessEndpointsRequest {
68
+ /**
69
+ * @public
70
+ * <p>The ID of the Verified Access endpoint.</p>
71
+ */
72
+ VerifiedAccessEndpointIds?: string[];
73
+ /**
74
+ * @public
75
+ * <p>The ID of the Verified Access instance.</p>
76
+ */
77
+ VerifiedAccessInstanceId?: string;
78
+ /**
79
+ * @public
80
+ * <p>The ID of the Verified Access group.</p>
81
+ */
82
+ VerifiedAccessGroupId?: string;
83
+ /**
84
+ * @public
85
+ * <p>The maximum number of results to return with a single call.
86
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
87
+ */
88
+ MaxResults?: number;
89
+ /**
90
+ * @public
91
+ * <p>The token for the next page of results.</p>
92
+ */
93
+ NextToken?: string;
94
+ /**
95
+ * @public
96
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
97
+ */
98
+ Filters?: Filter[];
99
+ /**
100
+ * @public
101
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
102
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
103
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
104
+ */
105
+ DryRun?: boolean;
106
+ }
107
+ /**
108
+ * @public
109
+ */
110
+ export interface DescribeVerifiedAccessEndpointsResult {
111
+ /**
112
+ * @public
113
+ * <p>The ID of the Verified Access endpoint.</p>
114
+ */
115
+ VerifiedAccessEndpoints?: VerifiedAccessEndpoint[];
116
+ /**
117
+ * @public
118
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
119
+ */
120
+ NextToken?: string;
121
+ }
6
122
  /**
7
123
  * @public
8
124
  */
@@ -7341,145 +7457,6 @@ export interface TransitGatewayPolicyTableEntry {
7341
7457
  */
7342
7458
  TargetRouteTableId?: string;
7343
7459
  }
7344
- /**
7345
- * @public
7346
- */
7347
- export interface GetTransitGatewayPolicyTableEntriesResult {
7348
- /**
7349
- * @public
7350
- * <p>The entries for the transit gateway policy table.</p>
7351
- */
7352
- TransitGatewayPolicyTableEntries?: TransitGatewayPolicyTableEntry[];
7353
- }
7354
- /**
7355
- * @public
7356
- */
7357
- export interface GetTransitGatewayPrefixListReferencesRequest {
7358
- /**
7359
- * @public
7360
- * <p>The ID of the transit gateway route table.</p>
7361
- */
7362
- TransitGatewayRouteTableId: string | undefined;
7363
- /**
7364
- * @public
7365
- * <p>One or more filters. The possible values are:</p>
7366
- * <ul>
7367
- * <li>
7368
- * <p>
7369
- * <code>attachment.resource-id</code> - The ID of the resource for the attachment.</p>
7370
- * </li>
7371
- * <li>
7372
- * <p>
7373
- * <code>attachment.resource-type</code> - The type of resource for the
7374
- * attachment. Valid values are <code>vpc</code> | <code>vpn</code> |
7375
- * <code>direct-connect-gateway</code> | <code>peering</code>.</p>
7376
- * </li>
7377
- * <li>
7378
- * <p>
7379
- * <code>attachment.transit-gateway-attachment-id</code> - The ID of the attachment.</p>
7380
- * </li>
7381
- * <li>
7382
- * <p>
7383
- * <code>is-blackhole</code> - Whether traffic matching the route is blocked (<code>true</code> | <code>false</code>).</p>
7384
- * </li>
7385
- * <li>
7386
- * <p>
7387
- * <code>prefix-list-id</code> - The ID of the prefix list.</p>
7388
- * </li>
7389
- * <li>
7390
- * <p>
7391
- * <code>prefix-list-owner-id</code> - The ID of the owner of the prefix list.</p>
7392
- * </li>
7393
- * <li>
7394
- * <p>
7395
- * <code>state</code> - The state of the prefix list reference (<code>pending</code> | <code>available</code> | <code>modifying</code> | <code>deleting</code>).</p>
7396
- * </li>
7397
- * </ul>
7398
- */
7399
- Filters?: Filter[];
7400
- /**
7401
- * @public
7402
- * <p>The maximum number of results to return with a single call.
7403
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
7404
- */
7405
- MaxResults?: number;
7406
- /**
7407
- * @public
7408
- * <p>The token for the next page of results.</p>
7409
- */
7410
- NextToken?: string;
7411
- /**
7412
- * @public
7413
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7414
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7415
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7416
- */
7417
- DryRun?: boolean;
7418
- }
7419
- /**
7420
- * @public
7421
- */
7422
- export interface GetTransitGatewayPrefixListReferencesResult {
7423
- /**
7424
- * @public
7425
- * <p>Information about the prefix list references.</p>
7426
- */
7427
- TransitGatewayPrefixListReferences?: TransitGatewayPrefixListReference[];
7428
- /**
7429
- * @public
7430
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
7431
- */
7432
- NextToken?: string;
7433
- }
7434
- /**
7435
- * @public
7436
- */
7437
- export interface GetTransitGatewayRouteTableAssociationsRequest {
7438
- /**
7439
- * @public
7440
- * <p>The ID of the transit gateway route table.</p>
7441
- */
7442
- TransitGatewayRouteTableId: string | undefined;
7443
- /**
7444
- * @public
7445
- * <p>One or more filters. The possible values are:</p>
7446
- * <ul>
7447
- * <li>
7448
- * <p>
7449
- * <code>resource-id</code> - The ID of the resource.</p>
7450
- * </li>
7451
- * <li>
7452
- * <p>
7453
- * <code>resource-type</code> - The resource type. Valid values are <code>vpc</code>
7454
- * | <code>vpn</code> | <code>direct-connect-gateway</code> | <code>peering</code>
7455
- * | <code>connect</code>.</p>
7456
- * </li>
7457
- * <li>
7458
- * <p>
7459
- * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
7460
- * </li>
7461
- * </ul>
7462
- */
7463
- Filters?: Filter[];
7464
- /**
7465
- * @public
7466
- * <p>The maximum number of results to return with a single call.
7467
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
7468
- */
7469
- MaxResults?: number;
7470
- /**
7471
- * @public
7472
- * <p>The token for the next page of results.</p>
7473
- */
7474
- NextToken?: string;
7475
- /**
7476
- * @public
7477
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7478
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7479
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7480
- */
7481
- DryRun?: boolean;
7482
- }
7483
7460
  /**
7484
7461
  * @internal
7485
7462
  */
@@ -1,9 +1,148 @@
1
- import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
1
+ import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, PlatformValues, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
5
5
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
6
+ import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPolicyTableEntry, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface GetTransitGatewayPolicyTableEntriesResult {
11
+ /**
12
+ * @public
13
+ * <p>The entries for the transit gateway policy table.</p>
14
+ */
15
+ TransitGatewayPolicyTableEntries?: TransitGatewayPolicyTableEntry[];
16
+ }
17
+ /**
18
+ * @public
19
+ */
20
+ export interface GetTransitGatewayPrefixListReferencesRequest {
21
+ /**
22
+ * @public
23
+ * <p>The ID of the transit gateway route table.</p>
24
+ */
25
+ TransitGatewayRouteTableId: string | undefined;
26
+ /**
27
+ * @public
28
+ * <p>One or more filters. The possible values are:</p>
29
+ * <ul>
30
+ * <li>
31
+ * <p>
32
+ * <code>attachment.resource-id</code> - The ID of the resource for the attachment.</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>
36
+ * <code>attachment.resource-type</code> - The type of resource for the
37
+ * attachment. Valid values are <code>vpc</code> | <code>vpn</code> |
38
+ * <code>direct-connect-gateway</code> | <code>peering</code>.</p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <code>attachment.transit-gateway-attachment-id</code> - The ID of the attachment.</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>is-blackhole</code> - Whether traffic matching the route is blocked (<code>true</code> | <code>false</code>).</p>
47
+ * </li>
48
+ * <li>
49
+ * <p>
50
+ * <code>prefix-list-id</code> - The ID of the prefix list.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <code>prefix-list-owner-id</code> - The ID of the owner of the prefix list.</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>state</code> - The state of the prefix list reference (<code>pending</code> | <code>available</code> | <code>modifying</code> | <code>deleting</code>).</p>
59
+ * </li>
60
+ * </ul>
61
+ */
62
+ Filters?: Filter[];
63
+ /**
64
+ * @public
65
+ * <p>The maximum number of results to return with a single call.
66
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
67
+ */
68
+ MaxResults?: number;
69
+ /**
70
+ * @public
71
+ * <p>The token for the next page of results.</p>
72
+ */
73
+ NextToken?: string;
74
+ /**
75
+ * @public
76
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
77
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
78
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
79
+ */
80
+ DryRun?: boolean;
81
+ }
82
+ /**
83
+ * @public
84
+ */
85
+ export interface GetTransitGatewayPrefixListReferencesResult {
86
+ /**
87
+ * @public
88
+ * <p>Information about the prefix list references.</p>
89
+ */
90
+ TransitGatewayPrefixListReferences?: TransitGatewayPrefixListReference[];
91
+ /**
92
+ * @public
93
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
94
+ */
95
+ NextToken?: string;
96
+ }
97
+ /**
98
+ * @public
99
+ */
100
+ export interface GetTransitGatewayRouteTableAssociationsRequest {
101
+ /**
102
+ * @public
103
+ * <p>The ID of the transit gateway route table.</p>
104
+ */
105
+ TransitGatewayRouteTableId: string | undefined;
106
+ /**
107
+ * @public
108
+ * <p>One or more filters. The possible values are:</p>
109
+ * <ul>
110
+ * <li>
111
+ * <p>
112
+ * <code>resource-id</code> - The ID of the resource.</p>
113
+ * </li>
114
+ * <li>
115
+ * <p>
116
+ * <code>resource-type</code> - The resource type. Valid values are <code>vpc</code>
117
+ * | <code>vpn</code> | <code>direct-connect-gateway</code> | <code>peering</code>
118
+ * | <code>connect</code>.</p>
119
+ * </li>
120
+ * <li>
121
+ * <p>
122
+ * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
123
+ * </li>
124
+ * </ul>
125
+ */
126
+ Filters?: Filter[];
127
+ /**
128
+ * @public
129
+ * <p>The maximum number of results to return with a single call.
130
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
131
+ */
132
+ MaxResults?: number;
133
+ /**
134
+ * @public
135
+ * <p>The token for the next page of results.</p>
136
+ */
137
+ NextToken?: string;
138
+ /**
139
+ * @public
140
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
141
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
142
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
143
+ */
144
+ DryRun?: boolean;
145
+ }
7
146
  /**
8
147
  * @public
9
148
  * <p>Describes an association between a route table and a resource attachment.</p>
@@ -5950,6 +6089,41 @@ export interface ProvisionPublicIpv4PoolCidrResult {
5950
6089
  */
5951
6090
  PoolAddressRange?: PublicIpv4PoolRange;
5952
6091
  }
6092
+ /**
6093
+ * @public
6094
+ */
6095
+ export interface PurchaseCapacityBlockRequest {
6096
+ /**
6097
+ * @public
6098
+ * <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>
6099
+ */
6100
+ DryRun?: boolean;
6101
+ /**
6102
+ * @public
6103
+ * <p>The tags to apply to the Capacity Block during launch.</p>
6104
+ */
6105
+ TagSpecifications?: TagSpecification[];
6106
+ /**
6107
+ * @public
6108
+ * <p>The ID of the Capacity Block offering.</p>
6109
+ */
6110
+ CapacityBlockOfferingId: string | undefined;
6111
+ /**
6112
+ * @public
6113
+ * <p>The type of operating system for which to reserve capacity.</p>
6114
+ */
6115
+ InstancePlatform: CapacityReservationInstancePlatform | undefined;
6116
+ }
6117
+ /**
6118
+ * @public
6119
+ */
6120
+ export interface PurchaseCapacityBlockResult {
6121
+ /**
6122
+ * @public
6123
+ * <p>The Capacity Reservation.</p>
6124
+ */
6125
+ CapacityReservation?: CapacityReservation;
6126
+ }
5953
6127
  /**
5954
6128
  * @public
5955
6129
  */
@@ -7816,221 +7990,6 @@ export interface RestoreSnapshotTierRequest {
7816
7990
  */
7817
7991
  DryRun?: boolean;
7818
7992
  }
7819
- /**
7820
- * @public
7821
- */
7822
- export interface RestoreSnapshotTierResult {
7823
- /**
7824
- * @public
7825
- * <p>The ID of the snapshot.</p>
7826
- */
7827
- SnapshotId?: string;
7828
- /**
7829
- * @public
7830
- * <p>The date and time when the snapshot restore process started.</p>
7831
- */
7832
- RestoreStartTime?: Date;
7833
- /**
7834
- * @public
7835
- * <p>For temporary restores only. The number of days for which the archived snapshot
7836
- * is temporarily restored.</p>
7837
- */
7838
- RestoreDuration?: number;
7839
- /**
7840
- * @public
7841
- * <p>Indicates whether the snapshot is permanently restored. <code>true</code> indicates a permanent
7842
- * restore. <code>false</code> indicates a temporary restore.</p>
7843
- */
7844
- IsPermanentRestore?: boolean;
7845
- }
7846
- /**
7847
- * @public
7848
- */
7849
- export interface RevokeClientVpnIngressRequest {
7850
- /**
7851
- * @public
7852
- * <p>The ID of the Client VPN endpoint with which the authorization rule is associated.</p>
7853
- */
7854
- ClientVpnEndpointId: string | undefined;
7855
- /**
7856
- * @public
7857
- * <p>The IPv4 address range, in CIDR notation, of the network for which access is being removed.</p>
7858
- */
7859
- TargetNetworkCidr: string | undefined;
7860
- /**
7861
- * @public
7862
- * <p>The ID of the Active Directory group for which to revoke access. </p>
7863
- */
7864
- AccessGroupId?: string;
7865
- /**
7866
- * @public
7867
- * <p>Indicates whether access should be revoked for all clients.</p>
7868
- */
7869
- RevokeAllGroups?: boolean;
7870
- /**
7871
- * @public
7872
- * <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>
7873
- */
7874
- DryRun?: boolean;
7875
- }
7876
- /**
7877
- * @public
7878
- */
7879
- export interface RevokeClientVpnIngressResult {
7880
- /**
7881
- * @public
7882
- * <p>The current state of the authorization rule.</p>
7883
- */
7884
- Status?: ClientVpnAuthorizationRuleStatus;
7885
- }
7886
- /**
7887
- * @public
7888
- */
7889
- export interface RevokeSecurityGroupEgressRequest {
7890
- /**
7891
- * @public
7892
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7893
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7894
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7895
- */
7896
- DryRun?: boolean;
7897
- /**
7898
- * @public
7899
- * <p>The ID of the security group.</p>
7900
- */
7901
- GroupId: string | undefined;
7902
- /**
7903
- * @public
7904
- * <p>The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.</p>
7905
- */
7906
- IpPermissions?: IpPermission[];
7907
- /**
7908
- * @public
7909
- * <p>The IDs of the security group rules.</p>
7910
- */
7911
- SecurityGroupRuleIds?: string[];
7912
- /**
7913
- * @public
7914
- * <p>Not supported. Use a set of IP permissions to specify the CIDR.</p>
7915
- */
7916
- CidrIp?: string;
7917
- /**
7918
- * @public
7919
- * <p>Not supported. Use a set of IP permissions to specify the port.</p>
7920
- */
7921
- FromPort?: number;
7922
- /**
7923
- * @public
7924
- * <p>Not supported. Use a set of IP permissions to specify the protocol name or
7925
- * number.</p>
7926
- */
7927
- IpProtocol?: string;
7928
- /**
7929
- * @public
7930
- * <p>Not supported. Use a set of IP permissions to specify the port.</p>
7931
- */
7932
- ToPort?: number;
7933
- /**
7934
- * @public
7935
- * <p>Not supported. Use a set of IP permissions to specify a
7936
- * destination security group.</p>
7937
- */
7938
- SourceSecurityGroupName?: string;
7939
- /**
7940
- * @public
7941
- * <p>Not supported. Use a set of IP permissions to specify a destination security
7942
- * group.</p>
7943
- */
7944
- SourceSecurityGroupOwnerId?: string;
7945
- }
7946
- /**
7947
- * @public
7948
- */
7949
- export interface RevokeSecurityGroupEgressResult {
7950
- /**
7951
- * @public
7952
- * <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
7953
- */
7954
- Return?: boolean;
7955
- /**
7956
- * @public
7957
- * <p>The outbound rules that were unknown to the service. In some cases,
7958
- * <code>unknownIpPermissionSet</code> might be in a different format from the request
7959
- * parameter. </p>
7960
- */
7961
- UnknownIpPermissions?: IpPermission[];
7962
- }
7963
- /**
7964
- * @public
7965
- */
7966
- export interface RevokeSecurityGroupIngressRequest {
7967
- /**
7968
- * @public
7969
- * <p>The CIDR IP address range. You can't specify this parameter when specifying a source security group.</p>
7970
- */
7971
- CidrIp?: string;
7972
- /**
7973
- * @public
7974
- * <p>If the protocol is TCP or UDP, this is the start of the port range.
7975
- * If the protocol is ICMP, this is the type number. A value of -1 indicates all ICMP types.</p>
7976
- */
7977
- FromPort?: number;
7978
- /**
7979
- * @public
7980
- * <p>The ID of the security group.</p>
7981
- */
7982
- GroupId?: string;
7983
- /**
7984
- * @public
7985
- * <p>[Default VPC] The name of the security group. You must specify either the
7986
- * security group ID or the security group name in the request. For security groups in a
7987
- * nondefault VPC, you must specify the security group ID.</p>
7988
- */
7989
- GroupName?: string;
7990
- /**
7991
- * @public
7992
- * <p>The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.</p>
7993
- */
7994
- IpPermissions?: IpPermission[];
7995
- /**
7996
- * @public
7997
- * <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>) or number
7998
- * (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>).
7999
- * Use <code>-1</code> to specify all.</p>
8000
- */
8001
- IpProtocol?: string;
8002
- /**
8003
- * @public
8004
- * <p>[Default VPC] The name of the source security group. You can't specify this parameter
8005
- * in combination with the following parameters: the CIDR IP address range, the start of the port range,
8006
- * the IP protocol, and the end of the port range. The source security group must be in the same VPC.
8007
- * To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.</p>
8008
- */
8009
- SourceSecurityGroupName?: string;
8010
- /**
8011
- * @public
8012
- * <p>Not supported.</p>
8013
- */
8014
- SourceSecurityGroupOwnerId?: string;
8015
- /**
8016
- * @public
8017
- * <p>If the protocol is TCP or UDP, this is the end of the port range.
8018
- * If the protocol is ICMP, this is the code. A value of -1 indicates all ICMP codes.</p>
8019
- */
8020
- ToPort?: number;
8021
- /**
8022
- * @public
8023
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8024
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8025
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8026
- */
8027
- DryRun?: boolean;
8028
- /**
8029
- * @public
8030
- * <p>The IDs of the security group rules.</p>
8031
- */
8032
- SecurityGroupRuleIds?: string[];
8033
- }
8034
7993
  /**
8035
7994
  * @internal
8036
7995
  */