@aws-sdk/client-ec2 3.712.0 → 3.714.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 (43) hide show
  1. package/dist-cjs/index.js +27 -9
  2. package/dist-cjs/runtimeConfig.js +8 -6
  3. package/dist-es/models/models_2.js +4 -0
  4. package/dist-es/models/models_4.js +0 -8
  5. package/dist-es/models/models_5.js +8 -0
  6. package/dist-es/protocols/Aws_ec2.js +12 -0
  7. package/dist-es/runtimeConfig.js +8 -6
  8. package/dist-types/EC2Client.d.ts +18 -0
  9. package/dist-types/commands/CreateSnapshotCommand.d.ts +20 -8
  10. package/dist-types/commands/CreateSnapshotsCommand.d.ts +22 -10
  11. package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +1 -2
  12. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
  13. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -0
  14. package/dist-types/commands/EnableAddressTransferCommand.d.ts +2 -1
  15. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -2
  16. package/dist-types/commands/UnlockSnapshotCommand.d.ts +1 -2
  17. package/dist-types/models/models_2.d.ts +80 -52
  18. package/dist-types/models/models_3.d.ts +25 -36
  19. package/dist-types/models/models_4.d.ts +37 -17
  20. package/dist-types/models/models_5.d.ts +17 -11
  21. package/dist-types/models/models_6.d.ts +12 -62
  22. package/dist-types/models/models_7.d.ts +61 -18
  23. package/dist-types/models/models_8.d.ts +17 -0
  24. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  25. package/dist-types/runtimeConfig.d.ts +1 -0
  26. package/dist-types/runtimeConfig.native.d.ts +1 -0
  27. package/dist-types/ts3.4/EC2Client.d.ts +1 -0
  28. package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +2 -4
  30. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +2 -4
  31. package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +4 -2
  32. package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +4 -2
  33. package/dist-types/ts3.4/models/models_2.d.ts +10 -6
  34. package/dist-types/ts3.4/models/models_3.d.ts +6 -7
  35. package/dist-types/ts3.4/models/models_4.d.ts +8 -10
  36. package/dist-types/ts3.4/models/models_5.d.ts +10 -4
  37. package/dist-types/ts3.4/models/models_6.d.ts +4 -8
  38. package/dist-types/ts3.4/models/models_7.d.ts +8 -4
  39. package/dist-types/ts3.4/models/models_8.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  43. package/package.json +15 -15
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeFleetHistoryRequest,
10
- DescribeFleetHistoryResult,
11
- } from "../models/models_3";
8
+ import { DescribeFleetHistoryRequest } from "../models/models_3";
9
+ import { DescribeFleetHistoryResult } from "../models/models_4";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeFleetHistoryCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- EnableAddressTransferRequest,
10
- EnableAddressTransferResult,
11
- } from "../models/models_5";
8
+ import { EnableAddressTransferRequest } from "../models/models_5";
9
+ import { EnableAddressTransferResult } from "../models/models_6";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface EnableAddressTransferCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ModifyInstanceEventWindowRequest } from "../models/models_6";
9
- import { ModifyInstanceEventWindowResult } from "../models/models_7";
8
+ import {
9
+ ModifyInstanceEventWindowRequest,
10
+ ModifyInstanceEventWindowResult,
11
+ } from "../models/models_7";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ModifyInstanceEventWindowCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { UnlockSnapshotRequest } from "../models/models_7";
9
- import { UnlockSnapshotResult } from "../models/models_8";
8
+ import {
9
+ UnlockSnapshotRequest,
10
+ UnlockSnapshotResult,
11
+ } from "../models/models_8";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface UnlockSnapshotCommandInput extends UnlockSnapshotRequest {}
@@ -656,11 +656,18 @@ export interface CreateSecurityGroupResult {
656
656
  Tags?: Tag[] | undefined;
657
657
  SecurityGroupArn?: string | undefined;
658
658
  }
659
+ export declare const SnapshotLocationEnum: {
660
+ readonly LOCAL: "local";
661
+ readonly REGIONAL: "regional";
662
+ };
663
+ export type SnapshotLocationEnum =
664
+ (typeof SnapshotLocationEnum)[keyof typeof SnapshotLocationEnum];
659
665
  export interface CreateSnapshotRequest {
660
666
  Description?: string | undefined;
661
667
  OutpostArn?: string | undefined;
662
668
  VolumeId: string | undefined;
663
669
  TagSpecifications?: TagSpecification[] | undefined;
670
+ Location?: SnapshotLocationEnum | undefined;
664
671
  DryRun?: boolean | undefined;
665
672
  }
