@aws-sdk/client-ec2 3.709.0 → 3.713.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 (42) hide show
  1. package/dist-cjs/index.js +42 -11
  2. package/dist-es/models/models_2.js +4 -0
  3. package/dist-es/models/models_4.js +0 -8
  4. package/dist-es/models/models_5.js +8 -0
  5. package/dist-es/protocols/Aws_ec2.js +26 -1
  6. package/dist-types/commands/CreateSnapshotCommand.d.ts +20 -8
  7. package/dist-types/commands/CreateSnapshotsCommand.d.ts +22 -10
  8. package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +1 -2
  9. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +7 -4
  10. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
  11. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -2
  12. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  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/EnableAllowedImagesSettingsCommand.d.ts +1 -2
  16. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  17. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +3 -3
  18. package/dist-types/commands/UnlockSnapshotCommand.d.ts +1 -1
  19. package/dist-types/models/models_2.d.ts +80 -52
  20. package/dist-types/models/models_3.d.ts +41 -76
  21. package/dist-types/models/models_4.d.ts +77 -114
  22. package/dist-types/models/models_5.d.ts +115 -31
  23. package/dist-types/models/models_6.d.ts +31 -72
  24. package/dist-types/models/models_7.d.ts +74 -30
  25. package/dist-types/models/models_8.d.ts +27 -0
  26. package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +4 -2
  27. package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +8 -3
  28. package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +2 -4
  29. package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +4 -2
  30. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +4 -2
  31. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +4 -2
  33. package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/models/models_2.d.ts +10 -6
  36. package/dist-types/ts3.4/models/models_3.d.ts +10 -14
  37. package/dist-types/ts3.4/models/models_4.d.ts +15 -17
  38. package/dist-types/ts3.4/models/models_5.d.ts +17 -9
  39. package/dist-types/ts3.4/models/models_6.d.ts +8 -12
  40. package/dist-types/ts3.4/models/models_7.d.ts +12 -7
  41. package/dist-types/ts3.4/models/models_8.d.ts +7 -0
  42. package/package.json +15 -15
@@ -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
  }
@@ -426,6 +432,10 @@ export interface DeleteSecurityGroupRequest {
426
432
  GroupName?: string | undefined;
427
433
  DryRun?: boolean | undefined;
428
434
  }
435
+ export interface DeleteSecurityGroupResult {
436
+ Return?: boolean | undefined;
437
+ GroupId?: string | undefined;
438
+ }
429
439
  export interface DeleteSnapshotRequest {
430
440
  SnapshotId: string | undefined;
431
441
  DryRun?: boolean | undefined;
@@ -1594,20 +1604,6 @@ export interface HistoryRecordEntry {
1594
1604
  EventType?: FleetEventType | undefined;
1595
1605
  Timestamp?: Date | undefined;
1596
1606
  }
1597
- export interface DescribeFleetHistoryResult {
1598
- HistoryRecords?: HistoryRecordEntry[] | undefined;
1599
- LastEvaluatedTime?: Date | undefined;
1600
- NextToken?: string | undefined;
1601
- FleetId?: string | undefined;
1602
- StartTime?: Date | undefined;
1603
- }
1604
- export interface DescribeFleetInstancesRequest {
1605
- DryRun?: boolean | undefined;
1606
- MaxResults?: number | undefined;
1607
- NextToken?: string | undefined;
1608
- FleetId: string | undefined;
1609
- Filters?: Filter[] | undefined;
1610
- }
1611
1607
  export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1612
1608
  obj: DeleteVerifiedAccessTrustProviderResult
1613
1609
  ) => any;
