@aws-sdk/client-ec2 3.989.0 → 3.991.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 (30) hide show
  1. package/dist-cjs/schemas/schemas_0.js +147 -104
  2. package/dist-es/schemas/schemas_0.js +86 -43
  3. package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  4. package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +10 -0
  5. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +2 -1
  6. package/dist-types/commands/DescribeRegionsCommand.d.ts +5 -0
  7. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +2 -1
  8. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +2 -1
  9. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  10. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +2 -1
  11. package/dist-types/commands/ModifyTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  12. package/dist-types/models/models_3.d.ts +34 -72
  13. package/dist-types/models/models_4.d.ts +90 -89
  14. package/dist-types/models/models_5.d.ts +88 -33
  15. package/dist-types/models/models_6.d.ts +33 -48
  16. package/dist-types/models/models_7.d.ts +48 -1
  17. package/dist-types/schemas/schemas_0.d.ts +3 -0
  18. package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +2 -4
  19. package/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +2 -4
  20. package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +2 -4
  21. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  22. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +2 -4
  23. package/dist-types/ts3.4/commands/ModifyTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/models/models_3.d.ts +8 -16
  25. package/dist-types/ts3.4/models/models_4.d.ts +21 -23
  26. package/dist-types/ts3.4/models/models_5.d.ts +22 -11
  27. package/dist-types/ts3.4/models/models_6.d.ts +11 -14
  28. package/dist-types/ts3.4/models/models_7.d.ts +14 -0
  29. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  30. package/package.json +6 -6
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeTransitGatewayAttachmentsRequest,
10
- DescribeTransitGatewayAttachmentsResult,
11
- } from "../models/models_4";
8
+ import { DescribeTransitGatewayAttachmentsRequest } from "../models/models_4";
9
+ import { DescribeTransitGatewayAttachmentsResult } from "../models/models_5";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeTransitGatewayAttachmentsCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- GetDefaultCreditSpecificationRequest,
10
- GetDefaultCreditSpecificationResult,
11
- } from "../models/models_5";
8
+ import { GetDefaultCreditSpecificationRequest } from "../models/models_5";
9
+ import { GetDefaultCreditSpecificationResult } from "../models/models_6";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface GetDefaultCreditSpecificationCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetEbsDefaultKmsKeyIdRequest,
10
10
  GetEbsDefaultKmsKeyIdResult,
11
- } from "../models/models_5";
11
+ } from "../models/models_6";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetEbsDefaultKmsKeyIdCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- ModifyTransitGatewayRequest,
10
- ModifyTransitGatewayResult,
11
- } from "../models/models_6";
8
+ import { ModifyTransitGatewayRequest } from "../models/models_6";
9
+ import { ModifyTransitGatewayResult } from "../models/models_7";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ModifyTransitGatewayCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ModifyTransitGatewayMeteringPolicyRequest,
10
10
  ModifyTransitGatewayMeteringPolicyResult,
11
- } from "../models/models_6";
11
+ } from "../models/models_7";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ModifyTransitGatewayMeteringPolicyCommandInput
@@ -514,9 +514,15 @@ export interface DescribeAvailabilityZonesRequest {
514
514
  DryRun?: boolean | undefined;
515
515
  Filters?: Filter[] | undefined;
516
516
  }
517
+ export interface AvailabilityZoneGeography {
518
+ Name?: string | undefined;
519
+ }
517
520
  export interface AvailabilityZoneMessage {
518
521
  Message?: string | undefined;
519
522
  }
