@@ -963,6 +963,9 @@ const deserializeAws_restJson1GetCampaignStateCommandError = async (
963963 case "ThrottlingException" :
964964 case "com.amazonaws.connectcampaigns#ThrottlingException" :
965965 throw await deserializeAws_restJson1ThrottlingExceptionResponse ( parsedOutput , context ) ;
966+ case "ValidationException" :
967+ case "com.amazonaws.connectcampaigns#ValidationException" :
968+ throw await deserializeAws_restJson1ValidationExceptionResponse ( parsedOutput , context ) ;
966969 default :
967970 const parsedBody = parsedOutput . body ;
968971 throwDefaultError ( {
@@ -1278,6 +1281,9 @@ const deserializeAws_restJson1PauseCampaignCommandError = async (
12781281 case "ThrottlingException" :
12791282 case "com.amazonaws.connectcampaigns#ThrottlingException" :
12801283 throw await deserializeAws_restJson1ThrottlingExceptionResponse ( parsedOutput , context ) ;
1284+ case "ValidationException" :
1285+ case "com.amazonaws.connectcampaigns#ValidationException" :
1286+ throw await deserializeAws_restJson1ValidationExceptionResponse ( parsedOutput , context ) ;
12811287 default :
12821288 const parsedBody = parsedOutput . body ;
12831289 throwDefaultError ( {
@@ -1393,6 +1399,9 @@ const deserializeAws_restJson1ResumeCampaignCommandError = async (
13931399 case "ThrottlingException" :
13941400 case "com.amazonaws.connectcampaigns#ThrottlingException" :
13951401 throw await deserializeAws_restJson1ThrottlingExceptionResponse ( parsedOutput , context ) ;
1402+ case "ValidationException" :
1403+ case "com.amazonaws.connectcampaigns#ValidationException" :
1404+ throw await deserializeAws_restJson1ValidationExceptionResponse ( parsedOutput , context ) ;
13961405 default :
13971406 const parsedBody = parsedOutput . body ;
13981407 throwDefaultError ( {
@@ -1446,6 +1455,9 @@ const deserializeAws_restJson1StartCampaignCommandError = async (
14461455 case "ThrottlingException" :
14471456 case "com.amazonaws.connectcampaigns#ThrottlingException" :
14481457 throw await deserializeAws_restJson1ThrottlingExceptionResponse ( parsedOutput , context ) ;
1458+ case "ValidationException" :
1459+ case "com.amazonaws.connectcampaigns#ValidationException" :
1460+ throw await deserializeAws_restJson1ValidationExceptionResponse ( parsedOutput , context ) ;
14491461 default :
14501462 const parsedBody = parsedOutput . body ;
14511463 throwDefaultError ( {
@@ -1558,6 +1570,9 @@ const deserializeAws_restJson1StopCampaignCommandError = async (
15581570 case "ThrottlingException" :
15591571 case "com.amazonaws.connectcampaigns#ThrottlingException" :
15601572 throw await deserializeAws_restJson1ThrottlingExceptionResponse ( parsedOutput , context ) ;
1573+ case "ValidationException" :
1574+ case "com.amazonaws.connectcampaigns#ValidationException" :
1575+ throw await deserializeAws_restJson1ValidationExceptionResponse ( parsedOutput , context ) ;
15611576 default :
15621577 const parsedBody = parsedOutput . body ;
15631578 throwDefaultError ( {
0 commit comments