@aws-sdk/client-ec2 3.118.0 → 3.121.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 (50) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/commands/DescribeClientVpnRoutesCommand.js +1 -2
  3. package/dist-cjs/commands/DescribePrincipalIdFormatCommand.js +2 -1
  4. package/dist-cjs/commands/GetEbsDefaultKmsKeyIdCommand.js +2 -1
  5. package/dist-cjs/commands/ReplaceTransitGatewayRouteCommand.js +1 -2
  6. package/dist-cjs/models/models_1.js +8 -9
  7. package/dist-cjs/models/models_2.js +12 -12
  8. package/dist-cjs/models/models_3.js +12 -12
  9. package/dist-cjs/models/models_4.js +12 -12
  10. package/dist-cjs/models/models_5.js +12 -12
  11. package/dist-cjs/models/models_6.js +8 -2
  12. package/dist-cjs/protocols/Aws_ec2.js +2622 -2093
  13. package/dist-es/commands/DescribeClientVpnRoutesCommand.js +1 -2
  14. package/dist-es/commands/DescribePrincipalIdFormatCommand.js +2 -1
  15. package/dist-es/commands/GetEbsDefaultKmsKeyIdCommand.js +2 -1
  16. package/dist-es/commands/ReplaceTransitGatewayRouteCommand.js +1 -2
  17. package/dist-es/models/models_1.js +5 -4
  18. package/dist-es/models/models_2.js +4 -4
  19. package/dist-es/models/models_3.js +4 -4
  20. package/dist-es/models/models_4.js +4 -4
  21. package/dist-es/models/models_5.js +4 -4
  22. package/dist-es/models/models_6.js +4 -0
  23. package/dist-es/protocols/Aws_ec2.js +2622 -2093
  24. package/dist-types/EC2.d.ts +12 -10
  25. package/dist-types/commands/CreateRouteCommand.d.ts +2 -2
  26. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +2 -3
  27. package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +1 -2
  28. package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +2 -1
  29. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
  30. package/dist-types/commands/ReleaseAddressCommand.d.ts +3 -0
  31. package/dist-types/commands/ReplaceRouteCommand.d.ts +5 -5
  32. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -2
  33. package/dist-types/models/models_0.d.ts +7 -5
  34. package/dist-types/models/models_1.d.ts +67 -33
  35. package/dist-types/models/models_2.d.ts +16 -43
  36. package/dist-types/models/models_3.d.ts +122 -86
  37. package/dist-types/models/models_4.d.ts +17 -13
  38. package/dist-types/models/models_5.d.ts +14 -34
  39. package/dist-types/models/models_6.d.ts +30 -0
  40. package/dist-types/ts3.4/commands/DescribeClientVpnRoutesCommand.d.ts +1 -2
  41. package/dist-types/ts3.4/commands/DescribePrincipalIdFormatCommand.d.ts +2 -1
  42. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
  43. package/dist-types/ts3.4/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -2
  44. package/dist-types/ts3.4/models/models_1.d.ts +8 -9
  45. package/dist-types/ts3.4/models/models_2.d.ts +10 -17
  46. package/dist-types/ts3.4/models/models_3.d.ts +16 -10
  47. package/dist-types/ts3.4/models/models_4.d.ts +11 -9
  48. package/dist-types/ts3.4/models/models_5.d.ts +8 -16
  49. package/dist-types/ts3.4/models/models_6.d.ts +16 -0
  50. package/package.json +6 -6
@@ -1,7 +1,17 @@
1
1
  import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AssociationStatus, BatchState, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, ReservedInstancesListing, ResourceType, SecurityGroupRule, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, Tenancy, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, Vpc, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { BlockDeviceMapping, DiskImageFormat, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, VolumeType } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, Filter, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayRouteTable, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