666
673
  export declare const SSEType: {
@@ -694,6 +701,7 @@ export interface Snapshot {
694
701
  StorageTier?: StorageTier | undefined;
695
702
  RestoreExpiryTime?: Date | undefined;
696
703
  SseType?: SSEType | undefined;
704
+ AvailabilityZone?: string | undefined;
697
705
  TransferType?: TransferType | undefined;
698
706
  CompletionDurationMinutes?: number | undefined;
699
707
  CompletionTime?: Date | undefined;
@@ -727,6 +735,7 @@ export interface CreateSnapshotsRequest {
727
735
  TagSpecifications?: TagSpecification[] | undefined;
728
736
  DryRun?: boolean | undefined;
729
737
  CopyTagsFromSource?: CopyTagsFromSource | undefined;
738
+ Location?: SnapshotLocationEnum | undefined;
730
739
  }
731
740
  export interface SnapshotInfo {
732
741
  Description?: string | undefined;
@@ -741,6 +750,7 @@ export interface SnapshotInfo {
741
750
  SnapshotId?: string | undefined;
742
751
  OutpostArn?: string | undefined;
743
752
  SseType?: SSEType | undefined;
753
+ AvailabilityZone?: string | undefined;
744
754
  }
745
755
  export interface CreateSnapshotsResult {
746
756
  Snapshots?: SnapshotInfo[] | undefined;
@@ -2194,12 +2204,6 @@ export interface DeleteClientVpnEndpointRequest {
2194
2204
  export interface DeleteClientVpnEndpointResult {
2195
2205
  Status?: ClientVpnEndpointStatus | undefined;
2196
2206
  }
2197
- export interface DeleteClientVpnRouteRequest {
2198
- ClientVpnEndpointId: string | undefined;
2199
- TargetVpcSubnetId?: string | undefined;
2200
- DestinationCidrBlock: string | undefined;
2201
- DryRun?: boolean | undefined;
2202
- }
2203
2207
  export declare const CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: (
2204
2208
  obj: CreateVerifiedAccessNativeApplicationOidcOptions
2205
2209
  ) => any;
@@ -66,6 +66,12 @@ import {
66
66
  VerifiedAccessGroup,
67
67
  VpcBlockPublicAccessExclusion,
68
68
  } from "./models_2";
69
+ export interface DeleteClientVpnRouteRequest {
70
+ ClientVpnEndpointId: string | undefined;
71
+ TargetVpcSubnetId?: string | undefined;
72
+ DestinationCidrBlock: string | undefined;
73
+ DryRun?: boolean | undefined;
74
+ }
69
75
  export interface DeleteClientVpnRouteResult {
70
76
  Status?: ClientVpnRouteStatus | undefined;
71
77
  }
@@ -1598,13 +1604,6 @@ export interface HistoryRecordEntry {
1598
1604
  EventType?: FleetEventType | undefined;
1599
1605
  Timestamp?: Date | undefined;
1600
1606
  }
1601
- export interface DescribeFleetHistoryResult {
1602
- HistoryRecords?: HistoryRecordEntry[] | undefined;
1603
- LastEvaluatedTime?: Date | undefined;
1604
- NextToken?: string | undefined;
1605
- FleetId?: string | undefined;
1606
- StartTime?: Date | undefined;
1607
- }
1608
1607
  export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1609
1608
  obj: DeleteVerifiedAccessTrustProviderResult
1610
1609
  ) => any;
@@ -78,9 +78,17 @@ import {
78
78
  Byoasn,
79
79
  Filter,
80
80
  FleetStateCode,
81
+ HistoryRecordEntry,
81
82
  IdFormat,
82
83
  InstanceTagNotificationAttribute,
83
84
  } from "./models_3";
85
+ export interface DescribeFleetHistoryResult {
86
+ HistoryRecords?: HistoryRecordEntry[] | undefined;
87
+ LastEvaluatedTime?: Date | undefined;
88
+ NextToken?: string | undefined;
89
+ FleetId?: string | undefined;
90
+ StartTime?: Date | undefined;
91
+ }
84
92
  export interface DescribeFleetInstancesRequest {
85
93
  DryRun?: boolean | undefined;
86
94
  MaxResults?: number | undefined;
@@ -2097,16 +2105,6 @@ export declare const OfferingClassType: {
2097
2105
  };
2098
2106
  export type OfferingClassType =
2099
2107
  (typeof OfferingClassType)[keyof typeof OfferingClassType];
2100
- export declare const OfferingTypeValues: {
2101
- readonly All_Upfront: "All Upfront";
2102
- readonly Heavy_Utilization: "Heavy Utilization";
2103
- readonly Light_Utilization: "Light Utilization";
2104
- readonly Medium_Utilization: "Medium Utilization";
2105
- readonly No_Upfront: "No Upfront";
2106
- readonly Partial_Upfront: "Partial Upfront";
2107
- };
2108
- export type OfferingTypeValues =
2109
- (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
2110
2108
  export declare const SnapshotDetailFilterSensitiveLog: (
2111
2109
  obj: SnapshotDetail
2112
2110
  ) => any;
@@ -108,10 +108,19 @@ import {
108
108
  import {
109
109
  AttributeBooleanValue,
110
110
  OfferingClassType,
111
- OfferingTypeValues,
112
111
  PermissionGroup,
113
112
  ProductCode,
114
113
  } from "./models_4";
114
+ export declare const OfferingTypeValues: {
115
+ readonly All_Upfront: "All Upfront";
116
+ readonly Heavy_Utilization: "Heavy Utilization";
117
+ readonly Light_Utilization: "Light Utilization";
118
+ readonly Medium_Utilization: "Medium Utilization";
119
+ readonly No_Upfront: "No Upfront";
120
+ readonly Partial_Upfront: "Partial Upfront";
121
+ };
122
+ export type OfferingTypeValues =
123
+ (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
115
124
  export interface DescribeReservedInstancesRequest {
116
125
  OfferingClass?: OfferingClassType | undefined;
117
126
  ReservedInstancesIds?: string[] | undefined;
@@ -1884,9 +1893,6 @@ export interface EnableAddressTransferRequest {
1884
1893
  TransferAccountId: string | undefined;
1885
1894
  DryRun?: boolean | undefined;
1886
1895
  }
1887
- export interface EnableAddressTransferResult {
1888
- AddressTransfer?: AddressTransfer | undefined;
1889
- }
1890
1896
  export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
1891
1897
  obj: SpotFleetLaunchSpecification
1892
1898
  ) => any;
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  AccessScopeAnalysisFinding,
3
3
  AddressAttribute,
4
+ AddressTransfer,
4
5
  AllowedImagesSettingsEnabledState,
5
6
  AutoPlacement,
6
7
  CurrencyCodeValues,
@@ -31,7 +32,6 @@ import {
31
32
  EndDateType,
32
33
  FleetExcessCapacityTerminationPolicy,
33
34
  FleetLaunchTemplateConfigRequest,
34
- InstanceEventWindowTimeRangeRequest,
35
35
  InstanceMatchCriteria,
36
36
  InstanceRequirementsRequest,
37
37
  IpamResourceTag,
@@ -92,6 +92,9 @@ import {
92
92
  TransitGatewayPropagation,
93
93
  TransitGatewayPropagationState,
94
94
  } from "./models_5";
95
+ export interface EnableAddressTransferResult {
96
+ AddressTransfer?: AddressTransfer | undefined;
97
+ }
95
98
  export interface EnableAllowedImagesSettingsRequest {
96
99
  AllowedImagesSettingsState: AllowedImagesSettingsEnabledState | undefined;
97
100
  DryRun?: boolean | undefined;
@@ -1803,13 +1806,6 @@ export interface ModifyInstanceEventStartTimeRequest {
1803
1806
  export interface ModifyInstanceEventStartTimeResult {
1804
1807
  Event?: InstanceStatusEvent | undefined;
1805
1808
  }
1806
- export interface ModifyInstanceEventWindowRequest {
1807
- DryRun?: boolean | undefined;
1808
- Name?: string | undefined;
1809
- InstanceEventWindowId: string | undefined;
1810
- TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
1811
- CronExpression?: string | undefined;
1812
- }
1813
1809
  export declare const VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog: (
1814
1810
  obj: VerifiedAccessInstanceUserTrustProviderClientConfiguration
1815
1811
  ) => any;
@@ -43,6 +43,7 @@ import {
43
43
  ElasticGpuSpecification,
44
44
  HostnameType,
45
45
  InstanceBandwidthWeighting,
46
+ InstanceEventWindowTimeRangeRequest,
46
47
  InstanceInterruptionBehavior,
47
48
  InstanceIpv6Address,
48
49
  Ipam,
@@ -150,6 +151,13 @@ import {
150
151
  OperationType,
151
152
  Purchase,
152
153
  } from "./models_6";
154
+ export interface ModifyInstanceEventWindowRequest {
155
+ DryRun?: boolean | undefined;
156
+ Name?: string | undefined;
157
+ InstanceEventWindowId: string | undefined;
158
+ TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
159
+ CronExpression?: string | undefined;
160
+ }
153
161
  export interface ModifyInstanceEventWindowResult {
154
162
  InstanceEventWindow?: InstanceEventWindow | undefined;
155
163
  }
@@ -1882,10 +1890,6 @@ export interface UnassignPrivateNatGatewayAddressResult {
1882
1890
  NatGatewayId?: string | undefined;
1883
1891
  NatGatewayAddresses?: NatGatewayAddress[] | undefined;
1884
1892
  }
1885
- export interface UnlockSnapshotRequest {
1886
- SnapshotId: string | undefined;
1887
- DryRun?: boolean | undefined;
1888
- }
1889
1893
  export declare const ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: (
1890
1894
  obj: ModifyVerifiedAccessNativeApplicationOidcOptions
1891
1895
  ) => any;
@@ -1,5 +1,9 @@
1
1
  import { ByoipCidr, IpPermission } from "./models_0";
2
2
  import { InstanceMonitoring } from "./models_7";
3
+ export interface UnlockSnapshotRequest {
4
+ SnapshotId: string | undefined;
5
+ DryRun?: boolean | undefined;
6
+ }
3
7
  export interface UnlockSnapshotResult {
4
8
  SnapshotId?: string | undefined;
5
9
  }
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
33
33
  utf8Encoder: (input: string | Uint8Array) => string;
34
34
  disableHostPrefix: boolean;
35
35
  serviceId: string;
36
+ profile?: string | undefined;
36
37
  logger: import("@smithy/types").Logger;
37
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
38
39
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
38
38
  utf8Encoder: (input: string | Uint8Array) => string;
39
39
  disableHostPrefix: boolean;
40
40
  serviceId: string;
41
+ profile?: string | undefined;
41
42
  logger: import("@smithy/types").Logger;
42
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
44
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
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.712.0",
4
+ "version": "3.714.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",
@@ -20,20 +20,20 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.712.0",
24
- "@aws-sdk/client-sts": "3.712.0",
25
- "@aws-sdk/core": "3.709.0",
26
- "@aws-sdk/credential-provider-node": "3.712.0",
27
- "@aws-sdk/middleware-host-header": "3.709.0",
28
- "@aws-sdk/middleware-logger": "3.709.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
- "@aws-sdk/middleware-sdk-ec2": "3.709.0",
31
- "@aws-sdk/middleware-user-agent": "3.709.0",
32
- "@aws-sdk/region-config-resolver": "3.709.0",
33
- "@aws-sdk/types": "3.709.0",
34
- "@aws-sdk/util-endpoints": "3.709.0",
35
- "@aws-sdk/util-user-agent-browser": "3.709.0",
36
- "@aws-sdk/util-user-agent-node": "3.712.0",
23
+ "@aws-sdk/client-sso-oidc": "3.714.0",
24
+ "@aws-sdk/client-sts": "3.714.0",
25
+ "@aws-sdk/core": "3.714.0",
26
+ "@aws-sdk/credential-provider-node": "3.714.0",
27
+ "@aws-sdk/middleware-host-header": "3.714.0",
28
+ "@aws-sdk/middleware-logger": "3.714.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
+ "@aws-sdk/middleware-sdk-ec2": "3.714.0",
31
+ "@aws-sdk/middleware-user-agent": "3.714.0",
32
+ "@aws-sdk/region-config-resolver": "3.714.0",
33
+ "@aws-sdk/types": "3.714.0",
34
+ "@aws-sdk/util-endpoints": "3.714.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.714.0",
36
+ "@aws-sdk/util-user-agent-node": "3.714.0",
37
37
  "@smithy/config-resolver": "^3.0.13",
38
38
  "@smithy/core": "^2.5.5",
39
39
  "@smithy/fetch-http-handler": "^4.1.2",