

# TimeWindow


Contains information about a time window.

## Contents


 ** 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


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](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) 