@effect-aws/client-cognito-identity-provider 1.0.1 → 1.2.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/CHANGELOG.md +12 -0
- package/README.md +13 -40
- package/lib/CognitoIdentityProviderService.d.ts +81 -18
- package/lib/CognitoIdentityProviderService.js +34 -10
- package/lib/Errors.d.ts +11 -1
- package/lib/Errors.js +11 -1
- package/lib/esm/CognitoIdentityProviderService.js +34 -10
- package/lib/esm/Errors.js +11 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @effect-aws/client-cognito-identity-provider
|
|
2
2
|
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b24f980`](https://github.com/floydspace/effect-aws/commit/b24f98045ee3383c54d1152054e5b77f01d5f5e3) Thanks [@floydspace](https://github.com/floydspace)! - update services
|
|
8
|
+
|
|
9
|
+
## 1.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#80](https://github.com/floydspace/effect-aws/pull/80) [`4b16fbe`](https://github.com/floydspace/effect-aws/commit/4b16fbebce8131df7798ee92f43cf6b7df3e907c) Thanks [@floydspace](https://github.com/floydspace)! - simplify layers configuration (closes #78)
|
|
14
|
+
|
|
3
15
|
## 1.0.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -14,13 +14,13 @@ npm install --save @effect-aws/client-cognito-identity-provider
|
|
|
14
14
|
With default CognitoIdentityProviderClient instance:
|
|
15
15
|
|
|
16
16
|
```typescript
|
|
17
|
-
import {
|
|
17
|
+
import { CognitoIdentityProvider } from "@effect-aws/client-cognito-identity-provider";
|
|
18
18
|
|
|
19
|
-
const program =
|
|
19
|
+
const program = CognitoIdentityProvider.listUserPools(args);
|
|
20
20
|
|
|
21
21
|
const result = pipe(
|
|
22
22
|
program,
|
|
23
|
-
Effect.provide(
|
|
23
|
+
Effect.provide(CognitoIdentityProvider.defaultLayer),
|
|
24
24
|
Effect.runPromise,
|
|
25
25
|
);
|
|
26
26
|
```
|
|
@@ -28,23 +28,15 @@ const result = pipe(
|
|
|
28
28
|
With custom CognitoIdentityProviderClient instance:
|
|
29
29
|
|
|
30
30
|
```typescript
|
|
31
|
-
import {
|
|
32
|
-
CognitoIdentityProviderService,
|
|
33
|
-
BaseCognitoIdentityProviderServiceLayer,
|
|
34
|
-
CognitoIdentityProviderClientInstance,
|
|
35
|
-
} from "@effect-aws/client-cognito-identity-provider";
|
|
31
|
+
import { CognitoIdentityProvider } from "@effect-aws/client-cognito-identity-provider";
|
|
36
32
|
|
|
37
|
-
const program =
|
|
38
|
-
|
|
39
|
-
const CognitoIdentityProviderClientInstanceLayer = Layer.succeed(
|
|
40
|
-
CognitoIdentityProviderClientInstance,
|
|
41
|
-
new CognitoIdentityProviderClient({ region: "eu-central-1" }),
|
|
42
|
-
);
|
|
33
|
+
const program = CognitoIdentityProvider.listUserPools(args);
|
|
43
34
|
|
|
44
35
|
const result = await pipe(
|
|
45
36
|
program,
|
|
46
|
-
Effect.provide(
|
|
47
|
-
|
|
37
|
+
Effect.provide(
|
|
38
|
+
CognitoIdentityProvider.baseLayer(() => new CognitoIdentityProviderClient({ region: "eu-central-1" })),
|
|
39
|
+
),
|
|
48
40
|
Effect.runPromise,
|
|
49
41
|
);
|
|
50
42
|
```
|
|
@@ -52,34 +44,15 @@ const result = await pipe(
|
|
|
52
44
|
With custom CognitoIdentityProviderClient configuration:
|
|
53
45
|
|
|
54
46
|
```typescript
|
|
55
|
-
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
DefaultCognitoIdentityProviderClientConfigLayer,
|
|
59
|
-
CognitoIdentityProviderClientInstance,
|
|
60
|
-
CognitoIdentityProviderClientInstanceConfig,
|
|
61
|
-
} from "@effect-aws/client-cognito-identity-provider";
|
|
62
|
-
|
|
63
|
-
const program = CognitoIdentityProviderService.listUserPools(args);
|
|
64
|
-
|
|
65
|
-
const CognitoIdentityProviderClientInstanceLayer = Layer.provide(
|
|
66
|
-
Layer.effect(
|
|
67
|
-
CognitoIdentityProviderClientInstance,
|
|
68
|
-
CognitoIdentityProviderClientInstanceConfig.pipe(
|
|
69
|
-
Effect.map(
|
|
70
|
-
(config) => new CognitoIdentityProviderClient({ ...config, region: "eu-central-1" }),
|
|
71
|
-
),
|
|
72
|
-
),
|
|
73
|
-
),
|
|
74
|
-
DefaultCognitoIdentityProviderClientConfigLayer,
|
|
75
|
-
);
|
|
47
|
+
import { CognitoIdentityProvider } from "@effect-aws/client-cognito-identity-provider";
|
|
48
|
+
|
|
49
|
+
const program = CognitoIdentityProvider.listUserPools(args);
|
|
76
50
|
|
|
77
51
|
const result = await pipe(
|
|
78
52
|
program,
|
|
79
|
-
Effect.provide(
|
|
80
|
-
Effect.provide(CognitoIdentityProviderClientInstanceLayer),
|
|
53
|
+
Effect.provide(CognitoIdentityProvider.layer({ region: "eu-central-1" })),
|
|
81
54
|
Effect.runPromiseExit,
|
|
82
55
|
);
|
|
83
56
|
```
|
|
84
57
|
|
|
85
|
-
or
|
|
58
|
+
or use `CognitoIdentityProvider.baseLayer((default) => new CognitoIdentityProviderClient({ ...default, region: "eu-central-1" }))`
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { type AddCustomAttributesCommandInput, type AddCustomAttributesCommandOutput, type AdminAddUserToGroupCommandInput, type AdminAddUserToGroupCommandOutput, type AdminConfirmSignUpCommandInput, type AdminConfirmSignUpCommandOutput, type AdminCreateUserCommandInput, type AdminCreateUserCommandOutput, type AdminDeleteUserCommandInput, type AdminDeleteUserCommandOutput, type AdminDeleteUserAttributesCommandInput, type AdminDeleteUserAttributesCommandOutput, type AdminDisableProviderForUserCommandInput, type AdminDisableProviderForUserCommandOutput, type AdminDisableUserCommandInput, type AdminDisableUserCommandOutput, type AdminEnableUserCommandInput, type AdminEnableUserCommandOutput, type AdminForgetDeviceCommandInput, type AdminForgetDeviceCommandOutput, type AdminGetDeviceCommandInput, type AdminGetDeviceCommandOutput, type AdminGetUserCommandInput, type AdminGetUserCommandOutput, type AdminInitiateAuthCommandInput, type AdminInitiateAuthCommandOutput, type AdminLinkProviderForUserCommandInput, type AdminLinkProviderForUserCommandOutput, type AdminListDevicesCommandInput, type AdminListDevicesCommandOutput, type AdminListGroupsForUserCommandInput, type AdminListGroupsForUserCommandOutput, type AdminListUserAuthEventsCommandInput, type AdminListUserAuthEventsCommandOutput, type AdminRemoveUserFromGroupCommandInput, type AdminRemoveUserFromGroupCommandOutput, type AdminResetUserPasswordCommandInput, type AdminResetUserPasswordCommandOutput, type AdminRespondToAuthChallengeCommandInput, type AdminRespondToAuthChallengeCommandOutput, type AdminSetUserMFAPreferenceCommandInput, type AdminSetUserMFAPreferenceCommandOutput, type AdminSetUserPasswordCommandInput, type AdminSetUserPasswordCommandOutput, type AdminSetUserSettingsCommandInput, type AdminSetUserSettingsCommandOutput, type AdminUpdateAuthEventFeedbackCommandInput, type AdminUpdateAuthEventFeedbackCommandOutput, type AdminUpdateDeviceStatusCommandInput, type AdminUpdateDeviceStatusCommandOutput, type AdminUpdateUserAttributesCommandInput, type AdminUpdateUserAttributesCommandOutput, type AdminUserGlobalSignOutCommandInput, type AdminUserGlobalSignOutCommandOutput, type AssociateSoftwareTokenCommandInput, type AssociateSoftwareTokenCommandOutput, type ChangePasswordCommandInput, type ChangePasswordCommandOutput, type ConfirmDeviceCommandInput, type ConfirmDeviceCommandOutput, type ConfirmForgotPasswordCommandInput, type ConfirmForgotPasswordCommandOutput, type ConfirmSignUpCommandInput, type ConfirmSignUpCommandOutput, type CreateGroupCommandInput, type CreateGroupCommandOutput, type CreateIdentityProviderCommandInput, type CreateIdentityProviderCommandOutput, type CreateResourceServerCommandInput, type CreateResourceServerCommandOutput, type CreateUserImportJobCommandInput, type CreateUserImportJobCommandOutput, type CreateUserPoolCommandInput, type CreateUserPoolCommandOutput, type CreateUserPoolClientCommandInput, type CreateUserPoolClientCommandOutput, type CreateUserPoolDomainCommandInput, type CreateUserPoolDomainCommandOutput, type DeleteGroupCommandInput, type DeleteGroupCommandOutput, type DeleteIdentityProviderCommandInput, type DeleteIdentityProviderCommandOutput, type DeleteResourceServerCommandInput, type DeleteResourceServerCommandOutput, type DeleteUserCommandInput, type DeleteUserCommandOutput, type DeleteUserAttributesCommandInput, type DeleteUserAttributesCommandOutput, type DeleteUserPoolCommandInput, type DeleteUserPoolCommandOutput, type DeleteUserPoolClientCommandInput, type DeleteUserPoolClientCommandOutput, type DeleteUserPoolDomainCommandInput, type DeleteUserPoolDomainCommandOutput, type DescribeIdentityProviderCommandInput, type DescribeIdentityProviderCommandOutput, type DescribeResourceServerCommandInput, type DescribeResourceServerCommandOutput, type DescribeRiskConfigurationCommandInput, type DescribeRiskConfigurationCommandOutput, type DescribeUserImportJobCommandInput, type DescribeUserImportJobCommandOutput, type DescribeUserPoolCommandInput, type DescribeUserPoolCommandOutput, type DescribeUserPoolClientCommandInput, type DescribeUserPoolClientCommandOutput, type DescribeUserPoolDomainCommandInput, type DescribeUserPoolDomainCommandOutput, type ForgetDeviceCommandInput, type ForgetDeviceCommandOutput, type ForgotPasswordCommandInput, type ForgotPasswordCommandOutput, type GetCSVHeaderCommandInput, type GetCSVHeaderCommandOutput, type GetDeviceCommandInput, type GetDeviceCommandOutput, type GetGroupCommandInput, type GetGroupCommandOutput, type GetIdentityProviderByIdentifierCommandInput, type GetIdentityProviderByIdentifierCommandOutput, type GetLogDeliveryConfigurationCommandInput, type GetLogDeliveryConfigurationCommandOutput, type GetSigningCertificateCommandInput, type GetSigningCertificateCommandOutput, type GetUICustomizationCommandInput, type GetUICustomizationCommandOutput, type GetUserCommandInput, type GetUserCommandOutput, type GetUserAttributeVerificationCodeCommandInput, type GetUserAttributeVerificationCodeCommandOutput, type GetUserPoolMfaConfigCommandInput, type GetUserPoolMfaConfigCommandOutput, type GlobalSignOutCommandInput, type GlobalSignOutCommandOutput, type InitiateAuthCommandInput, type InitiateAuthCommandOutput, type ListDevicesCommandInput, type ListDevicesCommandOutput, type ListGroupsCommandInput, type ListGroupsCommandOutput, type ListIdentityProvidersCommandInput, type ListIdentityProvidersCommandOutput, type ListResourceServersCommandInput, type ListResourceServersCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListUserImportJobsCommandInput, type ListUserImportJobsCommandOutput, type ListUserPoolClientsCommandInput, type ListUserPoolClientsCommandOutput, type ListUserPoolsCommandInput, type ListUserPoolsCommandOutput, type ListUsersCommandInput, type ListUsersCommandOutput, type ListUsersInGroupCommandInput, type ListUsersInGroupCommandOutput, type ResendConfirmationCodeCommandInput, type ResendConfirmationCodeCommandOutput, type RespondToAuthChallengeCommandInput, type RespondToAuthChallengeCommandOutput, type RevokeTokenCommandInput, type RevokeTokenCommandOutput, type SetLogDeliveryConfigurationCommandInput, type SetLogDeliveryConfigurationCommandOutput, type SetRiskConfigurationCommandInput, type SetRiskConfigurationCommandOutput, type SetUICustomizationCommandInput, type SetUICustomizationCommandOutput, type SetUserMFAPreferenceCommandInput, type SetUserMFAPreferenceCommandOutput, type SetUserPoolMfaConfigCommandInput, type SetUserPoolMfaConfigCommandOutput, type SetUserSettingsCommandInput, type SetUserSettingsCommandOutput, type SignUpCommandInput, type SignUpCommandOutput, type StartUserImportJobCommandInput, type StartUserImportJobCommandOutput, type StopUserImportJobCommandInput, type StopUserImportJobCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAuthEventFeedbackCommandInput, type UpdateAuthEventFeedbackCommandOutput, type UpdateDeviceStatusCommandInput, type UpdateDeviceStatusCommandOutput, type UpdateGroupCommandInput, type UpdateGroupCommandOutput, type UpdateIdentityProviderCommandInput, type UpdateIdentityProviderCommandOutput, type UpdateResourceServerCommandInput, type UpdateResourceServerCommandOutput, type UpdateUserAttributesCommandInput, type UpdateUserAttributesCommandOutput, type UpdateUserPoolCommandInput, type UpdateUserPoolCommandOutput, type UpdateUserPoolClientCommandInput, type UpdateUserPoolClientCommandOutput, type UpdateUserPoolDomainCommandInput, type UpdateUserPoolDomainCommandOutput, type VerifySoftwareTokenCommandInput, type VerifySoftwareTokenCommandOutput, type VerifyUserAttributeCommandInput, type VerifyUserAttributeCommandOutput } from "@aws-sdk/client-cognito-identity-provider";
|
|
4
|
+
import { type CognitoIdentityProviderClient, type CognitoIdentityProviderClientConfig, type AddCustomAttributesCommandInput, type AddCustomAttributesCommandOutput, type AdminAddUserToGroupCommandInput, type AdminAddUserToGroupCommandOutput, type AdminConfirmSignUpCommandInput, type AdminConfirmSignUpCommandOutput, type AdminCreateUserCommandInput, type AdminCreateUserCommandOutput, type AdminDeleteUserCommandInput, type AdminDeleteUserCommandOutput, type AdminDeleteUserAttributesCommandInput, type AdminDeleteUserAttributesCommandOutput, type AdminDisableProviderForUserCommandInput, type AdminDisableProviderForUserCommandOutput, type AdminDisableUserCommandInput, type AdminDisableUserCommandOutput, type AdminEnableUserCommandInput, type AdminEnableUserCommandOutput, type AdminForgetDeviceCommandInput, type AdminForgetDeviceCommandOutput, type AdminGetDeviceCommandInput, type AdminGetDeviceCommandOutput, type AdminGetUserCommandInput, type AdminGetUserCommandOutput, type AdminInitiateAuthCommandInput, type AdminInitiateAuthCommandOutput, type AdminLinkProviderForUserCommandInput, type AdminLinkProviderForUserCommandOutput, type AdminListDevicesCommandInput, type AdminListDevicesCommandOutput, type AdminListGroupsForUserCommandInput, type AdminListGroupsForUserCommandOutput, type AdminListUserAuthEventsCommandInput, type AdminListUserAuthEventsCommandOutput, type AdminRemoveUserFromGroupCommandInput, type AdminRemoveUserFromGroupCommandOutput, type AdminResetUserPasswordCommandInput, type AdminResetUserPasswordCommandOutput, type AdminRespondToAuthChallengeCommandInput, type AdminRespondToAuthChallengeCommandOutput, type AdminSetUserMFAPreferenceCommandInput, type AdminSetUserMFAPreferenceCommandOutput, type AdminSetUserPasswordCommandInput, type AdminSetUserPasswordCommandOutput, type AdminSetUserSettingsCommandInput, type AdminSetUserSettingsCommandOutput, type AdminUpdateAuthEventFeedbackCommandInput, type AdminUpdateAuthEventFeedbackCommandOutput, type AdminUpdateDeviceStatusCommandInput, type AdminUpdateDeviceStatusCommandOutput, type AdminUpdateUserAttributesCommandInput, type AdminUpdateUserAttributesCommandOutput, type AdminUserGlobalSignOutCommandInput, type AdminUserGlobalSignOutCommandOutput, type AssociateSoftwareTokenCommandInput, type AssociateSoftwareTokenCommandOutput, type ChangePasswordCommandInput, type ChangePasswordCommandOutput, type CompleteWebAuthnRegistrationCommandInput, type CompleteWebAuthnRegistrationCommandOutput, type ConfirmDeviceCommandInput, type ConfirmDeviceCommandOutput, type ConfirmForgotPasswordCommandInput, type ConfirmForgotPasswordCommandOutput, type ConfirmSignUpCommandInput, type ConfirmSignUpCommandOutput, type CreateGroupCommandInput, type CreateGroupCommandOutput, type CreateIdentityProviderCommandInput, type CreateIdentityProviderCommandOutput, type CreateManagedLoginBrandingCommandInput, type CreateManagedLoginBrandingCommandOutput, type CreateResourceServerCommandInput, type CreateResourceServerCommandOutput, type CreateUserImportJobCommandInput, type CreateUserImportJobCommandOutput, type CreateUserPoolCommandInput, type CreateUserPoolCommandOutput, type CreateUserPoolClientCommandInput, type CreateUserPoolClientCommandOutput, type CreateUserPoolDomainCommandInput, type CreateUserPoolDomainCommandOutput, type DeleteGroupCommandInput, type DeleteGroupCommandOutput, type DeleteIdentityProviderCommandInput, type DeleteIdentityProviderCommandOutput, type DeleteManagedLoginBrandingCommandInput, type DeleteManagedLoginBrandingCommandOutput, type DeleteResourceServerCommandInput, type DeleteResourceServerCommandOutput, type DeleteUserCommandInput, type DeleteUserCommandOutput, type DeleteUserAttributesCommandInput, type DeleteUserAttributesCommandOutput, type DeleteUserPoolCommandInput, type DeleteUserPoolCommandOutput, type DeleteUserPoolClientCommandInput, type DeleteUserPoolClientCommandOutput, type DeleteUserPoolDomainCommandInput, type DeleteUserPoolDomainCommandOutput, type DeleteWebAuthnCredentialCommandInput, type DeleteWebAuthnCredentialCommandOutput, type DescribeIdentityProviderCommandInput, type DescribeIdentityProviderCommandOutput, type DescribeManagedLoginBrandingCommandInput, type DescribeManagedLoginBrandingCommandOutput, type DescribeManagedLoginBrandingByClientCommandInput, type DescribeManagedLoginBrandingByClientCommandOutput, type DescribeResourceServerCommandInput, type DescribeResourceServerCommandOutput, type DescribeRiskConfigurationCommandInput, type DescribeRiskConfigurationCommandOutput, type DescribeUserImportJobCommandInput, type DescribeUserImportJobCommandOutput, type DescribeUserPoolCommandInput, type DescribeUserPoolCommandOutput, type DescribeUserPoolClientCommandInput, type DescribeUserPoolClientCommandOutput, type DescribeUserPoolDomainCommandInput, type DescribeUserPoolDomainCommandOutput, type ForgetDeviceCommandInput, type ForgetDeviceCommandOutput, type ForgotPasswordCommandInput, type ForgotPasswordCommandOutput, type GetCSVHeaderCommandInput, type GetCSVHeaderCommandOutput, type GetDeviceCommandInput, type GetDeviceCommandOutput, type GetGroupCommandInput, type GetGroupCommandOutput, type GetIdentityProviderByIdentifierCommandInput, type GetIdentityProviderByIdentifierCommandOutput, type GetLogDeliveryConfigurationCommandInput, type GetLogDeliveryConfigurationCommandOutput, type GetSigningCertificateCommandInput, type GetSigningCertificateCommandOutput, type GetUICustomizationCommandInput, type GetUICustomizationCommandOutput, type GetUserCommandInput, type GetUserCommandOutput, type GetUserAttributeVerificationCodeCommandInput, type GetUserAttributeVerificationCodeCommandOutput, type GetUserAuthFactorsCommandInput, type GetUserAuthFactorsCommandOutput, type GetUserPoolMfaConfigCommandInput, type GetUserPoolMfaConfigCommandOutput, type GlobalSignOutCommandInput, type GlobalSignOutCommandOutput, type InitiateAuthCommandInput, type InitiateAuthCommandOutput, type ListDevicesCommandInput, type ListDevicesCommandOutput, type ListGroupsCommandInput, type ListGroupsCommandOutput, type ListIdentityProvidersCommandInput, type ListIdentityProvidersCommandOutput, type ListResourceServersCommandInput, type ListResourceServersCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListUserImportJobsCommandInput, type ListUserImportJobsCommandOutput, type ListUserPoolClientsCommandInput, type ListUserPoolClientsCommandOutput, type ListUserPoolsCommandInput, type ListUserPoolsCommandOutput, type ListUsersCommandInput, type ListUsersCommandOutput, type ListUsersInGroupCommandInput, type ListUsersInGroupCommandOutput, type ListWebAuthnCredentialsCommandInput, type ListWebAuthnCredentialsCommandOutput, type ResendConfirmationCodeCommandInput, type ResendConfirmationCodeCommandOutput, type RespondToAuthChallengeCommandInput, type RespondToAuthChallengeCommandOutput, type RevokeTokenCommandInput, type RevokeTokenCommandOutput, type SetLogDeliveryConfigurationCommandInput, type SetLogDeliveryConfigurationCommandOutput, type SetRiskConfigurationCommandInput, type SetRiskConfigurationCommandOutput, type SetUICustomizationCommandInput, type SetUICustomizationCommandOutput, type SetUserMFAPreferenceCommandInput, type SetUserMFAPreferenceCommandOutput, type SetUserPoolMfaConfigCommandInput, type SetUserPoolMfaConfigCommandOutput, type SetUserSettingsCommandInput, type SetUserSettingsCommandOutput, type SignUpCommandInput, type SignUpCommandOutput, type StartUserImportJobCommandInput, type StartUserImportJobCommandOutput, type StartWebAuthnRegistrationCommandInput, type StartWebAuthnRegistrationCommandOutput, type StopUserImportJobCommandInput, type StopUserImportJobCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAuthEventFeedbackCommandInput, type UpdateAuthEventFeedbackCommandOutput, type UpdateDeviceStatusCommandInput, type UpdateDeviceStatusCommandOutput, type UpdateGroupCommandInput, type UpdateGroupCommandOutput, type UpdateIdentityProviderCommandInput, type UpdateIdentityProviderCommandOutput, type UpdateManagedLoginBrandingCommandInput, type UpdateManagedLoginBrandingCommandOutput, type UpdateResourceServerCommandInput, type UpdateResourceServerCommandOutput, type UpdateUserAttributesCommandInput, type UpdateUserAttributesCommandOutput, type UpdateUserPoolCommandInput, type UpdateUserPoolCommandOutput, type UpdateUserPoolClientCommandInput, type UpdateUserPoolClientCommandOutput, type UpdateUserPoolDomainCommandInput, type UpdateUserPoolDomainCommandOutput, type VerifySoftwareTokenCommandInput, type VerifySoftwareTokenCommandOutput, type VerifyUserAttributeCommandInput, type VerifyUserAttributeCommandOutput } from "@aws-sdk/client-cognito-identity-provider";
|
|
5
5
|
import { Effect, Layer } from "effect";
|
|
6
6
|
import { CognitoIdentityProviderClientInstance } from "./CognitoIdentityProviderClientInstance";
|
|
7
|
-
import {
|
|
7
|
+
import { CognitoIdentityProviderClientInstanceConfig } from "./CognitoIdentityProviderClientInstanceConfig";
|
|
8
|
+
import { AliasExistsError, CodeDeliveryFailureError, CodeMismatchError, ConcurrentModificationError, DuplicateProviderError, EnableSoftwareTokenMFAError, ExpiredCodeError, FeatureUnavailableInTierError, ForbiddenError, GroupExistsError, InternalError, InvalidEmailRoleAccessPolicyError, InvalidLambdaResponseError, InvalidOAuthFlowError, InvalidParameterError, InvalidPasswordError, InvalidSmsRoleAccessPolicyError, InvalidSmsRoleTrustRelationshipError, InvalidUserPoolConfigurationError, LimitExceededError, MFAMethodNotFoundError, ManagedLoginBrandingExistsError, NotAuthorizedError, PasswordHistoryPolicyViolationError, PasswordResetRequiredError, PreconditionNotMetError, ResourceNotFoundError, ScopeDoesNotExistError, SoftwareTokenMFANotFoundError, TierChangeNotAllowedError, TooManyFailedAttemptsError, TooManyRequestsError, UnauthorizedError, UnexpectedLambdaError, UnsupportedIdentityProviderError, UnsupportedOperationError, UnsupportedTokenTypeError, UnsupportedUserStateError, UserImportInProgressError, UserLambdaValidationError, UserNotConfirmedError, UserNotFoundError, UserPoolAddOnNotEnabledError, UserPoolTaggingError, UsernameExistsError, WebAuthnChallengeNotFoundError, WebAuthnClientMismatchError, WebAuthnConfigurationMissingError, WebAuthnCredentialNotSupportedError, WebAuthnNotEnabledError, WebAuthnOriginNotAllowedError, WebAuthnRelyingPartyMismatchError, SdkError } from "./Errors";
|
|
8
9
|
/**
|
|
9
|
-
* @since 1.0.
|
|
10
|
+
* @since 1.0.0
|
|
10
11
|
*/
|
|
11
12
|
export interface HttpHandlerOptions {
|
|
12
13
|
/**
|
|
@@ -133,6 +134,10 @@ interface CognitoIdentityProviderService$ {
|
|
|
133
134
|
* @see {@link ChangePasswordCommand}
|
|
134
135
|
*/
|
|
135
136
|
changePassword(args: ChangePasswordCommandInput, options?: HttpHandlerOptions): Effect.Effect<ChangePasswordCommandOutput, SdkError | ForbiddenError | InternalError | InvalidParameterError | InvalidPasswordError | LimitExceededError | NotAuthorizedError | PasswordHistoryPolicyViolationError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError>;
|
|
137
|
+
/**
|
|
138
|
+
* @see {@link CompleteWebAuthnRegistrationCommand}
|
|
139
|
+
*/
|
|
140
|
+
completeWebAuthnRegistration(args: CompleteWebAuthnRegistrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<CompleteWebAuthnRegistrationCommandOutput, SdkError | ForbiddenError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | TooManyRequestsError | WebAuthnChallengeNotFoundError | WebAuthnClientMismatchError | WebAuthnCredentialNotSupportedError | WebAuthnNotEnabledError | WebAuthnOriginNotAllowedError | WebAuthnRelyingPartyMismatchError>;
|
|
136
141
|
/**
|
|
137
142
|
* @see {@link ConfirmDeviceCommand}
|
|
138
143
|
*/
|
|
@@ -153,6 +158,10 @@ interface CognitoIdentityProviderService$ {
|
|
|
153
158
|
* @see {@link CreateIdentityProviderCommand}
|
|
154
159
|
*/
|
|
155
160
|
createIdentityProvider(args: CreateIdentityProviderCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateIdentityProviderCommandOutput, SdkError | DuplicateProviderError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
161
|
+
/**
|
|
162
|
+
* @see {@link CreateManagedLoginBrandingCommand}
|
|
163
|
+
*/
|
|
164
|
+
createManagedLoginBranding(args: CreateManagedLoginBrandingCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateManagedLoginBrandingCommandOutput, SdkError | ConcurrentModificationError | InternalError | InvalidParameterError | LimitExceededError | ManagedLoginBrandingExistsError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
156
165
|
/**
|
|
157
166
|
* @see {@link CreateResourceServerCommand}
|
|
158
167
|
*/
|
|
@@ -164,7 +173,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
164
173
|
/**
|
|
165
174
|
* @see {@link CreateUserPoolCommand}
|
|
166
175
|
*/
|
|
167
|
-
createUserPool(args: CreateUserPoolCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateUserPoolCommandOutput, SdkError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | LimitExceededError | NotAuthorizedError | TooManyRequestsError | UserPoolTaggingError>;
|
|
176
|
+
createUserPool(args: CreateUserPoolCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateUserPoolCommandOutput, SdkError | FeatureUnavailableInTierError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | LimitExceededError | NotAuthorizedError | TierChangeNotAllowedError | TooManyRequestsError | UserPoolTaggingError>;
|
|
168
177
|
/**
|
|
169
178
|
* @see {@link CreateUserPoolClientCommand}
|
|
170
179
|
*/
|
|
@@ -172,7 +181,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
172
181
|
/**
|
|
173
182
|
* @see {@link CreateUserPoolDomainCommand}
|
|
174
183
|
*/
|
|
175
|
-
createUserPoolDomain(args: CreateUserPoolDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateUserPoolDomainCommandOutput, SdkError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError>;
|
|
184
|
+
createUserPoolDomain(args: CreateUserPoolDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateUserPoolDomainCommandOutput, SdkError | FeatureUnavailableInTierError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError>;
|
|
176
185
|
/**
|
|
177
186
|
* @see {@link DeleteGroupCommand}
|
|
178
187
|
*/
|
|
@@ -181,6 +190,10 @@ interface CognitoIdentityProviderService$ {
|
|
|
181
190
|
* @see {@link DeleteIdentityProviderCommand}
|
|
182
191
|
*/
|
|
183
192
|
deleteIdentityProvider(args: DeleteIdentityProviderCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIdentityProviderCommandOutput, SdkError | ConcurrentModificationError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UnsupportedIdentityProviderError>;
|
|
193
|
+
/**
|
|
194
|
+
* @see {@link DeleteManagedLoginBrandingCommand}
|
|
195
|
+
*/
|
|
196
|
+
deleteManagedLoginBranding(args: DeleteManagedLoginBrandingCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteManagedLoginBrandingCommandOutput, SdkError | ConcurrentModificationError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
184
197
|
/**
|
|
185
198
|
* @see {@link DeleteResourceServerCommand}
|
|
186
199
|
*/
|
|
@@ -205,10 +218,22 @@ interface CognitoIdentityProviderService$ {
|
|
|
205
218
|
* @see {@link DeleteUserPoolDomainCommand}
|
|
206
219
|
*/
|
|
207
220
|
deleteUserPoolDomain(args: DeleteUserPoolDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteUserPoolDomainCommandOutput, SdkError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError>;
|
|
221
|
+
/**
|
|
222
|
+
* @see {@link DeleteWebAuthnCredentialCommand}
|
|
223
|
+
*/
|
|
224
|
+
deleteWebAuthnCredential(args: DeleteWebAuthnCredentialCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteWebAuthnCredentialCommandOutput, SdkError | ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError>;
|
|
208
225
|
/**
|
|
209
226
|
* @see {@link DescribeIdentityProviderCommand}
|
|
210
227
|
*/
|
|
211
228
|
describeIdentityProvider(args: DescribeIdentityProviderCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeIdentityProviderCommandOutput, SdkError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
229
|
+
/**
|
|
230
|
+
* @see {@link DescribeManagedLoginBrandingCommand}
|
|
231
|
+
*/
|
|
232
|
+
describeManagedLoginBranding(args: DescribeManagedLoginBrandingCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeManagedLoginBrandingCommandOutput, SdkError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
233
|
+
/**
|
|
234
|
+
* @see {@link DescribeManagedLoginBrandingByClientCommand}
|
|
235
|
+
*/
|
|
236
|
+
describeManagedLoginBrandingByClient(args: DescribeManagedLoginBrandingByClientCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeManagedLoginBrandingByClientCommandOutput, SdkError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
212
237
|
/**
|
|
213
238
|
* @see {@link DescribeResourceServerCommand}
|
|
214
239
|
*/
|
|
@@ -277,6 +302,10 @@ interface CognitoIdentityProviderService$ {
|
|
|
277
302
|
* @see {@link GetUserAttributeVerificationCodeCommand}
|
|
278
303
|
*/
|
|
279
304
|
getUserAttributeVerificationCode(args: GetUserAttributeVerificationCodeCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetUserAttributeVerificationCodeCommandOutput, SdkError | CodeDeliveryFailureError | ForbiddenError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidLambdaResponseError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | LimitExceededError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UnexpectedLambdaError | UserLambdaValidationError | UserNotConfirmedError | UserNotFoundError>;
|
|
305
|
+
/**
|
|
306
|
+
* @see {@link GetUserAuthFactorsCommand}
|
|
307
|
+
*/
|
|
308
|
+
getUserAuthFactors(args: GetUserAuthFactorsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetUserAuthFactorsCommandOutput, SdkError | ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError>;
|
|
280
309
|
/**
|
|
281
310
|
* @see {@link GetUserPoolMfaConfigCommand}
|
|
282
311
|
*/
|
|
@@ -329,6 +358,10 @@ interface CognitoIdentityProviderService$ {
|
|
|
329
358
|
* @see {@link ListUsersInGroupCommand}
|
|
330
359
|
*/
|
|
331
360
|
listUsersInGroup(args: ListUsersInGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListUsersInGroupCommandOutput, SdkError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
361
|
+
/**
|
|
362
|
+
* @see {@link ListWebAuthnCredentialsCommand}
|
|
363
|
+
*/
|
|
364
|
+
listWebAuthnCredentials(args: ListWebAuthnCredentialsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListWebAuthnCredentialsCommandOutput, SdkError | ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError>;
|
|
332
365
|
/**
|
|
333
366
|
* @see {@link ResendConfirmationCodeCommand}
|
|
334
367
|
*/
|
|
@@ -344,7 +377,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
344
377
|
/**
|
|
345
378
|
* @see {@link SetLogDeliveryConfigurationCommand}
|
|
346
379
|
*/
|
|
347
|
-
setLogDeliveryConfiguration(args: SetLogDeliveryConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetLogDeliveryConfigurationCommandOutput, SdkError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
380
|
+
setLogDeliveryConfiguration(args: SetLogDeliveryConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetLogDeliveryConfigurationCommandOutput, SdkError | FeatureUnavailableInTierError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
348
381
|
/**
|
|
349
382
|
* @see {@link SetRiskConfigurationCommand}
|
|
350
383
|
*/
|
|
@@ -360,7 +393,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
360
393
|
/**
|
|
361
394
|
* @see {@link SetUserPoolMfaConfigCommand}
|
|
362
395
|
*/
|
|
363
|
-
setUserPoolMfaConfig(args: SetUserPoolMfaConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetUserPoolMfaConfigCommandOutput, SdkError | ConcurrentModificationError | InternalError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
396
|
+
setUserPoolMfaConfig(args: SetUserPoolMfaConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetUserPoolMfaConfigCommandOutput, SdkError | ConcurrentModificationError | FeatureUnavailableInTierError | InternalError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
364
397
|
/**
|
|
365
398
|
* @see {@link SetUserSettingsCommand}
|
|
366
399
|
*/
|
|
@@ -373,6 +406,10 @@ interface CognitoIdentityProviderService$ {
|
|
|
373
406
|
* @see {@link StartUserImportJobCommand}
|
|
374
407
|
*/
|
|
375
408
|
startUserImportJob(args: StartUserImportJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartUserImportJobCommandOutput, SdkError | InternalError | InvalidParameterError | NotAuthorizedError | PreconditionNotMetError | ResourceNotFoundError | TooManyRequestsError>;
|
|
409
|
+
/**
|
|
410
|
+
* @see {@link StartWebAuthnRegistrationCommand}
|
|
411
|
+
*/
|
|
412
|
+
startWebAuthnRegistration(args: StartWebAuthnRegistrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartWebAuthnRegistrationCommandOutput, SdkError | ForbiddenError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | TooManyRequestsError | WebAuthnConfigurationMissingError | WebAuthnNotEnabledError>;
|
|
376
413
|
/**
|
|
377
414
|
* @see {@link StopUserImportJobCommand}
|
|
378
415
|
*/
|
|
@@ -401,6 +438,10 @@ interface CognitoIdentityProviderService$ {
|
|
|
401
438
|
* @see {@link UpdateIdentityProviderCommand}
|
|
402
439
|
*/
|
|
403
440
|
updateIdentityProvider(args: UpdateIdentityProviderCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateIdentityProviderCommandOutput, SdkError | ConcurrentModificationError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UnsupportedIdentityProviderError>;
|
|
441
|
+
/**
|
|
442
|
+
* @see {@link UpdateManagedLoginBrandingCommand}
|
|
443
|
+
*/
|
|
444
|
+
updateManagedLoginBranding(args: UpdateManagedLoginBrandingCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateManagedLoginBrandingCommandOutput, SdkError | ConcurrentModificationError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
404
445
|
/**
|
|
405
446
|
* @see {@link UpdateResourceServerCommand}
|
|
406
447
|
*/
|
|
@@ -412,7 +453,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
412
453
|
/**
|
|
413
454
|
* @see {@link UpdateUserPoolCommand}
|
|
414
455
|
*/
|
|
415
|
-
updateUserPool(args: UpdateUserPoolCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateUserPoolCommandOutput, SdkError | ConcurrentModificationError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UserImportInProgressError | UserPoolTaggingError>;
|
|
456
|
+
updateUserPool(args: UpdateUserPoolCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateUserPoolCommandOutput, SdkError | ConcurrentModificationError | FeatureUnavailableInTierError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | ResourceNotFoundError | TierChangeNotAllowedError | TooManyRequestsError | UserImportInProgressError | UserPoolTaggingError>;
|
|
416
457
|
/**
|
|
417
458
|
* @see {@link UpdateUserPoolClientCommand}
|
|
418
459
|
*/
|
|
@@ -420,7 +461,7 @@ interface CognitoIdentityProviderService$ {
|
|
|
420
461
|
/**
|
|
421
462
|
* @see {@link UpdateUserPoolDomainCommand}
|
|
422
463
|
*/
|
|
423
|
-
updateUserPoolDomain(args: UpdateUserPoolDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateUserPoolDomainCommandOutput, SdkError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
464
|
+
updateUserPoolDomain(args: UpdateUserPoolDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateUserPoolDomainCommandOutput, SdkError | FeatureUnavailableInTierError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError>;
|
|
424
465
|
/**
|
|
425
466
|
* @see {@link VerifySoftwareTokenCommand}
|
|
426
467
|
*/
|
|
@@ -430,6 +471,11 @@ interface CognitoIdentityProviderService$ {
|
|
|
430
471
|
*/
|
|
431
472
|
verifyUserAttribute(args: VerifyUserAttributeCommandInput, options?: HttpHandlerOptions): Effect.Effect<VerifyUserAttributeCommandOutput, SdkError | AliasExistsError | CodeMismatchError | ExpiredCodeError | ForbiddenError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError>;
|
|
432
473
|
}
|
|
474
|
+
/**
|
|
475
|
+
* @since 1.0.0
|
|
476
|
+
* @category constructors
|
|
477
|
+
*/
|
|
478
|
+
export declare const makeCognitoIdentityProviderService: Effect.Effect<CognitoIdentityProviderService$, never, CognitoIdentityProviderClientInstance>;
|
|
433
479
|
declare const CognitoIdentityProviderService_base: import("effect/Context").TagClass<CognitoIdentityProviderService, "@effect-aws/client-cognito-identity-provider/CognitoIdentityProviderService", CognitoIdentityProviderService$> & {
|
|
434
480
|
readonly _: Effect.Effect<CognitoIdentityProviderService$["_"], never, CognitoIdentityProviderService>;
|
|
435
481
|
addCustomAttributes: (args: AddCustomAttributesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AddCustomAttributesCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UserImportInProgressError | SdkError, CognitoIdentityProviderService>;
|
|
@@ -461,25 +507,31 @@ declare const CognitoIdentityProviderService_base: import("effect/Context").TagC
|
|
|
461
507
|
adminUserGlobalSignOut: (args: AdminUserGlobalSignOutCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AdminUserGlobalSignOutCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
462
508
|
associateSoftwareToken: (args: AssociateSoftwareTokenCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AssociateSoftwareTokenCommandOutput, ConcurrentModificationError | ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | SoftwareTokenMFANotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
463
509
|
changePassword: (args: ChangePasswordCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ChangePasswordCommandOutput, ForbiddenError | InternalError | InvalidParameterError | InvalidPasswordError | LimitExceededError | NotAuthorizedError | PasswordHistoryPolicyViolationError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
510
|
+
completeWebAuthnRegistration: (args: CompleteWebAuthnRegistrationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CompleteWebAuthnRegistrationCommandOutput, ForbiddenError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | TooManyRequestsError | WebAuthnChallengeNotFoundError | WebAuthnClientMismatchError | WebAuthnCredentialNotSupportedError | WebAuthnNotEnabledError | WebAuthnOriginNotAllowedError | WebAuthnRelyingPartyMismatchError | SdkError, CognitoIdentityProviderService>;
|
|
464
511
|
confirmDevice: (args: ConfirmDeviceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ConfirmDeviceCommandOutput, ForbiddenError | InternalError | InvalidLambdaResponseError | InvalidParameterError | InvalidPasswordError | InvalidUserPoolConfigurationError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError | UsernameExistsError | SdkError, CognitoIdentityProviderService>;
|
|
465
512
|
confirmForgotPassword: (args: ConfirmForgotPasswordCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ConfirmForgotPasswordCommandOutput, CodeMismatchError | ExpiredCodeError | ForbiddenError | InternalError | InvalidLambdaResponseError | InvalidParameterError | InvalidPasswordError | LimitExceededError | NotAuthorizedError | PasswordHistoryPolicyViolationError | ResourceNotFoundError | TooManyFailedAttemptsError | TooManyRequestsError | UnexpectedLambdaError | UserLambdaValidationError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
466
513
|
confirmSignUp: (args: ConfirmSignUpCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ConfirmSignUpCommandOutput, AliasExistsError | CodeMismatchError | ExpiredCodeError | ForbiddenError | InternalError | InvalidLambdaResponseError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | TooManyFailedAttemptsError | TooManyRequestsError | UnexpectedLambdaError | UserLambdaValidationError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
467
514
|
createGroup: (args: CreateGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateGroupCommandOutput, GroupExistsError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
468
515
|
createIdentityProvider: (args: CreateIdentityProviderCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateIdentityProviderCommandOutput, DuplicateProviderError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
516
|
+
createManagedLoginBranding: (args: CreateManagedLoginBrandingCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateManagedLoginBrandingCommandOutput, ConcurrentModificationError | InternalError | InvalidParameterError | LimitExceededError | ManagedLoginBrandingExistsError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
469
517
|
createResourceServer: (args: CreateResourceServerCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateResourceServerCommandOutput, InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
470
518
|
createUserImportJob: (args: CreateUserImportJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateUserImportJobCommandOutput, InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | PreconditionNotMetError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
471
|
-
createUserPool: (args: CreateUserPoolCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateUserPoolCommandOutput, InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | LimitExceededError | NotAuthorizedError | TooManyRequestsError | UserPoolTaggingError | SdkError, CognitoIdentityProviderService>;
|
|
519
|
+
createUserPool: (args: CreateUserPoolCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateUserPoolCommandOutput, FeatureUnavailableInTierError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | LimitExceededError | NotAuthorizedError | TierChangeNotAllowedError | TooManyRequestsError | UserPoolTaggingError | SdkError, CognitoIdentityProviderService>;
|
|
472
520
|
createUserPoolClient: (args: CreateUserPoolClientCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateUserPoolClientCommandOutput, InternalError | InvalidOAuthFlowError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | ScopeDoesNotExistError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
473
|
-
createUserPoolDomain: (args: CreateUserPoolDomainCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateUserPoolDomainCommandOutput, InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
521
|
+
createUserPoolDomain: (args: CreateUserPoolDomainCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateUserPoolDomainCommandOutput, FeatureUnavailableInTierError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
474
522
|
deleteGroup: (args: DeleteGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteGroupCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
475
523
|
deleteIdentityProvider: (args: DeleteIdentityProviderCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteIdentityProviderCommandOutput, ConcurrentModificationError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UnsupportedIdentityProviderError | SdkError, CognitoIdentityProviderService>;
|
|
524
|
+
deleteManagedLoginBranding: (args: DeleteManagedLoginBrandingCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteManagedLoginBrandingCommandOutput, ConcurrentModificationError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
476
525
|
deleteResourceServer: (args: DeleteResourceServerCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteResourceServerCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
477
526
|
deleteUser: (args: DeleteUserCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteUserCommandOutput, ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
478
527
|
deleteUserAttributes: (args: DeleteUserAttributesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteUserAttributesCommandOutput, ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
479
528
|
deleteUserPool: (args: DeleteUserPoolCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteUserPoolCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UserImportInProgressError | SdkError, CognitoIdentityProviderService>;
|
|
480
529
|
deleteUserPoolClient: (args: DeleteUserPoolClientCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteUserPoolClientCommandOutput, ConcurrentModificationError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
481
530
|
deleteUserPoolDomain: (args: DeleteUserPoolDomainCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteUserPoolDomainCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
531
|
+
deleteWebAuthnCredential: (args: DeleteWebAuthnCredentialCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteWebAuthnCredentialCommandOutput, ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
482
532
|
describeIdentityProvider: (args: DescribeIdentityProviderCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeIdentityProviderCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
533
|
+
describeManagedLoginBranding: (args: DescribeManagedLoginBrandingCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeManagedLoginBrandingCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
534
|
+
describeManagedLoginBrandingByClient: (args: DescribeManagedLoginBrandingByClientCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeManagedLoginBrandingByClientCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
483
535
|
describeResourceServer: (args: DescribeResourceServerCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeResourceServerCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
484
536
|
describeRiskConfiguration: (args: DescribeRiskConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeRiskConfigurationCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UserPoolAddOnNotEnabledError | SdkError, CognitoIdentityProviderService>;
|
|
485
537
|
describeUserImportJob: (args: DescribeUserImportJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DescribeUserImportJobCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
@@ -497,6 +549,7 @@ declare const CognitoIdentityProviderService_base: import("effect/Context").TagC
|
|
|
497
549
|
getUICustomization: (args: GetUICustomizationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetUICustomizationCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
498
550
|
getUser: (args: GetUserCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetUserCommandOutput, ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
499
551
|
getUserAttributeVerificationCode: (args: GetUserAttributeVerificationCodeCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetUserAttributeVerificationCodeCommandOutput, CodeDeliveryFailureError | ForbiddenError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidLambdaResponseError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | LimitExceededError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UnexpectedLambdaError | UserLambdaValidationError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
552
|
+
getUserAuthFactors: (args: GetUserAuthFactorsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetUserAuthFactorsCommandOutput, ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
500
553
|
getUserPoolMfaConfig: (args: GetUserPoolMfaConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetUserPoolMfaConfigCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
501
554
|
globalSignOut: (args: GlobalSignOutCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GlobalSignOutCommandOutput, ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | SdkError, CognitoIdentityProviderService>;
|
|
502
555
|
initiateAuth: (args: InitiateAuthCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<InitiateAuthCommandOutput, ForbiddenError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidLambdaResponseError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | InvalidUserPoolConfigurationError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UnexpectedLambdaError | UserLambdaValidationError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
@@ -510,17 +563,19 @@ declare const CognitoIdentityProviderService_base: import("effect/Context").TagC
|
|
|
510
563
|
listUserPools: (args: ListUserPoolsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListUserPoolsCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
511
564
|
listUsers: (args: ListUsersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListUsersCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
512
565
|
listUsersInGroup: (args: ListUsersInGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListUsersInGroupCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
566
|
+
listWebAuthnCredentials: (args: ListWebAuthnCredentialsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListWebAuthnCredentialsCommandOutput, ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | SdkError, CognitoIdentityProviderService>;
|
|
513
567
|
resendConfirmationCode: (args: ResendConfirmationCodeCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ResendConfirmationCodeCommandOutput, CodeDeliveryFailureError | ForbiddenError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidLambdaResponseError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UnexpectedLambdaError | UserLambdaValidationError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
514
568
|
respondToAuthChallenge: (args: RespondToAuthChallengeCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RespondToAuthChallengeCommandOutput, AliasExistsError | CodeMismatchError | ExpiredCodeError | ForbiddenError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidLambdaResponseError | InvalidParameterError | InvalidPasswordError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | InvalidUserPoolConfigurationError | MFAMethodNotFoundError | NotAuthorizedError | PasswordHistoryPolicyViolationError | PasswordResetRequiredError | ResourceNotFoundError | SoftwareTokenMFANotFoundError | TooManyRequestsError | UnexpectedLambdaError | UserLambdaValidationError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
515
569
|
revokeToken: (args: RevokeTokenCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RevokeTokenCommandOutput, ForbiddenError | InternalError | InvalidParameterError | TooManyRequestsError | UnauthorizedError | UnsupportedOperationError | UnsupportedTokenTypeError | SdkError, CognitoIdentityProviderService>;
|
|
516
|
-
setLogDeliveryConfiguration: (args: SetLogDeliveryConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetLogDeliveryConfigurationCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
570
|
+
setLogDeliveryConfiguration: (args: SetLogDeliveryConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetLogDeliveryConfigurationCommandOutput, FeatureUnavailableInTierError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
517
571
|
setRiskConfiguration: (args: SetRiskConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetRiskConfigurationCommandOutput, CodeDeliveryFailureError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UserPoolAddOnNotEnabledError | SdkError, CognitoIdentityProviderService>;
|
|
518
572
|
setUICustomization: (args: SetUICustomizationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetUICustomizationCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
519
573
|
setUserMFAPreference: (args: SetUserMFAPreferenceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetUserMFAPreferenceCommandOutput, ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
520
|
-
setUserPoolMfaConfig: (args: SetUserPoolMfaConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetUserPoolMfaConfigCommandOutput, ConcurrentModificationError | InternalError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
574
|
+
setUserPoolMfaConfig: (args: SetUserPoolMfaConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetUserPoolMfaConfigCommandOutput, ConcurrentModificationError | FeatureUnavailableInTierError | InternalError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
521
575
|
setUserSettings: (args: SetUserSettingsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetUserSettingsCommandOutput, ForbiddenError | InternalError | InvalidParameterError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
522
576
|
signUp: (args: SignUpCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SignUpCommandOutput, CodeDeliveryFailureError | ForbiddenError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidLambdaResponseError | InvalidParameterError | InvalidPasswordError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | LimitExceededError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UnexpectedLambdaError | UserLambdaValidationError | UsernameExistsError | SdkError, CognitoIdentityProviderService>;
|
|
523
577
|
startUserImportJob: (args: StartUserImportJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StartUserImportJobCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | PreconditionNotMetError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
578
|
+
startWebAuthnRegistration: (args: StartWebAuthnRegistrationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StartWebAuthnRegistrationCommandOutput, ForbiddenError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | TooManyRequestsError | WebAuthnConfigurationMissingError | WebAuthnNotEnabledError | SdkError, CognitoIdentityProviderService>;
|
|
524
579
|
stopUserImportJob: (args: StopUserImportJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StopUserImportJobCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | PreconditionNotMetError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
525
580
|
tagResource: (args: TagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagResourceCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
526
581
|
untagResource: (args: UntagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagResourceCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
@@ -528,11 +583,12 @@ declare const CognitoIdentityProviderService_base: import("effect/Context").TagC
|
|
|
528
583
|
updateDeviceStatus: (args: UpdateDeviceStatusCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateDeviceStatusCommandOutput, ForbiddenError | InternalError | InvalidParameterError | InvalidUserPoolConfigurationError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
529
584
|
updateGroup: (args: UpdateGroupCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateGroupCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
530
585
|
updateIdentityProvider: (args: UpdateIdentityProviderCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateIdentityProviderCommandOutput, ConcurrentModificationError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UnsupportedIdentityProviderError | SdkError, CognitoIdentityProviderService>;
|
|
586
|
+
updateManagedLoginBranding: (args: UpdateManagedLoginBrandingCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateManagedLoginBrandingCommandOutput, ConcurrentModificationError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
531
587
|
updateResourceServer: (args: UpdateResourceServerCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateResourceServerCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
532
588
|
updateUserAttributes: (args: UpdateUserAttributesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateUserAttributesCommandOutput, AliasExistsError | CodeDeliveryFailureError | CodeMismatchError | ExpiredCodeError | ForbiddenError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidLambdaResponseError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UnexpectedLambdaError | UserLambdaValidationError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
533
|
-
updateUserPool: (args: UpdateUserPoolCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateUserPoolCommandOutput, ConcurrentModificationError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | UserImportInProgressError | UserPoolTaggingError | SdkError, CognitoIdentityProviderService>;
|
|
589
|
+
updateUserPool: (args: UpdateUserPoolCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateUserPoolCommandOutput, ConcurrentModificationError | FeatureUnavailableInTierError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError | InvalidSmsRoleAccessPolicyError | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | ResourceNotFoundError | TierChangeNotAllowedError | TooManyRequestsError | UserImportInProgressError | UserPoolTaggingError | SdkError, CognitoIdentityProviderService>;
|
|
534
590
|
updateUserPoolClient: (args: UpdateUserPoolClientCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateUserPoolClientCommandOutput, ConcurrentModificationError | InternalError | InvalidOAuthFlowError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | ScopeDoesNotExistError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
535
|
-
updateUserPoolDomain: (args: UpdateUserPoolDomainCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateUserPoolDomainCommandOutput, InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
591
|
+
updateUserPoolDomain: (args: UpdateUserPoolDomainCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateUserPoolDomainCommandOutput, FeatureUnavailableInTierError | InternalError | InvalidParameterError | NotAuthorizedError | ResourceNotFoundError | TooManyRequestsError | SdkError, CognitoIdentityProviderService>;
|
|
536
592
|
verifySoftwareToken: (args: VerifySoftwareTokenCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<VerifySoftwareTokenCommandOutput, CodeMismatchError | EnableSoftwareTokenMFAError | ForbiddenError | InternalError | InvalidParameterError | InvalidUserPoolConfigurationError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | SoftwareTokenMFANotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
537
593
|
verifyUserAttribute: (args: VerifyUserAttributeCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<VerifyUserAttributeCommandOutput, AliasExistsError | CodeMismatchError | ExpiredCodeError | ForbiddenError | InternalError | InvalidParameterError | LimitExceededError | NotAuthorizedError | PasswordResetRequiredError | ResourceNotFoundError | TooManyRequestsError | UserNotConfirmedError | UserNotFoundError | SdkError, CognitoIdentityProviderService>;
|
|
538
594
|
} & {
|
|
@@ -543,25 +599,32 @@ declare const CognitoIdentityProviderService_base: import("effect/Context").TagC
|
|
|
543
599
|
* @category models
|
|
544
600
|
*/
|
|
545
601
|
export declare class CognitoIdentityProviderService extends CognitoIdentityProviderService_base {
|
|
602
|
+
static readonly defaultLayer: Layer.Layer<CognitoIdentityProviderService, never, never>;
|
|
603
|
+
static readonly layer: (config: CognitoIdentityProviderClientConfig) => Layer.Layer<CognitoIdentityProviderService, never, never>;
|
|
604
|
+
static readonly baseLayer: (evaluate: (defaultConfig: CognitoIdentityProviderClientConfig) => CognitoIdentityProviderClient) => Layer.Layer<CognitoIdentityProviderService, never, never>;
|
|
546
605
|
}
|
|
547
606
|
/**
|
|
548
607
|
* @since 1.0.0
|
|
549
|
-
* @category
|
|
608
|
+
* @category models
|
|
609
|
+
* @alias CognitoIdentityProviderService
|
|
550
610
|
*/
|
|
551
|
-
export declare const
|
|
611
|
+
export declare const CognitoIdentityProvider: typeof CognitoIdentityProviderService;
|
|
552
612
|
/**
|
|
553
613
|
* @since 1.0.0
|
|
554
614
|
* @category layers
|
|
615
|
+
* @deprecated use CognitoIdentityProvider.baseLayer instead
|
|
555
616
|
*/
|
|
556
617
|
export declare const BaseCognitoIdentityProviderServiceLayer: Layer.Layer<CognitoIdentityProviderService, never, CognitoIdentityProviderClientInstance>;
|
|
557
618
|
/**
|
|
558
619
|
* @since 1.0.0
|
|
559
620
|
* @category layers
|
|
621
|
+
* @deprecated use CognitoIdentityProvider.layer instead
|
|
560
622
|
*/
|
|
561
|
-
export declare const CognitoIdentityProviderServiceLayer: Layer.Layer<CognitoIdentityProviderService, never,
|
|
623
|
+
export declare const CognitoIdentityProviderServiceLayer: Layer.Layer<CognitoIdentityProviderService, never, CognitoIdentityProviderClientInstanceConfig>;
|
|
562
624
|
/**
|
|
563
625
|
* @since 1.0.0
|
|
564
626
|
* @category layers
|
|
627
|
+
* @deprecated use CognitoIdentityProvider.defaultLayer instead
|
|
565
628
|
*/
|
|
566
629
|
export declare const DefaultCognitoIdentityProviderServiceLayer: Layer.Layer<CognitoIdentityProviderService, never, never>;
|
|
567
630
|
export {};
|