cognitoidentityprovider - ActiveState ActiveGo 1.8
...

Package cognitoidentityprovider

import "github.com/aws/aws-sdk-go/service/cognitoidentityprovider"
Overview
Index
Subdirectories

Overview ▾

Package cognitoidentityprovider provides the client and types for making API requests to Amazon Cognito Identity Provider.

Using the Amazon Cognito User Pools API, you can create a user pool to manage directories and users. You can authenticate a user to obtain tokens related to user identity and access policies.

This API reference provides information about user pools in Amazon Cognito User Pools.

For more information, see the Amazon Cognito Documentation.

See https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18 for more information on this service.

See cognitoidentityprovider package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/

Using the Client

To use the client for Amazon Cognito Identity Provider you will first need to create a new instance of it.

When creating a client for an AWS service you'll first need to have a Session already created. The Session provides configuration that can be shared between multiple service clients. Additional configuration can be applied to the Session and service's client when they are constructed. The aws package's Config type contains several fields such as Region for the AWS Region the client should make API requests too. The optional Config value can be provided as the variadic argument for Sessions and client creation.

Once the service's client is created you can use it to make API requests the AWS service. These clients are safe to use concurrently.

// Create a session to share configuration, and load external configuration.
sess := session.Must(session.NewSession())

// Create the service's client with the session.
svc := cognitoidentityprovider.New(sess)

See the SDK's documentation for more information on how to use service clients. https://docs.aws.amazon.com/sdk-for-go/api/

See aws package's Config type for more information on configuration options. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Cognito Identity Provider client CognitoIdentityProvider for more information on creating the service's client. https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/#New

Once the client is created you can make an API request to the service. Each API method takes a input parameter, and returns the service response and an error.

The API method will document which error codes the service can be returned by the operation if the service models the API operation's errors. These errors will also be available as const strings prefixed with "ErrCode".

result, err := svc.AddCustomAttributes(params)
if err != nil {
    // Cast err to awserr.Error to handle specific error codes.
    aerr, ok := err.(awserr.Error)
    if ok && aerr.Code() == <error code to check for> {
        // Specific error code handling
    }
    return err
}

fmt.Println("AddCustomAttributes result:")
fmt.Println(result)

Using the Client with Context

The service's client also provides methods to make API requests with a Context value. This allows you to control the timeout, and cancellation of pending requests. These methods also take request Option as variadic parameter to apply additional configuration to the API request.

ctx := context.Background()

result, err := svc.AddCustomAttributesWithContext(ctx, params)

See the request package documentation for more information on using Context pattern with the SDK. https://docs.aws.amazon.com/sdk-for-go/api/aws/request/

Index ▾

Constants
type AddCustomAttributesInput
    func (s AddCustomAttributesInput) GoString() string
    func (s *AddCustomAttributesInput) SetCustomAttributes(v []*SchemaAttributeType) *AddCustomAttributesInput
    func (s *AddCustomAttributesInput) SetUserPoolId(v string) *AddCustomAttributesInput
    func (s AddCustomAttributesInput) String() string
    func (s *AddCustomAttributesInput) Validate() error
type AddCustomAttributesOutput
    func (s AddCustomAttributesOutput) GoString() string
    func (s AddCustomAttributesOutput) String() string
type AdminAddUserToGroupInput
    func (s AdminAddUserToGroupInput) GoString() string
    func (s *AdminAddUserToGroupInput) SetGroupName(v string) *AdminAddUserToGroupInput
    func (s *AdminAddUserToGroupInput) SetUserPoolId(v string) *AdminAddUserToGroupInput
    func (s *AdminAddUserToGroupInput) SetUsername(v string) *AdminAddUserToGroupInput
    func (s AdminAddUserToGroupInput) String() string
    func (s *AdminAddUserToGroupInput) Validate() error
type AdminAddUserToGroupOutput
    func (s AdminAddUserToGroupOutput) GoString() string
    func (s AdminAddUserToGroupOutput) String() string
type AdminConfirmSignUpInput
    func (s AdminConfirmSignUpInput) GoString() string
    func (s *AdminConfirmSignUpInput) SetUserPoolId(v string) *AdminConfirmSignUpInput
    func (s *AdminConfirmSignUpInput) SetUsername(v string) *AdminConfirmSignUpInput
    func (s AdminConfirmSignUpInput) String() string
    func (s *AdminConfirmSignUpInput) Validate() error
type AdminConfirmSignUpOutput
    func (s AdminConfirmSignUpOutput) GoString() string
    func (s AdminConfirmSignUpOutput) String() string
type AdminCreateUserConfigType
    func (s AdminCreateUserConfigType) GoString() string
    func (s *AdminCreateUserConfigType) SetAllowAdminCreateUserOnly(v bool) *AdminCreateUserConfigType
    func (s *AdminCreateUserConfigType) SetInviteMessageTemplate(v *MessageTemplateType) *AdminCreateUserConfigType
    func (s *AdminCreateUserConfigType) SetUnusedAccountValidityDays(v int64) *AdminCreateUserConfigType
    func (s AdminCreateUserConfigType) String() string
    func (s *AdminCreateUserConfigType) Validate() error
type AdminCreateUserInput
    func (s AdminCreateUserInput) GoString() string
    func (s *AdminCreateUserInput) SetDesiredDeliveryMediums(v []*string) *AdminCreateUserInput
    func (s *AdminCreateUserInput) SetForceAliasCreation(v bool) *AdminCreateUserInput
    func (s *AdminCreateUserInput) SetMessageAction(v string) *AdminCreateUserInput
    func (s *AdminCreateUserInput) SetTemporaryPassword(v string) *AdminCreateUserInput
    func (s *AdminCreateUserInput) SetUserAttributes(v []*AttributeType) *AdminCreateUserInput
    func (s *AdminCreateUserInput) SetUserPoolId(v string) *AdminCreateUserInput
    func (s *AdminCreateUserInput) SetUsername(v string) *AdminCreateUserInput
    func (s *AdminCreateUserInput) SetValidationData(v []*AttributeType) *AdminCreateUserInput
    func (s AdminCreateUserInput) String() string
    func (s *AdminCreateUserInput) Validate() error
type AdminCreateUserOutput
    func (s AdminCreateUserOutput) GoString() string
    func (s *AdminCreateUserOutput) SetUser(v *UserType) *AdminCreateUserOutput
    func (s AdminCreateUserOutput) String() string
type AdminDeleteUserAttributesInput
    func (s AdminDeleteUserAttributesInput) GoString() string
    func (s *AdminDeleteUserAttributesInput) SetUserAttributeNames(v []*string) *AdminDeleteUserAttributesInput
    func (s *AdminDeleteUserAttributesInput) SetUserPoolId(v string) *AdminDeleteUserAttributesInput
    func (s *AdminDeleteUserAttributesInput) SetUsername(v string) *AdminDeleteUserAttributesInput
    func (s AdminDeleteUserAttributesInput) String() string
    func (s *AdminDeleteUserAttributesInput) Validate() error
type AdminDeleteUserAttributesOutput
    func (s AdminDeleteUserAttributesOutput) GoString() string
    func (s AdminDeleteUserAttributesOutput) String() string
type AdminDeleteUserInput
    func (s AdminDeleteUserInput) GoString() string
    func (s *AdminDeleteUserInput) SetUserPoolId(v string) *AdminDeleteUserInput
    func (s *AdminDeleteUserInput) SetUsername(v string) *AdminDeleteUserInput
    func (s AdminDeleteUserInput) String() string
    func (s *AdminDeleteUserInput) Validate() error
type AdminDeleteUserOutput
    func (s AdminDeleteUserOutput) GoString() string
    func (s AdminDeleteUserOutput) String() string
type AdminDisableUserInput
    func (s AdminDisableUserInput) GoString() string
    func (s *AdminDisableUserInput) SetUserPoolId(v string) *AdminDisableUserInput
    func (s *AdminDisableUserInput) SetUsername(v string) *AdminDisableUserInput
    func (s AdminDisableUserInput) String() string
    func (s *AdminDisableUserInput) Validate() error
type AdminDisableUserOutput
    func (s AdminDisableUserOutput) GoString() string
    func (s AdminDisableUserOutput) String() string
type AdminEnableUserInput
    func (s AdminEnableUserInput) GoString() string
    func (s *AdminEnableUserInput) SetUserPoolId(v string) *AdminEnableUserInput
    func (s *AdminEnableUserInput) SetUsername(v string) *AdminEnableUserInput
    func (s AdminEnableUserInput) String() string
    func (s *AdminEnableUserInput) Validate() error
type AdminEnableUserOutput
    func (s AdminEnableUserOutput) GoString() string
    func (s AdminEnableUserOutput) String() string
type AdminForgetDeviceInput
    func (s AdminForgetDeviceInput) GoString() string
    func (s *AdminForgetDeviceInput) SetDeviceKey(v string) *AdminForgetDeviceInput
    func (s *AdminForgetDeviceInput) SetUserPoolId(v string) *AdminForgetDeviceInput
    func (s *AdminForgetDeviceInput) SetUsername(v string) *AdminForgetDeviceInput
    func (s AdminForgetDeviceInput) String() string
    func (s *AdminForgetDeviceInput) Validate() error
type AdminForgetDeviceOutput
    func (s AdminForgetDeviceOutput) GoString() string
    func (s AdminForgetDeviceOutput) String() string
type AdminGetDeviceInput
    func (s AdminGetDeviceInput) GoString() string
    func (s *AdminGetDeviceInput) SetDeviceKey(v string) *AdminGetDeviceInput
    func (s *AdminGetDeviceInput) SetUserPoolId(v string) *AdminGetDeviceInput
    func (s *AdminGetDeviceInput) SetUsername(v string) *AdminGetDeviceInput
    func (s AdminGetDeviceInput) String() string
    func (s *AdminGetDeviceInput) Validate() error
type AdminGetDeviceOutput
    func (s AdminGetDeviceOutput) GoString() string
    func (s *AdminGetDeviceOutput) SetDevice(v *DeviceType) *AdminGetDeviceOutput
    func (s AdminGetDeviceOutput) String() string
type AdminGetUserInput
    func (s AdminGetUserInput) GoString() string
    func (s *AdminGetUserInput) SetUserPoolId(v string) *AdminGetUserInput
    func (s *AdminGetUserInput) SetUsername(v string) *AdminGetUserInput
    func (s AdminGetUserInput) String() string
    func (s *AdminGetUserInput) Validate() error
type AdminGetUserOutput
    func (s AdminGetUserOutput) GoString() string
    func (s *AdminGetUserOutput) SetEnabled(v bool) *AdminGetUserOutput
    func (s *AdminGetUserOutput) SetMFAOptions(v []*MFAOptionType) *AdminGetUserOutput
    func (s *AdminGetUserOutput) SetUserAttributes(v []*AttributeType) *AdminGetUserOutput
    func (s *AdminGetUserOutput) SetUserCreateDate(v time.Time) *AdminGetUserOutput
    func (s *AdminGetUserOutput) SetUserLastModifiedDate(v time.Time) *AdminGetUserOutput
    func (s *AdminGetUserOutput) SetUserStatus(v string) *AdminGetUserOutput
    func (s *AdminGetUserOutput) SetUsername(v string) *AdminGetUserOutput
    func (s AdminGetUserOutput) String() string
type AdminInitiateAuthInput
    func (s AdminInitiateAuthInput) GoString() string
    func (s *AdminInitiateAuthInput) SetAuthFlow(v string) *AdminInitiateAuthInput
    func (s *AdminInitiateAuthInput) SetAuthParameters(v map[string]*string) *AdminInitiateAuthInput
    func (s *AdminInitiateAuthInput) SetClientId(v string) *AdminInitiateAuthInput
    func (s *AdminInitiateAuthInput) SetClientMetadata(v map[string]*string) *AdminInitiateAuthInput
    func (s *AdminInitiateAuthInput) SetUserPoolId(v string) *AdminInitiateAuthInput
    func (s AdminInitiateAuthInput) String() string
    func (s *AdminInitiateAuthInput) Validate() error
type AdminInitiateAuthOutput
    func (s AdminInitiateAuthOutput) GoString() string
    func (s *AdminInitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminInitiateAuthOutput
    func (s *AdminInitiateAuthOutput) SetChallengeName(v string) *AdminInitiateAuthOutput
    func (s *AdminInitiateAuthOutput) SetChallengeParameters(v map[string]*string) *AdminInitiateAuthOutput
    func (s *AdminInitiateAuthOutput) SetSession(v string) *AdminInitiateAuthOutput
    func (s AdminInitiateAuthOutput) String() string
type AdminListDevicesInput
    func (s AdminListDevicesInput) GoString() string
    func (s *AdminListDevicesInput) SetLimit(v int64) *AdminListDevicesInput
    func (s *AdminListDevicesInput) SetPaginationToken(v string) *AdminListDevicesInput
    func (s *AdminListDevicesInput) SetUserPoolId(v string) *AdminListDevicesInput
    func (s *AdminListDevicesInput) SetUsername(v string) *AdminListDevicesInput
    func (s AdminListDevicesInput) String() string
    func (s *AdminListDevicesInput) Validate() error
type AdminListDevicesOutput
    func (s AdminListDevicesOutput) GoString() string
    func (s *AdminListDevicesOutput) SetDevices(v []*DeviceType) *AdminListDevicesOutput
    func (s *AdminListDevicesOutput) SetPaginationToken(v string) *AdminListDevicesOutput
    func (s AdminListDevicesOutput) String() string
type AdminListGroupsForUserInput
    func (s AdminListGroupsForUserInput) GoString() string
    func (s *AdminListGroupsForUserInput) SetLimit(v int64) *AdminListGroupsForUserInput
    func (s *AdminListGroupsForUserInput) SetNextToken(v string) *AdminListGroupsForUserInput
    func (s *AdminListGroupsForUserInput) SetUserPoolId(v string) *AdminListGroupsForUserInput
    func (s *AdminListGroupsForUserInput) SetUsername(v string) *AdminListGroupsForUserInput
    func (s AdminListGroupsForUserInput) String() string
    func (s *AdminListGroupsForUserInput) Validate() error
type AdminListGroupsForUserOutput
    func (s AdminListGroupsForUserOutput) GoString() string
    func (s *AdminListGroupsForUserOutput) SetGroups(v []*GroupType) *AdminListGroupsForUserOutput
    func (s *AdminListGroupsForUserOutput) SetNextToken(v string) *AdminListGroupsForUserOutput
    func (s AdminListGroupsForUserOutput) String() string
type AdminRemoveUserFromGroupInput
    func (s AdminRemoveUserFromGroupInput) GoString() string
    func (s *AdminRemoveUserFromGroupInput) SetGroupName(v string) *AdminRemoveUserFromGroupInput
    func (s *AdminRemoveUserFromGroupInput) SetUserPoolId(v string) *AdminRemoveUserFromGroupInput
    func (s *AdminRemoveUserFromGroupInput) SetUsername(v string) *AdminRemoveUserFromGroupInput
    func (s AdminRemoveUserFromGroupInput) String() string
    func (s *AdminRemoveUserFromGroupInput) Validate() error
type AdminRemoveUserFromGroupOutput
    func (s AdminRemoveUserFromGroupOutput) GoString() string
    func (s AdminRemoveUserFromGroupOutput) String() string
type AdminResetUserPasswordInput
    func (s AdminResetUserPasswordInput) GoString() string
    func (s *AdminResetUserPasswordInput) SetUserPoolId(v string) *AdminResetUserPasswordInput
    func (s *AdminResetUserPasswordInput) SetUsername(v string) *AdminResetUserPasswordInput
    func (s AdminResetUserPasswordInput) String() string
    func (s *AdminResetUserPasswordInput) Validate() error
type AdminResetUserPasswordOutput
    func (s AdminResetUserPasswordOutput) GoString() string
    func (s AdminResetUserPasswordOutput) String() string
type AdminRespondToAuthChallengeInput
    func (s AdminRespondToAuthChallengeInput) GoString() string
    func (s *AdminRespondToAuthChallengeInput) SetChallengeName(v string) *AdminRespondToAuthChallengeInput
    func (s *AdminRespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *AdminRespondToAuthChallengeInput
    func (s *AdminRespondToAuthChallengeInput) SetClientId(v string) *AdminRespondToAuthChallengeInput
    func (s *AdminRespondToAuthChallengeInput) SetSession(v string) *AdminRespondToAuthChallengeInput
    func (s *AdminRespondToAuthChallengeInput) SetUserPoolId(v string) *AdminRespondToAuthChallengeInput
    func (s AdminRespondToAuthChallengeInput) String() string
    func (s *AdminRespondToAuthChallengeInput) Validate() error
type AdminRespondToAuthChallengeOutput
    func (s AdminRespondToAuthChallengeOutput) GoString() string
    func (s *AdminRespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminRespondToAuthChallengeOutput
    func (s *AdminRespondToAuthChallengeOutput) SetChallengeName(v string) *AdminRespondToAuthChallengeOutput
    func (s *AdminRespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *AdminRespondToAuthChallengeOutput
    func (s *AdminRespondToAuthChallengeOutput) SetSession(v string) *AdminRespondToAuthChallengeOutput
    func (s AdminRespondToAuthChallengeOutput) String() string
type AdminSetUserSettingsInput
    func (s AdminSetUserSettingsInput) GoString() string
    func (s *AdminSetUserSettingsInput) SetMFAOptions(v []*MFAOptionType) *AdminSetUserSettingsInput
    func (s *AdminSetUserSettingsInput) SetUserPoolId(v string) *AdminSetUserSettingsInput
    func (s *AdminSetUserSettingsInput) SetUsername(v string) *AdminSetUserSettingsInput
    func (s AdminSetUserSettingsInput) String() string
    func (s *AdminSetUserSettingsInput) Validate() error
type AdminSetUserSettingsOutput
    func (s AdminSetUserSettingsOutput) GoString() string
    func (s AdminSetUserSettingsOutput) String() string
type AdminUpdateDeviceStatusInput
    func (s AdminUpdateDeviceStatusInput) GoString() string
    func (s *AdminUpdateDeviceStatusInput) SetDeviceKey(v string) *AdminUpdateDeviceStatusInput
    func (s *AdminUpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *AdminUpdateDeviceStatusInput
    func (s *AdminUpdateDeviceStatusInput) SetUserPoolId(v string) *AdminUpdateDeviceStatusInput
    func (s *AdminUpdateDeviceStatusInput) SetUsername(v string) *AdminUpdateDeviceStatusInput
    func (s AdminUpdateDeviceStatusInput) String() string
    func (s *AdminUpdateDeviceStatusInput) Validate() error
type AdminUpdateDeviceStatusOutput
    func (s AdminUpdateDeviceStatusOutput) GoString() string
    func (s AdminUpdateDeviceStatusOutput) String() string
type AdminUpdateUserAttributesInput
    func (s AdminUpdateUserAttributesInput) GoString() string
    func (s *AdminUpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *AdminUpdateUserAttributesInput
    func (s *AdminUpdateUserAttributesInput) SetUserPoolId(v string) *AdminUpdateUserAttributesInput
    func (s *AdminUpdateUserAttributesInput) SetUsername(v string) *AdminUpdateUserAttributesInput
    func (s AdminUpdateUserAttributesInput) String() string
    func (s *AdminUpdateUserAttributesInput) Validate() error
type AdminUpdateUserAttributesOutput
    func (s AdminUpdateUserAttributesOutput) GoString() string
    func (s AdminUpdateUserAttributesOutput) String() string
type AdminUserGlobalSignOutInput
    func (s AdminUserGlobalSignOutInput) GoString() string
    func (s *AdminUserGlobalSignOutInput) SetUserPoolId(v string) *AdminUserGlobalSignOutInput
    func (s *AdminUserGlobalSignOutInput) SetUsername(v string) *AdminUserGlobalSignOutInput
    func (s AdminUserGlobalSignOutInput) String() string
    func (s *AdminUserGlobalSignOutInput) Validate() error
type AdminUserGlobalSignOutOutput
    func (s AdminUserGlobalSignOutOutput) GoString() string
    func (s AdminUserGlobalSignOutOutput) String() string
type AttributeType
    func (s AttributeType) GoString() string
    func (s *AttributeType) SetName(v string) *AttributeType
    func (s *AttributeType) SetValue(v string) *AttributeType
    func (s AttributeType) String() string
    func (s *AttributeType) Validate() error
type AuthenticationResultType
    func (s AuthenticationResultType) GoString() string
    func (s *AuthenticationResultType) SetAccessToken(v string) *AuthenticationResultType
    func (s *AuthenticationResultType) SetExpiresIn(v int64) *AuthenticationResultType
    func (s *AuthenticationResultType) SetIdToken(v string) *AuthenticationResultType
    func (s *AuthenticationResultType) SetNewDeviceMetadata(v *NewDeviceMetadataType) *AuthenticationResultType
    func (s *AuthenticationResultType) SetRefreshToken(v string) *AuthenticationResultType
    func (s *AuthenticationResultType) SetTokenType(v string) *AuthenticationResultType
    func (s AuthenticationResultType) String() string
type ChangePasswordInput
    func (s ChangePasswordInput) GoString() string
    func (s *ChangePasswordInput) SetAccessToken(v string) *ChangePasswordInput
    func (s *ChangePasswordInput) SetPreviousPassword(v string) *ChangePasswordInput
    func (s *ChangePasswordInput) SetProposedPassword(v string) *ChangePasswordInput
    func (s ChangePasswordInput) String() string
    func (s *ChangePasswordInput) Validate() error
type ChangePasswordOutput
    func (s ChangePasswordOutput) GoString() string
    func (s ChangePasswordOutput) String() string
type CodeDeliveryDetailsType
    func (s CodeDeliveryDetailsType) GoString() string
    func (s *CodeDeliveryDetailsType) SetAttributeName(v string) *CodeDeliveryDetailsType
    func (s *CodeDeliveryDetailsType) SetDeliveryMedium(v string) *CodeDeliveryDetailsType
    func (s *CodeDeliveryDetailsType) SetDestination(v string) *CodeDeliveryDetailsType
    func (s CodeDeliveryDetailsType) String() string
type CognitoIdentityProvider
    func New(p client.ConfigProvider, cfgs ...*aws.Config) *CognitoIdentityProvider
    func (c *CognitoIdentityProvider) AddCustomAttributes(input *AddCustomAttributesInput) (*AddCustomAttributesOutput, error)
    func (c *CognitoIdentityProvider) AddCustomAttributesRequest(input *AddCustomAttributesInput) (req *request.Request, output *AddCustomAttributesOutput)
    func (c *CognitoIdentityProvider) AddCustomAttributesWithContext(ctx aws.Context, input *AddCustomAttributesInput, opts ...request.Option) (*AddCustomAttributesOutput, error)
    func (c *CognitoIdentityProvider) AdminAddUserToGroup(input *AdminAddUserToGroupInput) (*AdminAddUserToGroupOutput, error)
    func (c *CognitoIdentityProvider) AdminAddUserToGroupRequest(input *AdminAddUserToGroupInput) (req *request.Request, output *AdminAddUserToGroupOutput)
    func (c *CognitoIdentityProvider) AdminAddUserToGroupWithContext(ctx aws.Context, input *AdminAddUserToGroupInput, opts ...request.Option) (*AdminAddUserToGroupOutput, error)
    func (c *CognitoIdentityProvider) AdminConfirmSignUp(input *AdminConfirmSignUpInput) (*AdminConfirmSignUpOutput, error)
    func (c *CognitoIdentityProvider) AdminConfirmSignUpRequest(input *AdminConfirmSignUpInput) (req *request.Request, output *AdminConfirmSignUpOutput)
    func (c *CognitoIdentityProvider) AdminConfirmSignUpWithContext(ctx aws.Context, input *AdminConfirmSignUpInput, opts ...request.Option) (*AdminConfirmSignUpOutput, error)
    func (c *CognitoIdentityProvider) AdminCreateUser(input *AdminCreateUserInput) (*AdminCreateUserOutput, error)
    func (c *CognitoIdentityProvider) AdminCreateUserRequest(input *AdminCreateUserInput) (req *request.Request, output *AdminCreateUserOutput)
    func (c *CognitoIdentityProvider) AdminCreateUserWithContext(ctx aws.Context, input *AdminCreateUserInput, opts ...request.Option) (*AdminCreateUserOutput, error)
    func (c *CognitoIdentityProvider) AdminDeleteUser(input *AdminDeleteUserInput) (*AdminDeleteUserOutput, error)
    func (c *CognitoIdentityProvider) AdminDeleteUserAttributes(input *AdminDeleteUserAttributesInput) (*AdminDeleteUserAttributesOutput, error)
    func (c *CognitoIdentityProvider) AdminDeleteUserAttributesRequest(input *AdminDeleteUserAttributesInput) (req *request.Request, output *AdminDeleteUserAttributesOutput)
    func (c *CognitoIdentityProvider) AdminDeleteUserAttributesWithContext(ctx aws.Context, input *AdminDeleteUserAttributesInput, opts ...request.Option) (*AdminDeleteUserAttributesOutput, error)
    func (c *CognitoIdentityProvider) AdminDeleteUserRequest(input *AdminDeleteUserInput) (req *request.Request, output *AdminDeleteUserOutput)
    func (c *CognitoIdentityProvider) AdminDeleteUserWithContext(ctx aws.Context, input *AdminDeleteUserInput, opts ...request.Option) (*AdminDeleteUserOutput, error)
    func (c *CognitoIdentityProvider) AdminDisableUser(input *AdminDisableUserInput) (*AdminDisableUserOutput, error)
    func (c *CognitoIdentityProvider) AdminDisableUserRequest(input *AdminDisableUserInput) (req *request.Request, output *AdminDisableUserOutput)
    func (c *CognitoIdentityProvider) AdminDisableUserWithContext(ctx aws.Context, input *AdminDisableUserInput, opts ...request.Option) (*AdminDisableUserOutput, error)
    func (c *CognitoIdentityProvider) AdminEnableUser(input *AdminEnableUserInput) (*AdminEnableUserOutput, error)
    func (c *CognitoIdentityProvider) AdminEnableUserRequest(input *AdminEnableUserInput) (req *request.Request, output *AdminEnableUserOutput)
    func (c *CognitoIdentityProvider) AdminEnableUserWithContext(ctx aws.Context, input *AdminEnableUserInput, opts ...request.Option) (*AdminEnableUserOutput, error)
    func (c *CognitoIdentityProvider) AdminForgetDevice(input *AdminForgetDeviceInput) (*AdminForgetDeviceOutput, error)
    func (c *CognitoIdentityProvider) AdminForgetDeviceRequest(input *AdminForgetDeviceInput) (req *request.Request, output *AdminForgetDeviceOutput)
    func (c *CognitoIdentityProvider) AdminForgetDeviceWithContext(ctx aws.Context, input *AdminForgetDeviceInput, opts ...request.Option) (*AdminForgetDeviceOutput, error)
    func (c *CognitoIdentityProvider) AdminGetDevice(input *AdminGetDeviceInput) (*AdminGetDeviceOutput, error)
    func (c *CognitoIdentityProvider) AdminGetDeviceRequest(input *AdminGetDeviceInput) (req *request.Request, output *AdminGetDeviceOutput)
    func (c *CognitoIdentityProvider) AdminGetDeviceWithContext(ctx aws.Context, input *AdminGetDeviceInput, opts ...request.Option) (*AdminGetDeviceOutput, error)
    func (c *CognitoIdentityProvider) AdminGetUser(input *AdminGetUserInput) (*AdminGetUserOutput, error)
    func (c *CognitoIdentityProvider) AdminGetUserRequest(input *AdminGetUserInput) (req *request.Request, output *AdminGetUserOutput)
    func (c *CognitoIdentityProvider) AdminGetUserWithContext(ctx aws.Context, input *AdminGetUserInput, opts ...request.Option) (*AdminGetUserOutput, error)
    func (c *CognitoIdentityProvider) AdminInitiateAuth(input *AdminInitiateAuthInput) (*AdminInitiateAuthOutput, error)
    func (c *CognitoIdentityProvider) AdminInitiateAuthRequest(input *AdminInitiateAuthInput) (req *request.Request, output *AdminInitiateAuthOutput)
    func (c *CognitoIdentityProvider) AdminInitiateAuthWithContext(ctx aws.Context, input *AdminInitiateAuthInput, opts ...request.Option) (*AdminInitiateAuthOutput, error)
    func (c *CognitoIdentityProvider) AdminListDevices(input *AdminListDevicesInput) (*AdminListDevicesOutput, error)
    func (c *CognitoIdentityProvider) AdminListDevicesRequest(input *AdminListDevicesInput) (req *request.Request, output *AdminListDevicesOutput)
    func (c *CognitoIdentityProvider) AdminListDevicesWithContext(ctx aws.Context, input *AdminListDevicesInput, opts ...request.Option) (*AdminListDevicesOutput, error)
    func (c *CognitoIdentityProvider) AdminListGroupsForUser(input *AdminListGroupsForUserInput) (*AdminListGroupsForUserOutput, error)
    func (c *CognitoIdentityProvider) AdminListGroupsForUserRequest(input *AdminListGroupsForUserInput) (req *request.Request, output *AdminListGroupsForUserOutput)
    func (c *CognitoIdentityProvider) AdminListGroupsForUserWithContext(ctx aws.Context, input *AdminListGroupsForUserInput, opts ...request.Option) (*AdminListGroupsForUserOutput, error)
    func (c *CognitoIdentityProvider) AdminRemoveUserFromGroup(input *AdminRemoveUserFromGroupInput) (*AdminRemoveUserFromGroupOutput, error)
    func (c *CognitoIdentityProvider) AdminRemoveUserFromGroupRequest(input *AdminRemoveUserFromGroupInput) (req *request.Request, output *AdminRemoveUserFromGroupOutput)
    func (c *CognitoIdentityProvider) AdminRemoveUserFromGroupWithContext(ctx aws.Context, input *AdminRemoveUserFromGroupInput, opts ...request.Option) (*AdminRemoveUserFromGroupOutput, error)
    func (c *CognitoIdentityProvider) AdminResetUserPassword(input *AdminResetUserPasswordInput) (*AdminResetUserPasswordOutput, error)
    func (c *CognitoIdentityProvider) AdminResetUserPasswordRequest(input *AdminResetUserPasswordInput) (req *request.Request, output *AdminResetUserPasswordOutput)
    func (c *CognitoIdentityProvider) AdminResetUserPasswordWithContext(ctx aws.Context, input *AdminResetUserPasswordInput, opts ...request.Option) (*AdminResetUserPasswordOutput, error)
    func (c *CognitoIdentityProvider) AdminRespondToAuthChallenge(input *AdminRespondToAuthChallengeInput) (*AdminRespondToAuthChallengeOutput, error)
    func (c *CognitoIdentityProvider) AdminRespondToAuthChallengeRequest(input *AdminRespondToAuthChallengeInput) (req *request.Request, output *AdminRespondToAuthChallengeOutput)
    func (c *CognitoIdentityProvider) AdminRespondToAuthChallengeWithContext(ctx aws.Context, input *AdminRespondToAuthChallengeInput, opts ...request.Option) (*AdminRespondToAuthChallengeOutput, error)
    func (c *CognitoIdentityProvider) AdminSetUserSettings(input *AdminSetUserSettingsInput) (*AdminSetUserSettingsOutput, error)
    func (c *CognitoIdentityProvider) AdminSetUserSettingsRequest(input *AdminSetUserSettingsInput) (req *request.Request, output *AdminSetUserSettingsOutput)
    func (c *CognitoIdentityProvider) AdminSetUserSettingsWithContext(ctx aws.Context, input *AdminSetUserSettingsInput, opts ...request.Option) (*AdminSetUserSettingsOutput, error)
    func (c *CognitoIdentityProvider) AdminUpdateDeviceStatus(input *AdminUpdateDeviceStatusInput) (*AdminUpdateDeviceStatusOutput, error)
    func (c *CognitoIdentityProvider) AdminUpdateDeviceStatusRequest(input *AdminUpdateDeviceStatusInput) (req *request.Request, output *AdminUpdateDeviceStatusOutput)
    func (c *CognitoIdentityProvider) AdminUpdateDeviceStatusWithContext(ctx aws.Context, input *AdminUpdateDeviceStatusInput, opts ...request.Option) (*AdminUpdateDeviceStatusOutput, error)
    func (c *CognitoIdentityProvider) AdminUpdateUserAttributes(input *AdminUpdateUserAttributesInput) (*AdminUpdateUserAttributesOutput, error)
    func (c *CognitoIdentityProvider) AdminUpdateUserAttributesRequest(input *AdminUpdateUserAttributesInput) (req *request.Request, output *AdminUpdateUserAttributesOutput)
    func (c *CognitoIdentityProvider) AdminUpdateUserAttributesWithContext(ctx aws.Context, input *AdminUpdateUserAttributesInput, opts ...request.Option) (*AdminUpdateUserAttributesOutput, error)
    func (c *CognitoIdentityProvider) AdminUserGlobalSignOut(input *AdminUserGlobalSignOutInput) (*AdminUserGlobalSignOutOutput, error)
    func (c *CognitoIdentityProvider) AdminUserGlobalSignOutRequest(input *AdminUserGlobalSignOutInput) (req *request.Request, output *AdminUserGlobalSignOutOutput)
    func (c *CognitoIdentityProvider) AdminUserGlobalSignOutWithContext(ctx aws.Context, input *AdminUserGlobalSignOutInput, opts ...request.Option) (*AdminUserGlobalSignOutOutput, error)
    func (c *CognitoIdentityProvider) ChangePassword(input *ChangePasswordInput) (*ChangePasswordOutput, error)
    func (c *CognitoIdentityProvider) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Request, output *ChangePasswordOutput)
    func (c *CognitoIdentityProvider) ChangePasswordWithContext(ctx aws.Context, input *ChangePasswordInput, opts ...request.Option) (*ChangePasswordOutput, error)
    func (c *CognitoIdentityProvider) ConfirmDevice(input *ConfirmDeviceInput) (*ConfirmDeviceOutput, error)
    func (c *CognitoIdentityProvider) ConfirmDeviceRequest(input *ConfirmDeviceInput) (req *request.Request, output *ConfirmDeviceOutput)
    func (c *CognitoIdentityProvider) ConfirmDeviceWithContext(ctx aws.Context, input *ConfirmDeviceInput, opts ...request.Option) (*ConfirmDeviceOutput, error)
    func (c *CognitoIdentityProvider) ConfirmForgotPassword(input *ConfirmForgotPasswordInput) (*ConfirmForgotPasswordOutput, error)
    func (c *CognitoIdentityProvider) ConfirmForgotPasswordRequest(input *ConfirmForgotPasswordInput) (req *request.Request, output *ConfirmForgotPasswordOutput)
    func (c *CognitoIdentityProvider) ConfirmForgotPasswordWithContext(ctx aws.Context, input *ConfirmForgotPasswordInput, opts ...request.Option) (*ConfirmForgotPasswordOutput, error)
    func (c *CognitoIdentityProvider) ConfirmSignUp(input *ConfirmSignUpInput) (*ConfirmSignUpOutput, error)
    func (c *CognitoIdentityProvider) ConfirmSignUpRequest(input *ConfirmSignUpInput) (req *request.Request, output *ConfirmSignUpOutput)
    func (c *CognitoIdentityProvider) ConfirmSignUpWithContext(ctx aws.Context, input *ConfirmSignUpInput, opts ...request.Option) (*ConfirmSignUpOutput, error)
    func (c *CognitoIdentityProvider) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error)
    func (c *CognitoIdentityProvider) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput)
    func (c *CognitoIdentityProvider) CreateGroupWithContext(ctx aws.Context, input *CreateGroupInput, opts ...request.Option) (*CreateGroupOutput, error)
    func (c *CognitoIdentityProvider) CreateIdentityProvider(input *CreateIdentityProviderInput) (*CreateIdentityProviderOutput, error)
    func (c *CognitoIdentityProvider) CreateIdentityProviderRequest(input *CreateIdentityProviderInput) (req *request.Request, output *CreateIdentityProviderOutput)
    func (c *CognitoIdentityProvider) CreateIdentityProviderWithContext(ctx aws.Context, input *CreateIdentityProviderInput, opts ...request.Option) (*CreateIdentityProviderOutput, error)
    func (c *CognitoIdentityProvider) CreateUserImportJob(input *CreateUserImportJobInput) (*CreateUserImportJobOutput, error)
    func (c *CognitoIdentityProvider) CreateUserImportJobRequest(input *CreateUserImportJobInput) (req *request.Request, output *CreateUserImportJobOutput)
    func (c *CognitoIdentityProvider) CreateUserImportJobWithContext(ctx aws.Context, input *CreateUserImportJobInput, opts ...request.Option) (*CreateUserImportJobOutput, error)
    func (c *CognitoIdentityProvider) CreateUserPool(input *CreateUserPoolInput) (*CreateUserPoolOutput, error)
    func (c *CognitoIdentityProvider) CreateUserPoolClient(input *CreateUserPoolClientInput) (*CreateUserPoolClientOutput, error)
    func (c *CognitoIdentityProvider) CreateUserPoolClientRequest(input *CreateUserPoolClientInput) (req *request.Request, output *CreateUserPoolClientOutput)
    func (c *CognitoIdentityProvider) CreateUserPoolClientWithContext(ctx aws.Context, input *CreateUserPoolClientInput, opts ...request.Option) (*CreateUserPoolClientOutput, error)
    func (c *CognitoIdentityProvider) CreateUserPoolDomain(input *CreateUserPoolDomainInput) (*CreateUserPoolDomainOutput, error)
    func (c *CognitoIdentityProvider) CreateUserPoolDomainRequest(input *CreateUserPoolDomainInput) (req *request.Request, output *CreateUserPoolDomainOutput)
    func (c *CognitoIdentityProvider) CreateUserPoolDomainWithContext(ctx aws.Context, input *CreateUserPoolDomainInput, opts ...request.Option) (*CreateUserPoolDomainOutput, error)
    func (c *CognitoIdentityProvider) CreateUserPoolRequest(input *CreateUserPoolInput) (req *request.Request, output *CreateUserPoolOutput)
    func (c *CognitoIdentityProvider) CreateUserPoolWithContext(ctx aws.Context, input *CreateUserPoolInput, opts ...request.Option) (*CreateUserPoolOutput, error)
    func (c *CognitoIdentityProvider) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error)
    func (c *CognitoIdentityProvider) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput)
    func (c *CognitoIdentityProvider) DeleteGroupWithContext(ctx aws.Context, input *DeleteGroupInput, opts ...request.Option) (*DeleteGroupOutput, error)
    func (c *CognitoIdentityProvider) DeleteIdentityProvider(input *DeleteIdentityProviderInput) (*DeleteIdentityProviderOutput, error)
    func (c *CognitoIdentityProvider) DeleteIdentityProviderRequest(input *DeleteIdentityProviderInput) (req *request.Request, output *DeleteIdentityProviderOutput)
    func (c *CognitoIdentityProvider) DeleteIdentityProviderWithContext(ctx aws.Context, input *DeleteIdentityProviderInput, opts ...request.Option) (*DeleteIdentityProviderOutput, error)
    func (c *CognitoIdentityProvider) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error)
    func (c *CognitoIdentityProvider) DeleteUserAttributes(input *DeleteUserAttributesInput) (*DeleteUserAttributesOutput, error)
    func (c *CognitoIdentityProvider) DeleteUserAttributesRequest(input *DeleteUserAttributesInput) (req *request.Request, output *DeleteUserAttributesOutput)
    func (c *CognitoIdentityProvider) DeleteUserAttributesWithContext(ctx aws.Context, input *DeleteUserAttributesInput, opts ...request.Option) (*DeleteUserAttributesOutput, error)
    func (c *CognitoIdentityProvider) DeleteUserPool(input *DeleteUserPoolInput) (*DeleteUserPoolOutput, error)
    func (c *CognitoIdentityProvider) DeleteUserPoolClient(input *DeleteUserPoolClientInput) (*DeleteUserPoolClientOutput, error)
    func (c *CognitoIdentityProvider) DeleteUserPoolClientRequest(input *DeleteUserPoolClientInput) (req *request.Request, output *DeleteUserPoolClientOutput)
    func (c *CognitoIdentityProvider) DeleteUserPoolClientWithContext(ctx aws.Context, input *DeleteUserPoolClientInput, opts ...request.Option) (*DeleteUserPoolClientOutput, error)
    func (c *CognitoIdentityProvider) DeleteUserPoolDomain(input *DeleteUserPoolDomainInput) (*DeleteUserPoolDomainOutput, error)
    func (c *CognitoIdentityProvider) DeleteUserPoolDomainRequest(input *DeleteUserPoolDomainInput) (req *request.Request, output *DeleteUserPoolDomainOutput)
    func (c *CognitoIdentityProvider) DeleteUserPoolDomainWithContext(ctx aws.Context, input *DeleteUserPoolDomainInput, opts ...request.Option) (*DeleteUserPoolDomainOutput, error)
    func (c *CognitoIdentityProvider) DeleteUserPoolRequest(input *DeleteUserPoolInput) (req *request.Request, output *DeleteUserPoolOutput)
    func (c *CognitoIdentityProvider) DeleteUserPoolWithContext(ctx aws.Context, input *DeleteUserPoolInput, opts ...request.Option) (*DeleteUserPoolOutput, error)
    func (c *CognitoIdentityProvider) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput)
    func (c *CognitoIdentityProvider) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error)
    func (c *CognitoIdentityProvider) DescribeIdentityProvider(input *DescribeIdentityProviderInput) (*DescribeIdentityProviderOutput, error)
    func (c *CognitoIdentityProvider) DescribeIdentityProviderRequest(input *DescribeIdentityProviderInput) (req *request.Request, output *DescribeIdentityProviderOutput)
    func (c *CognitoIdentityProvider) DescribeIdentityProviderWithContext(ctx aws.Context, input *DescribeIdentityProviderInput, opts ...request.Option) (*DescribeIdentityProviderOutput, error)
    func (c *CognitoIdentityProvider) DescribeUserImportJob(input *DescribeUserImportJobInput) (*DescribeUserImportJobOutput, error)
    func (c *CognitoIdentityProvider) DescribeUserImportJobRequest(input *DescribeUserImportJobInput) (req *request.Request, output *DescribeUserImportJobOutput)
    func (c *CognitoIdentityProvider) DescribeUserImportJobWithContext(ctx aws.Context, input *DescribeUserImportJobInput, opts ...request.Option) (*DescribeUserImportJobOutput, error)
    func (c *CognitoIdentityProvider) DescribeUserPool(input *DescribeUserPoolInput) (*DescribeUserPoolOutput, error)
    func (c *CognitoIdentityProvider) DescribeUserPoolClient(input *DescribeUserPoolClientInput) (*DescribeUserPoolClientOutput, error)
    func (c *CognitoIdentityProvider) DescribeUserPoolClientRequest(input *DescribeUserPoolClientInput) (req *request.Request, output *DescribeUserPoolClientOutput)
    func (c *CognitoIdentityProvider) DescribeUserPoolClientWithContext(ctx aws.Context, input *DescribeUserPoolClientInput, opts ...request.Option) (*DescribeUserPoolClientOutput, error)
    func (c *CognitoIdentityProvider) DescribeUserPoolDomain(input *DescribeUserPoolDomainInput) (*DescribeUserPoolDomainOutput, error)
    func (c *CognitoIdentityProvider) DescribeUserPoolDomainRequest(input *DescribeUserPoolDomainInput) (req *request.Request, output *DescribeUserPoolDomainOutput)
    func (c *CognitoIdentityProvider) DescribeUserPoolDomainWithContext(ctx aws.Context, input *DescribeUserPoolDomainInput, opts ...request.Option) (*DescribeUserPoolDomainOutput, error)
    func (c *CognitoIdentityProvider) DescribeUserPoolRequest(input *DescribeUserPoolInput) (req *request.Request, output *DescribeUserPoolOutput)
    func (c *CognitoIdentityProvider) DescribeUserPoolWithContext(ctx aws.Context, input *DescribeUserPoolInput, opts ...request.Option) (*DescribeUserPoolOutput, error)
    func (c *CognitoIdentityProvider) ForgetDevice(input *ForgetDeviceInput) (*ForgetDeviceOutput, error)
    func (c *CognitoIdentityProvider) ForgetDeviceRequest(input *ForgetDeviceInput) (req *request.Request, output *ForgetDeviceOutput)
    func (c *CognitoIdentityProvider) ForgetDeviceWithContext(ctx aws.Context, input *ForgetDeviceInput, opts ...request.Option) (*ForgetDeviceOutput, error)
    func (c *CognitoIdentityProvider) ForgotPassword(input *ForgotPasswordInput) (*ForgotPasswordOutput, error)
    func (c *CognitoIdentityProvider) ForgotPasswordRequest(input *ForgotPasswordInput) (req *request.Request, output *ForgotPasswordOutput)
    func (c *CognitoIdentityProvider) ForgotPasswordWithContext(ctx aws.Context, input *ForgotPasswordInput, opts ...request.Option) (*ForgotPasswordOutput, error)
    func (c *CognitoIdentityProvider) GetCSVHeader(input *GetCSVHeaderInput) (*GetCSVHeaderOutput, error)
    func (c *CognitoIdentityProvider) GetCSVHeaderRequest(input *GetCSVHeaderInput) (req *request.Request, output *GetCSVHeaderOutput)
    func (c *CognitoIdentityProvider) GetCSVHeaderWithContext(ctx aws.Context, input *GetCSVHeaderInput, opts ...request.Option) (*GetCSVHeaderOutput, error)
    func (c *CognitoIdentityProvider) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error)
    func (c *CognitoIdentityProvider) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput)
    func (c *CognitoIdentityProvider) GetDeviceWithContext(ctx aws.Context, input *GetDeviceInput, opts ...request.Option) (*GetDeviceOutput, error)
    func (c *CognitoIdentityProvider) GetGroup(input *GetGroupInput) (*GetGroupOutput, error)
    func (c *CognitoIdentityProvider) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput)
    func (c *CognitoIdentityProvider) GetGroupWithContext(ctx aws.Context, input *GetGroupInput, opts ...request.Option) (*GetGroupOutput, error)
    func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifier(input *GetIdentityProviderByIdentifierInput) (*GetIdentityProviderByIdentifierOutput, error)
    func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifierRequest(input *GetIdentityProviderByIdentifierInput) (req *request.Request, output *GetIdentityProviderByIdentifierOutput)
    func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifierWithContext(ctx aws.Context, input *GetIdentityProviderByIdentifierInput, opts ...request.Option) (*GetIdentityProviderByIdentifierOutput, error)
    func (c *CognitoIdentityProvider) GetUser(input *GetUserInput) (*GetUserOutput, error)
    func (c *CognitoIdentityProvider) GetUserAttributeVerificationCode(input *GetUserAttributeVerificationCodeInput) (*GetUserAttributeVerificationCodeOutput, error)
    func (c *CognitoIdentityProvider) GetUserAttributeVerificationCodeRequest(input *GetUserAttributeVerificationCodeInput) (req *request.Request, output *GetUserAttributeVerificationCodeOutput)
    func (c *CognitoIdentityProvider) GetUserAttributeVerificationCodeWithContext(ctx aws.Context, input *GetUserAttributeVerificationCodeInput, opts ...request.Option) (*GetUserAttributeVerificationCodeOutput, error)
    func (c *CognitoIdentityProvider) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput)
    func (c *CognitoIdentityProvider) GetUserWithContext(ctx aws.Context, input *GetUserInput, opts ...request.Option) (*GetUserOutput, error)
    func (c *CognitoIdentityProvider) GlobalSignOut(input *GlobalSignOutInput) (*GlobalSignOutOutput, error)
    func (c *CognitoIdentityProvider) GlobalSignOutRequest(input *GlobalSignOutInput) (req *request.Request, output *GlobalSignOutOutput)
    func (c *CognitoIdentityProvider) GlobalSignOutWithContext(ctx aws.Context, input *GlobalSignOutInput, opts ...request.Option) (*GlobalSignOutOutput, error)
    func (c *CognitoIdentityProvider) InitiateAuth(input *InitiateAuthInput) (*InitiateAuthOutput, error)
    func (c *CognitoIdentityProvider) InitiateAuthRequest(input *InitiateAuthInput) (req *request.Request, output *InitiateAuthOutput)
    func (c *CognitoIdentityProvider) InitiateAuthWithContext(ctx aws.Context, input *InitiateAuthInput, opts ...request.Option) (*InitiateAuthOutput, error)
    func (c *CognitoIdentityProvider) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error)
    func (c *CognitoIdentityProvider) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput)
    func (c *CognitoIdentityProvider) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInput, opts ...request.Option) (*ListDevicesOutput, error)
    func (c *CognitoIdentityProvider) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error)
    func (c *CognitoIdentityProvider) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput)
    func (c *CognitoIdentityProvider) ListGroupsWithContext(ctx aws.Context, input *ListGroupsInput, opts ...request.Option) (*ListGroupsOutput, error)
    func (c *CognitoIdentityProvider) ListIdentityProviders(input *ListIdentityProvidersInput) (*ListIdentityProvidersOutput, error)
    func (c *CognitoIdentityProvider) ListIdentityProvidersRequest(input *ListIdentityProvidersInput) (req *request.Request, output *ListIdentityProvidersOutput)
    func (c *CognitoIdentityProvider) ListIdentityProvidersWithContext(ctx aws.Context, input *ListIdentityProvidersInput, opts ...request.Option) (*ListIdentityProvidersOutput, error)
    func (c *CognitoIdentityProvider) ListUserImportJobs(input *ListUserImportJobsInput) (*ListUserImportJobsOutput, error)
    func (c *CognitoIdentityProvider) ListUserImportJobsRequest(input *ListUserImportJobsInput) (req *request.Request, output *ListUserImportJobsOutput)
    func (c *CognitoIdentityProvider) ListUserImportJobsWithContext(ctx aws.Context, input *ListUserImportJobsInput, opts ...request.Option) (*ListUserImportJobsOutput, error)
    func (c *CognitoIdentityProvider) ListUserPoolClients(input *ListUserPoolClientsInput) (*ListUserPoolClientsOutput, error)
    func (c *CognitoIdentityProvider) ListUserPoolClientsRequest(input *ListUserPoolClientsInput) (req *request.Request, output *ListUserPoolClientsOutput)
    func (c *CognitoIdentityProvider) ListUserPoolClientsWithContext(ctx aws.Context, input *ListUserPoolClientsInput, opts ...request.Option) (*ListUserPoolClientsOutput, error)
    func (c *CognitoIdentityProvider) ListUserPools(input *ListUserPoolsInput) (*ListUserPoolsOutput, error)
    func (c *CognitoIdentityProvider) ListUserPoolsRequest(input *ListUserPoolsInput) (req *request.Request, output *ListUserPoolsOutput)
    func (c *CognitoIdentityProvider) ListUserPoolsWithContext(ctx aws.Context, input *ListUserPoolsInput, opts ...request.Option) (*ListUserPoolsOutput, error)
    func (c *CognitoIdentityProvider) ListUsers(input *ListUsersInput) (*ListUsersOutput, error)
    func (c *CognitoIdentityProvider) ListUsersInGroup(input *ListUsersInGroupInput) (*ListUsersInGroupOutput, error)
    func (c *CognitoIdentityProvider) ListUsersInGroupRequest(input *ListUsersInGroupInput) (req *request.Request, output *ListUsersInGroupOutput)
    func (c *CognitoIdentityProvider) ListUsersInGroupWithContext(ctx aws.Context, input *ListUsersInGroupInput, opts ...request.Option) (*ListUsersInGroupOutput, error)
    func (c *CognitoIdentityProvider) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput)
    func (c *CognitoIdentityProvider) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error)
    func (c *CognitoIdentityProvider) ResendConfirmationCode(input *ResendConfirmationCodeInput) (*ResendConfirmationCodeOutput, error)
    func (c *CognitoIdentityProvider) ResendConfirmationCodeRequest(input *ResendConfirmationCodeInput) (req *request.Request, output *ResendConfirmationCodeOutput)
    func (c *CognitoIdentityProvider) ResendConfirmationCodeWithContext(ctx aws.Context, input *ResendConfirmationCodeInput, opts ...request.Option) (*ResendConfirmationCodeOutput, error)
    func (c *CognitoIdentityProvider) RespondToAuthChallenge(input *RespondToAuthChallengeInput) (*RespondToAuthChallengeOutput, error)
    func (c *CognitoIdentityProvider) RespondToAuthChallengeRequest(input *RespondToAuthChallengeInput) (req *request.Request, output *RespondToAuthChallengeOutput)
    func (c *CognitoIdentityProvider) RespondToAuthChallengeWithContext(ctx aws.Context, input *RespondToAuthChallengeInput, opts ...request.Option) (*RespondToAuthChallengeOutput, error)
    func (c *CognitoIdentityProvider) SetUserSettings(input *SetUserSettingsInput) (*SetUserSettingsOutput, error)
    func (c *CognitoIdentityProvider) SetUserSettingsRequest(input *SetUserSettingsInput) (req *request.Request, output *SetUserSettingsOutput)
    func (c *CognitoIdentityProvider) SetUserSettingsWithContext(ctx aws.Context, input *SetUserSettingsInput, opts ...request.Option) (*SetUserSettingsOutput, error)
    func (c *CognitoIdentityProvider) SignUp(input *SignUpInput) (*SignUpOutput, error)
    func (c *CognitoIdentityProvider) SignUpRequest(input *SignUpInput) (req *request.Request, output *SignUpOutput)
    func (c *CognitoIdentityProvider) SignUpWithContext(ctx aws.Context, input *SignUpInput, opts ...request.Option) (*SignUpOutput, error)
    func (c *CognitoIdentityProvider) StartUserImportJob(input *StartUserImportJobInput) (*StartUserImportJobOutput, error)
    func (c *CognitoIdentityProvider) StartUserImportJobRequest(input *StartUserImportJobInput) (req *request.Request, output *StartUserImportJobOutput)
    func (c *CognitoIdentityProvider) StartUserImportJobWithContext(ctx aws.Context, input *StartUserImportJobInput, opts ...request.Option) (*StartUserImportJobOutput, error)
    func (c *CognitoIdentityProvider) StopUserImportJob(input *StopUserImportJobInput) (*StopUserImportJobOutput, error)
    func (c *CognitoIdentityProvider) StopUserImportJobRequest(input *StopUserImportJobInput) (req *request.Request, output *StopUserImportJobOutput)
    func (c *CognitoIdentityProvider) StopUserImportJobWithContext(ctx aws.Context, input *StopUserImportJobInput, opts ...request.Option) (*StopUserImportJobOutput, error)
    func (c *CognitoIdentityProvider) UpdateDeviceStatus(input *UpdateDeviceStatusInput) (*UpdateDeviceStatusOutput, error)
    func (c *CognitoIdentityProvider) UpdateDeviceStatusRequest(input *UpdateDeviceStatusInput) (req *request.Request, output *UpdateDeviceStatusOutput)
    func (c *CognitoIdentityProvider) UpdateDeviceStatusWithContext(ctx aws.Context, input *UpdateDeviceStatusInput, opts ...request.Option) (*UpdateDeviceStatusOutput, error)
    func (c *CognitoIdentityProvider) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error)
    func (c *CognitoIdentityProvider) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput)
    func (c *CognitoIdentityProvider) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error)
    func (c *CognitoIdentityProvider) UpdateIdentityProvider(input *UpdateIdentityProviderInput) (*UpdateIdentityProviderOutput, error)
    func (c *CognitoIdentityProvider) UpdateIdentityProviderRequest(input *UpdateIdentityProviderInput) (req *request.Request, output *UpdateIdentityProviderOutput)
    func (c *CognitoIdentityProvider) UpdateIdentityProviderWithContext(ctx aws.Context, input *UpdateIdentityProviderInput, opts ...request.Option) (*UpdateIdentityProviderOutput, error)
    func (c *CognitoIdentityProvider) UpdateUserAttributes(input *UpdateUserAttributesInput) (*UpdateUserAttributesOutput, error)
    func (c *CognitoIdentityProvider) UpdateUserAttributesRequest(input *UpdateUserAttributesInput) (req *request.Request, output *UpdateUserAttributesOutput)
    func (c *CognitoIdentityProvider) UpdateUserAttributesWithContext(ctx aws.Context, input *UpdateUserAttributesInput, opts ...request.Option) (*UpdateUserAttributesOutput, error)
    func (c *CognitoIdentityProvider) UpdateUserPool(input *UpdateUserPoolInput) (*UpdateUserPoolOutput, error)
    func (c *CognitoIdentityProvider) UpdateUserPoolClient(input *UpdateUserPoolClientInput) (*UpdateUserPoolClientOutput, error)
    func (c *CognitoIdentityProvider) UpdateUserPoolClientRequest(input *UpdateUserPoolClientInput) (req *request.Request, output *UpdateUserPoolClientOutput)
    func (c *CognitoIdentityProvider) UpdateUserPoolClientWithContext(ctx aws.Context, input *UpdateUserPoolClientInput, opts ...request.Option) (*UpdateUserPoolClientOutput, error)
    func (c *CognitoIdentityProvider) UpdateUserPoolRequest(input *UpdateUserPoolInput) (req *request.Request, output *UpdateUserPoolOutput)
    func (c *CognitoIdentityProvider) UpdateUserPoolWithContext(ctx aws.Context, input *UpdateUserPoolInput, opts ...request.Option) (*UpdateUserPoolOutput, error)
    func (c *CognitoIdentityProvider) VerifyUserAttribute(input *VerifyUserAttributeInput) (*VerifyUserAttributeOutput, error)
    func (c *CognitoIdentityProvider) VerifyUserAttributeRequest(input *VerifyUserAttributeInput) (req *request.Request, output *VerifyUserAttributeOutput)
    func (c *CognitoIdentityProvider) VerifyUserAttributeWithContext(ctx aws.Context, input *VerifyUserAttributeInput, opts ...request.Option) (*VerifyUserAttributeOutput, error)
type ConfirmDeviceInput
    func (s ConfirmDeviceInput) GoString() string
    func (s *ConfirmDeviceInput) SetAccessToken(v string) *ConfirmDeviceInput
    func (s *ConfirmDeviceInput) SetDeviceKey(v string) *ConfirmDeviceInput
    func (s *ConfirmDeviceInput) SetDeviceName(v string) *ConfirmDeviceInput
    func (s *ConfirmDeviceInput) SetDeviceSecretVerifierConfig(v *DeviceSecretVerifierConfigType) *ConfirmDeviceInput
    func (s ConfirmDeviceInput) String() string
    func (s *ConfirmDeviceInput) Validate() error
type ConfirmDeviceOutput
    func (s ConfirmDeviceOutput) GoString() string
    func (s *ConfirmDeviceOutput) SetUserConfirmationNecessary(v bool) *ConfirmDeviceOutput
    func (s ConfirmDeviceOutput) String() string
type ConfirmForgotPasswordInput
    func (s ConfirmForgotPasswordInput) GoString() string
    func (s *ConfirmForgotPasswordInput) SetClientId(v string) *ConfirmForgotPasswordInput
    func (s *ConfirmForgotPasswordInput) SetConfirmationCode(v string) *ConfirmForgotPasswordInput
    func (s *ConfirmForgotPasswordInput) SetPassword(v string) *ConfirmForgotPasswordInput
    func (s *ConfirmForgotPasswordInput) SetSecretHash(v string) *ConfirmForgotPasswordInput
    func (s *ConfirmForgotPasswordInput) SetUsername(v string) *ConfirmForgotPasswordInput
    func (s ConfirmForgotPasswordInput) String() string
    func (s *ConfirmForgotPasswordInput) Validate() error
type ConfirmForgotPasswordOutput
    func (s ConfirmForgotPasswordOutput) GoString() string
    func (s ConfirmForgotPasswordOutput) String() string
type ConfirmSignUpInput
    func (s ConfirmSignUpInput) GoString() string
    func (s *ConfirmSignUpInput) SetClientId(v string) *ConfirmSignUpInput
    func (s *ConfirmSignUpInput) SetConfirmationCode(v string) *ConfirmSignUpInput
    func (s *ConfirmSignUpInput) SetForceAliasCreation(v bool) *ConfirmSignUpInput
    func (s *ConfirmSignUpInput) SetSecretHash(v string) *ConfirmSignUpInput
    func (s *ConfirmSignUpInput) SetUsername(v string) *ConfirmSignUpInput
    func (s ConfirmSignUpInput) String() string
    func (s *ConfirmSignUpInput) Validate() error
type ConfirmSignUpOutput
    func (s ConfirmSignUpOutput) GoString() string
    func (s ConfirmSignUpOutput) String() string
type CreateGroupInput
    func (s CreateGroupInput) GoString() string
    func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput
    func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput
    func (s *CreateGroupInput) SetPrecedence(v int64) *CreateGroupInput
    func (s *CreateGroupInput) SetRoleArn(v string) *CreateGroupInput
    func (s *CreateGroupInput) SetUserPoolId(v string) *CreateGroupInput
    func (s CreateGroupInput) String() string
    func (s *CreateGroupInput) Validate() error
type CreateGroupOutput
    func (s CreateGroupOutput) GoString() string
    func (s *CreateGroupOutput) SetGroup(v *GroupType) *CreateGroupOutput
    func (s CreateGroupOutput) String() string
type CreateIdentityProviderInput
    func (s CreateIdentityProviderInput) GoString() string
    func (s *CreateIdentityProviderInput) SetAttributeMapping(v map[string]*string) *CreateIdentityProviderInput
    func (s *CreateIdentityProviderInput) SetIdpIdentifiers(v []*string) *CreateIdentityProviderInput
    func (s *CreateIdentityProviderInput) SetProviderDetails(v map[string]*string) *CreateIdentityProviderInput
    func (s *CreateIdentityProviderInput) SetProviderName(v string) *CreateIdentityProviderInput
    func (s *CreateIdentityProviderInput) SetProviderType(v string) *CreateIdentityProviderInput
    func (s *CreateIdentityProviderInput) SetUserPoolId(v string) *CreateIdentityProviderInput
    func (s CreateIdentityProviderInput) String() string
    func (s *CreateIdentityProviderInput) Validate() error
type CreateIdentityProviderOutput
    func (s CreateIdentityProviderOutput) GoString() string
    func (s *CreateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *CreateIdentityProviderOutput
    func (s CreateIdentityProviderOutput) String() string
type CreateUserImportJobInput
    func (s CreateUserImportJobInput) GoString() string
    func (s *CreateUserImportJobInput) SetCloudWatchLogsRoleArn(v string) *CreateUserImportJobInput
    func (s *CreateUserImportJobInput) SetJobName(v string) *CreateUserImportJobInput
    func (s *CreateUserImportJobInput) SetUserPoolId(v string) *CreateUserImportJobInput
    func (s CreateUserImportJobInput) String() string
    func (s *CreateUserImportJobInput) Validate() error
type CreateUserImportJobOutput
    func (s CreateUserImportJobOutput) GoString() string
    func (s *CreateUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *CreateUserImportJobOutput
    func (s CreateUserImportJobOutput) String() string
type CreateUserPoolClientInput
    func (s CreateUserPoolClientInput) GoString() string
    func (s *CreateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetCallbackURLs(v []*string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetClientName(v string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetDefaultRedirectURI(v string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetGenerateSecret(v bool) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetLogoutURLs(v []*string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetReadAttributes(v []*string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetRefreshTokenValidity(v int64) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetSupportedIdentityProviders(v []*string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetUserPoolId(v string) *CreateUserPoolClientInput
    func (s *CreateUserPoolClientInput) SetWriteAttributes(v []*string) *CreateUserPoolClientInput
    func (s CreateUserPoolClientInput) String() string
    func (s *CreateUserPoolClientInput) Validate() error
type CreateUserPoolClientOutput
    func (s CreateUserPoolClientOutput) GoString() string
    func (s *CreateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *CreateUserPoolClientOutput
    func (s CreateUserPoolClientOutput) String() string
type CreateUserPoolDomainInput
    func (s CreateUserPoolDomainInput) GoString() string
    func (s *CreateUserPoolDomainInput) SetDomain(v string) *CreateUserPoolDomainInput
    func (s *CreateUserPoolDomainInput) SetUserPoolId(v string) *CreateUserPoolDomainInput
    func (s CreateUserPoolDomainInput) String() string
    func (s *CreateUserPoolDomainInput) Validate() error
type CreateUserPoolDomainOutput
    func (s CreateUserPoolDomainOutput) GoString() string
    func (s CreateUserPoolDomainOutput) String() string
type CreateUserPoolInput
    func (s CreateUserPoolInput) GoString() string
    func (s *CreateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetAliasAttributes(v []*string) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetAutoVerifiedAttributes(v []*string) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetEmailVerificationMessage(v string) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetEmailVerificationSubject(v string) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetMfaConfiguration(v string) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetPoolName(v string) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetSchema(v []*SchemaAttributeType) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetSmsAuthenticationMessage(v string) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetSmsVerificationMessage(v string) *CreateUserPoolInput
    func (s *CreateUserPoolInput) SetUserPoolTags(v map[string]*string) *CreateUserPoolInput
    func (s CreateUserPoolInput) String() string
    func (s *CreateUserPoolInput) Validate() error
type CreateUserPoolOutput
    func (s CreateUserPoolOutput) GoString() string
    func (s *CreateUserPoolOutput) SetUserPool(v *UserPoolType) *CreateUserPoolOutput
    func (s CreateUserPoolOutput) String() string
type DeleteGroupInput
    func (s DeleteGroupInput) GoString() string
    func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput
    func (s *DeleteGroupInput) SetUserPoolId(v string) *DeleteGroupInput
    func (s DeleteGroupInput) String() string
    func (s *DeleteGroupInput) Validate() error
type DeleteGroupOutput
    func (s DeleteGroupOutput) GoString() string
    func (s DeleteGroupOutput) String() string
type DeleteIdentityProviderInput
    func (s DeleteIdentityProviderInput) GoString() string
    func (s *DeleteIdentityProviderInput) SetProviderName(v string) *DeleteIdentityProviderInput
    func (s *DeleteIdentityProviderInput) SetUserPoolId(v string) *DeleteIdentityProviderInput
    func (s DeleteIdentityProviderInput) String() string
    func (s *DeleteIdentityProviderInput) Validate() error
type DeleteIdentityProviderOutput
    func (s DeleteIdentityProviderOutput) GoString() string
    func (s DeleteIdentityProviderOutput) String() string
type DeleteUserAttributesInput
    func (s DeleteUserAttributesInput) GoString() string
    func (s *DeleteUserAttributesInput) SetAccessToken(v string) *DeleteUserAttributesInput
    func (s *DeleteUserAttributesInput) SetUserAttributeNames(v []*string) *DeleteUserAttributesInput
    func (s DeleteUserAttributesInput) String() string
    func (s *DeleteUserAttributesInput) Validate() error
type DeleteUserAttributesOutput
    func (s DeleteUserAttributesOutput) GoString() string
    func (s DeleteUserAttributesOutput) String() string
type DeleteUserInput
    func (s DeleteUserInput) GoString() string
    func (s *DeleteUserInput) SetAccessToken(v string) *DeleteUserInput
    func (s DeleteUserInput) String() string
    func (s *DeleteUserInput) Validate() error
type DeleteUserOutput
    func (s DeleteUserOutput) GoString() string
    func (s DeleteUserOutput) String() string
type DeleteUserPoolClientInput
    func (s DeleteUserPoolClientInput) GoString() string
    func (s *DeleteUserPoolClientInput) SetClientId(v string) *DeleteUserPoolClientInput
    func (s *DeleteUserPoolClientInput) SetUserPoolId(v string) *DeleteUserPoolClientInput
    func (s DeleteUserPoolClientInput) String() string
    func (s *DeleteUserPoolClientInput) Validate() error
type DeleteUserPoolClientOutput
    func (s DeleteUserPoolClientOutput) GoString() string
    func (s DeleteUserPoolClientOutput) String() string
type DeleteUserPoolDomainInput
    func (s DeleteUserPoolDomainInput) GoString() string
    func (s *DeleteUserPoolDomainInput) SetDomain(v string) *DeleteUserPoolDomainInput
    func (s *DeleteUserPoolDomainInput) SetUserPoolId(v string) *DeleteUserPoolDomainInput
    func (s DeleteUserPoolDomainInput) String() string
    func (s *DeleteUserPoolDomainInput) Validate() error
type DeleteUserPoolDomainOutput
    func (s DeleteUserPoolDomainOutput) GoString() string
    func (s DeleteUserPoolDomainOutput) String() string
type DeleteUserPoolInput
    func (s DeleteUserPoolInput) GoString() string
    func (s *DeleteUserPoolInput) SetUserPoolId(v string) *DeleteUserPoolInput
    func (s DeleteUserPoolInput) String() string
    func (s *DeleteUserPoolInput) Validate() error
type DeleteUserPoolOutput
    func (s DeleteUserPoolOutput) GoString() string
    func (s DeleteUserPoolOutput) String() string
type DescribeIdentityProviderInput
    func (s DescribeIdentityProviderInput) GoString() string
    func (s *DescribeIdentityProviderInput) SetProviderName(v string) *DescribeIdentityProviderInput
    func (s *DescribeIdentityProviderInput) SetUserPoolId(v string) *DescribeIdentityProviderInput
    func (s DescribeIdentityProviderInput) String() string
    func (s *DescribeIdentityProviderInput) Validate() error
type DescribeIdentityProviderOutput
    func (s DescribeIdentityProviderOutput) GoString() string
    func (s *DescribeIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *DescribeIdentityProviderOutput
    func (s DescribeIdentityProviderOutput) String() string
type DescribeUserImportJobInput
    func (s DescribeUserImportJobInput) GoString() string
    func (s *DescribeUserImportJobInput) SetJobId(v string) *DescribeUserImportJobInput
    func (s *DescribeUserImportJobInput) SetUserPoolId(v string) *DescribeUserImportJobInput
    func (s DescribeUserImportJobInput) String() string
    func (s *DescribeUserImportJobInput) Validate() error
type DescribeUserImportJobOutput
    func (s DescribeUserImportJobOutput) GoString() string
    func (s *DescribeUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *DescribeUserImportJobOutput
    func (s DescribeUserImportJobOutput) String() string
type DescribeUserPoolClientInput
    func (s DescribeUserPoolClientInput) GoString() string
    func (s *DescribeUserPoolClientInput) SetClientId(v string) *DescribeUserPoolClientInput
    func (s *DescribeUserPoolClientInput) SetUserPoolId(v string) *DescribeUserPoolClientInput
    func (s DescribeUserPoolClientInput) String() string
    func (s *DescribeUserPoolClientInput) Validate() error
type DescribeUserPoolClientOutput
    func (s DescribeUserPoolClientOutput) GoString() string
    func (s *DescribeUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *DescribeUserPoolClientOutput
    func (s DescribeUserPoolClientOutput) String() string
type DescribeUserPoolDomainInput
    func (s DescribeUserPoolDomainInput) GoString() string
    func (s *DescribeUserPoolDomainInput) SetDomain(v string) *DescribeUserPoolDomainInput
    func (s DescribeUserPoolDomainInput) String() string
    func (s *DescribeUserPoolDomainInput) Validate() error
type DescribeUserPoolDomainOutput
    func (s DescribeUserPoolDomainOutput) GoString() string
    func (s *DescribeUserPoolDomainOutput) SetDomainDescription(v *DomainDescriptionType) *DescribeUserPoolDomainOutput
    func (s DescribeUserPoolDomainOutput) String() string
type DescribeUserPoolInput
    func (s DescribeUserPoolInput) GoString() string
    func (s *DescribeUserPoolInput) SetUserPoolId(v string) *DescribeUserPoolInput
    func (s DescribeUserPoolInput) String() string
    func (s *DescribeUserPoolInput) Validate() error
type DescribeUserPoolOutput
    func (s DescribeUserPoolOutput) GoString() string
    func (s *DescribeUserPoolOutput) SetUserPool(v *UserPoolType) *DescribeUserPoolOutput
    func (s DescribeUserPoolOutput) String() string
type DeviceConfigurationType
    func (s DeviceConfigurationType) GoString() string
    func (s *DeviceConfigurationType) SetChallengeRequiredOnNewDevice(v bool) *DeviceConfigurationType
    func (s *DeviceConfigurationType) SetDeviceOnlyRememberedOnUserPrompt(v bool) *DeviceConfigurationType
    func (s DeviceConfigurationType) String() string
type DeviceSecretVerifierConfigType
    func (s DeviceSecretVerifierConfigType) GoString() string
    func (s *DeviceSecretVerifierConfigType) SetPasswordVerifier(v string) *DeviceSecretVerifierConfigType
    func (s *DeviceSecretVerifierConfigType) SetSalt(v string) *DeviceSecretVerifierConfigType
    func (s DeviceSecretVerifierConfigType) String() string
type DeviceType
    func (s DeviceType) GoString() string
    func (s *DeviceType) SetDeviceAttributes(v []*AttributeType) *DeviceType
    func (s *DeviceType) SetDeviceCreateDate(v time.Time) *DeviceType
    func (s *DeviceType) SetDeviceKey(v string) *DeviceType
    func (s *DeviceType) SetDeviceLastAuthenticatedDate(v time.Time) *DeviceType
    func (s *DeviceType) SetDeviceLastModifiedDate(v time.Time) *DeviceType
    func (s DeviceType) String() string
type DomainDescriptionType
    func (s DomainDescriptionType) GoString() string
    func (s *DomainDescriptionType) SetAWSAccountId(v string) *DomainDescriptionType
    func (s *DomainDescriptionType) SetCloudFrontDistribution(v string) *DomainDescriptionType
    func (s *DomainDescriptionType) SetDomain(v string) *DomainDescriptionType
    func (s *DomainDescriptionType) SetS3Bucket(v string) *DomainDescriptionType
    func (s *DomainDescriptionType) SetStatus(v string) *DomainDescriptionType
    func (s *DomainDescriptionType) SetUserPoolId(v string) *DomainDescriptionType
    func (s *DomainDescriptionType) SetVersion(v string) *DomainDescriptionType
    func (s DomainDescriptionType) String() string
type EmailConfigurationType
    func (s EmailConfigurationType) GoString() string
    func (s *EmailConfigurationType) SetReplyToEmailAddress(v string) *EmailConfigurationType
    func (s *EmailConfigurationType) SetSourceArn(v string) *EmailConfigurationType
    func (s EmailConfigurationType) String() string
    func (s *EmailConfigurationType) Validate() error
type ForgetDeviceInput
    func (s ForgetDeviceInput) GoString() string
    func (s *ForgetDeviceInput) SetAccessToken(v string) *ForgetDeviceInput
    func (s *ForgetDeviceInput) SetDeviceKey(v string) *ForgetDeviceInput
    func (s ForgetDeviceInput) String() string
    func (s *ForgetDeviceInput) Validate() error
type ForgetDeviceOutput
    func (s ForgetDeviceOutput) GoString() string
    func (s ForgetDeviceOutput) String() string
type ForgotPasswordInput
    func (s ForgotPasswordInput) GoString() string
    func (s *ForgotPasswordInput) SetClientId(v string) *ForgotPasswordInput
    func (s *ForgotPasswordInput) SetSecretHash(v string) *ForgotPasswordInput
    func (s *ForgotPasswordInput) SetUsername(v string) *ForgotPasswordInput
    func (s ForgotPasswordInput) String() string
    func (s *ForgotPasswordInput) Validate() error
type ForgotPasswordOutput
    func (s ForgotPasswordOutput) GoString() string
    func (s *ForgotPasswordOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ForgotPasswordOutput
    func (s ForgotPasswordOutput) String() string
type GetCSVHeaderInput
    func (s GetCSVHeaderInput) GoString() string
    func (s *GetCSVHeaderInput) SetUserPoolId(v string) *GetCSVHeaderInput
    func (s GetCSVHeaderInput) String() string
    func (s *GetCSVHeaderInput) Validate() error
type GetCSVHeaderOutput
    func (s GetCSVHeaderOutput) GoString() string
    func (s *GetCSVHeaderOutput) SetCSVHeader(v []*string) *GetCSVHeaderOutput
    func (s *GetCSVHeaderOutput) SetUserPoolId(v string) *GetCSVHeaderOutput
    func (s GetCSVHeaderOutput) String() string
type GetDeviceInput
    func (s GetDeviceInput) GoString() string
    func (s *GetDeviceInput) SetAccessToken(v string) *GetDeviceInput
    func (s *GetDeviceInput) SetDeviceKey(v string) *GetDeviceInput
    func (s GetDeviceInput) String() string
    func (s *GetDeviceInput) Validate() error
type GetDeviceOutput
    func (s GetDeviceOutput) GoString() string
    func (s *GetDeviceOutput) SetDevice(v *DeviceType) *GetDeviceOutput
    func (s GetDeviceOutput) String() string
type GetGroupInput
    func (s GetGroupInput) GoString() string
    func (s *GetGroupInput) SetGroupName(v string) *GetGroupInput
    func (s *GetGroupInput) SetUserPoolId(v string) *GetGroupInput
    func (s GetGroupInput) String() string
    func (s *GetGroupInput) Validate() error
type GetGroupOutput
    func (s GetGroupOutput) GoString() string
    func (s *GetGroupOutput) SetGroup(v *GroupType) *GetGroupOutput
    func (s GetGroupOutput) String() string
type GetIdentityProviderByIdentifierInput
    func (s GetIdentityProviderByIdentifierInput) GoString() string
    func (s *GetIdentityProviderByIdentifierInput) SetIdpIdentifier(v string) *GetIdentityProviderByIdentifierInput
    func (s *GetIdentityProviderByIdentifierInput) SetUserPoolId(v string) *GetIdentityProviderByIdentifierInput
    func (s GetIdentityProviderByIdentifierInput) String() string
    func (s *GetIdentityProviderByIdentifierInput) Validate() error
type GetIdentityProviderByIdentifierOutput
    func (s GetIdentityProviderByIdentifierOutput) GoString() string
    func (s *GetIdentityProviderByIdentifierOutput) SetIdentityProvider(v *IdentityProviderType) *GetIdentityProviderByIdentifierOutput
    func (s GetIdentityProviderByIdentifierOutput) String() string
type GetUserAttributeVerificationCodeInput
    func (s GetUserAttributeVerificationCodeInput) GoString() string
    func (s *GetUserAttributeVerificationCodeInput) SetAccessToken(v string) *GetUserAttributeVerificationCodeInput
    func (s *GetUserAttributeVerificationCodeInput) SetAttributeName(v string) *GetUserAttributeVerificationCodeInput
    func (s GetUserAttributeVerificationCodeInput) String() string
    func (s *GetUserAttributeVerificationCodeInput) Validate() error
type GetUserAttributeVerificationCodeOutput
    func (s GetUserAttributeVerificationCodeOutput) GoString() string
    func (s *GetUserAttributeVerificationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *GetUserAttributeVerificationCodeOutput
    func (s GetUserAttributeVerificationCodeOutput) String() string
type GetUserInput
    func (s GetUserInput) GoString() string
    func (s *GetUserInput) SetAccessToken(v string) *GetUserInput
    func (s GetUserInput) String() string
    func (s *GetUserInput) Validate() error
type GetUserOutput
    func (s GetUserOutput) GoString() string
    func (s *GetUserOutput) SetMFAOptions(v []*MFAOptionType) *GetUserOutput
    func (s *GetUserOutput) SetUserAttributes(v []*AttributeType) *GetUserOutput
    func (s *GetUserOutput) SetUsername(v string) *GetUserOutput
    func (s GetUserOutput) String() string
type GlobalSignOutInput
    func (s GlobalSignOutInput) GoString() string
    func (s *GlobalSignOutInput) SetAccessToken(v string) *GlobalSignOutInput
    func (s GlobalSignOutInput) String() string
    func (s *GlobalSignOutInput) Validate() error
type GlobalSignOutOutput
    func (s GlobalSignOutOutput) GoString() string
    func (s GlobalSignOutOutput) String() string
type GroupType
    func (s GroupType) GoString() string
    func (s *GroupType) SetCreationDate(v time.Time) *GroupType
    func (s *GroupType) SetDescription(v string) *GroupType
    func (s *GroupType) SetGroupName(v string) *GroupType
    func (s *GroupType) SetLastModifiedDate(v time.Time) *GroupType
    func (s *GroupType) SetPrecedence(v int64) *GroupType
    func (s *GroupType) SetRoleArn(v string) *GroupType
    func (s *GroupType) SetUserPoolId(v string) *GroupType
    func (s GroupType) String() string
type IdentityProviderType
    func (s IdentityProviderType) GoString() string
    func (s *IdentityProviderType) SetAttributeMapping(v map[string]*string) *IdentityProviderType
    func (s *IdentityProviderType) SetCreationDate(v time.Time) *IdentityProviderType
    func (s *IdentityProviderType) SetIdpIdentifiers(v []*string) *IdentityProviderType
    func (s *IdentityProviderType) SetLastModifiedDate(v time.Time) *IdentityProviderType
    func (s *IdentityProviderType) SetProviderDetails(v map[string]*string) *IdentityProviderType
    func (s *IdentityProviderType) SetProviderName(v string) *IdentityProviderType
    func (s *IdentityProviderType) SetProviderType(v string) *IdentityProviderType
    func (s *IdentityProviderType) SetUserPoolId(v string) *IdentityProviderType
    func (s IdentityProviderType) String() string
type InitiateAuthInput
    func (s InitiateAuthInput) GoString() string
    func (s *InitiateAuthInput) SetAuthFlow(v string) *InitiateAuthInput
    func (s *InitiateAuthInput) SetAuthParameters(v map[string]*string) *InitiateAuthInput
    func (s *InitiateAuthInput) SetClientId(v string) *InitiateAuthInput
    func (s *InitiateAuthInput) SetClientMetadata(v map[string]*string) *InitiateAuthInput
    func (s InitiateAuthInput) String() string
    func (s *InitiateAuthInput) Validate() error
type InitiateAuthOutput
    func (s InitiateAuthOutput) GoString() string
    func (s *InitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *InitiateAuthOutput
    func (s *InitiateAuthOutput) SetChallengeName(v string) *InitiateAuthOutput
    func (s *InitiateAuthOutput) SetChallengeParameters(v map[string]*string) *InitiateAuthOutput
    func (s *InitiateAuthOutput) SetSession(v string) *InitiateAuthOutput
    func (s InitiateAuthOutput) String() string
type LambdaConfigType
    func (s LambdaConfigType) GoString() string
    func (s *LambdaConfigType) SetCreateAuthChallenge(v string) *LambdaConfigType
    func (s *LambdaConfigType) SetCustomMessage(v string) *LambdaConfigType
    func (s *LambdaConfigType) SetDefineAuthChallenge(v string) *LambdaConfigType
    func (s *LambdaConfigType) SetPostAuthentication(v string) *LambdaConfigType
    func (s *LambdaConfigType) SetPostConfirmation(v string) *LambdaConfigType
    func (s *LambdaConfigType) SetPreAuthentication(v string) *LambdaConfigType
    func (s *LambdaConfigType) SetPreSignUp(v string) *LambdaConfigType
    func (s *LambdaConfigType) SetVerifyAuthChallengeResponse(v string) *LambdaConfigType
    func (s LambdaConfigType) String() string
    func (s *LambdaConfigType) Validate() error
type ListDevicesInput
    func (s ListDevicesInput) GoString() string
    func (s *ListDevicesInput) SetAccessToken(v string) *ListDevicesInput
    func (s *ListDevicesInput) SetLimit(v int64) *ListDevicesInput
    func (s *ListDevicesInput) SetPaginationToken(v string) *ListDevicesInput
    func (s ListDevicesInput) String() string
    func (s *ListDevicesInput) Validate() error
type ListDevicesOutput
    func (s ListDevicesOutput) GoString() string
    func (s *ListDevicesOutput) SetDevices(v []*DeviceType) *ListDevicesOutput
    func (s *ListDevicesOutput) SetPaginationToken(v string) *ListDevicesOutput
    func (s ListDevicesOutput) String() string
type ListGroupsInput
    func (s ListGroupsInput) GoString() string
    func (s *ListGroupsInput) SetLimit(v int64) *ListGroupsInput
    func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput
    func (s *ListGroupsInput) SetUserPoolId(v string) *ListGroupsInput
    func (s ListGroupsInput) String() string
    func (s *ListGroupsInput) Validate() error
type ListGroupsOutput
    func (s ListGroupsOutput) GoString() string
    func (s *ListGroupsOutput) SetGroups(v []*GroupType) *ListGroupsOutput
    func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput
    func (s ListGroupsOutput) String() string
type ListIdentityProvidersInput
    func (s ListIdentityProvidersInput) GoString() string
    func (s *ListIdentityProvidersInput) SetMaxResults(v int64) *ListIdentityProvidersInput
    func (s *ListIdentityProvidersInput) SetNextToken(v string) *ListIdentityProvidersInput
    func (s *ListIdentityProvidersInput) SetUserPoolId(v string) *ListIdentityProvidersInput
    func (s ListIdentityProvidersInput) String() string
    func (s *ListIdentityProvidersInput) Validate() error
type ListIdentityProvidersOutput
    func (s ListIdentityProvidersOutput) GoString() string
    func (s *ListIdentityProvidersOutput) SetNextToken(v string) *ListIdentityProvidersOutput
    func (s *ListIdentityProvidersOutput) SetProviders(v []*ProviderDescription) *ListIdentityProvidersOutput
    func (s ListIdentityProvidersOutput) String() string
type ListUserImportJobsInput
    func (s ListUserImportJobsInput) GoString() string
    func (s *ListUserImportJobsInput) SetMaxResults(v int64) *ListUserImportJobsInput
    func (s *ListUserImportJobsInput) SetPaginationToken(v string) *ListUserImportJobsInput
    func (s *ListUserImportJobsInput) SetUserPoolId(v string) *ListUserImportJobsInput
    func (s ListUserImportJobsInput) String() string
    func (s *ListUserImportJobsInput) Validate() error
type ListUserImportJobsOutput
    func (s ListUserImportJobsOutput) GoString() string
    func (s *ListUserImportJobsOutput) SetPaginationToken(v string) *ListUserImportJobsOutput
    func (s *ListUserImportJobsOutput) SetUserImportJobs(v []*UserImportJobType) *ListUserImportJobsOutput
    func (s ListUserImportJobsOutput) String() string
type ListUserPoolClientsInput
    func (s ListUserPoolClientsInput) GoString() string
    func (s *ListUserPoolClientsInput) SetMaxResults(v int64) *ListUserPoolClientsInput
    func (s *ListUserPoolClientsInput) SetNextToken(v string) *ListUserPoolClientsInput
    func (s *ListUserPoolClientsInput) SetUserPoolId(v string) *ListUserPoolClientsInput
    func (s ListUserPoolClientsInput) String() string
    func (s *ListUserPoolClientsInput) Validate() error
type ListUserPoolClientsOutput
    func (s ListUserPoolClientsOutput) GoString() string
    func (s *ListUserPoolClientsOutput) SetNextToken(v string) *ListUserPoolClientsOutput
    func (s *ListUserPoolClientsOutput) SetUserPoolClients(v []*UserPoolClientDescription) *ListUserPoolClientsOutput
    func (s ListUserPoolClientsOutput) String() string
type ListUserPoolsInput
    func (s ListUserPoolsInput) GoString() string
    func (s *ListUserPoolsInput) SetMaxResults(v int64) *ListUserPoolsInput
    func (s *ListUserPoolsInput) SetNextToken(v string) *ListUserPoolsInput
    func (s ListUserPoolsInput) String() string
    func (s *ListUserPoolsInput) Validate() error
type ListUserPoolsOutput
    func (s ListUserPoolsOutput) GoString() string
    func (s *ListUserPoolsOutput) SetNextToken(v string) *ListUserPoolsOutput
    func (s *ListUserPoolsOutput) SetUserPools(v []*UserPoolDescriptionType) *ListUserPoolsOutput
    func (s ListUserPoolsOutput) String() string
type ListUsersInGroupInput
    func (s ListUsersInGroupInput) GoString() string
    func (s *ListUsersInGroupInput) SetGroupName(v string) *ListUsersInGroupInput
    func (s *ListUsersInGroupInput) SetLimit(v int64) *ListUsersInGroupInput
    func (s *ListUsersInGroupInput) SetNextToken(v string) *ListUsersInGroupInput
    func (s *ListUsersInGroupInput) SetUserPoolId(v string) *ListUsersInGroupInput
    func (s ListUsersInGroupInput) String() string
    func (s *ListUsersInGroupInput) Validate() error
type ListUsersInGroupOutput
    func (s ListUsersInGroupOutput) GoString() string
    func (s *ListUsersInGroupOutput) SetNextToken(v string) *ListUsersInGroupOutput
    func (s *ListUsersInGroupOutput) SetUsers(v []*UserType) *ListUsersInGroupOutput
    func (s ListUsersInGroupOutput) String() string
type ListUsersInput
    func (s ListUsersInput) GoString() string
    func (s *ListUsersInput) SetAttributesToGet(v []*string) *ListUsersInput
    func (s *ListUsersInput) SetFilter(v string) *ListUsersInput
    func (s *ListUsersInput) SetLimit(v int64) *ListUsersInput
    func (s *ListUsersInput) SetPaginationToken(v string) *ListUsersInput
    func (s *ListUsersInput) SetUserPoolId(v string) *ListUsersInput
    func (s ListUsersInput) String() string
    func (s *ListUsersInput) Validate() error
type ListUsersOutput
    func (s ListUsersOutput) GoString() string
    func (s *ListUsersOutput) SetPaginationToken(v string) *ListUsersOutput
    func (s *ListUsersOutput) SetUsers(v []*UserType) *ListUsersOutput
    func (s ListUsersOutput) String() string
type MFAOptionType
    func (s MFAOptionType) GoString() string
    func (s *MFAOptionType) SetAttributeName(v string) *MFAOptionType
    func (s *MFAOptionType) SetDeliveryMedium(v string) *MFAOptionType
    func (s MFAOptionType) String() string
    func (s *MFAOptionType) Validate() error
type MessageTemplateType
    func (s MessageTemplateType) GoString() string
    func (s *MessageTemplateType) SetEmailMessage(v string) *MessageTemplateType
    func (s *MessageTemplateType) SetEmailSubject(v string) *MessageTemplateType
    func (s *MessageTemplateType) SetSMSMessage(v string) *MessageTemplateType
    func (s MessageTemplateType) String() string
    func (s *MessageTemplateType) Validate() error
type NewDeviceMetadataType
    func (s NewDeviceMetadataType) GoString() string
    func (s *NewDeviceMetadataType) SetDeviceGroupKey(v string) *NewDeviceMetadataType
    func (s *NewDeviceMetadataType) SetDeviceKey(v string) *NewDeviceMetadataType
    func (s NewDeviceMetadataType) String() string
type NumberAttributeConstraintsType
    func (s NumberAttributeConstraintsType) GoString() string
    func (s *NumberAttributeConstraintsType) SetMaxValue(v string) *NumberAttributeConstraintsType
    func (s *NumberAttributeConstraintsType) SetMinValue(v string) *NumberAttributeConstraintsType
    func (s NumberAttributeConstraintsType) String() string
type PasswordPolicyType
    func (s PasswordPolicyType) GoString() string
    func (s *PasswordPolicyType) SetMinimumLength(v int64) *PasswordPolicyType
    func (s *PasswordPolicyType) SetRequireLowercase(v bool) *PasswordPolicyType
    func (s *PasswordPolicyType) SetRequireNumbers(v bool) *PasswordPolicyType
    func (s *PasswordPolicyType) SetRequireSymbols(v bool) *PasswordPolicyType
    func (s *PasswordPolicyType) SetRequireUppercase(v bool) *PasswordPolicyType
    func (s PasswordPolicyType) String() string
    func (s *PasswordPolicyType) Validate() error
type ProviderDescription
    func (s ProviderDescription) GoString() string
    func (s *ProviderDescription) SetCreationDate(v time.Time) *ProviderDescription
    func (s *ProviderDescription) SetLastModifiedDate(v time.Time) *ProviderDescription
    func (s *ProviderDescription) SetProviderName(v string) *ProviderDescription
    func (s *ProviderDescription) SetProviderType(v string) *ProviderDescription
    func (s ProviderDescription) String() string
type ResendConfirmationCodeInput
    func (s ResendConfirmationCodeInput) GoString() string
    func (s *ResendConfirmationCodeInput) SetClientId(v string) *ResendConfirmationCodeInput
    func (s *ResendConfirmationCodeInput) SetSecretHash(v string) *ResendConfirmationCodeInput
    func (s *ResendConfirmationCodeInput) SetUsername(v string) *ResendConfirmationCodeInput
    func (s ResendConfirmationCodeInput) String() string
    func (s *ResendConfirmationCodeInput) Validate() error
type ResendConfirmationCodeOutput
    func (s ResendConfirmationCodeOutput) GoString() string
    func (s *ResendConfirmationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ResendConfirmationCodeOutput
    func (s ResendConfirmationCodeOutput) String() string
type RespondToAuthChallengeInput
    func (s RespondToAuthChallengeInput) GoString() string
    func (s *RespondToAuthChallengeInput) SetChallengeName(v string) *RespondToAuthChallengeInput
    func (s *RespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *RespondToAuthChallengeInput
    func (s *RespondToAuthChallengeInput) SetClientId(v string) *RespondToAuthChallengeInput
    func (s *RespondToAuthChallengeInput) SetSession(v string) *RespondToAuthChallengeInput
    func (s RespondToAuthChallengeInput) String() string
    func (s *RespondToAuthChallengeInput) Validate() error
type RespondToAuthChallengeOutput
    func (s RespondToAuthChallengeOutput) GoString() string
    func (s *RespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *RespondToAuthChallengeOutput
    func (s *RespondToAuthChallengeOutput) SetChallengeName(v string) *RespondToAuthChallengeOutput
    func (s *RespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *RespondToAuthChallengeOutput
    func (s *RespondToAuthChallengeOutput) SetSession(v string) *RespondToAuthChallengeOutput
    func (s RespondToAuthChallengeOutput) String() string
type SchemaAttributeType
    func (s SchemaAttributeType) GoString() string
    func (s *SchemaAttributeType) SetAttributeDataType(v string) *SchemaAttributeType
    func (s *SchemaAttributeType) SetDeveloperOnlyAttribute(v bool) *SchemaAttributeType
    func (s *SchemaAttributeType) SetMutable(v bool) *SchemaAttributeType
    func (s *SchemaAttributeType) SetName(v string) *SchemaAttributeType
    func (s *SchemaAttributeType) SetNumberAttributeConstraints(v *NumberAttributeConstraintsType) *SchemaAttributeType
    func (s *SchemaAttributeType) SetRequired(v bool) *SchemaAttributeType
    func (s *SchemaAttributeType) SetStringAttributeConstraints(v *StringAttributeConstraintsType) *SchemaAttributeType
    func (s SchemaAttributeType) String() string
    func (s *SchemaAttributeType) Validate() error
type SetUserSettingsInput
    func (s SetUserSettingsInput) GoString() string
    func (s *SetUserSettingsInput) SetAccessToken(v string) *SetUserSettingsInput
    func (s *SetUserSettingsInput) SetMFAOptions(v []*MFAOptionType) *SetUserSettingsInput
    func (s SetUserSettingsInput) String() string
    func (s *SetUserSettingsInput) Validate() error
type SetUserSettingsOutput
    func (s SetUserSettingsOutput) GoString() string
    func (s SetUserSettingsOutput) String() string
type SignUpInput
    func (s SignUpInput) GoString() string
    func (s *SignUpInput) SetClientId(v string) *SignUpInput
    func (s *SignUpInput) SetPassword(v string) *SignUpInput
    func (s *SignUpInput) SetSecretHash(v string) *SignUpInput
    func (s *SignUpInput) SetUserAttributes(v []*AttributeType) *SignUpInput
    func (s *SignUpInput) SetUsername(v string) *SignUpInput
    func (s *SignUpInput) SetValidationData(v []*AttributeType) *SignUpInput
    func (s SignUpInput) String() string
    func (s *SignUpInput) Validate() error
type SignUpOutput
    func (s SignUpOutput) GoString() string
    func (s *SignUpOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *SignUpOutput
    func (s *SignUpOutput) SetUserConfirmed(v bool) *SignUpOutput
    func (s *SignUpOutput) SetUserSub(v string) *SignUpOutput
    func (s SignUpOutput) String() string
type SmsConfigurationType
    func (s SmsConfigurationType) GoString() string
    func (s *SmsConfigurationType) SetExternalId(v string) *SmsConfigurationType
    func (s *SmsConfigurationType) SetSnsCallerArn(v string) *SmsConfigurationType
    func (s SmsConfigurationType) String() string
    func (s *SmsConfigurationType) Validate() error
type StartUserImportJobInput
    func (s StartUserImportJobInput) GoString() string
    func (s *StartUserImportJobInput) SetJobId(v string) *StartUserImportJobInput
    func (s *StartUserImportJobInput) SetUserPoolId(v string) *StartUserImportJobInput
    func (s StartUserImportJobInput) String() string
    func (s *StartUserImportJobInput) Validate() error
type StartUserImportJobOutput
    func (s StartUserImportJobOutput) GoString() string
    func (s *StartUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StartUserImportJobOutput
    func (s StartUserImportJobOutput) String() string
type StopUserImportJobInput
    func (s StopUserImportJobInput) GoString() string
    func (s *StopUserImportJobInput) SetJobId(v string) *StopUserImportJobInput
    func (s *StopUserImportJobInput) SetUserPoolId(v string) *StopUserImportJobInput
    func (s StopUserImportJobInput) String() string
    func (s *StopUserImportJobInput) Validate() error
type StopUserImportJobOutput
    func (s StopUserImportJobOutput) GoString() string
    func (s *StopUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StopUserImportJobOutput
    func (s StopUserImportJobOutput) String() string
type StringAttributeConstraintsType
    func (s StringAttributeConstraintsType) GoString() string
    func (s *StringAttributeConstraintsType) SetMaxLength(v string) *StringAttributeConstraintsType
    func (s *StringAttributeConstraintsType) SetMinLength(v string) *StringAttributeConstraintsType
    func (s StringAttributeConstraintsType) String() string
type UpdateDeviceStatusInput
    func (s UpdateDeviceStatusInput) GoString() string
    func (s *UpdateDeviceStatusInput) SetAccessToken(v string) *UpdateDeviceStatusInput
    func (s *UpdateDeviceStatusInput) SetDeviceKey(v string) *UpdateDeviceStatusInput
    func (s *UpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *UpdateDeviceStatusInput
    func (s UpdateDeviceStatusInput) String() string
    func (s *UpdateDeviceStatusInput) Validate() error
type UpdateDeviceStatusOutput
    func (s UpdateDeviceStatusOutput) GoString() string
    func (s UpdateDeviceStatusOutput) String() string
type UpdateGroupInput
    func (s UpdateGroupInput) GoString() string
    func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput
    func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput
    func (s *UpdateGroupInput) SetPrecedence(v int64) *UpdateGroupInput
    func (s *UpdateGroupInput) SetRoleArn(v string) *UpdateGroupInput
    func (s *UpdateGroupInput) SetUserPoolId(v string) *UpdateGroupInput
    func (s UpdateGroupInput) String() string
    func (s *UpdateGroupInput) Validate() error
type UpdateGroupOutput
    func (s UpdateGroupOutput) GoString() string
    func (s *UpdateGroupOutput) SetGroup(v *GroupType) *UpdateGroupOutput
    func (s UpdateGroupOutput) String() string
type UpdateIdentityProviderInput
    func (s UpdateIdentityProviderInput) GoString() string
    func (s *UpdateIdentityProviderInput) SetAttributeMapping(v map[string]*string) *UpdateIdentityProviderInput
    func (s *UpdateIdentityProviderInput) SetIdpIdentifiers(v []*string) *UpdateIdentityProviderInput
    func (s *UpdateIdentityProviderInput) SetProviderDetails(v map[string]*string) *UpdateIdentityProviderInput
    func (s *UpdateIdentityProviderInput) SetProviderName(v string) *UpdateIdentityProviderInput
    func (s *UpdateIdentityProviderInput) SetUserPoolId(v string) *UpdateIdentityProviderInput
    func (s UpdateIdentityProviderInput) String() string
    func (s *UpdateIdentityProviderInput) Validate() error
type UpdateIdentityProviderOutput
    func (s UpdateIdentityProviderOutput) GoString() string
    func (s *UpdateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *UpdateIdentityProviderOutput
    func (s UpdateIdentityProviderOutput) String() string
type UpdateUserAttributesInput
    func (s UpdateUserAttributesInput) GoString() string
    func (s *UpdateUserAttributesInput) SetAccessToken(v string) *UpdateUserAttributesInput
    func (s *UpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *UpdateUserAttributesInput
    func (s UpdateUserAttributesInput) String() string
    func (s *UpdateUserAttributesInput) Validate() error
type UpdateUserAttributesOutput
    func (s UpdateUserAttributesOutput) GoString() string
    func (s *UpdateUserAttributesOutput) SetCodeDeliveryDetailsList(v []*CodeDeliveryDetailsType) *UpdateUserAttributesOutput
    func (s UpdateUserAttributesOutput) String() string
type UpdateUserPoolClientInput
    func (s UpdateUserPoolClientInput) GoString() string
    func (s *UpdateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetCallbackURLs(v []*string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetClientId(v string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetClientName(v string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetDefaultRedirectURI(v string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetLogoutURLs(v []*string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetReadAttributes(v []*string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetRefreshTokenValidity(v int64) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetSupportedIdentityProviders(v []*string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetUserPoolId(v string) *UpdateUserPoolClientInput
    func (s *UpdateUserPoolClientInput) SetWriteAttributes(v []*string) *UpdateUserPoolClientInput
    func (s UpdateUserPoolClientInput) String() string
    func (s *UpdateUserPoolClientInput) Validate() error
type UpdateUserPoolClientOutput
    func (s UpdateUserPoolClientOutput) GoString() string
    func (s *UpdateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *UpdateUserPoolClientOutput
    func (s UpdateUserPoolClientOutput) String() string
type UpdateUserPoolInput
    func (s UpdateUserPoolInput) GoString() string
    func (s *UpdateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetAutoVerifiedAttributes(v []*string) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetEmailVerificationMessage(v string) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetEmailVerificationSubject(v string) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetMfaConfiguration(v string) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetSmsAuthenticationMessage(v string) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetSmsVerificationMessage(v string) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetUserPoolId(v string) *UpdateUserPoolInput
    func (s *UpdateUserPoolInput) SetUserPoolTags(v map[string]*string) *UpdateUserPoolInput
    func (s UpdateUserPoolInput) String() string
    func (s *UpdateUserPoolInput) Validate() error
type UpdateUserPoolOutput
    func (s UpdateUserPoolOutput) GoString() string
    func (s UpdateUserPoolOutput) String() string
type UserImportJobType
    func (s UserImportJobType) GoString() string
    func (s *UserImportJobType) SetCloudWatchLogsRoleArn(v string) *UserImportJobType
    func (s *UserImportJobType) SetCompletionDate(v time.Time) *UserImportJobType
    func (s *UserImportJobType) SetCompletionMessage(v string) *UserImportJobType
    func (s *UserImportJobType) SetCreationDate(v time.Time) *UserImportJobType
    func (s *UserImportJobType) SetFailedUsers(v int64) *UserImportJobType
    func (s *UserImportJobType) SetImportedUsers(v int64) *UserImportJobType
    func (s *UserImportJobType) SetJobId(v string) *UserImportJobType
    func (s *UserImportJobType) SetJobName(v string) *UserImportJobType
    func (s *UserImportJobType) SetPreSignedUrl(v string) *UserImportJobType
    func (s *UserImportJobType) SetSkippedUsers(v int64) *UserImportJobType
    func (s *UserImportJobType) SetStartDate(v time.Time) *UserImportJobType
    func (s *UserImportJobType) SetStatus(v string) *UserImportJobType
    func (s *UserImportJobType) SetUserPoolId(v string) *UserImportJobType
    func (s UserImportJobType) String() string
type UserPoolClientDescription
    func (s UserPoolClientDescription) GoString() string
    func (s *UserPoolClientDescription) SetClientId(v string) *UserPoolClientDescription
    func (s *UserPoolClientDescription) SetClientName(v string) *UserPoolClientDescription
    func (s *UserPoolClientDescription) SetUserPoolId(v string) *UserPoolClientDescription
    func (s UserPoolClientDescription) String() string
type UserPoolClientType
    func (s UserPoolClientType) GoString() string
    func (s *UserPoolClientType) SetAllowedOAuthFlows(v []*string) *UserPoolClientType
    func (s *UserPoolClientType) SetAllowedOAuthFlowsUserPoolClient(v bool) *UserPoolClientType
    func (s *UserPoolClientType) SetAllowedOAuthScopes(v []*string) *UserPoolClientType
    func (s *UserPoolClientType) SetCallbackURLs(v []*string) *UserPoolClientType
    func (s *UserPoolClientType) SetClientId(v string) *UserPoolClientType
    func (s *UserPoolClientType) SetClientName(v string) *UserPoolClientType
    func (s *UserPoolClientType) SetClientSecret(v string) *UserPoolClientType
    func (s *UserPoolClientType) SetCreationDate(v time.Time) *UserPoolClientType
    func (s *UserPoolClientType) SetDefaultRedirectURI(v string) *UserPoolClientType
    func (s *UserPoolClientType) SetExplicitAuthFlows(v []*string) *UserPoolClientType
    func (s *UserPoolClientType) SetLastModifiedDate(v time.Time) *UserPoolClientType
    func (s *UserPoolClientType) SetLogoutURLs(v []*string) *UserPoolClientType
    func (s *UserPoolClientType) SetReadAttributes(v []*string) *UserPoolClientType
    func (s *UserPoolClientType) SetRefreshTokenValidity(v int64) *UserPoolClientType
    func (s *UserPoolClientType) SetSupportedIdentityProviders(v []*string) *UserPoolClientType
    func (s *UserPoolClientType) SetUserPoolId(v string) *UserPoolClientType
    func (s *UserPoolClientType) SetWriteAttributes(v []*string) *UserPoolClientType
    func (s UserPoolClientType) String() string
type UserPoolDescriptionType
    func (s UserPoolDescriptionType) GoString() string
    func (s *UserPoolDescriptionType) SetCreationDate(v time.Time) *UserPoolDescriptionType
    func (s *UserPoolDescriptionType) SetId(v string) *UserPoolDescriptionType
    func (s *UserPoolDescriptionType) SetLambdaConfig(v *LambdaConfigType) *UserPoolDescriptionType
    func (s *UserPoolDescriptionType) SetLastModifiedDate(v time.Time) *UserPoolDescriptionType
    func (s *UserPoolDescriptionType) SetName(v string) *UserPoolDescriptionType
    func (s *UserPoolDescriptionType) SetStatus(v string) *UserPoolDescriptionType
    func (s UserPoolDescriptionType) String() string
type UserPoolPolicyType
    func (s UserPoolPolicyType) GoString() string
    func (s *UserPoolPolicyType) SetPasswordPolicy(v *PasswordPolicyType) *UserPoolPolicyType
    func (s UserPoolPolicyType) String() string
    func (s *UserPoolPolicyType) Validate() error
type UserPoolType
    func (s UserPoolType) GoString() string
    func (s *UserPoolType) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *UserPoolType
    func (s *UserPoolType) SetAliasAttributes(v []*string) *UserPoolType
    func (s *UserPoolType) SetAutoVerifiedAttributes(v []*string) *UserPoolType
    func (s *UserPoolType) SetCreationDate(v time.Time) *UserPoolType
    func (s *UserPoolType) SetDeviceConfiguration(v *DeviceConfigurationType) *UserPoolType
    func (s *UserPoolType) SetEmailConfiguration(v *EmailConfigurationType) *UserPoolType
    func (s *UserPoolType) SetEmailConfigurationFailure(v string) *UserPoolType
    func (s *UserPoolType) SetEmailVerificationMessage(v string) *UserPoolType
    func (s *UserPoolType) SetEmailVerificationSubject(v string) *UserPoolType
    func (s *UserPoolType) SetEstimatedNumberOfUsers(v int64) *UserPoolType
    func (s *UserPoolType) SetId(v string) *UserPoolType
    func (s *UserPoolType) SetLambdaConfig(v *LambdaConfigType) *UserPoolType
    func (s *UserPoolType) SetLastModifiedDate(v time.Time) *UserPoolType
    func (s *UserPoolType) SetMfaConfiguration(v string) *UserPoolType
    func (s *UserPoolType) SetName(v string) *UserPoolType
    func (s *UserPoolType) SetPolicies(v *UserPoolPolicyType) *UserPoolType
    func (s *UserPoolType) SetSchemaAttributes(v []*SchemaAttributeType) *UserPoolType
    func (s *UserPoolType) SetSmsAuthenticationMessage(v string) *UserPoolType
    func (s *UserPoolType) SetSmsConfiguration(v *SmsConfigurationType) *UserPoolType
    func (s *UserPoolType) SetSmsConfigurationFailure(v string) *UserPoolType
    func (s *UserPoolType) SetSmsVerificationMessage(v string) *UserPoolType
    func (s *UserPoolType) SetStatus(v string) *UserPoolType
    func (s *UserPoolType) SetUserPoolTags(v map[string]*string) *UserPoolType
    func (s UserPoolType) String() string
type UserType
    func (s UserType) GoString() string
    func (s *UserType) SetAttributes(v []*AttributeType) *UserType
    func (s *UserType) SetEnabled(v bool) *UserType
    func (s *UserType) SetMFAOptions(v []*MFAOptionType) *UserType
    func (s *UserType) SetUserCreateDate(v time.Time) *UserType
    func (s *UserType) SetUserLastModifiedDate(v time.Time) *UserType
    func (s *UserType) SetUserStatus(v string) *UserType
    func (s *UserType) SetUsername(v string) *UserType
    func (s UserType) String() string
type VerifyUserAttributeInput
    func (s VerifyUserAttributeInput) GoString() string
    func (s *VerifyUserAttributeInput) SetAccessToken(v string) *VerifyUserAttributeInput
    func (s *VerifyUserAttributeInput) SetAttributeName(v string) *VerifyUserAttributeInput
    func (s *VerifyUserAttributeInput) SetCode(v string) *VerifyUserAttributeInput
    func (s VerifyUserAttributeInput) String() string
    func (s *VerifyUserAttributeInput) Validate() error
type VerifyUserAttributeOutput
    func (s VerifyUserAttributeOutput) GoString() string
    func (s VerifyUserAttributeOutput) String() string

Package files

api.go doc.go errors.go service.go

Constants

const (
    // AliasAttributeTypePhoneNumber is a AliasAttributeType enum value
    AliasAttributeTypePhoneNumber = "phone_number"

    // AliasAttributeTypeEmail is a AliasAttributeType enum value
    AliasAttributeTypeEmail = "email"

    // AliasAttributeTypePreferredUsername is a AliasAttributeType enum value
    AliasAttributeTypePreferredUsername = "preferred_username"
)
const (
    // AttributeDataTypeString is a AttributeDataType enum value
    AttributeDataTypeString = "String"

    // AttributeDataTypeNumber is a AttributeDataType enum value
    AttributeDataTypeNumber = "Number"

    // AttributeDataTypeDateTime is a AttributeDataType enum value
    AttributeDataTypeDateTime = "DateTime"

    // AttributeDataTypeBoolean is a AttributeDataType enum value
    AttributeDataTypeBoolean = "Boolean"
)
const (
    // AuthFlowTypeUserSrpAuth is a AuthFlowType enum value
    AuthFlowTypeUserSrpAuth = "USER_SRP_AUTH"

    // AuthFlowTypeRefreshTokenAuth is a AuthFlowType enum value
    AuthFlowTypeRefreshTokenAuth = "REFRESH_TOKEN_AUTH"

    // AuthFlowTypeRefreshToken is a AuthFlowType enum value
    AuthFlowTypeRefreshToken = "REFRESH_TOKEN"

    // AuthFlowTypeCustomAuth is a AuthFlowType enum value
    AuthFlowTypeCustomAuth = "CUSTOM_AUTH"

    // AuthFlowTypeAdminNoSrpAuth is a AuthFlowType enum value
    AuthFlowTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH"
)
const (
    // ChallengeNameTypeSmsMfa is a ChallengeNameType enum value
    ChallengeNameTypeSmsMfa = "SMS_MFA"

    // ChallengeNameTypePasswordVerifier is a ChallengeNameType enum value
    ChallengeNameTypePasswordVerifier = "PASSWORD_VERIFIER"

    // ChallengeNameTypeCustomChallenge is a ChallengeNameType enum value
    ChallengeNameTypeCustomChallenge = "CUSTOM_CHALLENGE"

    // ChallengeNameTypeDeviceSrpAuth is a ChallengeNameType enum value
    ChallengeNameTypeDeviceSrpAuth = "DEVICE_SRP_AUTH"

    // ChallengeNameTypeDevicePasswordVerifier is a ChallengeNameType enum value
    ChallengeNameTypeDevicePasswordVerifier = "DEVICE_PASSWORD_VERIFIER"

    // ChallengeNameTypeAdminNoSrpAuth is a ChallengeNameType enum value
    ChallengeNameTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH"

    // ChallengeNameTypeNewPasswordRequired is a ChallengeNameType enum value
    ChallengeNameTypeNewPasswordRequired = "NEW_PASSWORD_REQUIRED"
)
const (
    // DeliveryMediumTypeSms is a DeliveryMediumType enum value
    DeliveryMediumTypeSms = "SMS"

    // DeliveryMediumTypeEmail is a DeliveryMediumType enum value
    DeliveryMediumTypeEmail = "EMAIL"
)
const (
    // DeviceRememberedStatusTypeRemembered is a DeviceRememberedStatusType enum value
    DeviceRememberedStatusTypeRemembered = "remembered"

    // DeviceRememberedStatusTypeNotRemembered is a DeviceRememberedStatusType enum value
    DeviceRememberedStatusTypeNotRemembered = "not_remembered"
)
const (
    // DomainStatusTypeCreating is a DomainStatusType enum value
    DomainStatusTypeCreating = "CREATING"

    // DomainStatusTypeDeleting is a DomainStatusType enum value
    DomainStatusTypeDeleting = "DELETING"

    // DomainStatusTypeUpdating is a DomainStatusType enum value
    DomainStatusTypeUpdating = "UPDATING"

    // DomainStatusTypeActive is a DomainStatusType enum value
    DomainStatusTypeActive = "ACTIVE"
)
const (
    // ExplicitAuthFlowsTypeAdminNoSrpAuth is a ExplicitAuthFlowsType enum value
    ExplicitAuthFlowsTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH"

    // ExplicitAuthFlowsTypeCustomAuthFlowOnly is a ExplicitAuthFlowsType enum value
    ExplicitAuthFlowsTypeCustomAuthFlowOnly = "CUSTOM_AUTH_FLOW_ONLY"
)
const (
    // MessageActionTypeResend is a MessageActionType enum value
    MessageActionTypeResend = "RESEND"

    // MessageActionTypeSuppress is a MessageActionType enum value
    MessageActionTypeSuppress = "SUPPRESS"
)
const (
    // OAuthFlowTypeCode is a OAuthFlowType enum value
    OAuthFlowTypeCode = "code"

    // OAuthFlowTypeImplicit is a OAuthFlowType enum value
    OAuthFlowTypeImplicit = "implicit"

    // OAuthFlowTypeClientCredentials is a OAuthFlowType enum value
    OAuthFlowTypeClientCredentials = "client_credentials"
)
const (
    // StatusTypeEnabled is a StatusType enum value
    StatusTypeEnabled = "Enabled"

    // StatusTypeDisabled is a StatusType enum value
    StatusTypeDisabled = "Disabled"
)
const (
    // UserImportJobStatusTypeCreated is a UserImportJobStatusType enum value
    UserImportJobStatusTypeCreated = "Created"

    // UserImportJobStatusTypePending is a UserImportJobStatusType enum value
    UserImportJobStatusTypePending = "Pending"

    // UserImportJobStatusTypeInProgress is a UserImportJobStatusType enum value
    UserImportJobStatusTypeInProgress = "InProgress"

    // UserImportJobStatusTypeStopping is a UserImportJobStatusType enum value
    UserImportJobStatusTypeStopping = "Stopping"

    // UserImportJobStatusTypeExpired is a UserImportJobStatusType enum value
    UserImportJobStatusTypeExpired = "Expired"

    // UserImportJobStatusTypeStopped is a UserImportJobStatusType enum value
    UserImportJobStatusTypeStopped = "Stopped"

    // UserImportJobStatusTypeFailed is a UserImportJobStatusType enum value
    UserImportJobStatusTypeFailed = "Failed"

    // UserImportJobStatusTypeSucceeded is a UserImportJobStatusType enum value
    UserImportJobStatusTypeSucceeded = "Succeeded"
)
const (
    // UserPoolMfaTypeOff is a UserPoolMfaType enum value
    UserPoolMfaTypeOff = "OFF"

    // UserPoolMfaTypeOn is a UserPoolMfaType enum value
    UserPoolMfaTypeOn = "ON"

    // UserPoolMfaTypeOptional is a UserPoolMfaType enum value
    UserPoolMfaTypeOptional = "OPTIONAL"
)
const (
    // UserStatusTypeUnconfirmed is a UserStatusType enum value
    UserStatusTypeUnconfirmed = "UNCONFIRMED"

    // UserStatusTypeConfirmed is a UserStatusType enum value
    UserStatusTypeConfirmed = "CONFIRMED"

    // UserStatusTypeArchived is a UserStatusType enum value
    UserStatusTypeArchived = "ARCHIVED"

    // UserStatusTypeCompromised is a UserStatusType enum value
    UserStatusTypeCompromised = "COMPROMISED"

    // UserStatusTypeUnknown is a UserStatusType enum value
    UserStatusTypeUnknown = "UNKNOWN"

    // UserStatusTypeResetRequired is a UserStatusType enum value
    UserStatusTypeResetRequired = "RESET_REQUIRED"

    // UserStatusTypeForceChangePassword is a UserStatusType enum value
    UserStatusTypeForceChangePassword = "FORCE_CHANGE_PASSWORD"
)
const (
    // VerifiedAttributeTypePhoneNumber is a VerifiedAttributeType enum value
    VerifiedAttributeTypePhoneNumber = "phone_number"

    // VerifiedAttributeTypeEmail is a VerifiedAttributeType enum value
    VerifiedAttributeTypeEmail = "email"
)
const (

    // ErrCodeAliasExistsException for service response error code
    // "AliasExistsException".
    //
    // This exception is thrown when a user tries to confirm the account with an
    // email or phone number that has already been supplied as an alias from a different
    // account. This exception tells user that an account with this email or phone
    // already exists.
    ErrCodeAliasExistsException = "AliasExistsException"

    // ErrCodeCodeDeliveryFailureException for service response error code
    // "CodeDeliveryFailureException".
    //
    // This exception is thrown when a verification code fails to deliver successfully.
    ErrCodeCodeDeliveryFailureException = "CodeDeliveryFailureException"

    // ErrCodeCodeMismatchException for service response error code
    // "CodeMismatchException".
    //
    // This exception is thrown if the provided code does not match what the server
    // was expecting.
    ErrCodeCodeMismatchException = "CodeMismatchException"

    // ErrCodeConcurrentModificationException for service response error code
    // "ConcurrentModificationException".
    //
    // This exception is thrown if two or more modifications are happening concurrently.
    ErrCodeConcurrentModificationException = "ConcurrentModificationException"

    // ErrCodeDuplicateProviderException for service response error code
    // "DuplicateProviderException".
    //
    // This exception is thrown when the provider is already supported by the user
    // pool.
    ErrCodeDuplicateProviderException = "DuplicateProviderException"

    // ErrCodeExpiredCodeException for service response error code
    // "ExpiredCodeException".
    //
    // This exception is thrown if a code has expired.
    ErrCodeExpiredCodeException = "ExpiredCodeException"

    // ErrCodeGroupExistsException for service response error code
    // "GroupExistsException".
    //
    // This exception is thrown when Amazon Cognito encounters a group that already
    // exists in the user pool.
    ErrCodeGroupExistsException = "GroupExistsException"

    // ErrCodeInternalErrorException for service response error code
    // "InternalErrorException".
    //
    // This exception is thrown when Amazon Cognito encounters an internal error.
    ErrCodeInternalErrorException = "InternalErrorException"

    // ErrCodeInvalidEmailRoleAccessPolicyException for service response error code
    // "InvalidEmailRoleAccessPolicyException".
    //
    // This exception is thrown when Amazon Cognito is not allowed to use your email
    // identity. HTTP status code: 400.
    ErrCodeInvalidEmailRoleAccessPolicyException = "InvalidEmailRoleAccessPolicyException"

    // ErrCodeInvalidLambdaResponseException for service response error code
    // "InvalidLambdaResponseException".
    //
    // This exception is thrown when the Amazon Cognito service encounters an invalid
    // AWS Lambda response.
    ErrCodeInvalidLambdaResponseException = "InvalidLambdaResponseException"

    // ErrCodeInvalidOAuthFlowException for service response error code
    // "InvalidOAuthFlowException".
    //
    // This exception is thrown when the specified OAuth flow is invalid.
    ErrCodeInvalidOAuthFlowException = "InvalidOAuthFlowException"

    // ErrCodeInvalidParameterException for service response error code
    // "InvalidParameterException".
    //
    // This exception is thrown when the Amazon Cognito service encounters an invalid
    // parameter.
    ErrCodeInvalidParameterException = "InvalidParameterException"

    // ErrCodeInvalidPasswordException for service response error code
    // "InvalidPasswordException".
    //
    // This exception is thrown when the Amazon Cognito service encounters an invalid
    // password.
    ErrCodeInvalidPasswordException = "InvalidPasswordException"

    // ErrCodeInvalidSmsRoleAccessPolicyException for service response error code
    // "InvalidSmsRoleAccessPolicyException".
    //
    // This exception is returned when the role provided for SMS configuration does
    // not have permission to publish using Amazon SNS.
    ErrCodeInvalidSmsRoleAccessPolicyException = "InvalidSmsRoleAccessPolicyException"

    // ErrCodeInvalidSmsRoleTrustRelationshipException for service response error code
    // "InvalidSmsRoleTrustRelationshipException".
    //
    // This exception is thrown when the trust relationship is invalid for the role
    // provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
    // or the external ID provided in the role does not match what is provided in
    // the SMS configuration for the user pool.
    ErrCodeInvalidSmsRoleTrustRelationshipException = "InvalidSmsRoleTrustRelationshipException"

    // ErrCodeInvalidUserPoolConfigurationException for service response error code
    // "InvalidUserPoolConfigurationException".
    //
    // This exception is thrown when the user pool configuration is invalid.
    ErrCodeInvalidUserPoolConfigurationException = "InvalidUserPoolConfigurationException"

    // ErrCodeLimitExceededException for service response error code
    // "LimitExceededException".
    //
    // This exception is thrown when a user exceeds the limit for a requested AWS
    // resource.
    ErrCodeLimitExceededException = "LimitExceededException"

    // ErrCodeMFAMethodNotFoundException for service response error code
    // "MFAMethodNotFoundException".
    //
    // This exception is thrown when Amazon Cognito cannot find a multi-factor authentication
    // (MFA) method.
    ErrCodeMFAMethodNotFoundException = "MFAMethodNotFoundException"

    // ErrCodeNotAuthorizedException for service response error code
    // "NotAuthorizedException".
    //
    // This exception is thrown when a user is not authorized.
    ErrCodeNotAuthorizedException = "NotAuthorizedException"

    // ErrCodePasswordResetRequiredException for service response error code
    // "PasswordResetRequiredException".
    //
    // This exception is thrown when a password reset is required.
    ErrCodePasswordResetRequiredException = "PasswordResetRequiredException"

    // ErrCodePreconditionNotMetException for service response error code
    // "PreconditionNotMetException".
    //
    // This exception is thrown when a precondition is not met.
    ErrCodePreconditionNotMetException = "PreconditionNotMetException"

    // ErrCodeResourceNotFoundException for service response error code
    // "ResourceNotFoundException".
    //
    // This exception is thrown when the Amazon Cognito service cannot find the
    // requested resource.
    ErrCodeResourceNotFoundException = "ResourceNotFoundException"

    // ErrCodeScopeDoesNotExistException for service response error code
    // "ScopeDoesNotExistException".
    //
    // This exception is thrown when the specified scope does not exist.
    ErrCodeScopeDoesNotExistException = "ScopeDoesNotExistException"

    // ErrCodeTooManyFailedAttemptsException for service response error code
    // "TooManyFailedAttemptsException".
    //
    // This exception is thrown when the user has made too many failed attempts
    // for a given action (e.g., sign in).
    ErrCodeTooManyFailedAttemptsException = "TooManyFailedAttemptsException"

    // ErrCodeTooManyRequestsException for service response error code
    // "TooManyRequestsException".
    //
    // This exception is thrown when the user has made too many requests for a given
    // operation.
    ErrCodeTooManyRequestsException = "TooManyRequestsException"

    // ErrCodeUnexpectedLambdaException for service response error code
    // "UnexpectedLambdaException".
    //
    // This exception is thrown when the Amazon Cognito service encounters an unexpected
    // exception with the AWS Lambda service.
    ErrCodeUnexpectedLambdaException = "UnexpectedLambdaException"

    // ErrCodeUnsupportedIdentityProviderException for service response error code
    // "UnsupportedIdentityProviderException".
    //
    // This exception is thrown when the specified identifier is not supported.
    ErrCodeUnsupportedIdentityProviderException = "UnsupportedIdentityProviderException"

    // ErrCodeUnsupportedUserStateException for service response error code
    // "UnsupportedUserStateException".
    //
    // The request failed because the user is in an unsupported state.
    ErrCodeUnsupportedUserStateException = "UnsupportedUserStateException"

    // ErrCodeUserImportInProgressException for service response error code
    // "UserImportInProgressException".
    //
    // This exception is thrown when you are trying to modify a user pool while
    // a user import job is in progress for that pool.
    ErrCodeUserImportInProgressException = "UserImportInProgressException"

    // ErrCodeUserLambdaValidationException for service response error code
    // "UserLambdaValidationException".
    //
    // This exception is thrown when the Amazon Cognito service encounters a user
    // validation exception with the AWS Lambda service.
    ErrCodeUserLambdaValidationException = "UserLambdaValidationException"

    // ErrCodeUserNotConfirmedException for service response error code
    // "UserNotConfirmedException".
    //
    // This exception is thrown when a user is not confirmed successfully.
    ErrCodeUserNotConfirmedException = "UserNotConfirmedException"

    // ErrCodeUserNotFoundException for service response error code
    // "UserNotFoundException".
    //
    // This exception is thrown when a user is not found.
    ErrCodeUserNotFoundException = "UserNotFoundException"

    // ErrCodeUserPoolTaggingException for service response error code
    // "UserPoolTaggingException".
    //
    // This exception is thrown when a user pool tag cannot be set or updated.
    ErrCodeUserPoolTaggingException = "UserPoolTaggingException"

    // ErrCodeUsernameExistsException for service response error code
    // "UsernameExistsException".
    //
    // This exception is thrown when Amazon Cognito encounters a user name that
    // already exists in the user pool.
    ErrCodeUsernameExistsException = "UsernameExistsException"
)

Service information constants

const (
    ServiceName = "cognito-idp" // Service endpoint prefix API calls made to.
    EndpointsID = ServiceName   // Service ID for Regions and Endpoints metadata.
)
const (
    // IdentityProviderTypeTypeSaml is a IdentityProviderTypeType enum value
    IdentityProviderTypeTypeSaml = "SAML"
)

type AddCustomAttributesInput

Represents the request to add custom attributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributesRequest

type AddCustomAttributesInput struct {

    // An array of custom attributes, such as Mutable and Name.
    //
    // CustomAttributes is a required field
    CustomAttributes []*SchemaAttributeType `min:"1" type:"list" required:"true"`

    // The user pool ID for the user pool where you want to add custom attributes.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AddCustomAttributesInput) GoString

func (s AddCustomAttributesInput) GoString() string

GoString returns the string representation

func (*AddCustomAttributesInput) SetCustomAttributes

func (s *AddCustomAttributesInput) SetCustomAttributes(v []*SchemaAttributeType) *AddCustomAttributesInput

SetCustomAttributes sets the CustomAttributes field's value.

func (*AddCustomAttributesInput) SetUserPoolId

func (s *AddCustomAttributesInput) SetUserPoolId(v string) *AddCustomAttributesInput

SetUserPoolId sets the UserPoolId field's value.

func (AddCustomAttributesInput) String

func (s AddCustomAttributesInput) String() string

String returns the string representation

func (*AddCustomAttributesInput) Validate

func (s *AddCustomAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddCustomAttributesOutput

Represents the response from the server for the request to add custom attributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributesResponse

type AddCustomAttributesOutput struct {
    // contains filtered or unexported fields
}

func (AddCustomAttributesOutput) GoString

func (s AddCustomAttributesOutput) GoString() string

GoString returns the string representation

func (AddCustomAttributesOutput) String

func (s AddCustomAttributesOutput) String() string

String returns the string representation

type AdminAddUserToGroupInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroupRequest

type AdminAddUserToGroupInput struct {

    // The group name.
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`

    // The user pool ID for the user pool.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The username for the user.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminAddUserToGroupInput) GoString

func (s AdminAddUserToGroupInput) GoString() string

GoString returns the string representation

func (*AdminAddUserToGroupInput) SetGroupName

func (s *AdminAddUserToGroupInput) SetGroupName(v string) *AdminAddUserToGroupInput

SetGroupName sets the GroupName field's value.

func (*AdminAddUserToGroupInput) SetUserPoolId

func (s *AdminAddUserToGroupInput) SetUserPoolId(v string) *AdminAddUserToGroupInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminAddUserToGroupInput) SetUsername

func (s *AdminAddUserToGroupInput) SetUsername(v string) *AdminAddUserToGroupInput

SetUsername sets the Username field's value.

func (AdminAddUserToGroupInput) String

func (s AdminAddUserToGroupInput) String() string

String returns the string representation

func (*AdminAddUserToGroupInput) Validate

func (s *AdminAddUserToGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminAddUserToGroupOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroupOutput

type AdminAddUserToGroupOutput struct {
    // contains filtered or unexported fields
}

func (AdminAddUserToGroupOutput) GoString

func (s AdminAddUserToGroupOutput) GoString() string

GoString returns the string representation

func (AdminAddUserToGroupOutput) String

func (s AdminAddUserToGroupOutput) String() string

String returns the string representation

type AdminConfirmSignUpInput

Represents the request to confirm user registration. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUpRequest

type AdminConfirmSignUpInput struct {

    // The user pool ID for which you want to confirm user registration.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name for which you want to confirm user registration.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminConfirmSignUpInput) GoString

func (s AdminConfirmSignUpInput) GoString() string

GoString returns the string representation

func (*AdminConfirmSignUpInput) SetUserPoolId

func (s *AdminConfirmSignUpInput) SetUserPoolId(v string) *AdminConfirmSignUpInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminConfirmSignUpInput) SetUsername

func (s *AdminConfirmSignUpInput) SetUsername(v string) *AdminConfirmSignUpInput

SetUsername sets the Username field's value.

func (AdminConfirmSignUpInput) String

func (s AdminConfirmSignUpInput) String() string

String returns the string representation

func (*AdminConfirmSignUpInput) Validate

func (s *AdminConfirmSignUpInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminConfirmSignUpOutput

Represents the response from the server for the request to confirm registration. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUpResponse

type AdminConfirmSignUpOutput struct {
    // contains filtered or unexported fields
}

func (AdminConfirmSignUpOutput) GoString

func (s AdminConfirmSignUpOutput) GoString() string

GoString returns the string representation

func (AdminConfirmSignUpOutput) String

func (s AdminConfirmSignUpOutput) String() string

String returns the string representation

type AdminCreateUserConfigType

The type of configuration for creating a new user profile. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserConfigType

type AdminCreateUserConfigType struct {

    // Set to True if only the administrator is allowed to create user profiles.
    // Set to False if users can sign themselves up via an app.
    AllowAdminCreateUserOnly *bool `type:"boolean"`

    // The message template to be used for the welcome message to new users.
    InviteMessageTemplate *MessageTemplateType `type:"structure"`

    // The user account expiration limit, in days, after which the account is no
    // longer usable. To reset the account after that time limit, you must call
    // AdminCreateUser again, specifying "RESEND" for the MessageAction parameter.
    // The default value for this parameter is 7.
    UnusedAccountValidityDays *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (AdminCreateUserConfigType) GoString

func (s AdminCreateUserConfigType) GoString() string

GoString returns the string representation

func (*AdminCreateUserConfigType) SetAllowAdminCreateUserOnly

func (s *AdminCreateUserConfigType) SetAllowAdminCreateUserOnly(v bool) *AdminCreateUserConfigType

SetAllowAdminCreateUserOnly sets the AllowAdminCreateUserOnly field's value.

func (*AdminCreateUserConfigType) SetInviteMessageTemplate

func (s *AdminCreateUserConfigType) SetInviteMessageTemplate(v *MessageTemplateType) *AdminCreateUserConfigType

SetInviteMessageTemplate sets the InviteMessageTemplate field's value.

func (*AdminCreateUserConfigType) SetUnusedAccountValidityDays

func (s *AdminCreateUserConfigType) SetUnusedAccountValidityDays(v int64) *AdminCreateUserConfigType

SetUnusedAccountValidityDays sets the UnusedAccountValidityDays field's value.

func (AdminCreateUserConfigType) String

func (s AdminCreateUserConfigType) String() string

String returns the string representation

func (*AdminCreateUserConfigType) Validate

func (s *AdminCreateUserConfigType) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminCreateUserInput

Represents the request to create a user in the specified user pool. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserRequest

type AdminCreateUserInput struct {

    // Specify "EMAIL" if email will be used to send the welcome message. Specify
    // "SMS" if the phone number will be used. The default value is "SMS". More
    // than one value can be specified.
    DesiredDeliveryMediums []*string `type:"list"`

    // This parameter is only used if the phone_number_verified or email_verified
    // attribute is set to True. Otherwise, it is ignored.
    //
    // If this parameter is set to True and the phone number or email address specified
    // in the UserAttributes parameter already exists as an alias with a different
    // user, the API call will migrate the alias from the previous user to the newly
    // created user. The previous user will no longer be able to log in using that
    // alias.
    //
    // If this parameter is set to False, the API throws an AliasExistsException
    // error if the alias already exists. The default value is False.
    ForceAliasCreation *bool `type:"boolean"`

    // Set to "RESEND" to resend the invitation message to a user that already exists
    // and reset the expiration limit on the user's account. Set to "SUPPRESS" to
    // suppress sending the message. Only one value can be specified.
    MessageAction *string `type:"string" enum:"MessageActionType"`

    // The user's temporary password. This password must conform to the password
    // policy that you specified when you created the user pool.
    //
    // The temporary password is valid only once. To complete the Admin Create User
    // flow, the user must enter the temporary password in the sign-in page along
    // with a new password to be used in all future sign-ins.
    //
    // This parameter is not required. If you do not specify a value, Amazon Cognito
    // generates one for you.
    //
    // The temporary password can only be used until the user account expiration
    // limit that you specified when you created the user pool. To reset the account
    // after that time limit, you must call AdminCreateUser again, specifying "RESEND"
    // for the MessageAction parameter.
    TemporaryPassword *string `min:"6" type:"string"`

    // An array of name-value pairs that contain user attributes and attribute values
    // to be set for the user to be created. You can create a user without specifying
    // any attributes other than Username. However, any attributes that you specify
    // as required (in CreateUserPool (API_CreateUserPool.html) or in the Attributes
    // tab of the console) must be supplied either by you (in your call to AdminCreateUser)
    // or by the user (when he or she signs up in response to your welcome message).
    //
    // For custom attributes, you must prepend the custom: prefix to the attribute
    // name.
    //
    // To send a message inviting the user to sign up, you must specify the user's
    // email address or phone number. This can be done in your call to AdminCreateUser
    // or in the Users tab of the Amazon Cognito console for managing your user
    // pools.
    //
    // In your call to AdminCreateUser, you can set the email_verified attribute
    // to True, and you can set the phone_number_verified attribute to True. (You
    // can also do this by calling AdminUpdateUserAttributes (API_AdminUpdateUserAttributes.html).)
    //
    //    * email: The email address of the user to whom the message that contains
    //    the code and username will be sent. Required if the email_verified attribute
    //    is set to True, or if "EMAIL" is specified in the DesiredDeliveryMediums
    //    parameter.
    //
    //    * phone_number: The phone number of the user to whom the message that
    //    contains the code and username will be sent. Required if the phone_number_verified
    //    attribute is set to True, or if "SMS" is specified in the DesiredDeliveryMediums
    //    parameter.
    UserAttributes []*AttributeType `type:"list"`

    // The user pool ID for the user pool where the user will be created.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The username for the user. Must be unique within the user pool. Must be a
    // UTF-8 string between 1 and 128 characters. After the user is created, the
    // username cannot be changed.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`

    // The user's validation data. This is an array of name-value pairs that contain
    // user attributes and attribute values that you can use for custom validation,
    // such as restricting the types of user accounts that can be registered. For
    // example, you might choose to allow or disallow user sign-up based on the
    // user's domain.
    //
    // To configure custom validation, you must create a Pre Sign-up Lambda trigger
    // for the user pool as described in the Amazon Cognito Developer Guide. The
    // Lambda trigger receives the validation data and uses it in the validation
    // process.
    //
    // The user's validation data is not persisted.
    ValidationData []*AttributeType `type:"list"`
    // contains filtered or unexported fields
}

func (AdminCreateUserInput) GoString

func (s AdminCreateUserInput) GoString() string

GoString returns the string representation

func (*AdminCreateUserInput) SetDesiredDeliveryMediums

func (s *AdminCreateUserInput) SetDesiredDeliveryMediums(v []*string) *AdminCreateUserInput

SetDesiredDeliveryMediums sets the DesiredDeliveryMediums field's value.

func (*AdminCreateUserInput) SetForceAliasCreation

func (s *AdminCreateUserInput) SetForceAliasCreation(v bool) *AdminCreateUserInput

SetForceAliasCreation sets the ForceAliasCreation field's value.

func (*AdminCreateUserInput) SetMessageAction

func (s *AdminCreateUserInput) SetMessageAction(v string) *AdminCreateUserInput

SetMessageAction sets the MessageAction field's value.

func (*AdminCreateUserInput) SetTemporaryPassword

func (s *AdminCreateUserInput) SetTemporaryPassword(v string) *AdminCreateUserInput

SetTemporaryPassword sets the TemporaryPassword field's value.

func (*AdminCreateUserInput) SetUserAttributes

func (s *AdminCreateUserInput) SetUserAttributes(v []*AttributeType) *AdminCreateUserInput

SetUserAttributes sets the UserAttributes field's value.

func (*AdminCreateUserInput) SetUserPoolId

func (s *AdminCreateUserInput) SetUserPoolId(v string) *AdminCreateUserInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminCreateUserInput) SetUsername

func (s *AdminCreateUserInput) SetUsername(v string) *AdminCreateUserInput

SetUsername sets the Username field's value.

func (*AdminCreateUserInput) SetValidationData

func (s *AdminCreateUserInput) SetValidationData(v []*AttributeType) *AdminCreateUserInput

SetValidationData sets the ValidationData field's value.

func (AdminCreateUserInput) String

func (s AdminCreateUserInput) String() string

String returns the string representation

func (*AdminCreateUserInput) Validate

func (s *AdminCreateUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminCreateUserOutput

Represents the response from the server to the request to create the user. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserResponse

type AdminCreateUserOutput struct {

    // The user returned in the request to create a new user.
    User *UserType `type:"structure"`
    // contains filtered or unexported fields
}

func (AdminCreateUserOutput) GoString

func (s AdminCreateUserOutput) GoString() string

GoString returns the string representation

func (*AdminCreateUserOutput) SetUser

func (s *AdminCreateUserOutput) SetUser(v *UserType) *AdminCreateUserOutput

SetUser sets the User field's value.

func (AdminCreateUserOutput) String

func (s AdminCreateUserOutput) String() string

String returns the string representation

type AdminDeleteUserAttributesInput

Represents the request to delete user attributes as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributesRequest

type AdminDeleteUserAttributesInput struct {

    // An array of strings representing the user attribute names you wish to delete.
    //
    // For custom attributes, you must prepend the custom: prefix to the attribute
    // name.
    //
    // UserAttributeNames is a required field
    UserAttributeNames []*string `type:"list" required:"true"`

    // The user pool ID for the user pool where you want to delete user attributes.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name of the user from which you would like to delete attributes.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminDeleteUserAttributesInput) GoString

func (s AdminDeleteUserAttributesInput) GoString() string

GoString returns the string representation

func (*AdminDeleteUserAttributesInput) SetUserAttributeNames

func (s *AdminDeleteUserAttributesInput) SetUserAttributeNames(v []*string) *AdminDeleteUserAttributesInput

SetUserAttributeNames sets the UserAttributeNames field's value.

func (*AdminDeleteUserAttributesInput) SetUserPoolId

func (s *AdminDeleteUserAttributesInput) SetUserPoolId(v string) *AdminDeleteUserAttributesInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminDeleteUserAttributesInput) SetUsername

func (s *AdminDeleteUserAttributesInput) SetUsername(v string) *AdminDeleteUserAttributesInput

SetUsername sets the Username field's value.

func (AdminDeleteUserAttributesInput) String

func (s AdminDeleteUserAttributesInput) String() string

String returns the string representation

func (*AdminDeleteUserAttributesInput) Validate

func (s *AdminDeleteUserAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminDeleteUserAttributesOutput

Represents the response received from the server for a request to delete user attributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributesResponse

type AdminDeleteUserAttributesOutput struct {
    // contains filtered or unexported fields
}

func (AdminDeleteUserAttributesOutput) GoString

func (s AdminDeleteUserAttributesOutput) GoString() string

GoString returns the string representation

func (AdminDeleteUserAttributesOutput) String

func (s AdminDeleteUserAttributesOutput) String() string

String returns the string representation

type AdminDeleteUserInput

Represents the request to delete a user as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserRequest

type AdminDeleteUserInput struct {

    // The user pool ID for the user pool where you want to delete the user.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name of the user you wish to delete.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminDeleteUserInput) GoString

func (s AdminDeleteUserInput) GoString() string

GoString returns the string representation

func (*AdminDeleteUserInput) SetUserPoolId

func (s *AdminDeleteUserInput) SetUserPoolId(v string) *AdminDeleteUserInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminDeleteUserInput) SetUsername

func (s *AdminDeleteUserInput) SetUsername(v string) *AdminDeleteUserInput

SetUsername sets the Username field's value.

func (AdminDeleteUserInput) String

func (s AdminDeleteUserInput) String() string

String returns the string representation

func (*AdminDeleteUserInput) Validate

func (s *AdminDeleteUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminDeleteUserOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserOutput

type AdminDeleteUserOutput struct {
    // contains filtered or unexported fields
}

func (AdminDeleteUserOutput) GoString

func (s AdminDeleteUserOutput) GoString() string

GoString returns the string representation

func (AdminDeleteUserOutput) String

func (s AdminDeleteUserOutput) String() string

String returns the string representation

type AdminDisableUserInput

Represents the request to disable any user as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUserRequest

type AdminDisableUserInput struct {

    // The user pool ID for the user pool where you want to disable the user.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name of the user you wish to disable.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminDisableUserInput) GoString

func (s AdminDisableUserInput) GoString() string

GoString returns the string representation

func (*AdminDisableUserInput) SetUserPoolId

func (s *AdminDisableUserInput) SetUserPoolId(v string) *AdminDisableUserInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminDisableUserInput) SetUsername

func (s *AdminDisableUserInput) SetUsername(v string) *AdminDisableUserInput

SetUsername sets the Username field's value.

func (AdminDisableUserInput) String

func (s AdminDisableUserInput) String() string

String returns the string representation

func (*AdminDisableUserInput) Validate

func (s *AdminDisableUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminDisableUserOutput

Represents the response received from the server to disable the user as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUserResponse

type AdminDisableUserOutput struct {
    // contains filtered or unexported fields
}

func (AdminDisableUserOutput) GoString

func (s AdminDisableUserOutput) GoString() string

GoString returns the string representation

func (AdminDisableUserOutput) String

func (s AdminDisableUserOutput) String() string

String returns the string representation

type AdminEnableUserInput

Represents the request that enables the user as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUserRequest

type AdminEnableUserInput struct {

    // The user pool ID for the user pool where you want to enable the user.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name of the user you wish to enable.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminEnableUserInput) GoString

func (s AdminEnableUserInput) GoString() string

GoString returns the string representation

func (*AdminEnableUserInput) SetUserPoolId

func (s *AdminEnableUserInput) SetUserPoolId(v string) *AdminEnableUserInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminEnableUserInput) SetUsername

func (s *AdminEnableUserInput) SetUsername(v string) *AdminEnableUserInput

SetUsername sets the Username field's value.

func (AdminEnableUserInput) String

func (s AdminEnableUserInput) String() string

String returns the string representation

func (*AdminEnableUserInput) Validate

func (s *AdminEnableUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminEnableUserOutput

Represents the response from the server for the request to enable a user as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUserResponse

type AdminEnableUserOutput struct {
    // contains filtered or unexported fields
}

func (AdminEnableUserOutput) GoString

func (s AdminEnableUserOutput) GoString() string

GoString returns the string representation

func (AdminEnableUserOutput) String

func (s AdminEnableUserOutput) String() string

String returns the string representation

type AdminForgetDeviceInput

Sends the forgot device request, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDeviceRequest

type AdminForgetDeviceInput struct {

    // The device key.
    //
    // DeviceKey is a required field
    DeviceKey *string `min:"1" type:"string" required:"true"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminForgetDeviceInput) GoString

func (s AdminForgetDeviceInput) GoString() string

GoString returns the string representation

func (*AdminForgetDeviceInput) SetDeviceKey

func (s *AdminForgetDeviceInput) SetDeviceKey(v string) *AdminForgetDeviceInput

SetDeviceKey sets the DeviceKey field's value.

func (*AdminForgetDeviceInput) SetUserPoolId

func (s *AdminForgetDeviceInput) SetUserPoolId(v string) *AdminForgetDeviceInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminForgetDeviceInput) SetUsername

func (s *AdminForgetDeviceInput) SetUsername(v string) *AdminForgetDeviceInput

SetUsername sets the Username field's value.

func (AdminForgetDeviceInput) String

func (s AdminForgetDeviceInput) String() string

String returns the string representation

func (*AdminForgetDeviceInput) Validate

func (s *AdminForgetDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminForgetDeviceOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDeviceOutput

type AdminForgetDeviceOutput struct {
    // contains filtered or unexported fields
}

func (AdminForgetDeviceOutput) GoString

func (s AdminForgetDeviceOutput) GoString() string

GoString returns the string representation

func (AdminForgetDeviceOutput) String

func (s AdminForgetDeviceOutput) String() string

String returns the string representation

type AdminGetDeviceInput

Represents the request to get the device, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDeviceRequest

type AdminGetDeviceInput struct {

    // The device key.
    //
    // DeviceKey is a required field
    DeviceKey *string `min:"1" type:"string" required:"true"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminGetDeviceInput) GoString

func (s AdminGetDeviceInput) GoString() string

GoString returns the string representation

func (*AdminGetDeviceInput) SetDeviceKey

func (s *AdminGetDeviceInput) SetDeviceKey(v string) *AdminGetDeviceInput

SetDeviceKey sets the DeviceKey field's value.

func (*AdminGetDeviceInput) SetUserPoolId

func (s *AdminGetDeviceInput) SetUserPoolId(v string) *AdminGetDeviceInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminGetDeviceInput) SetUsername

func (s *AdminGetDeviceInput) SetUsername(v string) *AdminGetDeviceInput

SetUsername sets the Username field's value.

func (AdminGetDeviceInput) String

func (s AdminGetDeviceInput) String() string

String returns the string representation

func (*AdminGetDeviceInput) Validate

func (s *AdminGetDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminGetDeviceOutput

Gets the device response, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDeviceResponse

type AdminGetDeviceOutput struct {

    // The device.
    //
    // Device is a required field
    Device *DeviceType `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (AdminGetDeviceOutput) GoString

func (s AdminGetDeviceOutput) GoString() string

GoString returns the string representation

func (*AdminGetDeviceOutput) SetDevice

func (s *AdminGetDeviceOutput) SetDevice(v *DeviceType) *AdminGetDeviceOutput

SetDevice sets the Device field's value.

func (AdminGetDeviceOutput) String

func (s AdminGetDeviceOutput) String() string

String returns the string representation

type AdminGetUserInput

Represents the request to get the specified user as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserRequest

type AdminGetUserInput struct {

    // The user pool ID for the user pool where you want to get information about
    // the user.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name of the user you wish to retrieve.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminGetUserInput) GoString

func (s AdminGetUserInput) GoString() string

GoString returns the string representation

func (*AdminGetUserInput) SetUserPoolId

func (s *AdminGetUserInput) SetUserPoolId(v string) *AdminGetUserInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminGetUserInput) SetUsername

func (s *AdminGetUserInput) SetUsername(v string) *AdminGetUserInput

SetUsername sets the Username field's value.

func (AdminGetUserInput) String

func (s AdminGetUserInput) String() string

String returns the string representation

func (*AdminGetUserInput) Validate

func (s *AdminGetUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminGetUserOutput

Represents the response from the server from the request to get the specified user as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserResponse

type AdminGetUserOutput struct {

    // Indicates that the status is enabled.
    Enabled *bool `type:"boolean"`

    // Specifies the options for MFA (e.g., email or phone number).
    MFAOptions []*MFAOptionType `type:"list"`

    // An array of name-value pairs representing user attributes.
    UserAttributes []*AttributeType `type:"list"`

    // The date the user was created.
    UserCreateDate *time.Time `type:"timestamp" timestampFormat:"unix"`

    // The date the user was last modified.
    UserLastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"`

    // The user status. Can be one of the following:
    //
    //    * UNCONFIRMED - User has been created but not confirmed.
    //
    //    * CONFIRMED - User has been confirmed.
    //
    //    * ARCHIVED - User is no longer active.
    //
    //    * COMPROMISED - User is disabled due to a potential security threat.
    //
    //    * UNKNOWN - User status is not known.
    UserStatus *string `type:"string" enum:"UserStatusType"`

    // The user name of the user about whom you are receiving information.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminGetUserOutput) GoString

func (s AdminGetUserOutput) GoString() string

GoString returns the string representation

func (*AdminGetUserOutput) SetEnabled

func (s *AdminGetUserOutput) SetEnabled(v bool) *AdminGetUserOutput

SetEnabled sets the Enabled field's value.

func (*AdminGetUserOutput) SetMFAOptions

func (s *AdminGetUserOutput) SetMFAOptions(v []*MFAOptionType) *AdminGetUserOutput

SetMFAOptions sets the MFAOptions field's value.

func (*AdminGetUserOutput) SetUserAttributes

func (s *AdminGetUserOutput) SetUserAttributes(v []*AttributeType) *AdminGetUserOutput

SetUserAttributes sets the UserAttributes field's value.

func (*AdminGetUserOutput) SetUserCreateDate

func (s *AdminGetUserOutput) SetUserCreateDate(v time.Time) *AdminGetUserOutput

SetUserCreateDate sets the UserCreateDate field's value.

func (*AdminGetUserOutput) SetUserLastModifiedDate

func (s *AdminGetUserOutput) SetUserLastModifiedDate(v time.Time) *AdminGetUserOutput

SetUserLastModifiedDate sets the UserLastModifiedDate field's value.

func (*AdminGetUserOutput) SetUserStatus

func (s *AdminGetUserOutput) SetUserStatus(v string) *AdminGetUserOutput

SetUserStatus sets the UserStatus field's value.

func (*AdminGetUserOutput) SetUsername

func (s *AdminGetUserOutput) SetUsername(v string) *AdminGetUserOutput

SetUsername sets the Username field's value.

func (AdminGetUserOutput) String

func (s AdminGetUserOutput) String() string

String returns the string representation

type AdminInitiateAuthInput

Initiates the authorization request, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuthRequest

type AdminInitiateAuthInput struct {

    // The authentication flow for this call to execute. The API action will depend
    // on this value. For example:
    //
    //    * REFRESH_TOKEN_AUTH will take in a valid refresh token and return new
    //    tokens.
    //
    //    * USER_SRP_AUTH will take in USERNAME and SRPA and return the SRP variables
    //    to be used for next challenge execution.
    //
    // Valid values include:
    //
    //    * USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP)
    //    protocol.
    //
    //    * REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing
    //    the access token and ID token by supplying a valid refresh token.
    //
    //    * CUSTOM_AUTH: Custom authentication flow.
    //
    //    * ADMIN_NO_SRP_AUTH: Non-SRP authentication flow; you can pass in the
    //    USERNAME and PASSWORD directly if the flow is enabled for calling the
    //    app client.
    //
    // AuthFlow is a required field
    AuthFlow *string `type:"string" required:"true" enum:"AuthFlowType"`

    // The authentication parameters. These are inputs corresponding to the AuthFlow
    // that you are invoking. The required values depend on the value of AuthFlow:
    //
    //    * For USER_SRP_AUTH: USERNAME (required), SRPA (required), SECRET_HASH
    //    (required if the app client is configured with a client secret), DEVICE_KEY
    //
    //    * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: USERNAME (required), SECRET_HASH
    //    (required if the app client is configured with a client secret), REFRESH_TOKEN
    //    (required), DEVICE_KEY
    //
    //    * For ADMIN_NO_SRP_AUTH: USERNAME (required), SECRET_HASH (if app client
    //    is configured with client secret), PASSWORD (required), DEVICE_KEY
    //
    //    * For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is
    //    configured with client secret), DEVICE_KEY
    AuthParameters map[string]*string `type:"map"`

    // The app client ID.
    //
    // ClientId is a required field
    ClientId *string `min:"1" type:"string" required:"true"`

    // This is a random key-value pair map which can contain any key and will be
    // passed to your PreAuthentication Lambda trigger as-is. It can be used to
    // implement additional validations around authentication.
    ClientMetadata map[string]*string `type:"map"`

    // The ID of the Amazon Cognito user pool.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminInitiateAuthInput) GoString

func (s AdminInitiateAuthInput) GoString() string

GoString returns the string representation

func (*AdminInitiateAuthInput) SetAuthFlow

func (s *AdminInitiateAuthInput) SetAuthFlow(v string) *AdminInitiateAuthInput

SetAuthFlow sets the AuthFlow field's value.

func (*AdminInitiateAuthInput) SetAuthParameters

func (s *AdminInitiateAuthInput) SetAuthParameters(v map[string]*string) *AdminInitiateAuthInput

SetAuthParameters sets the AuthParameters field's value.

func (*AdminInitiateAuthInput) SetClientId

func (s *AdminInitiateAuthInput) SetClientId(v string) *AdminInitiateAuthInput

SetClientId sets the ClientId field's value.

func (*AdminInitiateAuthInput) SetClientMetadata

func (s *AdminInitiateAuthInput) SetClientMetadata(v map[string]*string) *AdminInitiateAuthInput

SetClientMetadata sets the ClientMetadata field's value.

func (*AdminInitiateAuthInput) SetUserPoolId

func (s *AdminInitiateAuthInput) SetUserPoolId(v string) *AdminInitiateAuthInput

SetUserPoolId sets the UserPoolId field's value.

func (AdminInitiateAuthInput) String

func (s AdminInitiateAuthInput) String() string

String returns the string representation

func (*AdminInitiateAuthInput) Validate

func (s *AdminInitiateAuthInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminInitiateAuthOutput

Initiates the authentication response, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuthResponse

type AdminInitiateAuthOutput struct {

    // The result of the authentication response. This is only returned if the caller
    // does not need to pass another challenge. If the caller does need to pass
    // another challenge before it gets tokens, ChallengeName, ChallengeParameters,
    // and Session are returned.
    AuthenticationResult *AuthenticationResultType `type:"structure"`

    // The name of the challenge which you are responding to with this call. This
    // is returned to you in the AdminInitiateAuth response if you need to pass
    // another challenge.
    //
    //    * SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via
    //    SMS.
    //
    //    * PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE,
    //    PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations.
    //
    //    * CUSTOM_CHALLENGE: This is returned if your custom authentication flow
    //    determines that the user should pass another challenge before tokens are
    //    issued.
    //
    //    * DEVICE_SRP_AUTH: If device tracking was enabled on your user pool and
    //    the previous challenges were passed, this challenge is returned so that
    //    Amazon Cognito can start tracking this device.
    //
    //    * DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices
    //    only.
    //
    //    * ADMIN_NO_SRP_AUTH: This is returned if you need to authenticate with
    //    USERNAME and PASSWORD directly. An app client must be enabled to use this
    //    flow.
    //
    //    * NEW_PASSWORD_REQUIRED: For users which are required to change their
    //    passwords after successful first login. This challenge should be passed
    //    with NEW_PASSWORD and any other required attributes.
    ChallengeName *string `type:"string" enum:"ChallengeNameType"`

    // The challenge parameters. These are returned to you in the AdminInitiateAuth
    // response if you need to pass another challenge. The responses in this parameter
    // should be used to compute inputs to the next call (AdminRespondToAuthChallenge).
    //
    // All challenges require USERNAME and SECRET_HASH (if applicable).
    //
    // The value of the USER_IF_FOR_SRP attribute will be the user's actual username,
    // not an alias (such as email address or phone number), even if you specified
    // an alias in your call to AdminInitiateAuth. This is because, in the AdminRespondToAuthChallenge
    // API ChallengeResponses, the USERNAME attribute cannot be an alias.
    ChallengeParameters map[string]*string `type:"map"`

    // The session which should be passed both ways in challenge-response calls
    // to the service. If AdminInitiateAuth or AdminRespondToAuthChallenge API call
    // determines that the caller needs to go through another challenge, they return
    // a session with other challenge parameters. This session should be passed
    // as it is to the next AdminRespondToAuthChallenge API call.
    Session *string `min:"20" type:"string"`
    // contains filtered or unexported fields
}

func (AdminInitiateAuthOutput) GoString

func (s AdminInitiateAuthOutput) GoString() string

GoString returns the string representation

func (*AdminInitiateAuthOutput) SetAuthenticationResult

func (s *AdminInitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminInitiateAuthOutput

SetAuthenticationResult sets the AuthenticationResult field's value.

func (*AdminInitiateAuthOutput) SetChallengeName

func (s *AdminInitiateAuthOutput) SetChallengeName(v string) *AdminInitiateAuthOutput

SetChallengeName sets the ChallengeName field's value.

func (*AdminInitiateAuthOutput) SetChallengeParameters

func (s *AdminInitiateAuthOutput) SetChallengeParameters(v map[string]*string) *AdminInitiateAuthOutput

SetChallengeParameters sets the ChallengeParameters field's value.

func (*AdminInitiateAuthOutput) SetSession

func (s *AdminInitiateAuthOutput) SetSession(v string) *AdminInitiateAuthOutput

SetSession sets the Session field's value.

func (AdminInitiateAuthOutput) String

func (s AdminInitiateAuthOutput) String() string

String returns the string representation

type AdminListDevicesInput

Represents the request to list devices, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevicesRequest

type AdminListDevicesInput struct {

    // The limit of the devices request.
    Limit *int64 `type:"integer"`

    // The pagination token.
    PaginationToken *string `min:"1" type:"string"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminListDevicesInput) GoString

func (s AdminListDevicesInput) GoString() string

GoString returns the string representation

func (*AdminListDevicesInput) SetLimit

func (s *AdminListDevicesInput) SetLimit(v int64) *AdminListDevicesInput

SetLimit sets the Limit field's value.

func (*AdminListDevicesInput) SetPaginationToken

func (s *AdminListDevicesInput) SetPaginationToken(v string) *AdminListDevicesInput

SetPaginationToken sets the PaginationToken field's value.

func (*AdminListDevicesInput) SetUserPoolId

func (s *AdminListDevicesInput) SetUserPoolId(v string) *AdminListDevicesInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminListDevicesInput) SetUsername

func (s *AdminListDevicesInput) SetUsername(v string) *AdminListDevicesInput

SetUsername sets the Username field's value.

func (AdminListDevicesInput) String

func (s AdminListDevicesInput) String() string

String returns the string representation

func (*AdminListDevicesInput) Validate

func (s *AdminListDevicesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminListDevicesOutput

Lists the device's response, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevicesResponse

type AdminListDevicesOutput struct {

    // The devices in the list of devices response.
    Devices []*DeviceType `type:"list"`

    // The pagination token.
    PaginationToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (AdminListDevicesOutput) GoString

func (s AdminListDevicesOutput) GoString() string

GoString returns the string representation

func (*AdminListDevicesOutput) SetDevices

func (s *AdminListDevicesOutput) SetDevices(v []*DeviceType) *AdminListDevicesOutput

SetDevices sets the Devices field's value.

func (*AdminListDevicesOutput) SetPaginationToken

func (s *AdminListDevicesOutput) SetPaginationToken(v string) *AdminListDevicesOutput

SetPaginationToken sets the PaginationToken field's value.

func (AdminListDevicesOutput) String

func (s AdminListDevicesOutput) String() string

String returns the string representation

type AdminListGroupsForUserInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUserRequest

type AdminListGroupsForUserInput struct {

    // The limit of the request to list groups.
    Limit *int64 `type:"integer"`

    // An identifier that was returned from the previous call to this operation,
    // which can be used to return the next set of items in the list.
    NextToken *string `min:"1" type:"string"`

    // The user pool ID for the user pool.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The username for the user.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminListGroupsForUserInput) GoString

func (s AdminListGroupsForUserInput) GoString() string

GoString returns the string representation

func (*AdminListGroupsForUserInput) SetLimit

func (s *AdminListGroupsForUserInput) SetLimit(v int64) *AdminListGroupsForUserInput

SetLimit sets the Limit field's value.

func (*AdminListGroupsForUserInput) SetNextToken

func (s *AdminListGroupsForUserInput) SetNextToken(v string) *AdminListGroupsForUserInput

SetNextToken sets the NextToken field's value.

func (*AdminListGroupsForUserInput) SetUserPoolId

func (s *AdminListGroupsForUserInput) SetUserPoolId(v string) *AdminListGroupsForUserInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminListGroupsForUserInput) SetUsername

func (s *AdminListGroupsForUserInput) SetUsername(v string) *AdminListGroupsForUserInput

SetUsername sets the Username field's value.

func (AdminListGroupsForUserInput) String

func (s AdminListGroupsForUserInput) String() string

String returns the string representation

func (*AdminListGroupsForUserInput) Validate

func (s *AdminListGroupsForUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminListGroupsForUserOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUserResponse

type AdminListGroupsForUserOutput struct {

    // The groups that the user belongs to.
    Groups []*GroupType `type:"list"`

    // An identifier that was returned from the previous call to this operation,
    // which can be used to return the next set of items in the list.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (AdminListGroupsForUserOutput) GoString

func (s AdminListGroupsForUserOutput) GoString() string

GoString returns the string representation

func (*AdminListGroupsForUserOutput) SetGroups

func (s *AdminListGroupsForUserOutput) SetGroups(v []*GroupType) *AdminListGroupsForUserOutput

SetGroups sets the Groups field's value.

func (*AdminListGroupsForUserOutput) SetNextToken

func (s *AdminListGroupsForUserOutput) SetNextToken(v string) *AdminListGroupsForUserOutput

SetNextToken sets the NextToken field's value.

func (AdminListGroupsForUserOutput) String

func (s AdminListGroupsForUserOutput) String() string

String returns the string representation

type AdminRemoveUserFromGroupInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroupRequest

type AdminRemoveUserFromGroupInput struct {

    // The group name.
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`

    // The user pool ID for the user pool.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The username for the user.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminRemoveUserFromGroupInput) GoString

func (s AdminRemoveUserFromGroupInput) GoString() string

GoString returns the string representation

func (*AdminRemoveUserFromGroupInput) SetGroupName

func (s *AdminRemoveUserFromGroupInput) SetGroupName(v string) *AdminRemoveUserFromGroupInput

SetGroupName sets the GroupName field's value.

func (*AdminRemoveUserFromGroupInput) SetUserPoolId

func (s *AdminRemoveUserFromGroupInput) SetUserPoolId(v string) *AdminRemoveUserFromGroupInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminRemoveUserFromGroupInput) SetUsername

func (s *AdminRemoveUserFromGroupInput) SetUsername(v string) *AdminRemoveUserFromGroupInput

SetUsername sets the Username field's value.

func (AdminRemoveUserFromGroupInput) String

func (s AdminRemoveUserFromGroupInput) String() string

String returns the string representation

func (*AdminRemoveUserFromGroupInput) Validate

func (s *AdminRemoveUserFromGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminRemoveUserFromGroupOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroupOutput

type AdminRemoveUserFromGroupOutput struct {
    // contains filtered or unexported fields
}

func (AdminRemoveUserFromGroupOutput) GoString

func (s AdminRemoveUserFromGroupOutput) GoString() string

GoString returns the string representation

func (AdminRemoveUserFromGroupOutput) String

func (s AdminRemoveUserFromGroupOutput) String() string

String returns the string representation

type AdminResetUserPasswordInput

Represents the request to reset a user's password as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPasswordRequest

type AdminResetUserPasswordInput struct {

    // The user pool ID for the user pool where you want to reset the user's password.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name of the user whose password you wish to reset.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminResetUserPasswordInput) GoString

func (s AdminResetUserPasswordInput) GoString() string

GoString returns the string representation

func (*AdminResetUserPasswordInput) SetUserPoolId

func (s *AdminResetUserPasswordInput) SetUserPoolId(v string) *AdminResetUserPasswordInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminResetUserPasswordInput) SetUsername

func (s *AdminResetUserPasswordInput) SetUsername(v string) *AdminResetUserPasswordInput

SetUsername sets the Username field's value.

func (AdminResetUserPasswordInput) String

func (s AdminResetUserPasswordInput) String() string

String returns the string representation

func (*AdminResetUserPasswordInput) Validate

func (s *AdminResetUserPasswordInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminResetUserPasswordOutput

Represents the response from the server to reset a user password as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPasswordResponse

type AdminResetUserPasswordOutput struct {
    // contains filtered or unexported fields
}

func (AdminResetUserPasswordOutput) GoString

func (s AdminResetUserPasswordOutput) GoString() string

GoString returns the string representation

func (AdminResetUserPasswordOutput) String

func (s AdminResetUserPasswordOutput) String() string

String returns the string representation

type AdminRespondToAuthChallengeInput

The request to respond to the authentication challenge, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallengeRequest

type AdminRespondToAuthChallengeInput struct {

    // The challenge name. For more information, see AdminInitiateAuth (API_AdminInitiateAuth.html).
    //
    // ChallengeName is a required field
    ChallengeName *string `type:"string" required:"true" enum:"ChallengeNameType"`

    // The challenge responses. These are inputs corresponding to the value of ChallengeName,
    // for example:
    //
    //    * SMS_MFA: SMS_MFA_CODE, USERNAME, SECRET_HASH (if app client is configured
    //    with client secret).
    //
    //    * PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK,
    //    TIMESTAMP, USERNAME, SECRET_HASH (if app client is configured with client
    //    secret).
    //
    //    * ADMIN_NO_SRP_AUTH: PASSWORD, USERNAME, SECRET_HASH (if app client is
    //    configured with client secret).
    //
    //    * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes,
    //    USERNAME, SECRET_HASH (if app client is configured with client secret).
    //
    //
    // The value of the USERNAME attribute must be the user's actual username, not
    // an alias (such as email address or phone number). To make this easier, the
    // AdminInitiateAuth response includes the actual username value in the USERNAMEUSER_ID_FOR_SRP
    // attribute, even if you specified an alias in your call to AdminInitiateAuth.
    ChallengeResponses map[string]*string `type:"map"`

    // The app client ID.
    //
    // ClientId is a required field
    ClientId *string `min:"1" type:"string" required:"true"`

    // The session which should be passed both ways in challenge-response calls
    // to the service. If InitiateAuth or RespondToAuthChallenge API call determines
    // that the caller needs to go through another challenge, they return a session
    // with other challenge parameters. This session should be passed as it is to
    // the next RespondToAuthChallenge API call.
    Session *string `min:"20" type:"string"`

    // The ID of the Amazon Cognito user pool.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminRespondToAuthChallengeInput) GoString

func (s AdminRespondToAuthChallengeInput) GoString() string

GoString returns the string representation

func (*AdminRespondToAuthChallengeInput) SetChallengeName

func (s *AdminRespondToAuthChallengeInput) SetChallengeName(v string) *AdminRespondToAuthChallengeInput

SetChallengeName sets the ChallengeName field's value.

func (*AdminRespondToAuthChallengeInput) SetChallengeResponses

func (s *AdminRespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *AdminRespondToAuthChallengeInput

SetChallengeResponses sets the ChallengeResponses field's value.

func (*AdminRespondToAuthChallengeInput) SetClientId

func (s *AdminRespondToAuthChallengeInput) SetClientId(v string) *AdminRespondToAuthChallengeInput

SetClientId sets the ClientId field's value.

func (*AdminRespondToAuthChallengeInput) SetSession

func (s *AdminRespondToAuthChallengeInput) SetSession(v string) *AdminRespondToAuthChallengeInput

SetSession sets the Session field's value.

func (*AdminRespondToAuthChallengeInput) SetUserPoolId

func (s *AdminRespondToAuthChallengeInput) SetUserPoolId(v string) *AdminRespondToAuthChallengeInput

SetUserPoolId sets the UserPoolId field's value.

func (AdminRespondToAuthChallengeInput) String

func (s AdminRespondToAuthChallengeInput) String() string

String returns the string representation

func (*AdminRespondToAuthChallengeInput) Validate

func (s *AdminRespondToAuthChallengeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminRespondToAuthChallengeOutput

Responds to the authentication challenge, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallengeResponse

type AdminRespondToAuthChallengeOutput struct {

    // The result returned by the server in response to the authentication request.
    AuthenticationResult *AuthenticationResultType `type:"structure"`

    // The name of the challenge. For more information, see AdminInitiateAuth (API_AdminInitiateAuth.html).
    ChallengeName *string `type:"string" enum:"ChallengeNameType"`

    // The challenge parameters. For more information, see AdminInitiateAuth (API_AdminInitiateAuth.html).
    ChallengeParameters map[string]*string `type:"map"`

    // The session which should be passed both ways in challenge-response calls
    // to the service. If the InitiateAuth (API_InitiateAuth.html) or RespondToAuthChallenge
    // (API_RespondToAuthChallenge.html) API call determines that the caller needs
    // to go through another challenge, they return a session with other challenge
    // parameters. This session should be passed as it is to the next RespondToAuthChallenge
    // API call.
    Session *string `min:"20" type:"string"`
    // contains filtered or unexported fields
}

func (AdminRespondToAuthChallengeOutput) GoString

func (s AdminRespondToAuthChallengeOutput) GoString() string

GoString returns the string representation

func (*AdminRespondToAuthChallengeOutput) SetAuthenticationResult

func (s *AdminRespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminRespondToAuthChallengeOutput

SetAuthenticationResult sets the AuthenticationResult field's value.

func (*AdminRespondToAuthChallengeOutput) SetChallengeName

func (s *AdminRespondToAuthChallengeOutput) SetChallengeName(v string) *AdminRespondToAuthChallengeOutput

SetChallengeName sets the ChallengeName field's value.

func (*AdminRespondToAuthChallengeOutput) SetChallengeParameters

func (s *AdminRespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *AdminRespondToAuthChallengeOutput

SetChallengeParameters sets the ChallengeParameters field's value.

func (*AdminRespondToAuthChallengeOutput) SetSession

func (s *AdminRespondToAuthChallengeOutput) SetSession(v string) *AdminRespondToAuthChallengeOutput

SetSession sets the Session field's value.

func (AdminRespondToAuthChallengeOutput) String

func (s AdminRespondToAuthChallengeOutput) String() string

String returns the string representation

type AdminSetUserSettingsInput

Represents the request to set user settings as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettingsRequest

type AdminSetUserSettingsInput struct {

    // Specifies the options for MFA (e.g., email or phone number).
    //
    // MFAOptions is a required field
    MFAOptions []*MFAOptionType `type:"list" required:"true"`

    // The user pool ID for the user pool where you want to set the user's settings,
    // such as MFA options.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name of the user for whom you wish to set user settings.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminSetUserSettingsInput) GoString

func (s AdminSetUserSettingsInput) GoString() string

GoString returns the string representation

func (*AdminSetUserSettingsInput) SetMFAOptions

func (s *AdminSetUserSettingsInput) SetMFAOptions(v []*MFAOptionType) *AdminSetUserSettingsInput

SetMFAOptions sets the MFAOptions field's value.

func (*AdminSetUserSettingsInput) SetUserPoolId

func (s *AdminSetUserSettingsInput) SetUserPoolId(v string) *AdminSetUserSettingsInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminSetUserSettingsInput) SetUsername

func (s *AdminSetUserSettingsInput) SetUsername(v string) *AdminSetUserSettingsInput

SetUsername sets the Username field's value.

func (AdminSetUserSettingsInput) String

func (s AdminSetUserSettingsInput) String() string

String returns the string representation

func (*AdminSetUserSettingsInput) Validate

func (s *AdminSetUserSettingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminSetUserSettingsOutput

Represents the response from the server to set user settings as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettingsResponse

type AdminSetUserSettingsOutput struct {
    // contains filtered or unexported fields
}

func (AdminSetUserSettingsOutput) GoString

func (s AdminSetUserSettingsOutput) GoString() string

GoString returns the string representation

func (AdminSetUserSettingsOutput) String

func (s AdminSetUserSettingsOutput) String() string

String returns the string representation

type AdminUpdateDeviceStatusInput

The request to update the device status, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatusRequest

type AdminUpdateDeviceStatusInput struct {

    // The device key.
    //
    // DeviceKey is a required field
    DeviceKey *string `min:"1" type:"string" required:"true"`

    // The status indicating whether a device has been remembered or not.
    DeviceRememberedStatus *string `type:"string" enum:"DeviceRememberedStatusType"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminUpdateDeviceStatusInput) GoString

func (s AdminUpdateDeviceStatusInput) GoString() string

GoString returns the string representation

func (*AdminUpdateDeviceStatusInput) SetDeviceKey

func (s *AdminUpdateDeviceStatusInput) SetDeviceKey(v string) *AdminUpdateDeviceStatusInput

SetDeviceKey sets the DeviceKey field's value.

func (*AdminUpdateDeviceStatusInput) SetDeviceRememberedStatus

func (s *AdminUpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *AdminUpdateDeviceStatusInput

SetDeviceRememberedStatus sets the DeviceRememberedStatus field's value.

func (*AdminUpdateDeviceStatusInput) SetUserPoolId

func (s *AdminUpdateDeviceStatusInput) SetUserPoolId(v string) *AdminUpdateDeviceStatusInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminUpdateDeviceStatusInput) SetUsername

func (s *AdminUpdateDeviceStatusInput) SetUsername(v string) *AdminUpdateDeviceStatusInput

SetUsername sets the Username field's value.

func (AdminUpdateDeviceStatusInput) String

func (s AdminUpdateDeviceStatusInput) String() string

String returns the string representation

func (*AdminUpdateDeviceStatusInput) Validate

func (s *AdminUpdateDeviceStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminUpdateDeviceStatusOutput

The status response from the request to update the device, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatusResponse

type AdminUpdateDeviceStatusOutput struct {
    // contains filtered or unexported fields
}

func (AdminUpdateDeviceStatusOutput) GoString

func (s AdminUpdateDeviceStatusOutput) GoString() string

GoString returns the string representation

func (AdminUpdateDeviceStatusOutput) String

func (s AdminUpdateDeviceStatusOutput) String() string

String returns the string representation

type AdminUpdateUserAttributesInput

Represents the request to update the user's attributes as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributesRequest

type AdminUpdateUserAttributesInput struct {

    // An array of name-value pairs representing user attributes.
    //
    // For custom attributes, you must prepend the custom: prefix to the attribute
    // name.
    //
    // UserAttributes is a required field
    UserAttributes []*AttributeType `type:"list" required:"true"`

    // The user pool ID for the user pool where you want to update user attributes.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name of the user for whom you want to update user attributes.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminUpdateUserAttributesInput) GoString

func (s AdminUpdateUserAttributesInput) GoString() string

GoString returns the string representation

func (*AdminUpdateUserAttributesInput) SetUserAttributes

func (s *AdminUpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *AdminUpdateUserAttributesInput

SetUserAttributes sets the UserAttributes field's value.

func (*AdminUpdateUserAttributesInput) SetUserPoolId

func (s *AdminUpdateUserAttributesInput) SetUserPoolId(v string) *AdminUpdateUserAttributesInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminUpdateUserAttributesInput) SetUsername

func (s *AdminUpdateUserAttributesInput) SetUsername(v string) *AdminUpdateUserAttributesInput

SetUsername sets the Username field's value.

func (AdminUpdateUserAttributesInput) String

func (s AdminUpdateUserAttributesInput) String() string

String returns the string representation

func (*AdminUpdateUserAttributesInput) Validate

func (s *AdminUpdateUserAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminUpdateUserAttributesOutput

Represents the response from the server for the request to update user attributes as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributesResponse

type AdminUpdateUserAttributesOutput struct {
    // contains filtered or unexported fields
}

func (AdminUpdateUserAttributesOutput) GoString

func (s AdminUpdateUserAttributesOutput) GoString() string

GoString returns the string representation

func (AdminUpdateUserAttributesOutput) String

func (s AdminUpdateUserAttributesOutput) String() string

String returns the string representation

type AdminUserGlobalSignOutInput

The request to sign out of all devices, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOutRequest

type AdminUserGlobalSignOutInput struct {

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The user name.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AdminUserGlobalSignOutInput) GoString

func (s AdminUserGlobalSignOutInput) GoString() string

GoString returns the string representation

func (*AdminUserGlobalSignOutInput) SetUserPoolId

func (s *AdminUserGlobalSignOutInput) SetUserPoolId(v string) *AdminUserGlobalSignOutInput

SetUserPoolId sets the UserPoolId field's value.

func (*AdminUserGlobalSignOutInput) SetUsername

func (s *AdminUserGlobalSignOutInput) SetUsername(v string) *AdminUserGlobalSignOutInput

SetUsername sets the Username field's value.

func (AdminUserGlobalSignOutInput) String

func (s AdminUserGlobalSignOutInput) String() string

String returns the string representation

func (*AdminUserGlobalSignOutInput) Validate

func (s *AdminUserGlobalSignOutInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AdminUserGlobalSignOutOutput

The global sign-out response, as an administrator. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOutResponse

type AdminUserGlobalSignOutOutput struct {
    // contains filtered or unexported fields
}

func (AdminUserGlobalSignOutOutput) GoString

func (s AdminUserGlobalSignOutOutput) GoString() string

GoString returns the string representation

func (AdminUserGlobalSignOutOutput) String

func (s AdminUserGlobalSignOutOutput) String() string

String returns the string representation

type AttributeType

Specifies whether the attribute is standard or custom. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AttributeType

type AttributeType struct {

    // The name of the attribute.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The value of the attribute.
    Value *string `type:"string"`
    // contains filtered or unexported fields
}

func (AttributeType) GoString

func (s AttributeType) GoString() string

GoString returns the string representation

func (*AttributeType) SetName

func (s *AttributeType) SetName(v string) *AttributeType

SetName sets the Name field's value.

func (*AttributeType) SetValue

func (s *AttributeType) SetValue(v string) *AttributeType

SetValue sets the Value field's value.

func (AttributeType) String

func (s AttributeType) String() string

String returns the string representation

func (*AttributeType) Validate

func (s *AttributeType) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AuthenticationResultType

The result type of the authentication result. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AuthenticationResultType

type AuthenticationResultType struct {

    // The access token of the authentication result.
    AccessToken *string `type:"string"`

    // The expiration period of the authentication result.
    ExpiresIn *int64 `type:"integer"`

    // The ID token of the authentication result.
    IdToken *string `type:"string"`

    // The new device metadata from an authentication result.
    NewDeviceMetadata *NewDeviceMetadataType `type:"structure"`

    // The refresh token of the authentication result.
    RefreshToken *string `type:"string"`

    // The token type of the authentication result.
    TokenType *string `type:"string"`
    // contains filtered or unexported fields
}

func (AuthenticationResultType) GoString

func (s AuthenticationResultType) GoString() string

GoString returns the string representation

func (*AuthenticationResultType) SetAccessToken

func (s *AuthenticationResultType) SetAccessToken(v string) *AuthenticationResultType

SetAccessToken sets the AccessToken field's value.

func (*AuthenticationResultType) SetExpiresIn

func (s *AuthenticationResultType) SetExpiresIn(v int64) *AuthenticationResultType

SetExpiresIn sets the ExpiresIn field's value.

func (*AuthenticationResultType) SetIdToken

func (s *AuthenticationResultType) SetIdToken(v string) *AuthenticationResultType

SetIdToken sets the IdToken field's value.

func (*AuthenticationResultType) SetNewDeviceMetadata

func (s *AuthenticationResultType) SetNewDeviceMetadata(v *NewDeviceMetadataType) *AuthenticationResultType

SetNewDeviceMetadata sets the NewDeviceMetadata field's value.

func (*AuthenticationResultType) SetRefreshToken

func (s *AuthenticationResultType) SetRefreshToken(v string) *AuthenticationResultType

SetRefreshToken sets the RefreshToken field's value.

func (*AuthenticationResultType) SetTokenType

func (s *AuthenticationResultType) SetTokenType(v string) *AuthenticationResultType

SetTokenType sets the TokenType field's value.

func (AuthenticationResultType) String

func (s AuthenticationResultType) String() string

String returns the string representation

type ChangePasswordInput

Represents the request to change a user password. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePasswordRequest

type ChangePasswordInput struct {

    // The access token in the change password request.
    //
    // AccessToken is a required field
    AccessToken *string `type:"string" required:"true"`

    // The old password in the change password request.
    //
    // PreviousPassword is a required field
    PreviousPassword *string `min:"6" type:"string" required:"true"`

    // The new password in the change password request.
    //
    // ProposedPassword is a required field
    ProposedPassword *string `min:"6" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ChangePasswordInput) GoString

func (s ChangePasswordInput) GoString() string

GoString returns the string representation

func (*ChangePasswordInput) SetAccessToken

func (s *ChangePasswordInput) SetAccessToken(v string) *ChangePasswordInput

SetAccessToken sets the AccessToken field's value.

func (*ChangePasswordInput) SetPreviousPassword

func (s *ChangePasswordInput) SetPreviousPassword(v string) *ChangePasswordInput

SetPreviousPassword sets the PreviousPassword field's value.

func (*ChangePasswordInput) SetProposedPassword

func (s *ChangePasswordInput) SetProposedPassword(v string) *ChangePasswordInput

SetProposedPassword sets the ProposedPassword field's value.

func (ChangePasswordInput) String

func (s ChangePasswordInput) String() string

String returns the string representation

func (*ChangePasswordInput) Validate

func (s *ChangePasswordInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ChangePasswordOutput

The response from the server to the change password request. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePasswordResponse

type ChangePasswordOutput struct {
    // contains filtered or unexported fields
}

func (ChangePasswordOutput) GoString

func (s ChangePasswordOutput) GoString() string

GoString returns the string representation

func (ChangePasswordOutput) String

func (s ChangePasswordOutput) String() string

String returns the string representation

type CodeDeliveryDetailsType

The type of code delivery details being returned from the server. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CodeDeliveryDetailsType

type CodeDeliveryDetailsType struct {

    // The name of the attribute in the code delivery details type.
    AttributeName *string `min:"1" type:"string"`

    // The delivery medium (email message or phone number).
    DeliveryMedium *string `type:"string" enum:"DeliveryMediumType"`

    // The destination for the code delivery details.
    Destination *string `type:"string"`
    // contains filtered or unexported fields
}

func (CodeDeliveryDetailsType) GoString

func (s CodeDeliveryDetailsType) GoString() string

GoString returns the string representation

func (*CodeDeliveryDetailsType) SetAttributeName

func (s *CodeDeliveryDetailsType) SetAttributeName(v string) *CodeDeliveryDetailsType

SetAttributeName sets the AttributeName field's value.

func (*CodeDeliveryDetailsType) SetDeliveryMedium

func (s *CodeDeliveryDetailsType) SetDeliveryMedium(v string) *CodeDeliveryDetailsType

SetDeliveryMedium sets the DeliveryMedium field's value.

func (*CodeDeliveryDetailsType) SetDestination

func (s *CodeDeliveryDetailsType) SetDestination(v string) *CodeDeliveryDetailsType

SetDestination sets the Destination field's value.

func (CodeDeliveryDetailsType) String

func (s CodeDeliveryDetailsType) String() string

String returns the string representation

type CognitoIdentityProvider

CognitoIdentityProvider provides the API operation methods for making requests to Amazon Cognito Identity Provider. See this package's package overview docs for details on the service.

CognitoIdentityProvider methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

type CognitoIdentityProvider struct {
    *client.Client
}

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CognitoIdentityProvider

New creates a new instance of the CognitoIdentityProvider client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a CognitoIdentityProvider client from just a session.
svc := cognitoidentityprovider.New(mySession)

// Create a CognitoIdentityProvider client with additional configuration
svc := cognitoidentityprovider.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CognitoIdentityProvider) AddCustomAttributes

func (c *CognitoIdentityProvider) AddCustomAttributes(input *AddCustomAttributesInput) (*AddCustomAttributesOutput, error)

AddCustomAttributes API operation for Amazon Cognito Identity Provider.

Adds additional user attributes to the user pool schema.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AddCustomAttributes for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserImportInProgressException "UserImportInProgressException"
This exception is thrown when you are trying to modify a user pool while
a user import job is in progress for that pool.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributes

func (*CognitoIdentityProvider) AddCustomAttributesRequest

func (c *CognitoIdentityProvider) AddCustomAttributesRequest(input *AddCustomAttributesInput) (req *request.Request, output *AddCustomAttributesOutput)

AddCustomAttributesRequest generates a "aws/request.Request" representing the client's request for the AddCustomAttributes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AddCustomAttributes for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddCustomAttributes method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AddCustomAttributesRequest method.
req, resp := client.AddCustomAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributes

func (*CognitoIdentityProvider) AddCustomAttributesWithContext

func (c *CognitoIdentityProvider) AddCustomAttributesWithContext(ctx aws.Context, input *AddCustomAttributesInput, opts ...request.Option) (*AddCustomAttributesOutput, error)

AddCustomAttributesWithContext is the same as AddCustomAttributes with the addition of the ability to pass a context and additional request options.

See AddCustomAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminAddUserToGroup

func (c *CognitoIdentityProvider) AdminAddUserToGroup(input *AdminAddUserToGroupInput) (*AdminAddUserToGroupOutput, error)

AdminAddUserToGroup API operation for Amazon Cognito Identity Provider.

Adds the specified user to the specified group.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminAddUserToGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup

func (*CognitoIdentityProvider) AdminAddUserToGroupRequest

func (c *CognitoIdentityProvider) AdminAddUserToGroupRequest(input *AdminAddUserToGroupInput) (req *request.Request, output *AdminAddUserToGroupOutput)

AdminAddUserToGroupRequest generates a "aws/request.Request" representing the client's request for the AdminAddUserToGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminAddUserToGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminAddUserToGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminAddUserToGroupRequest method.
req, resp := client.AdminAddUserToGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup

func (*CognitoIdentityProvider) AdminAddUserToGroupWithContext

func (c *CognitoIdentityProvider) AdminAddUserToGroupWithContext(ctx aws.Context, input *AdminAddUserToGroupInput, opts ...request.Option) (*AdminAddUserToGroupOutput, error)

AdminAddUserToGroupWithContext is the same as AdminAddUserToGroup with the addition of the ability to pass a context and additional request options.

See AdminAddUserToGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminConfirmSignUp

func (c *CognitoIdentityProvider) AdminConfirmSignUp(input *AdminConfirmSignUpInput) (*AdminConfirmSignUpOutput, error)

AdminConfirmSignUp API operation for Amazon Cognito Identity Provider.

Confirms user registration as an admin without using a confirmation code. Works on any user.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminConfirmSignUp for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyFailedAttemptsException "TooManyFailedAttemptsException"
This exception is thrown when the user has made too many failed attempts
for a given action (e.g., sign in).

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUp

func (*CognitoIdentityProvider) AdminConfirmSignUpRequest

func (c *CognitoIdentityProvider) AdminConfirmSignUpRequest(input *AdminConfirmSignUpInput) (req *request.Request, output *AdminConfirmSignUpOutput)

AdminConfirmSignUpRequest generates a "aws/request.Request" representing the client's request for the AdminConfirmSignUp operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminConfirmSignUp for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminConfirmSignUp method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminConfirmSignUpRequest method.
req, resp := client.AdminConfirmSignUpRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUp

func (*CognitoIdentityProvider) AdminConfirmSignUpWithContext

func (c *CognitoIdentityProvider) AdminConfirmSignUpWithContext(ctx aws.Context, input *AdminConfirmSignUpInput, opts ...request.Option) (*AdminConfirmSignUpOutput, error)

AdminConfirmSignUpWithContext is the same as AdminConfirmSignUp with the addition of the ability to pass a context and additional request options.

See AdminConfirmSignUp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminCreateUser

func (c *CognitoIdentityProvider) AdminCreateUser(input *AdminCreateUserInput) (*AdminCreateUserOutput, error)

AdminCreateUser API operation for Amazon Cognito Identity Provider.

Creates a new user in the specified user pool and sends a welcome message via email or phone (SMS). This message is based on a template that you configured in your call to CreateUserPool (API_CreateUserPool.html) or UpdateUserPool (API_UpdateUserPool.html). This template includes your custom sign-up instructions and placeholders for user name and temporary password.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminCreateUser for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUsernameExistsException "UsernameExistsException"
This exception is thrown when Amazon Cognito encounters a user name that
already exists in the user pool.

* ErrCodeInvalidPasswordException "InvalidPasswordException"
This exception is thrown when the Amazon Cognito service encounters an invalid
password.

* ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException"
This exception is thrown when a verification code fails to deliver successfully.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodePreconditionNotMetException "PreconditionNotMetException"
This exception is thrown when a precondition is not met.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUnsupportedUserStateException "UnsupportedUserStateException"
The request failed because the user is in an unsupported state.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser

func (*CognitoIdentityProvider) AdminCreateUserRequest

func (c *CognitoIdentityProvider) AdminCreateUserRequest(input *AdminCreateUserInput) (req *request.Request, output *AdminCreateUserOutput)

AdminCreateUserRequest generates a "aws/request.Request" representing the client's request for the AdminCreateUser operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminCreateUser for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminCreateUser method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminCreateUserRequest method.
req, resp := client.AdminCreateUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser

func (*CognitoIdentityProvider) AdminCreateUserWithContext

func (c *CognitoIdentityProvider) AdminCreateUserWithContext(ctx aws.Context, input *AdminCreateUserInput, opts ...request.Option) (*AdminCreateUserOutput, error)

AdminCreateUserWithContext is the same as AdminCreateUser with the addition of the ability to pass a context and additional request options.

See AdminCreateUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminDeleteUser

func (c *CognitoIdentityProvider) AdminDeleteUser(input *AdminDeleteUserInput) (*AdminDeleteUserOutput, error)

AdminDeleteUser API operation for Amazon Cognito Identity Provider.

Deletes a user as an administrator. Works on any user.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminDeleteUser for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUser

func (*CognitoIdentityProvider) AdminDeleteUserAttributes

func (c *CognitoIdentityProvider) AdminDeleteUserAttributes(input *AdminDeleteUserAttributesInput) (*AdminDeleteUserAttributesOutput, error)

AdminDeleteUserAttributes API operation for Amazon Cognito Identity Provider.

Deletes the user attributes in a user pool as an administrator. Works on any user.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminDeleteUserAttributes for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributes

func (*CognitoIdentityProvider) AdminDeleteUserAttributesRequest

func (c *CognitoIdentityProvider) AdminDeleteUserAttributesRequest(input *AdminDeleteUserAttributesInput) (req *request.Request, output *AdminDeleteUserAttributesOutput)

AdminDeleteUserAttributesRequest generates a "aws/request.Request" representing the client's request for the AdminDeleteUserAttributes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminDeleteUserAttributes for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminDeleteUserAttributes method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminDeleteUserAttributesRequest method.
req, resp := client.AdminDeleteUserAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributes

func (*CognitoIdentityProvider) AdminDeleteUserAttributesWithContext

func (c *CognitoIdentityProvider) AdminDeleteUserAttributesWithContext(ctx aws.Context, input *AdminDeleteUserAttributesInput, opts ...request.Option) (*AdminDeleteUserAttributesOutput, error)

AdminDeleteUserAttributesWithContext is the same as AdminDeleteUserAttributes with the addition of the ability to pass a context and additional request options.

See AdminDeleteUserAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminDeleteUserRequest

func (c *CognitoIdentityProvider) AdminDeleteUserRequest(input *AdminDeleteUserInput) (req *request.Request, output *AdminDeleteUserOutput)

AdminDeleteUserRequest generates a "aws/request.Request" representing the client's request for the AdminDeleteUser operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminDeleteUser for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminDeleteUser method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminDeleteUserRequest method.
req, resp := client.AdminDeleteUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUser

func (*CognitoIdentityProvider) AdminDeleteUserWithContext

func (c *CognitoIdentityProvider) AdminDeleteUserWithContext(ctx aws.Context, input *AdminDeleteUserInput, opts ...request.Option) (*AdminDeleteUserOutput, error)

AdminDeleteUserWithContext is the same as AdminDeleteUser with the addition of the ability to pass a context and additional request options.

See AdminDeleteUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminDisableUser

func (c *CognitoIdentityProvider) AdminDisableUser(input *AdminDisableUserInput) (*AdminDisableUserOutput, error)

AdminDisableUser API operation for Amazon Cognito Identity Provider.

Disables the specified user as an administrator. Works on any user.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminDisableUser for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUser

func (*CognitoIdentityProvider) AdminDisableUserRequest

func (c *CognitoIdentityProvider) AdminDisableUserRequest(input *AdminDisableUserInput) (req *request.Request, output *AdminDisableUserOutput)

AdminDisableUserRequest generates a "aws/request.Request" representing the client's request for the AdminDisableUser operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminDisableUser for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminDisableUser method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminDisableUserRequest method.
req, resp := client.AdminDisableUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUser

func (*CognitoIdentityProvider) AdminDisableUserWithContext

func (c *CognitoIdentityProvider) AdminDisableUserWithContext(ctx aws.Context, input *AdminDisableUserInput, opts ...request.Option) (*AdminDisableUserOutput, error)

AdminDisableUserWithContext is the same as AdminDisableUser with the addition of the ability to pass a context and additional request options.

See AdminDisableUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminEnableUser

func (c *CognitoIdentityProvider) AdminEnableUser(input *AdminEnableUserInput) (*AdminEnableUserOutput, error)

AdminEnableUser API operation for Amazon Cognito Identity Provider.

Enables the specified user as an administrator. Works on any user.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminEnableUser for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUser

func (*CognitoIdentityProvider) AdminEnableUserRequest

func (c *CognitoIdentityProvider) AdminEnableUserRequest(input *AdminEnableUserInput) (req *request.Request, output *AdminEnableUserOutput)

AdminEnableUserRequest generates a "aws/request.Request" representing the client's request for the AdminEnableUser operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminEnableUser for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminEnableUser method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminEnableUserRequest method.
req, resp := client.AdminEnableUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUser

func (*CognitoIdentityProvider) AdminEnableUserWithContext

func (c *CognitoIdentityProvider) AdminEnableUserWithContext(ctx aws.Context, input *AdminEnableUserInput, opts ...request.Option) (*AdminEnableUserOutput, error)

AdminEnableUserWithContext is the same as AdminEnableUser with the addition of the ability to pass a context and additional request options.

See AdminEnableUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminForgetDevice

func (c *CognitoIdentityProvider) AdminForgetDevice(input *AdminForgetDeviceInput) (*AdminForgetDeviceOutput, error)

AdminForgetDevice API operation for Amazon Cognito Identity Provider.

Forgets the device, as an administrator.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminForgetDevice for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice

func (*CognitoIdentityProvider) AdminForgetDeviceRequest

func (c *CognitoIdentityProvider) AdminForgetDeviceRequest(input *AdminForgetDeviceInput) (req *request.Request, output *AdminForgetDeviceOutput)

AdminForgetDeviceRequest generates a "aws/request.Request" representing the client's request for the AdminForgetDevice operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminForgetDevice for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminForgetDevice method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminForgetDeviceRequest method.
req, resp := client.AdminForgetDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice

func (*CognitoIdentityProvider) AdminForgetDeviceWithContext

func (c *CognitoIdentityProvider) AdminForgetDeviceWithContext(ctx aws.Context, input *AdminForgetDeviceInput, opts ...request.Option) (*AdminForgetDeviceOutput, error)

AdminForgetDeviceWithContext is the same as AdminForgetDevice with the addition of the ability to pass a context and additional request options.

See AdminForgetDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminGetDevice

func (c *CognitoIdentityProvider) AdminGetDevice(input *AdminGetDeviceInput) (*AdminGetDeviceOutput, error)

AdminGetDevice API operation for Amazon Cognito Identity Provider.

Gets the device, as an administrator.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminGetDevice for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice

func (*CognitoIdentityProvider) AdminGetDeviceRequest

func (c *CognitoIdentityProvider) AdminGetDeviceRequest(input *AdminGetDeviceInput) (req *request.Request, output *AdminGetDeviceOutput)

AdminGetDeviceRequest generates a "aws/request.Request" representing the client's request for the AdminGetDevice operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminGetDevice for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminGetDevice method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminGetDeviceRequest method.
req, resp := client.AdminGetDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice

func (*CognitoIdentityProvider) AdminGetDeviceWithContext

func (c *CognitoIdentityProvider) AdminGetDeviceWithContext(ctx aws.Context, input *AdminGetDeviceInput, opts ...request.Option) (*AdminGetDeviceOutput, error)

AdminGetDeviceWithContext is the same as AdminGetDevice with the addition of the ability to pass a context and additional request options.

See AdminGetDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminGetUser

func (c *CognitoIdentityProvider) AdminGetUser(input *AdminGetUserInput) (*AdminGetUserOutput, error)

AdminGetUser API operation for Amazon Cognito Identity Provider.

Gets the specified user by user name in a user pool as an administrator. Works on any user.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminGetUser for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUser

func (*CognitoIdentityProvider) AdminGetUserRequest

func (c *CognitoIdentityProvider) AdminGetUserRequest(input *AdminGetUserInput) (req *request.Request, output *AdminGetUserOutput)

AdminGetUserRequest generates a "aws/request.Request" representing the client's request for the AdminGetUser operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminGetUser for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminGetUser method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminGetUserRequest method.
req, resp := client.AdminGetUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUser

func (*CognitoIdentityProvider) AdminGetUserWithContext

func (c *CognitoIdentityProvider) AdminGetUserWithContext(ctx aws.Context, input *AdminGetUserInput, opts ...request.Option) (*AdminGetUserOutput, error)

AdminGetUserWithContext is the same as AdminGetUser with the addition of the ability to pass a context and additional request options.

See AdminGetUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminInitiateAuth

func (c *CognitoIdentityProvider) AdminInitiateAuth(input *AdminInitiateAuthInput) (*AdminInitiateAuthOutput, error)

AdminInitiateAuth API operation for Amazon Cognito Identity Provider.

Initiates the authentication flow, as an administrator.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminInitiateAuth for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeMFAMethodNotFoundException "MFAMethodNotFoundException"
This exception is thrown when Amazon Cognito cannot find a multi-factor authentication
(MFA) method.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth

func (*CognitoIdentityProvider) AdminInitiateAuthRequest

func (c *CognitoIdentityProvider) AdminInitiateAuthRequest(input *AdminInitiateAuthInput) (req *request.Request, output *AdminInitiateAuthOutput)

AdminInitiateAuthRequest generates a "aws/request.Request" representing the client's request for the AdminInitiateAuth operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminInitiateAuth for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminInitiateAuth method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminInitiateAuthRequest method.
req, resp := client.AdminInitiateAuthRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth

func (*CognitoIdentityProvider) AdminInitiateAuthWithContext

func (c *CognitoIdentityProvider) AdminInitiateAuthWithContext(ctx aws.Context, input *AdminInitiateAuthInput, opts ...request.Option) (*AdminInitiateAuthOutput, error)

AdminInitiateAuthWithContext is the same as AdminInitiateAuth with the addition of the ability to pass a context and additional request options.

See AdminInitiateAuth for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminListDevices

func (c *CognitoIdentityProvider) AdminListDevices(input *AdminListDevicesInput) (*AdminListDevicesOutput, error)

AdminListDevices API operation for Amazon Cognito Identity Provider.

Lists devices, as an administrator.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminListDevices for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices

func (*CognitoIdentityProvider) AdminListDevicesRequest

func (c *CognitoIdentityProvider) AdminListDevicesRequest(input *AdminListDevicesInput) (req *request.Request, output *AdminListDevicesOutput)

AdminListDevicesRequest generates a "aws/request.Request" representing the client's request for the AdminListDevices operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminListDevices for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminListDevices method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminListDevicesRequest method.
req, resp := client.AdminListDevicesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices

func (*CognitoIdentityProvider) AdminListDevicesWithContext

func (c *CognitoIdentityProvider) AdminListDevicesWithContext(ctx aws.Context, input *AdminListDevicesInput, opts ...request.Option) (*AdminListDevicesOutput, error)

AdminListDevicesWithContext is the same as AdminListDevices with the addition of the ability to pass a context and additional request options.

See AdminListDevices for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminListGroupsForUser

func (c *CognitoIdentityProvider) AdminListGroupsForUser(input *AdminListGroupsForUserInput) (*AdminListGroupsForUserOutput, error)

AdminListGroupsForUser API operation for Amazon Cognito Identity Provider.

Lists the groups that the user belongs to.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminListGroupsForUser for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser

func (*CognitoIdentityProvider) AdminListGroupsForUserRequest

func (c *CognitoIdentityProvider) AdminListGroupsForUserRequest(input *AdminListGroupsForUserInput) (req *request.Request, output *AdminListGroupsForUserOutput)

AdminListGroupsForUserRequest generates a "aws/request.Request" representing the client's request for the AdminListGroupsForUser operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminListGroupsForUser for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminListGroupsForUser method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminListGroupsForUserRequest method.
req, resp := client.AdminListGroupsForUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser

func (*CognitoIdentityProvider) AdminListGroupsForUserWithContext

func (c *CognitoIdentityProvider) AdminListGroupsForUserWithContext(ctx aws.Context, input *AdminListGroupsForUserInput, opts ...request.Option) (*AdminListGroupsForUserOutput, error)

AdminListGroupsForUserWithContext is the same as AdminListGroupsForUser with the addition of the ability to pass a context and additional request options.

See AdminListGroupsForUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminRemoveUserFromGroup

func (c *CognitoIdentityProvider) AdminRemoveUserFromGroup(input *AdminRemoveUserFromGroupInput) (*AdminRemoveUserFromGroupOutput, error)

AdminRemoveUserFromGroup API operation for Amazon Cognito Identity Provider.

Removes the specified user from the specified group.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminRemoveUserFromGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup

func (*CognitoIdentityProvider) AdminRemoveUserFromGroupRequest

func (c *CognitoIdentityProvider) AdminRemoveUserFromGroupRequest(input *AdminRemoveUserFromGroupInput) (req *request.Request, output *AdminRemoveUserFromGroupOutput)

AdminRemoveUserFromGroupRequest generates a "aws/request.Request" representing the client's request for the AdminRemoveUserFromGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminRemoveUserFromGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminRemoveUserFromGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminRemoveUserFromGroupRequest method.
req, resp := client.AdminRemoveUserFromGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup

func (*CognitoIdentityProvider) AdminRemoveUserFromGroupWithContext

func (c *CognitoIdentityProvider) AdminRemoveUserFromGroupWithContext(ctx aws.Context, input *AdminRemoveUserFromGroupInput, opts ...request.Option) (*AdminRemoveUserFromGroupOutput, error)

AdminRemoveUserFromGroupWithContext is the same as AdminRemoveUserFromGroup with the addition of the ability to pass a context and additional request options.

See AdminRemoveUserFromGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminResetUserPassword

func (c *CognitoIdentityProvider) AdminResetUserPassword(input *AdminResetUserPasswordInput) (*AdminResetUserPasswordOutput, error)

AdminResetUserPassword API operation for Amazon Cognito Identity Provider.

Resets the specified user's password in a user pool as an administrator. Works on any user.

When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminResetUserPassword for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPassword

func (*CognitoIdentityProvider) AdminResetUserPasswordRequest

func (c *CognitoIdentityProvider) AdminResetUserPasswordRequest(input *AdminResetUserPasswordInput) (req *request.Request, output *AdminResetUserPasswordOutput)

AdminResetUserPasswordRequest generates a "aws/request.Request" representing the client's request for the AdminResetUserPassword operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminResetUserPassword for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminResetUserPassword method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminResetUserPasswordRequest method.
req, resp := client.AdminResetUserPasswordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPassword

func (*CognitoIdentityProvider) AdminResetUserPasswordWithContext

func (c *CognitoIdentityProvider) AdminResetUserPasswordWithContext(ctx aws.Context, input *AdminResetUserPasswordInput, opts ...request.Option) (*AdminResetUserPasswordOutput, error)

AdminResetUserPasswordWithContext is the same as AdminResetUserPassword with the addition of the ability to pass a context and additional request options.

See AdminResetUserPassword for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminRespondToAuthChallenge

func (c *CognitoIdentityProvider) AdminRespondToAuthChallenge(input *AdminRespondToAuthChallengeInput) (*AdminRespondToAuthChallengeOutput, error)

AdminRespondToAuthChallenge API operation for Amazon Cognito Identity Provider.

Responds to an authentication challenge, as an administrator.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminRespondToAuthChallenge for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeCodeMismatchException "CodeMismatchException"
This exception is thrown if the provided code does not match what the server
was expecting.

* ErrCodeExpiredCodeException "ExpiredCodeException"
This exception is thrown if a code has expired.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeInvalidPasswordException "InvalidPasswordException"
This exception is thrown when the Amazon Cognito service encounters an invalid
password.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

* ErrCodeMFAMethodNotFoundException "MFAMethodNotFoundException"
This exception is thrown when Amazon Cognito cannot find a multi-factor authentication
(MFA) method.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeAliasExistsException "AliasExistsException"
This exception is thrown when a user tries to confirm the account with an
email or phone number that has already been supplied as an alias from a different
account. This exception tells user that an account with this email or phone
already exists.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge

func (*CognitoIdentityProvider) AdminRespondToAuthChallengeRequest

func (c *CognitoIdentityProvider) AdminRespondToAuthChallengeRequest(input *AdminRespondToAuthChallengeInput) (req *request.Request, output *AdminRespondToAuthChallengeOutput)

AdminRespondToAuthChallengeRequest generates a "aws/request.Request" representing the client's request for the AdminRespondToAuthChallenge operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminRespondToAuthChallenge for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminRespondToAuthChallenge method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminRespondToAuthChallengeRequest method.
req, resp := client.AdminRespondToAuthChallengeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge

func (*CognitoIdentityProvider) AdminRespondToAuthChallengeWithContext

func (c *CognitoIdentityProvider) AdminRespondToAuthChallengeWithContext(ctx aws.Context, input *AdminRespondToAuthChallengeInput, opts ...request.Option) (*AdminRespondToAuthChallengeOutput, error)

AdminRespondToAuthChallengeWithContext is the same as AdminRespondToAuthChallenge with the addition of the ability to pass a context and additional request options.

See AdminRespondToAuthChallenge for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminSetUserSettings

func (c *CognitoIdentityProvider) AdminSetUserSettings(input *AdminSetUserSettingsInput) (*AdminSetUserSettingsOutput, error)

AdminSetUserSettings API operation for Amazon Cognito Identity Provider.

Sets all the user settings for a specified user name. Works on any user.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminSetUserSettings for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettings

func (*CognitoIdentityProvider) AdminSetUserSettingsRequest

func (c *CognitoIdentityProvider) AdminSetUserSettingsRequest(input *AdminSetUserSettingsInput) (req *request.Request, output *AdminSetUserSettingsOutput)

AdminSetUserSettingsRequest generates a "aws/request.Request" representing the client's request for the AdminSetUserSettings operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminSetUserSettings for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminSetUserSettings method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminSetUserSettingsRequest method.
req, resp := client.AdminSetUserSettingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettings

func (*CognitoIdentityProvider) AdminSetUserSettingsWithContext

func (c *CognitoIdentityProvider) AdminSetUserSettingsWithContext(ctx aws.Context, input *AdminSetUserSettingsInput, opts ...request.Option) (*AdminSetUserSettingsOutput, error)

AdminSetUserSettingsWithContext is the same as AdminSetUserSettings with the addition of the ability to pass a context and additional request options.

See AdminSetUserSettings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminUpdateDeviceStatus

func (c *CognitoIdentityProvider) AdminUpdateDeviceStatus(input *AdminUpdateDeviceStatusInput) (*AdminUpdateDeviceStatusOutput, error)

AdminUpdateDeviceStatus API operation for Amazon Cognito Identity Provider.

Updates the device status as an administrator.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminUpdateDeviceStatus for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus

func (*CognitoIdentityProvider) AdminUpdateDeviceStatusRequest

func (c *CognitoIdentityProvider) AdminUpdateDeviceStatusRequest(input *AdminUpdateDeviceStatusInput) (req *request.Request, output *AdminUpdateDeviceStatusOutput)

AdminUpdateDeviceStatusRequest generates a "aws/request.Request" representing the client's request for the AdminUpdateDeviceStatus operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminUpdateDeviceStatus for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminUpdateDeviceStatus method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminUpdateDeviceStatusRequest method.
req, resp := client.AdminUpdateDeviceStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus

func (*CognitoIdentityProvider) AdminUpdateDeviceStatusWithContext

func (c *CognitoIdentityProvider) AdminUpdateDeviceStatusWithContext(ctx aws.Context, input *AdminUpdateDeviceStatusInput, opts ...request.Option) (*AdminUpdateDeviceStatusOutput, error)

AdminUpdateDeviceStatusWithContext is the same as AdminUpdateDeviceStatus with the addition of the ability to pass a context and additional request options.

See AdminUpdateDeviceStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminUpdateUserAttributes

func (c *CognitoIdentityProvider) AdminUpdateUserAttributes(input *AdminUpdateUserAttributesInput) (*AdminUpdateUserAttributesOutput, error)

AdminUpdateUserAttributes API operation for Amazon Cognito Identity Provider.

Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.

For custom attributes, you must prepend the custom: prefix to the attribute name.

In addition to updating user attributes, this API can also be used to mark phone and email as verified.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminUpdateUserAttributes for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeAliasExistsException "AliasExistsException"
This exception is thrown when a user tries to confirm the account with an
email or phone number that has already been supplied as an alias from a different
account. This exception tells user that an account with this email or phone
already exists.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributes

func (*CognitoIdentityProvider) AdminUpdateUserAttributesRequest

func (c *CognitoIdentityProvider) AdminUpdateUserAttributesRequest(input *AdminUpdateUserAttributesInput) (req *request.Request, output *AdminUpdateUserAttributesOutput)

AdminUpdateUserAttributesRequest generates a "aws/request.Request" representing the client's request for the AdminUpdateUserAttributes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminUpdateUserAttributes for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminUpdateUserAttributes method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminUpdateUserAttributesRequest method.
req, resp := client.AdminUpdateUserAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributes

func (*CognitoIdentityProvider) AdminUpdateUserAttributesWithContext

func (c *CognitoIdentityProvider) AdminUpdateUserAttributesWithContext(ctx aws.Context, input *AdminUpdateUserAttributesInput, opts ...request.Option) (*AdminUpdateUserAttributesOutput, error)

AdminUpdateUserAttributesWithContext is the same as AdminUpdateUserAttributes with the addition of the ability to pass a context and additional request options.

See AdminUpdateUserAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) AdminUserGlobalSignOut

func (c *CognitoIdentityProvider) AdminUserGlobalSignOut(input *AdminUserGlobalSignOutInput) (*AdminUserGlobalSignOutOutput, error)

AdminUserGlobalSignOut API operation for Amazon Cognito Identity Provider.

Signs out users from all devices, as an administrator.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation AdminUserGlobalSignOut for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut

func (*CognitoIdentityProvider) AdminUserGlobalSignOutRequest

func (c *CognitoIdentityProvider) AdminUserGlobalSignOutRequest(input *AdminUserGlobalSignOutInput) (req *request.Request, output *AdminUserGlobalSignOutOutput)

AdminUserGlobalSignOutRequest generates a "aws/request.Request" representing the client's request for the AdminUserGlobalSignOut operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See AdminUserGlobalSignOut for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AdminUserGlobalSignOut method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the AdminUserGlobalSignOutRequest method.
req, resp := client.AdminUserGlobalSignOutRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut

func (*CognitoIdentityProvider) AdminUserGlobalSignOutWithContext

func (c *CognitoIdentityProvider) AdminUserGlobalSignOutWithContext(ctx aws.Context, input *AdminUserGlobalSignOutInput, opts ...request.Option) (*AdminUserGlobalSignOutOutput, error)

AdminUserGlobalSignOutWithContext is the same as AdminUserGlobalSignOut with the addition of the ability to pass a context and additional request options.

See AdminUserGlobalSignOut for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ChangePassword

func (c *CognitoIdentityProvider) ChangePassword(input *ChangePasswordInput) (*ChangePasswordOutput, error)

ChangePassword API operation for Amazon Cognito Identity Provider.

Changes the password for a specified user in a user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ChangePassword for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeInvalidPasswordException "InvalidPasswordException"
This exception is thrown when the Amazon Cognito service encounters an invalid
password.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePassword

func (*CognitoIdentityProvider) ChangePasswordRequest

func (c *CognitoIdentityProvider) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Request, output *ChangePasswordOutput)

ChangePasswordRequest generates a "aws/request.Request" representing the client's request for the ChangePassword operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ChangePassword for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ChangePassword method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ChangePasswordRequest method.
req, resp := client.ChangePasswordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePassword

func (*CognitoIdentityProvider) ChangePasswordWithContext

func (c *CognitoIdentityProvider) ChangePasswordWithContext(ctx aws.Context, input *ChangePasswordInput, opts ...request.Option) (*ChangePasswordOutput, error)

ChangePasswordWithContext is the same as ChangePassword with the addition of the ability to pass a context and additional request options.

See ChangePassword for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ConfirmDevice

func (c *CognitoIdentityProvider) ConfirmDevice(input *ConfirmDeviceInput) (*ConfirmDeviceOutput, error)

ConfirmDevice API operation for Amazon Cognito Identity Provider.

Confirms tracking of the device. This API call is the call that begins device tracking.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ConfirmDevice for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInvalidPasswordException "InvalidPasswordException"
This exception is thrown when the Amazon Cognito service encounters an invalid
password.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeUsernameExistsException "UsernameExistsException"
This exception is thrown when Amazon Cognito encounters a user name that
already exists in the user pool.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice

func (*CognitoIdentityProvider) ConfirmDeviceRequest

func (c *CognitoIdentityProvider) ConfirmDeviceRequest(input *ConfirmDeviceInput) (req *request.Request, output *ConfirmDeviceOutput)

ConfirmDeviceRequest generates a "aws/request.Request" representing the client's request for the ConfirmDevice operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ConfirmDevice for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ConfirmDevice method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ConfirmDeviceRequest method.
req, resp := client.ConfirmDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice

func (*CognitoIdentityProvider) ConfirmDeviceWithContext

func (c *CognitoIdentityProvider) ConfirmDeviceWithContext(ctx aws.Context, input *ConfirmDeviceInput, opts ...request.Option) (*ConfirmDeviceOutput, error)

ConfirmDeviceWithContext is the same as ConfirmDevice with the addition of the ability to pass a context and additional request options.

See ConfirmDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ConfirmForgotPassword

func (c *CognitoIdentityProvider) ConfirmForgotPassword(input *ConfirmForgotPasswordInput) (*ConfirmForgotPasswordOutput, error)

ConfirmForgotPassword API operation for Amazon Cognito Identity Provider.

Allows a user to enter a confirmation code to reset a forgotten password.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ConfirmForgotPassword for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeInvalidPasswordException "InvalidPasswordException"
This exception is thrown when the Amazon Cognito service encounters an invalid
password.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeCodeMismatchException "CodeMismatchException"
This exception is thrown if the provided code does not match what the server
was expecting.

* ErrCodeExpiredCodeException "ExpiredCodeException"
This exception is thrown if a code has expired.

* ErrCodeTooManyFailedAttemptsException "TooManyFailedAttemptsException"
This exception is thrown when the user has made too many failed attempts
for a given action (e.g., sign in).

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPassword

func (*CognitoIdentityProvider) ConfirmForgotPasswordRequest

func (c *CognitoIdentityProvider) ConfirmForgotPasswordRequest(input *ConfirmForgotPasswordInput) (req *request.Request, output *ConfirmForgotPasswordOutput)

ConfirmForgotPasswordRequest generates a "aws/request.Request" representing the client's request for the ConfirmForgotPassword operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ConfirmForgotPassword for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ConfirmForgotPassword method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ConfirmForgotPasswordRequest method.
req, resp := client.ConfirmForgotPasswordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPassword

func (*CognitoIdentityProvider) ConfirmForgotPasswordWithContext

func (c *CognitoIdentityProvider) ConfirmForgotPasswordWithContext(ctx aws.Context, input *ConfirmForgotPasswordInput, opts ...request.Option) (*ConfirmForgotPasswordOutput, error)

ConfirmForgotPasswordWithContext is the same as ConfirmForgotPassword with the addition of the ability to pass a context and additional request options.

See ConfirmForgotPassword for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ConfirmSignUp

func (c *CognitoIdentityProvider) ConfirmSignUp(input *ConfirmSignUpInput) (*ConfirmSignUpOutput, error)

ConfirmSignUp API operation for Amazon Cognito Identity Provider.

Confirms registration of a user and handles the existing alias from a previous user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ConfirmSignUp for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyFailedAttemptsException "TooManyFailedAttemptsException"
This exception is thrown when the user has made too many failed attempts
for a given action (e.g., sign in).

* ErrCodeCodeMismatchException "CodeMismatchException"
This exception is thrown if the provided code does not match what the server
was expecting.

* ErrCodeExpiredCodeException "ExpiredCodeException"
This exception is thrown if a code has expired.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeAliasExistsException "AliasExistsException"
This exception is thrown when a user tries to confirm the account with an
email or phone number that has already been supplied as an alias from a different
account. This exception tells user that an account with this email or phone
already exists.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUp

func (*CognitoIdentityProvider) ConfirmSignUpRequest

func (c *CognitoIdentityProvider) ConfirmSignUpRequest(input *ConfirmSignUpInput) (req *request.Request, output *ConfirmSignUpOutput)

ConfirmSignUpRequest generates a "aws/request.Request" representing the client's request for the ConfirmSignUp operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ConfirmSignUp for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ConfirmSignUp method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ConfirmSignUpRequest method.
req, resp := client.ConfirmSignUpRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUp

func (*CognitoIdentityProvider) ConfirmSignUpWithContext

func (c *CognitoIdentityProvider) ConfirmSignUpWithContext(ctx aws.Context, input *ConfirmSignUpInput, opts ...request.Option) (*ConfirmSignUpOutput, error)

ConfirmSignUpWithContext is the same as ConfirmSignUp with the addition of the ability to pass a context and additional request options.

See ConfirmSignUp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) CreateGroup

func (c *CognitoIdentityProvider) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error)

CreateGroup API operation for Amazon Cognito Identity Provider.

Creates a new group in the specified user pool.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation CreateGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeGroupExistsException "GroupExistsException"
This exception is thrown when Amazon Cognito encounters a group that already
exists in the user pool.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup

func (*CognitoIdentityProvider) CreateGroupRequest

func (c *CognitoIdentityProvider) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput)

CreateGroupRequest generates a "aws/request.Request" representing the client's request for the CreateGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateGroupRequest method.
req, resp := client.CreateGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup

func (*CognitoIdentityProvider) CreateGroupWithContext

func (c *CognitoIdentityProvider) CreateGroupWithContext(ctx aws.Context, input *CreateGroupInput, opts ...request.Option) (*CreateGroupOutput, error)

CreateGroupWithContext is the same as CreateGroup with the addition of the ability to pass a context and additional request options.

See CreateGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) CreateIdentityProvider

func (c *CognitoIdentityProvider) CreateIdentityProvider(input *CreateIdentityProviderInput) (*CreateIdentityProviderOutput, error)

CreateIdentityProvider API operation for Amazon Cognito Identity Provider.

Creates an identity provider for a user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation CreateIdentityProvider for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeDuplicateProviderException "DuplicateProviderException"
This exception is thrown when the provider is already supported by the user
pool.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider

func (*CognitoIdentityProvider) CreateIdentityProviderRequest

func (c *CognitoIdentityProvider) CreateIdentityProviderRequest(input *CreateIdentityProviderInput) (req *request.Request, output *CreateIdentityProviderOutput)

CreateIdentityProviderRequest generates a "aws/request.Request" representing the client's request for the CreateIdentityProvider operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateIdentityProvider for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateIdentityProvider method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateIdentityProviderRequest method.
req, resp := client.CreateIdentityProviderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider

func (*CognitoIdentityProvider) CreateIdentityProviderWithContext

func (c *CognitoIdentityProvider) CreateIdentityProviderWithContext(ctx aws.Context, input *CreateIdentityProviderInput, opts ...request.Option) (*CreateIdentityProviderOutput, error)

CreateIdentityProviderWithContext is the same as CreateIdentityProvider with the addition of the ability to pass a context and additional request options.

See CreateIdentityProvider for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) CreateUserImportJob

func (c *CognitoIdentityProvider) CreateUserImportJob(input *CreateUserImportJobInput) (*CreateUserImportJobOutput, error)

CreateUserImportJob API operation for Amazon Cognito Identity Provider.

Creates the user import job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation CreateUserImportJob for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodePreconditionNotMetException "PreconditionNotMetException"
This exception is thrown when a precondition is not met.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob

func (*CognitoIdentityProvider) CreateUserImportJobRequest

func (c *CognitoIdentityProvider) CreateUserImportJobRequest(input *CreateUserImportJobInput) (req *request.Request, output *CreateUserImportJobOutput)

CreateUserImportJobRequest generates a "aws/request.Request" representing the client's request for the CreateUserImportJob operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateUserImportJob for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateUserImportJob method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateUserImportJobRequest method.
req, resp := client.CreateUserImportJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob

func (*CognitoIdentityProvider) CreateUserImportJobWithContext

func (c *CognitoIdentityProvider) CreateUserImportJobWithContext(ctx aws.Context, input *CreateUserImportJobInput, opts ...request.Option) (*CreateUserImportJobOutput, error)

CreateUserImportJobWithContext is the same as CreateUserImportJob with the addition of the ability to pass a context and additional request options.

See CreateUserImportJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) CreateUserPool

func (c *CognitoIdentityProvider) CreateUserPool(input *CreateUserPoolInput) (*CreateUserPoolOutput, error)

CreateUserPool API operation for Amazon Cognito Identity Provider.

Creates a new Amazon Cognito user pool and sets the password policy for the pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation CreateUserPool for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException"
This exception is thrown when Amazon Cognito is not allowed to use your email
identity. HTTP status code: 400.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserPoolTaggingException "UserPoolTaggingException"
This exception is thrown when a user pool tag cannot be set or updated.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool

func (*CognitoIdentityProvider) CreateUserPoolClient

func (c *CognitoIdentityProvider) CreateUserPoolClient(input *CreateUserPoolClientInput) (*CreateUserPoolClientOutput, error)

CreateUserPoolClient API operation for Amazon Cognito Identity Provider.

Creates the user pool client.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation CreateUserPoolClient for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeScopeDoesNotExistException "ScopeDoesNotExistException"
This exception is thrown when the specified scope does not exist.

* ErrCodeInvalidOAuthFlowException "InvalidOAuthFlowException"
This exception is thrown when the specified OAuth flow is invalid.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient

func (*CognitoIdentityProvider) CreateUserPoolClientRequest

func (c *CognitoIdentityProvider) CreateUserPoolClientRequest(input *CreateUserPoolClientInput) (req *request.Request, output *CreateUserPoolClientOutput)

CreateUserPoolClientRequest generates a "aws/request.Request" representing the client's request for the CreateUserPoolClient operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateUserPoolClient for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateUserPoolClient method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateUserPoolClientRequest method.
req, resp := client.CreateUserPoolClientRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient

func (*CognitoIdentityProvider) CreateUserPoolClientWithContext

func (c *CognitoIdentityProvider) CreateUserPoolClientWithContext(ctx aws.Context, input *CreateUserPoolClientInput, opts ...request.Option) (*CreateUserPoolClientOutput, error)

CreateUserPoolClientWithContext is the same as CreateUserPoolClient with the addition of the ability to pass a context and additional request options.

See CreateUserPoolClient for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) CreateUserPoolDomain

func (c *CognitoIdentityProvider) CreateUserPoolDomain(input *CreateUserPoolDomainInput) (*CreateUserPoolDomainOutput, error)

CreateUserPoolDomain API operation for Amazon Cognito Identity Provider.

Creates a new domain for a user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation CreateUserPoolDomain for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain

func (*CognitoIdentityProvider) CreateUserPoolDomainRequest

func (c *CognitoIdentityProvider) CreateUserPoolDomainRequest(input *CreateUserPoolDomainInput) (req *request.Request, output *CreateUserPoolDomainOutput)

CreateUserPoolDomainRequest generates a "aws/request.Request" representing the client's request for the CreateUserPoolDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateUserPoolDomain for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateUserPoolDomain method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateUserPoolDomainRequest method.
req, resp := client.CreateUserPoolDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain

func (*CognitoIdentityProvider) CreateUserPoolDomainWithContext

func (c *CognitoIdentityProvider) CreateUserPoolDomainWithContext(ctx aws.Context, input *CreateUserPoolDomainInput, opts ...request.Option) (*CreateUserPoolDomainOutput, error)

CreateUserPoolDomainWithContext is the same as CreateUserPoolDomain with the addition of the ability to pass a context and additional request options.

See CreateUserPoolDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) CreateUserPoolRequest

func (c *CognitoIdentityProvider) CreateUserPoolRequest(input *CreateUserPoolInput) (req *request.Request, output *CreateUserPoolOutput)

CreateUserPoolRequest generates a "aws/request.Request" representing the client's request for the CreateUserPool operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See CreateUserPool for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateUserPool method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the CreateUserPoolRequest method.
req, resp := client.CreateUserPoolRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool

func (*CognitoIdentityProvider) CreateUserPoolWithContext

func (c *CognitoIdentityProvider) CreateUserPoolWithContext(ctx aws.Context, input *CreateUserPoolInput, opts ...request.Option) (*CreateUserPoolOutput, error)

CreateUserPoolWithContext is the same as CreateUserPool with the addition of the ability to pass a context and additional request options.

See CreateUserPool for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DeleteGroup

func (c *CognitoIdentityProvider) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error)

DeleteGroup API operation for Amazon Cognito Identity Provider.

Deletes a group. Currently only groups with no members can be deleted.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DeleteGroup for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup

func (*CognitoIdentityProvider) DeleteGroupRequest

func (c *CognitoIdentityProvider) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput)

DeleteGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteGroupRequest method.
req, resp := client.DeleteGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup

func (*CognitoIdentityProvider) DeleteGroupWithContext

func (c *CognitoIdentityProvider) DeleteGroupWithContext(ctx aws.Context, input *DeleteGroupInput, opts ...request.Option) (*DeleteGroupOutput, error)

DeleteGroupWithContext is the same as DeleteGroup with the addition of the ability to pass a context and additional request options.

See DeleteGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DeleteIdentityProvider

func (c *CognitoIdentityProvider) DeleteIdentityProvider(input *DeleteIdentityProviderInput) (*DeleteIdentityProviderOutput, error)

DeleteIdentityProvider API operation for Amazon Cognito Identity Provider.

Deletes an identity provider for a user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DeleteIdentityProvider for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUnsupportedIdentityProviderException "UnsupportedIdentityProviderException"
This exception is thrown when the specified identifier is not supported.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider

func (*CognitoIdentityProvider) DeleteIdentityProviderRequest

func (c *CognitoIdentityProvider) DeleteIdentityProviderRequest(input *DeleteIdentityProviderInput) (req *request.Request, output *DeleteIdentityProviderOutput)

DeleteIdentityProviderRequest generates a "aws/request.Request" representing the client's request for the DeleteIdentityProvider operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteIdentityProvider for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteIdentityProvider method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteIdentityProviderRequest method.
req, resp := client.DeleteIdentityProviderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider

func (*CognitoIdentityProvider) DeleteIdentityProviderWithContext

func (c *CognitoIdentityProvider) DeleteIdentityProviderWithContext(ctx aws.Context, input *DeleteIdentityProviderInput, opts ...request.Option) (*DeleteIdentityProviderOutput, error)

DeleteIdentityProviderWithContext is the same as DeleteIdentityProvider with the addition of the ability to pass a context and additional request options.

See DeleteIdentityProvider for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DeleteUser

func (c *CognitoIdentityProvider) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error)

DeleteUser API operation for Amazon Cognito Identity Provider.

Allows a user to delete one's self.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DeleteUser for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUser

func (*CognitoIdentityProvider) DeleteUserAttributes

func (c *CognitoIdentityProvider) DeleteUserAttributes(input *DeleteUserAttributesInput) (*DeleteUserAttributesOutput, error)

DeleteUserAttributes API operation for Amazon Cognito Identity Provider.

Deletes the attributes for a user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DeleteUserAttributes for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributes

func (*CognitoIdentityProvider) DeleteUserAttributesRequest

func (c *CognitoIdentityProvider) DeleteUserAttributesRequest(input *DeleteUserAttributesInput) (req *request.Request, output *DeleteUserAttributesOutput)

DeleteUserAttributesRequest generates a "aws/request.Request" representing the client's request for the DeleteUserAttributes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteUserAttributes for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteUserAttributes method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteUserAttributesRequest method.
req, resp := client.DeleteUserAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributes

func (*CognitoIdentityProvider) DeleteUserAttributesWithContext

func (c *CognitoIdentityProvider) DeleteUserAttributesWithContext(ctx aws.Context, input *DeleteUserAttributesInput, opts ...request.Option) (*DeleteUserAttributesOutput, error)

DeleteUserAttributesWithContext is the same as DeleteUserAttributes with the addition of the ability to pass a context and additional request options.

See DeleteUserAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DeleteUserPool

func (c *CognitoIdentityProvider) DeleteUserPool(input *DeleteUserPoolInput) (*DeleteUserPoolOutput, error)

DeleteUserPool API operation for Amazon Cognito Identity Provider.

Deletes the specified Amazon Cognito user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DeleteUserPool for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserImportInProgressException "UserImportInProgressException"
This exception is thrown when you are trying to modify a user pool while
a user import job is in progress for that pool.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPool

func (*CognitoIdentityProvider) DeleteUserPoolClient

func (c *CognitoIdentityProvider) DeleteUserPoolClient(input *DeleteUserPoolClientInput) (*DeleteUserPoolClientOutput, error)

DeleteUserPoolClient API operation for Amazon Cognito Identity Provider.

Allows the developer to delete the user pool client.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DeleteUserPoolClient for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClient

func (*CognitoIdentityProvider) DeleteUserPoolClientRequest

func (c *CognitoIdentityProvider) DeleteUserPoolClientRequest(input *DeleteUserPoolClientInput) (req *request.Request, output *DeleteUserPoolClientOutput)

DeleteUserPoolClientRequest generates a "aws/request.Request" representing the client's request for the DeleteUserPoolClient operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteUserPoolClient for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteUserPoolClient method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteUserPoolClientRequest method.
req, resp := client.DeleteUserPoolClientRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClient

func (*CognitoIdentityProvider) DeleteUserPoolClientWithContext

func (c *CognitoIdentityProvider) DeleteUserPoolClientWithContext(ctx aws.Context, input *DeleteUserPoolClientInput, opts ...request.Option) (*DeleteUserPoolClientOutput, error)

DeleteUserPoolClientWithContext is the same as DeleteUserPoolClient with the addition of the ability to pass a context and additional request options.

See DeleteUserPoolClient for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DeleteUserPoolDomain

func (c *CognitoIdentityProvider) DeleteUserPoolDomain(input *DeleteUserPoolDomainInput) (*DeleteUserPoolDomainOutput, error)

DeleteUserPoolDomain API operation for Amazon Cognito Identity Provider.

Deletes a domain for a user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DeleteUserPoolDomain for usage and error information.

Returned Error Codes:

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain

func (*CognitoIdentityProvider) DeleteUserPoolDomainRequest

func (c *CognitoIdentityProvider) DeleteUserPoolDomainRequest(input *DeleteUserPoolDomainInput) (req *request.Request, output *DeleteUserPoolDomainOutput)

DeleteUserPoolDomainRequest generates a "aws/request.Request" representing the client's request for the DeleteUserPoolDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteUserPoolDomain for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteUserPoolDomain method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteUserPoolDomainRequest method.
req, resp := client.DeleteUserPoolDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain

func (*CognitoIdentityProvider) DeleteUserPoolDomainWithContext

func (c *CognitoIdentityProvider) DeleteUserPoolDomainWithContext(ctx aws.Context, input *DeleteUserPoolDomainInput, opts ...request.Option) (*DeleteUserPoolDomainOutput, error)

DeleteUserPoolDomainWithContext is the same as DeleteUserPoolDomain with the addition of the ability to pass a context and additional request options.

See DeleteUserPoolDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DeleteUserPoolRequest

func (c *CognitoIdentityProvider) DeleteUserPoolRequest(input *DeleteUserPoolInput) (req *request.Request, output *DeleteUserPoolOutput)

DeleteUserPoolRequest generates a "aws/request.Request" representing the client's request for the DeleteUserPool operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteUserPool for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteUserPool method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteUserPoolRequest method.
req, resp := client.DeleteUserPoolRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPool

func (*CognitoIdentityProvider) DeleteUserPoolWithContext

func (c *CognitoIdentityProvider) DeleteUserPoolWithContext(ctx aws.Context, input *DeleteUserPoolInput, opts ...request.Option) (*DeleteUserPoolOutput, error)

DeleteUserPoolWithContext is the same as DeleteUserPool with the addition of the ability to pass a context and additional request options.

See DeleteUserPool for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DeleteUserRequest

func (c *CognitoIdentityProvider) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput)

DeleteUserRequest generates a "aws/request.Request" representing the client's request for the DeleteUser operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DeleteUser for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteUser method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DeleteUserRequest method.
req, resp := client.DeleteUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUser

func (*CognitoIdentityProvider) DeleteUserWithContext

func (c *CognitoIdentityProvider) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error)

DeleteUserWithContext is the same as DeleteUser with the addition of the ability to pass a context and additional request options.

See DeleteUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DescribeIdentityProvider

func (c *CognitoIdentityProvider) DescribeIdentityProvider(input *DescribeIdentityProviderInput) (*DescribeIdentityProviderOutput, error)

DescribeIdentityProvider API operation for Amazon Cognito Identity Provider.

Gets information about a specific identity provider.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DescribeIdentityProvider for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider

func (*CognitoIdentityProvider) DescribeIdentityProviderRequest

func (c *CognitoIdentityProvider) DescribeIdentityProviderRequest(input *DescribeIdentityProviderInput) (req *request.Request, output *DescribeIdentityProviderOutput)

DescribeIdentityProviderRequest generates a "aws/request.Request" representing the client's request for the DescribeIdentityProvider operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeIdentityProvider for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeIdentityProvider method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeIdentityProviderRequest method.
req, resp := client.DescribeIdentityProviderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider

func (*CognitoIdentityProvider) DescribeIdentityProviderWithContext

func (c *CognitoIdentityProvider) DescribeIdentityProviderWithContext(ctx aws.Context, input *DescribeIdentityProviderInput, opts ...request.Option) (*DescribeIdentityProviderOutput, error)

DescribeIdentityProviderWithContext is the same as DescribeIdentityProvider with the addition of the ability to pass a context and additional request options.

See DescribeIdentityProvider for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DescribeUserImportJob

func (c *CognitoIdentityProvider) DescribeUserImportJob(input *DescribeUserImportJobInput) (*DescribeUserImportJobOutput, error)

DescribeUserImportJob API operation for Amazon Cognito Identity Provider.

Describes the user import job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DescribeUserImportJob for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob

func (*CognitoIdentityProvider) DescribeUserImportJobRequest

func (c *CognitoIdentityProvider) DescribeUserImportJobRequest(input *DescribeUserImportJobInput) (req *request.Request, output *DescribeUserImportJobOutput)

DescribeUserImportJobRequest generates a "aws/request.Request" representing the client's request for the DescribeUserImportJob operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeUserImportJob for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeUserImportJob method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeUserImportJobRequest method.
req, resp := client.DescribeUserImportJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob

func (*CognitoIdentityProvider) DescribeUserImportJobWithContext

func (c *CognitoIdentityProvider) DescribeUserImportJobWithContext(ctx aws.Context, input *DescribeUserImportJobInput, opts ...request.Option) (*DescribeUserImportJobOutput, error)

DescribeUserImportJobWithContext is the same as DescribeUserImportJob with the addition of the ability to pass a context and additional request options.

See DescribeUserImportJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DescribeUserPool

func (c *CognitoIdentityProvider) DescribeUserPool(input *DescribeUserPoolInput) (*DescribeUserPoolOutput, error)

DescribeUserPool API operation for Amazon Cognito Identity Provider.

Returns the configuration information and metadata of the specified user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DescribeUserPool for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserPoolTaggingException "UserPoolTaggingException"
This exception is thrown when a user pool tag cannot be set or updated.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool

func (*CognitoIdentityProvider) DescribeUserPoolClient

func (c *CognitoIdentityProvider) DescribeUserPoolClient(input *DescribeUserPoolClientInput) (*DescribeUserPoolClientOutput, error)

DescribeUserPoolClient API operation for Amazon Cognito Identity Provider.

Client method for returning the configuration information and metadata of the specified user pool client.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DescribeUserPoolClient for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient

func (*CognitoIdentityProvider) DescribeUserPoolClientRequest

func (c *CognitoIdentityProvider) DescribeUserPoolClientRequest(input *DescribeUserPoolClientInput) (req *request.Request, output *DescribeUserPoolClientOutput)

DescribeUserPoolClientRequest generates a "aws/request.Request" representing the client's request for the DescribeUserPoolClient operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeUserPoolClient for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeUserPoolClient method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeUserPoolClientRequest method.
req, resp := client.DescribeUserPoolClientRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient

func (*CognitoIdentityProvider) DescribeUserPoolClientWithContext

func (c *CognitoIdentityProvider) DescribeUserPoolClientWithContext(ctx aws.Context, input *DescribeUserPoolClientInput, opts ...request.Option) (*DescribeUserPoolClientOutput, error)

DescribeUserPoolClientWithContext is the same as DescribeUserPoolClient with the addition of the ability to pass a context and additional request options.

See DescribeUserPoolClient for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DescribeUserPoolDomain

func (c *CognitoIdentityProvider) DescribeUserPoolDomain(input *DescribeUserPoolDomainInput) (*DescribeUserPoolDomainOutput, error)

DescribeUserPoolDomain API operation for Amazon Cognito Identity Provider.

Gets information about a domain.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation DescribeUserPoolDomain for usage and error information.

Returned Error Codes:

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain

func (*CognitoIdentityProvider) DescribeUserPoolDomainRequest

func (c *CognitoIdentityProvider) DescribeUserPoolDomainRequest(input *DescribeUserPoolDomainInput) (req *request.Request, output *DescribeUserPoolDomainOutput)

DescribeUserPoolDomainRequest generates a "aws/request.Request" representing the client's request for the DescribeUserPoolDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeUserPoolDomain for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeUserPoolDomain method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeUserPoolDomainRequest method.
req, resp := client.DescribeUserPoolDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain

func (*CognitoIdentityProvider) DescribeUserPoolDomainWithContext

func (c *CognitoIdentityProvider) DescribeUserPoolDomainWithContext(ctx aws.Context, input *DescribeUserPoolDomainInput, opts ...request.Option) (*DescribeUserPoolDomainOutput, error)

DescribeUserPoolDomainWithContext is the same as DescribeUserPoolDomain with the addition of the ability to pass a context and additional request options.

See DescribeUserPoolDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) DescribeUserPoolRequest

func (c *CognitoIdentityProvider) DescribeUserPoolRequest(input *DescribeUserPoolInput) (req *request.Request, output *DescribeUserPoolOutput)

DescribeUserPoolRequest generates a "aws/request.Request" representing the client's request for the DescribeUserPool operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See DescribeUserPool for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeUserPool method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the DescribeUserPoolRequest method.
req, resp := client.DescribeUserPoolRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool

func (*CognitoIdentityProvider) DescribeUserPoolWithContext

func (c *CognitoIdentityProvider) DescribeUserPoolWithContext(ctx aws.Context, input *DescribeUserPoolInput, opts ...request.Option) (*DescribeUserPoolOutput, error)

DescribeUserPoolWithContext is the same as DescribeUserPool with the addition of the ability to pass a context and additional request options.

See DescribeUserPool for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ForgetDevice

func (c *CognitoIdentityProvider) ForgetDevice(input *ForgetDeviceInput) (*ForgetDeviceOutput, error)

ForgetDevice API operation for Amazon Cognito Identity Provider.

Forgets the specified device.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ForgetDevice for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice

func (*CognitoIdentityProvider) ForgetDeviceRequest

func (c *CognitoIdentityProvider) ForgetDeviceRequest(input *ForgetDeviceInput) (req *request.Request, output *ForgetDeviceOutput)

ForgetDeviceRequest generates a "aws/request.Request" representing the client's request for the ForgetDevice operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ForgetDevice for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ForgetDevice method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ForgetDeviceRequest method.
req, resp := client.ForgetDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice

func (*CognitoIdentityProvider) ForgetDeviceWithContext

func (c *CognitoIdentityProvider) ForgetDeviceWithContext(ctx aws.Context, input *ForgetDeviceInput, opts ...request.Option) (*ForgetDeviceOutput, error)

ForgetDeviceWithContext is the same as ForgetDevice with the addition of the ability to pass a context and additional request options.

See ForgetDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ForgotPassword

func (c *CognitoIdentityProvider) ForgotPassword(input *ForgotPasswordInput) (*ForgotPasswordOutput, error)

ForgotPassword API operation for Amazon Cognito Identity Provider.

Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. If a verified phone number exists for the user, the confirmation code is sent to the phone number. Otherwise, if a verified email exists, the confirmation code is sent to the email. If neither a verified phone number nor a verified email exists, InvalidParameterException is thrown. To use the confirmation code for resetting the password, call ConfirmForgotPassword (API_ConfirmForgotPassword.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ForgotPassword for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException"
This exception is thrown when Amazon Cognito is not allowed to use your email
identity. HTTP status code: 400.

* ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException"
This exception is thrown when a verification code fails to deliver successfully.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPassword

func (*CognitoIdentityProvider) ForgotPasswordRequest

func (c *CognitoIdentityProvider) ForgotPasswordRequest(input *ForgotPasswordInput) (req *request.Request, output *ForgotPasswordOutput)

ForgotPasswordRequest generates a "aws/request.Request" representing the client's request for the ForgotPassword operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ForgotPassword for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ForgotPassword method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ForgotPasswordRequest method.
req, resp := client.ForgotPasswordRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPassword

func (*CognitoIdentityProvider) ForgotPasswordWithContext

func (c *CognitoIdentityProvider) ForgotPasswordWithContext(ctx aws.Context, input *ForgotPasswordInput, opts ...request.Option) (*ForgotPasswordOutput, error)

ForgotPasswordWithContext is the same as ForgotPassword with the addition of the ability to pass a context and additional request options.

See ForgotPassword for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) GetCSVHeader

func (c *CognitoIdentityProvider) GetCSVHeader(input *GetCSVHeaderInput) (*GetCSVHeaderOutput, error)

GetCSVHeader API operation for Amazon Cognito Identity Provider.

Gets the header information for the .csv file to be used as input for the user import job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation GetCSVHeader for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader

func (*CognitoIdentityProvider) GetCSVHeaderRequest

func (c *CognitoIdentityProvider) GetCSVHeaderRequest(input *GetCSVHeaderInput) (req *request.Request, output *GetCSVHeaderOutput)

GetCSVHeaderRequest generates a "aws/request.Request" representing the client's request for the GetCSVHeader operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetCSVHeader for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetCSVHeader method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetCSVHeaderRequest method.
req, resp := client.GetCSVHeaderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader

func (*CognitoIdentityProvider) GetCSVHeaderWithContext

func (c *CognitoIdentityProvider) GetCSVHeaderWithContext(ctx aws.Context, input *GetCSVHeaderInput, opts ...request.Option) (*GetCSVHeaderOutput, error)

GetCSVHeaderWithContext is the same as GetCSVHeader with the addition of the ability to pass a context and additional request options.

See GetCSVHeader for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) GetDevice

func (c *CognitoIdentityProvider) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error)

GetDevice API operation for Amazon Cognito Identity Provider.

Gets the device.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation GetDevice for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice

func (*CognitoIdentityProvider) GetDeviceRequest

func (c *CognitoIdentityProvider) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput)

GetDeviceRequest generates a "aws/request.Request" representing the client's request for the GetDevice operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetDevice for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetDevice method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetDeviceRequest method.
req, resp := client.GetDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice

func (*CognitoIdentityProvider) GetDeviceWithContext

func (c *CognitoIdentityProvider) GetDeviceWithContext(ctx aws.Context, input *GetDeviceInput, opts ...request.Option) (*GetDeviceOutput, error)

GetDeviceWithContext is the same as GetDevice with the addition of the ability to pass a context and additional request options.

See GetDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) GetGroup

func (c *CognitoIdentityProvider) GetGroup(input *GetGroupInput) (*GetGroupOutput, error)

GetGroup API operation for Amazon Cognito Identity Provider.

Gets a group.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation GetGroup for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup

func (*CognitoIdentityProvider) GetGroupRequest

func (c *CognitoIdentityProvider) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput)

GetGroupRequest generates a "aws/request.Request" representing the client's request for the GetGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetGroupRequest method.
req, resp := client.GetGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup

func (*CognitoIdentityProvider) GetGroupWithContext

func (c *CognitoIdentityProvider) GetGroupWithContext(ctx aws.Context, input *GetGroupInput, opts ...request.Option) (*GetGroupOutput, error)

GetGroupWithContext is the same as GetGroup with the addition of the ability to pass a context and additional request options.

See GetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) GetIdentityProviderByIdentifier

func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifier(input *GetIdentityProviderByIdentifierInput) (*GetIdentityProviderByIdentifierOutput, error)

GetIdentityProviderByIdentifier API operation for Amazon Cognito Identity Provider.

Gets the specified identity provider.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation GetIdentityProviderByIdentifier for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier

func (*CognitoIdentityProvider) GetIdentityProviderByIdentifierRequest

func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifierRequest(input *GetIdentityProviderByIdentifierInput) (req *request.Request, output *GetIdentityProviderByIdentifierOutput)

GetIdentityProviderByIdentifierRequest generates a "aws/request.Request" representing the client's request for the GetIdentityProviderByIdentifier operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetIdentityProviderByIdentifier for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetIdentityProviderByIdentifier method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetIdentityProviderByIdentifierRequest method.
req, resp := client.GetIdentityProviderByIdentifierRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier

func (*CognitoIdentityProvider) GetIdentityProviderByIdentifierWithContext

func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifierWithContext(ctx aws.Context, input *GetIdentityProviderByIdentifierInput, opts ...request.Option) (*GetIdentityProviderByIdentifierOutput, error)

GetIdentityProviderByIdentifierWithContext is the same as GetIdentityProviderByIdentifier with the addition of the ability to pass a context and additional request options.

See GetIdentityProviderByIdentifier for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) GetUser

func (c *CognitoIdentityProvider) GetUser(input *GetUserInput) (*GetUserOutput, error)

GetUser API operation for Amazon Cognito Identity Provider.

Gets the user attributes and metadata for a user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation GetUser for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUser

func (*CognitoIdentityProvider) GetUserAttributeVerificationCode

func (c *CognitoIdentityProvider) GetUserAttributeVerificationCode(input *GetUserAttributeVerificationCodeInput) (*GetUserAttributeVerificationCodeOutput, error)

GetUserAttributeVerificationCode API operation for Amazon Cognito Identity Provider.

Gets the user attribute verification code for the specified attribute name.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation GetUserAttributeVerificationCode for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException"
This exception is thrown when Amazon Cognito is not allowed to use your email
identity. HTTP status code: 400.

* ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException"
This exception is thrown when a verification code fails to deliver successfully.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCode

func (*CognitoIdentityProvider) GetUserAttributeVerificationCodeRequest

func (c *CognitoIdentityProvider) GetUserAttributeVerificationCodeRequest(input *GetUserAttributeVerificationCodeInput) (req *request.Request, output *GetUserAttributeVerificationCodeOutput)

GetUserAttributeVerificationCodeRequest generates a "aws/request.Request" representing the client's request for the GetUserAttributeVerificationCode operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetUserAttributeVerificationCode for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetUserAttributeVerificationCode method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetUserAttributeVerificationCodeRequest method.
req, resp := client.GetUserAttributeVerificationCodeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCode

func (*CognitoIdentityProvider) GetUserAttributeVerificationCodeWithContext

func (c *CognitoIdentityProvider) GetUserAttributeVerificationCodeWithContext(ctx aws.Context, input *GetUserAttributeVerificationCodeInput, opts ...request.Option) (*GetUserAttributeVerificationCodeOutput, error)

GetUserAttributeVerificationCodeWithContext is the same as GetUserAttributeVerificationCode with the addition of the ability to pass a context and additional request options.

See GetUserAttributeVerificationCode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) GetUserRequest

func (c *CognitoIdentityProvider) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput)

GetUserRequest generates a "aws/request.Request" representing the client's request for the GetUser operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GetUser for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GetUser method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GetUserRequest method.
req, resp := client.GetUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUser

func (*CognitoIdentityProvider) GetUserWithContext

func (c *CognitoIdentityProvider) GetUserWithContext(ctx aws.Context, input *GetUserInput, opts ...request.Option) (*GetUserOutput, error)

GetUserWithContext is the same as GetUser with the addition of the ability to pass a context and additional request options.

See GetUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) GlobalSignOut

func (c *CognitoIdentityProvider) GlobalSignOut(input *GlobalSignOutInput) (*GlobalSignOutOutput, error)

GlobalSignOut API operation for Amazon Cognito Identity Provider.

Signs out users from all devices.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation GlobalSignOut for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut

func (*CognitoIdentityProvider) GlobalSignOutRequest

func (c *CognitoIdentityProvider) GlobalSignOutRequest(input *GlobalSignOutInput) (req *request.Request, output *GlobalSignOutOutput)

GlobalSignOutRequest generates a "aws/request.Request" representing the client's request for the GlobalSignOut operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See GlobalSignOut for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the GlobalSignOut method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the GlobalSignOutRequest method.
req, resp := client.GlobalSignOutRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut

func (*CognitoIdentityProvider) GlobalSignOutWithContext

func (c *CognitoIdentityProvider) GlobalSignOutWithContext(ctx aws.Context, input *GlobalSignOutInput, opts ...request.Option) (*GlobalSignOutOutput, error)

GlobalSignOutWithContext is the same as GlobalSignOut with the addition of the ability to pass a context and additional request options.

See GlobalSignOut for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) InitiateAuth

func (c *CognitoIdentityProvider) InitiateAuth(input *InitiateAuthInput) (*InitiateAuthOutput, error)

InitiateAuth API operation for Amazon Cognito Identity Provider.

Initiates the authentication flow.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation InitiateAuth for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth

func (*CognitoIdentityProvider) InitiateAuthRequest

func (c *CognitoIdentityProvider) InitiateAuthRequest(input *InitiateAuthInput) (req *request.Request, output *InitiateAuthOutput)

InitiateAuthRequest generates a "aws/request.Request" representing the client's request for the InitiateAuth operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See InitiateAuth for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the InitiateAuth method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the InitiateAuthRequest method.
req, resp := client.InitiateAuthRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth

func (*CognitoIdentityProvider) InitiateAuthWithContext

func (c *CognitoIdentityProvider) InitiateAuthWithContext(ctx aws.Context, input *InitiateAuthInput, opts ...request.Option) (*InitiateAuthOutput, error)

InitiateAuthWithContext is the same as InitiateAuth with the addition of the ability to pass a context and additional request options.

See InitiateAuth for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ListDevices

func (c *CognitoIdentityProvider) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error)

ListDevices API operation for Amazon Cognito Identity Provider.

Lists the devices.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ListDevices for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices

func (*CognitoIdentityProvider) ListDevicesRequest

func (c *CognitoIdentityProvider) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput)

ListDevicesRequest generates a "aws/request.Request" representing the client's request for the ListDevices operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListDevices for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListDevices method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListDevicesRequest method.
req, resp := client.ListDevicesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices

func (*CognitoIdentityProvider) ListDevicesWithContext

func (c *CognitoIdentityProvider) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInput, opts ...request.Option) (*ListDevicesOutput, error)

ListDevicesWithContext is the same as ListDevices with the addition of the ability to pass a context and additional request options.

See ListDevices for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ListGroups

func (c *CognitoIdentityProvider) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error)

ListGroups API operation for Amazon Cognito Identity Provider.

Lists the groups associated with a user pool.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ListGroups for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups

func (*CognitoIdentityProvider) ListGroupsRequest

func (c *CognitoIdentityProvider) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput)

ListGroupsRequest generates a "aws/request.Request" representing the client's request for the ListGroups operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListGroups for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListGroups method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListGroupsRequest method.
req, resp := client.ListGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups

func (*CognitoIdentityProvider) ListGroupsWithContext

func (c *CognitoIdentityProvider) ListGroupsWithContext(ctx aws.Context, input *ListGroupsInput, opts ...request.Option) (*ListGroupsOutput, error)

ListGroupsWithContext is the same as ListGroups with the addition of the ability to pass a context and additional request options.

See ListGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ListIdentityProviders

func (c *CognitoIdentityProvider) ListIdentityProviders(input *ListIdentityProvidersInput) (*ListIdentityProvidersOutput, error)

ListIdentityProviders API operation for Amazon Cognito Identity Provider.

Lists information about all identity providers for a user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ListIdentityProviders for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders

func (*CognitoIdentityProvider) ListIdentityProvidersRequest

func (c *CognitoIdentityProvider) ListIdentityProvidersRequest(input *ListIdentityProvidersInput) (req *request.Request, output *ListIdentityProvidersOutput)

ListIdentityProvidersRequest generates a "aws/request.Request" representing the client's request for the ListIdentityProviders operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListIdentityProviders for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListIdentityProviders method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListIdentityProvidersRequest method.
req, resp := client.ListIdentityProvidersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders

func (*CognitoIdentityProvider) ListIdentityProvidersWithContext

func (c *CognitoIdentityProvider) ListIdentityProvidersWithContext(ctx aws.Context, input *ListIdentityProvidersInput, opts ...request.Option) (*ListIdentityProvidersOutput, error)

ListIdentityProvidersWithContext is the same as ListIdentityProviders with the addition of the ability to pass a context and additional request options.

See ListIdentityProviders for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ListUserImportJobs

func (c *CognitoIdentityProvider) ListUserImportJobs(input *ListUserImportJobsInput) (*ListUserImportJobsOutput, error)

ListUserImportJobs API operation for Amazon Cognito Identity Provider.

Lists the user import jobs.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ListUserImportJobs for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs

func (*CognitoIdentityProvider) ListUserImportJobsRequest

func (c *CognitoIdentityProvider) ListUserImportJobsRequest(input *ListUserImportJobsInput) (req *request.Request, output *ListUserImportJobsOutput)

ListUserImportJobsRequest generates a "aws/request.Request" representing the client's request for the ListUserImportJobs operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListUserImportJobs for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListUserImportJobs method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListUserImportJobsRequest method.
req, resp := client.ListUserImportJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs

func (*CognitoIdentityProvider) ListUserImportJobsWithContext

func (c *CognitoIdentityProvider) ListUserImportJobsWithContext(ctx aws.Context, input *ListUserImportJobsInput, opts ...request.Option) (*ListUserImportJobsOutput, error)

ListUserImportJobsWithContext is the same as ListUserImportJobs with the addition of the ability to pass a context and additional request options.

See ListUserImportJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ListUserPoolClients

func (c *CognitoIdentityProvider) ListUserPoolClients(input *ListUserPoolClientsInput) (*ListUserPoolClientsOutput, error)

ListUserPoolClients API operation for Amazon Cognito Identity Provider.

Lists the clients that have been created for the specified user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ListUserPoolClients for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients

func (*CognitoIdentityProvider) ListUserPoolClientsRequest

func (c *CognitoIdentityProvider) ListUserPoolClientsRequest(input *ListUserPoolClientsInput) (req *request.Request, output *ListUserPoolClientsOutput)

ListUserPoolClientsRequest generates a "aws/request.Request" representing the client's request for the ListUserPoolClients operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListUserPoolClients for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListUserPoolClients method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListUserPoolClientsRequest method.
req, resp := client.ListUserPoolClientsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients

func (*CognitoIdentityProvider) ListUserPoolClientsWithContext

func (c *CognitoIdentityProvider) ListUserPoolClientsWithContext(ctx aws.Context, input *ListUserPoolClientsInput, opts ...request.Option) (*ListUserPoolClientsOutput, error)

ListUserPoolClientsWithContext is the same as ListUserPoolClients with the addition of the ability to pass a context and additional request options.

See ListUserPoolClients for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ListUserPools

func (c *CognitoIdentityProvider) ListUserPools(input *ListUserPoolsInput) (*ListUserPoolsOutput, error)

ListUserPools API operation for Amazon Cognito Identity Provider.

Lists the user pools associated with an AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ListUserPools for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools

func (*CognitoIdentityProvider) ListUserPoolsRequest

func (c *CognitoIdentityProvider) ListUserPoolsRequest(input *ListUserPoolsInput) (req *request.Request, output *ListUserPoolsOutput)

ListUserPoolsRequest generates a "aws/request.Request" representing the client's request for the ListUserPools operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListUserPools for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListUserPools method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListUserPoolsRequest method.
req, resp := client.ListUserPoolsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools

func (*CognitoIdentityProvider) ListUserPoolsWithContext

func (c *CognitoIdentityProvider) ListUserPoolsWithContext(ctx aws.Context, input *ListUserPoolsInput, opts ...request.Option) (*ListUserPoolsOutput, error)

ListUserPoolsWithContext is the same as ListUserPools with the addition of the ability to pass a context and additional request options.

See ListUserPools for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ListUsers

func (c *CognitoIdentityProvider) ListUsers(input *ListUsersInput) (*ListUsersOutput, error)

ListUsers API operation for Amazon Cognito Identity Provider.

Lists the users in the Amazon Cognito user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ListUsers for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers

func (*CognitoIdentityProvider) ListUsersInGroup

func (c *CognitoIdentityProvider) ListUsersInGroup(input *ListUsersInGroupInput) (*ListUsersInGroupOutput, error)

ListUsersInGroup API operation for Amazon Cognito Identity Provider.

Lists the users in the specified group.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ListUsersInGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup

func (*CognitoIdentityProvider) ListUsersInGroupRequest

func (c *CognitoIdentityProvider) ListUsersInGroupRequest(input *ListUsersInGroupInput) (req *request.Request, output *ListUsersInGroupOutput)

ListUsersInGroupRequest generates a "aws/request.Request" representing the client's request for the ListUsersInGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListUsersInGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListUsersInGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListUsersInGroupRequest method.
req, resp := client.ListUsersInGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup

func (*CognitoIdentityProvider) ListUsersInGroupWithContext

func (c *CognitoIdentityProvider) ListUsersInGroupWithContext(ctx aws.Context, input *ListUsersInGroupInput, opts ...request.Option) (*ListUsersInGroupOutput, error)

ListUsersInGroupWithContext is the same as ListUsersInGroup with the addition of the ability to pass a context and additional request options.

See ListUsersInGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ListUsersRequest

func (c *CognitoIdentityProvider) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput)

ListUsersRequest generates a "aws/request.Request" representing the client's request for the ListUsers operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ListUsers for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListUsers method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ListUsersRequest method.
req, resp := client.ListUsersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers

func (*CognitoIdentityProvider) ListUsersWithContext

func (c *CognitoIdentityProvider) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error)

ListUsersWithContext is the same as ListUsers with the addition of the ability to pass a context and additional request options.

See ListUsers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) ResendConfirmationCode

func (c *CognitoIdentityProvider) ResendConfirmationCode(input *ResendConfirmationCodeInput) (*ResendConfirmationCodeOutput, error)

ResendConfirmationCode API operation for Amazon Cognito Identity Provider.

Resends the confirmation (for confirmation of registration) to a specific user in the user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation ResendConfirmationCode for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException"
This exception is thrown when Amazon Cognito is not allowed to use your email
identity. HTTP status code: 400.

* ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException"
This exception is thrown when a verification code fails to deliver successfully.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCode

func (*CognitoIdentityProvider) ResendConfirmationCodeRequest

func (c *CognitoIdentityProvider) ResendConfirmationCodeRequest(input *ResendConfirmationCodeInput) (req *request.Request, output *ResendConfirmationCodeOutput)

ResendConfirmationCodeRequest generates a "aws/request.Request" representing the client's request for the ResendConfirmationCode operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See ResendConfirmationCode for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ResendConfirmationCode method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the ResendConfirmationCodeRequest method.
req, resp := client.ResendConfirmationCodeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCode

func (*CognitoIdentityProvider) ResendConfirmationCodeWithContext

func (c *CognitoIdentityProvider) ResendConfirmationCodeWithContext(ctx aws.Context, input *ResendConfirmationCodeInput, opts ...request.Option) (*ResendConfirmationCodeOutput, error)

ResendConfirmationCodeWithContext is the same as ResendConfirmationCode with the addition of the ability to pass a context and additional request options.

See ResendConfirmationCode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) RespondToAuthChallenge

func (c *CognitoIdentityProvider) RespondToAuthChallenge(input *RespondToAuthChallengeInput) (*RespondToAuthChallengeOutput, error)

RespondToAuthChallenge API operation for Amazon Cognito Identity Provider.

Responds to the authentication challenge.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation RespondToAuthChallenge for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeCodeMismatchException "CodeMismatchException"
This exception is thrown if the provided code does not match what the server
was expecting.

* ErrCodeExpiredCodeException "ExpiredCodeException"
This exception is thrown if a code has expired.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeInvalidPasswordException "InvalidPasswordException"
This exception is thrown when the Amazon Cognito service encounters an invalid
password.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeMFAMethodNotFoundException "MFAMethodNotFoundException"
This exception is thrown when Amazon Cognito cannot find a multi-factor authentication
(MFA) method.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeAliasExistsException "AliasExistsException"
This exception is thrown when a user tries to confirm the account with an
email or phone number that has already been supplied as an alias from a different
account. This exception tells user that an account with this email or phone
already exists.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge

func (*CognitoIdentityProvider) RespondToAuthChallengeRequest

func (c *CognitoIdentityProvider) RespondToAuthChallengeRequest(input *RespondToAuthChallengeInput) (req *request.Request, output *RespondToAuthChallengeOutput)

RespondToAuthChallengeRequest generates a "aws/request.Request" representing the client's request for the RespondToAuthChallenge operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See RespondToAuthChallenge for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RespondToAuthChallenge method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the RespondToAuthChallengeRequest method.
req, resp := client.RespondToAuthChallengeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge

func (*CognitoIdentityProvider) RespondToAuthChallengeWithContext

func (c *CognitoIdentityProvider) RespondToAuthChallengeWithContext(ctx aws.Context, input *RespondToAuthChallengeInput, opts ...request.Option) (*RespondToAuthChallengeOutput, error)

RespondToAuthChallengeWithContext is the same as RespondToAuthChallenge with the addition of the ability to pass a context and additional request options.

See RespondToAuthChallenge for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) SetUserSettings

func (c *CognitoIdentityProvider) SetUserSettings(input *SetUserSettingsInput) (*SetUserSettingsOutput, error)

SetUserSettings API operation for Amazon Cognito Identity Provider.

Sets the user settings like multi-factor authentication (MFA). If MFA is to be removed for a particular attribute pass the attribute with code delivery as null. If null list is passed, all MFA options are removed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation SetUserSettings for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettings

func (*CognitoIdentityProvider) SetUserSettingsRequest

func (c *CognitoIdentityProvider) SetUserSettingsRequest(input *SetUserSettingsInput) (req *request.Request, output *SetUserSettingsOutput)

SetUserSettingsRequest generates a "aws/request.Request" representing the client's request for the SetUserSettings operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See SetUserSettings for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the SetUserSettings method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the SetUserSettingsRequest method.
req, resp := client.SetUserSettingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettings

func (*CognitoIdentityProvider) SetUserSettingsWithContext

func (c *CognitoIdentityProvider) SetUserSettingsWithContext(ctx aws.Context, input *SetUserSettingsInput, opts ...request.Option) (*SetUserSettingsOutput, error)

SetUserSettingsWithContext is the same as SetUserSettings with the addition of the ability to pass a context and additional request options.

See SetUserSettings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) SignUp

func (c *CognitoIdentityProvider) SignUp(input *SignUpInput) (*SignUpOutput, error)

SignUp API operation for Amazon Cognito Identity Provider.

Registers the user in the specified user pool and creates a user name, password, and user attributes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation SignUp for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInvalidPasswordException "InvalidPasswordException"
This exception is thrown when the Amazon Cognito service encounters an invalid
password.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeUsernameExistsException "UsernameExistsException"
This exception is thrown when Amazon Cognito encounters a user name that
already exists in the user pool.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException"
This exception is thrown when Amazon Cognito is not allowed to use your email
identity. HTTP status code: 400.

* ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException"
This exception is thrown when a verification code fails to deliver successfully.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUp

func (*CognitoIdentityProvider) SignUpRequest

func (c *CognitoIdentityProvider) SignUpRequest(input *SignUpInput) (req *request.Request, output *SignUpOutput)

SignUpRequest generates a "aws/request.Request" representing the client's request for the SignUp operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See SignUp for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the SignUp method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the SignUpRequest method.
req, resp := client.SignUpRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUp

func (*CognitoIdentityProvider) SignUpWithContext

func (c *CognitoIdentityProvider) SignUpWithContext(ctx aws.Context, input *SignUpInput, opts ...request.Option) (*SignUpOutput, error)

SignUpWithContext is the same as SignUp with the addition of the ability to pass a context and additional request options.

See SignUp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) StartUserImportJob

func (c *CognitoIdentityProvider) StartUserImportJob(input *StartUserImportJobInput) (*StartUserImportJobOutput, error)

StartUserImportJob API operation for Amazon Cognito Identity Provider.

Starts the user import.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation StartUserImportJob for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

* ErrCodePreconditionNotMetException "PreconditionNotMetException"
This exception is thrown when a precondition is not met.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob

func (*CognitoIdentityProvider) StartUserImportJobRequest

func (c *CognitoIdentityProvider) StartUserImportJobRequest(input *StartUserImportJobInput) (req *request.Request, output *StartUserImportJobOutput)

StartUserImportJobRequest generates a "aws/request.Request" representing the client's request for the StartUserImportJob operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See StartUserImportJob for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the StartUserImportJob method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the StartUserImportJobRequest method.
req, resp := client.StartUserImportJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob

func (*CognitoIdentityProvider) StartUserImportJobWithContext

func (c *CognitoIdentityProvider) StartUserImportJobWithContext(ctx aws.Context, input *StartUserImportJobInput, opts ...request.Option) (*StartUserImportJobOutput, error)

StartUserImportJobWithContext is the same as StartUserImportJob with the addition of the ability to pass a context and additional request options.

See StartUserImportJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) StopUserImportJob

func (c *CognitoIdentityProvider) StopUserImportJob(input *StopUserImportJobInput) (*StopUserImportJobOutput, error)

StopUserImportJob API operation for Amazon Cognito Identity Provider.

Stops the user import job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation StopUserImportJob for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

* ErrCodePreconditionNotMetException "PreconditionNotMetException"
This exception is thrown when a precondition is not met.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob

func (*CognitoIdentityProvider) StopUserImportJobRequest

func (c *CognitoIdentityProvider) StopUserImportJobRequest(input *StopUserImportJobInput) (req *request.Request, output *StopUserImportJobOutput)

StopUserImportJobRequest generates a "aws/request.Request" representing the client's request for the StopUserImportJob operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See StopUserImportJob for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the StopUserImportJob method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the StopUserImportJobRequest method.
req, resp := client.StopUserImportJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob

func (*CognitoIdentityProvider) StopUserImportJobWithContext

func (c *CognitoIdentityProvider) StopUserImportJobWithContext(ctx aws.Context, input *StopUserImportJobInput, opts ...request.Option) (*StopUserImportJobOutput, error)

StopUserImportJobWithContext is the same as StopUserImportJob with the addition of the ability to pass a context and additional request options.

See StopUserImportJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) UpdateDeviceStatus

func (c *CognitoIdentityProvider) UpdateDeviceStatus(input *UpdateDeviceStatusInput) (*UpdateDeviceStatusOutput, error)

UpdateDeviceStatus API operation for Amazon Cognito Identity Provider.

Updates the device status.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation UpdateDeviceStatus for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInvalidUserPoolConfigurationException "InvalidUserPoolConfigurationException"
This exception is thrown when the user pool configuration is invalid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus

func (*CognitoIdentityProvider) UpdateDeviceStatusRequest

func (c *CognitoIdentityProvider) UpdateDeviceStatusRequest(input *UpdateDeviceStatusInput) (req *request.Request, output *UpdateDeviceStatusOutput)

UpdateDeviceStatusRequest generates a "aws/request.Request" representing the client's request for the UpdateDeviceStatus operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateDeviceStatus for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateDeviceStatus method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateDeviceStatusRequest method.
req, resp := client.UpdateDeviceStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus

func (*CognitoIdentityProvider) UpdateDeviceStatusWithContext

func (c *CognitoIdentityProvider) UpdateDeviceStatusWithContext(ctx aws.Context, input *UpdateDeviceStatusInput, opts ...request.Option) (*UpdateDeviceStatusOutput, error)

UpdateDeviceStatusWithContext is the same as UpdateDeviceStatus with the addition of the ability to pass a context and additional request options.

See UpdateDeviceStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) UpdateGroup

func (c *CognitoIdentityProvider) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error)

UpdateGroup API operation for Amazon Cognito Identity Provider.

Updates the specified group with the specified attributes.

Requires developer credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation UpdateGroup for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup

func (*CognitoIdentityProvider) UpdateGroupRequest

func (c *CognitoIdentityProvider) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput)

UpdateGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateGroup for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateGroup method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateGroupRequest method.
req, resp := client.UpdateGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup

func (*CognitoIdentityProvider) UpdateGroupWithContext

func (c *CognitoIdentityProvider) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error)

UpdateGroupWithContext is the same as UpdateGroup with the addition of the ability to pass a context and additional request options.

See UpdateGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) UpdateIdentityProvider

func (c *CognitoIdentityProvider) UpdateIdentityProvider(input *UpdateIdentityProviderInput) (*UpdateIdentityProviderOutput, error)

UpdateIdentityProvider API operation for Amazon Cognito Identity Provider.

Updates identity provider information for a user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation UpdateIdentityProvider for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeUnsupportedIdentityProviderException "UnsupportedIdentityProviderException"
This exception is thrown when the specified identifier is not supported.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider

func (*CognitoIdentityProvider) UpdateIdentityProviderRequest

func (c *CognitoIdentityProvider) UpdateIdentityProviderRequest(input *UpdateIdentityProviderInput) (req *request.Request, output *UpdateIdentityProviderOutput)

UpdateIdentityProviderRequest generates a "aws/request.Request" representing the client's request for the UpdateIdentityProvider operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateIdentityProvider for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateIdentityProvider method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateIdentityProviderRequest method.
req, resp := client.UpdateIdentityProviderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider

func (*CognitoIdentityProvider) UpdateIdentityProviderWithContext

func (c *CognitoIdentityProvider) UpdateIdentityProviderWithContext(ctx aws.Context, input *UpdateIdentityProviderInput, opts ...request.Option) (*UpdateIdentityProviderOutput, error)

UpdateIdentityProviderWithContext is the same as UpdateIdentityProvider with the addition of the ability to pass a context and additional request options.

See UpdateIdentityProvider for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) UpdateUserAttributes

func (c *CognitoIdentityProvider) UpdateUserAttributes(input *UpdateUserAttributesInput) (*UpdateUserAttributesOutput, error)

UpdateUserAttributes API operation for Amazon Cognito Identity Provider.

Allows a user to update a specific attribute (one at a time).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation UpdateUserAttributes for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeCodeMismatchException "CodeMismatchException"
This exception is thrown if the provided code does not match what the server
was expecting.

* ErrCodeExpiredCodeException "ExpiredCodeException"
This exception is thrown if a code has expired.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUnexpectedLambdaException "UnexpectedLambdaException"
This exception is thrown when the Amazon Cognito service encounters an unexpected
exception with the AWS Lambda service.

* ErrCodeUserLambdaValidationException "UserLambdaValidationException"
This exception is thrown when the Amazon Cognito service encounters a user
validation exception with the AWS Lambda service.

* ErrCodeInvalidLambdaResponseException "InvalidLambdaResponseException"
This exception is thrown when the Amazon Cognito service encounters an invalid
AWS Lambda response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeAliasExistsException "AliasExistsException"
This exception is thrown when a user tries to confirm the account with an
email or phone number that has already been supplied as an alias from a different
account. This exception tells user that an account with this email or phone
already exists.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException"
This exception is thrown when Amazon Cognito is not allowed to use your email
identity. HTTP status code: 400.

* ErrCodeCodeDeliveryFailureException "CodeDeliveryFailureException"
This exception is thrown when a verification code fails to deliver successfully.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributes

func (*CognitoIdentityProvider) UpdateUserAttributesRequest

func (c *CognitoIdentityProvider) UpdateUserAttributesRequest(input *UpdateUserAttributesInput) (req *request.Request, output *UpdateUserAttributesOutput)

UpdateUserAttributesRequest generates a "aws/request.Request" representing the client's request for the UpdateUserAttributes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateUserAttributes for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateUserAttributes method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateUserAttributesRequest method.
req, resp := client.UpdateUserAttributesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributes

func (*CognitoIdentityProvider) UpdateUserAttributesWithContext

func (c *CognitoIdentityProvider) UpdateUserAttributesWithContext(ctx aws.Context, input *UpdateUserAttributesInput, opts ...request.Option) (*UpdateUserAttributesOutput, error)

UpdateUserAttributesWithContext is the same as UpdateUserAttributes with the addition of the ability to pass a context and additional request options.

See UpdateUserAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) UpdateUserPool

func (c *CognitoIdentityProvider) UpdateUserPool(input *UpdateUserPoolInput) (*UpdateUserPoolOutput, error)

UpdateUserPool API operation for Amazon Cognito Identity Provider.

Updates the specified user pool with the specified attributes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation UpdateUserPool for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeConcurrentModificationException "ConcurrentModificationException"
This exception is thrown if two or more modifications are happening concurrently.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeUserImportInProgressException "UserImportInProgressException"
This exception is thrown when you are trying to modify a user pool while
a user import job is in progress for that pool.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

* ErrCodeInvalidSmsRoleAccessPolicyException "InvalidSmsRoleAccessPolicyException"
This exception is returned when the role provided for SMS configuration does
not have permission to publish using Amazon SNS.

* ErrCodeInvalidSmsRoleTrustRelationshipException "InvalidSmsRoleTrustRelationshipException"
This exception is thrown when the trust relationship is invalid for the role
provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com
or the external ID provided in the role does not match what is provided in
the SMS configuration for the user pool.

* ErrCodeUserPoolTaggingException "UserPoolTaggingException"
This exception is thrown when a user pool tag cannot be set or updated.

* ErrCodeInvalidEmailRoleAccessPolicyException "InvalidEmailRoleAccessPolicyException"
This exception is thrown when Amazon Cognito is not allowed to use your email
identity. HTTP status code: 400.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool

func (*CognitoIdentityProvider) UpdateUserPoolClient

func (c *CognitoIdentityProvider) UpdateUserPoolClient(input *UpdateUserPoolClientInput) (*UpdateUserPoolClientOutput, error)

UpdateUserPoolClient API operation for Amazon Cognito Identity Provider.

Allows the developer to update the specified user pool client and password policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation UpdateUserPoolClient for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeScopeDoesNotExistException "ScopeDoesNotExistException"
This exception is thrown when the specified scope does not exist.

* ErrCodeInvalidOAuthFlowException "InvalidOAuthFlowException"
This exception is thrown when the specified OAuth flow is invalid.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient

func (*CognitoIdentityProvider) UpdateUserPoolClientRequest

func (c *CognitoIdentityProvider) UpdateUserPoolClientRequest(input *UpdateUserPoolClientInput) (req *request.Request, output *UpdateUserPoolClientOutput)

UpdateUserPoolClientRequest generates a "aws/request.Request" representing the client's request for the UpdateUserPoolClient operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateUserPoolClient for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateUserPoolClient method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateUserPoolClientRequest method.
req, resp := client.UpdateUserPoolClientRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient

func (*CognitoIdentityProvider) UpdateUserPoolClientWithContext

func (c *CognitoIdentityProvider) UpdateUserPoolClientWithContext(ctx aws.Context, input *UpdateUserPoolClientInput, opts ...request.Option) (*UpdateUserPoolClientOutput, error)

UpdateUserPoolClientWithContext is the same as UpdateUserPoolClient with the addition of the ability to pass a context and additional request options.

See UpdateUserPoolClient for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) UpdateUserPoolRequest

func (c *CognitoIdentityProvider) UpdateUserPoolRequest(input *UpdateUserPoolInput) (req *request.Request, output *UpdateUserPoolOutput)

UpdateUserPoolRequest generates a "aws/request.Request" representing the client's request for the UpdateUserPool operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See UpdateUserPool for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateUserPool method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the UpdateUserPoolRequest method.
req, resp := client.UpdateUserPoolRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool

func (*CognitoIdentityProvider) UpdateUserPoolWithContext

func (c *CognitoIdentityProvider) UpdateUserPoolWithContext(ctx aws.Context, input *UpdateUserPoolInput, opts ...request.Option) (*UpdateUserPoolOutput, error)

UpdateUserPoolWithContext is the same as UpdateUserPool with the addition of the ability to pass a context and additional request options.

See UpdateUserPool for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CognitoIdentityProvider) VerifyUserAttribute

func (c *CognitoIdentityProvider) VerifyUserAttribute(input *VerifyUserAttributeInput) (*VerifyUserAttributeOutput, error)

VerifyUserAttribute API operation for Amazon Cognito Identity Provider.

Verifies the specified user attributes in the user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Cognito Identity Provider's API operation VerifyUserAttribute for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
This exception is thrown when the Amazon Cognito service cannot find the
requested resource.

* ErrCodeInvalidParameterException "InvalidParameterException"
This exception is thrown when the Amazon Cognito service encounters an invalid
parameter.

* ErrCodeCodeMismatchException "CodeMismatchException"
This exception is thrown if the provided code does not match what the server
was expecting.

* ErrCodeExpiredCodeException "ExpiredCodeException"
This exception is thrown if a code has expired.

* ErrCodeNotAuthorizedException "NotAuthorizedException"
This exception is thrown when a user is not authorized.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
This exception is thrown when the user has made too many requests for a given
operation.

* ErrCodeLimitExceededException "LimitExceededException"
This exception is thrown when a user exceeds the limit for a requested AWS
resource.

* ErrCodePasswordResetRequiredException "PasswordResetRequiredException"
This exception is thrown when a password reset is required.

* ErrCodeUserNotFoundException "UserNotFoundException"
This exception is thrown when a user is not found.

* ErrCodeUserNotConfirmedException "UserNotConfirmedException"
This exception is thrown when a user is not confirmed successfully.

* ErrCodeInternalErrorException "InternalErrorException"
This exception is thrown when Amazon Cognito encounters an internal error.

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttribute

func (*CognitoIdentityProvider) VerifyUserAttributeRequest

func (c *CognitoIdentityProvider) VerifyUserAttributeRequest(input *VerifyUserAttributeInput) (req *request.Request, output *VerifyUserAttributeOutput)

VerifyUserAttributeRequest generates a "aws/request.Request" representing the client's request for the VerifyUserAttribute operation. The "output" return value can be used to capture response data after the request's "Send" method is called.

See VerifyUserAttribute for usage and error information.

Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the VerifyUserAttribute method directly instead.

Note: You must call the "Send" method on the returned request object in order to execute the request.

// Example sending a request using the VerifyUserAttributeRequest method.
req, resp := client.VerifyUserAttributeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttribute

func (*CognitoIdentityProvider) VerifyUserAttributeWithContext

func (c *CognitoIdentityProvider) VerifyUserAttributeWithContext(ctx aws.Context, input *VerifyUserAttributeInput, opts ...request.Option) (*VerifyUserAttributeOutput, error)

VerifyUserAttributeWithContext is the same as VerifyUserAttribute with the addition of the ability to pass a context and additional request options.

See VerifyUserAttribute for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ConfirmDeviceInput

Confirms the device request. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDeviceRequest

type ConfirmDeviceInput struct {

    // The access token.
    //
    // AccessToken is a required field
    AccessToken *string `type:"string" required:"true"`

    // The device key.
    //
    // DeviceKey is a required field
    DeviceKey *string `min:"1" type:"string" required:"true"`

    // The device name.
    DeviceName *string `min:"1" type:"string"`

    // The configuration of the device secret verifier.
    DeviceSecretVerifierConfig *DeviceSecretVerifierConfigType `type:"structure"`
    // contains filtered or unexported fields
}

func (ConfirmDeviceInput) GoString

func (s ConfirmDeviceInput) GoString() string

GoString returns the string representation

func (*ConfirmDeviceInput) SetAccessToken

func (s *ConfirmDeviceInput) SetAccessToken(v string) *ConfirmDeviceInput

SetAccessToken sets the AccessToken field's value.

func (*ConfirmDeviceInput) SetDeviceKey

func (s *ConfirmDeviceInput) SetDeviceKey(v string) *ConfirmDeviceInput

SetDeviceKey sets the DeviceKey field's value.

func (*ConfirmDeviceInput) SetDeviceName

func (s *ConfirmDeviceInput) SetDeviceName(v string) *ConfirmDeviceInput

SetDeviceName sets the DeviceName field's value.

func (*ConfirmDeviceInput) SetDeviceSecretVerifierConfig

func (s *ConfirmDeviceInput) SetDeviceSecretVerifierConfig(v *DeviceSecretVerifierConfigType) *ConfirmDeviceInput

SetDeviceSecretVerifierConfig sets the DeviceSecretVerifierConfig field's value.

func (ConfirmDeviceInput) String

func (s ConfirmDeviceInput) String() string

String returns the string representation

func (*ConfirmDeviceInput) Validate

func (s *ConfirmDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ConfirmDeviceOutput

Confirms the device response. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDeviceResponse

type ConfirmDeviceOutput struct {

    // Indicates whether the user confirmation is necessary to confirm the device
    // response.
    UserConfirmationNecessary *bool `type:"boolean"`
    // contains filtered or unexported fields
}

func (ConfirmDeviceOutput) GoString

func (s ConfirmDeviceOutput) GoString() string

GoString returns the string representation

func (*ConfirmDeviceOutput) SetUserConfirmationNecessary

func (s *ConfirmDeviceOutput) SetUserConfirmationNecessary(v bool) *ConfirmDeviceOutput

SetUserConfirmationNecessary sets the UserConfirmationNecessary field's value.

func (ConfirmDeviceOutput) String

func (s ConfirmDeviceOutput) String() string

String returns the string representation

type ConfirmForgotPasswordInput

The request representing the confirmation for a password reset. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPasswordRequest

type ConfirmForgotPasswordInput struct {

    // The ID of the client associated with the user pool.
    //
    // ClientId is a required field
    ClientId *string `min:"1" type:"string" required:"true"`

    // The confirmation code sent by a user's request to retrieve a forgotten password.
    // For more information, see ForgotPassword (API_ForgotPassword.html)
    //
    // ConfirmationCode is a required field
    ConfirmationCode *string `min:"1" type:"string" required:"true"`

    // The password sent by a user's request to retrieve a forgotten password.
    //
    // Password is a required field
    Password *string `min:"6" type:"string" required:"true"`

    // A keyed-hash message authentication code (HMAC) calculated using the secret
    // key of a user pool client and username plus the client ID in the message.
    SecretHash *string `min:"1" type:"string"`

    // The user name of the user for whom you want to enter a code to retrieve a
    // forgotten password.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ConfirmForgotPasswordInput) GoString

func (s ConfirmForgotPasswordInput) GoString() string

GoString returns the string representation

func (*ConfirmForgotPasswordInput) SetClientId

func (s *ConfirmForgotPasswordInput) SetClientId(v string) *ConfirmForgotPasswordInput

SetClientId sets the ClientId field's value.

func (*ConfirmForgotPasswordInput) SetConfirmationCode

func (s *ConfirmForgotPasswordInput) SetConfirmationCode(v string) *ConfirmForgotPasswordInput

SetConfirmationCode sets the ConfirmationCode field's value.

func (*ConfirmForgotPasswordInput) SetPassword

func (s *ConfirmForgotPasswordInput) SetPassword(v string) *ConfirmForgotPasswordInput

SetPassword sets the Password field's value.

func (*ConfirmForgotPasswordInput) SetSecretHash

func (s *ConfirmForgotPasswordInput) SetSecretHash(v string) *ConfirmForgotPasswordInput

SetSecretHash sets the SecretHash field's value.

func (*ConfirmForgotPasswordInput) SetUsername

func (s *ConfirmForgotPasswordInput) SetUsername(v string) *ConfirmForgotPasswordInput

SetUsername sets the Username field's value.

func (ConfirmForgotPasswordInput) String

func (s ConfirmForgotPasswordInput) String() string

String returns the string representation

func (*ConfirmForgotPasswordInput) Validate

func (s *ConfirmForgotPasswordInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ConfirmForgotPasswordOutput

The response from the server that results from a user's request to retrieve a forgotten password. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPasswordResponse

type ConfirmForgotPasswordOutput struct {
    // contains filtered or unexported fields
}

func (ConfirmForgotPasswordOutput) GoString

func (s ConfirmForgotPasswordOutput) GoString() string

GoString returns the string representation

func (ConfirmForgotPasswordOutput) String

func (s ConfirmForgotPasswordOutput) String() string

String returns the string representation

type ConfirmSignUpInput

Represents the request to confirm registration of a user. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUpRequest

type ConfirmSignUpInput struct {

    // The ID of the client associated with the user pool.
    //
    // ClientId is a required field
    ClientId *string `min:"1" type:"string" required:"true"`

    // The confirmation code sent by a user's request to confirm registration.
    //
    // ConfirmationCode is a required field
    ConfirmationCode *string `min:"1" type:"string" required:"true"`

    // Boolean to be specified to force user confirmation irrespective of existing
    // alias. By default set to False. If this parameter is set to True and the
    // phone number/email used for sign up confirmation already exists as an alias
    // with a different user, the API call will migrate the alias from the previous
    // user to the newly created user being confirmed. If set to False, the API
    // will throw an AliasExistsException error.
    ForceAliasCreation *bool `type:"boolean"`

    // A keyed-hash message authentication code (HMAC) calculated using the secret
    // key of a user pool client and username plus the client ID in the message.
    SecretHash *string `min:"1" type:"string"`

    // The user name of the user whose registration you wish to confirm.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ConfirmSignUpInput) GoString

func (s ConfirmSignUpInput) GoString() string

GoString returns the string representation

func (*ConfirmSignUpInput) SetClientId

func (s *ConfirmSignUpInput) SetClientId(v string) *ConfirmSignUpInput

SetClientId sets the ClientId field's value.

func (*ConfirmSignUpInput) SetConfirmationCode

func (s *ConfirmSignUpInput) SetConfirmationCode(v string) *ConfirmSignUpInput

SetConfirmationCode sets the ConfirmationCode field's value.

func (*ConfirmSignUpInput) SetForceAliasCreation

func (s *ConfirmSignUpInput) SetForceAliasCreation(v bool) *ConfirmSignUpInput

SetForceAliasCreation sets the ForceAliasCreation field's value.

func (*ConfirmSignUpInput) SetSecretHash

func (s *ConfirmSignUpInput) SetSecretHash(v string) *ConfirmSignUpInput

SetSecretHash sets the SecretHash field's value.

func (*ConfirmSignUpInput) SetUsername

func (s *ConfirmSignUpInput) SetUsername(v string) *ConfirmSignUpInput

SetUsername sets the Username field's value.

func (ConfirmSignUpInput) String

func (s ConfirmSignUpInput) String() string

String returns the string representation

func (*ConfirmSignUpInput) Validate

func (s *ConfirmSignUpInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ConfirmSignUpOutput

Represents the response from the server for the registration confirmation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUpResponse

type ConfirmSignUpOutput struct {
    // contains filtered or unexported fields
}

func (ConfirmSignUpOutput) GoString

func (s ConfirmSignUpOutput) GoString() string

GoString returns the string representation

func (ConfirmSignUpOutput) String

func (s ConfirmSignUpOutput) String() string

String returns the string representation

type CreateGroupInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroupRequest

type CreateGroupInput struct {

    // A string containing the description of the group.
    Description *string `type:"string"`

    // The name of the group. Must be unique.
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`

    // A nonnegative integer value that specifies the precedence of this group relative
    // to the other groups that a user can belong to in the user pool. Zero is the
    // highest precedence value. Groups with lower Precedence values take precedence
    // over groups with higher or null Precedence values. If a user belongs to two
    // or more groups, it is the group with the lowest precedence value whose role
    // ARN will be used in the cognito:roles and cognito:preferred_role claims in
    // the user's tokens.
    //
    // Two groups can have the same Precedence value. If this happens, neither group
    // takes precedence over the other. If two groups with the same Precedence have
    // the same role ARN, that role is used in the cognito:preferred_role claim
    // in tokens for users in each group. If the two groups have different role
    // ARNs, the cognito:preferred_role claim is not set in users' tokens.
    //
    // The default Precedence value is null.
    Precedence *int64 `type:"integer"`

    // The role ARN for the group.
    RoleArn *string `min:"20" type:"string"`

    // The user pool ID for the user pool.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateGroupInput) GoString

func (s CreateGroupInput) GoString() string

GoString returns the string representation

func (*CreateGroupInput) SetDescription

func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput

SetDescription sets the Description field's value.

func (*CreateGroupInput) SetGroupName

func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput

SetGroupName sets the GroupName field's value.

func (*CreateGroupInput) SetPrecedence

func (s *CreateGroupInput) SetPrecedence(v int64) *CreateGroupInput

SetPrecedence sets the Precedence field's value.

func (*CreateGroupInput) SetRoleArn

func (s *CreateGroupInput) SetRoleArn(v string) *CreateGroupInput

SetRoleArn sets the RoleArn field's value.

func (*CreateGroupInput) SetUserPoolId

func (s *CreateGroupInput) SetUserPoolId(v string) *CreateGroupInput

SetUserPoolId sets the UserPoolId field's value.

func (CreateGroupInput) String

func (s CreateGroupInput) String() string

String returns the string representation

func (*CreateGroupInput) Validate

func (s *CreateGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateGroupOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroupResponse

type CreateGroupOutput struct {

    // The group object for the group.
    Group *GroupType `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateGroupOutput) GoString

func (s CreateGroupOutput) GoString() string

GoString returns the string representation

func (*CreateGroupOutput) SetGroup

func (s *CreateGroupOutput) SetGroup(v *GroupType) *CreateGroupOutput

SetGroup sets the Group field's value.

func (CreateGroupOutput) String

func (s CreateGroupOutput) String() string

String returns the string representation

type CreateIdentityProviderInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProviderRequest

type CreateIdentityProviderInput struct {

    // A mapping of identity provider attributes to standard and custom user pool
    // attributes.
    AttributeMapping map[string]*string `type:"map"`

    // A list of identity provider identifiers.
    IdpIdentifiers []*string `type:"list"`

    // The identity provider details, such as MetadataURL and MetadataFile.
    //
    // ProviderDetails is a required field
    ProviderDetails map[string]*string `type:"map" required:"true"`

    // The identity provider name.
    //
    // ProviderName is a required field
    ProviderName *string `min:"1" type:"string" required:"true"`

    // The identity provider type.
    //
    // ProviderType is a required field
    ProviderType *string `type:"string" required:"true" enum:"IdentityProviderTypeType"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateIdentityProviderInput) GoString

func (s CreateIdentityProviderInput) GoString() string

GoString returns the string representation

func (*CreateIdentityProviderInput) SetAttributeMapping

func (s *CreateIdentityProviderInput) SetAttributeMapping(v map[string]*string) *CreateIdentityProviderInput

SetAttributeMapping sets the AttributeMapping field's value.

func (*CreateIdentityProviderInput) SetIdpIdentifiers

func (s *CreateIdentityProviderInput) SetIdpIdentifiers(v []*string) *CreateIdentityProviderInput

SetIdpIdentifiers sets the IdpIdentifiers field's value.

func (*CreateIdentityProviderInput) SetProviderDetails

func (s *CreateIdentityProviderInput) SetProviderDetails(v map[string]*string) *CreateIdentityProviderInput

SetProviderDetails sets the ProviderDetails field's value.

func (*CreateIdentityProviderInput) SetProviderName

func (s *CreateIdentityProviderInput) SetProviderName(v string) *CreateIdentityProviderInput

SetProviderName sets the ProviderName field's value.

func (*CreateIdentityProviderInput) SetProviderType

func (s *CreateIdentityProviderInput) SetProviderType(v string) *CreateIdentityProviderInput

SetProviderType sets the ProviderType field's value.

func (*CreateIdentityProviderInput) SetUserPoolId

func (s *CreateIdentityProviderInput) SetUserPoolId(v string) *CreateIdentityProviderInput

SetUserPoolId sets the UserPoolId field's value.

func (CreateIdentityProviderInput) String

func (s CreateIdentityProviderInput) String() string

String returns the string representation

func (*CreateIdentityProviderInput) Validate

func (s *CreateIdentityProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateIdentityProviderOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProviderResponse

type CreateIdentityProviderOutput struct {

    // The newly created identity provider object.
    //
    // IdentityProvider is a required field
    IdentityProvider *IdentityProviderType `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateIdentityProviderOutput) GoString

func (s CreateIdentityProviderOutput) GoString() string

GoString returns the string representation

func (*CreateIdentityProviderOutput) SetIdentityProvider

func (s *CreateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *CreateIdentityProviderOutput

SetIdentityProvider sets the IdentityProvider field's value.

func (CreateIdentityProviderOutput) String

func (s CreateIdentityProviderOutput) String() string

String returns the string representation

type CreateUserImportJobInput

Represents the request to create the user import job. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobRequest

type CreateUserImportJobInput struct {

    // The role ARN for the Amazon CloudWatch Logging role for the user import job.
    //
    // CloudWatchLogsRoleArn is a required field
    CloudWatchLogsRoleArn *string `min:"20" type:"string" required:"true"`

    // The job name for the user import job.
    //
    // JobName is a required field
    JobName *string `min:"1" type:"string" required:"true"`

    // The user pool ID for the user pool that the users are being imported into.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateUserImportJobInput) GoString

func (s CreateUserImportJobInput) GoString() string

GoString returns the string representation

func (*CreateUserImportJobInput) SetCloudWatchLogsRoleArn

func (s *CreateUserImportJobInput) SetCloudWatchLogsRoleArn(v string) *CreateUserImportJobInput

SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.

func (*CreateUserImportJobInput) SetJobName

func (s *CreateUserImportJobInput) SetJobName(v string) *CreateUserImportJobInput

SetJobName sets the JobName field's value.

func (*CreateUserImportJobInput) SetUserPoolId

func (s *CreateUserImportJobInput) SetUserPoolId(v string) *CreateUserImportJobInput

SetUserPoolId sets the UserPoolId field's value.

func (CreateUserImportJobInput) String

func (s CreateUserImportJobInput) String() string

String returns the string representation

func (*CreateUserImportJobInput) Validate

func (s *CreateUserImportJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUserImportJobOutput

Represents the response from the server to the request to create the user import job. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobResponse

type CreateUserImportJobOutput struct {

    // The job object that represents the user import job.
    UserImportJob *UserImportJobType `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateUserImportJobOutput) GoString

func (s CreateUserImportJobOutput) GoString() string

GoString returns the string representation

func (*CreateUserImportJobOutput) SetUserImportJob

func (s *CreateUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *CreateUserImportJobOutput

SetUserImportJob sets the UserImportJob field's value.

func (CreateUserImportJobOutput) String

func (s CreateUserImportJobOutput) String() string

String returns the string representation

type CreateUserPoolClientInput

Represents the request to create a user pool client. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClientRequest

type CreateUserPoolClientInput struct {

    // Set to code to initiate a code grant flow, which provides an authorization
    // code as the response. This code can be exchanged for access tokens with the
    // token endpoint.
    //
    // Set to token to specify that the client should get the access token (and,
    // optionally, ID token, based on scopes) directly.
    AllowedOAuthFlows []*string `type:"list"`

    // Set to True if the client is allowed to follow the OAuth protocol when interacting
    // with Cognito user pools.
    AllowedOAuthFlowsUserPoolClient *bool `type:"boolean"`

    // A list of allowed OAuth scopes. Currently supported values are "phone", "email",
    // "openid", and "Cognito".
    AllowedOAuthScopes []*string `type:"list"`

    // A list of allowed callback URLs for the identity providers.
    CallbackURLs []*string `type:"list"`

    // The client name for the user pool client you would like to create.
    //
    // ClientName is a required field
    ClientName *string `min:"1" type:"string" required:"true"`

    // The default redirect URI. Must be in the CallbackURLs list.
    DefaultRedirectURI *string `min:"1" type:"string"`

    // The explicit authentication flows.
    ExplicitAuthFlows []*string `type:"list"`

    // Boolean to specify whether you want to generate a secret for the user pool
    // client being created.
    GenerateSecret *bool `type:"boolean"`

    // A list of allowed logout URLs for the identity providers.
    LogoutURLs []*string `type:"list"`

    // The read attributes.
    ReadAttributes []*string `type:"list"`

    // The time limit, in days, after which the refresh token is no longer valid
    // and cannot be used.
    RefreshTokenValidity *int64 `type:"integer"`

    // A list of provider names for the identity providers that are supported on
    // this client.
    SupportedIdentityProviders []*string `type:"list"`

    // The user pool ID for the user pool where you want to create a user pool client.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`

    // The write attributes.
    WriteAttributes []*string `type:"list"`
    // contains filtered or unexported fields
}

func (CreateUserPoolClientInput) GoString

func (s CreateUserPoolClientInput) GoString() string

GoString returns the string representation

func (*CreateUserPoolClientInput) SetAllowedOAuthFlows

func (s *CreateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *CreateUserPoolClientInput

SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value.

func (*CreateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient

func (s *CreateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *CreateUserPoolClientInput

SetAllowedOAuthFlowsUserPoolClient sets the AllowedOAuthFlowsUserPoolClient field's value.

func (*CreateUserPoolClientInput) SetAllowedOAuthScopes

func (s *CreateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *CreateUserPoolClientInput

SetAllowedOAuthScopes sets the AllowedOAuthScopes field's value.

func (*CreateUserPoolClientInput) SetCallbackURLs

func (s *CreateUserPoolClientInput) SetCallbackURLs(v []*string) *CreateUserPoolClientInput

SetCallbackURLs sets the CallbackURLs field's value.

func (*CreateUserPoolClientInput) SetClientName

func (s *CreateUserPoolClientInput) SetClientName(v string) *CreateUserPoolClientInput

SetClientName sets the ClientName field's value.

func (*CreateUserPoolClientInput) SetDefaultRedirectURI

func (s *CreateUserPoolClientInput) SetDefaultRedirectURI(v string) *CreateUserPoolClientInput

SetDefaultRedirectURI sets the DefaultRedirectURI field's value.

func (*CreateUserPoolClientInput) SetExplicitAuthFlows

func (s *CreateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *CreateUserPoolClientInput

SetExplicitAuthFlows sets the ExplicitAuthFlows field's value.

func (*CreateUserPoolClientInput) SetGenerateSecret

func (s *CreateUserPoolClientInput) SetGenerateSecret(v bool) *CreateUserPoolClientInput

SetGenerateSecret sets the GenerateSecret field's value.

func (*CreateUserPoolClientInput) SetLogoutURLs

func (s *CreateUserPoolClientInput) SetLogoutURLs(v []*string) *CreateUserPoolClientInput

SetLogoutURLs sets the LogoutURLs field's value.

func (*CreateUserPoolClientInput) SetReadAttributes

func (s *CreateUserPoolClientInput) SetReadAttributes(v []*string) *CreateUserPoolClientInput

SetReadAttributes sets the ReadAttributes field's value.

func (*CreateUserPoolClientInput) SetRefreshTokenValidity

func (s *CreateUserPoolClientInput) SetRefreshTokenValidity(v int64) *CreateUserPoolClientInput

SetRefreshTokenValidity sets the RefreshTokenValidity field's value.

func (*CreateUserPoolClientInput) SetSupportedIdentityProviders

func (s *CreateUserPoolClientInput) SetSupportedIdentityProviders(v []*string) *CreateUserPoolClientInput

SetSupportedIdentityProviders sets the SupportedIdentityProviders field's value.

func (*CreateUserPoolClientInput) SetUserPoolId

func (s *CreateUserPoolClientInput) SetUserPoolId(v string) *CreateUserPoolClientInput

SetUserPoolId sets the UserPoolId field's value.

func (*CreateUserPoolClientInput) SetWriteAttributes

func (s *CreateUserPoolClientInput) SetWriteAttributes(v []*string) *CreateUserPoolClientInput

SetWriteAttributes sets the WriteAttributes field's value.

func (CreateUserPoolClientInput) String

func (s CreateUserPoolClientInput) String() string

String returns the string representation

func (*CreateUserPoolClientInput) Validate

func (s *CreateUserPoolClientInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUserPoolClientOutput

Represents the response from the server to create a user pool client. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClientResponse

type CreateUserPoolClientOutput struct {

    // The user pool client that was just created.
    UserPoolClient *UserPoolClientType `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateUserPoolClientOutput) GoString

func (s CreateUserPoolClientOutput) GoString() string

GoString returns the string representation

func (*CreateUserPoolClientOutput) SetUserPoolClient

func (s *CreateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *CreateUserPoolClientOutput

SetUserPoolClient sets the UserPoolClient field's value.

func (CreateUserPoolClientOutput) String

func (s CreateUserPoolClientOutput) String() string

String returns the string representation

type CreateUserPoolDomainInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomainRequest

type CreateUserPoolDomainInput struct {

    // The domain string.
    //
    // Domain is a required field
    Domain *string `min:"1" type:"string" required:"true"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateUserPoolDomainInput) GoString

func (s CreateUserPoolDomainInput) GoString() string

GoString returns the string representation

func (*CreateUserPoolDomainInput) SetDomain

func (s *CreateUserPoolDomainInput) SetDomain(v string) *CreateUserPoolDomainInput

SetDomain sets the Domain field's value.

func (*CreateUserPoolDomainInput) SetUserPoolId

func (s *CreateUserPoolDomainInput) SetUserPoolId(v string) *CreateUserPoolDomainInput

SetUserPoolId sets the UserPoolId field's value.

func (CreateUserPoolDomainInput) String

func (s CreateUserPoolDomainInput) String() string

String returns the string representation

func (*CreateUserPoolDomainInput) Validate

func (s *CreateUserPoolDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUserPoolDomainOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomainResponse

type CreateUserPoolDomainOutput struct {
    // contains filtered or unexported fields
}

func (CreateUserPoolDomainOutput) GoString

func (s CreateUserPoolDomainOutput) GoString() string

GoString returns the string representation

func (CreateUserPoolDomainOutput) String

func (s CreateUserPoolDomainOutput) String() string

String returns the string representation

type CreateUserPoolInput

Represents the request to create a user pool. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolRequest

type CreateUserPoolInput struct {

    // The configuration for AdminCreateUser requests.
    AdminCreateUserConfig *AdminCreateUserConfigType `type:"structure"`

    // Attributes supported as an alias for this user pool. Possible values: phone_number,
    // email, or preferred_username.
    AliasAttributes []*string `type:"list"`

    // The attributes to be auto-verified. Possible values: email, phone_number.
    AutoVerifiedAttributes []*string `type:"list"`

    // The device configuration.
    DeviceConfiguration *DeviceConfigurationType `type:"structure"`

    // The email configuration.
    EmailConfiguration *EmailConfigurationType `type:"structure"`

    // A string representing the email verification message.
    EmailVerificationMessage *string `min:"6" type:"string"`

    // A string representing the email verification subject.
    EmailVerificationSubject *string `min:"1" type:"string"`

    // The Lambda trigger configuration information for the new user pool.
    LambdaConfig *LambdaConfigType `type:"structure"`

    // Specifies MFA configuration details.
    MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"`

    // The policies associated with the new user pool.
    Policies *UserPoolPolicyType `type:"structure"`

    // A string used to name the user pool.
    //
    // PoolName is a required field
    PoolName *string `min:"1" type:"string" required:"true"`

    // An array of schema attributes for the new user pool. These attributes can
    // be standard or custom attributes.
    Schema []*SchemaAttributeType `min:"1" type:"list"`

    // A string representing the SMS authentication message.
    SmsAuthenticationMessage *string `min:"6" type:"string"`

    // The SMS configuration.
    SmsConfiguration *SmsConfigurationType `type:"structure"`

    // A string representing the SMS verification message.
    SmsVerificationMessage *string `min:"6" type:"string"`

    // The cost allocation tags for the user pool. For more information, see Adding
    // Cost Allocation Tags to Your User Pool (http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html)
    UserPoolTags map[string]*string `type:"map"`
    // contains filtered or unexported fields
}

func (CreateUserPoolInput) GoString

func (s CreateUserPoolInput) GoString() string

GoString returns the string representation

func (*CreateUserPoolInput) SetAdminCreateUserConfig

func (s *CreateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *CreateUserPoolInput

SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value.

func (*CreateUserPoolInput) SetAliasAttributes

func (s *CreateUserPoolInput) SetAliasAttributes(v []*string) *CreateUserPoolInput

SetAliasAttributes sets the AliasAttributes field's value.

func (*CreateUserPoolInput) SetAutoVerifiedAttributes

func (s *CreateUserPoolInput) SetAutoVerifiedAttributes(v []*string) *CreateUserPoolInput

SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value.

func (*CreateUserPoolInput) SetDeviceConfiguration

func (s *CreateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *CreateUserPoolInput

SetDeviceConfiguration sets the DeviceConfiguration field's value.

func (*CreateUserPoolInput) SetEmailConfiguration

func (s *CreateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *CreateUserPoolInput

SetEmailConfiguration sets the EmailConfiguration field's value.

func (*CreateUserPoolInput) SetEmailVerificationMessage

func (s *CreateUserPoolInput) SetEmailVerificationMessage(v string) *CreateUserPoolInput

SetEmailVerificationMessage sets the EmailVerificationMessage field's value.

func (*CreateUserPoolInput) SetEmailVerificationSubject

func (s *CreateUserPoolInput) SetEmailVerificationSubject(v string) *CreateUserPoolInput

SetEmailVerificationSubject sets the EmailVerificationSubject field's value.

func (*CreateUserPoolInput) SetLambdaConfig

func (s *CreateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *CreateUserPoolInput

SetLambdaConfig sets the LambdaConfig field's value.

func (*CreateUserPoolInput) SetMfaConfiguration

func (s *CreateUserPoolInput) SetMfaConfiguration(v string) *CreateUserPoolInput

SetMfaConfiguration sets the MfaConfiguration field's value.

func (*CreateUserPoolInput) SetPolicies

func (s *CreateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *CreateUserPoolInput

SetPolicies sets the Policies field's value.

func (*CreateUserPoolInput) SetPoolName

func (s *CreateUserPoolInput) SetPoolName(v string) *CreateUserPoolInput

SetPoolName sets the PoolName field's value.

func (*CreateUserPoolInput) SetSchema

func (s *CreateUserPoolInput) SetSchema(v []*SchemaAttributeType) *CreateUserPoolInput

SetSchema sets the Schema field's value.

func (*CreateUserPoolInput) SetSmsAuthenticationMessage

func (s *CreateUserPoolInput) SetSmsAuthenticationMessage(v string) *CreateUserPoolInput

SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value.

func (*CreateUserPoolInput) SetSmsConfiguration

func (s *CreateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *CreateUserPoolInput

SetSmsConfiguration sets the SmsConfiguration field's value.

func (*CreateUserPoolInput) SetSmsVerificationMessage

func (s *CreateUserPoolInput) SetSmsVerificationMessage(v string) *CreateUserPoolInput

SetSmsVerificationMessage sets the SmsVerificationMessage field's value.

func (*CreateUserPoolInput) SetUserPoolTags

func (s *CreateUserPoolInput) SetUserPoolTags(v map[string]*string) *CreateUserPoolInput

SetUserPoolTags sets the UserPoolTags field's value.

func (CreateUserPoolInput) String

func (s CreateUserPoolInput) String() string

String returns the string representation

func (*CreateUserPoolInput) Validate

func (s *CreateUserPoolInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUserPoolOutput

Represents the response from the server for the request to create a user pool. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolResponse

type CreateUserPoolOutput struct {

    // A container for the user pool details.
    UserPool *UserPoolType `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateUserPoolOutput) GoString

func (s CreateUserPoolOutput) GoString() string

GoString returns the string representation

func (*CreateUserPoolOutput) SetUserPool

func (s *CreateUserPoolOutput) SetUserPool(v *UserPoolType) *CreateUserPoolOutput

SetUserPool sets the UserPool field's value.

func (CreateUserPoolOutput) String

func (s CreateUserPoolOutput) String() string

String returns the string representation

type DeleteGroupInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroupRequest

type DeleteGroupInput struct {

    // The name of the group.
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`

    // The user pool ID for the user pool.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteGroupInput) GoString

func (s DeleteGroupInput) GoString() string

GoString returns the string representation

func (*DeleteGroupInput) SetGroupName

func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput

SetGroupName sets the GroupName field's value.

func (*DeleteGroupInput) SetUserPoolId

func (s *DeleteGroupInput) SetUserPoolId(v string) *DeleteGroupInput

SetUserPoolId sets the UserPoolId field's value.

func (DeleteGroupInput) String

func (s DeleteGroupInput) String() string

String returns the string representation

func (*DeleteGroupInput) Validate

func (s *DeleteGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteGroupOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroupOutput

type DeleteGroupOutput struct {
    // contains filtered or unexported fields
}

func (DeleteGroupOutput) GoString

func (s DeleteGroupOutput) GoString() string

GoString returns the string representation

func (DeleteGroupOutput) String

func (s DeleteGroupOutput) String() string

String returns the string representation

type DeleteIdentityProviderInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProviderRequest

type DeleteIdentityProviderInput struct {

    // The identity provider name.
    //
    // ProviderName is a required field
    ProviderName *string `min:"1" type:"string" required:"true"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteIdentityProviderInput) GoString

func (s DeleteIdentityProviderInput) GoString() string

GoString returns the string representation

func (*DeleteIdentityProviderInput) SetProviderName

func (s *DeleteIdentityProviderInput) SetProviderName(v string) *DeleteIdentityProviderInput

SetProviderName sets the ProviderName field's value.

func (*DeleteIdentityProviderInput) SetUserPoolId

func (s *DeleteIdentityProviderInput) SetUserPoolId(v string) *DeleteIdentityProviderInput

SetUserPoolId sets the UserPoolId field's value.

func (DeleteIdentityProviderInput) String

func (s DeleteIdentityProviderInput) String() string

String returns the string representation

func (*DeleteIdentityProviderInput) Validate

func (s *DeleteIdentityProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteIdentityProviderOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProviderOutput

type DeleteIdentityProviderOutput struct {
    // contains filtered or unexported fields
}

func (DeleteIdentityProviderOutput) GoString

func (s DeleteIdentityProviderOutput) GoString() string

GoString returns the string representation

func (DeleteIdentityProviderOutput) String

func (s DeleteIdentityProviderOutput) String() string

String returns the string representation

type DeleteUserAttributesInput

Represents the request to delete user attributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributesRequest

type DeleteUserAttributesInput struct {

    // The access token used in the request to delete user attributes.
    //
    // AccessToken is a required field
    AccessToken *string `type:"string" required:"true"`

    // An array of strings representing the user attribute names you wish to delete.
    //
    // For custom attributes, you must prepend the custom: prefix to the attribute
    // name.
    //
    // UserAttributeNames is a required field
    UserAttributeNames []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserAttributesInput) GoString

func (s DeleteUserAttributesInput) GoString() string

GoString returns the string representation

func (*DeleteUserAttributesInput) SetAccessToken

func (s *DeleteUserAttributesInput) SetAccessToken(v string) *DeleteUserAttributesInput

SetAccessToken sets the AccessToken field's value.

func (*DeleteUserAttributesInput) SetUserAttributeNames

func (s *DeleteUserAttributesInput) SetUserAttributeNames(v []*string) *DeleteUserAttributesInput

SetUserAttributeNames sets the UserAttributeNames field's value.

func (DeleteUserAttributesInput) String

func (s DeleteUserAttributesInput) String() string

String returns the string representation

func (*DeleteUserAttributesInput) Validate

func (s *DeleteUserAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserAttributesOutput

Represents the response from the server to delete user attributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributesResponse

type DeleteUserAttributesOutput struct {
    // contains filtered or unexported fields
}

func (DeleteUserAttributesOutput) GoString

func (s DeleteUserAttributesOutput) GoString() string

GoString returns the string representation

func (DeleteUserAttributesOutput) String

func (s DeleteUserAttributesOutput) String() string

String returns the string representation

type DeleteUserInput

Represents the request to delete a user. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserRequest

type DeleteUserInput struct {

    // The access token from a request to delete a user.
    //
    // AccessToken is a required field
    AccessToken *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserInput) GoString

func (s DeleteUserInput) GoString() string

GoString returns the string representation

func (*DeleteUserInput) SetAccessToken

func (s *DeleteUserInput) SetAccessToken(v string) *DeleteUserInput

SetAccessToken sets the AccessToken field's value.

func (DeleteUserInput) String

func (s DeleteUserInput) String() string

String returns the string representation

func (*DeleteUserInput) Validate

func (s *DeleteUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserOutput

type DeleteUserOutput struct {
    // contains filtered or unexported fields
}

func (DeleteUserOutput) GoString

func (s DeleteUserOutput) GoString() string

GoString returns the string representation

func (DeleteUserOutput) String

func (s DeleteUserOutput) String() string

String returns the string representation

type DeleteUserPoolClientInput

Represents the request to delete a user pool client. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClientRequest

type DeleteUserPoolClientInput struct {

    // The ID of the client associated with the user pool.
    //
    // ClientId is a required field
    ClientId *string `min:"1" type:"string" required:"true"`

    // The user pool ID for the user pool where you want to delete the client.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserPoolClientInput) GoString

func (s DeleteUserPoolClientInput) GoString() string

GoString returns the string representation

func (*DeleteUserPoolClientInput) SetClientId

func (s *DeleteUserPoolClientInput) SetClientId(v string) *DeleteUserPoolClientInput

SetClientId sets the ClientId field's value.

func (*DeleteUserPoolClientInput) SetUserPoolId

func (s *DeleteUserPoolClientInput) SetUserPoolId(v string) *DeleteUserPoolClientInput

SetUserPoolId sets the UserPoolId field's value.

func (DeleteUserPoolClientInput) String

func (s DeleteUserPoolClientInput) String() string

String returns the string representation

func (*DeleteUserPoolClientInput) Validate

func (s *DeleteUserPoolClientInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserPoolClientOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClientOutput

type DeleteUserPoolClientOutput struct {
    // contains filtered or unexported fields
}

func (DeleteUserPoolClientOutput) GoString

func (s DeleteUserPoolClientOutput) GoString() string

GoString returns the string representation

func (DeleteUserPoolClientOutput) String

func (s DeleteUserPoolClientOutput) String() string

String returns the string representation

type DeleteUserPoolDomainInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomainRequest

type DeleteUserPoolDomainInput struct {

    // The domain string.
    //
    // Domain is a required field
    Domain *string `min:"1" type:"string" required:"true"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserPoolDomainInput) GoString

func (s DeleteUserPoolDomainInput) GoString() string

GoString returns the string representation

func (*DeleteUserPoolDomainInput) SetDomain

func (s *DeleteUserPoolDomainInput) SetDomain(v string) *DeleteUserPoolDomainInput

SetDomain sets the Domain field's value.

func (*DeleteUserPoolDomainInput) SetUserPoolId

func (s *DeleteUserPoolDomainInput) SetUserPoolId(v string) *DeleteUserPoolDomainInput

SetUserPoolId sets the UserPoolId field's value.

func (DeleteUserPoolDomainInput) String

func (s DeleteUserPoolDomainInput) String() string

String returns the string representation

func (*DeleteUserPoolDomainInput) Validate

func (s *DeleteUserPoolDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserPoolDomainOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomainResponse

type DeleteUserPoolDomainOutput struct {
    // contains filtered or unexported fields
}

func (DeleteUserPoolDomainOutput) GoString

func (s DeleteUserPoolDomainOutput) GoString() string

GoString returns the string representation

func (DeleteUserPoolDomainOutput) String

func (s DeleteUserPoolDomainOutput) String() string

String returns the string representation

type DeleteUserPoolInput

Represents the request to delete a user pool. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolRequest

type DeleteUserPoolInput struct {

    // The user pool ID for the user pool you want to delete.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserPoolInput) GoString

func (s DeleteUserPoolInput) GoString() string

GoString returns the string representation

func (*DeleteUserPoolInput) SetUserPoolId

func (s *DeleteUserPoolInput) SetUserPoolId(v string) *DeleteUserPoolInput

SetUserPoolId sets the UserPoolId field's value.

func (DeleteUserPoolInput) String

func (s DeleteUserPoolInput) String() string

String returns the string representation

func (*DeleteUserPoolInput) Validate

func (s *DeleteUserPoolInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserPoolOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolOutput

type DeleteUserPoolOutput struct {
    // contains filtered or unexported fields
}

func (DeleteUserPoolOutput) GoString

func (s DeleteUserPoolOutput) GoString() string

GoString returns the string representation

func (DeleteUserPoolOutput) String

func (s DeleteUserPoolOutput) String() string

String returns the string representation

type DescribeIdentityProviderInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProviderRequest

type DescribeIdentityProviderInput struct {

    // The identity provider name.
    //
    // ProviderName is a required field
    ProviderName *string `min:"1" type:"string" required:"true"`

    // The user pool ID.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeIdentityProviderInput) GoString

func (s DescribeIdentityProviderInput) GoString() string

GoString returns the string representation

func (*DescribeIdentityProviderInput) SetProviderName

func (s *DescribeIdentityProviderInput) SetProviderName(v string) *DescribeIdentityProviderInput

SetProviderName sets the ProviderName field's value.

func (*DescribeIdentityProviderInput) SetUserPoolId

func (s *DescribeIdentityProviderInput) SetUserPoolId(v string) *DescribeIdentityProviderInput

SetUserPoolId sets the UserPoolId field's value.

func (DescribeIdentityProviderInput) String

func (s DescribeIdentityProviderInput) String() string

String returns the string representation

func (*DescribeIdentityProviderInput) Validate

func (s *DescribeIdentityProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeIdentityProviderOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProviderResponse

type DescribeIdentityProviderOutput struct {

    // The identity provider that was deleted.
    //
    // IdentityProvider is a required field
    IdentityProvider *IdentityProviderType `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeIdentityProviderOutput) GoString

func (s DescribeIdentityProviderOutput) GoString() string

GoString returns the string representation

func (*DescribeIdentityProviderOutput) SetIdentityProvider

func (s *DescribeIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *DescribeIdentityProviderOutput

SetIdentityProvider sets the IdentityProvider field's value.

func (DescribeIdentityProviderOutput) String

func (s DescribeIdentityProviderOutput) String() string

String returns the string representation

type DescribeUserImportJobInput

Represents the request to describe the user import job. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJobRequest

type DescribeUserImportJobInput struct {

    // The job ID for the user import job.
    //
    // JobId is a required field
    JobId *string `min:"1" type:"string" required:"true"`

    // The user pool ID for the user pool that the users are being imported into.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeUserImportJobInput) GoString

func (s DescribeUserImportJobInput) GoString() string

GoString returns the string representation

func (*DescribeUserImportJobInput) SetJobId

func (s *DescribeUserImportJobInput) SetJobId(v string) *DescribeUserImportJobInput

SetJobId sets the JobId field's value.

func (*DescribeUserImportJobInput) SetUserPoolId

func (s *DescribeUserImportJobInput) SetUserPoolId(v string) *DescribeUserImportJobInput

SetUserPoolId sets the UserPoolId field's value.

func (DescribeUserImportJobInput) String

func (s DescribeUserImportJobInput) String() string

String returns the string representation

func (*DescribeUserImportJobInput) Validate

func (s *DescribeUserImportJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeUserImportJobOutput

Represents the response from the server to the request to describe the user import job. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJobResponse

type DescribeUserImportJobOutput struct {

    // The job object that represents the user import job.
    UserImportJob *UserImportJobType `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeUserImportJobOutput) GoString

func (s DescribeUserImportJobOutput) GoString() string

GoString returns the string representation

func (*DescribeUserImportJobOutput) SetUserImportJob

func (s *DescribeUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *DescribeUserImportJobOutput

SetUserImportJob sets the UserImportJob field's value.

func (DescribeUserImportJobOutput) String

func (s DescribeUserImportJobOutput) String() string

String returns the string representation

type DescribeUserPoolClientInput

Represents the request to describe a user pool client. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClientRequest

type DescribeUserPoolClientInput struct {

    // The ID of the client associated with the user pool.
    //
    // ClientId is a required field
    ClientId *string `min:"1" type:"string" required:"true"`

    // The user pool ID for the user pool you want to describe.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeUserPoolClientInput) GoString

func (s DescribeUserPoolClientInput) GoString() string

GoString returns the string representation

func (*DescribeUserPoolClientInput) SetClientId

func (s *DescribeUserPoolClientInput) SetClientId(v string) *DescribeUserPoolClientInput

SetClientId sets the ClientId field's value.

func (*DescribeUserPoolClientInput) SetUserPoolId

func (s *DescribeUserPoolClientInput) SetUserPoolId(v string) *DescribeUserPoolClientInput

SetUserPoolId sets the UserPoolId field's value.

func (DescribeUserPoolClientInput) String

func (s DescribeUserPoolClientInput) String() string

String returns the string representation

func (*DescribeUserPoolClientInput) Validate

func (s *DescribeUserPoolClientInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeUserPoolClientOutput

Represents the response from the server from a request to describe the user pool client. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClientResponse

type DescribeUserPoolClientOutput struct {

    // The user pool client from a server response to describe the user pool client.
    UserPoolClient *UserPoolClientType `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeUserPoolClientOutput) GoString

func (s DescribeUserPoolClientOutput) GoString() string

GoString returns the string representation

func (*DescribeUserPoolClientOutput) SetUserPoolClient

func (s *DescribeUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *DescribeUserPoolClientOutput

SetUserPoolClient sets the UserPoolClient field's value.

func (DescribeUserPoolClientOutput) String

func (s DescribeUserPoolClientOutput) String() string

String returns the string representation

type DescribeUserPoolDomainInput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomainRequest

type DescribeUserPoolDomainInput struct {

    // The domain string.
    //
    // Domain is a required field
    Domain *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeUserPoolDomainInput) GoString

func (s DescribeUserPoolDomainInput) GoString() string

GoString returns the string representation

func (*DescribeUserPoolDomainInput) SetDomain

func (s *DescribeUserPoolDomainInput) SetDomain(v string) *DescribeUserPoolDomainInput

SetDomain sets the Domain field's value.

func (DescribeUserPoolDomainInput) String

func (s DescribeUserPoolDomainInput) String() string

String returns the string representation

func (*DescribeUserPoolDomainInput) Validate

func (s *DescribeUserPoolDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeUserPoolDomainOutput

Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomainResponse

type DescribeUserPoolDomainOutput struct {

    // A domain description object containing information about the domain.
    DomainDescription *DomainDescriptionType `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeUserPoolDomainOutput) GoString

func (s DescribeUserPoolDomainOutput) GoString() string

GoString returns the string representation

func (*DescribeUserPoolDomainOutput) SetDomainDescription

func (s *DescribeUserPoolDomainOutput) SetDomainDescription(v *DomainDescriptionType) *DescribeUserPoolDomainOutput

SetDomainDescription sets the DomainDescription field's value.

func (DescribeUserPoolDomainOutput) String

func (s DescribeUserPoolDomainOutput) String() string

String returns the string representation

type DescribeUserPoolInput

Represents the request to describe the user pool. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolRequest

type DescribeUserPoolInput struct {

    // The user pool ID for the user pool you want to describe.
    //
    // UserPoolId is a required field
    UserPoolId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeUserPoolInput) GoString

func (s DescribeUserPoolInput) GoString() string

GoString returns the string representation

func (*DescribeUserPoolInput) SetUserPoolId

func (s *DescribeUserPoolInput) SetUserPoolId(v string) *DescribeUserPoolInput

SetUserPoolId sets the UserPoolId field's value.

func (DescribeUserPoolInput) String

func (s DescribeUserPoolInput) String() string

String returns the string representation

func (*DescribeUserPoolInput) Validate

func (s *DescribeUserPoolInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeUserPoolOutput

Represents the response to describe the user pool. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolResponse

type DescribeUserPoolOutput struct {

    // The container of metadata returned by the server to describe the pool.
    UserPool *UserPoolType `type:"structure"`
    // contains filtered or unexported fields
}

func (DescribeUserPoolOutput) GoString

func (s DescribeUserPoolOutput) GoString() string

GoString returns the string representation

func (*DescribeUserPoolOutput) SetUserPool

func (s *DescribeUserPoolOutput) SetUserPool(v *UserPoolType) *DescribeUserPoolOutput

SetUserPool sets the UserPool field's value.

func (DescribeUserPoolOutput) String

func (s DescribeUserPoolOutput) String() string

String returns the string representation

type DeviceConfigurationType

The type of configuration for the user pool's device tracking. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceConfigurationType

type DeviceConfigurationType struct {

    // Indicates whether a challenge is required on a new device. Only applicable
    // to a new device.
    ChallengeRequiredOnNewDevice *bool `type:"boolean"`

    // If true, a device is only remembered on user prompt.
    DeviceOnlyRememberedOnUserPrompt *bool `type:"boolean"`
    // contains filtered or unexported fields
}

func (DeviceConfigurationType) GoString

func (s DeviceConfigurationType) GoString() string

GoString returns the string representation

func (*DeviceConfigurationType) SetChallengeRequiredOnNewDevice

func (s *DeviceConfigurationType) SetChallengeRequiredOnNewDevice(v bool) *DeviceConfigurationType

SetChallengeRequiredOnNewDevice sets the ChallengeRequiredOnNewDevice field's value.

func (*DeviceConfigurationType) SetDeviceOnlyRememberedOnUserPrompt

func (s *DeviceConfigurationType) SetDeviceOnlyRememberedOnUserPrompt(v bool) *DeviceConfigurationType

SetDeviceOnlyRememberedOnUserPrompt sets the DeviceOnlyRememberedOnUserPrompt field's value.

func (DeviceConfigurationType) String

func (s DeviceConfigurationType) String() string

String returns the string representation

type DeviceSecretVerifierConfigType

The device verifier against which it will be authenticated. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceSecretVerifierConfigType

type DeviceSecretVerifierConfigType struct {

    // The password verifier.
    PasswordVerifier *string `type:"string"`

    // The salt.
    Salt *string `type:"string"`
    // contains filtered or unexported fields
}

func (DeviceSecretVerifierConfigType) GoString

func (s DeviceSecretVerifierConfigType) GoString() string

GoString returns the string representation

func (*DeviceSecretVerifierConfigType) SetPasswordVerifier

func (s *DeviceSecretVerifierConfigType) SetPasswordVerifier(v string) *DeviceSecretVerifierConfigType

SetPasswordVerifier sets the PasswordVerifier field's value.

func (*DeviceSecretVerifierConfigType) SetSalt

func (s *DeviceSecretVerifierConfigType) SetSalt(v string) *DeviceSecretVerifierConfigType

SetSalt sets the Salt field's value.

func (DeviceSecretVerifierConfigType) String

func (s DeviceSecretVerifierConfigType) String() string

String returns the string representation

type DeviceType

The device type. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceType

type DeviceType struct {

    // The device attributes.
    DeviceAttributes []*AttributeType `type:"list"`

    // The creation date of the device.
    DeviceCreateDate *time.Time `type:"timestamp" timestampFormat:"unix"`

    // The device key.
    DeviceKey *string `min:"1" type:"string"`

    // The date in which the device was last authenticated.
    DeviceLastAuthenticatedDate *time.Time `type:"timestamp" timestampFormat:"unix"`

    // The last modified date of the device.
    DeviceLastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"`
    // contains filtered or unexported fields
}

func (DeviceType) GoString

func (s DeviceType) GoString() string

GoString returns the string representation

func (*DeviceType) SetDeviceAttributes

func (s *DeviceType) SetDeviceAttributes(v []*AttributeType) *DeviceType

SetDeviceAttributes sets the DeviceAttributes field's value.

func (*DeviceType) SetDeviceCreateDate

func (s *DeviceType) SetDeviceCreateDate(v time.Time) *DeviceType

SetDeviceCreateDate sets the DeviceCreateDate field's value.

func (*DeviceType) SetDeviceKey

func (s *DeviceType) SetDeviceKey(v string) *DeviceType

SetDeviceKey sets the DeviceKey field's value.

func (*DeviceType) SetDeviceLastAuthenticatedDate

func (s *DeviceType) SetDeviceLastAuthenticatedDate(v time.Time) *DeviceType

SetDeviceLastAuthenticatedDate sets the DeviceLastAuthenticatedDate field's value.

func (*DeviceType) SetDeviceLastModifiedDate

func (s *DeviceType) SetDeviceLastModifiedDate(v time.Time) *DeviceType

SetDeviceLastModifiedDate sets the DeviceLastModifiedDate field's value.

func (DeviceType) String

func (s DeviceType) String() string

String returns the string representation

type DomainDescriptionType

A container for information about a domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DomainDescriptionType

type DomainDescriptionType struct {

    // The AWS account ID for the user pool owner.
    AWSAccountId *string `type:"string"`

    // The ARN of the CloudFront distribution.
    CloudFrontDistribution *string `min:"20" type:"string"`

    // The domain string.
    Domain *string `min:"1" type:"string"`

    // The S3 bucket where the static files for this domain are stored.
    S3Bucket *string `min:"3" type:"string"`

    // The domain status.
    Status *string `type:"string" enum:"DomainStatusType"`

    // The user pool ID.
    UserPoolId *string `min:"1" type:"string"`

    // The app version.
    Version *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (DomainDescriptionType) GoString

func (s DomainDescriptionType) GoString() string

GoString returns the string representation

func (*DomainDescriptionType) SetAWSAccountId

func (s *DomainDescriptionType) SetAWSAccountId(v string) *DomainDescriptionType

SetAWSAccountId sets the AWSAccountId field's value.

func (*DomainDescriptionType) SetCloudFrontDistribution

func (s *DomainDescriptionType) SetCloudFrontDistribution(v string) *DomainDescriptionType

SetCloudFrontDistribution sets the CloudFrontDistribution field's value.

func (*DomainDescriptionType) SetDomain

func (s *DomainDescriptionType) SetDomain(v string) *DomainDescriptionType

SetDomain sets the Domain field's value.

func (*DomainDescriptionType) SetS3Bucket

func (s *DomainDescriptionType) SetS3Bucket(v string) *DomainDescriptionType

SetS3Bucket sets the S3Bucket field's value.

func (*DomainDescriptionType) SetStatus

func (s *DomainDescriptionType) SetStatus(v string) *DomainDescriptionType

SetStatus sets the Status field's value.

func (*DomainDescriptionType) SetUserPoolId

func (s *DomainDescriptionType) SetUserPoolId(v string) *DomainDescriptionType

SetUserPoolId sets the UserPoolId field's value.

func (*DomainDescriptionType) SetVersion

func (s *DomainDescriptionType) SetVersion(v string) *DomainDescriptionType

SetVersion sets the Version field's value.

func (DomainDescriptionType) String

func (s DomainDescriptionType) String() string

String returns the string representation

type EmailConfigurationType

The email configuration type. Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EmailConfigurationType

type EmailConfigurationType struct {

    // The REPLY-TO email address.
    ReplyToEmailAddress *string `type:"string"`

    // The Amazon Resource Name (ARN) of the email source.
    SourceArn *string `min:"20" type:"string"`
    // contains filtered or unexported fields
}

func (EmailConfigurationType) GoString

func (s EmailConfigurationType) GoString() string

GoString returns the string representation

func (*EmailConfigurationT