@aws-sdk/client-ec2 3.699.0 → 3.701.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 (45) hide show
  1. package/dist-cjs/index.js +117 -16
  2. package/dist-es/models/models_2.js +4 -0
  3. package/dist-es/models/models_3.js +0 -4
  4. package/dist-es/models/models_4.js +4 -0
  5. package/dist-es/protocols/Aws_ec2.js +109 -11
  6. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -0
  7. package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -0
  8. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -0
  9. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +10 -0
  11. package/dist-types/commands/DeleteFlowLogsCommand.d.ts +2 -1
  12. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +1 -2
  13. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +1 -2
  14. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +3 -0
  15. package/dist-types/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +1 -0
  16. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +1 -0
  17. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +7 -0
  18. package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +4 -0
  19. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +1 -0
  20. package/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  21. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +2 -1
  22. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  23. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +3 -4
  24. package/dist-types/models/models_0.d.ts +10 -0
  25. package/dist-types/models/models_1.d.ts +15 -3
  26. package/dist-types/models/models_2.d.ts +98 -29
  27. package/dist-types/models/models_3.d.ts +27 -28
  28. package/dist-types/models/models_4.d.ts +73 -99
  29. package/dist-types/models/models_5.d.ts +141 -42
  30. package/dist-types/models/models_6.d.ts +38 -100
  31. package/dist-types/models/models_7.d.ts +116 -9
  32. package/dist-types/ts3.4/commands/DeleteFlowLogsCommand.d.ts +2 -4
  33. package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +4 -2
  34. package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +2 -4
  37. package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  39. package/dist-types/ts3.4/models/models_2.d.ts +18 -8
  40. package/dist-types/ts3.4/models/models_3.d.ts +7 -10
  41. package/dist-types/ts3.4/models/models_4.d.ts +10 -19
  42. package/dist-types/ts3.4/models/models_5.d.ts +22 -10
  43. package/dist-types/ts3.4/models/models_6.d.ts +10 -16
  44. package/dist-types/ts3.4/models/models_7.d.ts +18 -0
  45. package/package.json +1 -1
