@aws-sdk/client-ec2 3.421.0 → 3.423.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 (70) hide show
  1. package/dist-cjs/models/models_0.js +8 -0
  2. package/dist-cjs/protocols/Aws_ec2.js +77 -0
  3. package/dist-es/models/models_0.js +8 -0
  4. package/dist-es/protocols/Aws_ec2.js +77 -0
  5. package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +4 -0
  6. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  8. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  10. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +8 -0
  12. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +8 -0
  13. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +8 -0
  14. package/dist-types/commands/DeletePublicIpv4PoolCommand.d.ts +2 -1
  15. package/dist-types/commands/DeleteQueuedReservedInstancesCommand.d.ts +1 -2
  16. package/dist-types/commands/DeleteVerifiedAccessEndpointCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteVerifiedAccessGroupCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +4 -0
  19. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  21. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  23. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  28. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  29. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +4 -0
  32. package/dist-types/commands/DescribeVerifiedAccessGroupsCommand.d.ts +5 -1
  33. package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +4 -0
  34. package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +4 -0
  35. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  36. package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  37. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  38. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  39. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  40. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  41. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +4 -0
  42. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +9 -1
  43. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +4 -0
  44. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +9 -1
  45. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +8 -0
  46. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  47. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  48. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  49. package/dist-types/models/models_0.d.ts +40 -15
  50. package/dist-types/models/models_1.d.ts +13 -11
  51. package/dist-types/models/models_2.d.ts +72 -32
  52. package/dist-types/models/models_3.d.ts +27 -63
  53. package/dist-types/models/models_4.d.ts +65 -55
  54. package/dist-types/models/models_5.d.ts +54 -33
  55. package/dist-types/models/models_6.d.ts +71 -47
  56. package/dist-types/models/models_7.d.ts +44 -1
  57. package/dist-types/ts3.4/commands/CreatePlacementGroupCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DeletePublicIpv4PoolCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/DeleteQueuedReservedInstancesCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/DescribeVerifiedAccessGroupsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/models/models_0.d.ts +13 -3
  63. package/dist-types/ts3.4/models/models_1.d.ts +3 -4
  64. package/dist-types/ts3.4/models/models_2.d.ts +14 -7
  65. package/dist-types/ts3.4/models/models_3.d.ts +7 -12
  66. package/dist-types/ts3.4/models/models_4.d.ts +12 -15
  67. package/dist-types/ts3.4/models/models_5.d.ts +13 -8
  68. package/dist-types/ts3.4/models/models_6.d.ts +17 -10
  69. package/dist-types/ts3.4/models/models_7.d.ts +8 -2
  70. package/package.json +4 -4
