Skip to content

Commit

Permalink
feat(client-outposts): You can now purchase AWS Outposts rack or serv…
Browse files Browse the repository at this point in the history
…er capacity for a 5-year term with one of the following payment options: All Upfront, Partial Upfront, and No Upfront.
  • Loading branch information
awstools committed Nov 15, 2024
1 parent 8381a63 commit 0aee9cb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clients/client-outposts/src/commands/CreateOrderCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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",
* // },
* // };
Expand Down
2 changes: 1 addition & 1 deletion clients/client-outposts/src/commands/GetOrderCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
* // },
* // };
Expand Down
1 change: 1 addition & 0 deletions clients/client-outposts/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/outposts.json
Original file line number Diff line number Diff line change
Expand Up @@ -5148,6 +5148,12 @@
"traits": {
"smithy.api#enumValue": "ONE_YEAR"
}
},
"FIVE_YEARS": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "FIVE_YEARS"
}
}
}
},
Expand Down

0 comments on commit 0aee9cb

Please sign in to comment.