@aws-sdk/client-cognito-identity-provider 3.192.0 → 3.194.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 +28 -26
- 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,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateGroupCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -11,8 +12,17 @@ class UpdateGroupCommand extends smithy_client_1.Command {
|
|
|
11
12
|
super();
|
|
12
13
|
this.input = input;
|
|
13
14
|
}
|
|
15
|
+
static getEndpointParameterInstructions() {
|
|
16
|
+
return {
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
14
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateGroupCommand.getEndpointParameterInstructions()));
|
|
16
26
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
28
|
const { logger } = configuration;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateIdentityProviderCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -11,8 +12,17 @@ class UpdateIdentityProviderCommand extends smithy_client_1.Command {
|
|
|
11
12
|
super();
|
|
12
13
|
this.input = input;
|
|
13
14
|
}
|
|
15
|
+
static getEndpointParameterInstructions() {
|
|
16
|
+
return {
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
14
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateIdentityProviderCommand.getEndpointParameterInstructions()));
|
|
16
26
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
28
|
const { logger } = configuration;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateResourceServerCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -11,8 +12,17 @@ class UpdateResourceServerCommand extends smithy_client_1.Command {
|
|
|
11
12
|
super();
|
|
12
13
|
this.input = input;
|
|
13
14
|
}
|
|
15
|
+
static getEndpointParameterInstructions() {
|
|
16
|
+
return {
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
14
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateResourceServerCommand.getEndpointParameterInstructions()));
|
|
16
26
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
28
|
const { logger } = configuration;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateUserAttributesCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_1_1 = require("../models/models_1");
|
|
@@ -10,8 +11,17 @@ class UpdateUserAttributesCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserAttributesCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateUserPoolClientCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -11,8 +12,17 @@ class UpdateUserPoolClientCommand extends smithy_client_1.Command {
|
|
|
11
12
|
super();
|
|
12
13
|
this.input = input;
|
|
13
14
|
}
|
|
15
|
+
static getEndpointParameterInstructions() {
|
|
16
|
+
return {
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
14
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserPoolClientCommand.getEndpointParameterInstructions()));
|
|
16
26
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
28
|
const { logger } = configuration;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateUserPoolCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -11,8 +12,17 @@ class UpdateUserPoolCommand extends smithy_client_1.Command {
|
|
|
11
12
|
super();
|
|
12
13
|
this.input = input;
|
|
13
14
|
}
|
|
15
|
+
static getEndpointParameterInstructions() {
|
|
16
|
+
return {
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
14
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserPoolCommand.getEndpointParameterInstructions()));
|
|
16
26
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
28
|
const { logger } = configuration;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateUserPoolDomainCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -11,8 +12,17 @@ class UpdateUserPoolDomainCommand extends smithy_client_1.Command {
|
|
|
11
12
|
super();
|
|
12
13
|
this.input = input;
|
|
13
14
|
}
|
|
15
|
+
static getEndpointParameterInstructions() {
|
|
16
|
+
return {
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
14
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserPoolDomainCommand.getEndpointParameterInstructions()));
|
|
16
26
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
28
|
const { logger } = configuration;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VerifySoftwareTokenCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -11,8 +12,17 @@ class VerifySoftwareTokenCommand extends smithy_client_1.Command {
|
|
|
11
12
|
super();
|
|
12
13
|
this.input = input;
|
|
13
14
|
}
|
|
15
|
+
static getEndpointParameterInstructions() {
|
|
16
|
+
return {
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
14
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, VerifySoftwareTokenCommand.getEndpointParameterInstructions()));
|
|
16
26
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
28
|
const { logger } = configuration;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VerifyUserAttributeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_1_1 = require("../models/models_1");
|
|
@@ -10,8 +11,17 @@ class VerifyUserAttributeCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, VerifyUserAttributeCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
return {
|
|
7
|
+
...options,
|
|
8
|
+
useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
|
|
9
|
+
useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
|
|
10
|
+
defaultSigningName: "cognito-idp",
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
exports.ruleSet = {
|
|
5
|
+
version: "1.0",
|
|
6
|
+
parameters: {
|
|
7
|
+
Region: {
|
|
8
|
+
builtIn: "AWS::Region",
|
|
9
|
+
required: false,
|
|
10
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
11
|
+
type: "String",
|
|
12
|
+
},
|
|
13
|
+
UseDualStack: {
|
|
14
|
+
builtIn: "AWS::UseDualStack",
|
|
15
|
+
required: true,
|
|
16
|
+
default: false,
|
|
17
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
18
|
+
type: "Boolean",
|
|
19
|
+
},
|
|
20
|
+
UseFIPS: {
|
|
21
|
+
builtIn: "AWS::UseFIPS",
|
|
22
|
+
required: true,
|
|
23
|
+
default: false,
|
|
24
|
+
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.",
|
|
25
|
+
type: "Boolean",
|
|
26
|
+
},
|
|
27
|
+
Endpoint: {
|
|
28
|
+
builtIn: "SDK::Endpoint",
|
|
29
|
+
required: false,
|
|
30
|
+
documentation: "Override the endpoint used to send this request",
|
|
31
|
+
type: "String",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
rules: [
|
|
35
|
+
{
|
|
36
|
+
conditions: [
|
|
37
|
+
{
|
|
38
|
+
fn: "aws.partition",
|
|
39
|
+
argv: [
|
|
40
|
+
{
|
|
41
|
+
ref: "Region",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
assign: "PartitionResult",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
type: "tree",
|
|
48
|
+
rules: [
|
|
49
|
+
{
|
|
50
|
+
conditions: [
|
|
51
|
+
{
|
|
52
|
+
fn: "isSet",
|
|
53
|
+
argv: [
|
|
54
|
+
{
|
|
55
|
+
ref: "Endpoint",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
fn: "parseURL",
|
|
61
|
+
argv: [
|
|
62
|
+
{
|
|
63
|
+
ref: "Endpoint",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
assign: "url",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
type: "tree",
|
|
70
|
+
rules: [
|
|
71
|
+
{
|
|
72
|
+
conditions: [
|
|
73
|
+
{
|
|
74
|
+
fn: "booleanEquals",
|
|
75
|
+
argv: [
|
|
76
|
+
{
|
|
77
|
+
ref: "UseFIPS",
|
|
78
|
+
},
|
|
79
|
+
true,
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
84
|
+
type: "error",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
conditions: [],
|
|
88
|
+
type: "tree",
|
|
89
|
+
rules: [
|
|
90
|
+
{
|
|
91
|
+
conditions: [
|
|
92
|
+
{
|
|
93
|
+
fn: "booleanEquals",
|
|
94
|
+
argv: [
|
|
95
|
+
{
|
|
96
|
+
ref: "UseDualStack",
|
|
97
|
+
},
|
|
98
|
+
true,
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
103
|
+
type: "error",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
conditions: [],
|
|
107
|
+
endpoint: {
|
|
108
|
+
url: {
|
|
109
|
+
ref: "Endpoint",
|
|
110
|
+
},
|
|
111
|
+
properties: {},
|
|
112
|
+
headers: {},
|
|
113
|
+
},
|
|
114
|
+
type: "endpoint",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
conditions: [
|
|
122
|
+
{
|
|
123
|
+
fn: "booleanEquals",
|
|
124
|
+
argv: [
|
|
125
|
+
{
|
|
126
|
+
ref: "UseFIPS",
|
|
127
|
+
},
|
|
128
|
+
true,
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
fn: "booleanEquals",
|
|
133
|
+
argv: [
|
|
134
|
+
{
|
|
135
|
+
ref: "UseDualStack",
|
|
136
|
+
},
|
|
137
|
+
true,
|
|
138
|
+
],
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
type: "tree",
|
|
142
|
+
rules: [
|
|
143
|
+
{
|
|
144
|
+
conditions: [
|
|
145
|
+
{
|
|
146
|
+
fn: "booleanEquals",
|
|
147
|
+
argv: [
|
|
148
|
+
true,
|
|
149
|
+
{
|
|
150
|
+
fn: "getAttr",
|
|
151
|
+
argv: [
|
|
152
|
+
{
|
|
153
|
+
ref: "PartitionResult",
|
|
154
|
+
},
|
|
155
|
+
"supportsFIPS",
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
fn: "booleanEquals",
|
|
162
|
+
argv: [
|
|
163
|
+
true,
|
|
164
|
+
{
|
|
165
|
+
fn: "getAttr",
|
|
166
|
+
argv: [
|
|
167
|
+
{
|
|
168
|
+
ref: "PartitionResult",
|
|
169
|
+
},
|
|
170
|
+
"supportsDualStack",
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
type: "tree",
|
|
177
|
+
rules: [
|
|
178
|
+
{
|
|
179
|
+
conditions: [],
|
|
180
|
+
endpoint: {
|
|
181
|
+
url: "https://cognito-idp-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
182
|
+
properties: {},
|
|
183
|
+
headers: {},
|
|
184
|
+
},
|
|
185
|
+
type: "endpoint",
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
conditions: [],
|
|
191
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
192
|
+
type: "error",
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
conditions: [
|
|
198
|
+
{
|
|
199
|
+
fn: "booleanEquals",
|
|
200
|
+
argv: [
|
|
201
|
+
{
|
|
202
|
+
ref: "UseFIPS",
|
|
203
|
+
},
|
|
204
|
+
true,
|
|
205
|
+
],
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
type: "tree",
|
|
209
|
+
rules: [
|
|
210
|
+
{
|
|
211
|
+
conditions: [
|
|
212
|
+
{
|
|
213
|
+
fn: "booleanEquals",
|
|
214
|
+
argv: [
|
|
215
|
+
true,
|
|
216
|
+
{
|
|
217
|
+
fn: "getAttr",
|
|
218
|
+
argv: [
|
|
219
|
+
{
|
|
220
|
+
ref: "PartitionResult",
|
|
221
|
+
},
|
|
222
|
+
"supportsFIPS",
|
|
223
|
+
],
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
type: "tree",
|
|
229
|
+
rules: [
|
|
230
|
+
{
|
|
231
|
+
conditions: [],
|
|
232
|
+
type: "tree",
|
|
233
|
+
rules: [
|
|
234
|
+
{
|
|
235
|
+
conditions: [],
|
|
236
|
+
endpoint: {
|
|
237
|
+
url: "https://cognito-idp-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
238
|
+
properties: {},
|
|
239
|
+
headers: {},
|
|
240
|
+
},
|
|
241
|
+
type: "endpoint",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
conditions: [],
|
|
249
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
250
|
+
type: "error",
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
conditions: [
|
|
256
|
+
{
|
|
257
|
+
fn: "booleanEquals",
|
|
258
|
+
argv: [
|
|
259
|
+
{
|
|
260
|
+
ref: "UseDualStack",
|
|
261
|
+
},
|
|
262
|
+
true,
|
|
263
|
+
],
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
type: "tree",
|
|
267
|
+
rules: [
|
|
268
|
+
{
|
|
269
|
+
conditions: [
|
|
270
|
+
{
|
|
271
|
+
fn: "booleanEquals",
|
|
272
|
+
argv: [
|
|
273
|
+
true,
|
|
274
|
+
{
|
|
275
|
+
fn: "getAttr",
|
|
276
|
+
argv: [
|
|
277
|
+
{
|
|
278
|
+
ref: "PartitionResult",
|
|
279
|
+
},
|
|
280
|
+
"supportsDualStack",
|
|
281
|
+
],
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
type: "tree",
|
|
287
|
+
rules: [
|
|
288
|
+
{
|
|
289
|
+
conditions: [],
|
|
290
|
+
endpoint: {
|
|
291
|
+
url: "https://cognito-idp.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
292
|
+
properties: {},
|
|
293
|
+
headers: {},
|
|
294
|
+
},
|
|
295
|
+
type: "endpoint",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
conditions: [],
|
|
301
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
302
|
+
type: "error",
|
|
303
|
+
},
|
|
304
|
+
],
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
conditions: [],
|
|
308
|
+
endpoint: {
|
|
309
|
+
url: "https://cognito-idp.{Region}.{PartitionResult#dnsSuffix}",
|
|
310
|
+
properties: {},
|
|
311
|
+
headers: {},
|
|
312
|
+
},
|
|
313
|
+
type: "endpoint",
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
};
|