@aws-sdk/client-ec2 3.667.0 → 3.669.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 (102) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +1375 -975
  3. package/dist-es/EC2.js +10 -0
  4. package/dist-es/commands/AcceptCapacityReservationBillingOwnershipCommand.js +22 -0
  5. package/dist-es/commands/AssociateCapacityReservationBillingOwnerCommand.js +22 -0
  6. package/dist-es/commands/DescribeCapacityReservationBillingRequestsCommand.js +22 -0
  7. package/dist-es/commands/DisassociateCapacityReservationBillingOwnerCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  9. package/dist-es/commands/RejectCapacityReservationBillingOwnershipCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +0 -833
  12. package/dist-es/models/models_1.js +833 -0
  13. package/dist-es/models/models_2.js +0 -8
  14. package/dist-es/models/models_3.js +20 -28
  15. package/dist-es/models/models_4.js +28 -4
  16. package/dist-es/models/models_5.js +4 -1
  17. package/dist-es/models/models_6.js +0 -3
  18. package/dist-es/models/models_7.js +3 -0
  19. package/dist-es/pagination/DescribeCapacityReservationBillingRequestsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -1
  21. package/dist-es/protocols/Aws_ec2.js +324 -28
  22. package/dist-types/EC2.d.ts +35 -0
  23. package/dist-types/EC2Client.d.ts +7 -2
  24. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  25. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
  26. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  27. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +2 -6
  28. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -1
  29. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -0
  30. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -7
  33. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -1
  34. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
  35. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteVpcCommand.d.ts +1 -7
  37. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +102 -0
  38. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -0
  39. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -2
  40. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -2
  42. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  43. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
  44. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  45. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  46. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  47. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  50. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  51. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  52. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  53. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -2
  54. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +2 -0
  55. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -0
  56. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  57. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -3
  58. package/dist-types/commands/index.d.ts +5 -0
  59. package/dist-types/models/models_0.d.ts +61 -930
  60. package/dist-types/models/models_1.d.ts +955 -184
  61. package/dist-types/models/models_2.d.ts +131 -82
  62. package/dist-types/models/models_3.d.ts +259 -468
  63. package/dist-types/models/models_4.d.ts +1303 -1319
  64. package/dist-types/models/models_5.d.ts +516 -262
  65. package/dist-types/models/models_6.d.ts +269 -253
  66. package/dist-types/models/models_7.d.ts +280 -10
  67. package/dist-types/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +7 -0
  68. package/dist-types/pagination/index.d.ts +2 -1
  69. package/dist-types/protocols/Aws_ec2.d.ts +45 -0
  70. package/dist-types/ts3.4/EC2.d.ts +115 -0
  71. package/dist-types/ts3.4/EC2Client.d.ts +30 -0
  72. package/dist-types/ts3.4/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +4 -2
  79. package/dist-types/ts3.4/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +4 -2
  89. package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  91. package/dist-types/ts3.4/models/models_0.d.ts +16 -850
  92. package/dist-types/ts3.4/models/models_1.d.ts +851 -32
  93. package/dist-types/ts3.4/models/models_2.d.ts +30 -25
  94. package/dist-types/ts3.4/models/models_3.d.ts +68 -83
  95. package/dist-types/ts3.4/models/models_4.d.ts +80 -99
  96. package/dist-types/ts3.4/models/models_5.d.ts +101 -67
  97. package/dist-types/ts3.4/models/models_6.d.ts +66 -64
  98. package/dist-types/ts3.4/models/models_7.d.ts +73 -8
  99. package/dist-types/ts3.4/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  101. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
  102. package/package.json +6 -6
