

# SyntheticCustomerScenario

Defines the situation of the synthetic customer, what they're trying to accomplish, and the result that counts as success.

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

 ** ExpectedOutcome **   <a name="connect-Type-SyntheticCustomerScenario-ExpectedOutcome"></a>
The result that counts as a successful test.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Required: No

 ** Goal **   <a name="connect-Type-SyntheticCustomerScenario-Goal"></a>
What the synthetic customer is trying to accomplish.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Required: No

 ** InitialQuery **   <a name="connect-Type-SyntheticCustomerScenario-InitialQuery"></a>
The opening message of the synthetic customer.  
Type: String  
Length Constraints: Maximum length of 512.  
Required: No

 ** KnownInputs **   <a name="connect-Type-SyntheticCustomerScenario-KnownInputs"></a>
The information that the synthetic customer knows and provides when asked, such as a reservation number. You can specify up to 20 inputs.  
Type: Array of [ScenarioKnownInput](API_ScenarioKnownInput.md) objects  
Array Members: Maximum number of 20 items.  
Required: No

 ** Name **   <a name="connect-Type-SyntheticCustomerScenario-Name"></a>
The name of the scenario.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

 ** StopConditions **   <a name="connect-Type-SyntheticCustomerScenario-StopConditions"></a>
The limits that end the simulation if the expected outcome isn't reached.  
Type: [ScenarioStopConditions](API_ScenarioStopConditions.md) object  
Required: No

## See Also
<a name="API_SyntheticCustomerScenario_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/connect-2017-08-08/SyntheticCustomerScenario) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/connect-2017-08-08/SyntheticCustomerScenario) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/connect-2017-08-08/SyntheticCustomerScenario) 