Skip to content

Commit

Permalink
feat(client-snowball): Adds support for RACK_5U_C. This is the first …
Browse files Browse the repository at this point in the history
…AWS Snow Family device designed to meet U.S. Military Ruggedization Standards (MIL-STD-810H) with 208 vCPU device in a portable, compact 5U, half-rack width form-factor.
  • Loading branch information
awstools committed Jul 18, 2023
1 parent 059361e commit 16e1114
Show file tree
Hide file tree
Showing 24 changed files with 988 additions and 48 deletions.
8 changes: 8 additions & 0 deletions clients/client-snowball/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,14 @@ ListLongTermPricing

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-snowball/classes/listlongtermpricingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-snowball/interfaces/listlongtermpricingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-snowball/interfaces/listlongtermpricingcommandoutput.html)

</details>
<details>
<summary>
ListPickupLocations
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-snowball/classes/listpickuplocationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-snowball/interfaces/listpickuplocationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-snowball/interfaces/listpickuplocationscommandoutput.html)

</details>
<details>
<summary>
Expand Down
23 changes: 23 additions & 0 deletions clients/client-snowball/src/Snowball.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ import {
ListLongTermPricingCommandInput,
ListLongTermPricingCommandOutput,
} from "./commands/ListLongTermPricingCommand";
import {
ListPickupLocationsCommand,
ListPickupLocationsCommandInput,
ListPickupLocationsCommandOutput,
} from "./commands/ListPickupLocationsCommand";
import {
ListServiceVersionsCommand,
ListServiceVersionsCommandInput,
Expand Down Expand Up @@ -136,6 +141,7 @@ const commands = {
ListCompatibleImagesCommand,
ListJobsCommand,
ListLongTermPricingCommand,
ListPickupLocationsCommand,
ListServiceVersionsCommand,
UpdateClusterCommand,
UpdateJobCommand,
Expand Down Expand Up @@ -441,6 +447,23 @@ export interface Snowball {
cb: (err: any, data?: ListLongTermPricingCommandOutput) => void
): void;

/**
* @see {@link ListPickupLocationsCommand}
*/
listPickupLocations(
args: ListPickupLocationsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListPickupLocationsCommandOutput>;
listPickupLocations(
args: ListPickupLocationsCommandInput,
cb: (err: any, data?: ListPickupLocationsCommandOutput) => void
): void;
listPickupLocations(
args: ListPickupLocationsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListPickupLocationsCommandOutput) => void
): void;

/**
* @see {@link ListServiceVersionsCommand}
*/
Expand Down
6 changes: 6 additions & 0 deletions clients/client-snowball/src/SnowballClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ import {
ListLongTermPricingCommandInput,
ListLongTermPricingCommandOutput,
} from "./commands/ListLongTermPricingCommand";
import {
ListPickupLocationsCommandInput,
ListPickupLocationsCommandOutput,
} from "./commands/ListPickupLocationsCommand";
import {
ListServiceVersionsCommandInput,
ListServiceVersionsCommandOutput,
Expand Down Expand Up @@ -134,6 +138,7 @@ export type ServiceInputTypes =
| ListCompatibleImagesCommandInput
| ListJobsCommandInput
| ListLongTermPricingCommandInput
| ListPickupLocationsCommandInput
| ListServiceVersionsCommandInput
| UpdateClusterCommandInput
| UpdateJobCommandInput
Expand Down Expand Up @@ -165,6 +170,7 @@ export type ServiceOutputTypes =
| ListCompatibleImagesCommandOutput
| ListJobsCommandOutput
| ListLongTermPricingCommandOutput
| ListPickupLocationsCommandOutput
| ListServiceVersionsCommandOutput
| UpdateClusterCommandOutput
| UpdateJobCommandOutput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export interface CreateAddressCommandOutput extends CreateAddressResult, __Metad
* PostalCode: "STRING_VALUE",
* PhoneNumber: "STRING_VALUE",
* IsRestricted: true || false,
* Type: "CUST_PICKUP" || "AWS_SHIP",
* },
* };
* const command = new CreateAddressCommand(input);
Expand Down
9 changes: 5 additions & 4 deletions clients/client-snowball/src/commands/CreateClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,28 +103,29 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
* AddressId: "STRING_VALUE", // required
* KmsKeyARN: "STRING_VALUE",
* RoleARN: "STRING_VALUE",
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S", // required
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C", // required
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD", // required
* Notification: { // Notification
* SnsTopicARN: "STRING_VALUE",
* JobStatesToNotify: [ // JobStateList
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
* ],
* NotifyAll: true || false,
* DevicePickupSnsTopicARN: "STRING_VALUE",
* },
* ForwardingAddressId: "STRING_VALUE",
* TaxDocuments: { // TaxDocuments
* IND: { // INDTaxDocuments
* GSTIN: "STRING_VALUE",
* },
* },
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART",
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART" || "NOT_INSTALLED",
* InitialClusterSize: Number("int"),
* ForceCreateJobs: true || false,
* LongTermPricingIds: [ // LongTermPricingIdList
* "STRING_VALUE",
* ],
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240" || "T13",
* };
* const command = new CreateClusterCommand(input);
* const response = await client.send(command);
Expand All @@ -136,7 +137,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
* // JobState: "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
* // IsMaster: true || false,
* // JobType: "IMPORT" || "EXPORT" || "LOCAL_USE",
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
* // CreationDate: new Date("TIMESTAMP"),
* // Description: "STRING_VALUE",
* // },
Expand Down
32 changes: 22 additions & 10 deletions clients/client-snowball/src/commands/CreateJobCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
SerdeContext as __SerdeContext,
} from "@smithy/types";