- import { AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, PermissionGroup, ProductCode } from "./models_3";
4
+ import { AttributeBooleanValue, EventInformation, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, PermissionGroup, PrincipalIdFormat, ProductCode } from "./models_3";
5
+ export interface DescribePrincipalIdFormatResult {
6
+
7
+ Principals?: PrincipalIdFormat[];
8
+
9
+ NextToken?: string;
10
+ }
11
+ export declare namespace DescribePrincipalIdFormatResult {
12
+
13
+ const filterSensitiveLog: (obj: DescribePrincipalIdFormatResult) => any;
14
+ }
5
15
  export interface DescribePublicIpv4PoolsRequest {
6
16
 
7
17
  PoolIds?: string[];
@@ -3904,11 +3914,3 @@ export declare namespace GetEbsDefaultKmsKeyIdRequest {
3904
3914
 
3905
3915
  const filterSensitiveLog: (obj: GetEbsDefaultKmsKeyIdRequest) => any;
3906
3916
  }
3907
- export interface GetEbsDefaultKmsKeyIdResult {
3908
-
3909
- KmsKeyId?: string;
3910
- }
3911
- export declare namespace GetEbsDefaultKmsKeyIdResult {
3912
-
3913
- const filterSensitiveLog: (obj: GetEbsDefaultKmsKeyIdResult) => any;
3914
- }
@@ -3,6 +3,14 @@ import { AutoAcceptSharedAttachmentsValue, BlockDeviceMapping, CapacityReservati
3
3
  import { DnsOptionsSpecification, Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpAddressType, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TransitGatewayPrefixListReference, VpnConnection } from "./models_2";
4
4
  import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, Monitoring, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues, VirtualizationType } from "./models_3";
5
5
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InstanceFamilyCreditSpecification, LaunchTemplateConfig, PublicIpv4PoolRange, ReservedInstancesConfiguration, ScheduledInstance, SnapshotAttributeName, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VolumeModification } from "./models_4";
6
+ export interface GetEbsDefaultKmsKeyIdResult {
7
+
8
+ KmsKeyId?: string;
9
+ }
10
+ export declare namespace GetEbsDefaultKmsKeyIdResult {
11
+
12
+ const filterSensitiveLog: (obj: GetEbsDefaultKmsKeyIdResult) => any;
13
+ }
6
14
  export interface GetEbsEncryptionByDefaultRequest {
7
15
 
8
16
  DryRun?: boolean;
@@ -3841,19 +3849,3 @@ export declare namespace ReplaceRouteTableAssociationResult {
3841
3849
 
3842
3850
  const filterSensitiveLog: (obj: ReplaceRouteTableAssociationResult) => any;
3843
3851
  }
3844
- export interface ReplaceTransitGatewayRouteRequest {
3845
-
3846
- DestinationCidrBlock: string | undefined;
3847
-
3848
- TransitGatewayRouteTableId: string | undefined;
3849
-
3850
- TransitGatewayAttachmentId?: string;
3851
-
3852
- Blackhole?: boolean;
3853
-
3854
- DryRun?: boolean;
3855
- }
3856
- export declare namespace ReplaceTransitGatewayRouteRequest {
3857
-
3858
- const filterSensitiveLog: (obj: ReplaceTransitGatewayRouteRequest) => any;
3859
- }
@@ -4,6 +4,22 @@ import { ClientVpnConnectionStatus, Filter, TransitGatewayRoute } from "./models
4
4
  import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_3";
5
5
  import { InstanceNetworkInterfaceSpecification, RunInstancesMonitoringEnabled, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
6
  import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_5";
7
+ export interface ReplaceTransitGatewayRouteRequest {
8
+
9
+ DestinationCidrBlock: string | undefined;
10
+
11
+ TransitGatewayRouteTableId: string | undefined;
12
+
13
+ TransitGatewayAttachmentId?: string;
14
+
15
+ Blackhole?: boolean;
16
+
17
+ DryRun?: boolean;
18
+ }
19
+ export declare namespace ReplaceTransitGatewayRouteRequest {
20
+
21
+ const filterSensitiveLog: (obj: ReplaceTransitGatewayRouteRequest) => any;
22
+ }
7
23
  export interface ReplaceTransitGatewayRouteResult {
8
24
 
9
25
  Route?: TransitGatewayRoute;
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.118.0",
4
+ "version": "3.121.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.118.0",
21
+ "@aws-sdk/client-sts": "3.121.0",
22
22
  "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.118.0",
23
+ "@aws-sdk/credential-provider-node": "3.121.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.110.0",
25
25
  "@aws-sdk/hash-node": "3.110.0",
26
26
  "@aws-sdk/invalid-dependency": "3.110.0",
@@ -28,14 +28,14 @@
28
28
  "@aws-sdk/middleware-host-header": "3.110.0",
29
29
  "@aws-sdk/middleware-logger": "3.110.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.118.1",
32
32
  "@aws-sdk/middleware-sdk-ec2": "3.110.0",
33
33
  "@aws-sdk/middleware-serde": "3.110.0",
34
34
  "@aws-sdk/middleware-signing": "3.110.0",
35
35
  "@aws-sdk/middleware-stack": "3.110.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.110.0",
37
37
  "@aws-sdk/node-config-provider": "3.110.0",
38
- "@aws-sdk/node-http-handler": "3.110.0",
38
+ "@aws-sdk/node-http-handler": "3.118.1",
39
39
  "@aws-sdk/protocol-http": "3.110.0",
40
40
  "@aws-sdk/smithy-client": "3.110.0",
41
41
  "@aws-sdk/types": "3.110.0",
@@ -50,7 +50,7 @@
50
50
  "@aws-sdk/util-user-agent-node": "3.118.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.109.0",
52
52
  "@aws-sdk/util-utf8-node": "3.109.0",
53
- "@aws-sdk/util-waiter": "3.110.0",
53
+ "@aws-sdk/util-waiter": "3.118.1",
54
54
  "entities": "2.2.0",
55
55
  "fast-xml-parser": "3.19.0",
56
56
  "tslib": "^2.3.1",