

# WaypointOptimizationAccessHours
<a name="API_WaypointOptimizationAccessHours"></a>

Access hours corresponding to when a destination can be visited.

## Contents
<a name="API_WaypointOptimizationAccessHours_Contents"></a>

 ** From **   <a name="location-Type-WaypointOptimizationAccessHours-From"></a>
Contains the ID of the starting waypoint in this connection.  
Type: [WaypointOptimizationAccessHoursEntry](API_WaypointOptimizationAccessHoursEntry.md) object  
Required: Yes

 ** To **   <a name="location-Type-WaypointOptimizationAccessHours-To"></a>
Contains the ID of the ending waypoint in this connection.  
Type: [WaypointOptimizationAccessHoursEntry](API_WaypointOptimizationAccessHoursEntry.md) object  
Required: Yes

## See Also
<a name="API_WaypointOptimizationAccessHours_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/geo-routes-2020-11-19/WaypointOptimizationAccessHours) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/geo-routes-2020-11-19/WaypointOptimizationAccessHours) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/geo-routes-2020-11-19/WaypointOptimizationAccessHours) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Location Service. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query location` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
