@aws-sdk/client-cognito-identity-provider 3.193.0 → 3.196.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 +19 -0
- package/dist-cjs/CognitoIdentityProviderClient.js +11 -8
- package/dist-cjs/commands/AddCustomAttributesCommand.js +10 -0
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js +10 -0
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js +10 -0
- package/dist-cjs/commands/AdminCreateUserCommand.js +10 -0
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +10 -0
- package/dist-cjs/commands/AdminDeleteUserCommand.js +10 -0
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +10 -0
- package/dist-cjs/commands/AdminDisableUserCommand.js +10 -0
- package/dist-cjs/commands/AdminEnableUserCommand.js +10 -0
- package/dist-cjs/commands/AdminForgetDeviceCommand.js +10 -0
- package/dist-cjs/commands/AdminGetDeviceCommand.js +10 -0
- package/dist-cjs/commands/AdminGetUserCommand.js +10 -0
- package/dist-cjs/commands/AdminInitiateAuthCommand.js +10 -0
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +10 -0
- package/dist-cjs/commands/AdminListDevicesCommand.js +10 -0
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js +10 -0
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +10 -0
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +10 -0
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js +10 -0
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +10 -0
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +10 -0
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js +10 -0
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +10 -0
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +10 -0
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +10 -0
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +10 -0
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +10 -0
- package/dist-cjs/commands/ChangePasswordCommand.js +10 -0
- package/dist-cjs/commands/ConfirmDeviceCommand.js +10 -0
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +10 -0
- package/dist-cjs/commands/ConfirmSignUpCommand.js +10 -0
- package/dist-cjs/commands/CreateGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/CreateResourceServerCommand.js +10 -0
- package/dist-cjs/commands/CreateUserImportJobCommand.js +10 -0
- package/dist-cjs/commands/CreateUserPoolClientCommand.js +10 -0
- package/dist-cjs/commands/CreateUserPoolCommand.js +10 -0
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js +10 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/DeleteResourceServerCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserAttributesCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserPoolCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +10 -0
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/DescribeResourceServerCommand.js +10 -0
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserImportJobCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserPoolCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +10 -0
- package/dist-cjs/commands/ForgetDeviceCommand.js +10 -0
- package/dist-cjs/commands/ForgotPasswordCommand.js +10 -0
- package/dist-cjs/commands/GetCSVHeaderCommand.js +10 -0
- package/dist-cjs/commands/GetDeviceCommand.js +10 -0
- package/dist-cjs/commands/GetGroupCommand.js +10 -0
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +10 -0
- package/dist-cjs/commands/GetSigningCertificateCommand.js +10 -0
- package/dist-cjs/commands/GetUICustomizationCommand.js +10 -0
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +10 -0
- package/dist-cjs/commands/GetUserCommand.js +10 -0
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +10 -0
- package/dist-cjs/commands/GlobalSignOutCommand.js +10 -0
- package/dist-cjs/commands/InitiateAuthCommand.js +10 -0
- package/dist-cjs/commands/ListDevicesCommand.js +10 -0
- package/dist-cjs/commands/ListGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +10 -0
- package/dist-cjs/commands/ListResourceServersCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListUserImportJobsCommand.js +10 -0
- package/dist-cjs/commands/ListUserPoolClientsCommand.js +10 -0
- package/dist-cjs/commands/ListUserPoolsCommand.js +10 -0
- package/dist-cjs/commands/ListUsersCommand.js +10 -0
- package/dist-cjs/commands/ListUsersInGroupCommand.js +10 -0
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js +10 -0
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js +10 -0
- package/dist-cjs/commands/RevokeTokenCommand.js +10 -0
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +10 -0
- package/dist-cjs/commands/SetUICustomizationCommand.js +10 -0
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +10 -0
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +10 -0
- package/dist-cjs/commands/SetUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/SignUpCommand.js +11 -2
- package/dist-cjs/commands/StartUserImportJobCommand.js +10 -0
- package/dist-cjs/commands/StopUserImportJobCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +10 -0
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +10 -0
- package/dist-cjs/commands/UpdateGroupCommand.js +10 -0
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/UpdateResourceServerCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserAttributesCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserPoolCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +10 -0
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +10 -0
- package/dist-cjs/commands/VerifyUserAttributeCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +10 -19
- package/dist-cjs/models/models_1.js +15 -1
- package/dist-cjs/protocols/Aws_json1_1.js +12 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/CognitoIdentityProviderClient.js +12 -9
- package/dist-es/commands/AddCustomAttributesCommand.js +10 -0
- package/dist-es/commands/AdminAddUserToGroupCommand.js +10 -0
- package/dist-es/commands/AdminConfirmSignUpCommand.js +10 -0
- package/dist-es/commands/AdminCreateUserCommand.js +10 -0
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +10 -0
- package/dist-es/commands/AdminDeleteUserCommand.js +10 -0
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +10 -0
- package/dist-es/commands/AdminDisableUserCommand.js +10 -0
- package/dist-es/commands/AdminEnableUserCommand.js +10 -0
- package/dist-es/commands/AdminForgetDeviceCommand.js +10 -0
- package/dist-es/commands/AdminGetDeviceCommand.js +10 -0
- package/dist-es/commands/AdminGetUserCommand.js +10 -0
- package/dist-es/commands/AdminInitiateAuthCommand.js +10 -0
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +10 -0
- package/dist-es/commands/AdminListDevicesCommand.js +10 -0
- package/dist-es/commands/AdminListGroupsForUserCommand.js +10 -0
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +10 -0
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +10 -0
- package/dist-es/commands/AdminResetUserPasswordCommand.js +10 -0
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +10 -0
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +10 -0
- package/dist-es/commands/AdminSetUserPasswordCommand.js +10 -0
- package/dist-es/commands/AdminSetUserSettingsCommand.js +10 -0
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +10 -0
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +10 -0
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +10 -0
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +10 -0
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +10 -0
- package/dist-es/commands/ChangePasswordCommand.js +10 -0
- package/dist-es/commands/ConfirmDeviceCommand.js +10 -0
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +10 -0
- package/dist-es/commands/ConfirmSignUpCommand.js +10 -0
- package/dist-es/commands/CreateGroupCommand.js +10 -0
- package/dist-es/commands/CreateIdentityProviderCommand.js +10 -0
- package/dist-es/commands/CreateResourceServerCommand.js +10 -0
- package/dist-es/commands/CreateUserImportJobCommand.js +10 -0
- package/dist-es/commands/CreateUserPoolClientCommand.js +10 -0
- package/dist-es/commands/CreateUserPoolCommand.js +10 -0
- package/dist-es/commands/CreateUserPoolDomainCommand.js +10 -0
- package/dist-es/commands/DeleteGroupCommand.js +10 -0
- package/dist-es/commands/DeleteIdentityProviderCommand.js +10 -0
- package/dist-es/commands/DeleteResourceServerCommand.js +10 -0
- package/dist-es/commands/DeleteUserAttributesCommand.js +10 -0
- package/dist-es/commands/DeleteUserCommand.js +10 -0
- package/dist-es/commands/DeleteUserPoolClientCommand.js +10 -0
- package/dist-es/commands/DeleteUserPoolCommand.js +10 -0
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +10 -0
- package/dist-es/commands/DescribeIdentityProviderCommand.js +10 -0
- package/dist-es/commands/DescribeResourceServerCommand.js +10 -0
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +10 -0
- package/dist-es/commands/DescribeUserImportJobCommand.js +10 -0
- package/dist-es/commands/DescribeUserPoolClientCommand.js +10 -0
- package/dist-es/commands/DescribeUserPoolCommand.js +10 -0
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +10 -0
- package/dist-es/commands/ForgetDeviceCommand.js +10 -0
- package/dist-es/commands/ForgotPasswordCommand.js +10 -0
- package/dist-es/commands/GetCSVHeaderCommand.js +10 -0
- package/dist-es/commands/GetDeviceCommand.js +10 -0
- package/dist-es/commands/GetGroupCommand.js +10 -0
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +10 -0
- package/dist-es/commands/GetSigningCertificateCommand.js +10 -0
- package/dist-es/commands/GetUICustomizationCommand.js +10 -0
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +10 -0
- package/dist-es/commands/GetUserCommand.js +10 -0
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +10 -0
- package/dist-es/commands/GlobalSignOutCommand.js +10 -0
- package/dist-es/commands/InitiateAuthCommand.js +10 -0
- package/dist-es/commands/ListDevicesCommand.js +10 -0
- package/dist-es/commands/ListGroupsCommand.js +10 -0
- package/dist-es/commands/ListIdentityProvidersCommand.js +10 -0
- package/dist-es/commands/ListResourceServersCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListUserImportJobsCommand.js +10 -0
- package/dist-es/commands/ListUserPoolClientsCommand.js +10 -0
- package/dist-es/commands/ListUserPoolsCommand.js +10 -0
- package/dist-es/commands/ListUsersCommand.js +10 -0
- package/dist-es/commands/ListUsersInGroupCommand.js +10 -0
- package/dist-es/commands/ResendConfirmationCodeCommand.js +10 -0
- package/dist-es/commands/RespondToAuthChallengeCommand.js +10 -0
- package/dist-es/commands/RevokeTokenCommand.js +10 -0
- package/dist-es/commands/SetRiskConfigurationCommand.js +10 -0
- package/dist-es/commands/SetUICustomizationCommand.js +10 -0
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +10 -0
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +10 -0
- package/dist-es/commands/SetUserSettingsCommand.js +10 -0
- package/dist-es/commands/SignUpCommand.js +11 -2
- package/dist-es/commands/StartUserImportJobCommand.js +10 -0
- package/dist-es/commands/StopUserImportJobCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +10 -0
- package/dist-es/commands/UpdateDeviceStatusCommand.js +10 -0
- package/dist-es/commands/UpdateGroupCommand.js +10 -0
- package/dist-es/commands/UpdateIdentityProviderCommand.js +10 -0
- package/dist-es/commands/UpdateResourceServerCommand.js +10 -0
- package/dist-es/commands/UpdateUserAttributesCommand.js +10 -0
- package/dist-es/commands/UpdateUserPoolClientCommand.js +10 -0
- package/dist-es/commands/UpdateUserPoolCommand.js +10 -0
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +10 -0
- package/dist-es/commands/VerifySoftwareTokenCommand.js +10 -0
- package/dist-es/commands/VerifyUserAttributeCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +5 -13
- package/dist-es/models/models_1.js +13 -0
- package/dist-es/protocols/Aws_json1_1.js +12 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/CognitoIdentityProvider.d.ts +11 -10
- package/dist-types/CognitoIdentityProviderClient.d.ts +6 -9
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +2 -0
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +2 -0
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -0
- package/dist-types/commands/AdminCreateUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -0
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminDisableUserCommand.d.ts +5 -2
- package/dist-types/commands/AdminEnableUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +2 -0
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +2 -0
- package/dist-types/commands/AdminGetUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +2 -0
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminListDevicesCommand.d.ts +2 -0
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +2 -0
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +2 -0
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -0
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +2 -0
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +2 -0
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +2 -0
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -0
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +2 -0
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +2 -0
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +2 -0
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +2 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +2 -0
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -0
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +2 -0
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +2 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/CreateResourceServerCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserPoolCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/commands/ForgetDeviceCommand.d.ts +2 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +2 -0
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +2 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +2 -0
- package/dist-types/commands/GetGroupCommand.d.ts +2 -0
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +2 -0
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +5 -1
- package/dist-types/commands/GetUICustomizationCommand.d.ts +2 -0
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -0
- package/dist-types/commands/GetUserCommand.d.ts +2 -0
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +2 -0
- package/dist-types/commands/GlobalSignOutCommand.d.ts +4 -4
- package/dist-types/commands/InitiateAuthCommand.d.ts +2 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +2 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +2 -0
- package/dist-types/commands/ListResourceServersCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +2 -0
- package/dist-types/commands/ListUserPoolsCommand.d.ts +2 -0
- package/dist-types/commands/ListUsersCommand.d.ts +2 -0
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +2 -0
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +2 -0
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +2 -0
- package/dist-types/commands/RevokeTokenCommand.d.ts +5 -3
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/SetUICustomizationCommand.d.ts +2 -0
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +2 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -0
- package/dist-types/commands/SetUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/SignUpCommand.d.ts +3 -2
- package/dist-types/commands/StartUserImportJobCommand.d.ts +2 -0
- package/dist-types/commands/StopUserImportJobCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +2 -0
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +2 -0
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +109 -148
- package/dist-types/models/models_1.d.ts +126 -21
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AddCustomAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminCreateUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminDeleteUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminDisableUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminEnableUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminGetDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminGetUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminListDevicesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ConfirmDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateResourceServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteResourceServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeResourceServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ForgetDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ForgotPasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCSVHeaderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSigningCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SignUpCommand.d.ts +3 -2
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -14
- package/dist-types/ts3.4/models/models_1.d.ts +18 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -177
- package/dist-es/endpoints.js +0 -173
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,17 @@ export class UpdateUserPoolCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
11
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUserPoolCommand.getEndpointParameterInstructions()));
|
|
13
23
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
24
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
25
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,17 @@ export class UpdateUserPoolDomainCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
11
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUserPoolDomainCommand.getEndpointParameterInstructions()));
|
|
13
23
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
24
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
25
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,17 @@ export class VerifySoftwareTokenCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
11
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, VerifySoftwareTokenCommand.getEndpointParameterInstructions()));
|
|
13
23
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
24
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
25
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { VerifyUserAttributeRequestFilterSensitiveLog, VerifyUserAttributeResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class VerifyUserAttributeCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, VerifyUserAttributeCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
export const ruleSet = {
|
|
2
|
+
version: "1.0",
|
|
3
|
+
parameters: {
|
|
4
|
+
Region: {
|
|
5
|
+
builtIn: "AWS::Region",
|
|
6
|
+
required: false,
|
|
7
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
+
type: "String",
|
|
9
|
+
},
|
|
10
|
+
UseDualStack: {
|
|
11
|
+
builtIn: "AWS::UseDualStack",
|
|
12
|
+
required: true,
|
|
13
|
+
default: false,
|
|
14
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
+
type: "Boolean",
|
|
16
|
+
},
|
|
17
|
+
UseFIPS: {
|
|
18
|
+
builtIn: "AWS::UseFIPS",
|
|
19
|
+
required: true,
|
|
20
|
+
default: false,
|
|
21
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
22
|
+
type: "Boolean",
|
|
23
|
+
},
|
|
24
|
+
Endpoint: {
|
|
25
|
+
builtIn: "SDK::Endpoint",
|
|
26
|
+
required: false,
|
|
27
|
+
documentation: "Override the endpoint used to send this request",
|
|
28
|
+
type: "String",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
rules: [
|
|
32
|
+
{
|
|
33
|
+
conditions: [
|
|
34
|
+
{
|
|
35
|
+
fn: "aws.partition",
|
|
36
|
+
argv: [
|
|
37
|
+
{
|
|
38
|
+
ref: "Region",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
assign: "PartitionResult",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
type: "tree",
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
conditions: [
|
|
48
|
+
{
|
|
49
|
+
fn: "isSet",
|
|
50
|
+
argv: [
|
|
51
|
+
{
|
|
52
|
+
ref: "Endpoint",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
fn: "parseURL",
|
|
58
|
+
argv: [
|
|
59
|
+
{
|
|
60
|
+
ref: "Endpoint",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
assign: "url",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
type: "tree",
|
|
67
|
+
rules: [
|
|
68
|
+
{
|
|
69
|
+
conditions: [
|
|
70
|
+
{
|
|
71
|
+
fn: "booleanEquals",
|
|
72
|
+
argv: [
|
|
73
|
+
{
|
|
74
|
+
ref: "UseFIPS",
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
conditions: [],
|
|
85
|
+
type: "tree",
|
|
86
|
+
rules: [
|
|
87
|
+
{
|
|
88
|
+
conditions: [
|
|
89
|
+
{
|
|
90
|
+
fn: "booleanEquals",
|
|
91
|
+
argv: [
|
|
92
|
+
{
|
|
93
|
+
ref: "UseDualStack",
|
|
94
|
+
},
|
|
95
|
+
true,
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
+
type: "error",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
conditions: [],
|
|
104
|
+
endpoint: {
|
|
105
|
+
url: {
|
|
106
|
+
ref: "Endpoint",
|
|
107
|
+
},
|
|
108
|
+
properties: {},
|
|
109
|
+
headers: {},
|
|
110
|
+
},
|
|
111
|
+
type: "endpoint",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
conditions: [
|
|
119
|
+
{
|
|
120
|
+
fn: "booleanEquals",
|
|
121
|
+
argv: [
|
|
122
|
+
{
|
|
123
|
+
ref: "UseFIPS",
|
|
124
|
+
},
|
|
125
|
+
true,
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
fn: "booleanEquals",
|
|
130
|
+
argv: [
|
|
131
|
+
{
|
|
132
|
+
ref: "UseDualStack",
|
|
133
|
+
},
|
|
134
|
+
true,
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
type: "tree",
|
|
139
|
+
rules: [
|
|
140
|
+
{
|
|
141
|
+
conditions: [
|
|
142
|
+
{
|
|
143
|
+
fn: "booleanEquals",
|
|
144
|
+
argv: [
|
|
145
|
+
true,
|
|
146
|
+
{
|
|
147
|
+
fn: "getAttr",
|
|
148
|
+
argv: [
|
|
149
|
+
{
|
|
150
|
+
ref: "PartitionResult",
|
|
151
|
+
},
|
|
152
|
+
"supportsFIPS",
|
|
153
|
+
],
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
fn: "booleanEquals",
|
|
159
|
+
argv: [
|
|
160
|
+
true,
|
|
161
|
+
{
|
|
162
|
+
fn: "getAttr",
|
|
163
|
+
argv: [
|
|
164
|
+
{
|
|
165
|
+
ref: "PartitionResult",
|
|
166
|
+
},
|
|
167
|
+
"supportsDualStack",
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
type: "tree",
|
|
174
|
+
rules: [
|
|
175
|
+
{
|
|
176
|
+
conditions: [],
|
|
177
|
+
endpoint: {
|
|
178
|
+
url: "https://cognito-idp-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
179
|
+
properties: {},
|
|
180
|
+
headers: {},
|
|
181
|
+
},
|
|
182
|
+
type: "endpoint",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
conditions: [],
|
|
188
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
189
|
+
type: "error",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
conditions: [
|
|
195
|
+
{
|
|
196
|
+
fn: "booleanEquals",
|
|
197
|
+
argv: [
|
|
198
|
+
{
|
|
199
|
+
ref: "UseFIPS",
|
|
200
|
+
},
|
|
201
|
+
true,
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
type: "tree",
|
|
206
|
+
rules: [
|
|
207
|
+
{
|
|
208
|
+
conditions: [
|
|
209
|
+
{
|
|
210
|
+
fn: "booleanEquals",
|
|
211
|
+
argv: [
|
|
212
|
+
true,
|
|
213
|
+
{
|
|
214
|
+
fn: "getAttr",
|
|
215
|
+
argv: [
|
|
216
|
+
{
|
|
217
|
+
ref: "PartitionResult",
|
|
218
|
+
},
|
|
219
|
+
"supportsFIPS",
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
type: "tree",
|
|
226
|
+
rules: [
|
|
227
|
+
{
|
|
228
|
+
conditions: [],
|
|
229
|
+
type: "tree",
|
|
230
|
+
rules: [
|
|
231
|
+
{
|
|
232
|
+
conditions: [],
|
|
233
|
+
endpoint: {
|
|
234
|
+
url: "https://cognito-idp-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
235
|
+
properties: {},
|
|
236
|
+
headers: {},
|
|
237
|
+
},
|
|
238
|
+
type: "endpoint",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
conditions: [],
|
|
246
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
247
|
+
type: "error",
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
conditions: [
|
|
253
|
+
{
|
|
254
|
+
fn: "booleanEquals",
|
|
255
|
+
argv: [
|
|
256
|
+
{
|
|
257
|
+
ref: "UseDualStack",
|
|
258
|
+
},
|
|
259
|
+
true,
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
type: "tree",
|
|
264
|
+
rules: [
|
|
265
|
+
{
|
|
266
|
+
conditions: [
|
|
267
|
+
{
|
|
268
|
+
fn: "booleanEquals",
|
|
269
|
+
argv: [
|
|
270
|
+
true,
|
|
271
|
+
{
|
|
272
|
+
fn: "getAttr",
|
|
273
|
+
argv: [
|
|
274
|
+
{
|
|
275
|
+
ref: "PartitionResult",
|
|
276
|
+
},
|
|
277
|
+
"supportsDualStack",
|
|
278
|
+
],
|
|
279
|
+
},
|
|
280
|
+
],
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
type: "tree",
|
|
284
|
+
rules: [
|
|
285
|
+
{
|
|
286
|
+
conditions: [],
|
|
287
|
+
endpoint: {
|
|
288
|
+
url: "https://cognito-idp.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
289
|
+
properties: {},
|
|
290
|
+
headers: {},
|
|
291
|
+
},
|
|
292
|
+
type: "endpoint",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
conditions: [],
|
|
298
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
299
|
+
type: "error",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
conditions: [],
|
|
305
|
+
endpoint: {
|
|
306
|
+
url: "https://cognito-idp.{Region}.{PartitionResult#dnsSuffix}",
|
|
307
|
+
properties: {},
|
|
308
|
+
headers: {},
|
|
309
|
+
},
|
|
310
|
+
type: "endpoint",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
};
|
|
@@ -542,6 +542,11 @@ export var UserImportJobStatusType;
|
|
|
542
542
|
UserImportJobStatusType["Stopping"] = "Stopping";
|
|
543
543
|
UserImportJobStatusType["Succeeded"] = "Succeeded";
|
|
544
544
|
})(UserImportJobStatusType || (UserImportJobStatusType = {}));
|
|
545
|
+
export var DeletionProtectionType;
|
|
546
|
+
(function (DeletionProtectionType) {
|
|
547
|
+
DeletionProtectionType["ACTIVE"] = "ACTIVE";
|
|
548
|
+
DeletionProtectionType["INACTIVE"] = "INACTIVE";
|
|
549
|
+
})(DeletionProtectionType || (DeletionProtectionType = {}));
|
|
545
550
|
export var EmailSendingAccountType;
|
|
546
551
|
(function (EmailSendingAccountType) {
|
|
547
552
|
EmailSendingAccountType["COGNITO_DEFAULT"] = "COGNITO_DEFAULT";
|
|
@@ -1505,16 +1510,3 @@ export const SetUserSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
|
1505
1510
|
export const SetUserSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
1506
1511
|
...obj,
|
|
1507
1512
|
});
|
|
1508
|
-
export const SignUpRequestFilterSensitiveLog = (obj) => ({
|
|
1509
|
-
...obj,
|
|
1510
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1511
|
-
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
|
|
1512
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1513
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
1514
|
-
...(obj.UserAttributes && {
|
|
1515
|
-
UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
1516
|
-
}),
|
|
1517
|
-
...(obj.ValidationData && {
|
|
1518
|
-
ValidationData: obj.ValidationData.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
1519
|
-
}),
|
|
1520
|
-
});
|
|
@@ -18,6 +18,19 @@ export var VerifySoftwareTokenResponseType;
|
|
|
18
18
|
VerifySoftwareTokenResponseType["ERROR"] = "ERROR";
|
|
19
19
|
VerifySoftwareTokenResponseType["SUCCESS"] = "SUCCESS";
|
|
20
20
|
})(VerifySoftwareTokenResponseType || (VerifySoftwareTokenResponseType = {}));
|
|
21
|
+
export const SignUpRequestFilterSensitiveLog = (obj) => ({
|
|
22
|
+
...obj,
|
|
23
|
+
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
24
|
+
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
|
|
25
|
+
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
26
|
+
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
27
|
+
...(obj.UserAttributes && {
|
|
28
|
+
UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
29
|
+
}),
|
|
30
|
+
...(obj.ValidationData && {
|
|
31
|
+
ValidationData: obj.ValidationData.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
32
|
+
}),
|
|
33
|
+
});
|
|
21
34
|
export const SignUpResponseFilterSensitiveLog = (obj) => ({
|
|
22
35
|
...obj,
|
|
23
36
|
});
|
|
@@ -3128,6 +3128,9 @@ const deserializeAws_json1_1DeleteIdentityProviderCommandError = async (output,
|
|
|
3128
3128
|
};
|
|
3129
3129
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3130
3130
|
switch (errorCode) {
|
|
3131
|
+
case "ConcurrentModificationException":
|
|
3132
|
+
case "com.amazonaws.cognitoidentityprovider#ConcurrentModificationException":
|
|
3133
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
3131
3134
|
case "InternalErrorException":
|
|
3132
3135
|
case "com.amazonaws.cognitoidentityprovider#InternalErrorException":
|
|
3133
3136
|
throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
|
|
@@ -3371,6 +3374,9 @@ const deserializeAws_json1_1DeleteUserPoolClientCommandError = async (output, co
|
|
|
3371
3374
|
};
|
|
3372
3375
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3373
3376
|
switch (errorCode) {
|
|
3377
|
+
case "ConcurrentModificationException":
|
|
3378
|
+
case "com.amazonaws.cognitoidentityprovider#ConcurrentModificationException":
|
|
3379
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
3374
3380
|
case "InternalErrorException":
|
|
3375
3381
|
case "com.amazonaws.cognitoidentityprovider#InternalErrorException":
|
|
3376
3382
|
throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
|
|
@@ -5855,6 +5861,9 @@ const deserializeAws_json1_1UpdateIdentityProviderCommandError = async (output,
|
|
|
5855
5861
|
};
|
|
5856
5862
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5857
5863
|
switch (errorCode) {
|
|
5864
|
+
case "ConcurrentModificationException":
|
|
5865
|
+
case "com.amazonaws.cognitoidentityprovider#ConcurrentModificationException":
|
|
5866
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
5858
5867
|
case "InternalErrorException":
|
|
5859
5868
|
case "com.amazonaws.cognitoidentityprovider#InternalErrorException":
|
|
5860
5869
|
throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
|
|
@@ -7277,6 +7286,7 @@ const serializeAws_json1_1CreateUserPoolRequest = (input, context) => {
|
|
|
7277
7286
|
...(input.AutoVerifiedAttributes != null && {
|
|
7278
7287
|
AutoVerifiedAttributes: serializeAws_json1_1VerifiedAttributesListType(input.AutoVerifiedAttributes, context),
|
|
7279
7288
|
}),
|
|
7289
|
+
...(input.DeletionProtection != null && { DeletionProtection: input.DeletionProtection }),
|
|
7280
7290
|
...(input.DeviceConfiguration != null && {
|
|
7281
7291
|
DeviceConfiguration: serializeAws_json1_1DeviceConfigurationType(input.DeviceConfiguration, context),
|
|
7282
7292
|
}),
|
|
@@ -8176,6 +8186,7 @@ const serializeAws_json1_1UpdateUserPoolRequest = (input, context) => {
|
|
|
8176
8186
|
...(input.AutoVerifiedAttributes != null && {
|
|
8177
8187
|
AutoVerifiedAttributes: serializeAws_json1_1VerifiedAttributesListType(input.AutoVerifiedAttributes, context),
|
|
8178
8188
|
}),
|
|
8189
|
+
...(input.DeletionProtection != null && { DeletionProtection: input.DeletionProtection }),
|
|
8179
8190
|
...(input.DeviceConfiguration != null && {
|
|
8180
8191
|
DeviceConfiguration: serializeAws_json1_1DeviceConfigurationType(input.DeviceConfiguration, context),
|
|
8181
8192
|
}),
|
|
@@ -9963,6 +9974,7 @@ const deserializeAws_json1_1UserPoolType = (output, context) => {
|
|
|
9963
9974
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
|
|
9964
9975
|
: undefined,
|
|
9965
9976
|
CustomDomain: __expectString(output.CustomDomain),
|
|
9977
|
+
DeletionProtection: __expectString(output.DeletionProtection),
|
|
9966
9978
|
DeviceConfiguration: output.DeviceConfiguration != null
|
|
9967
9979
|
? deserializeAws_json1_1DeviceConfigurationType(output.DeviceConfiguration, context)
|
|
9968
9980
|
: undefined,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2016-04-18",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "Cognito Identity Provider",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|
|
@@ -216,8 +216,9 @@ export declare class CognitoIdentityProvider extends CognitoIdentityProviderClie
|
|
|
216
216
|
adminDisableProviderForUser(args: AdminDisableProviderForUserCommandInput, cb: (err: any, data?: AdminDisableProviderForUserCommandOutput) => void): void;
|
|
217
217
|
adminDisableProviderForUser(args: AdminDisableProviderForUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AdminDisableProviderForUserCommandOutput) => void): void;
|
|
218
218
|
/**
|
|
219
|
-
* <p>
|
|
220
|
-
*
|
|
219
|
+
* <p>Deactivates a user and revokes all access tokens for the user. A deactivated user can't sign in,
|
|
220
|
+
* but still appears in the responses to <code>GetUser</code> and <code>ListUsers</code> API requests.</p>
|
|
221
|
+
* <p>You must make this API request with Amazon Web Services credentials that have <code>cognito-idp:AdminDisableUser</code> permissions.</p>
|
|
221
222
|
*/
|
|
222
223
|
adminDisableUser(args: AdminDisableUserCommandInput, options?: __HttpHandlerOptions): Promise<AdminDisableUserCommandOutput>;
|
|
223
224
|
adminDisableUser(args: AdminDisableUserCommandInput, cb: (err: any, data?: AdminDisableUserCommandOutput) => void): void;
|
|
@@ -749,7 +750,9 @@ export declare class CognitoIdentityProvider extends CognitoIdentityProviderClie
|
|
|
749
750
|
getIdentityProviderByIdentifier(args: GetIdentityProviderByIdentifierCommandInput, cb: (err: any, data?: GetIdentityProviderByIdentifierCommandOutput) => void): void;
|
|
750
751
|
getIdentityProviderByIdentifier(args: GetIdentityProviderByIdentifierCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIdentityProviderByIdentifierCommandOutput) => void): void;
|
|
751
752
|
/**
|
|
752
|
-
* <p>This method takes a user pool ID, and returns the signing certificate.</p>
|
|
753
|
+
* <p>This method takes a user pool ID, and returns the signing certificate. The issued certificate is valid for 10 years from the date of issue.</p>
|
|
754
|
+
* <p>Amazon Cognito issues and assigns a new signing certificate annually. This process returns a new value in the response to <code>GetSigningCertificate</code>,
|
|
755
|
+
* but doesn't invalidate the original certificate.</p>
|
|
753
756
|
*/
|
|
754
757
|
getSigningCertificate(args: GetSigningCertificateCommandInput, options?: __HttpHandlerOptions): Promise<GetSigningCertificateCommandOutput>;
|
|
755
758
|
getSigningCertificate(args: GetSigningCertificateCommandInput, cb: (err: any, data?: GetSigningCertificateCommandOutput) => void): void;
|
|
@@ -804,10 +807,8 @@ export declare class CognitoIdentityProvider extends CognitoIdentityProviderClie
|
|
|
804
807
|
getUserPoolMfaConfig(args: GetUserPoolMfaConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserPoolMfaConfigCommandOutput) => void): void;
|
|
805
808
|
/**
|
|
806
809
|
* <p>Signs out users from all devices. It also invalidates all refresh tokens that Amazon Cognito
|
|
807
|
-
* has issued to a user.
|
|
808
|
-
*
|
|
809
|
-
* can still use a hosted UI cookie to retrieve new tokens for the duration of the cookie
|
|
810
|
-
* validity period of 1 hour.</p>
|
|
810
|
+
* has issued to a user. A user can still use a hosted UI cookie to retrieve new tokens
|
|
811
|
+
* for the duration of the 1-hour cookie validity period.</p>
|
|
811
812
|
*/
|
|
812
813
|
globalSignOut(args: GlobalSignOutCommandInput, options?: __HttpHandlerOptions): Promise<GlobalSignOutCommandOutput>;
|
|
813
814
|
globalSignOut(args: GlobalSignOutCommandInput, cb: (err: any, data?: GlobalSignOutCommandOutput) => void): void;
|
|
@@ -952,9 +953,9 @@ export declare class CognitoIdentityProvider extends CognitoIdentityProviderClie
|
|
|
952
953
|
respondToAuthChallenge(args: RespondToAuthChallengeCommandInput, cb: (err: any, data?: RespondToAuthChallengeCommandOutput) => void): void;
|
|
953
954
|
respondToAuthChallenge(args: RespondToAuthChallengeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RespondToAuthChallengeCommandOutput) => void): void;
|
|
954
955
|
/**
|
|
955
|
-
* <p>Revokes all of the access tokens generated by the
|
|
956
|
-
* token is revoked, you can't use the revoked token to access
|
|
957
|
-
* APIs.</p>
|
|
956
|
+
* <p>Revokes all of the access tokens generated by, and at the same time as, the specified
|
|
957
|
+
* refresh token. After a token is revoked, you can't use the revoked token to access
|
|
958
|
+
* Amazon Cognito user APIs, or to authorize access to your resource server.</p>
|
|
958
959
|
*/
|
|
959
960
|
revokeToken(args: RevokeTokenCommandInput, options?: __HttpHandlerOptions): Promise<RevokeTokenCommandOutput>;
|
|
960
961
|
revokeToken(args: RevokeTokenCommandInput, cb: (err: any, data?: RevokeTokenCommandOutput) => void): void;
|