@aws-sdk/client-ec2 3.695.0 → 3.696.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 (118) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +551 -19
  3. package/dist-es/EC2.js +12 -0
  4. package/dist-es/commands/CreateVpcBlockPublicAccessExclusionCommand.js +22 -0
  5. package/dist-es/commands/DeleteVpcBlockPublicAccessExclusionCommand.js +22 -0
  6. package/dist-es/commands/DescribeVpcBlockPublicAccessExclusionsCommand.js +22 -0
  7. package/dist-es/commands/DescribeVpcBlockPublicAccessOptionsCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpcBlockPublicAccessExclusionCommand.js +22 -0
  9. package/dist-es/commands/ModifyVpcBlockPublicAccessOptionsCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_1.js +5 -0
  12. package/dist-es/models/models_2.js +16 -0
  13. package/dist-es/models/models_4.js +0 -15
  14. package/dist-es/models/models_5.js +25 -0
  15. package/dist-es/protocols/Aws_ec2.js +395 -2
  16. package/dist-types/EC2.d.ts +44 -0
  17. package/dist-types/EC2Client.d.ts +8 -2
  18. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  19. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  20. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  21. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  22. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  23. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  24. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -2
  25. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
  28. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
  29. package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
  30. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  35. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  36. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  37. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  40. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  41. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -2
  43. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
  46. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  47. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  48. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  49. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  50. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  51. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  52. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  53. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  54. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  55. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  56. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  57. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -2
  58. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  59. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  60. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  61. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  64. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  66. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  67. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  68. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  69. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  70. package/dist-types/commands/index.d.ts +6 -0
  71. package/dist-types/models/models_0.d.ts +27 -23
  72. package/dist-types/models/models_1.d.ts +66 -80
  73. package/dist-types/models/models_2.d.ts +220 -106
  74. package/dist-types/models/models_3.d.ts +155 -371
  75. package/dist-types/models/models_4.d.ts +423 -401
  76. package/dist-types/models/models_5.d.ts +567 -506
  77. package/dist-types/models/models_6.d.ts +3268 -3187
  78. package/dist-types/models/models_7.d.ts +502 -28
  79. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  80. package/dist-types/ts3.4/EC2.d.ts +140 -0
  81. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  82. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  110. package/dist-types/ts3.4/models/models_1.d.ts +12 -15
  111. package/dist-types/ts3.4/models/models_2.d.ts +56 -32
  112. package/dist-types/ts3.4/models/models_3.d.ts +39 -69
  113. package/dist-types/ts3.4/models/models_4.d.ts +70 -70
  114. package/dist-types/ts3.4/models/models_5.d.ts +111 -101
  115. package/dist-types/ts3.4/models/models_6.d.ts +100 -102
  116. package/dist-types/ts3.4/models/models_7.d.ts +124 -2
  117. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  118. package/package.json +37 -37
