Skip to content

Commit

Permalink
feat(client-ec2): Documentation updates for Elastic Compute Cloud (EC2).
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Aug 15, 2023
1 parent e2e362f commit cd827e7
Show file tree
Hide file tree
Showing 7 changed files with 188 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export interface CreateSubnetCidrReservationCommandOutput extends CreateSubnetCi

/**
* @public
* <p>Creates a subnet CIDR reservation. For information about subnet CIDR reservations, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html">Subnet CIDR reservations</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
* <p>Creates a subnet CIDR reservation. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html">Subnet CIDR reservations</a>
* in the <i>Amazon Virtual Private Cloud User Guide</i> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html">Assign prefixes
* to network interfaces</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,15 @@ export interface DeleteLaunchTemplateVersionsCommandOutput

/**
* @public
* <p>Deletes one or more versions of a launch template. You cannot delete the default
* version of a launch template; you must first assign a different version as the default.
* If the default version is the only version for the launch template, you must delete the
* entire launch template using <a>DeleteLaunchTemplate</a>.</p>
* <p>Deletes one or more versions of a launch template.</p>
* <p>You can't delete the default version of a launch template; you must first assign a
* different version as the default. If the default version is the only version for the
* launch template, you must delete the entire launch template using <a>DeleteLaunchTemplate</a>.</p>
* <p>You can delete up to 200 launch template versions in a single request. To delete more
* than 200 versions in a single request, use <a>DeleteLaunchTemplate</a>, which
* deletes the launch template and all of its versions.</p>
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-launch-template-versions.html#delete-launch-template-version">Delete a launch template version</a> in the <i>EC2 User
* Guide</i>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
4 changes: 1 addition & 3 deletions clients/client-ec2/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3773,9 +3773,7 @@ export interface CreateFlowLogsRequest {
* field. For more information about the available fields, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records">Flow log
* records</a> in the <i>Amazon VPC User Guide</i> or <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records">Transit Gateway Flow Log
* records</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
* <p>Specify the fields using the <code>$\{field-id\}</code> format, separated by spaces. For
* the CLI, surround this parameter value with single quotes on Linux or
* double quotes on Windows.</p>
* <p>Specify the fields using the <code>$\{field-id\}</code> format, separated by spaces.</p>
*/
LogFormat?: string;

Expand Down
30 changes: 10 additions & 20 deletions clients/client-ec2/src/models/models_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1579,34 +1579,25 @@ export interface CreateSubnetCidrReservationRequest {

/**
* @public
* <p>The type of reservation.</p>
* <p>The following are valid values:</p>
* <p>The type of reservation. The reservation type determines how the reserved IP addresses are
* assigned to resources.</p>
* <ul>
* <li>
* <p>
* <code>prefix</code>: The Amazon EC2
* Prefix
* Delegation feature assigns the IP addresses to network interfaces that are
* associated with an instance. For information about Prefix
* Delegation,
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-delegation.html">Prefix Delegation
* for Amazon EC2 network interfaces</a> in the
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
* <code>prefix</code> - Amazon Web Services assigns the reserved IP addresses to
* network interfaces.</p>
* </li>
* <li>
* <p>
* <code>explicit</code>: You manually assign the IP addresses to resources that
* reside in your subnet. </p>
* <code>explicit</code> - You assign the reserved IP addresses to network interfaces.</p>
* </li>
* </ul>
*/
ReservationType: SubnetCidrReservationType | string | undefined;

/**
* @public
* <p>The
* description
* to assign to the subnet CIDR reservation.</p>
* <p>The description to assign to the subnet CIDR reservation.</p>
*/
Description?: string;

Expand Down Expand Up @@ -1662,10 +1653,7 @@ export interface SubnetCidrReservation {

/**
* @public
* <p>The
* description
* assigned to the subnet CIDR
* reservation.</p>
* <p>The description assigned to the subnet CIDR reservation.</p>
*/
Description?: string;

Expand Down Expand Up @@ -2082,6 +2070,7 @@ export interface CreateTrafficMirrorSessionRequest {
* set this value to 100, then the first 100 bytes that meet the filter criteria are copied to
* the target.</p>
* <p>If you do not want to mirror the entire packet, use the <code>PacketLength</code> parameter to specify the number of bytes in each packet to mirror.</p>
* <p>For sessions with Network Load Balancer (NLB) Traffic Mirror targets the default <code>PacketLength</code> will be set to 8500. Valid values are 1-8500. Setting a <code>PacketLength</code> greater than 8500 will result in an error response.</p>
*/
PacketLength?: number;

Expand Down Expand Up @@ -8027,7 +8016,8 @@ export interface DeleteLaunchTemplateVersionsRequest {

/**
* @public
* <p>The version numbers of one or more launch template versions to delete.</p>
* <p>The version numbers of one or more launch template versions to delete. You can specify
* up to 200 launch template version numbers.</p>
*/
Versions: string[] | undefined;
}
Expand Down
Loading

0 comments on commit cd827e7

Please sign in to comment.