Skip to content

Commit c2ccb07

Browse files
author
awstools
committed
feat(client-ec2): This release adds the GroupLongName field to the response of the DescribeAvailabilityZones API.
1 parent 3294acf commit c2ccb07

12 files changed

+107
-99
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface AssociateInstanceEventWindowCommandOutput
3030
__MetadataBearer {}
3131

3232
/**
33-
* <p>Associates one or more targets with an event window. Only one type of target (instance IDs,
34-
* Dedicated Host IDs, or tags) can be specified with an event window.</p>
33+
* <p>Associates one or more targets with an event window. Only one type of target (instance
34+
* IDs, Dedicated Host IDs, or tags) can be specified with an event window.</p>
3535
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html">Define event windows for scheduled
3636
* events</a> in the <i>Amazon EC2 User Guide</i>.</p>
3737
* @example

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export interface DeregisterInstanceEventNotificationAttributesCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <p>Deregisters tag keys to prevent tags that have the specified tag keys from being included
41-
* in scheduled event notifications for resources in the Region.</p>
40+
* <p>Deregisters tag keys to prevent tags that have the specified tag keys from being
41+
* included in scheduled event notifications for resources in the Region.</p>
4242
* @example
4343
* Use a bare-bones client and the command you need to make an API call.
4444
* ```javascript

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export interface DescribeAvailabilityZonesCommandOutput extends DescribeAvailabi
8282
* // ZoneType: "STRING_VALUE",
8383
* // ParentZoneName: "STRING_VALUE",
8484
* // ParentZoneId: "STRING_VALUE",
85+
* // GroupLongName: "STRING_VALUE",
8586
* // State: "available" || "information" || "impaired" || "unavailable" || "constrained",
8687
* // },
8788
* // ],

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export interface DescribeInstanceEventNotificationAttributesCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <p>Describes the tag keys that are registered to appear in scheduled event notifications for
41-
* resources in the current Region.</p>
40+
* <p>Describes the tag keys that are registered to appear in scheduled event notifications
41+
* for resources in the current Region.</p>
4242
* @example
4343
* Use a bare-bones client and the command you need to make an API call.
4444
* ```javascript

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ export interface RegisterInstanceEventNotificationAttributesCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <p>Registers a set of tag keys to include in scheduled event notifications for your resources.
41-
* </p>
40+
* <p>Registers a set of tag keys to include in scheduled event notifications for your
41+
* resources.
42+
* </p>
4243
* <p>To remove tags, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeregisterInstanceEventNotificationAttributes.html">DeregisterInstanceEventNotificationAttributes</a>.</p>
4344
* @example
4445
* Use a bare-bones client and the command you need to make an API call.

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4625,8 +4625,11 @@ export interface InstanceEventWindowAssociationTarget {
46254625
InstanceIds?: string[] | undefined;
46264626

46274627
/**
4628-
* <p>The instance tags associated with the event window. Any instances associated with the tags
4629-
* will be associated with the event window.</p>
4628+
* <p>The instance tags associated with the event window. Any instances associated with the
4629+
* tags will be associated with the event window.</p>
4630+
* <p>Note that while you can't create tag keys beginning with <code>aws:</code>, you can
4631+
* specify existing Amazon Web Services managed tag keys (with the <code>aws:</code> prefix) when specifying
4632+
* them as targets to associate with the event window.</p>
46304633
* @public
46314634
*/
46324635
Tags?: Tag[] | undefined;

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

