Skip to content

Commit c9ca816

Browse files
author
awstools
committed
feat(client-outposts): Adding new "DELIVERED" enum value for Outposts Order status
1 parent 60ba33d commit c9ca816

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface CreateOrderCommandOutput extends CreateOrderOutput, __MetadataB
5252
* // Order: { // Order
5353
* // OutpostId: "STRING_VALUE",
5454
* // OrderId: "STRING_VALUE",
55-
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "COMPLETED" || "ERROR",
55+
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "DELIVERED" || "COMPLETED" || "ERROR",
5656
* // LineItems: [ // LineItemListDefinition
5757
* // { // LineItem
5858
* // CatalogItemId: "STRING_VALUE",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface GetOrderCommandOutput extends GetOrderOutput, __MetadataBearer
4444
* // Order: { // Order
4545
* // OutpostId: "STRING_VALUE",
4646
* // OrderId: "STRING_VALUE",
47-
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "COMPLETED" || "ERROR",
47+
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "DELIVERED" || "COMPLETED" || "ERROR",
4848
* // LineItems: [ // LineItemListDefinition
4949
* // { // LineItem
5050
* // CatalogItemId: "STRING_VALUE",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface ListOrdersCommandOutput extends ListOrdersOutput, __MetadataBea
4848
* // OutpostId: "STRING_VALUE",
4949
* // OrderId: "STRING_VALUE",
5050
* // OrderType: "OUTPOST" || "REPLACEMENT",
51-
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "COMPLETED" || "ERROR",
51+
* // Status: "RECEIVED" || "PENDING" || "PROCESSING" || "INSTALLING" || "FULFILLED" || "CANCELLED" || "PREPARING" || "IN_PROGRESS" || "DELIVERED" || "COMPLETED" || "ERROR",
5252
* // LineItemCountsByStatus: { // LineItemStatusCounts
5353
* // "<keys>": Number("int"),
5454
* // },

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

+6-1
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,7 @@ export type OrderType = (typeof OrderType)[keyof typeof OrderType];
872872
export const OrderStatus = {
873873
CANCELLED: "CANCELLED",
874874
COMPLETED: "COMPLETED",
875+
DELIVERED: "DELIVERED",
875876
ERROR: "ERROR",
876877
FULFILLED: "FULFILLED",
877878
INSTALLING: "INSTALLING",
@@ -913,11 +914,15 @@ export interface Order {
913914
* </li>
914915
* <li>
915916
* <p>
916-
* <code>IN_PROGRESS</code> - Order is either being built, shipped, or installed. To get
917+
* <code>IN_PROGRESS</code> - Order is either being built or shipped. To get
917918
* more details, see the line item status.</p>
918919
* </li>
919920
* <li>
920921
* <p>
922+
* <code>DELIVERED</code> - Order was delivered to the Outpost site.</p>
923+
* </li>
924+
* <li>
925+
* <p>
921926
* <code>COMPLETED</code> - Order is complete.</p>
922927
* </li>
923928
* <li>

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

+7-1
Original file line numberDiff line numberDiff line change
@@ -3200,7 +3200,7 @@
32003200
"Status": {
32013201
"target": "com.amazonaws.outposts#OrderStatus",
32023202
"traits": {
3203-
"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>"
3203+
"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>"
32043204
}
32053205
},
32063206
"LineItems": {
@@ -3305,6 +3305,12 @@
33053305
"smithy.api#enumValue": "IN_PROGRESS"
33063306
}
33073307
},
3308+
"DELIVERED": {
3309+
"target": "smithy.api#Unit",
3310+
"traits": {
3311+
"smithy.api#enumValue": "DELIVERED"
3312+
}
3313+
},
33083314
"COMPLETED": {
33093315
"target": "smithy.api#Unit",
33103316
"traits": {

0 commit comments

Comments
 (0)