Skip to content

Commit

Permalink
fix(integ-tests): fix typo in InvocationType enum property name (#28162)
Browse files Browse the repository at this point in the history
**This PR includes a breaking change to the `integ-tests-alpha` module.**

### Description
This PR proposes a breaking change by fixing typo in the `InvocationType` enum.
The property name `REQUEST_RESPONE` is corrected to `REQUEST_RESPONSE`.

BREAKING CHANGE: Fix typo in the `InvocationType` property from `REQUEST_RESPONE` to `REQUEST_RESPONSE`

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
sakurai-ryo authored Nov 28, 2023
1 parent 1624ab6 commit 48c275c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@aws-cdk/integ-tests-alpha/lib/assertions/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export enum LogType {
}

/**
* The type of invocation. Default is REQUEST_RESPONE
* The type of invocation. Default is REQUEST_RESPONSE
*/
export enum InvocationType {
/**
Expand All @@ -172,7 +172,7 @@ export enum InvocationType {
* Keep the connection open until the function returns a response or times out.
* The API response includes the function response and additional data.
*/
REQUEST_RESPONE = 'RequestResponse',
REQUEST_RESPONSE = 'RequestResponse',

/**
* Validate parameter values and verify that the user
Expand All @@ -193,7 +193,7 @@ export interface LambdaInvokeFunctionProps {
/**
* The type of invocation to use
*
* @default InvocationType.REQUEST_RESPONE
* @default InvocationType.REQUEST_RESPONSE
*/
readonly invocationType?: InvocationType;

Expand Down

0 comments on commit 48c275c

Please sign in to comment.