@@ -22,7 +22,6 @@ import {
22
22
  TransitGatewayPeeringAttachment,
23
23
  TransitGatewayVpcAttachment,
24
24
  TrustProviderType,
25
- UnsuccessfulItem,
26
25
  UserTrustProviderType,
27
26
  VerifiedAccessInstance,
28
27
  VerifiedAccessSseSpecificationResponse,
@@ -608,6 +607,11 @@ export declare const StorageTier: {
608
607
  readonly standard: "standard";
609
608
  };
610
609
  export type StorageTier = (typeof StorageTier)[keyof typeof StorageTier];
610
+ export declare const TransferType: {
611
+ readonly standard: "standard";
612
+ readonly time_based: "time-based";
613
+ };
614
+ export type TransferType = (typeof TransferType)[keyof typeof TransferType];
611
615
  export interface Snapshot {
612
616
  OwnerAlias?: string | undefined;
613
617
  OutpostArn?: string | undefined;
@@ -615,6 +619,9 @@ export interface Snapshot {
615
619
  StorageTier?: StorageTier | undefined;
616
620
  RestoreExpiryTime?: Date | undefined;
617
621
  SseType?: SSEType | undefined;
622
+ TransferType?: TransferType | undefined;
623
+ CompletionDurationMinutes?: number | undefined;
624
+ CompletionTime?: Date | undefined;
618
625
  SnapshotId?: string | undefined;
619
626
  VolumeId?: string | undefined;
620
627
  State?: SnapshotState | undefined;
@@ -1608,6 +1615,7 @@ export interface CreateVpcEndpointRequest {
1608
1615
  PrivateDnsEnabled?: boolean | undefined;
1609
1616
  TagSpecifications?: TagSpecification[] | undefined;
1610
1617
  SubnetConfigurations?: SubnetConfiguration[] | undefined;
1618
+ ServiceRegion?: string | undefined;
1611
1619
  }
1612
1620
  export interface DnsEntry {
1613
1621
  DnsName?: string | undefined;
@@ -1656,6 +1664,7 @@ export interface VpcEndpoint {
1656
1664
  Tags?: Tag[] | undefined;
1657
1665
  OwnerId?: string | undefined;
1658
1666
  LastError?: LastError | undefined;
1667
+ ServiceRegion?: string | undefined;
1659
1668
  }
1660
1669
  export interface CreateVpcEndpointResult {
1661
1670
  VpcEndpoint?: VpcEndpoint | undefined;
@@ -1688,6 +1697,7 @@ export interface ConnectionNotification {
1688
1697
  ConnectionNotificationArn?: string | undefined;
1689
1698
  ConnectionEvents?: string[] | undefined;
1690
1699
  ConnectionNotificationState?: ConnectionNotificationState | undefined;
1700
+ ServiceRegion?: string | undefined;
1691
1701
  }
1692
1702
  export interface CreateVpcEndpointConnectionNotificationResult {
1693
1703
  ConnectionNotification?: ConnectionNotification | undefined;
@@ -1700,6 +1710,7 @@ export interface CreateVpcEndpointServiceConfigurationRequest {
1700
1710
  NetworkLoadBalancerArns?: string[] | undefined;
1701
1711
  GatewayLoadBalancerArns?: string[] | undefined;
1702
1712
  SupportedIpAddressTypes?: string[] | undefined;
1713
+ SupportedRegions?: string[] | undefined;
1703
1714
  ClientToken?: string | undefined;
1704
1715
  TagSpecifications?: TagSpecification[] | undefined;
1705
1716
  }
@@ -1743,6 +1754,10 @@ export declare const ServiceConnectivityType: {
1743
1754
  };
1744
1755
  export type ServiceConnectivityType =
1745
1756
  (typeof ServiceConnectivityType)[keyof typeof ServiceConnectivityType];
1757
+ export interface SupportedRegionDetail {
1758
+ Region?: string | undefined;
1759
+ ServiceState?: string | undefined;
1760
+ }
1746
1761
  export interface ServiceConfiguration {
1747
1762
  ServiceType?: ServiceTypeDetail[] | undefined;
1748
1763
  ServiceId?: string | undefined;
@@ -1759,6 +1774,8 @@ export interface ServiceConfiguration {
1759
1774
  PrivateDnsNameConfiguration?: PrivateDnsNameConfiguration | undefined;
1760
1775
  PayerResponsibility?: PayerResponsibility | undefined;
1761
1776
  Tags?: Tag[] | undefined;
1777
+ SupportedRegions?: SupportedRegionDetail[] | undefined;
1778
+ RemoteAccessEnabled?: boolean | undefined;
1762
1779
  }
1763
1780
  export interface CreateVpcEndpointServiceConfigurationResult {
1764
1781
  ServiceConfiguration?: ServiceConfiguration | undefined;
@@ -2109,13 +2126,6 @@ export interface DeleteFlowLogsRequest {
2109
2126
  DryRun?: boolean | undefined;
2110
2127
  FlowLogIds: string[] | undefined;
2111
2128
  }
2112
- export interface DeleteFlowLogsResult {
2113
- Unsuccessful?: UnsuccessfulItem[] | undefined;
2114
- }
2115
- export interface DeleteFpgaImageRequest {
2116
- DryRun?: boolean | undefined;
2117
- FpgaImageId: string | undefined;
2118
- }
2119
2129
  export declare const CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: (
2120
2130
  obj: CreateVerifiedAccessTrustProviderOidcOptions
2121
2131
  ) => any;
@@ -84,6 +84,13 @@ import {
84
84
  VerifiedAccessGroup,
85
85
  VpcBlockPublicAccessExclusion,
86
86
  } from "./models_2";
87
+ export interface DeleteFlowLogsResult {
88
+ Unsuccessful?: UnsuccessfulItem[] | undefined;
89
+ }
90
+ export interface DeleteFpgaImageRequest {
91
+ DryRun?: boolean | undefined;
92
+ FpgaImageId: string | undefined;
93
+ }
87
94
  export interface DeleteFpgaImageResult {
88
95
  Return?: boolean | undefined;
89
96
  }
@@ -1667,16 +1674,6 @@ export declare const PermissionGroup: {
1667
1674
  };
1668
1675
  export type PermissionGroup =
1669
1676
  (typeof PermissionGroup)[keyof typeof PermissionGroup];
1670
- export interface LoadPermission {
1671
- UserId?: string | undefined;
1672
- Group?: PermissionGroup | undefined;
1673
- }
1674
- export declare const ProductCodeValues: {
1675
- readonly devpay: "devpay";
1676
- readonly marketplace: "marketplace";
1677
- };
1678
- export type ProductCodeValues =
1679
- (typeof ProductCodeValues)[keyof typeof ProductCodeValues];
1680
1677
  export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1681
1678
  obj: DeleteVerifiedAccessTrustProviderResult
1682
1679
  ) => any;
@@ -64,10 +64,18 @@ import {
64
64
  Filter,
65
65
  IdFormat,
66
66
  InstanceTagNotificationAttribute,
67
- LoadPermission,
68
67
  PermissionGroup,
69
- ProductCodeValues,
70
68
  } from "./models_3";
69
+ export interface LoadPermission {
70
+ UserId?: string | undefined;
71
+ Group?: PermissionGroup | undefined;
72
+ }
73
+ export declare const ProductCodeValues: {
74
+ readonly devpay: "devpay";
75
+ readonly marketplace: "marketplace";
76
+ };
77
+ export type ProductCodeValues =
78
+ (typeof ProductCodeValues)[keyof typeof ProductCodeValues];
71
79
  export interface ProductCode {
72
80
  ProductCodeId?: string | undefined;
73
81
  ProductCodeType?: ProductCodeValues | undefined;
@@ -2078,23 +2086,6 @@ export interface ScheduledInstanceRecurrenceRequest {
2078
2086
  OccurrenceRelativeToEnd?: boolean | undefined;
2079
2087
  OccurrenceUnit?: string | undefined;
2080
2088
  }
2081
- export interface DescribeScheduledInstanceAvailabilityRequest {
2082
- DryRun?: boolean | undefined;
2083
- Filters?: Filter[] | undefined;
2084
- FirstSlotStartTimeRange: SlotDateTimeRangeRequest | undefined;
2085
- MaxResults?: number | undefined;
2086
- MaxSlotDurationInHours?: number | undefined;
2087
- MinSlotDurationInHours?: number | undefined;
2088
- NextToken?: string | undefined;
2089
- Recurrence: ScheduledInstanceRecurrenceRequest | undefined;
2090
- }
2091
- export interface ScheduledInstanceRecurrence {
2092
- Frequency?: string | undefined;
2093
- Interval?: number | undefined;
2094
- OccurrenceDaySet?: number[] | undefined;
2095
- OccurrenceRelativeToEnd?: boolean | undefined;
2096
- OccurrenceUnit?: string | undefined;
2097
- }
2098
2089
  export declare const SnapshotDetailFilterSensitiveLog: (
2099
2090
  obj: SnapshotDetail
2100
2091
  ) => any;
@@ -106,8 +106,26 @@ import {
106
106
  AttributeBooleanValue,
107
107
  ProductCode,
108
108
  RIProductDescription,
109
- ScheduledInstanceRecurrence,
109
+ ScheduledInstanceRecurrenceRequest,
110
+ SlotDateTimeRangeRequest,
110
111
  } from "./models_4";
112
+ export interface DescribeScheduledInstanceAvailabilityRequest {
113
+ DryRun?: boolean | undefined;
114
+ Filters?: Filter[] | undefined;
115
+ FirstSlotStartTimeRange: SlotDateTimeRangeRequest | undefined;
116
+ MaxResults?: number | undefined;
117
+ MaxSlotDurationInHours?: number | undefined;
118
+ MinSlotDurationInHours?: number | undefined;
119
+ NextToken?: string | undefined;
120
+ Recurrence: ScheduledInstanceRecurrenceRequest | undefined;
121
+ }
122
+ export interface ScheduledInstanceRecurrence {
123
+ Frequency?: string | undefined;
124
+ Interval?: number | undefined;
125
+ OccurrenceDaySet?: number[] | undefined;
126
+ OccurrenceRelativeToEnd?: boolean | undefined;
127
+ OccurrenceUnit?: string | undefined;
128
+ }
111
129
  export interface ScheduledInstanceAvailability {
112
130
  AvailabilityZone?: string | undefined;
113
131
  AvailableInstanceCount?: number | undefined;
@@ -1182,6 +1200,7 @@ export interface VpcEndpointConnection {
1182
1200
  IpAddressType?: IpAddressType | undefined;
1183
1201
  VpcEndpointConnectionId?: string | undefined;
1184
1202
  Tags?: Tag[] | undefined;
1203
+ VpcEndpointRegion?: string | undefined;
1185
1204
  }
1186
1205
  export interface DescribeVpcEndpointConnectionsResult {
1187
1206
  VpcEndpointConnections?: VpcEndpointConnection[] | undefined;
@@ -1226,6 +1245,7 @@ export interface DescribeVpcEndpointServicesRequest {
1226
1245
  Filters?: Filter[] | undefined;
1227
1246
  MaxResults?: number | undefined;
1228
1247
  NextToken?: string | undefined;
1248
+ ServiceRegions?: string[] | undefined;
1229
1249
  }
1230
1250
  export interface PrivateDnsDetails {
1231
1251
  PrivateDnsName?: string | undefined;
@@ -1234,6 +1254,7 @@ export interface ServiceDetail {
1234
1254
  ServiceName?: string | undefined;
1235
1255
  ServiceId?: string | undefined;
1236
1256
  ServiceType?: ServiceTypeDetail[] | undefined;
1257
+ ServiceRegion?: string | undefined;
1237
1258
  AvailabilityZones?: string[] | undefined;
1238
1259
  Owner?: string | undefined;
1239
1260
  BaseEndpointDnsNames?: string[] | undefined;
@@ -1791,15 +1812,6 @@ export interface EnableSnapshotBlockPublicAccessRequest {
1791
1812
  export interface EnableSnapshotBlockPublicAccessResult {
1792
1813
  State?: SnapshotBlockPublicAccessState | undefined;
1793
1814
  }
1794
- export interface EnableTransitGatewayRouteTablePropagationRequest {
1795
- TransitGatewayRouteTableId: string | undefined;
1796
- TransitGatewayAttachmentId?: string | undefined;
1797
- DryRun?: boolean | undefined;
1798
- TransitGatewayRouteTableAnnouncementId?: string | undefined;
1799
- }
1800
- export interface EnableTransitGatewayRouteTablePropagationResult {
1801
- Propagation?: TransitGatewayPropagation | undefined;
1802
- }
1803
1815
  export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
1804
1816
  obj: SpotFleetLaunchSpecification
1805
1817
  ) => any;
@@ -104,8 +104,18 @@ import {
104
104
  LaunchTemplateConfig,
105
105
  SnapshotAttributeName,
106
106
  SnapshotBlockPublicAccessState,
107
+ TransitGatewayPropagation,
107
108
  TransitGatewayPropagationState,
108
109
  } from "./models_5";
110
+ export interface EnableTransitGatewayRouteTablePropagationRequest {
111
+ TransitGatewayRouteTableId: string | undefined;
112
+ TransitGatewayAttachmentId?: string | undefined;
113
+ DryRun?: boolean | undefined;
114
+ TransitGatewayRouteTableAnnouncementId?: string | undefined;
115
+ }
116
+ export interface EnableTransitGatewayRouteTablePropagationResult {
117
+ Propagation?: TransitGatewayPropagation | undefined;
118
+ }
109
119
  export interface EnableVgwRoutePropagationRequest {
110
120
  GatewayId: string | undefined;
111
121
  RouteTableId: string | undefined;
@@ -1848,22 +1858,6 @@ export interface ModifySpotFleetRequestRequest {
1848
1858
  TargetCapacity?: number | undefined;
1849
1859
  ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | undefined;
1850
1860
  }
1851
- export interface ModifySpotFleetRequestResponse {
1852
- Return?: boolean | undefined;
1853
- }
1854
- export interface ModifySubnetAttributeRequest {
1855
- AssignIpv6AddressOnCreation?: AttributeBooleanValue | undefined;
1856
- MapPublicIpOnLaunch?: AttributeBooleanValue | undefined;
1857
- SubnetId: string | undefined;
1858
- MapCustomerOwnedIpOnLaunch?: AttributeBooleanValue | undefined;
1859
- CustomerOwnedIpv4Pool?: string | undefined;
1860
- EnableDns64?: AttributeBooleanValue | undefined;
1861
- PrivateDnsHostnameTypeOnLaunch?: HostnameType | undefined;
1862
- EnableResourceNameDnsARecordOnLaunch?: AttributeBooleanValue | undefined;
1863
- EnableResourceNameDnsAAAARecordOnLaunch?: AttributeBooleanValue | undefined;
1864
- EnableLniAtDeviceIndex?: number | undefined;
1865
- DisableLniAtDeviceIndex?: AttributeBooleanValue | undefined;
1866
- }
1867
1861
  export declare const GetInstanceTpmEkPubResultFilterSensitiveLog: (
1868
1862
  obj: GetInstanceTpmEkPubResult
1869
1863
  ) => any;
@@ -124,6 +124,22 @@ import {
124
124
  VpcBlockPublicAccessOptions,
125
125
  } from "./models_5";
126
126
  import { CapacityReservationSpecification, Purchase } from "./models_6";
127
+ export interface ModifySpotFleetRequestResponse {
128
+ Return?: boolean | undefined;
129
+ }
130
+ export interface ModifySubnetAttributeRequest {
131
+ AssignIpv6AddressOnCreation?: AttributeBooleanValue | undefined;
132
+ MapPublicIpOnLaunch?: AttributeBooleanValue | undefined;
133
+ SubnetId: string | undefined;
134
+ MapCustomerOwnedIpOnLaunch?: AttributeBooleanValue | undefined;
135
+ CustomerOwnedIpv4Pool?: string | undefined;
136
+ EnableDns64?: AttributeBooleanValue | undefined;
137
+ PrivateDnsHostnameTypeOnLaunch?: HostnameType | undefined;
138
+ EnableResourceNameDnsARecordOnLaunch?: AttributeBooleanValue | undefined;
139
+ EnableResourceNameDnsAAAARecordOnLaunch?: AttributeBooleanValue | undefined;
140
+ EnableLniAtDeviceIndex?: number | undefined;
141
+ DisableLniAtDeviceIndex?: AttributeBooleanValue | undefined;
142
+ }
127
143
  export interface ModifyTrafficMirrorFilterNetworkServicesRequest {
128
144
  TrafficMirrorFilterId: string | undefined;
129
145
  AddNetworkServices?: TrafficMirrorNetworkService[] | undefined;
@@ -437,6 +453,8 @@ export interface ModifyVpcEndpointServiceConfigurationRequest {
437
453
  RemoveGatewayLoadBalancerArns?: string[] | undefined;
438
454
  AddSupportedIpAddressTypes?: string[] | undefined;
439
455
  RemoveSupportedIpAddressTypes?: string[] | undefined;
456
+ AddSupportedRegions?: string[] | undefined;
457
+ RemoveSupportedRegions?: string[] | undefined;
440
458
  }
441
459
  export interface ModifyVpcEndpointServiceConfigurationResult {
442
460
  Return?: boolean | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.699.0",
4
+ "version": "3.701.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",