Skip to content

Commit 23d9c73

Browse files
author
awstools
committed
feat(client-ec2): Add serviceManaged field to DescribeAddresses API response.
1 parent 28c9d3b commit 23d9c73

16 files changed

+311
-259
lines changed

clients/client-ec2/src/commands/CreateLocalGatewayRouteCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { CreateLocalGatewayRouteRequest, CreateLocalGatewayRouteResult } from "../models/models_1";
9+
import { CreateLocalGatewayRouteRequest } from "../models/models_1";
10+
import { CreateLocalGatewayRouteResult } from "../models/models_2";
1011
import { de_CreateLocalGatewayRouteCommand, se_CreateLocalGatewayRouteCommand } from "../protocols/Aws_ec2";
1112

1213
/**

clients/client-ec2/src/commands/DescribeAddressesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export interface DescribeAddressesCommandOutput extends DescribeAddressesResult,
7474
* // CustomerOwnedIp: "STRING_VALUE",
7575
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
7676
* // CarrierIp: "STRING_VALUE",
77+
* // ServiceManaged: "alb" || "nlb",
7778
* // InstanceId: "STRING_VALUE",
7879
* // PublicIp: "STRING_VALUE",
7980
* // },

clients/client-ec2/src/commands/DisassociateSubnetCidrBlockCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { DisassociateSubnetCidrBlockRequest, DisassociateSubnetCidrBlockResult } from "../models/models_5";
9+
import { DisassociateSubnetCidrBlockRequest } from "../models/models_5";
10+
import { DisassociateSubnetCidrBlockResult } from "../models/models_6";
1011
import { de_DisassociateSubnetCidrBlockCommand, se_DisassociateSubnetCidrBlockCommand } from "../protocols/Aws_ec2";
1112

1213
/**

clients/client-ec2/src/commands/ModifyInstanceCapacityReservationAttributesCommand.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import {
10-
ModifyInstanceCapacityReservationAttributesRequest,
11-
ModifyInstanceCapacityReservationAttributesResult,
12-
} from "../models/models_6";
9+
import { ModifyInstanceCapacityReservationAttributesRequest } from "../models/models_6";
10+
import { ModifyInstanceCapacityReservationAttributesResult } from "../models/models_7";
1311
import {
1412
de_ModifyInstanceCapacityReservationAttributesCommand,
1513
se_ModifyInstanceCapacityReservationAttributesCommand,

clients/client-ec2/src/commands/StopInstancesCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { StopInstancesRequest } from "../models/models_7";
10-
import { StopInstancesResult } from "../models/models_8";
9+
import { StopInstancesRequest, StopInstancesResult } from "../models/models_8";
1110
import { de_StopInstancesCommand, se_StopInstancesCommand } from "../protocols/Aws_ec2";
1211

1312
/**

clients/client-ec2/src/models/models_0.ts

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2853,6 +2853,20 @@ export const DomainType = {
28532853
*/
28542854
export type DomainType = (typeof DomainType)[keyof typeof DomainType];
28552855

2856+
/**
2857+
* @public
2858+
* @enum
2859+
*/
2860+
export const ServiceManaged = {
2861+
alb: "alb",
2862+
nlb: "nlb",
2863+
} as const;
2864+
2865+
/**
2866+
* @public
2867+
*/
2868+
export type ServiceManaged = (typeof ServiceManaged)[keyof typeof ServiceManaged];
2869+
28562870
/**
28572871
* <p>Describes an Elastic IP address, or a carrier IP address.</p>
28582872
* @public
@@ -2932,6 +2946,15 @@ export interface Address {
29322946
*/
29332947
CarrierIp?: string | undefined;
29342948

2949+
/**
2950+
* <p>The service that manages the elastic IP address.</p>
2951+
* <note>
2952+
* <p>The only option supported today is <code>alb</code>.</p>
2953+
* </note>
2954+
* @public
2955+
*/
2956+
ServiceManaged?: ServiceManaged | undefined;
2957+
29352958
/**
29362959
* <p>The ID of the instance that the address is associated with (if any).</p>
29372960
* @public
@@ -8551,21 +8574,6 @@ export interface CopySnapshotResult {
85518574
SnapshotId?: string | undefined;
85528575
}
85538576

8554-
/**
8555-
* @public
8556-
* @enum
8557-
*/
8558-
export const CapacityReservationDeliveryPreference = {
8559-
FIXED: "fixed",
8560-
INCREMENTAL: "incremental",
8561-
} as const;
8562-
8563-
/**
8564-
* @public
8565-
*/
8566-
export type CapacityReservationDeliveryPreference =
8567-
(typeof CapacityReservationDeliveryPreference)[keyof typeof CapacityReservationDeliveryPreference];
8568-
85698577
/**
85708578
* @internal
85718579
*/

