

# TimeWindow
<a name="API_connect-outbound-campaigns-v2_TimeWindow"></a>

Contains information about a time window.

## Contents
<a name="API_connect-outbound-campaigns-v2_TimeWindow_Contents"></a>

 ** openHours **   <a name="connect-Type-connect-outbound-campaigns-v2_TimeWindow-openHours"></a>
The open hours configuration.  
Type: [OpenHours](API_connect-outbound-campaigns-v2_OpenHours.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: Yes

 ** restrictedPeriods **   <a name="connect-Type-connect-outbound-campaigns-v2_TimeWindow-restrictedPeriods"></a>
The restricted periods configuration.  
Type: [RestrictedPeriods](API_connect-outbound-campaigns-v2_RestrictedPeriods.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: No

## See Also
<a name="API_connect-outbound-campaigns-v2_TimeWindow_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/connectcampaignsv2-2024-04-23/TimeWindow) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/connectcampaignsv2-2024-04-23/TimeWindow) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/connectcampaignsv2-2024-04-23/TimeWindow) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Connect Customer. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query connect` — 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).