import { CreateJobRequest, CreateJobResult } from "../models/models_0";
import { CreateJobRequest, CreateJobRequestFilterSensitiveLog, CreateJobResult } from "../models/models_0";
import { de_CreateJobCommand, se_CreateJobCommand } from "../protocols/Aws_json1_1";
import { ServiceInputTypes, ServiceOutputTypes, SnowballClientResolvedConfig } from "../SnowballClient";

Expand Down Expand Up @@ -128,6 +128,9 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
* <p>Description: Snowball Edge Storage Optimized with EC2 Compute</p>
* </li>
* </ul>
* <note>
* <p>This device is replaced with T98.</p>
* </note>
* <p></p>
* </li>
* <li>
Expand Down Expand Up @@ -164,17 +167,16 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
* <p></p>
* </li>
* <li>
* <p>Device type: <b>V3_5C</b>
* <p>Snow Family device type: <b>RACK_5U_C</b>
* </p>
* <ul>
* <li>
* <p>Capacity: T32</p>
* <p>Capacity: T13 </p>
* </li>
* <li>
* <p>Description: Snowball Edge Compute Optimized without GPU</p>
* <p>Description: Snowblade.</p>
* </li>
* </ul>
* <p></p>
* </li>
* <li>
* <p>Device type: <b>V3_5S</b>
Expand All @@ -187,7 +189,6 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
* <p>Description: Snowball Edge Storage Optimized 210TB</p>
* </li>
* </ul>
* <p></p>
* </li>
* </ul>
* @example
Expand Down Expand Up @@ -255,17 +256,18 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
* AddressId: "STRING_VALUE",
* KmsKeyARN: "STRING_VALUE",
* RoleARN: "STRING_VALUE",
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240" || "T13",
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
* Notification: { // Notification
* SnsTopicARN: "STRING_VALUE",
* JobStatesToNotify: [ // JobStateList
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
* ],
* NotifyAll: true || false,
* DevicePickupSnsTopicARN: "STRING_VALUE",
* },
* ClusterId: "STRING_VALUE",
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
* ForwardingAddressId: "STRING_VALUE",
* TaxDocuments: { // TaxDocuments
* IND: { // INDTaxDocuments
Expand All @@ -279,8 +281,18 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
* },
* },
* },
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART",
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART" || "NOT_INSTALLED",
* LongTermPricingId: "STRING_VALUE",
* ImpactLevel: "IL2" || "IL4" || "IL5" || "IL6" || "IL99",
* PickupDetails: { // PickupDetails
* Name: "STRING_VALUE",
* PhoneNumber: "STRING_VALUE",
* Email: "STRING_VALUE",
* IdentificationNumber: "STRING_VALUE",
* IdentificationExpirationDate: new Date("TIMESTAMP"),
* IdentificationIssuingOrg: "STRING_VALUE",
* DevicePickupId: "STRING_VALUE",
* },
* };
* const command = new CreateJobCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -401,7 +413,7 @@ export class CreateJobCommand extends $Command<
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_: any) => _,
inputFilterSensitiveLog: CreateJobRequestFilterSensitiveLog,
outputFilterSensitiveLog: (_: any) => _,
};
const { requestHandler } = configuration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export interface CreateLongTermPricingCommandOutput extends CreateLongTermPricin
* const input = { // CreateLongTermPricingRequest
* LongTermPricingType: "OneYear" || "ThreeYear" || "OneMonth", // required
* IsLongTermPricingAutoRenew: true || false,
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C", // required
* };
* const command = new CreateLongTermPricingCommand(input);
* const response = await client.send(command);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export interface DescribeAddressCommandOutput extends DescribeAddressResult, __M
* // PostalCode: "STRING_VALUE",
* // PhoneNumber: "STRING_VALUE",
* // IsRestricted: true || false,
* // Type: "CUST_PICKUP" || "AWS_SHIP",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export interface DescribeAddressesCommandOutput extends DescribeAddressesResult,
* // PostalCode: "STRING_VALUE",
* // PhoneNumber: "STRING_VALUE",
* // IsRestricted: true || false,
* // Type: "CUST_PICKUP" || "AWS_SHIP",
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResult, __M
* // RoleARN: "STRING_VALUE",
* // ClusterState: "AwaitingQuorum" || "Pending" || "InUse" || "Complete" || "Cancelled",
* // JobType: "IMPORT" || "EXPORT" || "LOCAL_USE",
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
* // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C",
* // CreationDate: new Date("TIMESTAMP"),
* // Resources: { // JobResource
* // S3Resources: [ // S3ResourceList
Expand Down Expand Up @@ -100,6 +100,7 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResult, __M
* // "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
* // ],
* // NotifyAll: true || false,
* // DevicePickupSnsTopicARN: "STRING_VALUE",
* // },
* // ForwardingAddressId: "STRING_VALUE",
* // TaxDocuments: { // TaxDocuments
Expand Down
Loading

0 comments on commit 16e1114

Please sign in to comment.