@effect-aws/client-cognito-identity-provider 1.10.6 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/CognitoIdentityProviderClientInstance.d.ts +3 -1
- package/dist/cjs/CognitoIdentityProviderClientInstance.d.ts.map +1 -1
- package/dist/cjs/CognitoIdentityProviderClientInstance.js +6 -4
- package/dist/cjs/CognitoIdentityProviderClientInstance.js.map +1 -1
- package/dist/cjs/CognitoIdentityProviderService.d.ts +33 -9
- package/dist/cjs/CognitoIdentityProviderService.d.ts.map +1 -1
- package/dist/cjs/CognitoIdentityProviderService.js +24 -9
- package/dist/cjs/CognitoIdentityProviderService.js.map +1 -1
- package/dist/cjs/CognitoIdentityProviderServiceConfig.d.ts +2 -1
- package/dist/cjs/CognitoIdentityProviderServiceConfig.d.ts.map +1 -1
- package/dist/cjs/CognitoIdentityProviderServiceConfig.js +34 -9
- package/dist/cjs/CognitoIdentityProviderServiceConfig.js.map +1 -1
- package/dist/cjs/Errors.d.ts +5 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +2 -0
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/dts/CognitoIdentityProviderClientInstance.d.ts +3 -1
- package/dist/dts/CognitoIdentityProviderClientInstance.d.ts.map +1 -1
- package/dist/dts/CognitoIdentityProviderService.d.ts +33 -9
- package/dist/dts/CognitoIdentityProviderService.d.ts.map +1 -1
- package/dist/dts/CognitoIdentityProviderServiceConfig.d.ts +2 -1
- package/dist/dts/CognitoIdentityProviderServiceConfig.d.ts.map +1 -1
- package/dist/dts/Errors.d.ts +5 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/esm/CognitoIdentityProviderClientInstance.js +3 -1
- package/dist/esm/CognitoIdentityProviderClientInstance.js.map +1 -1
- package/dist/esm/CognitoIdentityProviderService.js +19 -4
- package/dist/esm/CognitoIdentityProviderService.js.map +1 -1
- package/dist/esm/CognitoIdentityProviderServiceConfig.js +4 -2
- package/dist/esm/CognitoIdentityProviderServiceConfig.js.map +1 -1
- package/dist/esm/Errors.js +2 -0
- package/dist/esm/Errors.js.map +1 -1
- package/package.json +2 -2
- package/src/CognitoIdentityProviderClientInstance.ts +3 -1
- package/src/CognitoIdentityProviderService.ts +227 -4
- package/src/CognitoIdentityProviderServiceConfig.ts +4 -2
- package/src/Errors.ts +7 -1
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { AliasExistsException, CodeDeliveryFailureException, CodeMismatchException, ConcurrentModificationException, DeviceKeyExistsException, DuplicateProviderException, EnableSoftwareTokenMFAException, ExpiredCodeException, FeatureUnavailableInTierException, ForbiddenException, GroupExistsException, InternalErrorException, InvalidEmailRoleAccessPolicyException, InvalidLambdaResponseException, InvalidOAuthFlowException, InvalidParameterException, InvalidPasswordException, InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, InvalidUserPoolConfigurationException, LimitExceededException, ManagedLoginBrandingExistsException, MFAMethodNotFoundException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, PreconditionNotMetException, RefreshTokenReuseException, ResourceNotFoundException, ScopeDoesNotExistException, SoftwareTokenMFANotFoundException, TermsExistsException, TierChangeNotAllowedException, TooManyFailedAttemptsException, TooManyRequestsException, UnauthorizedException, UnexpectedLambdaException, UnsupportedIdentityProviderException, UnsupportedOperationException, UnsupportedTokenTypeException, UnsupportedUserStateException, UserImportInProgressException, UserLambdaValidationException, UsernameExistsException, UserNotConfirmedException, UserNotFoundException, UserPoolAddOnNotEnabledException, UserPoolTaggingException, WebAuthnChallengeNotFoundException, WebAuthnClientMismatchException, WebAuthnConfigurationMissingException, WebAuthnCredentialNotSupportedException, WebAuthnNotEnabledException, WebAuthnOriginNotAllowedException, WebAuthnRelyingPartyMismatchException } from "@aws-sdk/client-cognito-identity-provider";
|
|
2
|
-
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
export declare const AllServiceErrors: readonly ["AliasExistsException", "CodeDeliveryFailureException", "CodeMismatchException", "ConcurrentModificationException", "DeviceKeyExistsException", "DuplicateProviderException", "EnableSoftwareTokenMFAException", "ExpiredCodeException", "FeatureUnavailableInTierException", "ForbiddenException", "GroupExistsException", "InternalErrorException", "InvalidEmailRoleAccessPolicyException", "InvalidLambdaResponseException", "InvalidOAuthFlowException", "InvalidParameterException", "InvalidPasswordException", "InvalidSmsRoleAccessPolicyException", "InvalidSmsRoleTrustRelationshipException", "InvalidUserPoolConfigurationException", "LimitExceededException", "MFAMethodNotFoundException", "ManagedLoginBrandingExistsException", "NotAuthorizedException", "PasswordHistoryPolicyViolationException", "PasswordResetRequiredException", "PreconditionNotMetException", "RefreshTokenReuseException", "ResourceNotFoundException", "ScopeDoesNotExistException", "SoftwareTokenMFANotFoundException", "TermsExistsException", "TierChangeNotAllowedException", "TooManyFailedAttemptsException", "TooManyRequestsException", "UnauthorizedException", "UnexpectedLambdaException", "UnsupportedIdentityProviderException", "UnsupportedOperationException", "UnsupportedTokenTypeException", "UnsupportedUserStateException", "UserImportInProgressException", "UserLambdaValidationException", "UserNotConfirmedException", "UserNotFoundException", "UserPoolAddOnNotEnabledException", "UserPoolTaggingException", "UsernameExistsException", "WebAuthnChallengeNotFoundException", "WebAuthnClientMismatchException", "WebAuthnConfigurationMissingException", "WebAuthnCredentialNotSupportedException", "WebAuthnNotEnabledException", "WebAuthnOriginNotAllowedException", "WebAuthnRelyingPartyMismatchException"];
|
|
1
|
+
import type { AccessDeniedException, AliasExistsException, CodeDeliveryFailureException, CodeMismatchException, ConcurrentModificationException, DeviceKeyExistsException, DuplicateProviderException, EnableSoftwareTokenMFAException, ExpiredCodeException, FeatureUnavailableInTierException, ForbiddenException, GroupExistsException, InternalErrorException, InternalServerException, InvalidEmailRoleAccessPolicyException, InvalidLambdaResponseException, InvalidOAuthFlowException, InvalidParameterException, InvalidPasswordException, InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, InvalidUserPoolConfigurationException, LimitExceededException, ManagedLoginBrandingExistsException, MFAMethodNotFoundException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, PreconditionNotMetException, RefreshTokenReuseException, ResourceNotFoundException, ScopeDoesNotExistException, SoftwareTokenMFANotFoundException, TermsExistsException, TierChangeNotAllowedException, TooManyFailedAttemptsException, TooManyRequestsException, UnauthorizedException, UnexpectedLambdaException, UnsupportedIdentityProviderException, UnsupportedOperationException, UnsupportedTokenTypeException, UnsupportedUserStateException, UserImportInProgressException, UserLambdaValidationException, UsernameExistsException, UserNotConfirmedException, UserNotFoundException, UserPoolAddOnNotEnabledException, UserPoolTaggingException, WebAuthnChallengeNotFoundException, WebAuthnClientMismatchException, WebAuthnConfigurationMissingException, WebAuthnCredentialNotSupportedException, WebAuthnNotEnabledException, WebAuthnOriginNotAllowedException, WebAuthnRelyingPartyMismatchException } from "@aws-sdk/client-cognito-identity-provider";
|
|
2
|
+
import type { TaggedException } from "@effect-aws/commons/Errors";
|
|
3
|
+
export declare const AllServiceErrors: readonly ["AccessDeniedException", "AliasExistsException", "CodeDeliveryFailureException", "CodeMismatchException", "ConcurrentModificationException", "DeviceKeyExistsException", "DuplicateProviderException", "EnableSoftwareTokenMFAException", "ExpiredCodeException", "FeatureUnavailableInTierException", "ForbiddenException", "GroupExistsException", "InternalErrorException", "InternalServerException", "InvalidEmailRoleAccessPolicyException", "InvalidLambdaResponseException", "InvalidOAuthFlowException", "InvalidParameterException", "InvalidPasswordException", "InvalidSmsRoleAccessPolicyException", "InvalidSmsRoleTrustRelationshipException", "InvalidUserPoolConfigurationException", "LimitExceededException", "MFAMethodNotFoundException", "ManagedLoginBrandingExistsException", "NotAuthorizedException", "PasswordHistoryPolicyViolationException", "PasswordResetRequiredException", "PreconditionNotMetException", "RefreshTokenReuseException", "ResourceNotFoundException", "ScopeDoesNotExistException", "SoftwareTokenMFANotFoundException", "TermsExistsException", "TierChangeNotAllowedException", "TooManyFailedAttemptsException", "TooManyRequestsException", "UnauthorizedException", "UnexpectedLambdaException", "UnsupportedIdentityProviderException", "UnsupportedOperationException", "UnsupportedTokenTypeException", "UnsupportedUserStateException", "UserImportInProgressException", "UserLambdaValidationException", "UserNotConfirmedException", "UserNotFoundException", "UserPoolAddOnNotEnabledException", "UserPoolTaggingException", "UsernameExistsException", "WebAuthnChallengeNotFoundException", "WebAuthnClientMismatchException", "WebAuthnConfigurationMissingException", "WebAuthnCredentialNotSupportedException", "WebAuthnNotEnabledException", "WebAuthnOriginNotAllowedException", "WebAuthnRelyingPartyMismatchException"];
|
|
4
|
+
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
4
5
|
export type AliasExistsError = TaggedException<AliasExistsException>;
|
|
5
6
|
export type CodeDeliveryFailureError = TaggedException<CodeDeliveryFailureException>;
|
|
6
7
|
export type CodeMismatchError = TaggedException<CodeMismatchException>;
|
|
@@ -13,6 +14,7 @@ export type FeatureUnavailableInTierError = TaggedException<FeatureUnavailableIn
|
|
|
13
14
|
export type ForbiddenError = TaggedException<ForbiddenException>;
|
|
14
15
|
export type GroupExistsError = TaggedException<GroupExistsException>;
|
|
15
16
|
export type InternalError = TaggedException<InternalErrorException>;
|
|
17
|
+
export type InternalServerError = TaggedException<InternalServerException>;
|
|
16
18
|
export type InvalidEmailRoleAccessPolicyError = TaggedException<InvalidEmailRoleAccessPolicyException>;
|
|
17
19
|
export type InvalidLambdaResponseError = TaggedException<InvalidLambdaResponseException>;
|
|
18
20
|
export type InvalidOAuthFlowError = TaggedException<InvalidOAuthFlowException>;
|
package/dist/dts/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,qBAAqB,EACrB,+BAA+B,EAC/B,wBAAwB,EACxB,0BAA0B,EAC1B,+BAA+B,EAC/B,oBAAoB,EACpB,iCAAiC,EACjC,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,qCAAqC,EACrC,8BAA8B,EAC9B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,mCAAmC,EACnC,wCAAwC,EACxC,qCAAqC,EACrC,sBAAsB,EACtB,mCAAmC,EACnC,0BAA0B,EAC1B,sBAAsB,EACtB,uCAAuC,EACvC,8BAA8B,EAC9B,2BAA2B,EAC3B,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,EAC1B,iCAAiC,EACjC,oBAAoB,EACpB,6BAA6B,EAC7B,8BAA8B,EAC9B,wBAAwB,EACxB,qBAAqB,EACrB,yBAAyB,EACzB,oCAAoC,EACpC,6BAA6B,EAC7B,6BAA6B,EAC7B,6BAA6B,EAC7B,6BAA6B,EAC7B,6BAA6B,EAC7B,uBAAuB,EACvB,yBAAyB,EACzB,qBAAqB,EACrB,gCAAgC,EAChC,wBAAwB,EACxB,kCAAkC,EAClC,+BAA+B,EAC/B,qCAAqC,EACrC,uCAAuC,EACvC,2BAA2B,EAC3B,iCAAiC,EACjC,qCAAqC,EACtC,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,4BAA4B,EAC5B,qBAAqB,EACrB,+BAA+B,EAC/B,wBAAwB,EACxB,0BAA0B,EAC1B,+BAA+B,EAC/B,oBAAoB,EACpB,iCAAiC,EACjC,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,qCAAqC,EACrC,8BAA8B,EAC9B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,mCAAmC,EACnC,wCAAwC,EACxC,qCAAqC,EACrC,sBAAsB,EACtB,mC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E,MAAM,MAAM,4BAA4B,GAAG,eAAe,CAAC,gCAAgC,CAAC,CAAC;AAC7F,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,8BAA8B,GAAG,eAAe,CAAC,kCAAkC,CAAC,CAAC;AACjG,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,iCAAiC,GAAG,eAAe,CAAC,qCAAqC,CAAC,CAAC;AACvG,MAAM,MAAM,mCAAmC,GAAG,eAAe,CAAC,uCAAuC,CAAC,CAAC;AAC3G,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AACnF,MAAM,MAAM,6BAA6B,GAAG,eAAe,CAAC,iCAAiC,CAAC,CAAC;AAC/F,MAAM,MAAM,iCAAiC,GAAG,eAAe,CAAC,qCAAqC,CAAC,CAAC;AACvG,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { CognitoIdentityProviderClient } from "@aws-sdk/client-cognito-identity-provider";
|
|
5
|
-
import
|
|
5
|
+
import * as Context from "effect/Context";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Layer from "effect/Layer";
|
|
6
8
|
import * as CognitoIdentityProviderServiceConfig from "./CognitoIdentityProviderServiceConfig.js";
|
|
7
9
|
/**
|
|
8
10
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitoIdentityProviderClientInstance.js","sourceRoot":"","sources":["../../src/CognitoIdentityProviderClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,
|
|
1
|
+
{"version":3,"file":"CognitoIdentityProviderClientInstance.js","sourceRoot":"","sources":["../../src/CognitoIdentityProviderClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,oCAAoC,MAAM,2CAA2C,CAAC;AAElG;;;GAGG;AACH,MAAM,OAAO,qCAAsC,SAAQ,OAAO,CAAC,GAAG,CACpE,oFAAoF,CACrF,EAAwE;CAAG;AAE5E;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,oCAAoC,CAAC,qCAAqC,EAC1E,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,6BAA6B,CAAC,MAAM,CAAC,CAAC,EAC5D,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,qCAAqC,EAAE,IAAI,CAAC,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { AddCustomAttributesCommand, AdminAddUserToGroupCommand, AdminConfirmSignUpCommand, AdminCreateUserCommand, AdminDeleteUserAttributesCommand, AdminDeleteUserCommand, AdminDisableProviderForUserCommand, AdminDisableUserCommand, AdminEnableUserCommand, AdminForgetDeviceCommand, AdminGetDeviceCommand, AdminGetUserCommand, AdminInitiateAuthCommand, AdminLinkProviderForUserCommand, AdminListDevicesCommand, AdminListGroupsForUserCommand, AdminListUserAuthEventsCommand, AdminRemoveUserFromGroupCommand, AdminResetUserPasswordCommand, AdminRespondToAuthChallengeCommand, AdminSetUserMFAPreferenceCommand, AdminSetUserPasswordCommand, AdminSetUserSettingsCommand, AdminUpdateAuthEventFeedbackCommand, AdminUpdateDeviceStatusCommand, AdminUpdateUserAttributesCommand, AdminUserGlobalSignOutCommand, AssociateSoftwareTokenCommand, ChangePasswordCommand, CompleteWebAuthnRegistrationCommand, ConfirmDeviceCommand, ConfirmForgotPasswordCommand, ConfirmSignUpCommand, CreateGroupCommand, CreateIdentityProviderCommand, CreateManagedLoginBrandingCommand, CreateResourceServerCommand, CreateTermsCommand, CreateUserImportJobCommand, CreateUserPoolClientCommand, CreateUserPoolCommand, CreateUserPoolDomainCommand, DeleteGroupCommand, DeleteIdentityProviderCommand, DeleteManagedLoginBrandingCommand, DeleteResourceServerCommand, DeleteTermsCommand, DeleteUserAttributesCommand, DeleteUserCommand, DeleteUserPoolClientCommand, DeleteUserPoolCommand, DeleteUserPoolDomainCommand, DeleteWebAuthnCredentialCommand, DescribeIdentityProviderCommand, DescribeManagedLoginBrandingByClientCommand, DescribeManagedLoginBrandingCommand, DescribeResourceServerCommand, DescribeRiskConfigurationCommand, DescribeTermsCommand, DescribeUserImportJobCommand, DescribeUserPoolClientCommand, DescribeUserPoolCommand, DescribeUserPoolDomainCommand, ForgetDeviceCommand, ForgotPasswordCommand, GetCSVHeaderCommand, GetDeviceCommand, GetGroupCommand, GetIdentityProviderByIdentifierCommand, GetLogDeliveryConfigurationCommand, GetSigningCertificateCommand, GetTokensFromRefreshTokenCommand, GetUICustomizationCommand, GetUserAttributeVerificationCodeCommand, GetUserAuthFactorsCommand, GetUserCommand, GetUserPoolMfaConfigCommand, GlobalSignOutCommand, InitiateAuthCommand, ListDevicesCommand, ListGroupsCommand, ListIdentityProvidersCommand, ListResourceServersCommand, ListTagsForResourceCommand, ListTermsCommand, ListUserImportJobsCommand, ListUserPoolClientsCommand, ListUserPoolsCommand, ListUsersCommand, ListUsersInGroupCommand, ListWebAuthnCredentialsCommand, ResendConfirmationCodeCommand, RespondToAuthChallengeCommand, RevokeTokenCommand, SetLogDeliveryConfigurationCommand, SetRiskConfigurationCommand, SetUICustomizationCommand, SetUserMFAPreferenceCommand, SetUserPoolMfaConfigCommand, SetUserSettingsCommand, SignUpCommand, StartUserImportJobCommand, StartWebAuthnRegistrationCommand, StopUserImportJobCommand, TagResourceCommand, UntagResourceCommand, UpdateAuthEventFeedbackCommand, UpdateDeviceStatusCommand, UpdateGroupCommand, UpdateIdentityProviderCommand, UpdateManagedLoginBrandingCommand, UpdateResourceServerCommand, UpdateTermsCommand, UpdateUserAttributesCommand, UpdateUserPoolClientCommand, UpdateUserPoolCommand, UpdateUserPoolDomainCommand, VerifySoftwareTokenCommand, VerifyUserAttributeCommand, } from "@aws-sdk/client-cognito-identity-provider";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
4
|
+
import { AddCustomAttributesCommand, AddUserPoolClientSecretCommand, AdminAddUserToGroupCommand, AdminConfirmSignUpCommand, AdminCreateUserCommand, AdminDeleteUserAttributesCommand, AdminDeleteUserCommand, AdminDisableProviderForUserCommand, AdminDisableUserCommand, AdminEnableUserCommand, AdminForgetDeviceCommand, AdminGetDeviceCommand, AdminGetUserCommand, AdminInitiateAuthCommand, AdminLinkProviderForUserCommand, AdminListDevicesCommand, AdminListGroupsForUserCommand, AdminListUserAuthEventsCommand, AdminRemoveUserFromGroupCommand, AdminResetUserPasswordCommand, AdminRespondToAuthChallengeCommand, AdminSetUserMFAPreferenceCommand, AdminSetUserPasswordCommand, AdminSetUserSettingsCommand, AdminUpdateAuthEventFeedbackCommand, AdminUpdateDeviceStatusCommand, AdminUpdateUserAttributesCommand, AdminUserGlobalSignOutCommand, AssociateSoftwareTokenCommand, ChangePasswordCommand, CompleteWebAuthnRegistrationCommand, ConfirmDeviceCommand, ConfirmForgotPasswordCommand, ConfirmSignUpCommand, CreateGroupCommand, CreateIdentityProviderCommand, CreateManagedLoginBrandingCommand, CreateResourceServerCommand, CreateTermsCommand, CreateUserImportJobCommand, CreateUserPoolClientCommand, CreateUserPoolCommand, CreateUserPoolDomainCommand, DeleteGroupCommand, DeleteIdentityProviderCommand, DeleteManagedLoginBrandingCommand, DeleteResourceServerCommand, DeleteTermsCommand, DeleteUserAttributesCommand, DeleteUserCommand, DeleteUserPoolClientCommand, DeleteUserPoolClientSecretCommand, DeleteUserPoolCommand, DeleteUserPoolDomainCommand, DeleteWebAuthnCredentialCommand, DescribeIdentityProviderCommand, DescribeManagedLoginBrandingByClientCommand, DescribeManagedLoginBrandingCommand, DescribeResourceServerCommand, DescribeRiskConfigurationCommand, DescribeTermsCommand, DescribeUserImportJobCommand, DescribeUserPoolClientCommand, DescribeUserPoolCommand, DescribeUserPoolDomainCommand, ForgetDeviceCommand, ForgotPasswordCommand, GetCSVHeaderCommand, GetDeviceCommand, GetGroupCommand, GetIdentityProviderByIdentifierCommand, GetLogDeliveryConfigurationCommand, GetSigningCertificateCommand, GetTokensFromRefreshTokenCommand, GetUICustomizationCommand, GetUserAttributeVerificationCodeCommand, GetUserAuthFactorsCommand, GetUserCommand, GetUserPoolMfaConfigCommand, GlobalSignOutCommand, InitiateAuthCommand, ListDevicesCommand, ListGroupsCommand, ListIdentityProvidersCommand, ListResourceServersCommand, ListTagsForResourceCommand, ListTermsCommand, ListUserImportJobsCommand, ListUserPoolClientsCommand, ListUserPoolClientSecretsCommand, ListUserPoolsCommand, ListUsersCommand, ListUsersInGroupCommand, ListWebAuthnCredentialsCommand, paginateAdminListGroupsForUser, paginateAdminListUserAuthEvents, paginateListGroups, paginateListIdentityProviders, paginateListResourceServers, paginateListUserPoolClients, paginateListUserPools, paginateListUsers, paginateListUsersInGroup, ResendConfirmationCodeCommand, RespondToAuthChallengeCommand, RevokeTokenCommand, SetLogDeliveryConfigurationCommand, SetRiskConfigurationCommand, SetUICustomizationCommand, SetUserMFAPreferenceCommand, SetUserPoolMfaConfigCommand, SetUserSettingsCommand, SignUpCommand, StartUserImportJobCommand, StartWebAuthnRegistrationCommand, StopUserImportJobCommand, TagResourceCommand, UntagResourceCommand, UpdateAuthEventFeedbackCommand, UpdateDeviceStatusCommand, UpdateGroupCommand, UpdateIdentityProviderCommand, UpdateManagedLoginBrandingCommand, UpdateResourceServerCommand, UpdateTermsCommand, UpdateUserAttributesCommand, UpdateUserPoolClientCommand, UpdateUserPoolCommand, UpdateUserPoolDomainCommand, VerifySoftwareTokenCommand, VerifyUserAttributeCommand, } from "@aws-sdk/client-cognito-identity-provider";
|
|
5
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Layer from "effect/Layer";
|
|
7
8
|
import * as Instance from "./CognitoIdentityProviderClientInstance.js";
|
|
8
9
|
import * as CognitoIdentityProviderServiceConfig from "./CognitoIdentityProviderServiceConfig.js";
|
|
9
10
|
import { AllServiceErrors } from "./Errors.js";
|
|
10
11
|
const commands = {
|
|
11
12
|
AddCustomAttributesCommand,
|
|
13
|
+
AddUserPoolClientSecretCommand,
|
|
12
14
|
AdminAddUserToGroupCommand,
|
|
13
15
|
AdminConfirmSignUpCommand,
|
|
14
16
|
AdminCreateUserCommand,
|
|
@@ -59,6 +61,7 @@ const commands = {
|
|
|
59
61
|
DeleteUserAttributesCommand,
|
|
60
62
|
DeleteUserPoolCommand,
|
|
61
63
|
DeleteUserPoolClientCommand,
|
|
64
|
+
DeleteUserPoolClientSecretCommand,
|
|
62
65
|
DeleteUserPoolDomainCommand,
|
|
63
66
|
DeleteWebAuthnCredentialCommand,
|
|
64
67
|
DescribeIdentityProviderCommand,
|
|
@@ -94,6 +97,7 @@ const commands = {
|
|
|
94
97
|
ListTagsForResourceCommand,
|
|
95
98
|
ListTermsCommand,
|
|
96
99
|
ListUserImportJobsCommand,
|
|
100
|
+
ListUserPoolClientSecretsCommand,
|
|
97
101
|
ListUserPoolClientsCommand,
|
|
98
102
|
ListUserPoolsCommand,
|
|
99
103
|
ListUsersCommand,
|
|
@@ -128,6 +132,17 @@ const commands = {
|
|
|
128
132
|
VerifySoftwareTokenCommand,
|
|
129
133
|
VerifyUserAttributeCommand,
|
|
130
134
|
};
|
|
135
|
+
const paginators = {
|
|
136
|
+
paginateAdminListGroupsForUser,
|
|
137
|
+
paginateAdminListUserAuthEvents,
|
|
138
|
+
paginateListGroups,
|
|
139
|
+
paginateListIdentityProviders,
|
|
140
|
+
paginateListResourceServers,
|
|
141
|
+
paginateListUserPoolClients,
|
|
142
|
+
paginateListUserPools,
|
|
143
|
+
paginateListUsers,
|
|
144
|
+
paginateListUsersInGroup,
|
|
145
|
+
};
|
|
131
146
|
/**
|
|
132
147
|
* @since 1.0.0
|
|
133
148
|
* @category constructors
|
|
@@ -137,7 +152,7 @@ export const makeCognitoIdentityProviderService = Effect.gen(function* () {
|
|
|
137
152
|
return yield* Service.fromClientAndCommands(client, commands, {
|
|
138
153
|
errorTags: AllServiceErrors,
|
|
139
154
|
resolveClientConfig: CognitoIdentityProviderServiceConfig.toCognitoIdentityProviderClientConfig,
|
|
140
|
-
});
|
|
155
|
+
}, paginators);
|
|
141
156
|
});
|
|
142
157
|
/**
|
|
143
158
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitoIdentityProviderService.js","sourceRoot":"","sources":["../../src/CognitoIdentityProviderService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,0BAA0B,EAG1B,0BAA0B,EAG1B,yBAAyB,EAGzB,sBAAsB,EAGtB,gCAAgC,EAGhC,sBAAsB,EAGtB,kCAAkC,EAGlC,uBAAuB,EAGvB,sBAAsB,EAGtB,wBAAwB,EAGxB,qBAAqB,EAGrB,mBAAmB,EAGnB,wBAAwB,EAGxB,+BAA+B,E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ger from "@effect-aws/commons/ServiceLogger";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import * as FiberRef from "effect/FiberRef";
|
|
3
4
|
import { dual } from "effect/Function";
|
|
4
5
|
import { globalValue } from "effect/GlobalValue";
|
|
6
|
+
import * as Layer from "effect/Layer";
|
|
5
7
|
/**
|
|
6
8
|
* @since 1.0.0
|
|
7
9
|
* @category cognito-identity-provider service config
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitoIdentityProviderServiceConfig.js","sourceRoot":"","sources":["../../src/CognitoIdentityProviderServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"CognitoIdentityProviderServiceConfig.js","sourceRoot":"","sources":["../../src/CognitoIdentityProviderServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAGtC;;;GAGG;AACH,MAAM,2CAA2C,GAAG,WAAW,CAC7D,0FAA0F,EAC1F,GAAG,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAwC,EAAE,CAAC,CACrE,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAGjD,IAAI,CACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAA6C,EAA0B,EAAE,CACjH,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,2CAA2C,EAAE,MAAM,CAAC,CAC9E,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,MAA6C,EAAE,EAAE,CACvG,KAAK,CAAC,aAAa,CAAC,2CAA2C,EAAE,MAAM,CAAC,CAAC;AAE3E;;;GAGG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAuD,MAAM,CAAC,GAAG,CACjH,QAAQ,CAAC;IACP,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,2CAA2C,CAAC,CAAC;IAE9G,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CACF,CAAC"}
|
package/dist/esm/Errors.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export const AllServiceErrors = [
|
|
2
|
+
"AccessDeniedException",
|
|
2
3
|
"AliasExistsException",
|
|
3
4
|
"CodeDeliveryFailureException",
|
|
4
5
|
"CodeMismatchException",
|
|
@@ -11,6 +12,7 @@ export const AllServiceErrors = [
|
|
|
11
12
|
"ForbiddenException",
|
|
12
13
|
"GroupExistsException",
|
|
13
14
|
"InternalErrorException",
|
|
15
|
+
"InternalServerException",
|
|
14
16
|
"InvalidEmailRoleAccessPolicyException",
|
|
15
17
|
"InvalidLambdaResponseException",
|
|
16
18
|
"InvalidOAuthFlowException",
|
package/dist/esm/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AA6DA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,sBAAsB;IACtB,8BAA8B;IAC9B,uBAAuB;IACvB,iCAAiC;IACjC,0BAA0B;IAC1B,4BAA4B;IAC5B,iCAAiC;IACjC,sBAAsB;IACtB,mCAAmC;IACnC,oBAAoB;IACpB,sBAAsB;IACtB,wBAAwB;IACxB,yBAAyB;IACzB,uCAAuC;IACvC,gCAAgC;IAChC,2BAA2B;IAC3B,2BAA2B;IAC3B,0BAA0B;IAC1B,qCAAqC;IACrC,0CAA0C;IAC1C,uCAAuC;IACvC,wBAAwB;IACxB,4BAA4B;IAC5B,qCAAqC;IACrC,wBAAwB;IACxB,yCAAyC;IACzC,gCAAgC;IAChC,6BAA6B;IAC7B,4BAA4B;IAC5B,2BAA2B;IAC3B,4BAA4B;IAC5B,mCAAmC;IACnC,sBAAsB;IACtB,+BAA+B;IAC/B,gCAAgC;IAChC,0BAA0B;IAC1B,uBAAuB;IACvB,2BAA2B;IAC3B,sCAAsC;IACtC,+BAA+B;IAC/B,+BAA+B;IAC/B,+BAA+B;IAC/B,+BAA+B;IAC/B,+BAA+B;IAC/B,2BAA2B;IAC3B,uBAAuB;IACvB,kCAAkC;IAClC,0BAA0B;IAC1B,yBAAyB;IACzB,oCAAoC;IACpC,iCAAiC;IACjC,uCAAuC;IACvC,yCAAyC;IACzC,6BAA6B;IAC7B,mCAAmC;IACnC,uCAAuC;CAC/B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-cognito-identity-provider",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "Effectful AWS Cognito Identity Provider client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-cognito-identity-provider",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-cognito-identity-provider": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^0.4.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=3.0.4 <4.0.0"
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { CognitoIdentityProviderClient } from "@aws-sdk/client-cognito-identity-provider";
|
|
5
|
-
import
|
|
5
|
+
import * as Context from "effect/Context";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Layer from "effect/Layer";
|
|
6
8
|
import * as CognitoIdentityProviderServiceConfig from "./CognitoIdentityProviderServiceConfig.js";
|
|
7
9
|
|
|
8
10
|
/**
|
|
@@ -5,6 +5,9 @@ import {
|
|
|
5
5
|
AddCustomAttributesCommand,
|
|
6
6
|
type AddCustomAttributesCommandInput,
|
|
7
7
|
type AddCustomAttributesCommandOutput,
|
|
8
|
+
AddUserPoolClientSecretCommand,
|
|
9
|
+
type AddUserPoolClientSecretCommandInput,
|
|
10
|
+
type AddUserPoolClientSecretCommandOutput,
|
|
8
11
|
AdminAddUserToGroupCommand,
|
|
9
12
|
type AdminAddUserToGroupCommandInput,
|
|
10
13
|
type AdminAddUserToGroupCommandOutput,
|
|
@@ -154,6 +157,9 @@ import {
|
|
|
154
157
|
DeleteUserPoolClientCommand,
|
|
155
158
|
type DeleteUserPoolClientCommandInput,
|
|
156
159
|
type DeleteUserPoolClientCommandOutput,
|
|
160
|
+
DeleteUserPoolClientSecretCommand,
|
|
161
|
+
type DeleteUserPoolClientSecretCommandInput,
|
|
162
|
+
type DeleteUserPoolClientSecretCommandOutput,
|
|
157
163
|
DeleteUserPoolCommand,
|
|
158
164
|
type DeleteUserPoolCommandInput,
|
|
159
165
|
type DeleteUserPoolCommandOutput,
|
|
@@ -265,6 +271,9 @@ import {
|
|
|
265
271
|
ListUserPoolClientsCommand,
|
|
266
272
|
type ListUserPoolClientsCommandInput,
|
|
267
273
|
type ListUserPoolClientsCommandOutput,
|
|
274
|
+
ListUserPoolClientSecretsCommand,
|
|
275
|
+
type ListUserPoolClientSecretsCommandInput,
|
|
276
|
+
type ListUserPoolClientSecretsCommandOutput,
|
|
268
277
|
ListUserPoolsCommand,
|
|
269
278
|
type ListUserPoolsCommandInput,
|
|
270
279
|
type ListUserPoolsCommandOutput,
|
|
@@ -277,6 +286,15 @@ import {
|
|
|
277
286
|
ListWebAuthnCredentialsCommand,
|
|
278
287
|
type ListWebAuthnCredentialsCommandInput,
|
|
279
288
|
type ListWebAuthnCredentialsCommandOutput,
|
|
289
|
+
paginateAdminListGroupsForUser,
|
|
290
|
+
paginateAdminListUserAuthEvents,
|
|
291
|
+
paginateListGroups,
|
|
292
|
+
paginateListIdentityProviders,
|
|
293
|
+
paginateListResourceServers,
|
|
294
|
+
paginateListUserPoolClients,
|
|
295
|
+
paginateListUserPools,
|
|
296
|
+
paginateListUsers,
|
|
297
|
+
paginateListUsersInGroup,
|
|
280
298
|
ResendConfirmationCodeCommand,
|
|
281
299
|
type ResendConfirmationCodeCommandInput,
|
|
282
300
|
type ResendConfirmationCodeCommandOutput,
|
|
@@ -362,13 +380,17 @@ import {
|
|
|
362
380
|
type VerifyUserAttributeCommandInput,
|
|
363
381
|
type VerifyUserAttributeCommandOutput,
|
|
364
382
|
} from "@aws-sdk/client-cognito-identity-provider";
|
|
365
|
-
import
|
|
366
|
-
import
|
|
367
|
-
import type {
|
|
368
|
-
import
|
|
383
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
384
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
385
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
386
|
+
import type * as Cause from "effect/Cause";
|
|
387
|
+
import * as Effect from "effect/Effect";
|
|
388
|
+
import * as Layer from "effect/Layer";
|
|
389
|
+
import type * as Stream from "effect/Stream";
|
|
369
390
|
import * as Instance from "./CognitoIdentityProviderClientInstance.js";
|
|
370
391
|
import * as CognitoIdentityProviderServiceConfig from "./CognitoIdentityProviderServiceConfig.js";
|
|
371
392
|
import type {
|
|
393
|
+
AccessDeniedError,
|
|
372
394
|
AliasExistsError,
|
|
373
395
|
CodeDeliveryFailureError,
|
|
374
396
|
CodeMismatchError,
|
|
@@ -381,6 +403,7 @@ import type {
|
|
|
381
403
|
ForbiddenError,
|
|
382
404
|
GroupExistsError,
|
|
383
405
|
InternalError,
|
|
406
|
+
InternalServerError,
|
|
384
407
|
InvalidEmailRoleAccessPolicyError,
|
|
385
408
|
InvalidLambdaResponseError,
|
|
386
409
|
InvalidOAuthFlowError,
|
|
@@ -430,6 +453,7 @@ import { AllServiceErrors } from "./Errors.js";
|
|
|
430
453
|
|
|
431
454
|
const commands = {
|
|
432
455
|
AddCustomAttributesCommand,
|
|
456
|
+
AddUserPoolClientSecretCommand,
|
|
433
457
|
AdminAddUserToGroupCommand,
|
|
434
458
|
AdminConfirmSignUpCommand,
|
|
435
459
|
AdminCreateUserCommand,
|
|
@@ -480,6 +504,7 @@ const commands = {
|
|
|
480
504
|
DeleteUserAttributesCommand,
|
|
481
505
|
DeleteUserPoolCommand,
|
|
482
506
|
DeleteUserPoolClientCommand,
|
|
507
|
+
DeleteUserPoolClientSecretCommand,
|
|
483
508
|
DeleteUserPoolDomainCommand,
|
|
484
509
|
DeleteWebAuthnCredentialCommand,
|
|
485
510
|
DescribeIdentityProviderCommand,
|
|
@@ -515,6 +540,7 @@ const commands = {
|
|
|
515
540
|
ListTagsForResourceCommand,
|
|
516
541
|
ListTermsCommand,
|
|
517
542
|
ListUserImportJobsCommand,
|
|
543
|
+
ListUserPoolClientSecretsCommand,
|
|
518
544
|
ListUserPoolClientsCommand,
|
|
519
545
|
ListUserPoolsCommand,
|
|
520
546
|
ListUsersCommand,
|
|
@@ -550,6 +576,18 @@ const commands = {
|
|
|
550
576
|
VerifyUserAttributeCommand,
|
|
551
577
|
};
|
|
552
578
|
|
|
579
|
+
const paginators = {
|
|
580
|
+
paginateAdminListGroupsForUser,
|
|
581
|
+
paginateAdminListUserAuthEvents,
|
|
582
|
+
paginateListGroups,
|
|
583
|
+
paginateListIdentityProviders,
|
|
584
|
+
paginateListResourceServers,
|
|
585
|
+
paginateListUserPoolClients,
|
|
586
|
+
paginateListUserPools,
|
|
587
|
+
paginateListUsers,
|
|
588
|
+
paginateListUsersInGroup,
|
|
589
|
+
};
|
|
590
|
+
|
|
553
591
|
interface CognitoIdentityProviderService$ {
|
|
554
592
|
readonly _: unique symbol;
|
|
555
593
|
|
|
@@ -571,6 +609,24 @@ interface CognitoIdentityProviderService$ {
|
|
|
571
609
|
| UserImportInProgressError
|
|
572
610
|
>;
|
|
573
611
|
|
|
612
|
+
/**
|
|
613
|
+
* @see {@link AddUserPoolClientSecretCommand}
|
|
614
|
+
*/
|
|
615
|
+
addUserPoolClientSecret(
|
|
616
|
+
args: AddUserPoolClientSecretCommandInput,
|
|
617
|
+
options?: HttpHandlerOptions,
|
|
618
|
+
): Effect.Effect<
|
|
619
|
+
AddUserPoolClientSecretCommandOutput,
|
|
620
|
+
| Cause.TimeoutException
|
|
621
|
+
| SdkError
|
|
622
|
+
| AccessDeniedError
|
|
623
|
+
| InternalServerError
|
|
624
|
+
| InvalidParameterError
|
|
625
|
+
| LimitExceededError
|
|
626
|
+
| ResourceNotFoundError
|
|
627
|
+
| TooManyRequestsError
|
|
628
|
+
>;
|
|
629
|
+
|
|
574
630
|
/**
|
|
575
631
|
* @see {@link AdminAddUserToGroupCommand}
|
|
576
632
|
*/
|
|
@@ -871,6 +927,21 @@ interface CognitoIdentityProviderService$ {
|
|
|
871
927
|
| UserNotFoundError
|
|
872
928
|
>;
|
|
873
929
|
|
|
930
|
+
adminListGroupsForUserStream(
|
|
931
|
+
args: AdminListGroupsForUserCommandInput,
|
|
932
|
+
options?: HttpHandlerOptions,
|
|
933
|
+
): Stream.Stream<
|
|
934
|
+
AdminListGroupsForUserCommandOutput,
|
|
935
|
+
| Cause.TimeoutException
|
|
936
|
+
| SdkError
|
|
937
|
+
| InternalError
|
|
938
|
+
| InvalidParameterError
|
|
939
|
+
| NotAuthorizedError
|
|
940
|
+
| ResourceNotFoundError
|
|
941
|
+
| TooManyRequestsError
|
|
942
|
+
| UserNotFoundError
|
|
943
|
+
>;
|
|
944
|
+
|
|
874
945
|
/**
|
|
875
946
|
* @see {@link AdminListUserAuthEventsCommand}
|
|
876
947
|
*/
|
|
@@ -890,6 +961,22 @@ interface CognitoIdentityProviderService$ {
|
|
|
890
961
|
| UserPoolAddOnNotEnabledError
|
|
891
962
|
>;
|
|
892
963
|
|
|
964
|
+
adminListUserAuthEventsStream(
|
|
965
|
+
args: AdminListUserAuthEventsCommandInput,
|
|
966
|
+
options?: HttpHandlerOptions,
|
|
967
|
+
): Stream.Stream<
|
|
968
|
+
AdminListUserAuthEventsCommandOutput,
|
|
969
|
+
| Cause.TimeoutException
|
|
970
|
+
| SdkError
|
|
971
|
+
| InternalError
|
|
972
|
+
| InvalidParameterError
|
|
973
|
+
| NotAuthorizedError
|
|
974
|
+
| ResourceNotFoundError
|
|
975
|
+
| TooManyRequestsError
|
|
976
|
+
| UserNotFoundError
|
|
977
|
+
| UserPoolAddOnNotEnabledError
|
|
978
|
+
>;
|
|
979
|
+
|
|
893
980
|
/**
|
|
894
981
|
* @see {@link AdminRemoveUserFromGroupCommand}
|
|
895
982
|
*/
|
|
@@ -1162,6 +1249,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
1162
1249
|
| InvalidParameterError
|
|
1163
1250
|
| LimitExceededError
|
|
1164
1251
|
| NotAuthorizedError
|
|
1252
|
+
| PasswordResetRequiredError
|
|
1165
1253
|
| TooManyRequestsError
|
|
1166
1254
|
| WebAuthnChallengeNotFoundError
|
|
1167
1255
|
| WebAuthnClientMismatchError
|
|
@@ -1598,6 +1686,23 @@ interface CognitoIdentityProviderService$ {
|
|
|
1598
1686
|
| TooManyRequestsError
|
|
1599
1687
|
>;
|
|
1600
1688
|
|
|
1689
|
+
/**
|
|
1690
|
+
* @see {@link DeleteUserPoolClientSecretCommand}
|
|
1691
|
+
*/
|
|
1692
|
+
deleteUserPoolClientSecret(
|
|
1693
|
+
args: DeleteUserPoolClientSecretCommandInput,
|
|
1694
|
+
options?: HttpHandlerOptions,
|
|
1695
|
+
): Effect.Effect<
|
|
1696
|
+
DeleteUserPoolClientSecretCommandOutput,
|
|
1697
|
+
| Cause.TimeoutException
|
|
1698
|
+
| SdkError
|
|
1699
|
+
| InternalServerError
|
|
1700
|
+
| InvalidParameterError
|
|
1701
|
+
| LimitExceededError
|
|
1702
|
+
| ResourceNotFoundError
|
|
1703
|
+
| TooManyRequestsError
|
|
1704
|
+
>;
|
|
1705
|
+
|
|
1601
1706
|
/**
|
|
1602
1707
|
* @see {@link DeleteUserPoolDomainCommand}
|
|
1603
1708
|
*/
|
|
@@ -1630,6 +1735,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
1630
1735
|
| InvalidParameterError
|
|
1631
1736
|
| LimitExceededError
|
|
1632
1737
|
| NotAuthorizedError
|
|
1738
|
+
| PasswordResetRequiredError
|
|
1633
1739
|
| ResourceNotFoundError
|
|
1634
1740
|
| TooManyRequestsError
|
|
1635
1741
|
>;
|
|
@@ -2171,6 +2277,20 @@ interface CognitoIdentityProviderService$ {
|
|
|
2171
2277
|
| TooManyRequestsError
|
|
2172
2278
|
>;
|
|
2173
2279
|
|
|
2280
|
+
listGroupsStream(
|
|
2281
|
+
args: ListGroupsCommandInput,
|
|
2282
|
+
options?: HttpHandlerOptions,
|
|
2283
|
+
): Stream.Stream<
|
|
2284
|
+
ListGroupsCommandOutput,
|
|
2285
|
+
| Cause.TimeoutException
|
|
2286
|
+
| SdkError
|
|
2287
|
+
| InternalError
|
|
2288
|
+
| InvalidParameterError
|
|
2289
|
+
| NotAuthorizedError
|
|
2290
|
+
| ResourceNotFoundError
|
|
2291
|
+
| TooManyRequestsError
|
|
2292
|
+
>;
|
|
2293
|
+
|
|
2174
2294
|
/**
|
|
2175
2295
|
* @see {@link ListIdentityProvidersCommand}
|
|
2176
2296
|
*/
|
|
@@ -2188,6 +2308,20 @@ interface CognitoIdentityProviderService$ {
|
|
|
2188
2308
|
| TooManyRequestsError
|
|
2189
2309
|
>;
|
|
2190
2310
|
|
|
2311
|
+
listIdentityProvidersStream(
|
|
2312
|
+
args: ListIdentityProvidersCommandInput,
|
|
2313
|
+
options?: HttpHandlerOptions,
|
|
2314
|
+
): Stream.Stream<
|
|
2315
|
+
ListIdentityProvidersCommandOutput,
|
|
2316
|
+
| Cause.TimeoutException
|
|
2317
|
+
| SdkError
|
|
2318
|
+
| InternalError
|
|
2319
|
+
| InvalidParameterError
|
|
2320
|
+
| NotAuthorizedError
|
|
2321
|
+
| ResourceNotFoundError
|
|
2322
|
+
| TooManyRequestsError
|
|
2323
|
+
>;
|
|
2324
|
+
|
|
2191
2325
|
/**
|
|
2192
2326
|
* @see {@link ListResourceServersCommand}
|
|
2193
2327
|
*/
|
|
@@ -2205,6 +2339,20 @@ interface CognitoIdentityProviderService$ {
|
|
|
2205
2339
|
| TooManyRequestsError
|
|
2206
2340
|
>;
|
|
2207
2341
|
|
|
2342
|
+
listResourceServersStream(
|
|
2343
|
+
args: ListResourceServersCommandInput,
|
|
2344
|
+
options?: HttpHandlerOptions,
|
|
2345
|
+
): Stream.Stream<
|
|
2346
|
+
ListResourceServersCommandOutput,
|
|
2347
|
+
| Cause.TimeoutException
|
|
2348
|
+
| SdkError
|
|
2349
|
+
| InternalError
|
|
2350
|
+
| InvalidParameterError
|
|
2351
|
+
| NotAuthorizedError
|
|
2352
|
+
| ResourceNotFoundError
|
|
2353
|
+
| TooManyRequestsError
|
|
2354
|
+
>;
|
|
2355
|
+
|
|
2208
2356
|
/**
|
|
2209
2357
|
* @see {@link ListTagsForResourceCommand}
|
|
2210
2358
|
*/
|
|
@@ -2256,6 +2404,23 @@ interface CognitoIdentityProviderService$ {
|
|
|
2256
2404
|
| TooManyRequestsError
|
|
2257
2405
|
>;
|
|
2258
2406
|
|
|
2407
|
+
/**
|
|
2408
|
+
* @see {@link ListUserPoolClientSecretsCommand}
|
|
2409
|
+
*/
|
|
2410
|
+
listUserPoolClientSecrets(
|
|
2411
|
+
args: ListUserPoolClientSecretsCommandInput,
|
|
2412
|
+
options?: HttpHandlerOptions,
|
|
2413
|
+
): Effect.Effect<
|
|
2414
|
+
ListUserPoolClientSecretsCommandOutput,
|
|
2415
|
+
| Cause.TimeoutException
|
|
2416
|
+
| SdkError
|
|
2417
|
+
| InternalServerError
|
|
2418
|
+
| InvalidParameterError
|
|
2419
|
+
| LimitExceededError
|
|
2420
|
+
| ResourceNotFoundError
|
|
2421
|
+
| TooManyRequestsError
|
|
2422
|
+
>;
|
|
2423
|
+
|
|
2259
2424
|
/**
|
|
2260
2425
|
* @see {@link ListUserPoolClientsCommand}
|
|
2261
2426
|
*/
|
|
@@ -2273,6 +2438,20 @@ interface CognitoIdentityProviderService$ {
|
|
|
2273
2438
|
| TooManyRequestsError
|
|
2274
2439
|
>;
|
|
2275
2440
|
|
|
2441
|
+
listUserPoolClientsStream(
|
|
2442
|
+
args: ListUserPoolClientsCommandInput,
|
|
2443
|
+
options?: HttpHandlerOptions,
|
|
2444
|
+
): Stream.Stream<
|
|
2445
|
+
ListUserPoolClientsCommandOutput,
|
|
2446
|
+
| Cause.TimeoutException
|
|
2447
|
+
| SdkError
|
|
2448
|
+
| InternalError
|
|
2449
|
+
| InvalidParameterError
|
|
2450
|
+
| NotAuthorizedError
|
|
2451
|
+
| ResourceNotFoundError
|
|
2452
|
+
| TooManyRequestsError
|
|
2453
|
+
>;
|
|
2454
|
+
|
|
2276
2455
|
/**
|
|
2277
2456
|
* @see {@link ListUserPoolsCommand}
|
|
2278
2457
|
*/
|
|
@@ -2289,6 +2468,19 @@ interface CognitoIdentityProviderService$ {
|
|
|
2289
2468
|
| TooManyRequestsError
|
|
2290
2469
|
>;
|
|
2291
2470
|
|
|
2471
|
+
listUserPoolsStream(
|
|
2472
|
+
args: ListUserPoolsCommandInput,
|
|
2473
|
+
options?: HttpHandlerOptions,
|
|
2474
|
+
): Stream.Stream<
|
|
2475
|
+
ListUserPoolsCommandOutput,
|
|
2476
|
+
| Cause.TimeoutException
|
|
2477
|
+
| SdkError
|
|
2478
|
+
| InternalError
|
|
2479
|
+
| InvalidParameterError
|
|
2480
|
+
| NotAuthorizedError
|
|
2481
|
+
| TooManyRequestsError
|
|
2482
|
+
>;
|
|
2483
|
+
|
|
2292
2484
|
/**
|
|
2293
2485
|
* @see {@link ListUsersCommand}
|
|
2294
2486
|
*/
|
|
@@ -2306,6 +2498,20 @@ interface CognitoIdentityProviderService$ {
|
|
|
2306
2498
|
| TooManyRequestsError
|
|
2307
2499
|
>;
|
|
2308
2500
|
|
|
2501
|
+
listUsersStream(
|
|
2502
|
+
args: ListUsersCommandInput,
|
|
2503
|
+
options?: HttpHandlerOptions,
|
|
2504
|
+
): Stream.Stream<
|
|
2505
|
+
ListUsersCommandOutput,
|
|
2506
|
+
| Cause.TimeoutException
|
|
2507
|
+
| SdkError
|
|
2508
|
+
| InternalError
|
|
2509
|
+
| InvalidParameterError
|
|
2510
|
+
| NotAuthorizedError
|
|
2511
|
+
| ResourceNotFoundError
|
|
2512
|
+
| TooManyRequestsError
|
|
2513
|
+
>;
|
|
2514
|
+
|
|
2309
2515
|
/**
|
|
2310
2516
|
* @see {@link ListUsersInGroupCommand}
|
|
2311
2517
|
*/
|
|
@@ -2323,6 +2529,20 @@ interface CognitoIdentityProviderService$ {
|
|
|
2323
2529
|
| TooManyRequestsError
|
|
2324
2530
|
>;
|
|
2325
2531
|
|
|
2532
|
+
listUsersInGroupStream(
|
|
2533
|
+
args: ListUsersInGroupCommandInput,
|
|
2534
|
+
options?: HttpHandlerOptions,
|
|
2535
|
+
): Stream.Stream<
|
|
2536
|
+
ListUsersInGroupCommandOutput,
|
|
2537
|
+
| Cause.TimeoutException
|
|
2538
|
+
| SdkError
|
|
2539
|
+
| InternalError
|
|
2540
|
+
| InvalidParameterError
|
|
2541
|
+
| NotAuthorizedError
|
|
2542
|
+
| ResourceNotFoundError
|
|
2543
|
+
| TooManyRequestsError
|
|
2544
|
+
>;
|
|
2545
|
+
|
|
2326
2546
|
/**
|
|
2327
2547
|
* @see {@link ListWebAuthnCredentialsCommand}
|
|
2328
2548
|
*/
|
|
@@ -2338,6 +2558,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
2338
2558
|
| InvalidParameterError
|
|
2339
2559
|
| LimitExceededError
|
|
2340
2560
|
| NotAuthorizedError
|
|
2561
|
+
| PasswordResetRequiredError
|
|
2341
2562
|
| TooManyRequestsError
|
|
2342
2563
|
>;
|
|
2343
2564
|
|
|
@@ -2599,6 +2820,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
2599
2820
|
| InvalidParameterError
|
|
2600
2821
|
| LimitExceededError
|
|
2601
2822
|
| NotAuthorizedError
|
|
2823
|
+
| PasswordResetRequiredError
|
|
2602
2824
|
| TooManyRequestsError
|
|
2603
2825
|
| WebAuthnConfigurationMissingError
|
|
2604
2826
|
| WebAuthnNotEnabledError
|
|
@@ -2948,6 +3170,7 @@ export const makeCognitoIdentityProviderService = Effect.gen(function*() {
|
|
|
2948
3170
|
errorTags: AllServiceErrors,
|
|
2949
3171
|
resolveClientConfig: CognitoIdentityProviderServiceConfig.toCognitoIdentityProviderClientConfig,
|
|
2950
3172
|
},
|
|
3173
|
+
paginators,
|
|
2951
3174
|
);
|
|
2952
3175
|
});
|
|
2953
3176
|
|