@aws-sdk/client-cognito-identity-provider 3.35.0 → 3.36.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 +13 -0
- package/dist-cjs/CognitoIdentityProvider.js +0 -1
- package/dist-cjs/CognitoIdentityProviderClient.js +0 -1
- package/dist-cjs/commands/AddCustomAttributesCommand.js +0 -1
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js +0 -1
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js +0 -1
- package/dist-cjs/commands/AdminCreateUserCommand.js +0 -1
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +0 -1
- package/dist-cjs/commands/AdminDeleteUserCommand.js +0 -1
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +0 -1
- package/dist-cjs/commands/AdminDisableUserCommand.js +0 -1
- package/dist-cjs/commands/AdminEnableUserCommand.js +0 -1
- package/dist-cjs/commands/AdminForgetDeviceCommand.js +0 -1
- package/dist-cjs/commands/AdminGetDeviceCommand.js +0 -1
- package/dist-cjs/commands/AdminGetUserCommand.js +0 -1
- package/dist-cjs/commands/AdminInitiateAuthCommand.js +0 -1
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +0 -1
- package/dist-cjs/commands/AdminListDevicesCommand.js +0 -1
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js +0 -1
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +0 -1
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +0 -1
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js +0 -1
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +0 -1
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +0 -1
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js +0 -1
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js +0 -1
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +0 -1
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +0 -1
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +0 -1
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +0 -1
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +0 -1
- package/dist-cjs/commands/ChangePasswordCommand.js +0 -1
- package/dist-cjs/commands/ConfirmDeviceCommand.js +0 -1
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +0 -1
- package/dist-cjs/commands/ConfirmSignUpCommand.js +0 -1
- package/dist-cjs/commands/CreateGroupCommand.js +0 -1
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +0 -1
- package/dist-cjs/commands/CreateResourceServerCommand.js +0 -1
- package/dist-cjs/commands/CreateUserImportJobCommand.js +0 -1
- package/dist-cjs/commands/CreateUserPoolClientCommand.js +0 -1
- package/dist-cjs/commands/CreateUserPoolCommand.js +0 -1
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js +0 -1
- package/dist-cjs/commands/DeleteGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +0 -1
- package/dist-cjs/commands/DeleteResourceServerCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserAttributesCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserPoolCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +0 -1
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js +0 -1
- package/dist-cjs/commands/DescribeResourceServerCommand.js +0 -1
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DescribeUserImportJobCommand.js +0 -1
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js +0 -1
- package/dist-cjs/commands/DescribeUserPoolCommand.js +0 -1
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +0 -1
- package/dist-cjs/commands/ForgetDeviceCommand.js +0 -1
- package/dist-cjs/commands/ForgotPasswordCommand.js +0 -1
- package/dist-cjs/commands/GetCSVHeaderCommand.js +0 -1
- package/dist-cjs/commands/GetDeviceCommand.js +0 -1
- package/dist-cjs/commands/GetGroupCommand.js +0 -1
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +0 -1
- package/dist-cjs/commands/GetSigningCertificateCommand.js +0 -1
- package/dist-cjs/commands/GetUICustomizationCommand.js +0 -1
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +0 -1
- package/dist-cjs/commands/GetUserCommand.js +0 -1
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +0 -1
- package/dist-cjs/commands/GlobalSignOutCommand.js +0 -1
- package/dist-cjs/commands/InitiateAuthCommand.js +0 -1
- package/dist-cjs/commands/ListDevicesCommand.js +0 -1
- package/dist-cjs/commands/ListGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +0 -1
- package/dist-cjs/commands/ListResourceServersCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListUserImportJobsCommand.js +0 -1
- package/dist-cjs/commands/ListUserPoolClientsCommand.js +0 -1
- package/dist-cjs/commands/ListUserPoolsCommand.js +0 -1
- package/dist-cjs/commands/ListUsersCommand.js +0 -1
- package/dist-cjs/commands/ListUsersInGroupCommand.js +0 -1
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js +0 -1
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js +0 -1
- package/dist-cjs/commands/RevokeTokenCommand.js +0 -1
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +0 -1
- package/dist-cjs/commands/SetUICustomizationCommand.js +0 -1
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +0 -1
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +0 -1
- package/dist-cjs/commands/SetUserSettingsCommand.js +0 -1
- package/dist-cjs/commands/SignUpCommand.js +0 -1
- package/dist-cjs/commands/StartUserImportJobCommand.js +0 -1
- package/dist-cjs/commands/StopUserImportJobCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +0 -1
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +0 -1
- package/dist-cjs/commands/UpdateGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +0 -1
- package/dist-cjs/commands/UpdateResourceServerCommand.js +0 -1
- package/dist-cjs/commands/UpdateUserAttributesCommand.js +0 -1
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js +0 -1
- package/dist-cjs/commands/UpdateUserPoolCommand.js +0 -1
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +0 -1
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +0 -1
- package/dist-cjs/commands/VerifyUserAttributeCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/models/models_1.js +0 -1
- package/dist-cjs/pagination/AdminListGroupsForUserPaginator.js +0 -1
- package/dist-cjs/pagination/AdminListUserAuthEventsPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +0 -1
- package/dist-cjs/pagination/ListResourceServersPaginator.js +0 -1
- package/dist-cjs/pagination/ListUserPoolClientsPaginator.js +0 -1
- package/dist-cjs/pagination/ListUserPoolsPaginator.js +0 -1
- package/dist-cjs/pagination/ListUsersInGroupPaginator.js +0 -1
- package/dist-cjs/pagination/ListUsersPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/CognitoIdentityProvider.js +0 -1
- package/dist-es/CognitoIdentityProviderClient.js +0 -1
- package/dist-es/commands/AddCustomAttributesCommand.js +0 -1
- package/dist-es/commands/AdminAddUserToGroupCommand.js +0 -1
- package/dist-es/commands/AdminConfirmSignUpCommand.js +0 -1
- package/dist-es/commands/AdminCreateUserCommand.js +0 -1
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +0 -1
- package/dist-es/commands/AdminDeleteUserCommand.js +0 -1
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +0 -1
- package/dist-es/commands/AdminDisableUserCommand.js +0 -1
- package/dist-es/commands/AdminEnableUserCommand.js +0 -1
- package/dist-es/commands/AdminForgetDeviceCommand.js +0 -1
- package/dist-es/commands/AdminGetDeviceCommand.js +0 -1
- package/dist-es/commands/AdminGetUserCommand.js +0 -1
- package/dist-es/commands/AdminInitiateAuthCommand.js +0 -1
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +0 -1
- package/dist-es/commands/AdminListDevicesCommand.js +0 -1
- package/dist-es/commands/AdminListGroupsForUserCommand.js +0 -1
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +0 -1
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +0 -1
- package/dist-es/commands/AdminResetUserPasswordCommand.js +0 -1
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +0 -1
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +0 -1
- package/dist-es/commands/AdminSetUserPasswordCommand.js +0 -1
- package/dist-es/commands/AdminSetUserSettingsCommand.js +0 -1
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +0 -1
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +0 -1
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +0 -1
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +0 -1
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +0 -1
- package/dist-es/commands/ChangePasswordCommand.js +0 -1
- package/dist-es/commands/ConfirmDeviceCommand.js +0 -1
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +0 -1
- package/dist-es/commands/ConfirmSignUpCommand.js +0 -1
- package/dist-es/commands/CreateGroupCommand.js +0 -1
- package/dist-es/commands/CreateIdentityProviderCommand.js +0 -1
- package/dist-es/commands/CreateResourceServerCommand.js +0 -1
- package/dist-es/commands/CreateUserImportJobCommand.js +0 -1
- package/dist-es/commands/CreateUserPoolClientCommand.js +0 -1
- package/dist-es/commands/CreateUserPoolCommand.js +0 -1
- package/dist-es/commands/CreateUserPoolDomainCommand.js +0 -1
- package/dist-es/commands/DeleteGroupCommand.js +0 -1
- package/dist-es/commands/DeleteIdentityProviderCommand.js +0 -1
- package/dist-es/commands/DeleteResourceServerCommand.js +0 -1
- package/dist-es/commands/DeleteUserAttributesCommand.js +0 -1
- package/dist-es/commands/DeleteUserCommand.js +0 -1
- package/dist-es/commands/DeleteUserPoolClientCommand.js +0 -1
- package/dist-es/commands/DeleteUserPoolCommand.js +0 -1
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +0 -1
- package/dist-es/commands/DescribeIdentityProviderCommand.js +0 -1
- package/dist-es/commands/DescribeResourceServerCommand.js +0 -1
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribeUserImportJobCommand.js +0 -1
- package/dist-es/commands/DescribeUserPoolClientCommand.js +0 -1
- package/dist-es/commands/DescribeUserPoolCommand.js +0 -1
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +0 -1
- package/dist-es/commands/ForgetDeviceCommand.js +0 -1
- package/dist-es/commands/ForgotPasswordCommand.js +0 -1
- package/dist-es/commands/GetCSVHeaderCommand.js +0 -1
- package/dist-es/commands/GetDeviceCommand.js +0 -1
- package/dist-es/commands/GetGroupCommand.js +0 -1
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +0 -1
- package/dist-es/commands/GetSigningCertificateCommand.js +0 -1
- package/dist-es/commands/GetUICustomizationCommand.js +0 -1
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +0 -1
- package/dist-es/commands/GetUserCommand.js +0 -1
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +0 -1
- package/dist-es/commands/GlobalSignOutCommand.js +0 -1
- package/dist-es/commands/InitiateAuthCommand.js +0 -1
- package/dist-es/commands/ListDevicesCommand.js +0 -1
- package/dist-es/commands/ListGroupsCommand.js +0 -1
- package/dist-es/commands/ListIdentityProvidersCommand.js +0 -1
- package/dist-es/commands/ListResourceServersCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListUserImportJobsCommand.js +0 -1
- package/dist-es/commands/ListUserPoolClientsCommand.js +0 -1
- package/dist-es/commands/ListUserPoolsCommand.js +0 -1
- package/dist-es/commands/ListUsersCommand.js +0 -1
- package/dist-es/commands/ListUsersInGroupCommand.js +0 -1
- package/dist-es/commands/ResendConfirmationCodeCommand.js +0 -1
- package/dist-es/commands/RespondToAuthChallengeCommand.js +0 -1
- package/dist-es/commands/RevokeTokenCommand.js +0 -1
- package/dist-es/commands/SetRiskConfigurationCommand.js +0 -1
- package/dist-es/commands/SetUICustomizationCommand.js +0 -1
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +0 -1
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +0 -1
- package/dist-es/commands/SetUserSettingsCommand.js +0 -1
- package/dist-es/commands/SignUpCommand.js +0 -1
- package/dist-es/commands/StartUserImportJobCommand.js +0 -1
- package/dist-es/commands/StopUserImportJobCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +0 -1
- package/dist-es/commands/UpdateDeviceStatusCommand.js +0 -1
- package/dist-es/commands/UpdateGroupCommand.js +0 -1
- package/dist-es/commands/UpdateIdentityProviderCommand.js +0 -1
- package/dist-es/commands/UpdateResourceServerCommand.js +0 -1
- package/dist-es/commands/UpdateUserAttributesCommand.js +0 -1
- package/dist-es/commands/UpdateUserPoolClientCommand.js +0 -1
- package/dist-es/commands/UpdateUserPoolCommand.js +0 -1
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +0 -1
- package/dist-es/commands/VerifySoftwareTokenCommand.js +0 -1
- package/dist-es/commands/VerifyUserAttributeCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/models/models_1.js +0 -1
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js +0 -1
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListGroupsPaginator.js +0 -1
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +0 -1
- package/dist-es/pagination/ListResourceServersPaginator.js +0 -1
- package/dist-es/pagination/ListUserPoolClientsPaginator.js +0 -1
- package/dist-es/pagination/ListUserPoolsPaginator.js +0 -1
- package/dist-es/pagination/ListUsersInGroupPaginator.js +0 -1
- package/dist-es/pagination/ListUsersPaginator.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/runtimeConfig.browser.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -0
- package/package.json +33 -30
- package/dist-cjs/CognitoIdentityProvider.js.map +0 -1
- package/dist-cjs/CognitoIdentityProviderClient.js.map +0 -1
- package/dist-cjs/commands/AddCustomAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js.map +0 -1
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js.map +0 -1
- package/dist-cjs/commands/AdminCreateUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/AdminDeleteUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminDisableUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminEnableUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminForgetDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/AdminGetDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/AdminGetUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminInitiateAuthCommand.js.map +0 -1
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminListDevicesCommand.js.map +0 -1
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js.map +0 -1
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js.map +0 -1
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js.map +0 -1
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js.map +0 -1
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js.map +0 -1
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js.map +0 -1
- package/dist-cjs/commands/ChangePasswordCommand.js.map +0 -1
- package/dist-cjs/commands/ConfirmDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/ConfirmSignUpCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIdentityProviderCommand.js.map +0 -1
- package/dist-cjs/commands/CreateResourceServerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserPoolClientCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserPoolCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteResourceServerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserPoolCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeResourceServerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserPoolCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js.map +0 -1
- package/dist-cjs/commands/ForgetDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/ForgotPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/GetCSVHeaderCommand.js.map +0 -1
- package/dist-cjs/commands/GetDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/GetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js.map +0 -1
- package/dist-cjs/commands/GetSigningCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/GetUICustomizationCommand.js.map +0 -1
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js.map +0 -1
- package/dist-cjs/commands/GetUserCommand.js.map +0 -1
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GlobalSignOutCommand.js.map +0 -1
- package/dist-cjs/commands/InitiateAuthCommand.js.map +0 -1
- package/dist-cjs/commands/ListDevicesCommand.js.map +0 -1
- package/dist-cjs/commands/ListGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListIdentityProvidersCommand.js.map +0 -1
- package/dist-cjs/commands/ListResourceServersCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListUserImportJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListUserPoolClientsCommand.js.map +0 -1
- package/dist-cjs/commands/ListUserPoolsCommand.js.map +0 -1
- package/dist-cjs/commands/ListUsersCommand.js.map +0 -1
- package/dist-cjs/commands/ListUsersInGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js.map +0 -1
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js.map +0 -1
- package/dist-cjs/commands/RevokeTokenCommand.js.map +0 -1
- package/dist-cjs/commands/SetRiskConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/SetUICustomizationCommand.js.map +0 -1
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js.map +0 -1
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist-cjs/commands/SetUserSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/SignUpCommand.js.map +0 -1
- package/dist-cjs/commands/StartUserImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/StopUserImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateResourceServerCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUserAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUserPoolCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js.map +0 -1
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js.map +0 -1
- package/dist-cjs/commands/VerifyUserAttributeCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/models/models_1.js.map +0 -1
- package/dist-cjs/pagination/AdminListGroupsForUserPaginator.js.map +0 -1
- package/dist-cjs/pagination/AdminListUserAuthEventsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListIdentityProvidersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListResourceServersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUserPoolClientsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUserPoolsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUsersInGroupPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUsersPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/CognitoIdentityProvider.js.map +0 -1
- package/dist-es/CognitoIdentityProviderClient.js.map +0 -1
- package/dist-es/commands/AddCustomAttributesCommand.js.map +0 -1
- package/dist-es/commands/AdminAddUserToGroupCommand.js.map +0 -1
- package/dist-es/commands/AdminConfirmSignUpCommand.js.map +0 -1
- package/dist-es/commands/AdminCreateUserCommand.js.map +0 -1
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js.map +0 -1
- package/dist-es/commands/AdminDeleteUserCommand.js.map +0 -1
- package/dist-es/commands/AdminDisableProviderForUserCommand.js.map +0 -1
- package/dist-es/commands/AdminDisableUserCommand.js.map +0 -1
- package/dist-es/commands/AdminEnableUserCommand.js.map +0 -1
- package/dist-es/commands/AdminForgetDeviceCommand.js.map +0 -1
- package/dist-es/commands/AdminGetDeviceCommand.js.map +0 -1
- package/dist-es/commands/AdminGetUserCommand.js.map +0 -1
- package/dist-es/commands/AdminInitiateAuthCommand.js.map +0 -1
- package/dist-es/commands/AdminLinkProviderForUserCommand.js.map +0 -1
- package/dist-es/commands/AdminListDevicesCommand.js.map +0 -1
- package/dist-es/commands/AdminListGroupsForUserCommand.js.map +0 -1
- package/dist-es/commands/AdminListUserAuthEventsCommand.js.map +0 -1
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js.map +0 -1
- package/dist-es/commands/AdminResetUserPasswordCommand.js.map +0 -1
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js.map +0 -1
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js.map +0 -1
- package/dist-es/commands/AdminSetUserPasswordCommand.js.map +0 -1
- package/dist-es/commands/AdminSetUserSettingsCommand.js.map +0 -1
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js.map +0 -1
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js.map +0 -1
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js.map +0 -1
- package/dist-es/commands/AssociateSoftwareTokenCommand.js.map +0 -1
- package/dist-es/commands/ChangePasswordCommand.js.map +0 -1
- package/dist-es/commands/ConfirmDeviceCommand.js.map +0 -1
- package/dist-es/commands/ConfirmForgotPasswordCommand.js.map +0 -1
- package/dist-es/commands/ConfirmSignUpCommand.js.map +0 -1
- package/dist-es/commands/CreateGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateIdentityProviderCommand.js.map +0 -1
- package/dist-es/commands/CreateResourceServerCommand.js.map +0 -1
- package/dist-es/commands/CreateUserImportJobCommand.js.map +0 -1
- package/dist-es/commands/CreateUserPoolClientCommand.js.map +0 -1
- package/dist-es/commands/CreateUserPoolCommand.js.map +0 -1
- package/dist-es/commands/CreateUserPoolDomainCommand.js.map +0 -1
- package/dist-es/commands/DeleteGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteIdentityProviderCommand.js.map +0 -1
- package/dist-es/commands/DeleteResourceServerCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserAttributesCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserPoolClientCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserPoolCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserPoolDomainCommand.js.map +0 -1
- package/dist-es/commands/DescribeIdentityProviderCommand.js.map +0 -1
- package/dist-es/commands/DescribeResourceServerCommand.js.map +0 -1
- package/dist-es/commands/DescribeRiskConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserImportJobCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserPoolClientCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserPoolCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserPoolDomainCommand.js.map +0 -1
- package/dist-es/commands/ForgetDeviceCommand.js.map +0 -1
- package/dist-es/commands/ForgotPasswordCommand.js.map +0 -1
- package/dist-es/commands/GetCSVHeaderCommand.js.map +0 -1
- package/dist-es/commands/GetDeviceCommand.js.map +0 -1
- package/dist-es/commands/GetGroupCommand.js.map +0 -1
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js.map +0 -1
- package/dist-es/commands/GetSigningCertificateCommand.js.map +0 -1
- package/dist-es/commands/GetUICustomizationCommand.js.map +0 -1
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js.map +0 -1
- package/dist-es/commands/GetUserCommand.js.map +0 -1
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist-es/commands/GlobalSignOutCommand.js.map +0 -1
- package/dist-es/commands/InitiateAuthCommand.js.map +0 -1
- package/dist-es/commands/ListDevicesCommand.js.map +0 -1
- package/dist-es/commands/ListGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListIdentityProvidersCommand.js.map +0 -1
- package/dist-es/commands/ListResourceServersCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListUserImportJobsCommand.js.map +0 -1
- package/dist-es/commands/ListUserPoolClientsCommand.js.map +0 -1
- package/dist-es/commands/ListUserPoolsCommand.js.map +0 -1
- package/dist-es/commands/ListUsersCommand.js.map +0 -1
- package/dist-es/commands/ListUsersInGroupCommand.js.map +0 -1
- package/dist-es/commands/ResendConfirmationCodeCommand.js.map +0 -1
- package/dist-es/commands/RespondToAuthChallengeCommand.js.map +0 -1
- package/dist-es/commands/RevokeTokenCommand.js.map +0 -1
- package/dist-es/commands/SetRiskConfigurationCommand.js.map +0 -1
- package/dist-es/commands/SetUICustomizationCommand.js.map +0 -1
- package/dist-es/commands/SetUserMFAPreferenceCommand.js.map +0 -1
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist-es/commands/SetUserSettingsCommand.js.map +0 -1
- package/dist-es/commands/SignUpCommand.js.map +0 -1
- package/dist-es/commands/StartUserImportJobCommand.js.map +0 -1
- package/dist-es/commands/StopUserImportJobCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist-es/commands/UpdateDeviceStatusCommand.js.map +0 -1
- package/dist-es/commands/UpdateGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateIdentityProviderCommand.js.map +0 -1
- package/dist-es/commands/UpdateResourceServerCommand.js.map +0 -1
- package/dist-es/commands/UpdateUserAttributesCommand.js.map +0 -1
- package/dist-es/commands/UpdateUserPoolClientCommand.js.map +0 -1
- package/dist-es/commands/UpdateUserPoolCommand.js.map +0 -1
- package/dist-es/commands/UpdateUserPoolDomainCommand.js.map +0 -1
- package/dist-es/commands/VerifySoftwareTokenCommand.js.map +0 -1
- package/dist-es/commands/VerifyUserAttributeCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/models/models_1.js.map +0 -1
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js.map +0 -1
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/ListIdentityProvidersPaginator.js.map +0 -1
- package/dist-es/pagination/ListResourceServersPaginator.js.map +0 -1
- package/dist-es/pagination/ListUserPoolClientsPaginator.js.map +0 -1
- package/dist-es/pagination/ListUserPoolsPaginator.js.map +0 -1
- package/dist-es/pagination/ListUsersInGroupPaginator.js.map +0 -1
- package/dist-es/pagination/ListUsersPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/CognitoIdentityProvider.ts +0 -4102
- package/src/CognitoIdentityProviderClient.ts +0 -707
- package/src/commands/AddCustomAttributesCommand.ts +0 -101
- package/src/commands/AdminAddUserToGroupCommand.ts +0 -102
- package/src/commands/AdminConfirmSignUpCommand.ts +0 -103
- package/src/commands/AdminCreateUserCommand.ts +0 -130
- package/src/commands/AdminDeleteUserAttributesCommand.ts +0 -106
- package/src/commands/AdminDeleteUserCommand.ts +0 -102
- package/src/commands/AdminDisableProviderForUserCommand.ts +0 -133
- package/src/commands/AdminDisableUserCommand.ts +0 -102
- package/src/commands/AdminEnableUserCommand.ts +0 -102
- package/src/commands/AdminForgetDeviceCommand.ts +0 -102
- package/src/commands/AdminGetDeviceCommand.ts +0 -102
- package/src/commands/AdminGetUserCommand.ts +0 -103
- package/src/commands/AdminInitiateAuthCommand.ts +0 -121
- package/src/commands/AdminLinkProviderForUserCommand.ts +0 -121
- package/src/commands/AdminListDevicesCommand.ts +0 -102
- package/src/commands/AdminListGroupsForUserCommand.ts +0 -102
- package/src/commands/AdminListUserAuthEventsCommand.ts +0 -102
- package/src/commands/AdminRemoveUserFromGroupCommand.ts +0 -102
- package/src/commands/AdminResetUserPasswordCommand.ts +0 -130
- package/src/commands/AdminRespondToAuthChallengeCommand.ts +0 -125
- package/src/commands/AdminSetUserMFAPreferenceCommand.ts +0 -108
- package/src/commands/AdminSetUserPasswordCommand.ts +0 -110
- package/src/commands/AdminSetUserSettingsCommand.ts +0 -104
- package/src/commands/AdminUpdateAuthEventFeedbackCommand.ts +0 -108
- package/src/commands/AdminUpdateDeviceStatusCommand.ts +0 -102
- package/src/commands/AdminUpdateUserAttributesCommand.ts +0 -128
- package/src/commands/AdminUserGlobalSignOutCommand.ts +0 -104
- package/src/commands/AssociateSoftwareTokenCommand.ts +0 -110
- package/src/commands/ChangePasswordCommand.ts +0 -99
- package/src/commands/ConfirmDeviceCommand.ts +0 -102
- package/src/commands/ConfirmForgotPasswordCommand.ts +0 -99
- package/src/commands/ConfirmSignUpCommand.ts +0 -100
- package/src/commands/CreateGroupCommand.ts +0 -102
- package/src/commands/CreateIdentityProviderCommand.ts +0 -101
- package/src/commands/CreateResourceServerCommand.ts +0 -101
- package/src/commands/CreateUserImportJobCommand.ts +0 -101
- package/src/commands/CreateUserPoolClientCommand.ts +0 -103
- package/src/commands/CreateUserPoolCommand.ts +0 -119
- package/src/commands/CreateUserPoolDomainCommand.ts +0 -101
- package/src/commands/DeleteGroupCommand.ts +0 -102
- package/src/commands/DeleteIdentityProviderCommand.ts +0 -101
- package/src/commands/DeleteResourceServerCommand.ts +0 -101
- package/src/commands/DeleteUserAttributesCommand.ts +0 -99
- package/src/commands/DeleteUserCommand.ts +0 -99
- package/src/commands/DeleteUserPoolClientCommand.ts +0 -101
- package/src/commands/DeleteUserPoolCommand.ts +0 -101
- package/src/commands/DeleteUserPoolDomainCommand.ts +0 -101
- package/src/commands/DescribeIdentityProviderCommand.ts +0 -101
- package/src/commands/DescribeResourceServerCommand.ts +0 -101
- package/src/commands/DescribeRiskConfigurationCommand.ts +0 -104
- package/src/commands/DescribeUserImportJobCommand.ts +0 -101
- package/src/commands/DescribeUserPoolClientCommand.ts +0 -102
- package/src/commands/DescribeUserPoolCommand.ts +0 -101
- package/src/commands/DescribeUserPoolDomainCommand.ts +0 -101
- package/src/commands/ForgetDeviceCommand.ts +0 -101
- package/src/commands/ForgotPasswordCommand.ts +0 -123
- package/src/commands/GetCSVHeaderCommand.ts +0 -102
- package/src/commands/GetDeviceCommand.ts +0 -98
- package/src/commands/GetGroupCommand.ts +0 -99
- package/src/commands/GetIdentityProviderByIdentifierCommand.ts +0 -109
- package/src/commands/GetSigningCertificateCommand.ts +0 -101
- package/src/commands/GetUICustomizationCommand.ts +0 -104
- package/src/commands/GetUserAttributeVerificationCodeCommand.ts +0 -124
- package/src/commands/GetUserCommand.ts +0 -96
- package/src/commands/GetUserPoolMfaConfigCommand.ts +0 -101
- package/src/commands/GlobalSignOutCommand.ts +0 -103
- package/src/commands/InitiateAuthCommand.ts +0 -116
- package/src/commands/ListDevicesCommand.ts +0 -101
- package/src/commands/ListGroupsCommand.ts +0 -102
- package/src/commands/ListIdentityProvidersCommand.ts +0 -101
- package/src/commands/ListResourceServersCommand.ts +0 -101
- package/src/commands/ListTagsForResourceCommand.ts +0 -104
- package/src/commands/ListUserImportJobsCommand.ts +0 -101
- package/src/commands/ListUserPoolClientsCommand.ts +0 -101
- package/src/commands/ListUserPoolsCommand.ts +0 -101
- package/src/commands/ListUsersCommand.ts +0 -98
- package/src/commands/ListUsersInGroupCommand.ts +0 -102
- package/src/commands/ResendConfirmationCodeCommand.ts +0 -117
- package/src/commands/RespondToAuthChallengeCommand.ts +0 -116
- package/src/commands/RevokeTokenCommand.ts +0 -102
- package/src/commands/SetRiskConfigurationCommand.ts +0 -105
- package/src/commands/SetUICustomizationCommand.ts +0 -112
- package/src/commands/SetUserMFAPreferenceCommand.ts +0 -109
- package/src/commands/SetUserPoolMfaConfigCommand.ts +0 -118
- package/src/commands/SetUserSettingsCommand.ts +0 -102
- package/src/commands/SignUpCommand.ts +0 -114
- package/src/commands/StartUserImportJobCommand.ts +0 -102
- package/src/commands/StopUserImportJobCommand.ts +0 -101
- package/src/commands/TagResourceCommand.ts +0 -114
- package/src/commands/UntagResourceCommand.ts +0 -102
- package/src/commands/UpdateAuthEventFeedbackCommand.ts +0 -103
- package/src/commands/UpdateDeviceStatusCommand.ts +0 -101
- package/src/commands/UpdateGroupCommand.ts +0 -102
- package/src/commands/UpdateIdentityProviderCommand.ts +0 -101
- package/src/commands/UpdateResourceServerCommand.ts +0 -105
- package/src/commands/UpdateUserAttributesCommand.ts +0 -116
- package/src/commands/UpdateUserPoolClientCommand.ts +0 -108
- package/src/commands/UpdateUserPoolCommand.ts +0 -120
- package/src/commands/UpdateUserPoolDomainCommand.ts +0 -121
- package/src/commands/VerifySoftwareTokenCommand.ts +0 -103
- package/src/commands/VerifyUserAttributeCommand.ts +0 -99
- package/src/endpoints.ts +0 -82
- package/src/index.ts +0 -114
- package/src/models/index.ts +0 -2
- package/src/models/models_0.ts +0 -9830
- package/src/models/models_1.ts +0 -1072
- package/src/pagination/AdminListGroupsForUserPaginator.ts +0 -59
- package/src/pagination/AdminListUserAuthEventsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListGroupsPaginator.ts +0 -55
- package/src/pagination/ListIdentityProvidersPaginator.ts +0 -59
- package/src/pagination/ListResourceServersPaginator.ts +0 -59
- package/src/pagination/ListUserPoolClientsPaginator.ts +0 -59
- package/src/pagination/ListUserPoolsPaginator.ts +0 -59
- package/src/pagination/ListUsersInGroupPaginator.ts +0 -59
- package/src/pagination/ListUsersPaginator.ts +0 -55
- package/src/protocols/Aws_json1_1.ts +0 -18343
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { AdminDisableProviderForUserRequest, AdminDisableProviderForUserResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminDisableProviderForUserCommand,
|
|
23
|
-
serializeAws_json1_1AdminDisableProviderForUserCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminDisableProviderForUserCommandInput extends AdminDisableProviderForUserRequest {}
|
|
27
|
-
export interface AdminDisableProviderForUserCommandOutput
|
|
28
|
-
extends AdminDisableProviderForUserResponse,
|
|
29
|
-
__MetadataBearer {}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* <p>Disables the user from signing in with the specified external (SAML or social)
|
|
33
|
-
* identity provider. If the user to disable is a Cognito User Pools native username +
|
|
34
|
-
* password user, they are not permitted to use their password to sign-in. If the user to
|
|
35
|
-
* disable is a linked external IdP user, any link between that user and an existing user
|
|
36
|
-
* is removed. The next time the external user (no longer attached to the previously linked
|
|
37
|
-
* <code>DestinationUser</code>) signs in, they must create a new user account. See
|
|
38
|
-
* <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html">AdminLinkProviderForUser</a>.</p>
|
|
39
|
-
* <p>This action is enabled only for admin access and requires developer
|
|
40
|
-
* credentials.</p>
|
|
41
|
-
* <p>The <code>ProviderName</code> must match the value specified when creating an IdP for
|
|
42
|
-
* the pool. </p>
|
|
43
|
-
* <p>To disable a native username + password user, the <code>ProviderName</code> value must
|
|
44
|
-
* be <code>Cognito</code> and the <code>ProviderAttributeName</code> must be
|
|
45
|
-
* <code>Cognito_Subject</code>, with the <code>ProviderAttributeValue</code> being the
|
|
46
|
-
* name that is used in the user pool for the user.</p>
|
|
47
|
-
* <p>The <code>ProviderAttributeName</code> must always be <code>Cognito_Subject</code> for
|
|
48
|
-
* social identity providers. The <code>ProviderAttributeValue</code> must always be the
|
|
49
|
-
* exact subject that was used when the user was originally linked as a source user.</p>
|
|
50
|
-
* <p>For de-linking a SAML identity, there are two scenarios. If the linked identity has
|
|
51
|
-
* not yet been used to sign-in, the <code>ProviderAttributeName</code> and
|
|
52
|
-
* <code>ProviderAttributeValue</code> must be the same values that were used for the
|
|
53
|
-
* <code>SourceUser</code> when the identities were originally linked using <code>
|
|
54
|
-
* AdminLinkProviderForUser</code> call. (If the linking was done with
|
|
55
|
-
* <code>ProviderAttributeName</code> set to <code>Cognito_Subject</code>, the same
|
|
56
|
-
* applies here). However, if the user has already signed in, the
|
|
57
|
-
* <code>ProviderAttributeName</code> must be <code>Cognito_Subject</code> and
|
|
58
|
-
* <code>ProviderAttributeValue</code> must be the subject of the SAML
|
|
59
|
-
* assertion.</p>
|
|
60
|
-
* @example
|
|
61
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
62
|
-
* ```javascript
|
|
63
|
-
* import { CognitoIdentityProviderClient, AdminDisableProviderForUserCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
64
|
-
* // const { CognitoIdentityProviderClient, AdminDisableProviderForUserCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
65
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
66
|
-
* const command = new AdminDisableProviderForUserCommand(input);
|
|
67
|
-
* const response = await client.send(command);
|
|
68
|
-
* ```
|
|
69
|
-
*
|
|
70
|
-
* @see {@link AdminDisableProviderForUserCommandInput} for command's `input` shape.
|
|
71
|
-
* @see {@link AdminDisableProviderForUserCommandOutput} for command's `response` shape.
|
|
72
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
73
|
-
*
|
|
74
|
-
*/
|
|
75
|
-
export class AdminDisableProviderForUserCommand extends $Command<
|
|
76
|
-
AdminDisableProviderForUserCommandInput,
|
|
77
|
-
AdminDisableProviderForUserCommandOutput,
|
|
78
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
79
|
-
> {
|
|
80
|
-
// Start section: command_properties
|
|
81
|
-
// End section: command_properties
|
|
82
|
-
|
|
83
|
-
constructor(readonly input: AdminDisableProviderForUserCommandInput) {
|
|
84
|
-
// Start section: command_constructor
|
|
85
|
-
super();
|
|
86
|
-
// End section: command_constructor
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
resolveMiddleware(
|
|
93
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
94
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
95
|
-
options?: __HttpHandlerOptions
|
|
96
|
-
): Handler<AdminDisableProviderForUserCommandInput, AdminDisableProviderForUserCommandOutput> {
|
|
97
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
98
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
99
|
-
|
|
100
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
101
|
-
|
|
102
|
-
const { logger } = configuration;
|
|
103
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
104
|
-
const commandName = "AdminDisableProviderForUserCommand";
|
|
105
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
106
|
-
logger,
|
|
107
|
-
clientName,
|
|
108
|
-
commandName,
|
|
109
|
-
inputFilterSensitiveLog: AdminDisableProviderForUserRequest.filterSensitiveLog,
|
|
110
|
-
outputFilterSensitiveLog: AdminDisableProviderForUserResponse.filterSensitiveLog,
|
|
111
|
-
};
|
|
112
|
-
const { requestHandler } = configuration;
|
|
113
|
-
return stack.resolve(
|
|
114
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
115
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
116
|
-
handlerExecutionContext
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
private serialize(input: AdminDisableProviderForUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
121
|
-
return serializeAws_json1_1AdminDisableProviderForUserCommand(input, context);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
private deserialize(
|
|
125
|
-
output: __HttpResponse,
|
|
126
|
-
context: __SerdeContext
|
|
127
|
-
): Promise<AdminDisableProviderForUserCommandOutput> {
|
|
128
|
-
return deserializeAws_json1_1AdminDisableProviderForUserCommand(output, context);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// Start section: command_body_extra
|
|
132
|
-
// End section: command_body_extra
|
|
133
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { AdminDisableUserRequest, AdminDisableUserResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminDisableUserCommand,
|
|
23
|
-
serializeAws_json1_1AdminDisableUserCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminDisableUserCommandInput extends AdminDisableUserRequest {}
|
|
27
|
-
export interface AdminDisableUserCommandOutput extends AdminDisableUserResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Disables the specified user.</p>
|
|
31
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CognitoIdentityProviderClient, AdminDisableUserCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
36
|
-
* // const { CognitoIdentityProviderClient, AdminDisableUserCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
37
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
38
|
-
* const command = new AdminDisableUserCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link AdminDisableUserCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link AdminDisableUserCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class AdminDisableUserCommand extends $Command<
|
|
48
|
-
AdminDisableUserCommandInput,
|
|
49
|
-
AdminDisableUserCommandOutput,
|
|
50
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: AdminDisableUserCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<AdminDisableUserCommandInput, AdminDisableUserCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
76
|
-
const commandName = "AdminDisableUserCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: AdminDisableUserRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: AdminDisableUserResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: AdminDisableUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1AdminDisableUserCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AdminDisableUserCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1AdminDisableUserCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { AdminEnableUserRequest, AdminEnableUserResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminEnableUserCommand,
|
|
23
|
-
serializeAws_json1_1AdminEnableUserCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminEnableUserCommandInput extends AdminEnableUserRequest {}
|
|
27
|
-
export interface AdminEnableUserCommandOutput extends AdminEnableUserResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Enables the specified user as an administrator. Works on any user.</p>
|
|
31
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CognitoIdentityProviderClient, AdminEnableUserCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
36
|
-
* // const { CognitoIdentityProviderClient, AdminEnableUserCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
37
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
38
|
-
* const command = new AdminEnableUserCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link AdminEnableUserCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link AdminEnableUserCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class AdminEnableUserCommand extends $Command<
|
|
48
|
-
AdminEnableUserCommandInput,
|
|
49
|
-
AdminEnableUserCommandOutput,
|
|
50
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: AdminEnableUserCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<AdminEnableUserCommandInput, AdminEnableUserCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
76
|
-
const commandName = "AdminEnableUserCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: AdminEnableUserRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: AdminEnableUserResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: AdminEnableUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1AdminEnableUserCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AdminEnableUserCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1AdminEnableUserCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { AdminForgetDeviceRequest } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminForgetDeviceCommand,
|
|
23
|
-
serializeAws_json1_1AdminForgetDeviceCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminForgetDeviceCommandInput extends AdminForgetDeviceRequest {}
|
|
27
|
-
export interface AdminForgetDeviceCommandOutput extends __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Forgets the device, as an administrator.</p>
|
|
31
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CognitoIdentityProviderClient, AdminForgetDeviceCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
36
|
-
* // const { CognitoIdentityProviderClient, AdminForgetDeviceCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
37
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
38
|
-
* const command = new AdminForgetDeviceCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link AdminForgetDeviceCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link AdminForgetDeviceCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class AdminForgetDeviceCommand extends $Command<
|
|
48
|
-
AdminForgetDeviceCommandInput,
|
|
49
|
-
AdminForgetDeviceCommandOutput,
|
|
50
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: AdminForgetDeviceCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<AdminForgetDeviceCommandInput, AdminForgetDeviceCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
76
|
-
const commandName = "AdminForgetDeviceCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: AdminForgetDeviceRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: AdminForgetDeviceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1AdminForgetDeviceCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AdminForgetDeviceCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1AdminForgetDeviceCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { AdminGetDeviceRequest, AdminGetDeviceResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminGetDeviceCommand,
|
|
23
|
-
serializeAws_json1_1AdminGetDeviceCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminGetDeviceCommandInput extends AdminGetDeviceRequest {}
|
|
27
|
-
export interface AdminGetDeviceCommandOutput extends AdminGetDeviceResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Gets the device, as an administrator.</p>
|
|
31
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CognitoIdentityProviderClient, AdminGetDeviceCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
36
|
-
* // const { CognitoIdentityProviderClient, AdminGetDeviceCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
37
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
38
|
-
* const command = new AdminGetDeviceCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link AdminGetDeviceCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link AdminGetDeviceCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class AdminGetDeviceCommand extends $Command<
|
|
48
|
-
AdminGetDeviceCommandInput,
|
|
49
|
-
AdminGetDeviceCommandOutput,
|
|
50
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: AdminGetDeviceCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<AdminGetDeviceCommandInput, AdminGetDeviceCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
76
|
-
const commandName = "AdminGetDeviceCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: AdminGetDeviceRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: AdminGetDeviceResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: AdminGetDeviceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1AdminGetDeviceCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AdminGetDeviceCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1AdminGetDeviceCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { AdminGetUserRequest, AdminGetUserResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminGetUserCommand,
|
|
23
|
-
serializeAws_json1_1AdminGetUserCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminGetUserCommandInput extends AdminGetUserRequest {}
|
|
27
|
-
export interface AdminGetUserCommandOutput extends AdminGetUserResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Gets the specified user by user name in a user pool as an administrator. Works on any
|
|
31
|
-
* user.</p>
|
|
32
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { CognitoIdentityProviderClient, AdminGetUserCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
37
|
-
* // const { CognitoIdentityProviderClient, AdminGetUserCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
38
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
39
|
-
* const command = new AdminGetUserCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link AdminGetUserCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link AdminGetUserCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class AdminGetUserCommand extends $Command<
|
|
49
|
-
AdminGetUserCommandInput,
|
|
50
|
-
AdminGetUserCommandOutput,
|
|
51
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: AdminGetUserCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<AdminGetUserCommandInput, AdminGetUserCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
77
|
-
const commandName = "AdminGetUserCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: AdminGetUserRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: AdminGetUserResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: AdminGetUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1AdminGetUserCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AdminGetUserCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1AdminGetUserCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|