Lines changed: 9 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3831,8 +3831,7 @@ export interface FleetEbsBlockDeviceRequest {
38313831
* <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key
38323832
* to use for EBS encryption.</p>
38333833
* <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by
3834-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html">RequestSpotFleet</a>,
3835-
* and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>.</p>
3834+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html">CreateFleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
38363835
* @public
38373836
*/
38383837
KmsKeyId?: string | undefined;
@@ -4910,30 +4909,6 @@ export interface FleetLaunchTemplateOverridesRequest {
49104909
* attach to the instance at launch. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device mappings
49114910
* for volumes on Amazon EC2 instances</a> in the <i>Amazon EC2 User
49124911
* Guide</i>.</p>
4913-
* <p>To override a block device mapping specified in the launch template:</p>
4914-
* <ul>
4915-
* <li>
4916-
* <p>Specify the exact same <code>DeviceName</code> here as specified in the launch
4917-
* template.</p>
4918-
* </li>
4919-
* <li>
4920-
* <p>Only specify the parameters you want to change.</p>
4921-
* </li>
4922-
* <li>
4923-
* <p>Any parameters you don't specify here will keep their original launch template
4924-
* values.</p>
4925-
* </li>
4926-
* </ul>
4927-
* <p>To add a new block device mapping:</p>
4928-
* <ul>
4929-
* <li>
4930-
* <p>Specify a <code>DeviceName</code> that doesn't exist in the launch
4931-
* template.</p>
4932-
* </li>
4933-
* <li>
4934-
* <p>Specify all desired parameters here.</p>
4935-
* </li>
4936-
* </ul>
49374912
* @public
49384913
*/
49394914
BlockDeviceMappings?: FleetBlockDeviceMappingRequest[] | undefined;
@@ -6301,9 +6276,6 @@ export interface InstanceRequirements {
63016276
* <li>
63026277
* <p>For instance types with Inference accelerators, specify <code>inference</code>.</p>
63036278
* </li>
6304-
* <li>
6305-
* <p>For instance types with Inference accelerators, specify <code>inference</code>.</p>
6306-
* </li>
63076279
* </ul>
63086280
* <p>Default: Any accelerator type</p>
63096281
* @public
@@ -7678,15 +7650,15 @@ export interface CreateInstanceEventWindowRequest {
76787650
Name?: string | undefined;
76797651

76807652
/**
7681-
* <p>The time range for the event window. If you specify a time range, you can't specify a cron
7682-
* expression.</p>
7653+
* <p>The time range for the event window. If you specify a time range, you can't specify a
7654+
* cron expression.</p>
76837655
* @public
76847656
*/
76857657
TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
76867658

76877659
/**
7688-
* <p>The cron expression for the event window, for example, <code>* 0-4,20-23 * * 1,5</code>. If
7689-
* you specify a cron expression, you can't specify a time range.</p>
7660+
* <p>The cron expression for the event window, for example, <code>* 0-4,20-23 * * 1,5</code>.
7661+
* If you specify a cron expression, you can't specify a time range.</p>
76907662
* <p>Constraints:</p>
76917663
* <ul>
76927664
* <li>
@@ -7702,11 +7674,11 @@ export interface CreateInstanceEventWindowRequest {
77027674
* </li>
77037675
* <li>
77047676
* <p>The hour value must be one or a multiple range, for example, <code>0-4</code> or
7705-
* <code>0-4,20-23</code>.</p>
7677+
* <code>0-4,20-23</code>.</p>
77067678
* </li>
77077679
* <li>
77087680
* <p>Each hour range must be >= 2 hours, for example, <code>0-2</code> or
7709-
* <code>20-23</code>.</p>
7681+
* <code>20-23</code>.</p>
77107682
* </li>
77117683
* <li>
77127684
* <p>The event window must be >= 4 hours. The combined total time ranges in the event
@@ -10950,13 +10922,13 @@ export interface CreateLaunchTemplateRequest {
1095010922
}
1095110923

1095210924
/**
10953-
* <p>Describes whether the resource is managed by an service provider and, if so, describes
10925+
* <p>Describes whether the resource is managed by a service provider and, if so, describes
1095410926
* the service provider that manages it.</p>
1095510927
* @public
1095610928
*/
1095710929
export interface OperatorResponse {
1095810930
/**
10959-
* <p>If <code>true</code>, the resource is managed by an service provider.</p>
10931+
* <p>If <code>true</code>, the resource is managed by a service provider.</p>
1096010932
* @public
1096110933
*/
1096210934
Managed?: boolean | undefined;

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

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,8 @@ export interface DeleteInstanceEventWindowRequest {
848848
DryRun?: boolean | undefined;
849849

850850
/**
851-
* <p>Specify <code>true</code> to force delete the event window. Use the force delete parameter
852-
* if the event window is currently associated with targets.</p>
851+
* <p>Specify <code>true</code> to force delete the event window. Use the force delete
852+
* parameter if the event window is currently associated with targets.</p>
853853
* @public
854854
*/
855855
ForceDelete?: boolean | undefined;
@@ -3293,15 +3293,16 @@ export interface DeregisterImageRequest {
32933293
export interface DeregisterImageResult {}
32943294

32953295
/**
3296-
* <p>Information about the tag keys to deregister for the current Region. You can either specify
3297-
* individual tag keys or deregister all tag keys in the current Region. You must specify either
3298-
* <code>IncludeAllTagsOfInstance</code> or <code>InstanceTagKeys</code> in the request</p>
3296+
* <p>Information about the tag keys to deregister for the current Region. You can either
3297+
* specify individual tag keys or deregister all tag keys in the current Region. You must
3298+
* specify either <code>IncludeAllTagsOfInstance</code> or <code>InstanceTagKeys</code> in the
3299+
* request</p>
32993300
* @public
33003301
*/
33013302
export interface DeregisterInstanceTagAttributeRequest {
33023303
/**
3303-
* <p>Indicates whether to deregister all tag keys in the current Region. Specify <code>false</code>
3304-
* to deregister all tag keys.</p>
3304+
* <p>Indicates whether to deregister all tag keys in the current Region. Specify
3305+
* <code>false</code> to deregister all tag keys.</p>
33053306
* @public
33063307
*/
33073308
IncludeAllTagsOfInstance?: boolean | undefined;
@@ -3344,8 +3345,9 @@ export interface InstanceTagNotificationAttribute {
33443345
InstanceTagKeys?: string[] | undefined;
33453346

33463347
/**
3347-
* <p>Indicates wheter all tag keys in the current Region are registered to appear in scheduled event notifications.
3348-
* <code>true</code> indicates that all tag keys in the current Region are registered.</p>
3348+
* <p>Indicates wheter all tag keys in the current Region are registered to appear in
3349+
* scheduled event notifications. <code>true</code> indicates that all tag keys in the current
3350+
* Region are registered.</p>
33493351
* @public
33503352
*/
33513353
IncludeAllTagsOfInstance?: boolean | undefined;
@@ -3830,6 +3832,12 @@ export interface DescribeAvailabilityZonesRequest {
38303832
* <ul>
38313833
* <li>
38323834
* <p>
3835+
* <code>group-long-name</code> - The long name of the zone group for the Availability Zone (for
3836+
* example, <code>US West (Oregon) 1</code>), the Local Zone (for example, for Zone group <code>us-west-2-lax-1</code>, it is <code>US West (Los Angeles)</code>,
3837+
* or the Wavelength Zone (for example, for Zone group <code>us-east-1-wl1</code>, it is <code>US East (Verizon)</code>.</p>
3838+
* </li>
3839+
* <li>
3840+
* <p>
38333841
* <code>group-name</code> - The name of the zone group for the Availability Zone (for
38343842
* example, <code>us-east-1-zg-1</code>), the Local Zone (for example, <code>us-west-2-lax-1</code>),
38353843
* or the Wavelength Zone (for example, <code>us-east-1-wl1</code>).</p>
@@ -4016,6 +4024,13 @@ export interface AvailabilityZone {
40164024
*/
40174025
ParentZoneId?: string | undefined;
40184026

4027+
/**
4028+
* <p>The long name of the Availability Zone group, Local Zone group, or Wavelength Zone
4029+
* group.</p>
4030+
* @public
4031+
*/
4032+
GroupLongName?: string | undefined;
4033+
40194034
/**
40204035
* <p>The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
40214036
* <code>available</code>.</p>

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

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4691,32 +4691,32 @@ export interface DescribeInstanceEventWindowsRequest {
46914691
* <li>
46924692
* <p>
46934693
* <code>dedicated-host-id</code> - The event windows associated with the specified
4694-
* Dedicated Host ID.</p>
4694+
* Dedicated Host ID.</p>
46954695
* </li>
46964696
* <li>
46974697
* <p>
46984698
* <code>event-window-name</code> - The event windows associated with the specified
4699-
* names. </p>
4699+
* names. </p>
47004700
* </li>
47014701
* <li>
47024702
* <p>
4703-
* <code>instance-id</code> - The event windows associated with the specified instance
4704-
* ID.</p>
4703+
* <code>instance-id</code> - The event windows associated with the specified
4704+
* instance ID.</p>
47054705
* </li>
47064706
* <li>
47074707
* <p>
4708-
* <code>instance-tag</code> - The event windows associated with the specified tag and
4709-
* value.</p>
4708+
* <code>instance-tag</code> - The event windows associated with the specified tag
4709+
* and value.</p>
47104710
* </li>
47114711
* <li>
47124712
* <p>
4713-
* <code>instance-tag-key</code> - The event windows associated with the specified tag
4714-
* key, regardless of the value.</p>
4713+
* <code>instance-tag-key</code> - The event windows associated with the specified
4714+
* tag key, regardless of the value.</p>
47154715
* </li>
47164716
* <li>
47174717
* <p>
4718-
* <code>instance-tag-value</code> - The event windows associated with the specified tag
4719-
* value, regardless of the key.</p>
4718+
* <code>instance-tag-value</code> - The event windows associated with the specified
4719+
* tag value, regardless of the key.</p>
47204720
* </li>
47214721
* <li>
47224722
* <p>
@@ -4728,9 +4728,9 @@ export interface DescribeInstanceEventWindowsRequest {
47284728
* </li>
47294729
* <li>
47304730
* <p>
4731-
* <code>tag-key</code> - The key of a tag assigned to the event window. Use this filter
4732-
* to find all event windows that have a tag with a specific key, regardless of the tag
4733-
* value. </p>
4731+
* <code>tag-key</code> - The key of a tag assigned to the event window. Use this
4732+
* filter to find all event windows that have a tag with a specific key, regardless of
4733+
* the tag value. </p>
47344734
* </li>
47354735
* <li>
47364736
* <p>
@@ -4770,7 +4770,8 @@ export interface DescribeInstanceEventWindowsResult {
47704770
InstanceEventWindows?: InstanceEventWindow[] | undefined;
47714771

47724772
/**
4773-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return. </p>
4773+
* <p>The token to use to retrieve the next page of results. This value is <code>null</code>
4774+
* when there are no more results to return. </p>
47744775
* @public
47754776
*/
47764777
NextToken?: string | undefined;

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,8 @@ export interface ModifyInstanceEventWindowRequest {
436436
TimeRanges?: InstanceEventWindowTimeRangeRequest[] | undefined;
437437

438438
/**
439-
* <p>The cron expression of the event window, for example, <code>* 0-4,20-23 * * 1,5</code>.</p>
439+
* <p>The cron expression of the event window, for example, <code>* 0-4,20-23 * *
440+
* 1,5</code>.</p>
440441
* <p>Constraints:</p>
441442
* <ul>
442443
* <li>
@@ -5526,15 +5527,16 @@ export interface RegisterImageResult {
55265527
}
55275528

55285529
/**
5529-
* <p>Information about the tag keys to register for the current Region. You can either specify
5530-
* individual tag keys or register all tag keys in the current Region. You must specify either
5531-
* <code>IncludeAllTagsOfInstance</code> or <code>InstanceTagKeys</code> in the request</p>
5530+
* <p>Information about the tag keys to register for the current Region. You can either
5531+
* specify individual tag keys or register all tag keys in the current Region. You must
5532+
* specify either <code>IncludeAllTagsOfInstance</code> or <code>InstanceTagKeys</code> in the
5533+
* request</p>
55325534
* @public
55335535
*/
55345536
export interface RegisterInstanceTagAttributeRequest {
55355537
/**
5536-
* <p>Indicates whether to register all tag keys in the current Region. Specify <code>true</code>
5537-
* to register all tag keys.</p>
5538+
* <p>Indicates whether to register all tag keys in the current Region. Specify
5539+
* <code>true</code> to register all tag keys.</p>
55385540
* @public
55395541
*/
55405542
IncludeAllTagsOfInstance?: boolean | undefined;

0 commit comments

Comments
 (0)