@@ -1,5 +1,134 @@
1
- import { ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv4PrefixSpecification, Ipv6SupportValue, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
1
+ import { ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv4PrefixSpecification, Ipv6SupportValue, Protocol, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
2
  import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, GatewayType, InstanceIpv6Address, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplate, PrivateIpAddressSpecification, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>Describes a port range.</p>
5
+ * @public
6
+ */
7
+ export interface FilterPortRange {
8
+ /**
9
+ * <p>The first port in the range.</p>
10
+ * @public
11
+ */
12
+ FromPort?: number;
13
+ /**
14
+ * <p>The last port in the range.</p>
15
+ * @public
16
+ */
17
+ ToPort?: number;
18
+ }
19
+ /**
20
+ * <p>Describes a set of filters for a path analysis. Use path filters to scope the analysis when
21
+ * there can be multiple resulting paths.</p>
22
+ * @public
23
+ */
24
+ export interface PathFilter {
25
+ /**
26
+ * <p>The source IPv4 address.</p>
27
+ * @public
28
+ */
29
+ SourceAddress?: string;
30
+ /**
31
+ * <p>The source port range.</p>
32
+ * @public
33
+ */
34
+ SourcePortRange?: FilterPortRange;
35
+ /**
36
+ * <p>The destination IPv4 address.</p>
37
+ * @public
38
+ */
39
+ DestinationAddress?: string;
40
+ /**
41
+ * <p>The destination port range.</p>
42
+ * @public
43
+ */
44
+ DestinationPortRange?: FilterPortRange;
45
+ }
46
+ /**
47
+ * <p>Describes a path.</p>
48
+ * @public
49
+ */
50
+ export interface NetworkInsightsPath {
51
+ /**
52
+ * <p>The ID of the path.</p>
53
+ * @public
54
+ */
55
+ NetworkInsightsPathId?: string;
56
+ /**
57
+ * <p>The Amazon Resource Name (ARN) of the path.</p>
58
+ * @public
59
+ */
60
+ NetworkInsightsPathArn?: string;
61
+ /**
62
+ * <p>The time stamp when the path was created.</p>
63
+ * @public
64
+ */
65
+ CreatedDate?: Date;
66
+ /**
67
+ * <p>The ID of the source.</p>
68
+ * @public
69
+ */
70
+ Source?: string;
71
+ /**
72
+ * <p>The ID of the destination.</p>
73
+ * @public
74
+ */
75
+ Destination?: string;
76
+ /**
77
+ * <p>The Amazon Resource Name (ARN) of the source.</p>
78
+ * @public
79
+ */
80
+ SourceArn?: string;
81
+ /**
82
+ * <p>The Amazon Resource Name (ARN) of the destination.</p>
83
+ * @public
84
+ */
85
+ DestinationArn?: string;
86
+ /**
87
+ * <p>The IP address of the source.</p>
88
+ * @public
89
+ */
90
+ SourceIp?: string;
91
+ /**
92
+ * <p>The IP address of the destination.</p>
93
+ * @public
94
+ */
95
+ DestinationIp?: string;
96
+ /**
97
+ * <p>The protocol.</p>
98
+ * @public
99
+ */
100
+ Protocol?: Protocol;
101
+ /**
102
+ * <p>The destination port.</p>
103
+ * @public
104
+ */
105
+ DestinationPort?: number;
106
+ /**
107
+ * <p>The tags associated with the path.</p>
108
+ * @public
109
+ */
110
+ Tags?: Tag[];
111
+ /**
112
+ * <p>Scopes the analysis to network paths that match specific filters at the source.</p>
113
+ * @public
114
+ */
115
+ FilterAtSource?: PathFilter;
116
+ /**
117
+ * <p>Scopes the analysis to network paths that match specific filters at the destination.</p>
118
+ * @public
119
+ */
120
+ FilterAtDestination?: PathFilter;
121
+ }
122
+ /**
123
+ * @public
124
+ */
125
+ export interface CreateNetworkInsightsPathResult {
126
+ /**
127
+ * <p>Information about the path.</p>
128
+ * @public
129
+ */
130
+ NetworkInsightsPath?: NetworkInsightsPath;
131
+ }
3
132
  /**
4
133
  * @public
5
134
  * @enum
@@ -4256,7 +4385,7 @@ export interface CreateTransitGatewayVpcAttachmentRequestOptions {
4256
4385
  DnsSupport?: DnsSupportValue;
4257
4386
  /**
4258
4387
  * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.</p>
4259
- * <p>This option is enabled by default. However, security group referencing is disabled by default at the transit gateway level.</p>
4388
+ * <p>This option is set to <code>enable</code> by default. However, at the transit gateway level the default is set to <code>disable</code>.</p>
4260
4389
  * <p>For more information about security group referencing, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security">Security group referencing </a> in the <i>Amazon Web Services Transit Gateways Guide</i>.</p>
4261
4390
  * @public
4262
4391
  */
@@ -8054,86 +8183,6 @@ export interface DeleteLaunchTemplateVersionsRequest {
8054
8183
  */
8055
8184
  Versions: string[] | undefined;
8056
8185
  }
8057
- /**
8058
- * <p>Describes a launch template version that was successfully deleted.</p>
8059
- * @public
8060
- */
8061
- export interface DeleteLaunchTemplateVersionsResponseSuccessItem {
8062
- /**
8063
- * <p>The ID of the launch template.</p>
8064
- * @public
8065
- */
8066
- LaunchTemplateId?: string;
8067
- /**
8068
- * <p>The name of the launch template.</p>
8069
- * @public
8070
- */
8071
- LaunchTemplateName?: string;
8072
- /**
8073
- * <p>The version number of the launch template.</p>
8074
- * @public
8075
- */
8076
- VersionNumber?: number;
8077
- }
8078
- /**
8079
- * @public
8080
- * @enum
8081
- */
8082
- export declare const LaunchTemplateErrorCode: {
8083
- readonly LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST: "launchTemplateIdDoesNotExist";
8084
- readonly LAUNCH_TEMPLATE_ID_MALFORMED: "launchTemplateIdMalformed";
8085
- readonly LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST: "launchTemplateNameDoesNotExist";
8086
- readonly LAUNCH_TEMPLATE_NAME_MALFORMED: "launchTemplateNameMalformed";
8087
- readonly LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST: "launchTemplateVersionDoesNotExist";
8088
- readonly UNEXPECTED_ERROR: "unexpectedError";
8089
- };
8090
- /**
8091
- * @public
8092
- */
8093
- export type LaunchTemplateErrorCode = (typeof LaunchTemplateErrorCode)[keyof typeof LaunchTemplateErrorCode];
8094
- /**
8095
- * <p>Describes the error that's returned when you cannot delete a launch template
8096
- * version.</p>
8097
- * @public
8098
- */
8099
- export interface ResponseError {
8100
- /**
8101
- * <p>The error code.</p>
8102
- * @public
8103
- */
8104
- Code?: LaunchTemplateErrorCode;
8105
- /**
8106
- * <p>The error message, if applicable.</p>
8107
- * @public
8108
- */
8109
- Message?: string;
8110
- }
8111
- /**
8112
- * <p>Describes a launch template version that could not be deleted.</p>
8113
- * @public
8114
- */
8115
- export interface DeleteLaunchTemplateVersionsResponseErrorItem {
8116
- /**
8117
- * <p>The ID of the launch template.</p>
8118
- * @public
8119
- */
8120
- LaunchTemplateId?: string;
8121
- /**
8122
- * <p>The name of the launch template.</p>
8123
- * @public
8124
- */
8125
- LaunchTemplateName?: string;
8126
- /**
8127
- * <p>The version number of the launch template.</p>
8128
- * @public
8129
- */
8130
- VersionNumber?: number;
8131
- /**
8132
- * <p>Information about the error.</p>
8133
- * @public
8134
- */
8135
- ResponseError?: ResponseError;
8136
- }
8137
8186
  /**
8138
8187
  * @internal
8139
8188
  */