Skip to content

Commit f98e6ab

Browse files
author
awstools
committed
feat(client-iotfleetwise): Add new status READY_FOR_CHECKIN used for vehicle synchronisation
1 parent 244af1f commit f98e6ab

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

clients/client-iotfleetwise/src/commands/GetVehicleStatusCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface GetVehicleStatusCommandOutput extends GetVehicleStatusResponse,
4848
* // { // VehicleStatus
4949
* // campaignName: "STRING_VALUE",
5050
* // vehicleName: "STRING_VALUE",
51-
* // status: "CREATED" || "READY" || "HEALTHY" || "SUSPENDED" || "DELETING",
51+
* // status: "CREATED" || "READY" || "HEALTHY" || "SUSPENDED" || "DELETING" || "READY_FOR_CHECKIN",
5252
* // },
5353
* // ],
5454
* // nextToken: "STRING_VALUE",

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,9 +2293,7 @@ export interface UpdateCampaignResponse {
22932293
* </li>
22942294
* <li>
22952295
* <p>
2296-
* <code>WAITING_FOR_APPROVAL</code> - After a campaign is created, it enters the
2297-
* <code>WAITING_FOR_APPROVAL</code> state. To allow Amazon Web Services IoT FleetWise to deploy the
2298-
* campaign to the target vehicle or fleet, use the API operation to approve the campaign.
2296+
* <code>WAITING_FOR_APPROVAL</code> - After you create a campaign, it enters this state. Use the API operation to approve the campaign for deployment to the target vehicle or fleet.
22992297
* </p>
23002298
* </li>
23012299
* <li>
@@ -5168,6 +5166,7 @@ export const VehicleState = {
51685166
DELETING: "DELETING",
51695167
HEALTHY: "HEALTHY",
51705168
READY: "READY",
5169+
READY_FOR_CHECKIN: "READY_FOR_CHECKIN",
51715170
SUSPENDED: "SUSPENDED",
51725171
} as const;
51735172

@@ -5198,27 +5197,28 @@ export interface VehicleStatus {
51985197
* <ul>
51995198
* <li>
52005199
* <p>
5201-
* <code>CREATED</code> - The campaign has been created successfully but has not been
5202-
* approved. </p>
5200+
* <code>CREATED</code> - The campaign exists but is not yet approved.</p>
52035201
* </li>
52045202
* <li>
52055203
* <p>
5206-
* <code>READY</code> - The campaign has been approved but has not been deployed to
5207-
* the vehicle.</p>
5204+
* <code>READY</code> - The campaign is approved but has not been deployed to the vehicle. Data has not arrived at the vehicle yet.</p>
52085205
* </li>
52095206
* <li>
52105207
* <p>
5211-
* <code>HEALTHY</code> - The campaign has been deployed to the vehicle. </p>
5208+
* <code>HEALTHY</code> - The campaign is deployed to the vehicle.</p>
52125209
* </li>
52135210
* <li>
52145211
* <p>
5215-
* <code>SUSPENDED</code> - The campaign has been suspended and data collection is
5216-
* paused. </p>
5212+
* <code>SUSPENDED</code> - The campaign is suspended and data collection is paused.</p>
52175213
* </li>
52185214
* <li>
52195215
* <p>
52205216
* <code>DELETING</code> - The campaign is being removed from the vehicle.</p>
52215217
* </li>
5218+
* <li>
5219+
* <p>
5220+
* <code>READY_FOR_CHECKIN</code> - The campaign is approved and waiting for vehicle check-in before deployment.</p>
5221+
* </li>
52225222
* </ul>
52235223
* @public
52245224
*/

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9335,7 +9335,7 @@
93359335
"status": {
93369336
"target": "com.amazonaws.iotfleetwise#CampaignStatus",
93379337
"traits": {
9338-
"smithy.api#documentation": "<p>The state of a campaign. The status can be one of:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - Amazon Web Services IoT FleetWise is processing your request to create the\n campaign. </p>\n </li>\n <li>\n <p>\n <code>WAITING_FOR_APPROVAL</code> - After a campaign is created, it enters the\n <code>WAITING_FOR_APPROVAL</code> state. To allow Amazon Web Services IoT FleetWise to deploy the\n campaign to the target vehicle or fleet, use the API operation to approve the campaign.\n </p>\n </li>\n <li>\n <p>\n <code>RUNNING</code> - The campaign is active. </p>\n </li>\n <li>\n <p>\n <code>SUSPENDED</code> - The campaign is suspended. To resume the campaign, use\n the API operation. </p>\n </li>\n </ul>"
9338+
"smithy.api#documentation": "<p>The state of a campaign. The status can be one of:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - Amazon Web Services IoT FleetWise is processing your request to create the\n campaign. </p>\n </li>\n <li>\n <p>\n <code>WAITING_FOR_APPROVAL</code> - After you create a campaign, it enters this state. Use the API operation to approve the campaign for deployment to the target vehicle or fleet.\n </p>\n </li>\n <li>\n <p>\n <code>RUNNING</code> - The campaign is active. </p>\n </li>\n <li>\n <p>\n <code>SUSPENDED</code> - The campaign is suspended. To resume the campaign, use\n the API operation. </p>\n </li>\n </ul>"
93399339
}
93409340
}
93419341
}
@@ -10318,6 +10318,12 @@
1031810318
"traits": {
1031910319
"smithy.api#enumValue": "DELETING"
1032010320
}
10321+
},
10322+
"READY_FOR_CHECKIN": {
10323+
"target": "smithy.api#Unit",
10324+
"traits": {
10325+
"smithy.api#enumValue": "READY_FOR_CHECKIN"
10326+
}
1032110327
}
1032210328
}
1032310329
},
@@ -10339,7 +10345,7 @@
1033910345
"status": {
1034010346
"target": "com.amazonaws.iotfleetwise#VehicleState",
1034110347
"traits": {
10342-
"smithy.api#documentation": "<p>The status of a campaign, which can be one of the following:</p>\n <ul>\n <li>\n <p>\n <code>CREATED</code> - The campaign has been created successfully but has not been\n approved. </p>\n </li>\n <li>\n <p>\n <code>READY</code> - The campaign has been approved but has not been deployed to\n the vehicle.</p>\n </li>\n <li>\n <p>\n <code>HEALTHY</code> - The campaign has been deployed to the vehicle. </p>\n </li>\n <li>\n <p>\n <code>SUSPENDED</code> - The campaign has been suspended and data collection is \n paused. </p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The campaign is being removed from the vehicle.</p>\n </li>\n </ul>"
10348+
"smithy.api#documentation": "<p>The status of a campaign, which can be one of the following:</p>\n <ul>\n <li>\n <p>\n <code>CREATED</code> - The campaign exists but is not yet approved.</p>\n </li>\n <li>\n <p>\n <code>READY</code> - The campaign is approved but has not been deployed to the vehicle. Data has not arrived at the vehicle yet.</p>\n </li>\n <li>\n <p>\n <code>HEALTHY</code> - The campaign is deployed to the vehicle.</p>\n </li>\n <li>\n <p>\n <code>SUSPENDED</code> - The campaign is suspended and data collection is paused.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The campaign is being removed from the vehicle.</p>\n </li>\n <li>\n <p>\n <code>READY_FOR_CHECKIN</code> - The campaign is approved and waiting for vehicle check-in before deployment.</p>\n </li>\n </ul>"
1034310349
}
1034410350
}
1034510351
},

0 commit comments

Comments
 (0)