Skip to content

Commit

Permalink
feat(client-outposts): Adding new "DELIVERED" enum value for Outposts…
Browse files Browse the repository at this point in the history
… Order status
  • Loading branch information
awstools committed Oct 10, 2024
1 parent 60ba33d commit c9ca816
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clients/client-outposts/src/commands/CreateOrderCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export interface CreateOrderCommandOutput extends CreateOrderOutput, __MetadataB
* // Order: { // Order
* // OutpostId: "STRING_VALUE",
* // OrderId: "STRING_VALUE",
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "COMPLETED" || "ERROR",
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "DELIVERED" || "COMPLETED" || "ERROR",
* // LineItems: [ // LineItemListDefinition
* // { // LineItem
* // CatalogItemId: "STRING_VALUE",
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 @@ -44,7 +44,7 @@ export interface GetOrderCommandOutput extends GetOrderOutput, __MetadataBearer
* // Order: { // Order
* // OutpostId: "STRING_VALUE",
* // OrderId: "STRING_VALUE",
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "COMPLETED" || "ERROR",
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "DELIVERED" || "COMPLETED" || "ERROR",
* // LineItems: [ // LineItemListDefinition
* // { // LineItem
* // CatalogItemId: "STRING_VALUE",
Expand Down
2 changes: 1 addition & 1 deletion clients/client-outposts/src/commands/ListOrdersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export interface ListOrdersCommandOutput extends ListOrdersOutput, __MetadataBea
* // OutpostId: "STRING_VALUE",
* // OrderId: "STRING_VALUE",
* // OrderType: "OUTPOST" || "REPLACEMENT",
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "COMPLETED" || "ERROR",
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "DELIVERED" || "COMPLETED" || "ERROR",
* // LineItemCountsByStatus: { // LineItemStatusCounts
* // "<keys>": Number("int"),
* // },
Expand Down
7 changes: 6 additions & 1 deletion clients/client-outposts/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,7 @@ export type OrderType = (typeof OrderType)[keyof typeof OrderType];
export const OrderStatus = {
CANCELLED: "CANCELLED",
COMPLETED: "COMPLETED",
DELIVERED: "DELIVERED",
ERROR: "ERROR",
FULFILLED: "FULFILLED",
INSTALLING: "INSTALLING",
Expand Down Expand Up @@ -913,11 +914,15 @@ export interface Order {
* </li>
* <li>
* <p>
* <code>IN_PROGRESS</code> - Order is either being built, shipped, or installed. To get
* <code>IN_PROGRESS</code> - Order is either being built or shipped. To get
* more details, see the line item status.</p>
* </li>
* <li>
* <p>
* <code>DELIVERED</code> - Order was delivered to the Outpost site.</p>
* </li>
* <li>
* <p>
* <code>COMPLETED</code> - Order is complete.</p>
* </li>
* <li>
Expand Down
8 changes: 7 additions & 1 deletion codegen/sdk-codegen/aws-models/outposts.json
Original file line number Diff line number Diff line change
Expand Up @@ -3200,7 +3200,7 @@
"Status": {
"target": "com.amazonaws.outposts#OrderStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the order.</p>\n <ul>\n <li>\n <p>\n <code>PREPARING</code> - Order is received and being prepared.</p>\n </li>\n <li>\n <p>\n <code>IN_PROGRESS</code> - Order is either being built, shipped, or installed. To get\n more details, see the line item status.</p>\n </li>\n <li>\n <p>\n <code>COMPLETED</code> - Order is complete.</p>\n </li>\n <li>\n <p>\n <code>CANCELLED</code> - Order is cancelled.</p>\n </li>\n <li>\n <p>\n <code>ERROR</code> - Customer should contact support.</p>\n </li>\n </ul>\n <note>\n <p>The following status are deprecated: <code>RECEIVED</code>, <code>PENDING</code>,\n <code>PROCESSING</code>, <code>INSTALLING</code>, and <code>FULFILLED</code>. </p>\n </note>"
"smithy.api#documentation": "<p>The status of the order.</p>\n <ul>\n <li>\n <p>\n <code>PREPARING</code> - Order is received and being prepared.</p>\n </li>\n <li>\n <p>\n <code>IN_PROGRESS</code> - Order is either being built or shipped. To get\n more details, see the line item status.</p>\n </li>\n <li>\n <p>\n <code>DELIVERED</code> - Order was delivered to the Outpost site.</p>\n </li>\n <li>\n <p>\n <code>COMPLETED</code> - Order is complete.</p>\n </li>\n <li>\n <p>\n <code>CANCELLED</code> - Order is cancelled.</p>\n </li>\n <li>\n <p>\n <code>ERROR</code> - Customer should contact support.</p>\n </li>\n </ul>\n <note>\n <p>The following status are deprecated: <code>RECEIVED</code>, <code>PENDING</code>,\n <code>PROCESSING</code>, <code>INSTALLING</code>, and <code>FULFILLED</code>. </p>\n </note>"
}
},
"LineItems": {
Expand Down Expand Up @@ -3305,6 +3305,12 @@
"smithy.api#enumValue": "IN_PROGRESS"
}
},
"DELIVERED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DELIVERED"
}
},
"COMPLETED": {
"target": "smithy.api#Unit",
"traits": {
Expand Down

0 comments on commit c9ca816

Please sign in to comment.