clients/client-ec2/src/models/models_1.ts

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
AddressFamily,
1414
AllocationType,
1515
AttachmentStatus,
16-
CapacityReservationDeliveryPreference,
1716
CapacityReservationFleetState,
1817
InstanceEventWindow,
1918
ResourceType,
@@ -26,6 +25,21 @@ import {
2625
WeekDay,
2726
} from "./models_0";
2827

28+
/**
29+
* @public
30+
* @enum
31+
*/
32+
export const CapacityReservationDeliveryPreference = {
33+
FIXED: "fixed",
34+
INCREMENTAL: "incremental",
35+
} as const;
36+
37+
/**
38+
* @public
39+
*/
40+
export type CapacityReservationDeliveryPreference =
41+
(typeof CapacityReservationDeliveryPreference)[keyof typeof CapacityReservationDeliveryPreference];
42+
2943
/**
3044
* @public
3145
* @enum
@@ -12481,17 +12495,6 @@ export interface LocalGatewayRoute {
1248112495
DestinationPrefixListId?: string | undefined;
1248212496
}
1248312497

12484-
/**
12485-
* @public
12486-
*/
12487-
export interface CreateLocalGatewayRouteResult {
12488-
/**
12489-
* <p>Information about the route.</p>
12490-
* @public
12491-
*/
12492-
Route?: LocalGatewayRoute | undefined;
12493-
}
12494-
1249512498
/**
1249612499
* @internal
1249712500
*/

clients/client-ec2/src/models/models_2.ts

