From 0aee9cb5b506681a107859a9dbc06775c769cf4e Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 15 Nov 2024 19:12:01 +0000 Subject: [PATCH] feat(client-outposts): You can now purchase AWS Outposts rack or server capacity for a 5-year term with one of the following payment options: All Upfront, Partial Upfront, and No Upfront. --- clients/client-outposts/src/commands/CreateOrderCommand.ts | 4 ++-- clients/client-outposts/src/commands/GetOrderCommand.ts | 2 +- clients/client-outposts/src/models/models_0.ts | 1 + codegen/sdk-codegen/aws-models/outposts.json | 6 ++++++ 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/clients/client-outposts/src/commands/CreateOrderCommand.ts b/clients/client-outposts/src/commands/CreateOrderCommand.ts index 20631c303a56..9f81b49c252d 100644 --- a/clients/client-outposts/src/commands/CreateOrderCommand.ts +++ b/clients/client-outposts/src/commands/CreateOrderCommand.ts @@ -44,7 +44,7 @@ export interface CreateOrderCommandOutput extends CreateOrderOutput, __MetadataB * }, * ], * PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT", // required - * PaymentTerm: "THREE_YEARS" || "ONE_YEAR", + * PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS", * }; * const command = new CreateOrderCommand(input); * const response = await client.send(command); @@ -78,7 +78,7 @@ export interface CreateOrderCommandOutput extends CreateOrderOutput, __MetadataB * // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT", * // OrderSubmissionDate: new Date("TIMESTAMP"), * // OrderFulfilledDate: new Date("TIMESTAMP"), - * // PaymentTerm: "THREE_YEARS" || "ONE_YEAR", + * // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS", * // OrderType: "OUTPOST" || "REPLACEMENT", * // }, * // }; diff --git a/clients/client-outposts/src/commands/GetOrderCommand.ts b/clients/client-outposts/src/commands/GetOrderCommand.ts index d90f72587af3..9eefa4932716 100644 --- a/clients/client-outposts/src/commands/GetOrderCommand.ts +++ b/clients/client-outposts/src/commands/GetOrderCommand.ts @@ -70,7 +70,7 @@ export interface GetOrderCommandOutput extends GetOrderOutput, __MetadataBearer * // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT", * // OrderSubmissionDate: new Date("TIMESTAMP"), * // OrderFulfilledDate: new Date("TIMESTAMP"), - * // PaymentTerm: "THREE_YEARS" || "ONE_YEAR", + * // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS", * // OrderType: "OUTPOST" || "REPLACEMENT", * // }, * // }; diff --git a/clients/client-outposts/src/models/models_0.ts b/clients/client-outposts/src/models/models_0.ts index c88d433d8553..1548250d3d3d 100644 --- a/clients/client-outposts/src/models/models_0.ts +++ b/clients/client-outposts/src/models/models_0.ts @@ -801,6 +801,7 @@ export type PaymentOption = (typeof PaymentOption)[keyof typeof PaymentOption]; * @enum */ export const PaymentTerm = { + FIVE_YEARS: "FIVE_YEARS", ONE_YEAR: "ONE_YEAR", THREE_YEARS: "THREE_YEARS", } as const; diff --git a/codegen/sdk-codegen/aws-models/outposts.json b/codegen/sdk-codegen/aws-models/outposts.json index b94856ad765b..8049e5e5b718 100644 --- a/codegen/sdk-codegen/aws-models/outposts.json +++ b/codegen/sdk-codegen/aws-models/outposts.json @@ -5148,6 +5148,12 @@ "traits": { "smithy.api#enumValue": "ONE_YEAR" } + }, + "FIVE_YEARS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIVE_YEARS" + } } } },