Skip to content

Commit

Permalink
docs(client-connect): Remove unused InvalidParameterException from Cr…
Browse files Browse the repository at this point in the history
…eateParticipant API
  • Loading branch information
awstools committed May 4, 2023
1 parent 7929075 commit d6c991e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ export interface CreateEvaluationFormCommandOutput extends CreateEvaluationFormR
/**
* @public
* <p>Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define
* questions related to agent performance, and create sections to organize such questions. An
* evaluation form must have a unique title within an instance. Question and section identifiers
* questions related to agent performance, and create sections to organize such questions. Question and section identifiers
* cannot be duplicated within the same evaluation form.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ export interface CreateParticipantCommandOutput extends CreateParticipantRespons
* @throws {@link InternalServiceException} (server fault)
* <p>Request processing failed because of an error or failure with the service.</p>
*
* @throws {@link InvalidParameterException} (client fault)
* <p>One or more of the specified parameters are not valid.</p>
*
* @throws {@link InvalidRequestException} (client fault)
* <p>The request is not valid.</p>
*
Expand Down
2 changes: 1 addition & 1 deletion clients/client-connect/src/commands/DescribeRuleCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface DescribeRuleCommandOutput extends DescribeRuleResponse, __Metad
* // RuleId: "STRING_VALUE", // required
* // RuleArn: "STRING_VALUE", // required
* // TriggerEventSource: { // RuleTriggerEventSource
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate", // required
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit", // required
* // IntegrationAssociationId: "STRING_VALUE",
* // },
* // Function: "STRING_VALUE", // required
Expand Down
2 changes: 1 addition & 1 deletion clients/client-connect/src/commands/ListRulesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
* // Name: "STRING_VALUE", // required
* // RuleId: "STRING_VALUE", // required
* // RuleArn: "STRING_VALUE", // required
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate", // required
* // EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate" || "OnContactEvaluationSubmit", // required
* // PublishStatus: "DRAFT" || "PUBLISHED", // required
* // ActionSummaries: [ // ActionSummaries // required
* // { // ActionSummary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface UpdateEvaluationFormCommandOutput extends UpdateEvaluationFormR
/**
* @public
* <p>Updates details about a specific evaluation form version in the specified Amazon Connect
* instance. An evaluation form must have a unique title within an instance. Question and section
* instance. Question and section
* identifiers cannot be duplicated within the same evaluation form.</p>
* <p>This operation does not support partial updates. Instead it does a full update of evaluation form content.</p>
* @example
Expand Down
6 changes: 3 additions & 3 deletions clients/client-connect/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1418,12 +1418,12 @@ export type NumericQuestionPropertyAutomationLabel =
* of 0 and maximum value of 28800.</p>
* </li>
* <li>
* <p>Percantages have a minimum value of 0 and maximum value of 100. </p>
* <p>Percentages have a minimum value of 0 and maximum value of 100. </p>
* </li>
* <li>
* <p>
* <code>NUMBER_OF_INTERRUPTIONS</code> has a minimum value of 0 and maximum value of
* 100.</p>
* 1000.</p>
* </li>
* </ul>
*/
Expand Down Expand Up @@ -1558,7 +1558,7 @@ export interface SingleSelectQuestionRuleCategoryAutomation {
Condition: SingleSelectQuestionRuleCategoryAutomationCondition | string | undefined;

/**
* <p>The identifier of the answer option tha</p>
* <p>The identifier of the answer option.</p>
*/
OptionRefId: string | undefined;
}
Expand Down
12 changes: 6 additions & 6 deletions clients/client-connect/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ export interface EvaluationSummary {
EvaluationArn: string | undefined;

/**
* <p>A unique title of the evaluation form.</p>
* <p>A title of the evaluation form.</p>
*/
EvaluationFormTitle: string | undefined;

Expand Down Expand Up @@ -2075,7 +2075,7 @@ export interface EvaluationFormSummary {
EvaluationFormArn: string | undefined;

/**
* <p>A unique title of the evaluation form.</p>
* <p>A title of the evaluation form.</p>
*/
Title: string | undefined;

Expand Down Expand Up @@ -6783,7 +6783,7 @@ export interface CreateEvaluationFormRequest {
InstanceId: string | undefined;

/**
* <p>A unique title of the evaluation form.</p>
* <p>A title of the evaluation form.</p>
*/
Title: string | undefined;

Expand Down Expand Up @@ -6837,7 +6837,7 @@ export interface EvaluationForm {
EvaluationFormArn: string | undefined;

/**
* <p>A unique title of the evaluation form.</p>
* <p>A title of the evaluation form.</p>
*/
Title: string | undefined;

Expand Down Expand Up @@ -6908,7 +6908,7 @@ export interface EvaluationFormContent {
EvaluationFormArn: string | undefined;

/**
* <p>A unique title of the evaluation form.</p>
* <p>A title of the evaluation form.</p>
*/
Title: string | undefined;

Expand Down Expand Up @@ -7048,7 +7048,7 @@ export interface UpdateEvaluationFormRequest {
CreateNewVersion?: boolean;

/**
* <p>A unique title of the evaluation form.</p>
* <p>A title of the evaluation form.</p>
*/
Title: string | undefined;

Expand Down
3 changes: 0 additions & 3 deletions clients/client-connect/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8154,9 +8154,6 @@ const de_CreateParticipantCommandError = async (
case "InternalServiceException":
case "com.amazonaws.connect#InternalServiceException":
throw await de_InternalServiceExceptionRes(parsedOutput, context);
case "InvalidParameterException":
case "com.amazonaws.connect#InvalidParameterException":
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
case "InvalidRequestException":
case "com.amazonaws.connect#InvalidRequestException":
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
Expand Down

0 comments on commit d6c991e

Please sign in to comment.