Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: disable caching for cognito APIs #12020

Merged
merged 12 commits into from
Sep 14, 2023
Prev Previous commit
Next Next commit
chore: fix diffs
AllanZhengYP committed Sep 13, 2023
commit 388894fb87c4352df8459e067d4faa44c085a17b
Original file line number Diff line number Diff line change
@@ -17,11 +17,11 @@ import { resolveConfig, resolveCredentials } from '../utils';
* API.
*
* @throws service: {@link UpdateEndpointException} - Thrown when the underlying Pinpoint service returns an error.
* @throws validation: {@link AnalyticsValidationErrorCode} - Thrown when the provided parameters or library
* @throws validation: {@link AnalyticsValidationErrorCode} - Thrown when the provided parameters or library
* configuration is incorrect.
*
*
* @returns A promise that will resolve when the operation is complete.
*
*
* @example
* ```ts
* // Identify a user with Pinpoint
@@ -34,7 +34,7 @@ import { resolveConfig, resolveCredentials } from '../utils';
* }
* });
* ```
*
*
* @example
* ```ts
* // Identify a user with Pinpoint with some additional demographics
6 changes: 3 additions & 3 deletions packages/analytics/src/providers/pinpoint/apis/record.ts
Original file line number Diff line number Diff line change
@@ -21,9 +21,9 @@ const logger = new Logger('Analytics');
*
* @param {RecordInput} params The input object used to construct the request.
*
* @throws validation: {@link AnalyticsValidationErrorCode} - Thrown when the provided parameters or library
* @throws validation: {@link AnalyticsValidationErrorCode} - Thrown when the provided parameters or library
* configuration is incorrect.
*
*
* @example
* ```ts
* // Send an event to Pinpoint
@@ -33,7 +33,7 @@ const logger = new Logger('Analytics');
* }
* })
* ```
*
*
* @example
* ```ts
* // Send an event to Pinpoint with metrics & custom attributes