Lines changed: 14 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import {
4040
InstanceIpv6Address,
4141
Ipv4PrefixSpecificationRequest,
4242
Ipv6PrefixSpecificationRequest,
43+
LocalGatewayRoute,
4344
OperatorRequest,
4445
OperatorResponse,
4546
PrivateIpAddressSpecification,
@@ -49,6 +50,17 @@ import {
4950
Vpc,
5051
} from "./models_1";
5152

53+
/**
54+
* @public
55+
*/
56+
export interface CreateLocalGatewayRouteResult {
57+
/**
58+
* <p>Information about the route.</p>
59+
* @public
60+
*/
61+
Route?: LocalGatewayRoute | undefined;
62+
}
63+
5264
/**
5365
* @public
5466
* @enum
@@ -3352,8 +3364,8 @@ export interface CreateSecurityGroupRequest {
33523364
Description: string | undefined;
33533365

33543366
/**
3355-
* <p>The name of the security group.</p>
3356-
* <p>Constraints: Up to 255 characters in length. Cannot start with <code>sg-</code>.</p>
3367+
* <p>The name of the security group. Names are case-insensitive and must be unique within the VPC.</p>
3368+
* <p>Constraints: Up to 255 characters in length. Can't start with <code>sg-</code>.</p>
33573369
* <p>Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;\{\}!$*</p>
33583370
* @public
33593371
*/
@@ -10411,49 +10423,6 @@ export const TelemetryStatus = {
1041110423
*/
1041210424
export type TelemetryStatus = (typeof TelemetryStatus)[keyof typeof TelemetryStatus];
1041310425

10414-
/**
10415-
* <p>Describes telemetry for a VPN tunnel.</p>
10416-
* @public
10417-
*/
10418-
export interface VgwTelemetry {
10419-
/**
10420-
* <p>The number of accepted routes.</p>
10421-
* @public
10422-
*/
10423-
AcceptedRouteCount?: number | undefined;
10424-
10425-
/**
10426-
* <p>The date and time of the last change in status. This field is updated when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are detected.</p>
10427-
* @public
10428-
*/
10429-
LastStatusChange?: Date | undefined;
10430-
10431-
/**
10432-
* <p>The Internet-routable IP address of the virtual private gateway's outside
10433-
* interface.</p>
10434-
* @public
10435-
*/
10436-
OutsideIpAddress?: string | undefined;
10437-
10438-
/**
10439-
* <p>The status of the VPN tunnel.</p>
10440-
* @public
10441-
*/
10442-
Status?: TelemetryStatus | undefined;
10443-
10444-
/**
10445-
* <p>If an error occurs, a description of the error.</p>
10446-
* @public
10447-
*/
10448-
StatusMessage?: string | undefined;
10449-
10450-
/**
10451-
* <p>The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.</p>
10452-
* @public
10453-
*/
10454-
CertificateArn?: string | undefined;
10455-
}
10456-
1045710426
/**
1045810427
* @internal
1045910428
*/

clients/client-ec2/src/models/models_3.ts

Lines changed: 44 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ import {
6464
LocalGatewayRouteTableVpcAssociation,
6565
ManagedPrefixList,
6666
SubnetCidrReservation,
67+
TelemetryStatus,
6768
TransitGateway,
6869
TransitGatewayConnect,
6970
TransitGatewayConnectPeer,
@@ -75,14 +76,56 @@ import {
7576
TransitGatewayRouteTableAnnouncement,
7677
VerifiedAccessEndpoint,
7778
VerifiedAccessGroup,
78-
VgwTelemetry,
7979
VpcBlockPublicAccessExclusion,
8080
VpnConnectionOptions,
8181
VpnConnectionOptionsFilterSensitiveLog,
8282
VpnState,
8383
VpnStaticRoute,
8484
} from "./models_2";
8585

86+
/**
87+
* <p>Describes telemetry for a VPN tunnel.</p>
88+
* @public
89+
*/
90+
export interface VgwTelemetry {
91+
/**
92+
* <p>The number of accepted routes.</p>
93+
* @public
94+
*/
95+
AcceptedRouteCount?: number | undefined;
96+
97+
/**
98+
* <p>The date and time of the last change in status. This field is updated when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are detected.</p>
99+
* @public
100+
*/
101+
LastStatusChange?: Date | undefined;
102+
103+
/**
104+
* <p>The Internet-routable IP address of the virtual private gateway's outside
105+
* interface.</p>
106+
* @public
107+
*/
108+
OutsideIpAddress?: string | undefined;
109+
110+
/**
111+
* <p>The status of the VPN tunnel.</p>
112+
* @public
113+
*/
114+
Status?: TelemetryStatus | undefined;
115+
116+
/**
117+
* <p>If an error occurs, a description of the error.</p>
118+
* @public
119+
*/
120+
StatusMessage?: string | undefined;
121+
122+
/**
123+
* <p>The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.</p>
124+
* @public
125+
*/
126+
CertificateArn?: string | undefined;
127+
}
128+
86129
/**
87130
* <p>Describes a VPN connection.</p>
88131
* @public
@@ -7665,20 +7708,6 @@ export const FastLaunchResourceType = {
76657708
*/
76667709
export type FastLaunchResourceType = (typeof FastLaunchResourceType)[keyof typeof FastLaunchResourceType];
76677710

7668-
/**
7669-
* <p>Configuration settings for creating and managing pre-provisioned snapshots for a Windows
7670-
* fast launch enabled Windows AMI.</p>
7671-
* @public
7672-
*/
7673-
export interface FastLaunchSnapshotConfigurationResponse {
7674-
/**
7675-
* <p>The number of pre-provisioned snapshots requested to keep on hand for a Windows fast
7676-
* launch enabled AMI.</p>
7677-
* @public
7678-
*/
7679-
TargetResourceCount?: number | undefined;
7680-
}
7681-
76827711
/**
76837712
* @internal
76847713
*/

clients/client-ec2/src/models/models_4.ts

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,26 @@ import {
8484
Byoasn,
8585
FastLaunchLaunchTemplateSpecificationResponse,
8686
FastLaunchResourceType,
87-
FastLaunchSnapshotConfigurationResponse,
8887
Filter,
8988
FleetStateCode,
9089
IdFormat,
9190
InstanceTagNotificationAttribute,
9291
} from "./models_3";
9392

93+
/**
94+
* <p>Configuration settings for creating and managing pre-provisioned snapshots for a Windows
95+
* fast launch enabled Windows AMI.</p>
96+
* @public
97+
*/
98+
export interface FastLaunchSnapshotConfigurationResponse {
99+
/**
100+
* <p>The number of pre-provisioned snapshots requested to keep on hand for a Windows fast
101+
* launch enabled AMI.</p>
102+
* @public
103+
*/
104+
TargetResourceCount?: number | undefined;
105+
}
106+
94107
/**
95108
* @public
96109
* @enum
@@ -12661,24 +12674,6 @@ export interface DescribePrincipalIdFormatRequest {
1266112674
NextToken?: string | undefined;
1266212675
}
1266312676

12664-
/**
12665-
* <p>PrincipalIdFormat description</p>
12666-
* @public
12667-
*/
12668-
export interface PrincipalIdFormat {
12669-
/**
12670-
* <p>PrincipalIdFormatARN description</p>
12671-
* @public
12672-
*/
12673-
Arn?: string | undefined;
12674-
12675-
/**
12676-
* <p>PrincipalIdFormatStatuses description</p>
12677-
* @public
12678-
*/
12679-
Statuses?: IdFormat[] | undefined;
12680-
}
12681-
1268212677
/**
1268312678
* @internal
1268412679
*/

0 commit comments

Comments
 (0)