@@ -19,6 +19,7 @@ import {
19
19
  UnsuccessfulItem,
20
20
  UserTrustProviderType,
21
21
  VerifiedAccessInstance,
22
+ VerifiedAccessSseSpecificationResponse,
22
23
  VerifiedAccessTrustProvider,
23
24
  VolumeAttachment,
24
25
  VpcAttachment,
@@ -41,11 +42,15 @@ import {
41
42
  LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
42
43
  LocalGatewayRouteTableVpcAssociation,
43
44
  ManagedPrefixList,
45
+ PlacementGroup,
44
46
  Subnet,
45
47
  Tenancy,
46
48
  VolumeType,
47
49
  Vpc,
48
50
  } from "./models_1";
51
+ export interface CreatePlacementGroupResult {
52
+ PlacementGroup?: PlacementGroup;
53
+ }
49
54
  export interface CreatePublicIpv4PoolRequest {
50
55
  DryRun?: boolean;
51
56
  TagSpecifications?: TagSpecification[];
@@ -924,6 +929,10 @@ export interface CreateVerifiedAccessEndpointEniOptions {
924
929
  Protocol?: VerifiedAccessEndpointProtocol | string;
925
930
  Port?: number;
926
931
  }
932
+ export interface VerifiedAccessSseSpecificationRequest {
933
+ CustomerManagedKeyEnabled?: boolean;
934
+ KmsKeyArn?: string;
935
+ }
927
936
  export interface CreateVerifiedAccessEndpointRequest {
928
937
  VerifiedAccessGroupId: string | undefined;
929
938
  EndpointType: VerifiedAccessEndpointType | string | undefined;
@@ -939,6 +948,7 @@ export interface CreateVerifiedAccessEndpointRequest {
939
948
  TagSpecifications?: TagSpecification[];
940
949
  ClientToken?: string;
941
950
  DryRun?: boolean;
951
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
942
952
  }
943
953
  export interface VerifiedAccessEndpointLoadBalancerOptions {
944
954
  Protocol?: VerifiedAccessEndpointProtocol | string;
@@ -983,6 +993,7 @@ export interface VerifiedAccessEndpoint {
983
993
  LastUpdatedTime?: string;
984
994
  DeletionTime?: string;
985
995
  Tags?: Tag[];
996
+ SseSpecification?: VerifiedAccessSseSpecificationResponse;
986
997
  }
987
998
  export interface CreateVerifiedAccessEndpointResult {
988
999
  VerifiedAccessEndpoint?: VerifiedAccessEndpoint;
@@ -994,6 +1005,7 @@ export interface CreateVerifiedAccessGroupRequest {
994
1005
  TagSpecifications?: TagSpecification[];
995
1006
  ClientToken?: string;
996
1007
  DryRun?: boolean;
1008
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
997
1009
  }
998
1010
  export interface VerifiedAccessGroup {
999
1011
  VerifiedAccessGroupId?: string;
@@ -1005,6 +1017,7 @@ export interface VerifiedAccessGroup {
1005
1017
  LastUpdatedTime?: string;
1006
1018
  DeletionTime?: string;
1007
1019
  Tags?: Tag[];
1020
+ SseSpecification?: VerifiedAccessSseSpecificationResponse;
1008
1021
  }
1009
1022
  export interface CreateVerifiedAccessGroupResult {
1010
1023
  VerifiedAccessGroup?: VerifiedAccessGroup;
@@ -1042,6 +1055,7 @@ export interface CreateVerifiedAccessTrustProviderRequest {
1042
1055
  TagSpecifications?: TagSpecification[];
1043
1056
  ClientToken?: string;
1044
1057
  DryRun?: boolean;
1058
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
1045
1059
  }
1046
1060
  export interface CreateVerifiedAccessTrustProviderResult {
1047
1061
  VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider;
@@ -1856,13 +1870,6 @@ export interface DeletePublicIpv4PoolRequest {
1856
1870
  DryRun?: boolean;
1857
1871
  PoolId: string | undefined;
1858
1872
  }
1859
- export interface DeletePublicIpv4PoolResult {
1860
- ReturnValue?: boolean;
1861
- }
1862
- export interface DeleteQueuedReservedInstancesRequest {
1863
- DryRun?: boolean;
1864
- ReservedInstancesIds: string[] | undefined;
1865
- }
1866
1873
  export declare const CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: (
1867
1874
  obj: CreateVerifiedAccessTrustProviderOidcOptions
1868
1875
  ) => any;
@@ -85,6 +85,13 @@ import {
85
85
  VerifiedAccessEndpoint,
86
86
  VerifiedAccessGroup,
87
87
  } from "./models_2";
88
+ export interface DeletePublicIpv4PoolResult {
89
+ ReturnValue?: boolean;
90
+ }
91
+ export interface DeleteQueuedReservedInstancesRequest {
92
+ DryRun?: boolean;
93
+ ReservedInstancesIds: string[] | undefined;
94
+ }
88
95
  export declare const DeleteQueuedReservedInstancesErrorCode: {
89
96
  readonly RESERVED_INSTANCES_ID_INVALID: "reserved-instances-id-invalid";
90
97
  readonly RESERVED_INSTANCES_NOT_IN_QUEUED_STATE: "reserved-instances-not-in-queued-state";
@@ -1823,18 +1830,6 @@ export declare const InstanceBootModeValues: {
1823
1830
  };
1824
1831
  export type InstanceBootModeValues =
1825
1832
  (typeof InstanceBootModeValues)[keyof typeof InstanceBootModeValues];
1826
- export interface ElasticGpuAssociation {
1827
- ElasticGpuId?: string;
1828
- ElasticGpuAssociationId?: string;
1829
- ElasticGpuAssociationState?: string;
1830
- ElasticGpuAssociationTime?: string;
1831
- }
1832
- export interface ElasticInferenceAcceleratorAssociation {
1833
- ElasticInferenceAcceleratorArn?: string;
1834
- ElasticInferenceAcceleratorAssociationId?: string;
1835
- ElasticInferenceAcceleratorAssociationState?: string;
1836
- ElasticInferenceAcceleratorAssociationTime?: Date;
1837
- }
1838
1833
  export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1839
1834
  obj: DeleteVerifiedAccessTrustProviderResult
1840
1835
  ) => any;
@@ -87,7 +87,6 @@ import {
87
87
  TransitGatewayRouteTable,
88
88
  TransitGatewayRouteTableAnnouncement,
89
89
  VerifiedAccessEndpoint,
90
- VerifiedAccessGroup,
91
90
  } from "./models_2";
92
91
  import {
93
92
  ArchitectureValues,
@@ -96,8 +95,6 @@ import {
96
95
  CapacityReservationSpecificationResponse,
97
96
  CpuOptions,
98
97
  DeviceType,
99
- ElasticGpuAssociation,
100
- ElasticInferenceAcceleratorAssociation,
101
98
  EnclaveOptions,
102
99
  EventInformation,
103
100
  Filter,
@@ -109,6 +106,18 @@ import {
109
106
  ProductCode,
110
107
  VirtualizationType,
111
108
  } from "./models_3";
109
+ export interface ElasticGpuAssociation {
110
+ ElasticGpuId?: string;
111
+ ElasticGpuAssociationId?: string;
112
+ ElasticGpuAssociationState?: string;
113
+ ElasticGpuAssociationTime?: string;
114
+ }
115
+ export interface ElasticInferenceAcceleratorAssociation {
116
+ ElasticInferenceAcceleratorArn?: string;
117
+ ElasticInferenceAcceleratorAssociationId?: string;
118
+ ElasticInferenceAcceleratorAssociationState?: string;
119
+ ElasticInferenceAcceleratorAssociationTime?: Date;
120
+ }
112
121
  export interface HibernationOptions {
113
122
  Configured?: boolean;
114
123
  }
@@ -2066,18 +2075,6 @@ export interface DescribeVerifiedAccessEndpointsResult {
2066
2075
  VerifiedAccessEndpoints?: VerifiedAccessEndpoint[];
2067
2076
  NextToken?: string;
2068
2077
  }
2069
- export interface DescribeVerifiedAccessGroupsRequest {
2070
- VerifiedAccessGroupIds?: string[];
2071
- VerifiedAccessInstanceId?: string;
2072
- MaxResults?: number;
2073
- NextToken?: string;
2074
- Filters?: Filter[];
2075
- DryRun?: boolean;
2076
- }
2077
- export interface DescribeVerifiedAccessGroupsResult {
2078
- VerifiedAccessGroups?: VerifiedAccessGroup[];
2079
- NextToken?: string;
2080
- }
2081
2078
  export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
2082
2079
  obj: DescribeLaunchTemplateVersionsResult
2083
2080
  ) => any;
@@ -50,6 +50,7 @@ import {
50
50
  State,
51
51
  SubnetCidrReservation,
52
52
  TransitGatewayPrefixListReference,
53
+ VerifiedAccessGroup,
53
54
  Volume,
54
55
  VpcEndpoint,
55
56
  VpnConnection,
@@ -73,6 +74,18 @@ import {
73
74
  VirtualizationType,
74
75
  } from "./models_3";
75
76
  import { AnalysisStatus, ArchitectureType } from "./models_4";
77
+ export interface DescribeVerifiedAccessGroupsRequest {
78
+ VerifiedAccessGroupIds?: string[];
79
+ VerifiedAccessInstanceId?: string;
80
+ MaxResults?: number;
81
+ NextToken?: string;
82
+ Filters?: Filter[];
83
+ DryRun?: boolean;
84
+ }
85
+ export interface DescribeVerifiedAccessGroupsResult {
86
+ VerifiedAccessGroups?: VerifiedAccessGroup[];
87
+ NextToken?: string;
88
+ }
76
89
  export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest {
77
90
  VerifiedAccessInstanceIds?: string[];
78
91
  MaxResults?: number;
@@ -1645,14 +1658,6 @@ export interface GetVerifiedAccessEndpointPolicyResult {
1645
1658
  PolicyEnabled?: boolean;
1646
1659
  PolicyDocument?: string;
1647
1660
  }
1648
- export interface GetVerifiedAccessGroupPolicyRequest {
1649
- VerifiedAccessGroupId: string | undefined;
1650
- DryRun?: boolean;
1651
- }
1652
- export interface GetVerifiedAccessGroupPolicyResult {
1653
- PolicyEnabled?: boolean;
1654
- PolicyDocument?: string;
1655
- }
1656
1661
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1657
1662
  obj: DescribeVerifiedAccessTrustProvidersResult
1658
1663
  ) => any;
@@ -30,6 +30,7 @@ import {
30
30
  TransitGatewayVpcAttachment,
31
31
  UnsuccessfulItem,
32
32
  VerifiedAccessInstance,
33
+ VerifiedAccessSseSpecificationResponse,
33
34
  VerifiedAccessTrustProvider,
34
35
  } from "./models_0";
35
36
  import {
@@ -96,6 +97,7 @@ import {
96
97
  VerifiedAccessEndpoint,
97
98
  VerifiedAccessEndpointProtocol,
98
99
  VerifiedAccessGroup,
100
+ VerifiedAccessSseSpecificationRequest,
99
101
  VpnConnection,
100
102
  VpnEcmpSupportValue,
101
103
  VpnTunnelLogOptionsSpecification,
@@ -148,6 +150,14 @@ import {
148
150
  VerifiedAccessInstanceLoggingConfiguration,
149
151
  VolumeModification,
150
152
  } from "./models_5";
153
+ export interface GetVerifiedAccessGroupPolicyRequest {
154
+ VerifiedAccessGroupId: string | undefined;
155
+ DryRun?: boolean;
156
+ }
157
+ export interface GetVerifiedAccessGroupPolicyResult {
158
+ PolicyEnabled?: boolean;
159
+ PolicyDocument?: string;
160
+ }
151
161
  export interface GetVpnConnectionDeviceSampleConfigurationRequest {
152
162
  VpnConnectionId: string | undefined;
153
163
  VpnConnectionDeviceTypeId: string | undefined;
@@ -998,14 +1008,16 @@ export interface ModifyVerifiedAccessEndpointResult {
998
1008
  }
999
1009
  export interface ModifyVerifiedAccessEndpointPolicyRequest {
1000
1010
  VerifiedAccessEndpointId: string | undefined;
1001
- PolicyEnabled: boolean | undefined;
1011
+ PolicyEnabled?: boolean;
1002
1012
  PolicyDocument?: string;
1003
1013
  ClientToken?: string;
1004
1014
  DryRun?: boolean;
1015
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
1005
1016
  }
1006
1017
  export interface ModifyVerifiedAccessEndpointPolicyResult {
1007
1018
  PolicyEnabled?: boolean;
1008
1019
  PolicyDocument?: string;
1020
+ SseSpecification?: VerifiedAccessSseSpecificationResponse;
1009
1021
  }
1010
1022
  export interface ModifyVerifiedAccessGroupRequest {
1011
1023
  VerifiedAccessGroupId: string | undefined;
@@ -1019,14 +1031,16 @@ export interface ModifyVerifiedAccessGroupResult {
1019
1031
  }
1020
1032
  export interface ModifyVerifiedAccessGroupPolicyRequest {
1021
1033
  VerifiedAccessGroupId: string | undefined;
1022
- PolicyEnabled: boolean | undefined;
1034
+ PolicyEnabled?: boolean;
1023
1035
  PolicyDocument?: string;
1024
1036
  ClientToken?: string;
1025
1037
  DryRun?: boolean;
1038
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
1026
1039
  }
1027
1040
  export interface ModifyVerifiedAccessGroupPolicyResult {
1028
1041
  PolicyEnabled?: boolean;
1029
1042
  PolicyDocument?: string;
1043
+ SseSpecification?: VerifiedAccessSseSpecificationResponse;
1030
1044
  }
1031
1045
  export interface ModifyVerifiedAccessInstanceRequest {
1032
1046
  VerifiedAccessInstanceId: string | undefined;
@@ -1082,6 +1096,7 @@ export interface ModifyVerifiedAccessTrustProviderRequest {
1082
1096
  Description?: string;
1083
1097
  DryRun?: boolean;
1084
1098
  ClientToken?: string;
1099
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
1085
1100
  }
1086
1101
  export interface ModifyVerifiedAccessTrustProviderResult {
1087
1102
  VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider;
@@ -1824,14 +1839,6 @@ export interface InstanceMarketOptionsRequest {
1824
1839
  MarketType?: MarketType | string;
1825
1840
  SpotOptions?: SpotMarketOptions;
1826
1841
  }
1827
- export interface LaunchTemplateSpecification {
1828
- LaunchTemplateId?: string;
1829
- LaunchTemplateName?: string;
1830
- Version?: string;
1831
- }
1832
- export interface LicenseConfigurationRequest {
1833
- LicenseConfigurationArn?: string;
1834
- }
1835
1842
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1836
1843
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1837
1844
  ) => any;
@@ -39,9 +39,15 @@ import {
39
39
  HibernationOptionsRequest,
40
40
  InstanceMarketOptionsRequest,
41
41
  InstanceMonitoring,
42
- LaunchTemplateSpecification,
43
- LicenseConfigurationRequest,
44
42
  } from "./models_6";
43
+ export interface LaunchTemplateSpecification {
44
+ LaunchTemplateId?: string;
45
+ LaunchTemplateName?: string;
46
+ Version?: string;
47
+ }
48
+ export interface LicenseConfigurationRequest {
49
+ LicenseConfigurationArn?: string;
50
+ }
45
51
  export interface InstanceMaintenanceOptionsRequest {
46
52
  AutoRecovery?: InstanceAutoRecoveryState | string;
47
53
  }
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.421.0",
4
+ "version": "3.423.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",
@@ -21,12 +21,12 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.421.0",
25
- "@aws-sdk/credential-provider-node": "3.421.0",
24
+ "@aws-sdk/client-sts": "3.423.0",
25
+ "@aws-sdk/credential-provider-node": "3.423.0",
26
26
  "@aws-sdk/middleware-host-header": "3.418.0",
27
27
  "@aws-sdk/middleware-logger": "3.418.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
- "@aws-sdk/middleware-sdk-ec2": "3.418.0",
29
+ "@aws-sdk/middleware-sdk-ec2": "3.423.0",
30
30
  "@aws-sdk/middleware-signing": "3.418.0",
31
31
  "@aws-sdk/middleware-user-agent": "3.418.0",
32
32
  "@aws-sdk/region-config-resolver": "3.418.0",