@@ -78,9 +78,24 @@ 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
+ }
92
+ export interface DescribeFleetInstancesRequest {
93
+ DryRun?: boolean | undefined;
94
+ MaxResults?: number | undefined;
95
+ NextToken?: string | undefined;
96
+ FleetId: string | undefined;
97
+ Filters?: Filter[] | undefined;
98
+ }
84
99
  export interface DescribeFleetInstancesResult {
85
100
  ActiveInstances?: ActiveInstance[] | undefined;
86
101
  NextToken?: string | undefined;
@@ -2090,23 +2105,6 @@ export declare const OfferingClassType: {
2090
2105
  };
2091
2106
  export type OfferingClassType =
2092
2107
  (typeof OfferingClassType)[keyof typeof OfferingClassType];
2093
- export declare const OfferingTypeValues: {
2094
- readonly All_Upfront: "All Upfront";
2095
- readonly Heavy_Utilization: "Heavy Utilization";
2096
- readonly Light_Utilization: "Light Utilization";
2097
- readonly Medium_Utilization: "Medium Utilization";
2098
- readonly No_Upfront: "No Upfront";
2099
- readonly Partial_Upfront: "Partial Upfront";
2100
- };
2101
- export type OfferingTypeValues =
2102
- (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
2103
- export interface DescribeReservedInstancesRequest {
2104
- OfferingClass?: OfferingClassType | undefined;
2105
- ReservedInstancesIds?: string[] | undefined;
2106
- DryRun?: boolean | undefined;
2107
- Filters?: Filter[] | undefined;
2108
- OfferingType?: OfferingTypeValues | undefined;
2109
- }
2110
2108
  export declare const SnapshotDetailFilterSensitiveLog: (
2111
2109
  obj: SnapshotDetail
2112
2110
  ) => any;
@@ -4,7 +4,6 @@ import {
4
4
  AddressTransfer,
5
5
  AllocationStrategy,
6
6
  AllowedImagesSettingsDisabledState,
7
- AllowedImagesSettingsEnabledState,
8
7
  AllowedPrincipal,
9
8
  AsnAssociation,
10
9
  AssociationStatus,
@@ -109,10 +108,26 @@ import {
109
108
  import {
110
109
  AttributeBooleanValue,
111
110
  OfferingClassType,
112
- OfferingTypeValues,
113
111
  PermissionGroup,
114
112
  ProductCode,
115
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];
124
+ export interface DescribeReservedInstancesRequest {
125
+ OfferingClass?: OfferingClassType | undefined;
126
+ ReservedInstancesIds?: string[] | undefined;
127
+ DryRun?: boolean | undefined;
128
+ Filters?: Filter[] | undefined;
129
+ OfferingType?: OfferingTypeValues | undefined;
130
+ }
116
131
  export declare const RIProductDescription: {
117
132
  readonly Linux_UNIX: "Linux/UNIX";
118
133
  readonly Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)";
@@ -1878,13 +1893,6 @@ export interface EnableAddressTransferRequest {
1878
1893
  TransferAccountId: string | undefined;
1879
1894
  DryRun?: boolean | undefined;
1880
1895
  }
1881
- export interface EnableAddressTransferResult {
1882
- AddressTransfer?: AddressTransfer | undefined;
1883
- }
1884
- export interface EnableAllowedImagesSettingsRequest {
1885
- AllowedImagesSettingsState: AllowedImagesSettingsEnabledState | undefined;
1886
- DryRun?: boolean | undefined;
1887
- }
1888
1896
  export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
1889
1897
  obj: SpotFleetLaunchSpecification
1890
1898
  ) => any;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AccessScopeAnalysisFinding,
3
3
  AddressAttribute,
4
+ AddressTransfer,
4
5
  AllowedImagesSettingsEnabledState,
5
6
  AutoPlacement,
6
7
  CurrencyCodeValues,
7
8
  DeviceTrustProviderType,
8
9
  HostMaintenance,
9
10
  HostRecovery,
10
- InstanceEventWindow,
11
11
  IpamPoolAllocation,
12
12
  SubnetAssociation,
13
13
  Tag,
@@ -32,7 +32,6 @@ import {
32
32
  EndDateType,
33
33
  FleetExcessCapacityTerminationPolicy,
34
34
  FleetLaunchTemplateConfigRequest,
35
- InstanceEventWindowTimeRangeRequest,
36
35
  InstanceMatchCriteria,
37
36
  InstanceRequirementsRequest,
38
37
  IpamResourceTag,
@@ -93,6 +92,13 @@ import {
93
92
  TransitGatewayPropagation,
94
93
  TransitGatewayPropagationState,
95
94
  } from "./models_5";
95
+ export interface EnableAddressTransferResult {
96
+ AddressTransfer?: AddressTransfer | undefined;
97
+ }
98
+ export interface EnableAllowedImagesSettingsRequest {
99
+ AllowedImagesSettingsState: AllowedImagesSettingsEnabledState | undefined;
100
+ DryRun?: boolean | undefined;
101
+ }
96
102
  export interface EnableAllowedImagesSettingsResult {
97
103
  AllowedImagesSettingsState?: AllowedImagesSettingsEnabledState | undefined;
98
104
  }
@@ -1800,16 +1806,6 @@ export interface ModifyInstanceEventStartTimeRequest {
1800
1806
  export interface ModifyInstanceEventStartTimeResult {
1801
1807
  Event?: InstanceStatusEvent | undefined;
1802
1808
  }
1803
- export interface ModifyInstanceEventWindowRequest {
1804
- DryRun?: boolean | undefined;
1805
- Name?: string | undefined;
1806
- InstanceEventWindowId: string | undefined;
1807
- TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
1808
- CronExpression?: string | undefined;
1809
- }
1810
- export interface ModifyInstanceEventWindowResult {
1811
- InstanceEventWindow?: InstanceEventWindow | undefined;
1812
- }
1813
1809
  export declare const VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog: (
1814
1810
  obj: VerifiedAccessInstanceUserTrustProviderClientConfiguration
1815
1811
  ) => any;
@@ -14,6 +14,7 @@ import {
14
14
  EnaSrdSpecification,
15
15
  IamInstanceProfileAssociation,
16
16
  IamInstanceProfileSpecification,
17
+ InstanceEventWindow,
17
18
  IpPermission,
18
19
  Ipv6SupportValue,
19
20
  NatGatewayAddress,
@@ -42,6 +43,7 @@ import {
42
43
  ElasticGpuSpecification,
43
44
  HostnameType,
44
45
  InstanceBandwidthWeighting,
46
+ InstanceEventWindowTimeRangeRequest,
45
47
  InstanceInterruptionBehavior,
46
48
  InstanceIpv6Address,
47
49
  Ipam,
@@ -149,6 +151,16 @@ import {
149
151
  OperationType,
150
152
  Purchase,
151
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
+ }
161
+ export interface ModifyInstanceEventWindowResult {
162
+ InstanceEventWindow?: InstanceEventWindow | undefined;
163
+ }
152
164
  export interface ModifyInstanceMaintenanceOptionsRequest {
153
165
  InstanceId: string | undefined;
154
166
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
@@ -1878,13 +1890,6 @@ export interface UnassignPrivateNatGatewayAddressResult {
1878
1890
  NatGatewayId?: string | undefined;
1879
1891
  NatGatewayAddresses?: NatGatewayAddress[] | undefined;
1880
1892
  }
1881
- export interface UnlockSnapshotRequest {
1882
- SnapshotId: string | undefined;
1883
- DryRun?: boolean | undefined;
1884
- }
1885
- export interface UnlockSnapshotResult {
1886
- SnapshotId?: string | undefined;
1887
- }
1888
1893
  export declare const ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: (
1889
1894
  obj: ModifyVerifiedAccessNativeApplicationOidcOptions
1890
1895
  ) => any;
@@ -1,5 +1,12 @@
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
+ }
7
+ export interface UnlockSnapshotResult {
8
+ SnapshotId?: string | undefined;
9
+ }
3
10
  export interface UnmonitorInstancesRequest {
4
11
  InstanceIds: string[] | undefined;
5
12
  DryRun?: 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.709.0",
4
+ "version": "3.713.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.709.0",
24
- "@aws-sdk/client-sts": "3.709.0",
25
- "@aws-sdk/core": "3.709.0",
26
- "@aws-sdk/credential-provider-node": "3.709.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.709.0",
23
+ "@aws-sdk/client-sso-oidc": "3.713.0",
24
+ "@aws-sdk/client-sts": "3.713.0",
25
+ "@aws-sdk/core": "3.713.0",
26
+ "@aws-sdk/credential-provider-node": "3.713.0",
27
+ "@aws-sdk/middleware-host-header": "3.713.0",
28
+ "@aws-sdk/middleware-logger": "3.713.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.713.0",
30
+ "@aws-sdk/middleware-sdk-ec2": "3.713.0",
31
+ "@aws-sdk/middleware-user-agent": "3.713.0",
32
+ "@aws-sdk/region-config-resolver": "3.713.0",
33
+ "@aws-sdk/types": "3.713.0",
34
+ "@aws-sdk/util-endpoints": "3.713.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.713.0",
36
+ "@aws-sdk/util-user-agent-node": "3.713.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",