@@ -6,6 +6,7 @@ import {
6
6
  Affinity,
7
7
  ApplianceModeSupportValue,
8
8
  AutoPlacement,
9
+ CapacityReservationState,
9
10
  CurrencyCodeValues,
10
11
  DnsSupportValue,
11
12
  EnaSrdSpecification,
@@ -26,8 +27,6 @@ import {
26
27
  TransitGatewayPolicyTableAssociation,
27
28
  TransitGatewayVpcAttachment,
28
29
  UnsuccessfulItem,
29
- VerifiedAccessInstance,
30
- VerifiedAccessSseSpecificationResponse,
31
30
  } from "./models_0";
32
31
  import {
33
32
  _InstanceType,
@@ -78,10 +77,7 @@ import {
78
77
  TrafficMirrorSession,
79
78
  TransitGateway,
80
79
  TransitGatewayPrefixListReference,
81
- VerifiedAccessEndpoint,
82
80
  VerifiedAccessEndpointProtocol,
83
- VerifiedAccessGroup,
84
- VerifiedAccessSseSpecificationRequest,
85
81
  VpnEcmpSupportValue,
86
82
  } from "./models_2";
87
83
  import {
@@ -90,8 +86,11 @@ import {
90
86
  FpgaImageAttribute,
91
87
  FpgaImageAttributeName,
92
88
  IpamPoolCidr,
89
+ MetricType,
93
90
  PaymentOption,
91
+ PeriodType,
94
92
  PermissionGroup,
93
+ StatisticType,
95
94
  } from "./models_3";
96
95
  import {
97
96
  AnalysisStatus,
@@ -99,7 +98,6 @@ import {
99
98
  ArchitectureValues,
100
99
  AttributeBooleanValue,
101
100
  BootModeValues,
102
- CreateVolumePermission,
103
101
  HttpTokensState,
104
102
  ImportImageLicenseConfigurationResponse,
105
103
  InstanceAttributeName,
@@ -112,19 +110,112 @@ import {
112
110
  LaunchPermission,
113
111
  LockState,
114
112
  ReservedInstancesConfiguration,
115
- SnapshotAttributeName,
116
113
  SnapshotDetail,
117
114
  SnapshotTaskDetail,
118
115
  VirtualizationType,
119
116
  } from "./models_4";
120
117
  import {
121
- CoipAddressUsage,
118
+ CreateVolumePermission,
122
119
  ExcessCapacityTerminationPolicy,
123
120
  LaunchTemplateConfig,
121
+ SnapshotAttributeName,
124
122
  SnapshotBlockPublicAccessState,
125
123
  TransitGatewayPropagationState,
126
- VerifiedAccessInstanceLoggingConfiguration,
127
124
  } from "./models_5";
125
+ export interface GetAssociatedEnclaveCertificateIamRolesRequest {
126
+ CertificateArn: string | undefined;
127
+ DryRun?: boolean | undefined;
128
+ }
129
+ export interface AssociatedRole {
130
+ AssociatedRoleArn?: string | undefined;
131
+ CertificateS3BucketName?: string | undefined;
132
+ CertificateS3ObjectKey?: string | undefined;
133
+ EncryptionKmsKeyId?: string | undefined;
134
+ }
135
+ export interface GetAssociatedEnclaveCertificateIamRolesResult {
136
+ AssociatedRoles?: AssociatedRole[] | undefined;
137
+ }
138
+ export interface GetAssociatedIpv6PoolCidrsRequest {
139
+ PoolId: string | undefined;
140
+ NextToken?: string | undefined;
141
+ MaxResults?: number | undefined;
142
+ DryRun?: boolean | undefined;
143
+ }
144
+ export interface Ipv6CidrAssociation {
145
+ Ipv6Cidr?: string | undefined;
146
+ AssociatedResource?: string | undefined;
147
+ }
148
+ export interface GetAssociatedIpv6PoolCidrsResult {
149
+ Ipv6CidrAssociations?: Ipv6CidrAssociation[] | undefined;
150
+ NextToken?: string | undefined;
151
+ }
152
+ export interface DataQuery {
153
+ Id?: string | undefined;
154
+ Source?: string | undefined;
155
+ Destination?: string | undefined;
156
+ Metric?: MetricType | undefined;
157
+ Statistic?: StatisticType | undefined;
158
+ Period?: PeriodType | undefined;
159
+ }
160
+ export interface GetAwsNetworkPerformanceDataRequest {
161
+ DataQueries?: DataQuery[] | undefined;
162
+ StartTime?: Date | undefined;
163
+ EndTime?: Date | undefined;
164
+ MaxResults?: number | undefined;
165
+ NextToken?: string | undefined;
166
+ DryRun?: boolean | undefined;
167
+ }
168
+ export interface MetricPoint {
169
+ StartDate?: Date | undefined;
170
+ EndDate?: Date | undefined;
171
+ Value?: number | undefined;
172
+ Status?: string | undefined;
173
+ }
174
+ export interface DataResponse {
175
+ Id?: string | undefined;
176
+ Source?: string | undefined;
177
+ Destination?: string | undefined;
178
+ Metric?: MetricType | undefined;
179
+ Statistic?: StatisticType | undefined;
180
+ Period?: PeriodType | undefined;
181
+ MetricPoints?: MetricPoint[] | undefined;
182
+ }
183
+ export interface GetAwsNetworkPerformanceDataResult {
184
+ DataResponses?: DataResponse[] | undefined;
185
+ NextToken?: string | undefined;
186
+ }
187
+ export interface GetCapacityReservationUsageRequest {
188
+ CapacityReservationId: string | undefined;
189
+ NextToken?: string | undefined;
190
+ MaxResults?: number | undefined;
191
+ DryRun?: boolean | undefined;
192
+ }
193
+ export interface InstanceUsage {
194
+ AccountId?: string | undefined;
195
+ UsedInstanceCount?: number | undefined;
196
+ }
197
+ export interface GetCapacityReservationUsageResult {
198
+ NextToken?: string | undefined;
199
+ CapacityReservationId?: string | undefined;
200
+ InstanceType?: string | undefined;
201
+ TotalInstanceCount?: number | undefined;
202
+ AvailableInstanceCount?: number | undefined;
203
+ State?: CapacityReservationState | undefined;
204
+ InstanceUsages?: InstanceUsage[] | undefined;
205
+ }
206
+ export interface GetCoipPoolUsageRequest {
207
+ PoolId: string | undefined;
208
+ Filters?: Filter[] | undefined;
209
+ MaxResults?: number | undefined;
210
+ NextToken?: string | undefined;
211
+ DryRun?: boolean | undefined;
212
+ }
213
+ export interface CoipAddressUsage {
214
+ AllocationId?: string | undefined;
215
+ AwsAccountId?: string | undefined;
216
+ AwsService?: string | undefined;
217
+ CoIp?: string | undefined;
218
+ }
128
219
  export interface GetCoipPoolUsageResult {
129
220
  CoipPoolId?: string | undefined;
130
221
  CoipAddressUsages?: CoipAddressUsage[] | undefined;
@@ -1815,99 +1906,6 @@ export interface ModifyVerifiedAccessEndpointEniOptions {
1815
1906
  Protocol?: VerifiedAccessEndpointProtocol | undefined;
1816
1907
  Port?: number | undefined;
1817
1908
  }
1818
- export interface ModifyVerifiedAccessEndpointRequest {
1819
- VerifiedAccessEndpointId: string | undefined;
1820
- VerifiedAccessGroupId?: string | undefined;
1821
- LoadBalancerOptions?:
1822
- | ModifyVerifiedAccessEndpointLoadBalancerOptions
1823
- | undefined;
1824
- NetworkInterfaceOptions?: ModifyVerifiedAccessEndpointEniOptions | undefined;
1825
- Description?: string | undefined;
1826
- ClientToken?: string | undefined;
1827
- DryRun?: boolean | undefined;
1828
- }
1829
- export interface ModifyVerifiedAccessEndpointResult {
1830
- VerifiedAccessEndpoint?: VerifiedAccessEndpoint | undefined;
1831
- }
1832
- export interface ModifyVerifiedAccessEndpointPolicyRequest {
1833
- VerifiedAccessEndpointId: string | undefined;
1834
- PolicyEnabled?: boolean | undefined;
1835
- PolicyDocument?: string | undefined;
1836
- ClientToken?: string | undefined;
1837
- DryRun?: boolean | undefined;
1838
- SseSpecification?: VerifiedAccessSseSpecificationRequest | undefined;
1839
- }
1840
- export interface ModifyVerifiedAccessEndpointPolicyResult {
1841
- PolicyEnabled?: boolean | undefined;
1842
- PolicyDocument?: string | undefined;
1843
- SseSpecification?: VerifiedAccessSseSpecificationResponse | undefined;
1844
- }
1845
- export interface ModifyVerifiedAccessGroupRequest {
1846
- VerifiedAccessGroupId: string | undefined;
1847
- VerifiedAccessInstanceId?: string | undefined;
1848
- Description?: string | undefined;
1849
- ClientToken?: string | undefined;
1850
- DryRun?: boolean | undefined;
1851
- }
1852
- export interface ModifyVerifiedAccessGroupResult {
1853
- VerifiedAccessGroup?: VerifiedAccessGroup | undefined;
1854
- }
1855
- export interface ModifyVerifiedAccessGroupPolicyRequest {
1856
- VerifiedAccessGroupId: string | undefined;
1857
- PolicyEnabled?: boolean | undefined;
1858
- PolicyDocument?: string | undefined;
1859
- ClientToken?: string | undefined;
1860
- DryRun?: boolean | undefined;
1861
- SseSpecification?: VerifiedAccessSseSpecificationRequest | undefined;
1862
- }
1863
- export interface ModifyVerifiedAccessGroupPolicyResult {
1864
- PolicyEnabled?: boolean | undefined;
1865
- PolicyDocument?: string | undefined;
1866
- SseSpecification?: VerifiedAccessSseSpecificationResponse | undefined;
1867
- }
1868
- export interface ModifyVerifiedAccessInstanceRequest {
1869
- VerifiedAccessInstanceId: string | undefined;
1870
- Description?: string | undefined;
1871
- DryRun?: boolean | undefined;
1872
- ClientToken?: string | undefined;
1873
- }
1874
- export interface ModifyVerifiedAccessInstanceResult {
1875
- VerifiedAccessInstance?: VerifiedAccessInstance | undefined;
1876
- }
1877
- export interface VerifiedAccessLogCloudWatchLogsDestinationOptions {
1878
- Enabled: boolean | undefined;
1879
- LogGroup?: string | undefined;
1880
- }
1881
- export interface VerifiedAccessLogKinesisDataFirehoseDestinationOptions {
1882
- Enabled: boolean | undefined;
1883
- DeliveryStream?: string | undefined;
1884
- }
1885
- export interface VerifiedAccessLogS3DestinationOptions {
1886
- Enabled: boolean | undefined;
1887
- BucketName?: string | undefined;
1888
- Prefix?: string | undefined;
1889
- BucketOwner?: string | undefined;
1890
- }
1891
- export interface VerifiedAccessLogOptions {
1892
- S3?: VerifiedAccessLogS3DestinationOptions | undefined;
1893
- CloudWatchLogs?:
1894
- | VerifiedAccessLogCloudWatchLogsDestinationOptions
1895
- | undefined;
1896
- KinesisDataFirehose?:
1897
- | VerifiedAccessLogKinesisDataFirehoseDestinationOptions
1898
- | undefined;
1899
- LogVersion?: string | undefined;
1900
- IncludeTrustContext?: boolean | undefined;
1901
- }
1902
- export interface ModifyVerifiedAccessInstanceLoggingConfigurationRequest {
1903
- VerifiedAccessInstanceId: string | undefined;
1904
- AccessLogs: VerifiedAccessLogOptions | undefined;
1905
- DryRun?: boolean | undefined;
1906
- ClientToken?: string | undefined;
1907
- }
1908
- export interface ModifyVerifiedAccessInstanceLoggingConfigurationResult {
1909
- LoggingConfiguration?: VerifiedAccessInstanceLoggingConfiguration | undefined;
1910
- }
1911
1909
  export declare const GetInstanceTpmEkPubResultFilterSensitiveLog: (
1912
1910
  obj: GetInstanceTpmEkPubResult
1913
1911
  ) => any;
@@ -18,6 +18,8 @@ import {
18
18
  TransitGatewayPeeringAttachment,
19
19
  TransitGatewayVpcAttachment,
20
20
  UnsuccessfulItem,
21
+ VerifiedAccessInstance,
22
+ VerifiedAccessSseSpecificationResponse,
21
23
  VerifiedAccessTrustProvider,
22
24
  } from "./models_0";
23
25
  import {
@@ -44,6 +46,7 @@ import {
44
46
  import {
45
47
  DnsOptionsSpecification,
46
48
  IKEVersionsRequestListValue,
49
+ InternetGatewayExclusionMode,
47
50
  IpAddressType,
48
51
  PayerResponsibility,
49
52
  Phase1DHGroupNumbersRequestListValue,
@@ -56,7 +59,10 @@ import {
56
59
  SSEType,
57
60
  SubnetConfiguration,
58
61
  TransitGatewayRoute,
62
+ VerifiedAccessEndpoint,
63
+ VerifiedAccessGroup,
59
64
  VerifiedAccessSseSpecificationRequest,
65
+ VpcBlockPublicAccessExclusion,
60
66
  VpnConnection,
61
67
  VpnTunnelLogOptionsSpecification,
62
68
  } from "./models_2";
@@ -84,18 +90,119 @@ import {
84
90
  NetworkInsightsAnalysis,
85
91
  PublicIpv4PoolRange,
86
92
  ScheduledInstance,
87
- SnapshotAttributeName,
88
93
  TpmSupportValues,
89
94
  } from "./models_4";
90
95
  import {
91
96
  InstanceNetworkInterfaceSpecification,
97
+ InternetGatewayBlockMode,
92
98
  RunInstancesMonitoringEnabled,
99
+ SnapshotAttributeName,
93
100
  SpotFleetRequestConfigData,
94
101
  SpotInstanceRequest,
95
102
  SpotPlacement,
103
+ VerifiedAccessInstanceLoggingConfiguration,
96
104
  VolumeModification,
105
+ VpcBlockPublicAccessOptions,
97
106
  } from "./models_5";
98
- import { CapacityReservationSpecification, Purchase } from "./models_6";
107
+ import {
108
+ CapacityReservationSpecification,
109
+ ModifyVerifiedAccessEndpointEniOptions,
110
+ ModifyVerifiedAccessEndpointLoadBalancerOptions,
111
+ Purchase,
112
+ } from "./models_6";
113
+ export interface ModifyVerifiedAccessEndpointRequest {
114
+ VerifiedAccessEndpointId: string | undefined;
115
+ VerifiedAccessGroupId?: string | undefined;
116
+ LoadBalancerOptions?:
117
+ | ModifyVerifiedAccessEndpointLoadBalancerOptions
118
+ | undefined;
119
+ NetworkInterfaceOptions?: ModifyVerifiedAccessEndpointEniOptions | undefined;
120
+ Description?: string | undefined;
121
+ ClientToken?: string | undefined;
122
+ DryRun?: boolean | undefined;
123
+ }
124
+ export interface ModifyVerifiedAccessEndpointResult {
125
+ VerifiedAccessEndpoint?: VerifiedAccessEndpoint | undefined;
126
+ }
127
+ export interface ModifyVerifiedAccessEndpointPolicyRequest {
128
+ VerifiedAccessEndpointId: string | undefined;
129
+ PolicyEnabled?: boolean | undefined;
130
+ PolicyDocument?: string | undefined;
131
+ ClientToken?: string | undefined;
132
+ DryRun?: boolean | undefined;
133
+ SseSpecification?: VerifiedAccessSseSpecificationRequest | undefined;
134
+ }
135
+ export interface ModifyVerifiedAccessEndpointPolicyResult {
136
+ PolicyEnabled?: boolean | undefined;
137
+ PolicyDocument?: string | undefined;
138
+ SseSpecification?: VerifiedAccessSseSpecificationResponse | undefined;
139
+ }
140
+ export interface ModifyVerifiedAccessGroupRequest {
141
+ VerifiedAccessGroupId: string | undefined;
142
+ VerifiedAccessInstanceId?: string | undefined;
143
+ Description?: string | undefined;
144
+ ClientToken?: string | undefined;
145
+ DryRun?: boolean | undefined;
146
+ }
147
+ export interface ModifyVerifiedAccessGroupResult {
148
+ VerifiedAccessGroup?: VerifiedAccessGroup | undefined;
149
+ }
150
+ export interface ModifyVerifiedAccessGroupPolicyRequest {
151
+ VerifiedAccessGroupId: string | undefined;
152
+ PolicyEnabled?: boolean | undefined;
153
+ PolicyDocument?: string | undefined;
154
+ ClientToken?: string | undefined;
155
+ DryRun?: boolean | undefined;
156
+ SseSpecification?: VerifiedAccessSseSpecificationRequest | undefined;
157
+ }
158
+ export interface ModifyVerifiedAccessGroupPolicyResult {
159
+ PolicyEnabled?: boolean | undefined;
160
+ PolicyDocument?: string | undefined;
161
+ SseSpecification?: VerifiedAccessSseSpecificationResponse | undefined;
162
+ }
163
+ export interface ModifyVerifiedAccessInstanceRequest {
164
+ VerifiedAccessInstanceId: string | undefined;
165
+ Description?: string | undefined;
166
+ DryRun?: boolean | undefined;
167
+ ClientToken?: string | undefined;
168
+ }
169
+ export interface ModifyVerifiedAccessInstanceResult {
170
+ VerifiedAccessInstance?: VerifiedAccessInstance | undefined;
171
+ }
172
+ export interface VerifiedAccessLogCloudWatchLogsDestinationOptions {
173
+ Enabled: boolean | undefined;
174
+ LogGroup?: string | undefined;
175
+ }
176
+ export interface VerifiedAccessLogKinesisDataFirehoseDestinationOptions {
177
+ Enabled: boolean | undefined;
178
+ DeliveryStream?: string | undefined;
179
+ }
180
+ export interface VerifiedAccessLogS3DestinationOptions {
181
+ Enabled: boolean | undefined;
182
+ BucketName?: string | undefined;
183
+ Prefix?: string | undefined;
184
+ BucketOwner?: string | undefined;
185
+ }
186
+ export interface VerifiedAccessLogOptions {
187
+ S3?: VerifiedAccessLogS3DestinationOptions | undefined;
188
+ CloudWatchLogs?:
189
+ | VerifiedAccessLogCloudWatchLogsDestinationOptions
190
+ | undefined;
191
+ KinesisDataFirehose?:
192
+ | VerifiedAccessLogKinesisDataFirehoseDestinationOptions
193
+ | undefined;
194
+ LogVersion?: string | undefined;
195
+ IncludeTrustContext?: boolean | undefined;
196
+ }
197
+ export interface ModifyVerifiedAccessInstanceLoggingConfigurationRequest {
198
+ VerifiedAccessInstanceId: string | undefined;
199
+ AccessLogs: VerifiedAccessLogOptions | undefined;
200
+ DryRun?: boolean | undefined;
201
+ ClientToken?: string | undefined;
202
+ }
203
+ export interface ModifyVerifiedAccessInstanceLoggingConfigurationResult {
204
+ LoggingConfiguration?: VerifiedAccessInstanceLoggingConfiguration | undefined;
205
+ }
99
206
  export interface ModifyVerifiedAccessTrustProviderDeviceOptions {
100
207
  PublicSigningKeyUrl?: string | undefined;
101
208
  }
@@ -143,6 +250,21 @@ export interface ModifyVpcAttributeRequest {
143
250
  VpcId: string | undefined;
144
251
  EnableNetworkAddressUsageMetrics?: AttributeBooleanValue | undefined;
145
252
  }
253
+ export interface ModifyVpcBlockPublicAccessExclusionRequest {
254
+ DryRun?: boolean | undefined;
255
+ ExclusionId: string | undefined;
256
+ InternetGatewayExclusionMode: InternetGatewayExclusionMode | undefined;
257
+ }
258
+ export interface ModifyVpcBlockPublicAccessExclusionResult {
259
+ VpcBlockPublicAccessExclusion?: VpcBlockPublicAccessExclusion | undefined;
260
+ }
261
+ export interface ModifyVpcBlockPublicAccessOptionsRequest {
262
+ DryRun?: boolean | undefined;
263
+ InternetGatewayBlockMode: InternetGatewayBlockMode | undefined;
264
+ }
265
+ export interface ModifyVpcBlockPublicAccessOptionsResult {
266
+ VpcBlockPublicAccessOptions?: VpcBlockPublicAccessOptions | undefined;
267
+ }
146
268
  export interface ModifyVpcEndpointRequest {
147
269
  DryRun?: boolean | undefined;
148
270
  VpcEndpointId: string | undefined;
@@ -539,6 +539,10 @@ import {
539
539
  CreateVolumeCommandInput,
540
540
  CreateVolumeCommandOutput,
541
541
  } from "../commands/CreateVolumeCommand";
542
+ import {
543
+ CreateVpcBlockPublicAccessExclusionCommandInput,
544
+ CreateVpcBlockPublicAccessExclusionCommandOutput,
545
+ } from "../commands/CreateVpcBlockPublicAccessExclusionCommand";
542
546
  import {
543
547
  CreateVpcCommandInput,
544
548
  CreateVpcCommandOutput,
@@ -839,6 +843,10 @@ import {
839
843
  DeleteVolumeCommandInput,
840
844
  DeleteVolumeCommandOutput,
841
845
  } from "../commands/DeleteVolumeCommand";
846
+ import {
847
+ DeleteVpcBlockPublicAccessExclusionCommandInput,
848
+ DeleteVpcBlockPublicAccessExclusionCommandOutput,
849
+ } from "../commands/DeleteVpcBlockPublicAccessExclusionCommand";
842
850
  import {
843
851
  DeleteVpcCommandInput,
844
852
  DeleteVpcCommandOutput,
@@ -1475,6 +1483,14 @@ import {
1475
1483
  DescribeVpcAttributeCommandInput,
1476
1484
  DescribeVpcAttributeCommandOutput,
1477
1485
  } from "../commands/DescribeVpcAttributeCommand";
1486
+ import {
1487
+ DescribeVpcBlockPublicAccessExclusionsCommandInput,
1488
+ DescribeVpcBlockPublicAccessExclusionsCommandOutput,
1489
+ } from "../commands/DescribeVpcBlockPublicAccessExclusionsCommand";
1490
+ import {
1491
+ DescribeVpcBlockPublicAccessOptionsCommandInput,
1492
+ DescribeVpcBlockPublicAccessOptionsCommandOutput,
1493
+ } from "../commands/DescribeVpcBlockPublicAccessOptionsCommand";
1478
1494
  import {
1479
1495
  DescribeVpcClassicLinkCommandInput,
1480
1496
  DescribeVpcClassicLinkCommandOutput,
@@ -2219,6 +2235,14 @@ import {
2219
2235
  ModifyVpcAttributeCommandInput,
2220
2236
  ModifyVpcAttributeCommandOutput,
2221
2237
  } from "../commands/ModifyVpcAttributeCommand";
2238
+ import {
2239
+ ModifyVpcBlockPublicAccessExclusionCommandInput,
2240
+ ModifyVpcBlockPublicAccessExclusionCommandOutput,
2241
+ } from "../commands/ModifyVpcBlockPublicAccessExclusionCommand";
2242
+ import {
2243
+ ModifyVpcBlockPublicAccessOptionsCommandInput,
2244
+ ModifyVpcBlockPublicAccessOptionsCommandOutput,
2245
+ } from "../commands/ModifyVpcBlockPublicAccessOptionsCommand";
2222
2246
  import {
2223
2247
  ModifyVpcEndpointCommandInput,
2224
2248
  ModifyVpcEndpointCommandOutput,
@@ -3091,6 +3115,10 @@ export declare const se_CreateVpcCommand: (
3091
3115
  input: CreateVpcCommandInput,
3092
3116
  context: __SerdeContext
3093
3117
  ) => Promise<__HttpRequest>;
3118
+ export declare const se_CreateVpcBlockPublicAccessExclusionCommand: (
3119
+ input: CreateVpcBlockPublicAccessExclusionCommandInput,
3120
+ context: __SerdeContext
3121
+ ) => Promise<__HttpRequest>;
3094
3122
  export declare const se_CreateVpcEndpointCommand: (
3095
3123
  input: CreateVpcEndpointCommandInput,
3096
3124
  context: __SerdeContext
@@ -3391,6 +3419,10 @@ export declare const se_DeleteVpcCommand: (
3391
3419
  input: DeleteVpcCommandInput,
3392
3420
  context: __SerdeContext
3393
3421
  ) => Promise<__HttpRequest>;
3422
+ export declare const se_DeleteVpcBlockPublicAccessExclusionCommand: (
3423
+ input: DeleteVpcBlockPublicAccessExclusionCommandInput,
3424
+ context: __SerdeContext
3425
+ ) => Promise<__HttpRequest>;
3394
3426
  export declare const se_DeleteVpcEndpointConnectionNotificationsCommand: (
3395
3427
  input: DeleteVpcEndpointConnectionNotificationsCommandInput,
3396
3428
  context: __SerdeContext
@@ -4023,6 +4055,14 @@ export declare const se_DescribeVpcAttributeCommand: (
4023
4055
  input: DescribeVpcAttributeCommandInput,
4024
4056
  context: __SerdeContext
4025
4057
  ) => Promise<__HttpRequest>;
4058
+ export declare const se_DescribeVpcBlockPublicAccessExclusionsCommand: (
4059
+ input: DescribeVpcBlockPublicAccessExclusionsCommandInput,
4060
+ context: __SerdeContext
4061
+ ) => Promise<__HttpRequest>;
4062
+ export declare const se_DescribeVpcBlockPublicAccessOptionsCommand: (
4063
+ input: DescribeVpcBlockPublicAccessOptionsCommandInput,
4064
+ context: __SerdeContext
4065
+ ) => Promise<__HttpRequest>;
4026
4066
  export declare const se_DescribeVpcClassicLinkCommand: (
4027
4067
  input: DescribeVpcClassicLinkCommandInput,
4028
4068
  context: __SerdeContext
@@ -4767,6 +4807,14 @@ export declare const se_ModifyVpcAttributeCommand: (
4767
4807
  input: ModifyVpcAttributeCommandInput,
4768
4808
  context: __SerdeContext
4769
4809
  ) => Promise<__HttpRequest>;
4810
+ export declare const se_ModifyVpcBlockPublicAccessExclusionCommand: (
4811
+ input: ModifyVpcBlockPublicAccessExclusionCommandInput,
4812
+ context: __SerdeContext
4813
+ ) => Promise<__HttpRequest>;
4814
+ export declare const se_ModifyVpcBlockPublicAccessOptionsCommand: (
4815
+ input: ModifyVpcBlockPublicAccessOptionsCommandInput,
4816
+ context: __SerdeContext
4817
+ ) => Promise<__HttpRequest>;
4770
4818
  export declare const se_ModifyVpcEndpointCommand: (
4771
4819
  input: ModifyVpcEndpointCommandInput,
4772
4820
  context: __SerdeContext
@@ -5639,6 +5687,10 @@ export declare const de_CreateVpcCommand: (
5639
5687
  output: __HttpResponse,
5640
5688
  context: __SerdeContext
5641
5689
  ) => Promise<CreateVpcCommandOutput>;
5690
+ export declare const de_CreateVpcBlockPublicAccessExclusionCommand: (
5691
+ output: __HttpResponse,
5692
+ context: __SerdeContext
5693
+ ) => Promise<CreateVpcBlockPublicAccessExclusionCommandOutput>;
5642
5694
  export declare const de_CreateVpcEndpointCommand: (
5643
5695
  output: __HttpResponse,
5644
5696
  context: __SerdeContext
@@ -5939,6 +5991,10 @@ export declare const de_DeleteVpcCommand: (
5939
5991
  output: __HttpResponse,
5940
5992
  context: __SerdeContext
5941
5993
  ) => Promise<DeleteVpcCommandOutput>;
5994
+ export declare const de_DeleteVpcBlockPublicAccessExclusionCommand: (
5995
+ output: __HttpResponse,
5996
+ context: __SerdeContext
5997
+ ) => Promise<DeleteVpcBlockPublicAccessExclusionCommandOutput>;
5942
5998
  export declare const de_DeleteVpcEndpointConnectionNotificationsCommand: (
5943
5999
  output: __HttpResponse,
5944
6000
  context: __SerdeContext
@@ -6571,6 +6627,14 @@ export declare const de_DescribeVpcAttributeCommand: (
6571
6627
  output: __HttpResponse,
6572
6628
  context: __SerdeContext
6573
6629
  ) => Promise<DescribeVpcAttributeCommandOutput>;
6630
+ export declare const de_DescribeVpcBlockPublicAccessExclusionsCommand: (
6631
+ output: __HttpResponse,
6632
+ context: __SerdeContext
6633
+ ) => Promise<DescribeVpcBlockPublicAccessExclusionsCommandOutput>;
6634
+ export declare const de_DescribeVpcBlockPublicAccessOptionsCommand: (
6635
+ output: __HttpResponse,
6636
+ context: __SerdeContext
6637
+ ) => Promise<DescribeVpcBlockPublicAccessOptionsCommandOutput>;
6574
6638
  export declare const de_DescribeVpcClassicLinkCommand: (
6575
6639
  output: __HttpResponse,
6576
6640
  context: __SerdeContext
@@ -7315,6 +7379,14 @@ export declare const de_ModifyVpcAttributeCommand: (
7315
7379
  output: __HttpResponse,
7316
7380
  context: __SerdeContext
7317
7381
  ) => Promise<ModifyVpcAttributeCommandOutput>;
7382
+ export declare const de_ModifyVpcBlockPublicAccessExclusionCommand: (
7383
+ output: __HttpResponse,
7384
+ context: __SerdeContext
7385
+ ) => Promise<ModifyVpcBlockPublicAccessExclusionCommandOutput>;
7386
+ export declare const de_ModifyVpcBlockPublicAccessOptionsCommand: (
7387
+ output: __HttpResponse,
7388
+ context: __SerdeContext
7389
+ ) => Promise<ModifyVpcBlockPublicAccessOptionsCommandOutput>;
7318
7390
  export declare const de_ModifyVpcEndpointCommand: (
7319
7391
  output: __HttpResponse,
7320
7392
  context: __SerdeContext
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.695.0",
4
+ "version": "3.696.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,46 +20,46 @@
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.693.0",
24
- "@aws-sdk/client-sts": "3.693.0",
25
- "@aws-sdk/core": "3.693.0",
26
- "@aws-sdk/credential-provider-node": "3.693.0",
27
- "@aws-sdk/middleware-host-header": "3.693.0",
28
- "@aws-sdk/middleware-logger": "3.693.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.693.0",
30
- "@aws-sdk/middleware-sdk-ec2": "3.693.0",
31
- "@aws-sdk/middleware-user-agent": "3.693.0",
32
- "@aws-sdk/region-config-resolver": "3.693.0",
33
- "@aws-sdk/types": "3.692.0",
34
- "@aws-sdk/util-endpoints": "3.693.0",
35
- "@aws-sdk/util-user-agent-browser": "3.693.0",
36
- "@aws-sdk/util-user-agent-node": "3.693.0",
37
- "@smithy/config-resolver": "^3.0.11",
38
- "@smithy/core": "^2.5.2",
39
- "@smithy/fetch-http-handler": "^4.1.0",
40
- "@smithy/hash-node": "^3.0.9",
41
- "@smithy/invalid-dependency": "^3.0.9",
42
- "@smithy/middleware-content-length": "^3.0.11",
43
- "@smithy/middleware-endpoint": "^3.2.2",
44
- "@smithy/middleware-retry": "^3.0.26",
45
- "@smithy/middleware-serde": "^3.0.9",
46
- "@smithy/middleware-stack": "^3.0.9",
47
- "@smithy/node-config-provider": "^3.1.10",
48
- "@smithy/node-http-handler": "^3.3.0",
49
- "@smithy/protocol-http": "^4.1.6",
50
- "@smithy/smithy-client": "^3.4.3",
51
- "@smithy/types": "^3.7.0",
52
- "@smithy/url-parser": "^3.0.9",
23
+ "@aws-sdk/client-sso-oidc": "3.696.0",
24
+ "@aws-sdk/client-sts": "3.696.0",
25
+ "@aws-sdk/core": "3.696.0",
26
+ "@aws-sdk/credential-provider-node": "3.696.0",
27
+ "@aws-sdk/middleware-host-header": "3.696.0",
28
+ "@aws-sdk/middleware-logger": "3.696.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
+ "@aws-sdk/middleware-sdk-ec2": "3.696.0",
31
+ "@aws-sdk/middleware-user-agent": "3.696.0",
32
+ "@aws-sdk/region-config-resolver": "3.696.0",
33
+ "@aws-sdk/types": "3.696.0",
34
+ "@aws-sdk/util-endpoints": "3.696.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.696.0",
36
+ "@aws-sdk/util-user-agent-node": "3.696.0",
37
+ "@smithy/config-resolver": "^3.0.12",
38
+ "@smithy/core": "^2.5.3",
39
+ "@smithy/fetch-http-handler": "^4.1.1",
40
+ "@smithy/hash-node": "^3.0.10",
41
+ "@smithy/invalid-dependency": "^3.0.10",
42
+ "@smithy/middleware-content-length": "^3.0.12",
43
+ "@smithy/middleware-endpoint": "^3.2.3",
44
+ "@smithy/middleware-retry": "^3.0.27",
45
+ "@smithy/middleware-serde": "^3.0.10",
46
+ "@smithy/middleware-stack": "^3.0.10",
47
+ "@smithy/node-config-provider": "^3.1.11",
48
+ "@smithy/node-http-handler": "^3.3.1",
49
+ "@smithy/protocol-http": "^4.1.7",
50
+ "@smithy/smithy-client": "^3.4.4",
51
+ "@smithy/types": "^3.7.1",
52
+ "@smithy/url-parser": "^3.0.10",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.26",
57
- "@smithy/util-defaults-mode-node": "^3.0.26",
58
- "@smithy/util-endpoints": "^2.1.5",
59
- "@smithy/util-middleware": "^3.0.9",
60
- "@smithy/util-retry": "^3.0.9",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.27",
57
+ "@smithy/util-defaults-mode-node": "^3.0.27",
58
+ "@smithy/util-endpoints": "^2.1.6",
59
+ "@smithy/util-middleware": "^3.0.10",
60
+ "@smithy/util-retry": "^3.0.10",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
- "@smithy/util-waiter": "^3.1.8",
62
+ "@smithy/util-waiter": "^3.1.9",
63
63
  "@types/uuid": "^9.0.1",
64
64
  "tslib": "^2.6.2",
65
65
  "uuid": "^9.0.1"