523
+ export interface AvailabilityZoneSubGeography {
524
+ Name?: string | undefined;
525
+ }
520
526
  export interface AvailabilityZone {
521
527
  OptInStatus?: AvailabilityZoneOptInStatus | undefined;
522
528
  Messages?: AvailabilityZoneMessage[] | undefined;
@@ -529,6 +535,8 @@ export interface AvailabilityZone {
529
535
  ParentZoneName?: string | undefined;
530
536
  ParentZoneId?: string | undefined;
531
537
  GroupLongName?: string | undefined;
538
+ Geography?: AvailabilityZoneGeography[] | undefined;
539
+ SubGeography?: AvailabilityZoneSubGeography[] | undefined;
532
540
  State?: AvailabilityZoneState | undefined;
533
541
  }
534
542
  export interface DescribeAvailabilityZonesResult {
@@ -1923,19 +1931,3 @@ export interface InstanceState {
1923
1931
  Code?: number | undefined;
1924
1932
  Name?: InstanceStateName | undefined;
1925
1933
  }
1926
- export interface InstanceImageMetadata {
1927
- InstanceId?: string | undefined;
1928
- InstanceType?: _InstanceType | undefined;
1929
- LaunchTime?: Date | undefined;
1930
- AvailabilityZone?: string | undefined;
1931
- ZoneId?: string | undefined;
1932
- State?: InstanceState | undefined;
1933
- OwnerId?: string | undefined;
1934
- Tags?: Tag[] | undefined;
1935
- ImageMetadata?: ImageMetadata | undefined;
1936
- Operator?: OperatorResponse | undefined;
1937
- }
1938
- export interface DescribeInstanceImageMetadataResult {
1939
- InstanceImageMetadata?: InstanceImageMetadata[] | undefined;
1940
- NextToken?: string | undefined;
1941
- }
@@ -86,9 +86,6 @@ import {
86
86
  TargetCapacityUnitType,
87
87
  Tenancy,
88
88
  TieringOperationStatus,
89
- TransitGatewayAssociationState,
90
- TransitGatewayAttachmentResourceType,
91
- TransitGatewayAttachmentState,
92
89
  UsageClassType,
93
90
  VirtualizationType,
94
91
  } from "./enums";
@@ -171,6 +168,7 @@ import {
171
168
  AttributeBooleanValue,
172
169
  EnclaveOptions,
173
170
  EventInformation,
171
+ ImageMetadata,
174
172
  InstanceState,
175
173
  Byoasn,
176
174
  Filter,
@@ -178,6 +176,22 @@ import {
178
176
  InstanceBlockDeviceMapping,
179
177
  ProductCode,
180
178
  } from "./models_3";
179
+ export interface InstanceImageMetadata {
180
+ InstanceId?: string | undefined;
181
+ InstanceType?: _InstanceType | undefined;
182
+ LaunchTime?: Date | undefined;
183
+ AvailabilityZone?: string | undefined;
184
+ ZoneId?: string | undefined;
185
+ State?: InstanceState | undefined;
186
+ OwnerId?: string | undefined;
187
+ Tags?: Tag[] | undefined;
188
+ ImageMetadata?: ImageMetadata | undefined;
189
+ Operator?: OperatorResponse | undefined;
190
+ }
191
+ export interface DescribeInstanceImageMetadataResult {
192
+ InstanceImageMetadata?: InstanceImageMetadata[] | undefined;
193
+ NextToken?: string | undefined;
194
+ }
181
195
  export interface DescribeInstancesRequest {
182
196
  InstanceIds?: string[] | undefined;
183
197
  DryRun?: boolean | undefined;
@@ -1307,8 +1321,12 @@ export interface DescribeRegionsRequest {
1307
1321
  DryRun?: boolean | undefined;
1308
1322
  Filters?: Filter[] | undefined;
1309
1323
  }
1324
+ export interface RegionGeography {
1325
+ Name?: string | undefined;
1326
+ }
1310
1327
  export interface Region {
1311
1328
  OptInStatus?: string | undefined;
1329
+ Geography?: RegionGeography[] | undefined;
1312
1330
  RegionName?: string | undefined;
1313
1331
  Endpoint?: string | undefined;
1314
1332
  }
@@ -2168,23 +2186,3 @@ export interface DescribeTransitGatewayAttachmentsRequest {
2168
2186
  NextToken?: string | undefined;
2169
2187
  DryRun?: boolean | undefined;
2170
2188
  }
2171
- export interface TransitGatewayAttachmentAssociation {
2172
- TransitGatewayRouteTableId?: string | undefined;
2173
- State?: TransitGatewayAssociationState | undefined;
2174
- }
2175
- export interface TransitGatewayAttachment {
2176
- TransitGatewayAttachmentId?: string | undefined;
2177
- TransitGatewayId?: string | undefined;
2178
- TransitGatewayOwnerId?: string | undefined;
2179
- ResourceOwnerId?: string | undefined;
2180
- ResourceType?: TransitGatewayAttachmentResourceType | undefined;
2181
- ResourceId?: string | undefined;
2182
- State?: TransitGatewayAttachmentState | undefined;
2183
- Association?: TransitGatewayAttachmentAssociation | undefined;
2184
- CreationTime?: Date | undefined;
2185
- Tags?: Tag[] | undefined;
2186
- }
2187
- export interface DescribeTransitGatewayAttachmentsResult {
2188
- TransitGatewayAttachments?: TransitGatewayAttachment[] | undefined;
2189
- NextToken?: string | undefined;
2190
- }
@@ -34,7 +34,9 @@ import {
34
34
  SnapshotBlockPublicAccessState,
35
35
  State,
36
36
  StatisticType,
37
+ TransitGatewayAssociationState,
37
38
  TransitGatewayAttachmentResourceType,
39
+ TransitGatewayAttachmentState,
38
40
  TransitGatewayPropagationState,
39
41
  UnlimitedSupportedInstanceFamily,
40
42
  UserTrustProviderType,
@@ -109,6 +111,26 @@ import {
109
111
  ProductCode,
110
112
  } from "./models_3";
111
113
  import { RegisteredInstance } from "./models_4";
114
+ export interface TransitGatewayAttachmentAssociation {
115
+ TransitGatewayRouteTableId?: string | undefined;
116
+ State?: TransitGatewayAssociationState | undefined;
117
+ }
118
+ export interface TransitGatewayAttachment {
119
+ TransitGatewayAttachmentId?: string | undefined;
120
+ TransitGatewayId?: string | undefined;
121
+ TransitGatewayOwnerId?: string | undefined;
122
+ ResourceOwnerId?: string | undefined;
123
+ ResourceType?: TransitGatewayAttachmentResourceType | undefined;
124
+ ResourceId?: string | undefined;
125
+ State?: TransitGatewayAttachmentState | undefined;
126
+ Association?: TransitGatewayAttachmentAssociation | undefined;
127
+ CreationTime?: Date | undefined;
128
+ Tags?: Tag[] | undefined;
129
+ }
130
+ export interface DescribeTransitGatewayAttachmentsResult {
131
+ TransitGatewayAttachments?: TransitGatewayAttachment[] | undefined;
132
+ NextToken?: string | undefined;
133
+ }
112
134
  export interface DescribeTransitGatewayConnectPeersRequest {
113
135
  TransitGatewayConnectPeerIds?: string[] | undefined;
114
136
  Filters?: Filter[] | undefined;
@@ -1639,14 +1661,3 @@ export interface InstanceFamilyCreditSpecification {
1639
1661
  InstanceFamily?: UnlimitedSupportedInstanceFamily | undefined;
1640
1662
  CpuCredits?: string | undefined;
1641
1663
  }
1642
- export interface GetDefaultCreditSpecificationResult {
1643
- InstanceFamilyCreditSpecification?:
1644
- | InstanceFamilyCreditSpecification
1645
- | undefined;
1646
- }
1647
- export interface GetEbsDefaultKmsKeyIdRequest {
1648
- DryRun?: boolean | undefined;
1649
- }
1650
- export interface GetEbsDefaultKmsKeyIdResult {
1651
- KmsKeyId?: string | undefined;
1652
- }
@@ -144,8 +144,6 @@ import {
144
144
  TrafficMirrorFilterRule,
145
145
  TrafficMirrorPortRangeRequest,
146
146
  TrafficMirrorSession,
147
- TransitGateway,
148
- TransitGatewayMeteringPolicy,
149
147
  SubnetCidrReservation,
150
148
  TransitGatewayMeteringPolicyEntry,
151
149
  TransitGatewayPrefixListReference,
@@ -172,6 +170,17 @@ import {
172
170
  InstanceFamilyCreditSpecification,
173
171
  RouteServerPropagation,
174
172
  } from "./models_5";
173
+ export interface GetDefaultCreditSpecificationResult {
174
+ InstanceFamilyCreditSpecification?:
175
+ | InstanceFamilyCreditSpecification
176
+ | undefined;
177
+ }
178
+ export interface GetEbsDefaultKmsKeyIdRequest {
179
+ DryRun?: boolean | undefined;
180
+ }
181
+ export interface GetEbsDefaultKmsKeyIdResult {
182
+ KmsKeyId?: string | undefined;
183
+ }
175
184
  export interface GetEbsEncryptionByDefaultRequest {
176
185
  DryRun?: boolean | undefined;
177
186
  }
@@ -1916,15 +1925,3 @@ export interface ModifyTransitGatewayRequest {
1916
1925
  Options?: ModifyTransitGatewayOptions | undefined;
1917
1926
  DryRun?: boolean | undefined;
1918
1927
  }
1919
- export interface ModifyTransitGatewayResult {
1920
- TransitGateway?: TransitGateway | undefined;
1921
- }
1922
- export interface ModifyTransitGatewayMeteringPolicyRequest {
1923
- TransitGatewayMeteringPolicyId: string | undefined;
1924
- AddMiddleboxAttachmentIds?: string[] | undefined;
1925
- RemoveMiddleboxAttachmentIds?: string[] | undefined;
1926
- DryRun?: boolean | undefined;
1927
- }
1928
- export interface ModifyTransitGatewayMeteringPolicyResult {
1929
- TransitGatewayMeteringPolicy?: TransitGatewayMeteringPolicy | undefined;
1930
- }
@@ -86,6 +86,8 @@ import {
86
86
  } from "./models_1";
87
87
  import {
88
88
  DnsOptionsSpecification,
89
+ TransitGateway,
90
+ TransitGatewayMeteringPolicy,
89
91
  TransitGatewayPrefixListReference,
90
92
  VerifiedAccessEndpoint,
91
93
  VerifiedAccessGroup,
@@ -132,6 +134,18 @@ import {
132
134
  VpcBlockPublicAccessOptions,
133
135
  } from "./models_5";
134
136
  import { CapacityReservationSpecification, Purchase } from "./models_6";
137
+ export interface ModifyTransitGatewayResult {
138
+ TransitGateway?: TransitGateway | undefined;
139
+ }
140
+ export interface ModifyTransitGatewayMeteringPolicyRequest {
141
+ TransitGatewayMeteringPolicyId: string | undefined;
142
+ AddMiddleboxAttachmentIds?: string[] | undefined;
143
+ RemoveMiddleboxAttachmentIds?: string[] | undefined;
144
+ DryRun?: boolean | undefined;
145
+ }
146
+ export interface ModifyTransitGatewayMeteringPolicyResult {
147
+ TransitGatewayMeteringPolicy?: TransitGatewayMeteringPolicy | undefined;
148
+ }
135
149
  export interface ModifyTransitGatewayPrefixListReferenceRequest {
136
150
  TransitGatewayRouteTableId: string | undefined;
137
151
  PrefixListId: string | undefined;
@@ -134,7 +134,9 @@ export declare var AuthorizeSecurityGroupIngressRequest$: StaticStructureSchema;
134
134
  export declare var AuthorizeSecurityGroupIngressResult$: StaticStructureSchema;
135
135
  export declare var AvailabilityZone$: StaticStructureSchema;
136
136
  export declare var AvailabilityZoneAddress$: StaticStructureSchema;
137
+ export declare var AvailabilityZoneGeography$: StaticStructureSchema;
137
138
  export declare var AvailabilityZoneMessage$: StaticStructureSchema;
139
+ export declare var AvailabilityZoneSubGeography$: StaticStructureSchema;
138
140
  export declare var AvailableCapacity$: StaticStructureSchema;
139
141
  export declare var BaselineEbsBandwidthMbps$: StaticStructureSchema;
140
142
  export declare var BaselineEbsBandwidthMbpsRequest$: StaticStructureSchema;
@@ -1961,6 +1963,7 @@ export declare var RecurringCharge$: StaticStructureSchema;
1961
1963
  export declare var ReferencedSecurityGroup$: StaticStructureSchema;
1962
1964
  export declare var Region$: StaticStructureSchema;
1963
1965
  export declare var RegionalSummary$: StaticStructureSchema;
1966
+ export declare var RegionGeography$: StaticStructureSchema;
1964
1967
  export declare var RegisteredInstance$: StaticStructureSchema;
1965
1968
  export declare var RegisterImageRequest$: StaticStructureSchema;
1966
1969
  export declare var RegisterImageResult$: StaticStructureSchema;
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.989.0",
4
+ "version": "3.991.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -21,18 +21,18 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.9",
25
- "@aws-sdk/credential-provider-node": "^3.972.8",
24
+ "@aws-sdk/core": "^3.973.10",
25
+ "@aws-sdk/credential-provider-node": "^3.972.9",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
29
  "@aws-sdk/middleware-sdk-ec2": "^3.972.7",
30
- "@aws-sdk/middleware-user-agent": "^3.972.9",
30
+ "@aws-sdk/middleware-user-agent": "^3.972.10",
31
31
  "@aws-sdk/region-config-resolver": "^3.972.3",
32
32
  "@aws-sdk/types": "^3.973.1",
33
- "@aws-sdk/util-endpoints": "3.989.0",
33
+ "@aws-sdk/util-endpoints": "3.991.0",
34
34
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
35
- "@aws-sdk/util-user-agent-node": "^3.972.7",
35
+ "@aws-sdk/util-user-agent-node": "^3.972.8",
36
36
  "@smithy/config-resolver": "^4.4.6",
37
37
  "@smithy/core": "^3.23.0",
38
38
  "@smithy/fetch-http-handler": "^5.3.9",