Skip to content

Commit 0aee9cb

Browse files
author
awstools
committed
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.
1 parent 8381a63 commit 0aee9cb

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

clients/client-outposts/src/commands/CreateOrderCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface CreateOrderCommandOutput extends CreateOrderOutput, __MetadataB
4444
* },
4545
* ],
4646
* PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT", // required
47-
* PaymentTerm: "THREE_YEARS" || "ONE_YEAR",
47+
* PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
4848
* };
4949
* const command = new CreateOrderCommand(input);
5050
* const response = await client.send(command);
@@ -78,7 +78,7 @@ export interface CreateOrderCommandOutput extends CreateOrderOutput, __MetadataB
7878
* // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT",
7979
* // OrderSubmissionDate: new Date("TIMESTAMP"),
8080
* // OrderFulfilledDate: new Date("TIMESTAMP"),
81-
* // PaymentTerm: "THREE_YEARS" || "ONE_YEAR",
81+
* // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
8282
* // OrderType: "OUTPOST" || "REPLACEMENT",
8383
* // },
8484
* // };

clients/client-outposts/src/commands/GetOrderCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export interface GetOrderCommandOutput extends GetOrderOutput, __MetadataBearer
7070
* // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT",
7171
* // OrderSubmissionDate: new Date("TIMESTAMP"),
7272
* // OrderFulfilledDate: new Date("TIMESTAMP"),
73-
* // PaymentTerm: "THREE_YEARS" || "ONE_YEAR",
73+
* // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
7474
* // OrderType: "OUTPOST" || "REPLACEMENT",
7575
* // },
7676
* // };

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ export type PaymentOption = (typeof PaymentOption)[keyof typeof PaymentOption];
801801
* @enum
802802
*/
803803
export const PaymentTerm = {
804+
FIVE_YEARS: "FIVE_YEARS",
804805
ONE_YEAR: "ONE_YEAR",
805806
THREE_YEARS: "THREE_YEARS",
806807
} as const;

codegen/sdk-codegen/aws-models/outposts.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5148,6 +5148,12 @@
51485148
"traits": {
51495149
"smithy.api#enumValue": "ONE_YEAR"
51505150
}
5151+
},
5152+
"FIVE_YEARS": {
5153+
"target": "smithy.api#Unit",
5154+
"traits": {
5155+
"smithy.api#enumValue": "FIVE_YEARS"
5156+
}
51515157
}
51525158
}
51535159
},

0 commit comments

Comments
 (0)