Documentation ¶
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 contact Amazon Cognito Identity Provider with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Cognito Identity Provider client CognitoIdentityProvider for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/#New
Index ¶
- Constants
- func AccountTakeoverEventActionType_Values() []string
- func AdvancedSecurityModeType_Values() []string
- func AliasAttributeType_Values() []string
- func AttributeDataType_Values() []string
- func AuthFlowType_Values() []string
- func ChallengeNameType_Values() []string
- func ChallengeName_Values() []string
- func ChallengeResponse_Values() []string
- func CompromisedCredentialsEventActionType_Values() []string
- func CustomEmailSenderLambdaVersionType_Values() []string
- func CustomSMSSenderLambdaVersionType_Values() []string
- func DefaultEmailOptionType_Values() []string
- func DeliveryMediumType_Values() []string
- func DeviceRememberedStatusType_Values() []string
- func DomainStatusType_Values() []string
- func EmailSendingAccountType_Values() []string
- func EventFilterType_Values() []string
- func EventResponseType_Values() []string
- func EventType_Values() []string
- func ExplicitAuthFlowsType_Values() []string
- func FeedbackValueType_Values() []string
- func IdentityProviderTypeType_Values() []string
- func MessageActionType_Values() []string
- func OAuthFlowType_Values() []string
- func PreventUserExistenceErrorTypes_Values() []string
- func RecoveryOptionNameType_Values() []string
- func RiskDecisionType_Values() []string
- func RiskLevelType_Values() []string
- func StatusType_Values() []string
- func TimeUnitsType_Values() []string
- func UserImportJobStatusType_Values() []string
- func UserPoolMfaType_Values() []string
- func UserStatusType_Values() []string
- func UsernameAttributeType_Values() []string
- func VerifiedAttributeType_Values() []string
- func VerifySoftwareTokenResponseType_Values() []string
- type AccountRecoverySettingType
- type AccountTakeoverActionType
- func (s AccountTakeoverActionType) GoString() string
- func (s *AccountTakeoverActionType) SetEventAction(v string) *AccountTakeoverActionType
- func (s *AccountTakeoverActionType) SetNotify(v bool) *AccountTakeoverActionType
- func (s AccountTakeoverActionType) String() string
- func (s *AccountTakeoverActionType) Validate() error
- type AccountTakeoverActionsType
- func (s AccountTakeoverActionsType) GoString() string
- func (s *AccountTakeoverActionsType) SetHighAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType
- func (s *AccountTakeoverActionsType) SetLowAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType
- func (s *AccountTakeoverActionsType) SetMediumAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType
- func (s AccountTakeoverActionsType) String() string
- func (s *AccountTakeoverActionsType) Validate() error
- type AccountTakeoverRiskConfigurationType
- func (s AccountTakeoverRiskConfigurationType) GoString() string
- func (s *AccountTakeoverRiskConfigurationType) SetActions(v *AccountTakeoverActionsType) *AccountTakeoverRiskConfigurationType
- func (s *AccountTakeoverRiskConfigurationType) SetNotifyConfiguration(v *NotifyConfigurationType) *AccountTakeoverRiskConfigurationType
- func (s AccountTakeoverRiskConfigurationType) String() string
- func (s *AccountTakeoverRiskConfigurationType) Validate() error
- 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
- 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
- type AdminConfirmSignUpInput
- func (s AdminConfirmSignUpInput) GoString() string
- func (s *AdminConfirmSignUpInput) SetClientMetadata(v map[string]*string) *AdminConfirmSignUpInput
- 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
- 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) SetClientMetadata(v map[string]*string) *AdminCreateUserInput
- 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
- 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
- type AdminDeleteUserInput
- type AdminDeleteUserOutput
- type AdminDisableProviderForUserInput
- func (s AdminDisableProviderForUserInput) GoString() string
- func (s *AdminDisableProviderForUserInput) SetUser(v *ProviderUserIdentifierType) *AdminDisableProviderForUserInput
- func (s *AdminDisableProviderForUserInput) SetUserPoolId(v string) *AdminDisableProviderForUserInput
- func (s AdminDisableProviderForUserInput) String() string
- func (s *AdminDisableProviderForUserInput) Validate() error
- type AdminDisableProviderForUserOutput
- 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
- type AdminEnableUserInput
- type AdminEnableUserOutput
- 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
- 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
- type AdminGetUserInput
- type AdminGetUserOutput
- func (s AdminGetUserOutput) GoString() string
- func (s *AdminGetUserOutput) SetEnabled(v bool) *AdminGetUserOutput
- func (s *AdminGetUserOutput) SetMFAOptions(v []*MFAOptionType) *AdminGetUserOutput
- func (s *AdminGetUserOutput) SetPreferredMfaSetting(v string) *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) SetUserMFASettingList(v []*string) *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) SetAnalyticsMetadata(v *AnalyticsMetadataType) *AdminInitiateAuthInput
- 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) SetContextData(v *ContextDataType) *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 AdminLinkProviderForUserInput
- func (s AdminLinkProviderForUserInput) GoString() string
- func (s *AdminLinkProviderForUserInput) SetDestinationUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput
- func (s *AdminLinkProviderForUserInput) SetSourceUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput
- func (s *AdminLinkProviderForUserInput) SetUserPoolId(v string) *AdminLinkProviderForUserInput
- func (s AdminLinkProviderForUserInput) String() string
- func (s *AdminLinkProviderForUserInput) Validate() error
- type AdminLinkProviderForUserOutput
- 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
- 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
- type AdminListUserAuthEventsInput
- func (s AdminListUserAuthEventsInput) GoString() string
- func (s *AdminListUserAuthEventsInput) SetMaxResults(v int64) *AdminListUserAuthEventsInput
- func (s *AdminListUserAuthEventsInput) SetNextToken(v string) *AdminListUserAuthEventsInput
- func (s *AdminListUserAuthEventsInput) SetUserPoolId(v string) *AdminListUserAuthEventsInput
- func (s *AdminListUserAuthEventsInput) SetUsername(v string) *AdminListUserAuthEventsInput
- func (s AdminListUserAuthEventsInput) String() string
- func (s *AdminListUserAuthEventsInput) Validate() error
- type AdminListUserAuthEventsOutput
- func (s AdminListUserAuthEventsOutput) GoString() string
- func (s *AdminListUserAuthEventsOutput) SetAuthEvents(v []*AuthEventType) *AdminListUserAuthEventsOutput
- func (s *AdminListUserAuthEventsOutput) SetNextToken(v string) *AdminListUserAuthEventsOutput
- func (s AdminListUserAuthEventsOutput) 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
- type AdminResetUserPasswordInput
- func (s AdminResetUserPasswordInput) GoString() string
- func (s *AdminResetUserPasswordInput) SetClientMetadata(v map[string]*string) *AdminResetUserPasswordInput
- 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
- type AdminRespondToAuthChallengeInput
- func (s AdminRespondToAuthChallengeInput) GoString() string
- func (s *AdminRespondToAuthChallengeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *AdminRespondToAuthChallengeInput
- 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) SetClientMetadata(v map[string]*string) *AdminRespondToAuthChallengeInput
- func (s *AdminRespondToAuthChallengeInput) SetContextData(v *ContextDataType) *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 AdminSetUserMFAPreferenceInput
- func (s AdminSetUserMFAPreferenceInput) GoString() string
- func (s *AdminSetUserMFAPreferenceInput) SetSMSMfaSettings(v *SMSMfaSettingsType) *AdminSetUserMFAPreferenceInput
- func (s *AdminSetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings(v *SoftwareTokenMfaSettingsType) *AdminSetUserMFAPreferenceInput
- func (s *AdminSetUserMFAPreferenceInput) SetUserPoolId(v string) *AdminSetUserMFAPreferenceInput
- func (s *AdminSetUserMFAPreferenceInput) SetUsername(v string) *AdminSetUserMFAPreferenceInput
- func (s AdminSetUserMFAPreferenceInput) String() string
- func (s *AdminSetUserMFAPreferenceInput) Validate() error
- type AdminSetUserMFAPreferenceOutput
- type AdminSetUserPasswordInput
- func (s AdminSetUserPasswordInput) GoString() string
- func (s *AdminSetUserPasswordInput) SetPassword(v string) *AdminSetUserPasswordInput
- func (s *AdminSetUserPasswordInput) SetPermanent(v bool) *AdminSetUserPasswordInput
- func (s *AdminSetUserPasswordInput) SetUserPoolId(v string) *AdminSetUserPasswordInput
- func (s *AdminSetUserPasswordInput) SetUsername(v string) *AdminSetUserPasswordInput
- func (s AdminSetUserPasswordInput) String() string
- func (s *AdminSetUserPasswordInput) Validate() error
- type AdminSetUserPasswordOutput
- 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
- type AdminUpdateAuthEventFeedbackInput
- func (s AdminUpdateAuthEventFeedbackInput) GoString() string
- func (s *AdminUpdateAuthEventFeedbackInput) SetEventId(v string) *AdminUpdateAuthEventFeedbackInput
- func (s *AdminUpdateAuthEventFeedbackInput) SetFeedbackValue(v string) *AdminUpdateAuthEventFeedbackInput
- func (s *AdminUpdateAuthEventFeedbackInput) SetUserPoolId(v string) *AdminUpdateAuthEventFeedbackInput
- func (s *AdminUpdateAuthEventFeedbackInput) SetUsername(v string) *AdminUpdateAuthEventFeedbackInput
- func (s AdminUpdateAuthEventFeedbackInput) String() string
- func (s *AdminUpdateAuthEventFeedbackInput) Validate() error
- type AdminUpdateAuthEventFeedbackOutput
- 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
- type AdminUpdateUserAttributesInput
- func (s AdminUpdateUserAttributesInput) GoString() string
- func (s *AdminUpdateUserAttributesInput) SetClientMetadata(v map[string]*string) *AdminUpdateUserAttributesInput
- 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
- 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
- type AliasExistsException
- func (s *AliasExistsException) Code() string
- func (s *AliasExistsException) Error() string
- func (s AliasExistsException) GoString() string
- func (s *AliasExistsException) Message() string
- func (s *AliasExistsException) OrigErr() error
- func (s *AliasExistsException) RequestID() string
- func (s *AliasExistsException) StatusCode() int
- func (s AliasExistsException) String() string
- type AnalyticsConfigurationType
- func (s AnalyticsConfigurationType) GoString() string
- func (s *AnalyticsConfigurationType) SetApplicationArn(v string) *AnalyticsConfigurationType
- func (s *AnalyticsConfigurationType) SetApplicationId(v string) *AnalyticsConfigurationType
- func (s *AnalyticsConfigurationType) SetExternalId(v string) *AnalyticsConfigurationType
- func (s *AnalyticsConfigurationType) SetRoleArn(v string) *AnalyticsConfigurationType
- func (s *AnalyticsConfigurationType) SetUserDataShared(v bool) *AnalyticsConfigurationType
- func (s AnalyticsConfigurationType) String() string
- func (s *AnalyticsConfigurationType) Validate() error
- type AnalyticsMetadataType
- type AssociateSoftwareTokenInput
- func (s AssociateSoftwareTokenInput) GoString() string
- func (s *AssociateSoftwareTokenInput) SetAccessToken(v string) *AssociateSoftwareTokenInput
- func (s *AssociateSoftwareTokenInput) SetSession(v string) *AssociateSoftwareTokenInput
- func (s AssociateSoftwareTokenInput) String() string
- func (s *AssociateSoftwareTokenInput) Validate() error
- type AssociateSoftwareTokenOutput
- type AttributeType
- type AuthEventType
- func (s AuthEventType) GoString() string
- func (s *AuthEventType) SetChallengeResponses(v []*ChallengeResponseType) *AuthEventType
- func (s *AuthEventType) SetCreationDate(v time.Time) *AuthEventType
- func (s *AuthEventType) SetEventContextData(v *EventContextDataType) *AuthEventType
- func (s *AuthEventType) SetEventFeedback(v *EventFeedbackType) *AuthEventType
- func (s *AuthEventType) SetEventId(v string) *AuthEventType
- func (s *AuthEventType) SetEventResponse(v string) *AuthEventType
- func (s *AuthEventType) SetEventRisk(v *EventRiskType) *AuthEventType
- func (s *AuthEventType) SetEventType(v string) *AuthEventType
- func (s AuthEventType) String() string
- 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 ChallengeResponseType
- 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
- 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 CodeDeliveryFailureException
- func (s *CodeDeliveryFailureException) Code() string
- func (s *CodeDeliveryFailureException) Error() string
- func (s CodeDeliveryFailureException) GoString() string
- func (s *CodeDeliveryFailureException) Message() string
- func (s *CodeDeliveryFailureException) OrigErr() error
- func (s *CodeDeliveryFailureException) RequestID() string
- func (s *CodeDeliveryFailureException) StatusCode() int
- func (s CodeDeliveryFailureException) String() string
- type CodeMismatchException
- func (s *CodeMismatchException) Code() string
- func (s *CodeMismatchException) Error() string
- func (s CodeMismatchException) GoString() string
- func (s *CodeMismatchException) Message() string
- func (s *CodeMismatchException) OrigErr() error
- func (s *CodeMismatchException) RequestID() string
- func (s *CodeMismatchException) StatusCode() int
- func (s CodeMismatchException) String() string
- type 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) AdminDisableProviderForUser(input *AdminDisableProviderForUserInput) (*AdminDisableProviderForUserOutput, error)
- func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *AdminDisableProviderForUserInput) (req *request.Request, output *AdminDisableProviderForUserOutput)
- func (c *CognitoIdentityProvider) AdminDisableProviderForUserWithContext(ctx aws.Context, input *AdminDisableProviderForUserInput, ...) (*AdminDisableProviderForUserOutput, 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) AdminLinkProviderForUser(input *AdminLinkProviderForUserInput) (*AdminLinkProviderForUserOutput, error)
- func (c *CognitoIdentityProvider) AdminLinkProviderForUserRequest(input *AdminLinkProviderForUserInput) (req *request.Request, output *AdminLinkProviderForUserOutput)
- func (c *CognitoIdentityProvider) AdminLinkProviderForUserWithContext(ctx aws.Context, input *AdminLinkProviderForUserInput, opts ...request.Option) (*AdminLinkProviderForUserOutput, 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) AdminListGroupsForUserPages(input *AdminListGroupsForUserInput, ...) error
- func (c *CognitoIdentityProvider) AdminListGroupsForUserPagesWithContext(ctx aws.Context, input *AdminListGroupsForUserInput, ...) 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) AdminListUserAuthEvents(input *AdminListUserAuthEventsInput) (*AdminListUserAuthEventsOutput, error)
- func (c *CognitoIdentityProvider) AdminListUserAuthEventsPages(input *AdminListUserAuthEventsInput, ...) error
- func (c *CognitoIdentityProvider) AdminListUserAuthEventsPagesWithContext(ctx aws.Context, input *AdminListUserAuthEventsInput, ...) error
- func (c *CognitoIdentityProvider) AdminListUserAuthEventsRequest(input *AdminListUserAuthEventsInput) (req *request.Request, output *AdminListUserAuthEventsOutput)
- func (c *CognitoIdentityProvider) AdminListUserAuthEventsWithContext(ctx aws.Context, input *AdminListUserAuthEventsInput, opts ...request.Option) (*AdminListUserAuthEventsOutput, 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, ...) (*AdminRespondToAuthChallengeOutput, error)
- func (c *CognitoIdentityProvider) AdminSetUserMFAPreference(input *AdminSetUserMFAPreferenceInput) (*AdminSetUserMFAPreferenceOutput, error)
- func (c *CognitoIdentityProvider) AdminSetUserMFAPreferenceRequest(input *AdminSetUserMFAPreferenceInput) (req *request.Request, output *AdminSetUserMFAPreferenceOutput)
- func (c *CognitoIdentityProvider) AdminSetUserMFAPreferenceWithContext(ctx aws.Context, input *AdminSetUserMFAPreferenceInput, opts ...request.Option) (*AdminSetUserMFAPreferenceOutput, error)
- func (c *CognitoIdentityProvider) AdminSetUserPassword(input *AdminSetUserPasswordInput) (*AdminSetUserPasswordOutput, error)
- func (c *CognitoIdentityProvider) AdminSetUserPasswordRequest(input *AdminSetUserPasswordInput) (req *request.Request, output *AdminSetUserPasswordOutput)
- func (c *CognitoIdentityProvider) AdminSetUserPasswordWithContext(ctx aws.Context, input *AdminSetUserPasswordInput, opts ...request.Option) (*AdminSetUserPasswordOutput, 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) AdminUpdateAuthEventFeedback(input *AdminUpdateAuthEventFeedbackInput) (*AdminUpdateAuthEventFeedbackOutput, error)
- func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedbackRequest(input *AdminUpdateAuthEventFeedbackInput) (req *request.Request, output *AdminUpdateAuthEventFeedbackOutput)
- func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedbackWithContext(ctx aws.Context, input *AdminUpdateAuthEventFeedbackInput, ...) (*AdminUpdateAuthEventFeedbackOutput, 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) AssociateSoftwareToken(input *AssociateSoftwareTokenInput) (*AssociateSoftwareTokenOutput, error)
- func (c *CognitoIdentityProvider) AssociateSoftwareTokenRequest(input *AssociateSoftwareTokenInput) (req *request.Request, output *AssociateSoftwareTokenOutput)
- func (c *CognitoIdentityProvider) AssociateSoftwareTokenWithContext(ctx aws.Context, input *AssociateSoftwareTokenInput, opts ...request.Option) (*AssociateSoftwareTokenOutput, 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) CreateResourceServer(input *CreateResourceServerInput) (*CreateResourceServerOutput, error)
- func (c *CognitoIdentityProvider) CreateResourceServerRequest(input *CreateResourceServerInput) (req *request.Request, output *CreateResourceServerOutput)
- func (c *CognitoIdentityProvider) CreateResourceServerWithContext(ctx aws.Context, input *CreateResourceServerInput, opts ...request.Option) (*CreateResourceServerOutput, 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) DeleteResourceServer(input *DeleteResourceServerInput) (*DeleteResourceServerOutput, error)
- func (c *CognitoIdentityProvider) DeleteResourceServerRequest(input *DeleteResourceServerInput) (req *request.Request, output *DeleteResourceServerOutput)
- func (c *CognitoIdentityProvider) DeleteResourceServerWithContext(ctx aws.Context, input *DeleteResourceServerInput, opts ...request.Option) (*DeleteResourceServerOutput, 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) DescribeResourceServer(input *DescribeResourceServerInput) (*DescribeResourceServerOutput, error)
- func (c *CognitoIdentityProvider) DescribeResourceServerRequest(input *DescribeResourceServerInput) (req *request.Request, output *DescribeResourceServerOutput)
- func (c *CognitoIdentityProvider) DescribeResourceServerWithContext(ctx aws.Context, input *DescribeResourceServerInput, opts ...request.Option) (*DescribeResourceServerOutput, error)
- func (c *CognitoIdentityProvider) DescribeRiskConfiguration(input *DescribeRiskConfigurationInput) (*DescribeRiskConfigurationOutput, error)
- func (c *CognitoIdentityProvider) DescribeRiskConfigurationRequest(input *DescribeRiskConfigurationInput) (req *request.Request, output *DescribeRiskConfigurationOutput)
- func (c *CognitoIdentityProvider) DescribeRiskConfigurationWithContext(ctx aws.Context, input *DescribeRiskConfigurationInput, opts ...request.Option) (*DescribeRiskConfigurationOutput, 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, ...) (*GetIdentityProviderByIdentifierOutput, error)
- func (c *CognitoIdentityProvider) GetSigningCertificate(input *GetSigningCertificateInput) (*GetSigningCertificateOutput, error)
- func (c *CognitoIdentityProvider) GetSigningCertificateRequest(input *GetSigningCertificateInput) (req *request.Request, output *GetSigningCertificateOutput)
- func (c *CognitoIdentityProvider) GetSigningCertificateWithContext(ctx aws.Context, input *GetSigningCertificateInput, opts ...request.Option) (*GetSigningCertificateOutput, error)
- func (c *CognitoIdentityProvider) GetUICustomization(input *GetUICustomizationInput) (*GetUICustomizationOutput, error)
- func (c *CognitoIdentityProvider) GetUICustomizationRequest(input *GetUICustomizationInput) (req *request.Request, output *GetUICustomizationOutput)
- func (c *CognitoIdentityProvider) GetUICustomizationWithContext(ctx aws.Context, input *GetUICustomizationInput, opts ...request.Option) (*GetUICustomizationOutput, 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, ...) (*GetUserAttributeVerificationCodeOutput, error)
- func (c *CognitoIdentityProvider) GetUserPoolMfaConfig(input *GetUserPoolMfaConfigInput) (*GetUserPoolMfaConfigOutput, error)
- func (c *CognitoIdentityProvider) GetUserPoolMfaConfigRequest(input *GetUserPoolMfaConfigInput) (req *request.Request, output *GetUserPoolMfaConfigOutput)
- func (c *CognitoIdentityProvider) GetUserPoolMfaConfigWithContext(ctx aws.Context, input *GetUserPoolMfaConfigInput, opts ...request.Option) (*GetUserPoolMfaConfigOutput, 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) ListGroupsPages(input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool) error
- func (c *CognitoIdentityProvider) ListGroupsPagesWithContext(ctx aws.Context, input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool, ...) 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) ListIdentityProvidersPages(input *ListIdentityProvidersInput, ...) error
- func (c *CognitoIdentityProvider) ListIdentityProvidersPagesWithContext(ctx aws.Context, input *ListIdentityProvidersInput, ...) 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) ListResourceServers(input *ListResourceServersInput) (*ListResourceServersOutput, error)
- func (c *CognitoIdentityProvider) ListResourceServersPages(input *ListResourceServersInput, ...) error
- func (c *CognitoIdentityProvider) ListResourceServersPagesWithContext(ctx aws.Context, input *ListResourceServersInput, ...) error
- func (c *CognitoIdentityProvider) ListResourceServersRequest(input *ListResourceServersInput) (req *request.Request, output *ListResourceServersOutput)
- func (c *CognitoIdentityProvider) ListResourceServersWithContext(ctx aws.Context, input *ListResourceServersInput, opts ...request.Option) (*ListResourceServersOutput, error)
- func (c *CognitoIdentityProvider) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *CognitoIdentityProvider) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *CognitoIdentityProvider) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, 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) ListUserPoolClientsPages(input *ListUserPoolClientsInput, ...) error
- func (c *CognitoIdentityProvider) ListUserPoolClientsPagesWithContext(ctx aws.Context, input *ListUserPoolClientsInput, ...) 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) ListUserPoolsPages(input *ListUserPoolsInput, fn func(*ListUserPoolsOutput, bool) bool) error
- func (c *CognitoIdentityProvider) ListUserPoolsPagesWithContext(ctx aws.Context, input *ListUserPoolsInput, ...) 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) ListUsersInGroupPages(input *ListUsersInGroupInput, fn func(*ListUsersInGroupOutput, bool) bool) error
- func (c *CognitoIdentityProvider) ListUsersInGroupPagesWithContext(ctx aws.Context, input *ListUsersInGroupInput, ...) 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) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error
- func (c *CognitoIdentityProvider) ListUsersPagesWithContext(ctx aws.Context, input *ListUsersInput, fn func(*ListUsersOutput, bool) bool, ...) 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) SetRiskConfiguration(input *SetRiskConfigurationInput) (*SetRiskConfigurationOutput, error)
- func (c *CognitoIdentityProvider) SetRiskConfigurationRequest(input *SetRiskConfigurationInput) (req *request.Request, output *SetRiskConfigurationOutput)
- func (c *CognitoIdentityProvider) SetRiskConfigurationWithContext(ctx aws.Context, input *SetRiskConfigurationInput, opts ...request.Option) (*SetRiskConfigurationOutput, error)
- func (c *CognitoIdentityProvider) SetUICustomization(input *SetUICustomizationInput) (*SetUICustomizationOutput, error)
- func (c *CognitoIdentityProvider) SetUICustomizationRequest(input *SetUICustomizationInput) (req *request.Request, output *SetUICustomizationOutput)
- func (c *CognitoIdentityProvider) SetUICustomizationWithContext(ctx aws.Context, input *SetUICustomizationInput, opts ...request.Option) (*SetUICustomizationOutput, error)
- func (c *CognitoIdentityProvider) SetUserMFAPreference(input *SetUserMFAPreferenceInput) (*SetUserMFAPreferenceOutput, error)
- func (c *CognitoIdentityProvider) SetUserMFAPreferenceRequest(input *SetUserMFAPreferenceInput) (req *request.Request, output *SetUserMFAPreferenceOutput)
- func (c *CognitoIdentityProvider) SetUserMFAPreferenceWithContext(ctx aws.Context, input *SetUserMFAPreferenceInput, opts ...request.Option) (*SetUserMFAPreferenceOutput, error)
- func (c *CognitoIdentityProvider) SetUserPoolMfaConfig(input *SetUserPoolMfaConfigInput) (*SetUserPoolMfaConfigOutput, error)
- func (c *CognitoIdentityProvider) SetUserPoolMfaConfigRequest(input *SetUserPoolMfaConfigInput) (req *request.Request, output *SetUserPoolMfaConfigOutput)
- func (c *CognitoIdentityProvider) SetUserPoolMfaConfigWithContext(ctx aws.Context, input *SetUserPoolMfaConfigInput, opts ...request.Option) (*SetUserPoolMfaConfigOutput, 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) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *CognitoIdentityProvider) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *CognitoIdentityProvider) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *CognitoIdentityProvider) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *CognitoIdentityProvider) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *CognitoIdentityProvider) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *CognitoIdentityProvider) UpdateAuthEventFeedback(input *UpdateAuthEventFeedbackInput) (*UpdateAuthEventFeedbackOutput, error)
- func (c *CognitoIdentityProvider) UpdateAuthEventFeedbackRequest(input *UpdateAuthEventFeedbackInput) (req *request.Request, output *UpdateAuthEventFeedbackOutput)
- func (c *CognitoIdentityProvider) UpdateAuthEventFeedbackWithContext(ctx aws.Context, input *UpdateAuthEventFeedbackInput, opts ...request.Option) (*UpdateAuthEventFeedbackOutput, 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) UpdateResourceServer(input *UpdateResourceServerInput) (*UpdateResourceServerOutput, error)
- func (c *CognitoIdentityProvider) UpdateResourceServerRequest(input *UpdateResourceServerInput) (req *request.Request, output *UpdateResourceServerOutput)
- func (c *CognitoIdentityProvider) UpdateResourceServerWithContext(ctx aws.Context, input *UpdateResourceServerInput, opts ...request.Option) (*UpdateResourceServerOutput, 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) UpdateUserPoolDomain(input *UpdateUserPoolDomainInput) (*UpdateUserPoolDomainOutput, error)
- func (c *CognitoIdentityProvider) UpdateUserPoolDomainRequest(input *UpdateUserPoolDomainInput) (req *request.Request, output *UpdateUserPoolDomainOutput)
- func (c *CognitoIdentityProvider) UpdateUserPoolDomainWithContext(ctx aws.Context, input *UpdateUserPoolDomainInput, opts ...request.Option) (*UpdateUserPoolDomainOutput, 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) VerifySoftwareToken(input *VerifySoftwareTokenInput) (*VerifySoftwareTokenOutput, error)
- func (c *CognitoIdentityProvider) VerifySoftwareTokenRequest(input *VerifySoftwareTokenInput) (req *request.Request, output *VerifySoftwareTokenOutput)
- func (c *CognitoIdentityProvider) VerifySoftwareTokenWithContext(ctx aws.Context, input *VerifySoftwareTokenInput, opts ...request.Option) (*VerifySoftwareTokenOutput, 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 CompromisedCredentialsActionsType
- type CompromisedCredentialsRiskConfigurationType
- func (s CompromisedCredentialsRiskConfigurationType) GoString() string
- func (s *CompromisedCredentialsRiskConfigurationType) SetActions(v *CompromisedCredentialsActionsType) *CompromisedCredentialsRiskConfigurationType
- func (s *CompromisedCredentialsRiskConfigurationType) SetEventFilter(v []*string) *CompromisedCredentialsRiskConfigurationType
- func (s CompromisedCredentialsRiskConfigurationType) String() string
- func (s *CompromisedCredentialsRiskConfigurationType) Validate() error
- type ConcurrentModificationException
- func (s *ConcurrentModificationException) Code() string
- func (s *ConcurrentModificationException) Error() string
- func (s ConcurrentModificationException) GoString() string
- func (s *ConcurrentModificationException) Message() string
- func (s *ConcurrentModificationException) OrigErr() error
- func (s *ConcurrentModificationException) RequestID() string
- func (s *ConcurrentModificationException) StatusCode() int
- func (s ConcurrentModificationException) String() string
- 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
- type ConfirmForgotPasswordInput
- func (s ConfirmForgotPasswordInput) GoString() string
- func (s *ConfirmForgotPasswordInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ConfirmForgotPasswordInput
- func (s *ConfirmForgotPasswordInput) SetClientId(v string) *ConfirmForgotPasswordInput
- func (s *ConfirmForgotPasswordInput) SetClientMetadata(v map[string]*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) SetUserContextData(v *UserContextDataType) *ConfirmForgotPasswordInput
- func (s *ConfirmForgotPasswordInput) SetUsername(v string) *ConfirmForgotPasswordInput
- func (s ConfirmForgotPasswordInput) String() string
- func (s *ConfirmForgotPasswordInput) Validate() error
- type ConfirmForgotPasswordOutput
- type ConfirmSignUpInput
- func (s ConfirmSignUpInput) GoString() string
- func (s *ConfirmSignUpInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ConfirmSignUpInput
- func (s *ConfirmSignUpInput) SetClientId(v string) *ConfirmSignUpInput
- func (s *ConfirmSignUpInput) SetClientMetadata(v map[string]*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) SetUserContextData(v *UserContextDataType) *ConfirmSignUpInput
- func (s *ConfirmSignUpInput) SetUsername(v string) *ConfirmSignUpInput
- func (s ConfirmSignUpInput) String() string
- func (s *ConfirmSignUpInput) Validate() error
- type ConfirmSignUpOutput
- type ContextDataType
- func (s ContextDataType) GoString() string
- func (s *ContextDataType) SetEncodedData(v string) *ContextDataType
- func (s *ContextDataType) SetHttpHeaders(v []*HttpHeader) *ContextDataType
- func (s *ContextDataType) SetIpAddress(v string) *ContextDataType
- func (s *ContextDataType) SetServerName(v string) *ContextDataType
- func (s *ContextDataType) SetServerPath(v string) *ContextDataType
- func (s ContextDataType) String() string
- func (s *ContextDataType) Validate() error
- 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
- 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
- type CreateResourceServerInput
- func (s CreateResourceServerInput) GoString() string
- func (s *CreateResourceServerInput) SetIdentifier(v string) *CreateResourceServerInput
- func (s *CreateResourceServerInput) SetName(v string) *CreateResourceServerInput
- func (s *CreateResourceServerInput) SetScopes(v []*ResourceServerScopeType) *CreateResourceServerInput
- func (s *CreateResourceServerInput) SetUserPoolId(v string) *CreateResourceServerInput
- func (s CreateResourceServerInput) String() string
- func (s *CreateResourceServerInput) Validate() error
- type CreateResourceServerOutput
- 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
- type CreateUserPoolClientInput
- func (s CreateUserPoolClientInput) GoString() string
- func (s *CreateUserPoolClientInput) SetAccessTokenValidity(v int64) *CreateUserPoolClientInput
- func (s *CreateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *CreateUserPoolClientInput
- func (s *CreateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *CreateUserPoolClientInput
- func (s *CreateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *CreateUserPoolClientInput
- func (s *CreateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *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) SetIdTokenValidity(v int64) *CreateUserPoolClientInput
- func (s *CreateUserPoolClientInput) SetLogoutURLs(v []*string) *CreateUserPoolClientInput
- func (s *CreateUserPoolClientInput) SetPreventUserExistenceErrors(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) SetTokenValidityUnits(v *TokenValidityUnitsType) *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
- type CreateUserPoolDomainInput
- func (s CreateUserPoolDomainInput) GoString() string
- func (s *CreateUserPoolDomainInput) SetCustomDomainConfig(v *CustomDomainConfigType) *CreateUserPoolDomainInput
- 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
- type CreateUserPoolInput
- func (s CreateUserPoolInput) GoString() string
- func (s *CreateUserPoolInput) SetAccountRecoverySetting(v *AccountRecoverySettingType) *CreateUserPoolInput
- 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) SetUserPoolAddOns(v *UserPoolAddOnsType) *CreateUserPoolInput
- func (s *CreateUserPoolInput) SetUserPoolTags(v map[string]*string) *CreateUserPoolInput
- func (s *CreateUserPoolInput) SetUsernameAttributes(v []*string) *CreateUserPoolInput
- func (s *CreateUserPoolInput) SetUsernameConfiguration(v *UsernameConfigurationType) *CreateUserPoolInput
- func (s *CreateUserPoolInput) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *CreateUserPoolInput
- func (s CreateUserPoolInput) String() string
- func (s *CreateUserPoolInput) Validate() error
- type CreateUserPoolOutput
- type CustomDomainConfigType
- type CustomEmailLambdaVersionConfigType
- func (s CustomEmailLambdaVersionConfigType) GoString() string
- func (s *CustomEmailLambdaVersionConfigType) SetLambdaArn(v string) *CustomEmailLambdaVersionConfigType
- func (s *CustomEmailLambdaVersionConfigType) SetLambdaVersion(v string) *CustomEmailLambdaVersionConfigType
- func (s CustomEmailLambdaVersionConfigType) String() string
- func (s *CustomEmailLambdaVersionConfigType) Validate() error
- type CustomSMSLambdaVersionConfigType
- func (s CustomSMSLambdaVersionConfigType) GoString() string
- func (s *CustomSMSLambdaVersionConfigType) SetLambdaArn(v string) *CustomSMSLambdaVersionConfigType
- func (s *CustomSMSLambdaVersionConfigType) SetLambdaVersion(v string) *CustomSMSLambdaVersionConfigType
- func (s CustomSMSLambdaVersionConfigType) String() string
- func (s *CustomSMSLambdaVersionConfigType) Validate() error
- type DeleteGroupInput
- type DeleteGroupOutput
- 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
- type DeleteResourceServerInput
- func (s DeleteResourceServerInput) GoString() string
- func (s *DeleteResourceServerInput) SetIdentifier(v string) *DeleteResourceServerInput
- func (s *DeleteResourceServerInput) SetUserPoolId(v string) *DeleteResourceServerInput
- func (s DeleteResourceServerInput) String() string
- func (s *DeleteResourceServerInput) Validate() error
- type DeleteResourceServerOutput
- 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
- type DeleteUserInput
- type DeleteUserOutput
- 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
- 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
- type DeleteUserPoolInput
- type DeleteUserPoolOutput
- 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
- type DescribeResourceServerInput
- func (s DescribeResourceServerInput) GoString() string
- func (s *DescribeResourceServerInput) SetIdentifier(v string) *DescribeResourceServerInput
- func (s *DescribeResourceServerInput) SetUserPoolId(v string) *DescribeResourceServerInput
- func (s DescribeResourceServerInput) String() string
- func (s *DescribeResourceServerInput) Validate() error
- type DescribeResourceServerOutput
- type DescribeRiskConfigurationInput
- func (s DescribeRiskConfigurationInput) GoString() string
- func (s *DescribeRiskConfigurationInput) SetClientId(v string) *DescribeRiskConfigurationInput
- func (s *DescribeRiskConfigurationInput) SetUserPoolId(v string) *DescribeRiskConfigurationInput
- func (s DescribeRiskConfigurationInput) String() string
- func (s *DescribeRiskConfigurationInput) Validate() error
- type DescribeRiskConfigurationOutput
- 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
- 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
- type DescribeUserPoolDomainInput
- type DescribeUserPoolDomainOutput
- type DescribeUserPoolInput
- type DescribeUserPoolOutput
- 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) SetCustomDomainConfig(v *CustomDomainConfigType) *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 DuplicateProviderException
- func (s *DuplicateProviderException) Code() string
- func (s *DuplicateProviderException) Error() string
- func (s DuplicateProviderException) GoString() string
- func (s *DuplicateProviderException) Message() string
- func (s *DuplicateProviderException) OrigErr() error
- func (s *DuplicateProviderException) RequestID() string
- func (s *DuplicateProviderException) StatusCode() int
- func (s DuplicateProviderException) String() string
- type EmailConfigurationType
- func (s EmailConfigurationType) GoString() string
- func (s *EmailConfigurationType) SetConfigurationSet(v string) *EmailConfigurationType
- func (s *EmailConfigurationType) SetEmailSendingAccount(v string) *EmailConfigurationType
- func (s *EmailConfigurationType) SetFrom(v string) *EmailConfigurationType
- 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 EnableSoftwareTokenMFAException
- func (s *EnableSoftwareTokenMFAException) Code() string
- func (s *EnableSoftwareTokenMFAException) Error() string
- func (s EnableSoftwareTokenMFAException) GoString() string
- func (s *EnableSoftwareTokenMFAException) Message() string
- func (s *EnableSoftwareTokenMFAException) OrigErr() error
- func (s *EnableSoftwareTokenMFAException) RequestID() string
- func (s *EnableSoftwareTokenMFAException) StatusCode() int
- func (s EnableSoftwareTokenMFAException) String() string
- type EventContextDataType
- func (s EventContextDataType) GoString() string
- func (s *EventContextDataType) SetCity(v string) *EventContextDataType
- func (s *EventContextDataType) SetCountry(v string) *EventContextDataType
- func (s *EventContextDataType) SetDeviceName(v string) *EventContextDataType
- func (s *EventContextDataType) SetIpAddress(v string) *EventContextDataType
- func (s *EventContextDataType) SetTimezone(v string) *EventContextDataType
- func (s EventContextDataType) String() string
- type EventFeedbackType
- func (s EventFeedbackType) GoString() string
- func (s *EventFeedbackType) SetFeedbackDate(v time.Time) *EventFeedbackType
- func (s *EventFeedbackType) SetFeedbackValue(v string) *EventFeedbackType
- func (s *EventFeedbackType) SetProvider(v string) *EventFeedbackType
- func (s EventFeedbackType) String() string
- type EventRiskType
- type ExpiredCodeException
- func (s *ExpiredCodeException) Code() string
- func (s *ExpiredCodeException) Error() string
- func (s ExpiredCodeException) GoString() string
- func (s *ExpiredCodeException) Message() string
- func (s *ExpiredCodeException) OrigErr() error
- func (s *ExpiredCodeException) RequestID() string
- func (s *ExpiredCodeException) StatusCode() int
- func (s ExpiredCodeException) String() string
- type ForgetDeviceInput
- type ForgetDeviceOutput
- type ForgotPasswordInput
- func (s ForgotPasswordInput) GoString() string
- func (s *ForgotPasswordInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ForgotPasswordInput
- func (s *ForgotPasswordInput) SetClientId(v string) *ForgotPasswordInput
- func (s *ForgotPasswordInput) SetClientMetadata(v map[string]*string) *ForgotPasswordInput
- func (s *ForgotPasswordInput) SetSecretHash(v string) *ForgotPasswordInput
- func (s *ForgotPasswordInput) SetUserContextData(v *UserContextDataType) *ForgotPasswordInput
- func (s *ForgotPasswordInput) SetUsername(v string) *ForgotPasswordInput
- func (s ForgotPasswordInput) String() string
- func (s *ForgotPasswordInput) Validate() error
- type ForgotPasswordOutput
- type GetCSVHeaderInput
- type GetCSVHeaderOutput
- type GetDeviceInput
- type GetDeviceOutput
- type GetGroupInput
- type GetGroupOutput
- 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
- type GetSigningCertificateInput
- type GetSigningCertificateOutput
- type GetUICustomizationInput
- func (s GetUICustomizationInput) GoString() string
- func (s *GetUICustomizationInput) SetClientId(v string) *GetUICustomizationInput
- func (s *GetUICustomizationInput) SetUserPoolId(v string) *GetUICustomizationInput
- func (s GetUICustomizationInput) String() string
- func (s *GetUICustomizationInput) Validate() error
- type GetUICustomizationOutput
- type GetUserAttributeVerificationCodeInput
- func (s GetUserAttributeVerificationCodeInput) GoString() string
- func (s *GetUserAttributeVerificationCodeInput) SetAccessToken(v string) *GetUserAttributeVerificationCodeInput
- func (s *GetUserAttributeVerificationCodeInput) SetAttributeName(v string) *GetUserAttributeVerificationCodeInput
- func (s *GetUserAttributeVerificationCodeInput) SetClientMetadata(v map[string]*string) *GetUserAttributeVerificationCodeInput
- func (s GetUserAttributeVerificationCodeInput) String() string
- func (s *GetUserAttributeVerificationCodeInput) Validate() error
- type GetUserAttributeVerificationCodeOutput
- type GetUserInput
- type GetUserOutput
- func (s GetUserOutput) GoString() string
- func (s *GetUserOutput) SetMFAOptions(v []*MFAOptionType) *GetUserOutput
- func (s *GetUserOutput) SetPreferredMfaSetting(v string) *GetUserOutput
- func (s *GetUserOutput) SetUserAttributes(v []*AttributeType) *GetUserOutput
- func (s *GetUserOutput) SetUserMFASettingList(v []*string) *GetUserOutput
- func (s *GetUserOutput) SetUsername(v string) *GetUserOutput
- func (s GetUserOutput) String() string
- type GetUserPoolMfaConfigInput
- type GetUserPoolMfaConfigOutput
- func (s GetUserPoolMfaConfigOutput) GoString() string
- func (s *GetUserPoolMfaConfigOutput) SetMfaConfiguration(v string) *GetUserPoolMfaConfigOutput
- func (s *GetUserPoolMfaConfigOutput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *GetUserPoolMfaConfigOutput
- func (s *GetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *GetUserPoolMfaConfigOutput
- func (s GetUserPoolMfaConfigOutput) String() string
- type GlobalSignOutInput
- type GlobalSignOutOutput
- type GroupExistsException
- func (s *GroupExistsException) Code() string
- func (s *GroupExistsException) Error() string
- func (s GroupExistsException) GoString() string
- func (s *GroupExistsException) Message() string
- func (s *GroupExistsException) OrigErr() error
- func (s *GroupExistsException) RequestID() string
- func (s *GroupExistsException) StatusCode() int
- func (s GroupExistsException) 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 HttpHeader
- 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) SetAnalyticsMetadata(v *AnalyticsMetadataType) *InitiateAuthInput
- 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) SetUserContextData(v *UserContextDataType) *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 InternalErrorException
- func (s *InternalErrorException) Code() string
- func (s *InternalErrorException) Error() string
- func (s InternalErrorException) GoString() string
- func (s *InternalErrorException) Message() string
- func (s *InternalErrorException) OrigErr() error
- func (s *InternalErrorException) RequestID() string
- func (s *InternalErrorException) StatusCode() int
- func (s InternalErrorException) String() string
- type InvalidEmailRoleAccessPolicyException
- func (s *InvalidEmailRoleAccessPolicyException) Code() string
- func (s *InvalidEmailRoleAccessPolicyException) Error() string
- func (s InvalidEmailRoleAccessPolicyException) GoString() string
- func (s *InvalidEmailRoleAccessPolicyException) Message() string
- func (s *InvalidEmailRoleAccessPolicyException) OrigErr() error
- func (s *InvalidEmailRoleAccessPolicyException) RequestID() string
- func (s *InvalidEmailRoleAccessPolicyException) StatusCode() int
- func (s InvalidEmailRoleAccessPolicyException) String() string
- type InvalidLambdaResponseException
- func (s *InvalidLambdaResponseException) Code() string
- func (s *InvalidLambdaResponseException) Error() string
- func (s InvalidLambdaResponseException) GoString() string
- func (s *InvalidLambdaResponseException) Message() string
- func (s *InvalidLambdaResponseException) OrigErr() error
- func (s *InvalidLambdaResponseException) RequestID() string
- func (s *InvalidLambdaResponseException) StatusCode() int
- func (s InvalidLambdaResponseException) String() string
- type InvalidOAuthFlowException
- func (s *InvalidOAuthFlowException) Code() string
- func (s *InvalidOAuthFlowException) Error() string
- func (s InvalidOAuthFlowException) GoString() string
- func (s *InvalidOAuthFlowException) Message() string
- func (s *InvalidOAuthFlowException) OrigErr() error
- func (s *InvalidOAuthFlowException) RequestID() string
- func (s *InvalidOAuthFlowException) StatusCode() int
- func (s InvalidOAuthFlowException) String() string
- type InvalidParameterException
- func (s *InvalidParameterException) Code() string
- func (s *InvalidParameterException) Error() string
- func (s InvalidParameterException) GoString() string
- func (s *InvalidParameterException) Message() string
- func (s *InvalidParameterException) OrigErr() error
- func (s *InvalidParameterException) RequestID() string
- func (s *InvalidParameterException) StatusCode() int
- func (s InvalidParameterException) String() string
- type InvalidPasswordException
- func (s *InvalidPasswordException) Code() string
- func (s *InvalidPasswordException) Error() string
- func (s InvalidPasswordException) GoString() string
- func (s *InvalidPasswordException) Message() string
- func (s *InvalidPasswordException) OrigErr() error
- func (s *InvalidPasswordException) RequestID() string
- func (s *InvalidPasswordException) StatusCode() int
- func (s InvalidPasswordException) String() string
- type InvalidSmsRoleAccessPolicyException
- func (s *InvalidSmsRoleAccessPolicyException) Code() string
- func (s *InvalidSmsRoleAccessPolicyException) Error() string
- func (s InvalidSmsRoleAccessPolicyException) GoString() string
- func (s *InvalidSmsRoleAccessPolicyException) Message() string
- func (s *InvalidSmsRoleAccessPolicyException) OrigErr() error
- func (s *InvalidSmsRoleAccessPolicyException) RequestID() string
- func (s *InvalidSmsRoleAccessPolicyException) StatusCode() int
- func (s InvalidSmsRoleAccessPolicyException) String() string
- type InvalidSmsRoleTrustRelationshipException
- func (s *InvalidSmsRoleTrustRelationshipException) Code() string
- func (s *InvalidSmsRoleTrustRelationshipException) Error() string
- func (s InvalidSmsRoleTrustRelationshipException) GoString() string
- func (s *InvalidSmsRoleTrustRelationshipException) Message() string
- func (s *InvalidSmsRoleTrustRelationshipException) OrigErr() error
- func (s *InvalidSmsRoleTrustRelationshipException) RequestID() string
- func (s *InvalidSmsRoleTrustRelationshipException) StatusCode() int
- func (s InvalidSmsRoleTrustRelationshipException) String() string
- type InvalidUserPoolConfigurationException
- func (s *InvalidUserPoolConfigurationException) Code() string
- func (s *InvalidUserPoolConfigurationException) Error() string
- func (s InvalidUserPoolConfigurationException) GoString() string
- func (s *InvalidUserPoolConfigurationException) Message() string
- func (s *InvalidUserPoolConfigurationException) OrigErr() error
- func (s *InvalidUserPoolConfigurationException) RequestID() string
- func (s *InvalidUserPoolConfigurationException) StatusCode() int
- func (s InvalidUserPoolConfigurationException) String() string
- type LambdaConfigType
- func (s LambdaConfigType) GoString() string
- func (s *LambdaConfigType) SetCreateAuthChallenge(v string) *LambdaConfigType
- func (s *LambdaConfigType) SetCustomEmailSender(v *CustomEmailLambdaVersionConfigType) *LambdaConfigType
- func (s *LambdaConfigType) SetCustomMessage(v string) *LambdaConfigType
- func (s *LambdaConfigType) SetCustomSMSSender(v *CustomSMSLambdaVersionConfigType) *LambdaConfigType
- func (s *LambdaConfigType) SetDefineAuthChallenge(v string) *LambdaConfigType
- func (s *LambdaConfigType) SetKMSKeyID(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) SetPreTokenGeneration(v string) *LambdaConfigType
- func (s *LambdaConfigType) SetUserMigration(v string) *LambdaConfigType
- func (s *LambdaConfigType) SetVerifyAuthChallengeResponse(v string) *LambdaConfigType
- func (s LambdaConfigType) String() string
- func (s *LambdaConfigType) Validate() error
- type LimitExceededException
- func (s *LimitExceededException) Code() string
- func (s *LimitExceededException) Error() string
- func (s LimitExceededException) GoString() string
- func (s *LimitExceededException) Message() string
- func (s *LimitExceededException) OrigErr() error
- func (s *LimitExceededException) RequestID() string
- func (s *LimitExceededException) StatusCode() int
- func (s LimitExceededException) String() string
- 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
- 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
- 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 ListResourceServersInput
- func (s ListResourceServersInput) GoString() string
- func (s *ListResourceServersInput) SetMaxResults(v int64) *ListResourceServersInput
- func (s *ListResourceServersInput) SetNextToken(v string) *ListResourceServersInput
- func (s *ListResourceServersInput) SetUserPoolId(v string) *ListResourceServersInput
- func (s ListResourceServersInput) String() string
- func (s *ListResourceServersInput) Validate() error
- type ListResourceServersOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- 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
- 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
- type ListUserPoolsOutput
- 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
- 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
- type MFAMethodNotFoundException
- func (s *MFAMethodNotFoundException) Code() string
- func (s *MFAMethodNotFoundException) Error() string
- func (s MFAMethodNotFoundException) GoString() string
- func (s *MFAMethodNotFoundException) Message() string
- func (s *MFAMethodNotFoundException) OrigErr() error
- func (s *MFAMethodNotFoundException) RequestID() string
- func (s *MFAMethodNotFoundException) StatusCode() int
- func (s MFAMethodNotFoundException) String() string
- type MFAOptionType
- 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
- type NotAuthorizedException
- func (s *NotAuthorizedException) Code() string
- func (s *NotAuthorizedException) Error() string
- func (s NotAuthorizedException) GoString() string
- func (s *NotAuthorizedException) Message() string
- func (s *NotAuthorizedException) OrigErr() error
- func (s *NotAuthorizedException) RequestID() string
- func (s *NotAuthorizedException) StatusCode() int
- func (s NotAuthorizedException) String() string
- type NotifyConfigurationType
- func (s NotifyConfigurationType) GoString() string
- func (s *NotifyConfigurationType) SetBlockEmail(v *NotifyEmailType) *NotifyConfigurationType
- func (s *NotifyConfigurationType) SetFrom(v string) *NotifyConfigurationType
- func (s *NotifyConfigurationType) SetMfaEmail(v *NotifyEmailType) *NotifyConfigurationType
- func (s *NotifyConfigurationType) SetNoActionEmail(v *NotifyEmailType) *NotifyConfigurationType
- func (s *NotifyConfigurationType) SetReplyTo(v string) *NotifyConfigurationType
- func (s *NotifyConfigurationType) SetSourceArn(v string) *NotifyConfigurationType
- func (s NotifyConfigurationType) String() string
- func (s *NotifyConfigurationType) Validate() error
- type NotifyEmailType
- func (s NotifyEmailType) GoString() string
- func (s *NotifyEmailType) SetHtmlBody(v string) *NotifyEmailType
- func (s *NotifyEmailType) SetSubject(v string) *NotifyEmailType
- func (s *NotifyEmailType) SetTextBody(v string) *NotifyEmailType
- func (s NotifyEmailType) String() string
- func (s *NotifyEmailType) Validate() error
- 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) SetTemporaryPasswordValidityDays(v int64) *PasswordPolicyType
- func (s PasswordPolicyType) String() string
- func (s *PasswordPolicyType) Validate() error
- type PasswordResetRequiredException
- func (s *PasswordResetRequiredException) Code() string
- func (s *PasswordResetRequiredException) Error() string
- func (s PasswordResetRequiredException) GoString() string
- func (s *PasswordResetRequiredException) Message() string
- func (s *PasswordResetRequiredException) OrigErr() error
- func (s *PasswordResetRequiredException) RequestID() string
- func (s *PasswordResetRequiredException) StatusCode() int
- func (s PasswordResetRequiredException) String() string
- type PreconditionNotMetException
- func (s *PreconditionNotMetException) Code() string
- func (s *PreconditionNotMetException) Error() string
- func (s PreconditionNotMetException) GoString() string
- func (s *PreconditionNotMetException) Message() string
- func (s *PreconditionNotMetException) OrigErr() error
- func (s *PreconditionNotMetException) RequestID() string
- func (s *PreconditionNotMetException) StatusCode() int
- func (s PreconditionNotMetException) String() string
- 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 ProviderUserIdentifierType
- func (s ProviderUserIdentifierType) GoString() string
- func (s *ProviderUserIdentifierType) SetProviderAttributeName(v string) *ProviderUserIdentifierType
- func (s *ProviderUserIdentifierType) SetProviderAttributeValue(v string) *ProviderUserIdentifierType
- func (s *ProviderUserIdentifierType) SetProviderName(v string) *ProviderUserIdentifierType
- func (s ProviderUserIdentifierType) String() string
- func (s *ProviderUserIdentifierType) Validate() error
- type RecoveryOptionType
- type ResendConfirmationCodeInput
- func (s ResendConfirmationCodeInput) GoString() string
- func (s *ResendConfirmationCodeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ResendConfirmationCodeInput
- func (s *ResendConfirmationCodeInput) SetClientId(v string) *ResendConfirmationCodeInput
- func (s *ResendConfirmationCodeInput) SetClientMetadata(v map[string]*string) *ResendConfirmationCodeInput
- func (s *ResendConfirmationCodeInput) SetSecretHash(v string) *ResendConfirmationCodeInput
- func (s *ResendConfirmationCodeInput) SetUserContextData(v *UserContextDataType) *ResendConfirmationCodeInput
- func (s *ResendConfirmationCodeInput) SetUsername(v string) *ResendConfirmationCodeInput
- func (s ResendConfirmationCodeInput) String() string
- func (s *ResendConfirmationCodeInput) Validate() error
- type ResendConfirmationCodeOutput
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ResourceServerScopeType
- func (s ResourceServerScopeType) GoString() string
- func (s *ResourceServerScopeType) SetScopeDescription(v string) *ResourceServerScopeType
- func (s *ResourceServerScopeType) SetScopeName(v string) *ResourceServerScopeType
- func (s ResourceServerScopeType) String() string
- func (s *ResourceServerScopeType) Validate() error
- type ResourceServerType
- func (s ResourceServerType) GoString() string
- func (s *ResourceServerType) SetIdentifier(v string) *ResourceServerType
- func (s *ResourceServerType) SetName(v string) *ResourceServerType
- func (s *ResourceServerType) SetScopes(v []*ResourceServerScopeType) *ResourceServerType
- func (s *ResourceServerType) SetUserPoolId(v string) *ResourceServerType
- func (s ResourceServerType) String() string
- type RespondToAuthChallengeInput
- func (s RespondToAuthChallengeInput) GoString() string
- func (s *RespondToAuthChallengeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *RespondToAuthChallengeInput
- 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) SetClientMetadata(v map[string]*string) *RespondToAuthChallengeInput
- func (s *RespondToAuthChallengeInput) SetSession(v string) *RespondToAuthChallengeInput
- func (s *RespondToAuthChallengeInput) SetUserContextData(v *UserContextDataType) *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 RiskConfigurationType
- func (s RiskConfigurationType) GoString() string
- func (s *RiskConfigurationType) SetAccountTakeoverRiskConfiguration(v *AccountTakeoverRiskConfigurationType) *RiskConfigurationType
- func (s *RiskConfigurationType) SetClientId(v string) *RiskConfigurationType
- func (s *RiskConfigurationType) SetCompromisedCredentialsRiskConfiguration(v *CompromisedCredentialsRiskConfigurationType) *RiskConfigurationType
- func (s *RiskConfigurationType) SetLastModifiedDate(v time.Time) *RiskConfigurationType
- func (s *RiskConfigurationType) SetRiskExceptionConfiguration(v *RiskExceptionConfigurationType) *RiskConfigurationType
- func (s *RiskConfigurationType) SetUserPoolId(v string) *RiskConfigurationType
- func (s RiskConfigurationType) String() string
- type RiskExceptionConfigurationType
- func (s RiskExceptionConfigurationType) GoString() string
- func (s *RiskExceptionConfigurationType) SetBlockedIPRangeList(v []*string) *RiskExceptionConfigurationType
- func (s *RiskExceptionConfigurationType) SetSkippedIPRangeList(v []*string) *RiskExceptionConfigurationType
- func (s RiskExceptionConfigurationType) String() string
- type SMSMfaSettingsType
- 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 ScopeDoesNotExistException
- func (s *ScopeDoesNotExistException) Code() string
- func (s *ScopeDoesNotExistException) Error() string
- func (s ScopeDoesNotExistException) GoString() string
- func (s *ScopeDoesNotExistException) Message() string
- func (s *ScopeDoesNotExistException) OrigErr() error
- func (s *ScopeDoesNotExistException) RequestID() string
- func (s *ScopeDoesNotExistException) StatusCode() int
- func (s ScopeDoesNotExistException) String() string
- type SetRiskConfigurationInput
- func (s SetRiskConfigurationInput) GoString() string
- func (s *SetRiskConfigurationInput) SetAccountTakeoverRiskConfiguration(v *AccountTakeoverRiskConfigurationType) *SetRiskConfigurationInput
- func (s *SetRiskConfigurationInput) SetClientId(v string) *SetRiskConfigurationInput
- func (s *SetRiskConfigurationInput) SetCompromisedCredentialsRiskConfiguration(v *CompromisedCredentialsRiskConfigurationType) *SetRiskConfigurationInput
- func (s *SetRiskConfigurationInput) SetRiskExceptionConfiguration(v *RiskExceptionConfigurationType) *SetRiskConfigurationInput
- func (s *SetRiskConfigurationInput) SetUserPoolId(v string) *SetRiskConfigurationInput
- func (s SetRiskConfigurationInput) String() string
- func (s *SetRiskConfigurationInput) Validate() error
- type SetRiskConfigurationOutput
- type SetUICustomizationInput
- func (s SetUICustomizationInput) GoString() string
- func (s *SetUICustomizationInput) SetCSS(v string) *SetUICustomizationInput
- func (s *SetUICustomizationInput) SetClientId(v string) *SetUICustomizationInput
- func (s *SetUICustomizationInput) SetImageFile(v []byte) *SetUICustomizationInput
- func (s *SetUICustomizationInput) SetUserPoolId(v string) *SetUICustomizationInput
- func (s SetUICustomizationInput) String() string
- func (s *SetUICustomizationInput) Validate() error
- type SetUICustomizationOutput
- type SetUserMFAPreferenceInput
- func (s SetUserMFAPreferenceInput) GoString() string
- func (s *SetUserMFAPreferenceInput) SetAccessToken(v string) *SetUserMFAPreferenceInput
- func (s *SetUserMFAPreferenceInput) SetSMSMfaSettings(v *SMSMfaSettingsType) *SetUserMFAPreferenceInput
- func (s *SetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings(v *SoftwareTokenMfaSettingsType) *SetUserMFAPreferenceInput
- func (s SetUserMFAPreferenceInput) String() string
- func (s *SetUserMFAPreferenceInput) Validate() error
- type SetUserMFAPreferenceOutput
- type SetUserPoolMfaConfigInput
- func (s SetUserPoolMfaConfigInput) GoString() string
- func (s *SetUserPoolMfaConfigInput) SetMfaConfiguration(v string) *SetUserPoolMfaConfigInput
- func (s *SetUserPoolMfaConfigInput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *SetUserPoolMfaConfigInput
- func (s *SetUserPoolMfaConfigInput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *SetUserPoolMfaConfigInput
- func (s *SetUserPoolMfaConfigInput) SetUserPoolId(v string) *SetUserPoolMfaConfigInput
- func (s SetUserPoolMfaConfigInput) String() string
- func (s *SetUserPoolMfaConfigInput) Validate() error
- type SetUserPoolMfaConfigOutput
- func (s SetUserPoolMfaConfigOutput) GoString() string
- func (s *SetUserPoolMfaConfigOutput) SetMfaConfiguration(v string) *SetUserPoolMfaConfigOutput
- func (s *SetUserPoolMfaConfigOutput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *SetUserPoolMfaConfigOutput
- func (s *SetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *SetUserPoolMfaConfigOutput
- func (s SetUserPoolMfaConfigOutput) String() string
- 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
- type SignUpInput
- func (s SignUpInput) GoString() string
- func (s *SignUpInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *SignUpInput
- func (s *SignUpInput) SetClientId(v string) *SignUpInput
- func (s *SignUpInput) SetClientMetadata(v map[string]*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) SetUserContextData(v *UserContextDataType) *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
- type SmsConfigurationType
- type SmsMfaConfigType
- func (s SmsMfaConfigType) GoString() string
- func (s *SmsMfaConfigType) SetSmsAuthenticationMessage(v string) *SmsMfaConfigType
- func (s *SmsMfaConfigType) SetSmsConfiguration(v *SmsConfigurationType) *SmsMfaConfigType
- func (s SmsMfaConfigType) String() string
- func (s *SmsMfaConfigType) Validate() error
- type SoftwareTokenMFANotFoundException
- func (s *SoftwareTokenMFANotFoundException) Code() string
- func (s *SoftwareTokenMFANotFoundException) Error() string
- func (s SoftwareTokenMFANotFoundException) GoString() string
- func (s *SoftwareTokenMFANotFoundException) Message() string
- func (s *SoftwareTokenMFANotFoundException) OrigErr() error
- func (s *SoftwareTokenMFANotFoundException) RequestID() string
- func (s *SoftwareTokenMFANotFoundException) StatusCode() int
- func (s SoftwareTokenMFANotFoundException) String() string
- type SoftwareTokenMfaConfigType
- type SoftwareTokenMfaSettingsType
- 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
- 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
- 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 TagResourceInput
- type TagResourceOutput
- type TokenValidityUnitsType
- func (s TokenValidityUnitsType) GoString() string
- func (s *TokenValidityUnitsType) SetAccessToken(v string) *TokenValidityUnitsType
- func (s *TokenValidityUnitsType) SetIdToken(v string) *TokenValidityUnitsType
- func (s *TokenValidityUnitsType) SetRefreshToken(v string) *TokenValidityUnitsType
- func (s TokenValidityUnitsType) String() string
- type TooManyFailedAttemptsException
- func (s *TooManyFailedAttemptsException) Code() string
- func (s *TooManyFailedAttemptsException) Error() string
- func (s TooManyFailedAttemptsException) GoString() string
- func (s *TooManyFailedAttemptsException) Message() string
- func (s *TooManyFailedAttemptsException) OrigErr() error
- func (s *TooManyFailedAttemptsException) RequestID() string
- func (s *TooManyFailedAttemptsException) StatusCode() int
- func (s TooManyFailedAttemptsException) String() string
- type TooManyRequestsException
- func (s *TooManyRequestsException) Code() string
- func (s *TooManyRequestsException) Error() string
- func (s TooManyRequestsException) GoString() string
- func (s *TooManyRequestsException) Message() string
- func (s *TooManyRequestsException) OrigErr() error
- func (s *TooManyRequestsException) RequestID() string
- func (s *TooManyRequestsException) StatusCode() int
- func (s TooManyRequestsException) String() string
- type UICustomizationType
- func (s UICustomizationType) GoString() string
- func (s *UICustomizationType) SetCSS(v string) *UICustomizationType
- func (s *UICustomizationType) SetCSSVersion(v string) *UICustomizationType
- func (s *UICustomizationType) SetClientId(v string) *UICustomizationType
- func (s *UICustomizationType) SetCreationDate(v time.Time) *UICustomizationType
- func (s *UICustomizationType) SetImageUrl(v string) *UICustomizationType
- func (s *UICustomizationType) SetLastModifiedDate(v time.Time) *UICustomizationType
- func (s *UICustomizationType) SetUserPoolId(v string) *UICustomizationType
- func (s UICustomizationType) String() string
- type UnexpectedLambdaException
- func (s *UnexpectedLambdaException) Code() string
- func (s *UnexpectedLambdaException) Error() string
- func (s UnexpectedLambdaException) GoString() string
- func (s *UnexpectedLambdaException) Message() string
- func (s *UnexpectedLambdaException) OrigErr() error
- func (s *UnexpectedLambdaException) RequestID() string
- func (s *UnexpectedLambdaException) StatusCode() int
- func (s UnexpectedLambdaException) String() string
- type UnsupportedIdentityProviderException
- func (s *UnsupportedIdentityProviderException) Code() string
- func (s *UnsupportedIdentityProviderException) Error() string
- func (s UnsupportedIdentityProviderException) GoString() string
- func (s *UnsupportedIdentityProviderException) Message() string
- func (s *UnsupportedIdentityProviderException) OrigErr() error
- func (s *UnsupportedIdentityProviderException) RequestID() string
- func (s *UnsupportedIdentityProviderException) StatusCode() int
- func (s UnsupportedIdentityProviderException) String() string
- type UnsupportedUserStateException
- func (s *UnsupportedUserStateException) Code() string
- func (s *UnsupportedUserStateException) Error() string
- func (s UnsupportedUserStateException) GoString() string
- func (s *UnsupportedUserStateException) Message() string
- func (s *UnsupportedUserStateException) OrigErr() error
- func (s *UnsupportedUserStateException) RequestID() string
- func (s *UnsupportedUserStateException) StatusCode() int
- func (s UnsupportedUserStateException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAuthEventFeedbackInput
- func (s UpdateAuthEventFeedbackInput) GoString() string
- func (s *UpdateAuthEventFeedbackInput) SetEventId(v string) *UpdateAuthEventFeedbackInput
- func (s *UpdateAuthEventFeedbackInput) SetFeedbackToken(v string) *UpdateAuthEventFeedbackInput
- func (s *UpdateAuthEventFeedbackInput) SetFeedbackValue(v string) *UpdateAuthEventFeedbackInput
- func (s *UpdateAuthEventFeedbackInput) SetUserPoolId(v string) *UpdateAuthEventFeedbackInput
- func (s *UpdateAuthEventFeedbackInput) SetUsername(v string) *UpdateAuthEventFeedbackInput
- func (s UpdateAuthEventFeedbackInput) String() string
- func (s *UpdateAuthEventFeedbackInput) Validate() error
- type UpdateAuthEventFeedbackOutput
- 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
- 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
- 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
- type UpdateResourceServerInput
- func (s UpdateResourceServerInput) GoString() string
- func (s *UpdateResourceServerInput) SetIdentifier(v string) *UpdateResourceServerInput
- func (s *UpdateResourceServerInput) SetName(v string) *UpdateResourceServerInput
- func (s *UpdateResourceServerInput) SetScopes(v []*ResourceServerScopeType) *UpdateResourceServerInput
- func (s *UpdateResourceServerInput) SetUserPoolId(v string) *UpdateResourceServerInput
- func (s UpdateResourceServerInput) String() string
- func (s *UpdateResourceServerInput) Validate() error
- type UpdateResourceServerOutput
- type UpdateUserAttributesInput
- func (s UpdateUserAttributesInput) GoString() string
- func (s *UpdateUserAttributesInput) SetAccessToken(v string) *UpdateUserAttributesInput
- func (s *UpdateUserAttributesInput) SetClientMetadata(v map[string]*string) *UpdateUserAttributesInput
- func (s *UpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *UpdateUserAttributesInput
- func (s UpdateUserAttributesInput) String() string
- func (s *UpdateUserAttributesInput) Validate() error
- type UpdateUserAttributesOutput
- type UpdateUserPoolClientInput
- func (s UpdateUserPoolClientInput) GoString() string
- func (s *UpdateUserPoolClientInput) SetAccessTokenValidity(v int64) *UpdateUserPoolClientInput
- func (s *UpdateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *UpdateUserPoolClientInput
- func (s *UpdateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *UpdateUserPoolClientInput
- func (s *UpdateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *UpdateUserPoolClientInput
- func (s *UpdateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *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) SetIdTokenValidity(v int64) *UpdateUserPoolClientInput
- func (s *UpdateUserPoolClientInput) SetLogoutURLs(v []*string) *UpdateUserPoolClientInput
- func (s *UpdateUserPoolClientInput) SetPreventUserExistenceErrors(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) SetTokenValidityUnits(v *TokenValidityUnitsType) *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
- type UpdateUserPoolDomainInput
- func (s UpdateUserPoolDomainInput) GoString() string
- func (s *UpdateUserPoolDomainInput) SetCustomDomainConfig(v *CustomDomainConfigType) *UpdateUserPoolDomainInput
- func (s *UpdateUserPoolDomainInput) SetDomain(v string) *UpdateUserPoolDomainInput
- func (s *UpdateUserPoolDomainInput) SetUserPoolId(v string) *UpdateUserPoolDomainInput
- func (s UpdateUserPoolDomainInput) String() string
- func (s *UpdateUserPoolDomainInput) Validate() error
- type UpdateUserPoolDomainOutput
- type UpdateUserPoolInput
- func (s UpdateUserPoolInput) GoString() string
- func (s *UpdateUserPoolInput) SetAccountRecoverySetting(v *AccountRecoverySettingType) *UpdateUserPoolInput
- 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) SetUserPoolAddOns(v *UserPoolAddOnsType) *UpdateUserPoolInput
- func (s *UpdateUserPoolInput) SetUserPoolId(v string) *UpdateUserPoolInput
- func (s *UpdateUserPoolInput) SetUserPoolTags(v map[string]*string) *UpdateUserPoolInput
- func (s *UpdateUserPoolInput) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *UpdateUserPoolInput
- func (s UpdateUserPoolInput) String() string
- func (s *UpdateUserPoolInput) Validate() error
- type UpdateUserPoolOutput
- type UserContextDataType
- type UserImportInProgressException
- func (s *UserImportInProgressException) Code() string
- func (s *UserImportInProgressException) Error() string
- func (s UserImportInProgressException) GoString() string
- func (s *UserImportInProgressException) Message() string
- func (s *UserImportInProgressException) OrigErr() error
- func (s *UserImportInProgressException) RequestID() string
- func (s *UserImportInProgressException) StatusCode() int
- func (s UserImportInProgressException) 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 UserLambdaValidationException
- func (s *UserLambdaValidationException) Code() string
- func (s *UserLambdaValidationException) Error() string
- func (s UserLambdaValidationException) GoString() string
- func (s *UserLambdaValidationException) Message() string
- func (s *UserLambdaValidationException) OrigErr() error
- func (s *UserLambdaValidationException) RequestID() string
- func (s *UserLambdaValidationException) StatusCode() int
- func (s UserLambdaValidationException) String() string
- type UserNotConfirmedException
- func (s *UserNotConfirmedException) Code() string
- func (s *UserNotConfirmedException) Error() string
- func (s UserNotConfirmedException) GoString() string
- func (s *UserNotConfirmedException) Message() string
- func (s *UserNotConfirmedException) OrigErr() error
- func (s *UserNotConfirmedException) RequestID() string
- func (s *UserNotConfirmedException) StatusCode() int
- func (s UserNotConfirmedException) String() string
- type UserNotFoundException
- func (s *UserNotFoundException) Code() string
- func (s *UserNotFoundException) Error() string
- func (s UserNotFoundException) GoString() string
- func (s *UserNotFoundException) Message() string
- func (s *UserNotFoundException) OrigErr() error
- func (s *UserNotFoundException) RequestID() string
- func (s *UserNotFoundException) StatusCode() int
- func (s UserNotFoundException) String() string
- type UserPoolAddOnNotEnabledException
- func (s *UserPoolAddOnNotEnabledException) Code() string
- func (s *UserPoolAddOnNotEnabledException) Error() string
- func (s UserPoolAddOnNotEnabledException) GoString() string
- func (s *UserPoolAddOnNotEnabledException) Message() string
- func (s *UserPoolAddOnNotEnabledException) OrigErr() error
- func (s *UserPoolAddOnNotEnabledException) RequestID() string
- func (s *UserPoolAddOnNotEnabledException) StatusCode() int
- func (s UserPoolAddOnNotEnabledException) String() string
- type UserPoolAddOnsType
- 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) SetAccessTokenValidity(v int64) *UserPoolClientType
- func (s *UserPoolClientType) SetAllowedOAuthFlows(v []*string) *UserPoolClientType
- func (s *UserPoolClientType) SetAllowedOAuthFlowsUserPoolClient(v bool) *UserPoolClientType
- func (s *UserPoolClientType) SetAllowedOAuthScopes(v []*string) *UserPoolClientType
- func (s *UserPoolClientType) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *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) SetIdTokenValidity(v int64) *UserPoolClientType
- func (s *UserPoolClientType) SetLastModifiedDate(v time.Time) *UserPoolClientType
- func (s *UserPoolClientType) SetLogoutURLs(v []*string) *UserPoolClientType
- func (s *UserPoolClientType) SetPreventUserExistenceErrors(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) SetTokenValidityUnits(v *TokenValidityUnitsType) *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
- type UserPoolTaggingException
- func (s *UserPoolTaggingException) Code() string
- func (s *UserPoolTaggingException) Error() string
- func (s UserPoolTaggingException) GoString() string
- func (s *UserPoolTaggingException) Message() string
- func (s *UserPoolTaggingException) OrigErr() error
- func (s *UserPoolTaggingException) RequestID() string
- func (s *UserPoolTaggingException) StatusCode() int
- func (s UserPoolTaggingException) String() string
- type UserPoolType
- func (s UserPoolType) GoString() string
- func (s *UserPoolType) SetAccountRecoverySetting(v *AccountRecoverySettingType) *UserPoolType
- func (s *UserPoolType) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *UserPoolType
- func (s *UserPoolType) SetAliasAttributes(v []*string) *UserPoolType
- func (s *UserPoolType) SetArn(v string) *UserPoolType
- func (s *UserPoolType) SetAutoVerifiedAttributes(v []*string) *UserPoolType
- func (s *UserPoolType) SetCreationDate(v time.Time) *UserPoolType
- func (s *UserPoolType) SetCustomDomain(v string) *UserPoolType
- func (s *UserPoolType) SetDeviceConfiguration(v *DeviceConfigurationType) *UserPoolType
- func (s *UserPoolType) SetDomain(v string) *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) SetUserPoolAddOns(v *UserPoolAddOnsType) *UserPoolType
- func (s *UserPoolType) SetUserPoolTags(v map[string]*string) *UserPoolType
- func (s *UserPoolType) SetUsernameAttributes(v []*string) *UserPoolType
- func (s *UserPoolType) SetUsernameConfiguration(v *UsernameConfigurationType) *UserPoolType
- func (s *UserPoolType) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *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 UsernameConfigurationType
- type UsernameExistsException
- func (s *UsernameExistsException) Code() string
- func (s *UsernameExistsException) Error() string
- func (s UsernameExistsException) GoString() string
- func (s *UsernameExistsException) Message() string
- func (s *UsernameExistsException) OrigErr() error
- func (s *UsernameExistsException) RequestID() string
- func (s *UsernameExistsException) StatusCode() int
- func (s UsernameExistsException) String() string
- type VerificationMessageTemplateType
- func (s VerificationMessageTemplateType) GoString() string
- func (s *VerificationMessageTemplateType) SetDefaultEmailOption(v string) *VerificationMessageTemplateType
- func (s *VerificationMessageTemplateType) SetEmailMessage(v string) *VerificationMessageTemplateType
- func (s *VerificationMessageTemplateType) SetEmailMessageByLink(v string) *VerificationMessageTemplateType
- func (s *VerificationMessageTemplateType) SetEmailSubject(v string) *VerificationMessageTemplateType
- func (s *VerificationMessageTemplateType) SetEmailSubjectByLink(v string) *VerificationMessageTemplateType
- func (s *VerificationMessageTemplateType) SetSmsMessage(v string) *VerificationMessageTemplateType
- func (s VerificationMessageTemplateType) String() string
- func (s *VerificationMessageTemplateType) Validate() error
- type VerifySoftwareTokenInput
- func (s VerifySoftwareTokenInput) GoString() string
- func (s *VerifySoftwareTokenInput) SetAccessToken(v string) *VerifySoftwareTokenInput
- func (s *VerifySoftwareTokenInput) SetFriendlyDeviceName(v string) *VerifySoftwareTokenInput
- func (s *VerifySoftwareTokenInput) SetSession(v string) *VerifySoftwareTokenInput
- func (s *VerifySoftwareTokenInput) SetUserCode(v string) *VerifySoftwareTokenInput
- func (s VerifySoftwareTokenInput) String() string
- func (s *VerifySoftwareTokenInput) Validate() error
- type VerifySoftwareTokenOutput
- 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
Constants ¶
const ( // AccountTakeoverEventActionTypeBlock is a AccountTakeoverEventActionType enum value AccountTakeoverEventActionTypeBlock = "BLOCK" // AccountTakeoverEventActionTypeMfaIfConfigured is a AccountTakeoverEventActionType enum value AccountTakeoverEventActionTypeMfaIfConfigured = "MFA_IF_CONFIGURED" // AccountTakeoverEventActionTypeMfaRequired is a AccountTakeoverEventActionType enum value AccountTakeoverEventActionTypeMfaRequired = "MFA_REQUIRED" // AccountTakeoverEventActionTypeNoAction is a AccountTakeoverEventActionType enum value AccountTakeoverEventActionTypeNoAction = "NO_ACTION" )
const ( // AdvancedSecurityModeTypeOff is a AdvancedSecurityModeType enum value AdvancedSecurityModeTypeOff = "OFF" // AdvancedSecurityModeTypeAudit is a AdvancedSecurityModeType enum value AdvancedSecurityModeTypeAudit = "AUDIT" // AdvancedSecurityModeTypeEnforced is a AdvancedSecurityModeType enum value AdvancedSecurityModeTypeEnforced = "ENFORCED" )
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" // AuthFlowTypeUserPasswordAuth is a AuthFlowType enum value AuthFlowTypeUserPasswordAuth = "USER_PASSWORD_AUTH" // AuthFlowTypeAdminUserPasswordAuth is a AuthFlowType enum value AuthFlowTypeAdminUserPasswordAuth = "ADMIN_USER_PASSWORD_AUTH" )
const ( // ChallengeNamePassword is a ChallengeName enum value ChallengeNamePassword = "Password" // ChallengeNameMfa is a ChallengeName enum value ChallengeNameMfa = "Mfa" )
const ( // ChallengeNameTypeSmsMfa is a ChallengeNameType enum value ChallengeNameTypeSmsMfa = "SMS_MFA" // ChallengeNameTypeSoftwareTokenMfa is a ChallengeNameType enum value ChallengeNameTypeSoftwareTokenMfa = "SOFTWARE_TOKEN_MFA" // ChallengeNameTypeSelectMfaType is a ChallengeNameType enum value ChallengeNameTypeSelectMfaType = "SELECT_MFA_TYPE" // ChallengeNameTypeMfaSetup is a ChallengeNameType enum value ChallengeNameTypeMfaSetup = "MFA_SETUP" // 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 ( // ChallengeResponseSuccess is a ChallengeResponse enum value ChallengeResponseSuccess = "Success" // ChallengeResponseFailure is a ChallengeResponse enum value ChallengeResponseFailure = "Failure" )
const ( // CompromisedCredentialsEventActionTypeBlock is a CompromisedCredentialsEventActionType enum value CompromisedCredentialsEventActionTypeBlock = "BLOCK" // CompromisedCredentialsEventActionTypeNoAction is a CompromisedCredentialsEventActionType enum value CompromisedCredentialsEventActionTypeNoAction = "NO_ACTION" )
const ( // DefaultEmailOptionTypeConfirmWithLink is a DefaultEmailOptionType enum value DefaultEmailOptionTypeConfirmWithLink = "CONFIRM_WITH_LINK" // DefaultEmailOptionTypeConfirmWithCode is a DefaultEmailOptionType enum value DefaultEmailOptionTypeConfirmWithCode = "CONFIRM_WITH_CODE" )
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" // DomainStatusTypeFailed is a DomainStatusType enum value DomainStatusTypeFailed = "FAILED" )
const ( // EmailSendingAccountTypeCognitoDefault is a EmailSendingAccountType enum value EmailSendingAccountTypeCognitoDefault = "COGNITO_DEFAULT" // EmailSendingAccountTypeDeveloper is a EmailSendingAccountType enum value EmailSendingAccountTypeDeveloper = "DEVELOPER" )
const ( // EventFilterTypeSignIn is a EventFilterType enum value EventFilterTypeSignIn = "SIGN_IN" // EventFilterTypePasswordChange is a EventFilterType enum value EventFilterTypePasswordChange = "PASSWORD_CHANGE" // EventFilterTypeSignUp is a EventFilterType enum value EventFilterTypeSignUp = "SIGN_UP" )
const ( // EventResponseTypeSuccess is a EventResponseType enum value EventResponseTypeSuccess = "Success" // EventResponseTypeFailure is a EventResponseType enum value EventResponseTypeFailure = "Failure" )
const ( // EventTypeSignIn is a EventType enum value EventTypeSignIn = "SignIn" // EventTypeSignUp is a EventType enum value EventTypeSignUp = "SignUp" // EventTypeForgotPassword is a EventType enum value EventTypeForgotPassword = "ForgotPassword" )
const ( // ExplicitAuthFlowsTypeAdminNoSrpAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH" // ExplicitAuthFlowsTypeCustomAuthFlowOnly is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeCustomAuthFlowOnly = "CUSTOM_AUTH_FLOW_ONLY" // ExplicitAuthFlowsTypeUserPasswordAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeUserPasswordAuth = "USER_PASSWORD_AUTH" // ExplicitAuthFlowsTypeAllowAdminUserPasswordAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeAllowAdminUserPasswordAuth = "ALLOW_ADMIN_USER_PASSWORD_AUTH" // ExplicitAuthFlowsTypeAllowCustomAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeAllowCustomAuth = "ALLOW_CUSTOM_AUTH" // ExplicitAuthFlowsTypeAllowUserPasswordAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeAllowUserPasswordAuth = "ALLOW_USER_PASSWORD_AUTH" // ExplicitAuthFlowsTypeAllowUserSrpAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeAllowUserSrpAuth = "ALLOW_USER_SRP_AUTH" // ExplicitAuthFlowsTypeAllowRefreshTokenAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeAllowRefreshTokenAuth = "ALLOW_REFRESH_TOKEN_AUTH" )
const ( // FeedbackValueTypeValid is a FeedbackValueType enum value FeedbackValueTypeValid = "Valid" // FeedbackValueTypeInvalid is a FeedbackValueType enum value FeedbackValueTypeInvalid = "Invalid" )
const ( // IdentityProviderTypeTypeSaml is a IdentityProviderTypeType enum value IdentityProviderTypeTypeSaml = "SAML" // IdentityProviderTypeTypeFacebook is a IdentityProviderTypeType enum value IdentityProviderTypeTypeFacebook = "Facebook" // IdentityProviderTypeTypeGoogle is a IdentityProviderTypeType enum value IdentityProviderTypeTypeGoogle = "Google" // IdentityProviderTypeTypeLoginWithAmazon is a IdentityProviderTypeType enum value IdentityProviderTypeTypeLoginWithAmazon = "LoginWithAmazon" // IdentityProviderTypeTypeSignInWithApple is a IdentityProviderTypeType enum value IdentityProviderTypeTypeSignInWithApple = "SignInWithApple" // IdentityProviderTypeTypeOidc is a IdentityProviderTypeType enum value IdentityProviderTypeTypeOidc = "OIDC" )
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 ( // PreventUserExistenceErrorTypesLegacy is a PreventUserExistenceErrorTypes enum value PreventUserExistenceErrorTypesLegacy = "LEGACY" // PreventUserExistenceErrorTypesEnabled is a PreventUserExistenceErrorTypes enum value PreventUserExistenceErrorTypesEnabled = "ENABLED" )
const ( // RecoveryOptionNameTypeVerifiedEmail is a RecoveryOptionNameType enum value RecoveryOptionNameTypeVerifiedEmail = "verified_email" // RecoveryOptionNameTypeVerifiedPhoneNumber is a RecoveryOptionNameType enum value RecoveryOptionNameTypeVerifiedPhoneNumber = "verified_phone_number" // RecoveryOptionNameTypeAdminOnly is a RecoveryOptionNameType enum value RecoveryOptionNameTypeAdminOnly = "admin_only" )
const ( // RiskDecisionTypeNoRisk is a RiskDecisionType enum value RiskDecisionTypeNoRisk = "NoRisk" // RiskDecisionTypeAccountTakeover is a RiskDecisionType enum value RiskDecisionTypeAccountTakeover = "AccountTakeover" // RiskDecisionTypeBlock is a RiskDecisionType enum value RiskDecisionTypeBlock = "Block" )
const ( // RiskLevelTypeLow is a RiskLevelType enum value RiskLevelTypeLow = "Low" // RiskLevelTypeMedium is a RiskLevelType enum value RiskLevelTypeMedium = "Medium" // RiskLevelTypeHigh is a RiskLevelType enum value RiskLevelTypeHigh = "High" )
const ( // StatusTypeEnabled is a StatusType enum value StatusTypeEnabled = "Enabled" // StatusTypeDisabled is a StatusType enum value StatusTypeDisabled = "Disabled" )
const ( // TimeUnitsTypeSeconds is a TimeUnitsType enum value TimeUnitsTypeSeconds = "seconds" // TimeUnitsTypeMinutes is a TimeUnitsType enum value TimeUnitsTypeMinutes = "minutes" // TimeUnitsTypeHours is a TimeUnitsType enum value TimeUnitsTypeHours = "hours" // TimeUnitsTypeDays is a TimeUnitsType enum value TimeUnitsTypeDays = "days" )
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 ( // UsernameAttributeTypePhoneNumber is a UsernameAttributeType enum value UsernameAttributeTypePhoneNumber = "phone_number" // UsernameAttributeTypeEmail is a UsernameAttributeType enum value UsernameAttributeTypeEmail = "email" )
const ( // VerifiedAttributeTypePhoneNumber is a VerifiedAttributeType enum value VerifiedAttributeTypePhoneNumber = "phone_number" // VerifiedAttributeTypeEmail is a VerifiedAttributeType enum value VerifiedAttributeTypeEmail = "email" )
const ( // VerifySoftwareTokenResponseTypeSuccess is a VerifySoftwareTokenResponseType enum value VerifySoftwareTokenResponseTypeSuccess = "SUCCESS" // VerifySoftwareTokenResponseTypeError is a VerifySoftwareTokenResponseType enum value VerifySoftwareTokenResponseTypeError = "ERROR" )
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" // ErrCodeEnableSoftwareTokenMFAException for service response error code // "EnableSoftwareTokenMFAException". // // This exception is thrown when there is a code mismatch and the service fails // to configure the software token TOTP multi-factor authentication (MFA). ErrCodeEnableSoftwareTokenMFAException = "EnableSoftwareTokenMFAException" // 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" // ErrCodeSoftwareTokenMFANotFoundException for service response error code // "SoftwareTokenMFANotFoundException". // // This exception is thrown when the software token TOTP multi-factor authentication // (MFA) is not enabled for the user pool. ErrCodeSoftwareTokenMFANotFoundException = "SoftwareTokenMFANotFoundException" // 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" // ErrCodeUserPoolAddOnNotEnabledException for service response error code // "UserPoolAddOnNotEnabledException". // // This exception is thrown when user pool add-ons are not enabled. ErrCodeUserPoolAddOnNotEnabledException = "UserPoolAddOnNotEnabledException" // 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" )
const ( ServiceName = "cognito-idp" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "Cognito Identity Provider" // ServiceID is a unique identifier of a specific service. )
Service information constants
const (
// CustomEmailSenderLambdaVersionTypeV10 is a CustomEmailSenderLambdaVersionType enum value
CustomEmailSenderLambdaVersionTypeV10 = "V1_0"
)
const (
// CustomSMSSenderLambdaVersionTypeV10 is a CustomSMSSenderLambdaVersionType enum value
CustomSMSSenderLambdaVersionTypeV10 = "V1_0"
)
Variables ¶
This section is empty.
Functions ¶
func AccountTakeoverEventActionType_Values ¶ added in v1.34.3
func AccountTakeoverEventActionType_Values() []string
AccountTakeoverEventActionType_Values returns all elements of the AccountTakeoverEventActionType enum
func AdvancedSecurityModeType_Values ¶ added in v1.34.3
func AdvancedSecurityModeType_Values() []string
AdvancedSecurityModeType_Values returns all elements of the AdvancedSecurityModeType enum
func AliasAttributeType_Values ¶ added in v1.34.3
func AliasAttributeType_Values() []string
AliasAttributeType_Values returns all elements of the AliasAttributeType enum
func AttributeDataType_Values ¶ added in v1.34.3
func AttributeDataType_Values() []string
AttributeDataType_Values returns all elements of the AttributeDataType enum
func AuthFlowType_Values ¶ added in v1.34.3
func AuthFlowType_Values() []string
AuthFlowType_Values returns all elements of the AuthFlowType enum
func ChallengeNameType_Values ¶ added in v1.34.3
func ChallengeNameType_Values() []string
ChallengeNameType_Values returns all elements of the ChallengeNameType enum
func ChallengeName_Values ¶ added in v1.34.3
func ChallengeName_Values() []string
ChallengeName_Values returns all elements of the ChallengeName enum
func ChallengeResponse_Values ¶ added in v1.34.3
func ChallengeResponse_Values() []string
ChallengeResponse_Values returns all elements of the ChallengeResponse enum
func CompromisedCredentialsEventActionType_Values ¶ added in v1.34.3
func CompromisedCredentialsEventActionType_Values() []string
CompromisedCredentialsEventActionType_Values returns all elements of the CompromisedCredentialsEventActionType enum
func CustomEmailSenderLambdaVersionType_Values ¶ added in v1.35.35
func CustomEmailSenderLambdaVersionType_Values() []string
CustomEmailSenderLambdaVersionType_Values returns all elements of the CustomEmailSenderLambdaVersionType enum
func CustomSMSSenderLambdaVersionType_Values ¶ added in v1.35.35
func CustomSMSSenderLambdaVersionType_Values() []string
CustomSMSSenderLambdaVersionType_Values returns all elements of the CustomSMSSenderLambdaVersionType enum
func DefaultEmailOptionType_Values ¶ added in v1.34.3
func DefaultEmailOptionType_Values() []string
DefaultEmailOptionType_Values returns all elements of the DefaultEmailOptionType enum
func DeliveryMediumType_Values ¶ added in v1.34.3
func DeliveryMediumType_Values() []string
DeliveryMediumType_Values returns all elements of the DeliveryMediumType enum
func DeviceRememberedStatusType_Values ¶ added in v1.34.3
func DeviceRememberedStatusType_Values() []string
DeviceRememberedStatusType_Values returns all elements of the DeviceRememberedStatusType enum
func DomainStatusType_Values ¶ added in v1.34.3
func DomainStatusType_Values() []string
DomainStatusType_Values returns all elements of the DomainStatusType enum
func EmailSendingAccountType_Values ¶ added in v1.34.3
func EmailSendingAccountType_Values() []string
EmailSendingAccountType_Values returns all elements of the EmailSendingAccountType enum
func EventFilterType_Values ¶ added in v1.34.3
func EventFilterType_Values() []string
EventFilterType_Values returns all elements of the EventFilterType enum
func EventResponseType_Values ¶ added in v1.34.3
func EventResponseType_Values() []string
EventResponseType_Values returns all elements of the EventResponseType enum
func EventType_Values ¶ added in v1.34.3
func EventType_Values() []string
EventType_Values returns all elements of the EventType enum
func ExplicitAuthFlowsType_Values ¶ added in v1.34.3
func ExplicitAuthFlowsType_Values() []string
ExplicitAuthFlowsType_Values returns all elements of the ExplicitAuthFlowsType enum
func FeedbackValueType_Values ¶ added in v1.34.3
func FeedbackValueType_Values() []string
FeedbackValueType_Values returns all elements of the FeedbackValueType enum
func IdentityProviderTypeType_Values ¶ added in v1.34.3
func IdentityProviderTypeType_Values() []string
IdentityProviderTypeType_Values returns all elements of the IdentityProviderTypeType enum
func MessageActionType_Values ¶ added in v1.34.3
func MessageActionType_Values() []string
MessageActionType_Values returns all elements of the MessageActionType enum
func OAuthFlowType_Values ¶ added in v1.34.3
func OAuthFlowType_Values() []string
OAuthFlowType_Values returns all elements of the OAuthFlowType enum
func PreventUserExistenceErrorTypes_Values ¶ added in v1.34.3
func PreventUserExistenceErrorTypes_Values() []string
PreventUserExistenceErrorTypes_Values returns all elements of the PreventUserExistenceErrorTypes enum
func RecoveryOptionNameType_Values ¶ added in v1.34.3
func RecoveryOptionNameType_Values() []string
RecoveryOptionNameType_Values returns all elements of the RecoveryOptionNameType enum
func RiskDecisionType_Values ¶ added in v1.34.3
func RiskDecisionType_Values() []string
RiskDecisionType_Values returns all elements of the RiskDecisionType enum
func RiskLevelType_Values ¶ added in v1.34.3
func RiskLevelType_Values() []string
RiskLevelType_Values returns all elements of the RiskLevelType enum
func StatusType_Values ¶ added in v1.34.3
func StatusType_Values() []string
StatusType_Values returns all elements of the StatusType enum
func TimeUnitsType_Values ¶ added in v1.34.4
func TimeUnitsType_Values() []string
TimeUnitsType_Values returns all elements of the TimeUnitsType enum
func UserImportJobStatusType_Values ¶ added in v1.34.3
func UserImportJobStatusType_Values() []string
UserImportJobStatusType_Values returns all elements of the UserImportJobStatusType enum
func UserPoolMfaType_Values ¶ added in v1.34.3
func UserPoolMfaType_Values() []string
UserPoolMfaType_Values returns all elements of the UserPoolMfaType enum
func UserStatusType_Values ¶ added in v1.34.3
func UserStatusType_Values() []string
UserStatusType_Values returns all elements of the UserStatusType enum
func UsernameAttributeType_Values ¶ added in v1.34.3
func UsernameAttributeType_Values() []string
UsernameAttributeType_Values returns all elements of the UsernameAttributeType enum
func VerifiedAttributeType_Values ¶ added in v1.34.3
func VerifiedAttributeType_Values() []string
VerifiedAttributeType_Values returns all elements of the VerifiedAttributeType enum
func VerifySoftwareTokenResponseType_Values ¶ added in v1.34.3
func VerifySoftwareTokenResponseType_Values() []string
VerifySoftwareTokenResponseType_Values returns all elements of the VerifySoftwareTokenResponseType enum
Types ¶
type AccountRecoverySettingType ¶ added in v1.25.43
type AccountRecoverySettingType struct { // The list of RecoveryOptionTypes. RecoveryMechanisms []*RecoveryOptionType `min:"1" type:"list"` // contains filtered or unexported fields }
The data type for AccountRecoverySetting.
func (AccountRecoverySettingType) GoString ¶ added in v1.25.43
func (s AccountRecoverySettingType) GoString() string
GoString returns the string representation
func (*AccountRecoverySettingType) SetRecoveryMechanisms ¶ added in v1.25.43
func (s *AccountRecoverySettingType) SetRecoveryMechanisms(v []*RecoveryOptionType) *AccountRecoverySettingType
SetRecoveryMechanisms sets the RecoveryMechanisms field's value.
func (AccountRecoverySettingType) String ¶ added in v1.25.43
func (s AccountRecoverySettingType) String() string
String returns the string representation
func (*AccountRecoverySettingType) Validate ¶ added in v1.25.43
func (s *AccountRecoverySettingType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AccountTakeoverActionType ¶ added in v1.12.35
type AccountTakeoverActionType struct { // The event action. // // * BLOCK Choosing this action will block the request. // // * MFA_IF_CONFIGURED Throw MFA challenge if user has configured it, else // allow the request. // // * MFA_REQUIRED Throw MFA challenge if user has configured it, else block // the request. // // * NO_ACTION Allow the user sign-in. // // EventAction is a required field EventAction *string `type:"string" required:"true" enum:"AccountTakeoverEventActionType"` // Flag specifying whether to send a notification. // // Notify is a required field Notify *bool `type:"boolean" required:"true"` // contains filtered or unexported fields }
Account takeover action type.
func (AccountTakeoverActionType) GoString ¶ added in v1.12.35
func (s AccountTakeoverActionType) GoString() string
GoString returns the string representation
func (*AccountTakeoverActionType) SetEventAction ¶ added in v1.12.35
func (s *AccountTakeoverActionType) SetEventAction(v string) *AccountTakeoverActionType
SetEventAction sets the EventAction field's value.
func (*AccountTakeoverActionType) SetNotify ¶ added in v1.12.35
func (s *AccountTakeoverActionType) SetNotify(v bool) *AccountTakeoverActionType
SetNotify sets the Notify field's value.
func (AccountTakeoverActionType) String ¶ added in v1.12.35
func (s AccountTakeoverActionType) String() string
String returns the string representation
func (*AccountTakeoverActionType) Validate ¶ added in v1.12.35
func (s *AccountTakeoverActionType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AccountTakeoverActionsType ¶ added in v1.12.35
type AccountTakeoverActionsType struct { // Action to take for a high risk. HighAction *AccountTakeoverActionType `type:"structure"` // Action to take for a low risk. LowAction *AccountTakeoverActionType `type:"structure"` // Action to take for a medium risk. MediumAction *AccountTakeoverActionType `type:"structure"` // contains filtered or unexported fields }
Account takeover actions type.
func (AccountTakeoverActionsType) GoString ¶ added in v1.12.35
func (s AccountTakeoverActionsType) GoString() string
GoString returns the string representation
func (*AccountTakeoverActionsType) SetHighAction ¶ added in v1.12.35
func (s *AccountTakeoverActionsType) SetHighAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType
SetHighAction sets the HighAction field's value.
func (*AccountTakeoverActionsType) SetLowAction ¶ added in v1.12.35
func (s *AccountTakeoverActionsType) SetLowAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType
SetLowAction sets the LowAction field's value.
func (*AccountTakeoverActionsType) SetMediumAction ¶ added in v1.12.35
func (s *AccountTakeoverActionsType) SetMediumAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType
SetMediumAction sets the MediumAction field's value.
func (AccountTakeoverActionsType) String ¶ added in v1.12.35
func (s AccountTakeoverActionsType) String() string
String returns the string representation
func (*AccountTakeoverActionsType) Validate ¶ added in v1.12.35
func (s *AccountTakeoverActionsType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AccountTakeoverRiskConfigurationType ¶ added in v1.12.35
type AccountTakeoverRiskConfigurationType struct { // Account takeover risk configuration actions // // Actions is a required field Actions *AccountTakeoverActionsType `type:"structure" required:"true"` // The notify configuration used to construct email notifications. NotifyConfiguration *NotifyConfigurationType `type:"structure"` // contains filtered or unexported fields }
Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.
func (AccountTakeoverRiskConfigurationType) GoString ¶ added in v1.12.35
func (s AccountTakeoverRiskConfigurationType) GoString() string
GoString returns the string representation
func (*AccountTakeoverRiskConfigurationType) SetActions ¶ added in v1.12.35
func (s *AccountTakeoverRiskConfigurationType) SetActions(v *AccountTakeoverActionsType) *AccountTakeoverRiskConfigurationType
SetActions sets the Actions field's value.
func (*AccountTakeoverRiskConfigurationType) SetNotifyConfiguration ¶ added in v1.12.35
func (s *AccountTakeoverRiskConfigurationType) SetNotifyConfiguration(v *NotifyConfigurationType) *AccountTakeoverRiskConfigurationType
SetNotifyConfiguration sets the NotifyConfiguration field's value.
func (AccountTakeoverRiskConfigurationType) String ¶ added in v1.12.35
func (s AccountTakeoverRiskConfigurationType) String() string
String returns the string representation
func (*AccountTakeoverRiskConfigurationType) Validate ¶ added in v1.12.35
func (s *AccountTakeoverRiskConfigurationType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddCustomAttributesInput ¶
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 }
Represents the request to add custom attributes.
func (AddCustomAttributesInput) GoString ¶
func (s AddCustomAttributesInput) GoString() string
GoString returns the string representation
func (*AddCustomAttributesInput) SetCustomAttributes ¶ added in v1.5.0
func (s *AddCustomAttributesInput) SetCustomAttributes(v []*SchemaAttributeType) *AddCustomAttributesInput
SetCustomAttributes sets the CustomAttributes field's value.
func (*AddCustomAttributesInput) SetUserPoolId ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AddCustomAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddCustomAttributesOutput ¶
type AddCustomAttributesOutput struct {
// contains filtered or unexported fields
}
Represents the response from the server for the request to add custom attributes.
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 ¶ added in v1.6.4
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" sensitive:"true"` // contains filtered or unexported fields }
func (AdminAddUserToGroupInput) GoString ¶ added in v1.6.4
func (s AdminAddUserToGroupInput) GoString() string
GoString returns the string representation
func (*AdminAddUserToGroupInput) SetGroupName ¶ added in v1.6.4
func (s *AdminAddUserToGroupInput) SetGroupName(v string) *AdminAddUserToGroupInput
SetGroupName sets the GroupName field's value.
func (*AdminAddUserToGroupInput) SetUserPoolId ¶ added in v1.6.4
func (s *AdminAddUserToGroupInput) SetUserPoolId(v string) *AdminAddUserToGroupInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminAddUserToGroupInput) SetUsername ¶ added in v1.6.4
func (s *AdminAddUserToGroupInput) SetUsername(v string) *AdminAddUserToGroupInput
SetUsername sets the Username field's value.
func (AdminAddUserToGroupInput) String ¶ added in v1.6.4
func (s AdminAddUserToGroupInput) String() string
String returns the string representation
func (*AdminAddUserToGroupInput) Validate ¶ added in v1.6.4
func (s *AdminAddUserToGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminAddUserToGroupOutput ¶ added in v1.6.4
type AdminAddUserToGroupOutput struct {
// contains filtered or unexported fields
}
func (AdminAddUserToGroupOutput) GoString ¶ added in v1.6.4
func (s AdminAddUserToGroupOutput) GoString() string
GoString returns the string representation
func (AdminAddUserToGroupOutput) String ¶ added in v1.6.4
func (s AdminAddUserToGroupOutput) String() string
String returns the string representation
type AdminConfirmSignUpInput ¶
type AdminConfirmSignUpInput struct { // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // If your user pool configuration includes triggers, the AdminConfirmSignUp // API action invokes the AWS Lambda function that is specified for the post // confirmation trigger. When Amazon Cognito invokes this function, it passes // a JSON payload, which the function receives as input. In this payload, the // clientMetadata attribute provides the data that you assigned to the ClientMetadata // parameter in your AdminConfirmSignUp request. In your function code in AWS // Lambda, you can process the ClientMetadata value to enhance your workflow // for your specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // 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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to confirm user registration.
func (AdminConfirmSignUpInput) GoString ¶
func (s AdminConfirmSignUpInput) GoString() string
GoString returns the string representation
func (*AdminConfirmSignUpInput) SetClientMetadata ¶ added in v1.25.6
func (s *AdminConfirmSignUpInput) SetClientMetadata(v map[string]*string) *AdminConfirmSignUpInput
SetClientMetadata sets the ClientMetadata field's value.
func (*AdminConfirmSignUpInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminConfirmSignUpInput) SetUserPoolId(v string) *AdminConfirmSignUpInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminConfirmSignUpInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AdminConfirmSignUpInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminConfirmSignUpOutput ¶
type AdminConfirmSignUpOutput struct {
// contains filtered or unexported fields
}
Represents the response from the server for the request to confirm registration.
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 ¶ added in v1.4.15
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. // // See also Customizing User Invitation Messages (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html#cognito-user-pool-settings-user-invitation-message-customization). 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. // // If you set a value for TemporaryPasswordValidityDays in PasswordPolicy, that // value will be used and UnusedAccountValidityDays will be deprecated for that // user pool. UnusedAccountValidityDays *int64 `type:"integer"` // contains filtered or unexported fields }
The configuration for creating a new user profile.
func (AdminCreateUserConfigType) GoString ¶ added in v1.4.15
func (s AdminCreateUserConfigType) GoString() string
GoString returns the string representation
func (*AdminCreateUserConfigType) SetAllowAdminCreateUserOnly ¶ added in v1.5.0
func (s *AdminCreateUserConfigType) SetAllowAdminCreateUserOnly(v bool) *AdminCreateUserConfigType
SetAllowAdminCreateUserOnly sets the AllowAdminCreateUserOnly field's value.
func (*AdminCreateUserConfigType) SetInviteMessageTemplate ¶ added in v1.5.0
func (s *AdminCreateUserConfigType) SetInviteMessageTemplate(v *MessageTemplateType) *AdminCreateUserConfigType
SetInviteMessageTemplate sets the InviteMessageTemplate field's value.
func (*AdminCreateUserConfigType) SetUnusedAccountValidityDays ¶ added in v1.5.0
func (s *AdminCreateUserConfigType) SetUnusedAccountValidityDays(v int64) *AdminCreateUserConfigType
SetUnusedAccountValidityDays sets the UnusedAccountValidityDays field's value.
func (AdminCreateUserConfigType) String ¶ added in v1.4.15
func (s AdminCreateUserConfigType) String() string
String returns the string representation
func (*AdminCreateUserConfigType) Validate ¶ added in v1.4.15
func (s *AdminCreateUserConfigType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminCreateUserInput ¶ added in v1.4.15
type AdminCreateUserInput struct { // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the AdminCreateUser API action, Amazon Cognito invokes // the function that is assigned to the pre sign-up trigger. When Amazon Cognito // invokes this function, it passes a JSON payload, which the function receives // as input. This payload contains a clientMetadata attribute, which provides // the data that you assigned to the ClientMetadata parameter in your AdminCreateUser // request. In your function code in AWS Lambda, you can process the clientMetadata // value to enhance your workflow for your specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // 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" sensitive:"true"` // 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 (when creating a user pool 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 (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/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" sensitive:"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 }
Represents the request to create a user in the specified user pool.
func (AdminCreateUserInput) GoString ¶ added in v1.4.15
func (s AdminCreateUserInput) GoString() string
GoString returns the string representation
func (*AdminCreateUserInput) SetClientMetadata ¶ added in v1.25.6
func (s *AdminCreateUserInput) SetClientMetadata(v map[string]*string) *AdminCreateUserInput
SetClientMetadata sets the ClientMetadata field's value.
func (*AdminCreateUserInput) SetDesiredDeliveryMediums ¶ added in v1.5.0
func (s *AdminCreateUserInput) SetDesiredDeliveryMediums(v []*string) *AdminCreateUserInput
SetDesiredDeliveryMediums sets the DesiredDeliveryMediums field's value.
func (*AdminCreateUserInput) SetForceAliasCreation ¶ added in v1.5.0
func (s *AdminCreateUserInput) SetForceAliasCreation(v bool) *AdminCreateUserInput
SetForceAliasCreation sets the ForceAliasCreation field's value.
func (*AdminCreateUserInput) SetMessageAction ¶ added in v1.5.0
func (s *AdminCreateUserInput) SetMessageAction(v string) *AdminCreateUserInput
SetMessageAction sets the MessageAction field's value.
func (*AdminCreateUserInput) SetTemporaryPassword ¶ added in v1.5.0
func (s *AdminCreateUserInput) SetTemporaryPassword(v string) *AdminCreateUserInput
SetTemporaryPassword sets the TemporaryPassword field's value.
func (*AdminCreateUserInput) SetUserAttributes ¶ added in v1.5.0
func (s *AdminCreateUserInput) SetUserAttributes(v []*AttributeType) *AdminCreateUserInput
SetUserAttributes sets the UserAttributes field's value.
func (*AdminCreateUserInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminCreateUserInput) SetUserPoolId(v string) *AdminCreateUserInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminCreateUserInput) SetUsername ¶ added in v1.5.0
func (s *AdminCreateUserInput) SetUsername(v string) *AdminCreateUserInput
SetUsername sets the Username field's value.
func (*AdminCreateUserInput) SetValidationData ¶ added in v1.5.0
func (s *AdminCreateUserInput) SetValidationData(v []*AttributeType) *AdminCreateUserInput
SetValidationData sets the ValidationData field's value.
func (AdminCreateUserInput) String ¶ added in v1.4.15
func (s AdminCreateUserInput) String() string
String returns the string representation
func (*AdminCreateUserInput) Validate ¶ added in v1.4.15
func (s *AdminCreateUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminCreateUserOutput ¶ added in v1.4.15
type AdminCreateUserOutput struct { // The newly created user. User *UserType `type:"structure"` // contains filtered or unexported fields }
Represents the response from the server to the request to create the user.
func (AdminCreateUserOutput) GoString ¶ added in v1.4.15
func (s AdminCreateUserOutput) GoString() string
GoString returns the string representation
func (*AdminCreateUserOutput) SetUser ¶ added in v1.5.0
func (s *AdminCreateUserOutput) SetUser(v *UserType) *AdminCreateUserOutput
SetUser sets the User field's value.
func (AdminCreateUserOutput) String ¶ added in v1.4.15
func (s AdminCreateUserOutput) String() string
String returns the string representation
type AdminDeleteUserAttributesInput ¶
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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to delete user attributes as an administrator.
func (AdminDeleteUserAttributesInput) GoString ¶
func (s AdminDeleteUserAttributesInput) GoString() string
GoString returns the string representation
func (*AdminDeleteUserAttributesInput) SetUserAttributeNames ¶ added in v1.5.0
func (s *AdminDeleteUserAttributesInput) SetUserAttributeNames(v []*string) *AdminDeleteUserAttributesInput
SetUserAttributeNames sets the UserAttributeNames field's value.
func (*AdminDeleteUserAttributesInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminDeleteUserAttributesInput) SetUserPoolId(v string) *AdminDeleteUserAttributesInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminDeleteUserAttributesInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AdminDeleteUserAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminDeleteUserAttributesOutput ¶
type AdminDeleteUserAttributesOutput struct {
// contains filtered or unexported fields
}
Represents the response received from the server for a request to delete user attributes.
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 ¶
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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to delete a user as an administrator.
func (AdminDeleteUserInput) GoString ¶
func (s AdminDeleteUserInput) GoString() string
GoString returns the string representation
func (*AdminDeleteUserInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminDeleteUserInput) SetUserPoolId(v string) *AdminDeleteUserInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminDeleteUserInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AdminDeleteUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type 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 AdminDisableProviderForUserInput ¶ added in v1.10.24
type AdminDisableProviderForUserInput struct { // The user to be disabled. // // User is a required field User *ProviderUserIdentifierType `type:"structure" required:"true"` // The user pool ID for the user pool. // // UserPoolId is a required field UserPoolId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (AdminDisableProviderForUserInput) GoString ¶ added in v1.10.24
func (s AdminDisableProviderForUserInput) GoString() string
GoString returns the string representation
func (*AdminDisableProviderForUserInput) SetUser ¶ added in v1.10.24
func (s *AdminDisableProviderForUserInput) SetUser(v *ProviderUserIdentifierType) *AdminDisableProviderForUserInput
SetUser sets the User field's value.
func (*AdminDisableProviderForUserInput) SetUserPoolId ¶ added in v1.10.24
func (s *AdminDisableProviderForUserInput) SetUserPoolId(v string) *AdminDisableProviderForUserInput
SetUserPoolId sets the UserPoolId field's value.
func (AdminDisableProviderForUserInput) String ¶ added in v1.10.24
func (s AdminDisableProviderForUserInput) String() string
String returns the string representation
func (*AdminDisableProviderForUserInput) Validate ¶ added in v1.10.24
func (s *AdminDisableProviderForUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminDisableProviderForUserOutput ¶ added in v1.10.24
type AdminDisableProviderForUserOutput struct {
// contains filtered or unexported fields
}
func (AdminDisableProviderForUserOutput) GoString ¶ added in v1.10.24
func (s AdminDisableProviderForUserOutput) GoString() string
GoString returns the string representation
func (AdminDisableProviderForUserOutput) String ¶ added in v1.10.24
func (s AdminDisableProviderForUserOutput) String() string
String returns the string representation
type AdminDisableUserInput ¶
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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to disable any user as an administrator.
func (AdminDisableUserInput) GoString ¶
func (s AdminDisableUserInput) GoString() string
GoString returns the string representation
func (*AdminDisableUserInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminDisableUserInput) SetUserPoolId(v string) *AdminDisableUserInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminDisableUserInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AdminDisableUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminDisableUserOutput ¶
type AdminDisableUserOutput struct {
// contains filtered or unexported fields
}
Represents the response received from the server to disable the user as an administrator.
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 ¶
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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request that enables the user as an administrator.
func (AdminEnableUserInput) GoString ¶
func (s AdminEnableUserInput) GoString() string
GoString returns the string representation
func (*AdminEnableUserInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminEnableUserInput) SetUserPoolId(v string) *AdminEnableUserInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminEnableUserInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AdminEnableUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminEnableUserOutput ¶
type AdminEnableUserOutput struct {
// contains filtered or unexported fields
}
Represents the response from the server for the request to enable a user as an administrator.
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 ¶ added in v1.2.10
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" sensitive:"true"` // contains filtered or unexported fields }
Sends the forgot device request, as an administrator.
func (AdminForgetDeviceInput) GoString ¶ added in v1.2.10
func (s AdminForgetDeviceInput) GoString() string
GoString returns the string representation
func (*AdminForgetDeviceInput) SetDeviceKey ¶ added in v1.5.0
func (s *AdminForgetDeviceInput) SetDeviceKey(v string) *AdminForgetDeviceInput
SetDeviceKey sets the DeviceKey field's value.
func (*AdminForgetDeviceInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminForgetDeviceInput) SetUserPoolId(v string) *AdminForgetDeviceInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminForgetDeviceInput) SetUsername ¶ added in v1.5.0
func (s *AdminForgetDeviceInput) SetUsername(v string) *AdminForgetDeviceInput
SetUsername sets the Username field's value.
func (AdminForgetDeviceInput) String ¶ added in v1.2.10
func (s AdminForgetDeviceInput) String() string
String returns the string representation
func (*AdminForgetDeviceInput) Validate ¶ added in v1.2.10
func (s *AdminForgetDeviceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminForgetDeviceOutput ¶ added in v1.2.10
type AdminForgetDeviceOutput struct {
// contains filtered or unexported fields
}
func (AdminForgetDeviceOutput) GoString ¶ added in v1.2.10
func (s AdminForgetDeviceOutput) GoString() string
GoString returns the string representation
func (AdminForgetDeviceOutput) String ¶ added in v1.2.10
func (s AdminForgetDeviceOutput) String() string
String returns the string representation
type AdminGetDeviceInput ¶ added in v1.2.10
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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to get the device, as an administrator.
func (AdminGetDeviceInput) GoString ¶ added in v1.2.10
func (s AdminGetDeviceInput) GoString() string
GoString returns the string representation
func (*AdminGetDeviceInput) SetDeviceKey ¶ added in v1.5.0
func (s *AdminGetDeviceInput) SetDeviceKey(v string) *AdminGetDeviceInput
SetDeviceKey sets the DeviceKey field's value.
func (*AdminGetDeviceInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminGetDeviceInput) SetUserPoolId(v string) *AdminGetDeviceInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminGetDeviceInput) SetUsername ¶ added in v1.5.0
func (s *AdminGetDeviceInput) SetUsername(v string) *AdminGetDeviceInput
SetUsername sets the Username field's value.
func (AdminGetDeviceInput) String ¶ added in v1.2.10
func (s AdminGetDeviceInput) String() string
String returns the string representation
func (*AdminGetDeviceInput) Validate ¶ added in v1.2.10
func (s *AdminGetDeviceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminGetDeviceOutput ¶ added in v1.2.10
type AdminGetDeviceOutput struct { // The device. // // Device is a required field Device *DeviceType `type:"structure" required:"true"` // contains filtered or unexported fields }
Gets the device response, as an administrator.
func (AdminGetDeviceOutput) GoString ¶ added in v1.2.10
func (s AdminGetDeviceOutput) GoString() string
GoString returns the string representation
func (*AdminGetDeviceOutput) SetDevice ¶ added in v1.5.0
func (s *AdminGetDeviceOutput) SetDevice(v *DeviceType) *AdminGetDeviceOutput
SetDevice sets the Device field's value.
func (AdminGetDeviceOutput) String ¶ added in v1.2.10
func (s AdminGetDeviceOutput) String() string
String returns the string representation
type AdminGetUserInput ¶
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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to get the specified user as an administrator.
func (AdminGetUserInput) GoString ¶
func (s AdminGetUserInput) GoString() string
GoString returns the string representation
func (*AdminGetUserInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminGetUserInput) SetUserPoolId(v string) *AdminGetUserInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminGetUserInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AdminGetUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminGetUserOutput ¶
type AdminGetUserOutput struct { // Indicates that the status is enabled. Enabled *bool `type:"boolean"` // This response parameter is no longer supported. It provides information only // about SMS MFA configurations. It doesn't provide information about TOTP software // token MFA configurations. To look up information about either type of MFA // configuration, use UserMFASettingList instead. MFAOptions []*MFAOptionType `type:"list"` // The user's preferred MFA setting. PreferredMfaSetting *string `type:"string"` // An array of name-value pairs representing user attributes. UserAttributes []*AttributeType `type:"list"` // The date the user was created. UserCreateDate *time.Time `type:"timestamp"` // The date the user was last modified. UserLastModifiedDate *time.Time `type:"timestamp"` // The MFA options that are enabled for the user. The possible values in this // list are SMS_MFA and SOFTWARE_TOKEN_MFA. UserMFASettingList []*string `type:"list"` // 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. // // * RESET_REQUIRED - User is confirmed, but the user must request a code // and reset his or her password before he or she can sign in. // // * FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign // in using a temporary password, but on first sign-in, the user must change // his or her password to a new value before doing anything else. 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" sensitive:"true"` // contains filtered or unexported fields }
Represents the response from the server from the request to get the specified user as an administrator.
func (AdminGetUserOutput) GoString ¶
func (s AdminGetUserOutput) GoString() string
GoString returns the string representation
func (*AdminGetUserOutput) SetEnabled ¶ added in v1.5.0
func (s *AdminGetUserOutput) SetEnabled(v bool) *AdminGetUserOutput
SetEnabled sets the Enabled field's value.
func (*AdminGetUserOutput) SetMFAOptions ¶ added in v1.5.0
func (s *AdminGetUserOutput) SetMFAOptions(v []*MFAOptionType) *AdminGetUserOutput
SetMFAOptions sets the MFAOptions field's value.
func (*AdminGetUserOutput) SetPreferredMfaSetting ¶ added in v1.12.35
func (s *AdminGetUserOutput) SetPreferredMfaSetting(v string) *AdminGetUserOutput
SetPreferredMfaSetting sets the PreferredMfaSetting field's value.
func (*AdminGetUserOutput) SetUserAttributes ¶ added in v1.5.0
func (s *AdminGetUserOutput) SetUserAttributes(v []*AttributeType) *AdminGetUserOutput
SetUserAttributes sets the UserAttributes field's value.
func (*AdminGetUserOutput) SetUserCreateDate ¶ added in v1.5.0
func (s *AdminGetUserOutput) SetUserCreateDate(v time.Time) *AdminGetUserOutput
SetUserCreateDate sets the UserCreateDate field's value.
func (*AdminGetUserOutput) SetUserLastModifiedDate ¶ added in v1.5.0
func (s *AdminGetUserOutput) SetUserLastModifiedDate(v time.Time) *AdminGetUserOutput
SetUserLastModifiedDate sets the UserLastModifiedDate field's value.
func (*AdminGetUserOutput) SetUserMFASettingList ¶ added in v1.12.35
func (s *AdminGetUserOutput) SetUserMFASettingList(v []*string) *AdminGetUserOutput
SetUserMFASettingList sets the UserMFASettingList field's value.
func (*AdminGetUserOutput) SetUserStatus ¶ added in v1.5.0
func (s *AdminGetUserOutput) SetUserStatus(v string) *AdminGetUserOutput
SetUserStatus sets the UserStatus field's value.
func (*AdminGetUserOutput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.2.10
type AdminInitiateAuthInput struct { // The analytics metadata for collecting Amazon Pinpoint metrics for AdminInitiateAuth // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` // 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 SRP_A and return the SRP variables // to be used for next challenge execution. // // * USER_PASSWORD_AUTH will take in USERNAME and PASSWORD and return the // next challenge or tokens. // // 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. // // * USER_PASSWORD_AUTH: Non-SRP authentication flow; USERNAME and PASSWORD // are passed directly. If a user migration Lambda trigger is set, this flow // will invoke the user migration Lambda if the USERNAME is not found in // the user pool. // // * ADMIN_USER_PASSWORD_AUTH: Admin-based user password authentication. // This replaces the ADMIN_NO_SRP_AUTH authentication flow. In this flow, // Cognito receives the password in the request instead of using the SRP // process to verify passwords. // // 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), SRP_A (required), SECRET_HASH // (required if the app client is configured with a client secret), DEVICE_KEY. // // * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: REFRESH_TOKEN (required), SECRET_HASH // (required if the app client is configured with a client secret), 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. To start the authentication // flow with password verification, include ChallengeName: SRP_A and SRP_A: // (The SRP_A Value). AuthParameters map[string]*string `type:"map" sensitive:"true"` // The app client ID. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for certain // custom workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the AdminInitiateAuth API action, Amazon Cognito invokes // the AWS Lambda functions that are specified for various triggers. The ClientMetadata // value is passed as input to the functions for only the following triggers: // // * Pre signup // // * Pre authentication // // * User migration // // When Amazon Cognito invokes the functions for these triggers, it passes a // JSON payload, which the function receives as input. This payload contains // a validationData attribute, which provides the data that you assigned to // the ClientMetadata parameter in your AdminInitiateAuth request. In your function // code in AWS Lambda, you can process the validationData value to enhance your // workflow for your specific needs. // // When you use the AdminInitiateAuth API action, Amazon Cognito also invokes // the functions for the following triggers, but it does not provide the ClientMetadata // value as input: // // * Post authentication // // * Custom message // // * Pre token generation // // * Create auth challenge // // * Define auth challenge // // * Verify auth challenge // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. ContextData *ContextDataType `type:"structure"` // 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 }
Initiates the authorization request, as an administrator.
func (AdminInitiateAuthInput) GoString ¶ added in v1.2.10
func (s AdminInitiateAuthInput) GoString() string
GoString returns the string representation
func (*AdminInitiateAuthInput) SetAnalyticsMetadata ¶ added in v1.12.35
func (s *AdminInitiateAuthInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *AdminInitiateAuthInput
SetAnalyticsMetadata sets the AnalyticsMetadata field's value.
func (*AdminInitiateAuthInput) SetAuthFlow ¶ added in v1.5.0
func (s *AdminInitiateAuthInput) SetAuthFlow(v string) *AdminInitiateAuthInput
SetAuthFlow sets the AuthFlow field's value.
func (*AdminInitiateAuthInput) SetAuthParameters ¶ added in v1.5.0
func (s *AdminInitiateAuthInput) SetAuthParameters(v map[string]*string) *AdminInitiateAuthInput
SetAuthParameters sets the AuthParameters field's value.
func (*AdminInitiateAuthInput) SetClientId ¶ added in v1.5.0
func (s *AdminInitiateAuthInput) SetClientId(v string) *AdminInitiateAuthInput
SetClientId sets the ClientId field's value.
func (*AdminInitiateAuthInput) SetClientMetadata ¶ added in v1.5.0
func (s *AdminInitiateAuthInput) SetClientMetadata(v map[string]*string) *AdminInitiateAuthInput
SetClientMetadata sets the ClientMetadata field's value.
func (*AdminInitiateAuthInput) SetContextData ¶ added in v1.12.35
func (s *AdminInitiateAuthInput) SetContextData(v *ContextDataType) *AdminInitiateAuthInput
SetContextData sets the ContextData field's value.
func (*AdminInitiateAuthInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminInitiateAuthInput) SetUserPoolId(v string) *AdminInitiateAuthInput
SetUserPoolId sets the UserPoolId field's value.
func (AdminInitiateAuthInput) String ¶ added in v1.2.10
func (s AdminInitiateAuthInput) String() string
String returns the string representation
func (*AdminInitiateAuthInput) Validate ¶ added in v1.2.10
func (s *AdminInitiateAuthInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminInitiateAuthOutput ¶ added in v1.2.10
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. // // * MFA_SETUP: If MFA is required, users who do not have at least one of // the MFA methods set up are presented with an MFA_SETUP challenge. The // user must set up at least one MFA type to continue to authenticate. // // * SELECT_MFA_TYPE: Selects the MFA type. Valid MFA options are SMS_MFA // for text SMS MFA, and SOFTWARE_TOKEN_MFA for TOTP software token MFA. // // * 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_ID_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 }
Initiates the authentication response, as an administrator.
func (AdminInitiateAuthOutput) GoString ¶ added in v1.2.10
func (s AdminInitiateAuthOutput) GoString() string
GoString returns the string representation
func (*AdminInitiateAuthOutput) SetAuthenticationResult ¶ added in v1.5.0
func (s *AdminInitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminInitiateAuthOutput
SetAuthenticationResult sets the AuthenticationResult field's value.
func (*AdminInitiateAuthOutput) SetChallengeName ¶ added in v1.5.0
func (s *AdminInitiateAuthOutput) SetChallengeName(v string) *AdminInitiateAuthOutput
SetChallengeName sets the ChallengeName field's value.
func (*AdminInitiateAuthOutput) SetChallengeParameters ¶ added in v1.5.0
func (s *AdminInitiateAuthOutput) SetChallengeParameters(v map[string]*string) *AdminInitiateAuthOutput
SetChallengeParameters sets the ChallengeParameters field's value.
func (*AdminInitiateAuthOutput) SetSession ¶ added in v1.5.0
func (s *AdminInitiateAuthOutput) SetSession(v string) *AdminInitiateAuthOutput
SetSession sets the Session field's value.
func (AdminInitiateAuthOutput) String ¶ added in v1.2.10
func (s AdminInitiateAuthOutput) String() string
String returns the string representation
type AdminLinkProviderForUserInput ¶ added in v1.10.24
type AdminLinkProviderForUserInput struct { // The existing user in the user pool to be linked to the external identity // provider user account. Can be a native (Username + Password) Cognito User // Pools user or a federated user (for example, a SAML or Facebook user). If // the user doesn't exist, an exception is thrown. This is the user that is // returned when the new user (with the linked identity provider attribute) // signs in. // // For a native username + password user, the ProviderAttributeValue for the // DestinationUser should be the username in the user pool. For a federated // user, it should be the provider-specific user_id. // // The ProviderAttributeName of the DestinationUser is ignored. // // The ProviderName should be set to Cognito for users in Cognito user pools. // // DestinationUser is a required field DestinationUser *ProviderUserIdentifierType `type:"structure" required:"true"` // An external identity provider account for a user who does not currently exist // yet in the user pool. This user must be a federated user (for example, a // SAML or Facebook user), not another native user. // // If the SourceUser is a federated social identity provider user (Facebook, // Google, or Login with Amazon), you must set the ProviderAttributeName to // Cognito_Subject. For social identity providers, the ProviderName will be // Facebook, Google, or LoginWithAmazon, and Cognito will automatically parse // the Facebook, Google, and Login with Amazon tokens for id, sub, and user_id, // respectively. The ProviderAttributeValue for the user must be the same value // as the id, sub, or user_id value found in the social identity provider token. // // For SAML, the ProviderAttributeName can be any value that matches a claim // in the SAML assertion. If you wish to link SAML users based on the subject // of the SAML assertion, you should map the subject to a claim through the // SAML identity provider and submit that claim name as the ProviderAttributeName. // If you set ProviderAttributeName to Cognito_Subject, Cognito will automatically // parse the default unique identifier found in the subject from the SAML token. // // SourceUser is a required field SourceUser *ProviderUserIdentifierType `type:"structure" required:"true"` // The user pool ID for the user pool. // // UserPoolId is a required field UserPoolId *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (AdminLinkProviderForUserInput) GoString ¶ added in v1.10.24
func (s AdminLinkProviderForUserInput) GoString() string
GoString returns the string representation
func (*AdminLinkProviderForUserInput) SetDestinationUser ¶ added in v1.10.24
func (s *AdminLinkProviderForUserInput) SetDestinationUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput
SetDestinationUser sets the DestinationUser field's value.
func (*AdminLinkProviderForUserInput) SetSourceUser ¶ added in v1.10.24
func (s *AdminLinkProviderForUserInput) SetSourceUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput
SetSourceUser sets the SourceUser field's value.
func (*AdminLinkProviderForUserInput) SetUserPoolId ¶ added in v1.10.24
func (s *AdminLinkProviderForUserInput) SetUserPoolId(v string) *AdminLinkProviderForUserInput
SetUserPoolId sets the UserPoolId field's value.
func (AdminLinkProviderForUserInput) String ¶ added in v1.10.24
func (s AdminLinkProviderForUserInput) String() string
String returns the string representation
func (*AdminLinkProviderForUserInput) Validate ¶ added in v1.10.24
func (s *AdminLinkProviderForUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminLinkProviderForUserOutput ¶ added in v1.10.24
type AdminLinkProviderForUserOutput struct {
// contains filtered or unexported fields
}
func (AdminLinkProviderForUserOutput) GoString ¶ added in v1.10.24
func (s AdminLinkProviderForUserOutput) GoString() string
GoString returns the string representation
func (AdminLinkProviderForUserOutput) String ¶ added in v1.10.24
func (s AdminLinkProviderForUserOutput) String() string
String returns the string representation
type AdminListDevicesInput ¶ added in v1.2.10
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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to list devices, as an administrator.
func (AdminListDevicesInput) GoString ¶ added in v1.2.10
func (s AdminListDevicesInput) GoString() string
GoString returns the string representation
func (*AdminListDevicesInput) SetLimit ¶ added in v1.5.0
func (s *AdminListDevicesInput) SetLimit(v int64) *AdminListDevicesInput
SetLimit sets the Limit field's value.
func (*AdminListDevicesInput) SetPaginationToken ¶ added in v1.5.0
func (s *AdminListDevicesInput) SetPaginationToken(v string) *AdminListDevicesInput
SetPaginationToken sets the PaginationToken field's value.
func (*AdminListDevicesInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminListDevicesInput) SetUserPoolId(v string) *AdminListDevicesInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminListDevicesInput) SetUsername ¶ added in v1.5.0
func (s *AdminListDevicesInput) SetUsername(v string) *AdminListDevicesInput
SetUsername sets the Username field's value.
func (AdminListDevicesInput) String ¶ added in v1.2.10
func (s AdminListDevicesInput) String() string
String returns the string representation
func (*AdminListDevicesInput) Validate ¶ added in v1.2.10
func (s *AdminListDevicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminListDevicesOutput ¶ added in v1.2.10
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 }
Lists the device's response, as an administrator.
func (AdminListDevicesOutput) GoString ¶ added in v1.2.10
func (s AdminListDevicesOutput) GoString() string
GoString returns the string representation
func (*AdminListDevicesOutput) SetDevices ¶ added in v1.5.0
func (s *AdminListDevicesOutput) SetDevices(v []*DeviceType) *AdminListDevicesOutput
SetDevices sets the Devices field's value.
func (*AdminListDevicesOutput) SetPaginationToken ¶ added in v1.5.0
func (s *AdminListDevicesOutput) SetPaginationToken(v string) *AdminListDevicesOutput
SetPaginationToken sets the PaginationToken field's value.
func (AdminListDevicesOutput) String ¶ added in v1.2.10
func (s AdminListDevicesOutput) String() string
String returns the string representation
type AdminListGroupsForUserInput ¶ added in v1.6.4
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" sensitive:"true"` // contains filtered or unexported fields }
func (AdminListGroupsForUserInput) GoString ¶ added in v1.6.4
func (s AdminListGroupsForUserInput) GoString() string
GoString returns the string representation
func (*AdminListGroupsForUserInput) SetLimit ¶ added in v1.6.4
func (s *AdminListGroupsForUserInput) SetLimit(v int64) *AdminListGroupsForUserInput
SetLimit sets the Limit field's value.
func (*AdminListGroupsForUserInput) SetNextToken ¶ added in v1.6.4
func (s *AdminListGroupsForUserInput) SetNextToken(v string) *AdminListGroupsForUserInput
SetNextToken sets the NextToken field's value.
func (*AdminListGroupsForUserInput) SetUserPoolId ¶ added in v1.6.4
func (s *AdminListGroupsForUserInput) SetUserPoolId(v string) *AdminListGroupsForUserInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminListGroupsForUserInput) SetUsername ¶ added in v1.6.4
func (s *AdminListGroupsForUserInput) SetUsername(v string) *AdminListGroupsForUserInput
SetUsername sets the Username field's value.
func (AdminListGroupsForUserInput) String ¶ added in v1.6.4
func (s AdminListGroupsForUserInput) String() string
String returns the string representation
func (*AdminListGroupsForUserInput) Validate ¶ added in v1.6.4
func (s *AdminListGroupsForUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminListGroupsForUserOutput ¶ added in v1.6.4
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 ¶ added in v1.6.4
func (s AdminListGroupsForUserOutput) GoString() string
GoString returns the string representation
func (*AdminListGroupsForUserOutput) SetGroups ¶ added in v1.6.4
func (s *AdminListGroupsForUserOutput) SetGroups(v []*GroupType) *AdminListGroupsForUserOutput
SetGroups sets the Groups field's value.
func (*AdminListGroupsForUserOutput) SetNextToken ¶ added in v1.6.4
func (s *AdminListGroupsForUserOutput) SetNextToken(v string) *AdminListGroupsForUserOutput
SetNextToken sets the NextToken field's value.
func (AdminListGroupsForUserOutput) String ¶ added in v1.6.4
func (s AdminListGroupsForUserOutput) String() string
String returns the string representation
type AdminListUserAuthEventsInput ¶ added in v1.12.35
type AdminListUserAuthEventsInput struct { // The maximum number of authentication events to return. MaxResults *int64 `type:"integer"` // A pagination token. NextToken *string `min:"1" type:"string"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user pool username or an alias. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (AdminListUserAuthEventsInput) GoString ¶ added in v1.12.35
func (s AdminListUserAuthEventsInput) GoString() string
GoString returns the string representation
func (*AdminListUserAuthEventsInput) SetMaxResults ¶ added in v1.12.35
func (s *AdminListUserAuthEventsInput) SetMaxResults(v int64) *AdminListUserAuthEventsInput
SetMaxResults sets the MaxResults field's value.
func (*AdminListUserAuthEventsInput) SetNextToken ¶ added in v1.12.35
func (s *AdminListUserAuthEventsInput) SetNextToken(v string) *AdminListUserAuthEventsInput
SetNextToken sets the NextToken field's value.
func (*AdminListUserAuthEventsInput) SetUserPoolId ¶ added in v1.12.35
func (s *AdminListUserAuthEventsInput) SetUserPoolId(v string) *AdminListUserAuthEventsInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminListUserAuthEventsInput) SetUsername ¶ added in v1.12.35
func (s *AdminListUserAuthEventsInput) SetUsername(v string) *AdminListUserAuthEventsInput
SetUsername sets the Username field's value.
func (AdminListUserAuthEventsInput) String ¶ added in v1.12.35
func (s AdminListUserAuthEventsInput) String() string
String returns the string representation
func (*AdminListUserAuthEventsInput) Validate ¶ added in v1.12.35
func (s *AdminListUserAuthEventsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminListUserAuthEventsOutput ¶ added in v1.12.35
type AdminListUserAuthEventsOutput struct { // The response object. It includes the EventID, EventType, CreationDate, EventRisk, // and EventResponse. AuthEvents []*AuthEventType `type:"list"` // A pagination token. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (AdminListUserAuthEventsOutput) GoString ¶ added in v1.12.35
func (s AdminListUserAuthEventsOutput) GoString() string
GoString returns the string representation
func (*AdminListUserAuthEventsOutput) SetAuthEvents ¶ added in v1.12.35
func (s *AdminListUserAuthEventsOutput) SetAuthEvents(v []*AuthEventType) *AdminListUserAuthEventsOutput
SetAuthEvents sets the AuthEvents field's value.
func (*AdminListUserAuthEventsOutput) SetNextToken ¶ added in v1.12.35
func (s *AdminListUserAuthEventsOutput) SetNextToken(v string) *AdminListUserAuthEventsOutput
SetNextToken sets the NextToken field's value.
func (AdminListUserAuthEventsOutput) String ¶ added in v1.12.35
func (s AdminListUserAuthEventsOutput) String() string
String returns the string representation
type AdminRemoveUserFromGroupInput ¶ added in v1.6.4
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" sensitive:"true"` // contains filtered or unexported fields }
func (AdminRemoveUserFromGroupInput) GoString ¶ added in v1.6.4
func (s AdminRemoveUserFromGroupInput) GoString() string
GoString returns the string representation
func (*AdminRemoveUserFromGroupInput) SetGroupName ¶ added in v1.6.4
func (s *AdminRemoveUserFromGroupInput) SetGroupName(v string) *AdminRemoveUserFromGroupInput
SetGroupName sets the GroupName field's value.
func (*AdminRemoveUserFromGroupInput) SetUserPoolId ¶ added in v1.6.4
func (s *AdminRemoveUserFromGroupInput) SetUserPoolId(v string) *AdminRemoveUserFromGroupInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminRemoveUserFromGroupInput) SetUsername ¶ added in v1.6.4
func (s *AdminRemoveUserFromGroupInput) SetUsername(v string) *AdminRemoveUserFromGroupInput
SetUsername sets the Username field's value.
func (AdminRemoveUserFromGroupInput) String ¶ added in v1.6.4
func (s AdminRemoveUserFromGroupInput) String() string
String returns the string representation
func (*AdminRemoveUserFromGroupInput) Validate ¶ added in v1.6.4
func (s *AdminRemoveUserFromGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminRemoveUserFromGroupOutput ¶ added in v1.6.4
type AdminRemoveUserFromGroupOutput struct {
// contains filtered or unexported fields
}
func (AdminRemoveUserFromGroupOutput) GoString ¶ added in v1.6.4
func (s AdminRemoveUserFromGroupOutput) GoString() string
GoString returns the string representation
func (AdminRemoveUserFromGroupOutput) String ¶ added in v1.6.4
func (s AdminRemoveUserFromGroupOutput) String() string
String returns the string representation
type AdminResetUserPasswordInput ¶
type AdminResetUserPasswordInput struct { // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the AdminResetUserPassword API action, Amazon Cognito // invokes the function that is assigned to the custom message trigger. When // Amazon Cognito invokes this function, it passes a JSON payload, which the // function receives as input. This payload contains a clientMetadata attribute, // which provides the data that you assigned to the ClientMetadata parameter // in your AdminResetUserPassword request. In your function code in AWS Lambda, // you can process the clientMetadata value to enhance your workflow for your // specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // 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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to reset a user's password as an administrator.
func (AdminResetUserPasswordInput) GoString ¶
func (s AdminResetUserPasswordInput) GoString() string
GoString returns the string representation
func (*AdminResetUserPasswordInput) SetClientMetadata ¶ added in v1.25.6
func (s *AdminResetUserPasswordInput) SetClientMetadata(v map[string]*string) *AdminResetUserPasswordInput
SetClientMetadata sets the ClientMetadata field's value.
func (*AdminResetUserPasswordInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminResetUserPasswordInput) SetUserPoolId(v string) *AdminResetUserPasswordInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminResetUserPasswordInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AdminResetUserPasswordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminResetUserPasswordOutput ¶
type AdminResetUserPasswordOutput struct {
// contains filtered or unexported fields
}
Represents the response from the server to reset a user password as an administrator.
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 ¶ added in v1.2.10
type AdminRespondToAuthChallengeInput struct { // The analytics metadata for collecting Amazon Pinpoint metrics for AdminRespondToAuthChallenge // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` // The challenge name. For more information, see AdminInitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/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" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the AdminRespondToAuthChallenge API action, Amazon // Cognito invokes any functions that are assigned to the following triggers: // pre sign-up, custom message, post authentication, user migration, pre token // generation, define auth challenge, create auth challenge, and verify auth // challenge response. When Amazon Cognito invokes any of these functions, it // passes a JSON payload, which the function receives as input. This payload // contains a clientMetadata attribute, which provides the data that you assigned // to the ClientMetadata parameter in your AdminRespondToAuthChallenge request. // In your function code in AWS Lambda, you can process the clientMetadata value // to enhance your workflow for your specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. ContextData *ContextDataType `type:"structure"` // 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 }
The request to respond to the authentication challenge, as an administrator.
func (AdminRespondToAuthChallengeInput) GoString ¶ added in v1.2.10
func (s AdminRespondToAuthChallengeInput) GoString() string
GoString returns the string representation
func (*AdminRespondToAuthChallengeInput) SetAnalyticsMetadata ¶ added in v1.12.35
func (s *AdminRespondToAuthChallengeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *AdminRespondToAuthChallengeInput
SetAnalyticsMetadata sets the AnalyticsMetadata field's value.
func (*AdminRespondToAuthChallengeInput) SetChallengeName ¶ added in v1.5.0
func (s *AdminRespondToAuthChallengeInput) SetChallengeName(v string) *AdminRespondToAuthChallengeInput
SetChallengeName sets the ChallengeName field's value.
func (*AdminRespondToAuthChallengeInput) SetChallengeResponses ¶ added in v1.5.0
func (s *AdminRespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *AdminRespondToAuthChallengeInput
SetChallengeResponses sets the ChallengeResponses field's value.
func (*AdminRespondToAuthChallengeInput) SetClientId ¶ added in v1.5.0
func (s *AdminRespondToAuthChallengeInput) SetClientId(v string) *AdminRespondToAuthChallengeInput
SetClientId sets the ClientId field's value.
func (*AdminRespondToAuthChallengeInput) SetClientMetadata ¶ added in v1.25.6
func (s *AdminRespondToAuthChallengeInput) SetClientMetadata(v map[string]*string) *AdminRespondToAuthChallengeInput
SetClientMetadata sets the ClientMetadata field's value.
func (*AdminRespondToAuthChallengeInput) SetContextData ¶ added in v1.12.35
func (s *AdminRespondToAuthChallengeInput) SetContextData(v *ContextDataType) *AdminRespondToAuthChallengeInput
SetContextData sets the ContextData field's value.
func (*AdminRespondToAuthChallengeInput) SetSession ¶ added in v1.5.0
func (s *AdminRespondToAuthChallengeInput) SetSession(v string) *AdminRespondToAuthChallengeInput
SetSession sets the Session field's value.
func (*AdminRespondToAuthChallengeInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminRespondToAuthChallengeInput) SetUserPoolId(v string) *AdminRespondToAuthChallengeInput
SetUserPoolId sets the UserPoolId field's value.
func (AdminRespondToAuthChallengeInput) String ¶ added in v1.2.10
func (s AdminRespondToAuthChallengeInput) String() string
String returns the string representation
func (*AdminRespondToAuthChallengeInput) Validate ¶ added in v1.2.10
func (s *AdminRespondToAuthChallengeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminRespondToAuthChallengeOutput ¶ added in v1.2.10
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 (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html). ChallengeName *string `type:"string" enum:"ChallengeNameType"` // The challenge parameters. For more information, see AdminInitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/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 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 }
Responds to the authentication challenge, as an administrator.
func (AdminRespondToAuthChallengeOutput) GoString ¶ added in v1.2.10
func (s AdminRespondToAuthChallengeOutput) GoString() string
GoString returns the string representation
func (*AdminRespondToAuthChallengeOutput) SetAuthenticationResult ¶ added in v1.5.0
func (s *AdminRespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminRespondToAuthChallengeOutput
SetAuthenticationResult sets the AuthenticationResult field's value.
func (*AdminRespondToAuthChallengeOutput) SetChallengeName ¶ added in v1.5.0
func (s *AdminRespondToAuthChallengeOutput) SetChallengeName(v string) *AdminRespondToAuthChallengeOutput
SetChallengeName sets the ChallengeName field's value.
func (*AdminRespondToAuthChallengeOutput) SetChallengeParameters ¶ added in v1.5.0
func (s *AdminRespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *AdminRespondToAuthChallengeOutput
SetChallengeParameters sets the ChallengeParameters field's value.
func (*AdminRespondToAuthChallengeOutput) SetSession ¶ added in v1.5.0
func (s *AdminRespondToAuthChallengeOutput) SetSession(v string) *AdminRespondToAuthChallengeOutput
SetSession sets the Session field's value.
func (AdminRespondToAuthChallengeOutput) String ¶ added in v1.2.10
func (s AdminRespondToAuthChallengeOutput) String() string
String returns the string representation
type AdminSetUserMFAPreferenceInput ¶ added in v1.12.35
type AdminSetUserMFAPreferenceInput struct { // The SMS text message MFA settings. SMSMfaSettings *SMSMfaSettingsType `type:"structure"` // The time-based one-time password software token MFA settings. SoftwareTokenMfaSettings *SoftwareTokenMfaSettingsType `type:"structure"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user pool username or alias. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (AdminSetUserMFAPreferenceInput) GoString ¶ added in v1.12.35
func (s AdminSetUserMFAPreferenceInput) GoString() string
GoString returns the string representation
func (*AdminSetUserMFAPreferenceInput) SetSMSMfaSettings ¶ added in v1.12.35
func (s *AdminSetUserMFAPreferenceInput) SetSMSMfaSettings(v *SMSMfaSettingsType) *AdminSetUserMFAPreferenceInput
SetSMSMfaSettings sets the SMSMfaSettings field's value.
func (*AdminSetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings ¶ added in v1.12.35
func (s *AdminSetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings(v *SoftwareTokenMfaSettingsType) *AdminSetUserMFAPreferenceInput
SetSoftwareTokenMfaSettings sets the SoftwareTokenMfaSettings field's value.
func (*AdminSetUserMFAPreferenceInput) SetUserPoolId ¶ added in v1.12.35
func (s *AdminSetUserMFAPreferenceInput) SetUserPoolId(v string) *AdminSetUserMFAPreferenceInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminSetUserMFAPreferenceInput) SetUsername ¶ added in v1.12.35
func (s *AdminSetUserMFAPreferenceInput) SetUsername(v string) *AdminSetUserMFAPreferenceInput
SetUsername sets the Username field's value.
func (AdminSetUserMFAPreferenceInput) String ¶ added in v1.12.35
func (s AdminSetUserMFAPreferenceInput) String() string
String returns the string representation
func (*AdminSetUserMFAPreferenceInput) Validate ¶ added in v1.12.35
func (s *AdminSetUserMFAPreferenceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminSetUserMFAPreferenceOutput ¶ added in v1.12.35
type AdminSetUserMFAPreferenceOutput struct {
// contains filtered or unexported fields
}
func (AdminSetUserMFAPreferenceOutput) GoString ¶ added in v1.12.35
func (s AdminSetUserMFAPreferenceOutput) GoString() string
GoString returns the string representation
func (AdminSetUserMFAPreferenceOutput) String ¶ added in v1.12.35
func (s AdminSetUserMFAPreferenceOutput) String() string
String returns the string representation
type AdminSetUserPasswordInput ¶ added in v1.19.24
type AdminSetUserPasswordInput struct { // The password for the user. // // Password is a required field Password *string `min:"6" type:"string" required:"true" sensitive:"true"` // True if the password is permanent, False if it is temporary. Permanent *bool `type:"boolean"` // The user pool ID for the user pool where you want to set 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 set. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (AdminSetUserPasswordInput) GoString ¶ added in v1.19.24
func (s AdminSetUserPasswordInput) GoString() string
GoString returns the string representation
func (*AdminSetUserPasswordInput) SetPassword ¶ added in v1.19.24
func (s *AdminSetUserPasswordInput) SetPassword(v string) *AdminSetUserPasswordInput
SetPassword sets the Password field's value.
func (*AdminSetUserPasswordInput) SetPermanent ¶ added in v1.19.24
func (s *AdminSetUserPasswordInput) SetPermanent(v bool) *AdminSetUserPasswordInput
SetPermanent sets the Permanent field's value.
func (*AdminSetUserPasswordInput) SetUserPoolId ¶ added in v1.19.24
func (s *AdminSetUserPasswordInput) SetUserPoolId(v string) *AdminSetUserPasswordInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminSetUserPasswordInput) SetUsername ¶ added in v1.19.24
func (s *AdminSetUserPasswordInput) SetUsername(v string) *AdminSetUserPasswordInput
SetUsername sets the Username field's value.
func (AdminSetUserPasswordInput) String ¶ added in v1.19.24
func (s AdminSetUserPasswordInput) String() string
String returns the string representation
func (*AdminSetUserPasswordInput) Validate ¶ added in v1.19.24
func (s *AdminSetUserPasswordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminSetUserPasswordOutput ¶ added in v1.19.24
type AdminSetUserPasswordOutput struct {
// contains filtered or unexported fields
}
func (AdminSetUserPasswordOutput) GoString ¶ added in v1.19.24
func (s AdminSetUserPasswordOutput) GoString() string
GoString returns the string representation
func (AdminSetUserPasswordOutput) String ¶ added in v1.19.24
func (s AdminSetUserPasswordOutput) String() string
String returns the string representation
type AdminSetUserSettingsInput ¶
type AdminSetUserSettingsInput struct { // You can use this parameter only to set an SMS configuration that uses SMS // for delivery. // // MFAOptions is a required field MFAOptions []*MFAOptionType `type:"list" required:"true"` // The ID of the user pool that contains the user that you are setting options // for. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name of the user that you are setting options for. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
You can use this parameter to set an MFA configuration that uses the SMS delivery medium.
func (AdminSetUserSettingsInput) GoString ¶
func (s AdminSetUserSettingsInput) GoString() string
GoString returns the string representation
func (*AdminSetUserSettingsInput) SetMFAOptions ¶ added in v1.5.0
func (s *AdminSetUserSettingsInput) SetMFAOptions(v []*MFAOptionType) *AdminSetUserSettingsInput
SetMFAOptions sets the MFAOptions field's value.
func (*AdminSetUserSettingsInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminSetUserSettingsInput) SetUserPoolId(v string) *AdminSetUserSettingsInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminSetUserSettingsInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AdminSetUserSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminSetUserSettingsOutput ¶
type AdminSetUserSettingsOutput struct {
// contains filtered or unexported fields
}
Represents the response from the server to set user settings as an administrator.
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 AdminUpdateAuthEventFeedbackInput ¶ added in v1.12.35
type AdminUpdateAuthEventFeedbackInput struct { // The authentication event ID. // // EventId is a required field EventId *string `min:"1" type:"string" required:"true"` // The authentication event feedback value. // // FeedbackValue is a required field FeedbackValue *string `type:"string" required:"true" enum:"FeedbackValueType"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user pool username. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (AdminUpdateAuthEventFeedbackInput) GoString ¶ added in v1.12.35
func (s AdminUpdateAuthEventFeedbackInput) GoString() string
GoString returns the string representation
func (*AdminUpdateAuthEventFeedbackInput) SetEventId ¶ added in v1.12.35
func (s *AdminUpdateAuthEventFeedbackInput) SetEventId(v string) *AdminUpdateAuthEventFeedbackInput
SetEventId sets the EventId field's value.
func (*AdminUpdateAuthEventFeedbackInput) SetFeedbackValue ¶ added in v1.12.35
func (s *AdminUpdateAuthEventFeedbackInput) SetFeedbackValue(v string) *AdminUpdateAuthEventFeedbackInput
SetFeedbackValue sets the FeedbackValue field's value.
func (*AdminUpdateAuthEventFeedbackInput) SetUserPoolId ¶ added in v1.12.35
func (s *AdminUpdateAuthEventFeedbackInput) SetUserPoolId(v string) *AdminUpdateAuthEventFeedbackInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminUpdateAuthEventFeedbackInput) SetUsername ¶ added in v1.12.35
func (s *AdminUpdateAuthEventFeedbackInput) SetUsername(v string) *AdminUpdateAuthEventFeedbackInput
SetUsername sets the Username field's value.
func (AdminUpdateAuthEventFeedbackInput) String ¶ added in v1.12.35
func (s AdminUpdateAuthEventFeedbackInput) String() string
String returns the string representation
func (*AdminUpdateAuthEventFeedbackInput) Validate ¶ added in v1.12.35
func (s *AdminUpdateAuthEventFeedbackInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminUpdateAuthEventFeedbackOutput ¶ added in v1.12.35
type AdminUpdateAuthEventFeedbackOutput struct {
// contains filtered or unexported fields
}
func (AdminUpdateAuthEventFeedbackOutput) GoString ¶ added in v1.12.35
func (s AdminUpdateAuthEventFeedbackOutput) GoString() string
GoString returns the string representation
func (AdminUpdateAuthEventFeedbackOutput) String ¶ added in v1.12.35
func (s AdminUpdateAuthEventFeedbackOutput) String() string
String returns the string representation
type AdminUpdateDeviceStatusInput ¶ added in v1.2.10
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" sensitive:"true"` // contains filtered or unexported fields }
The request to update the device status, as an administrator.
func (AdminUpdateDeviceStatusInput) GoString ¶ added in v1.2.10
func (s AdminUpdateDeviceStatusInput) GoString() string
GoString returns the string representation
func (*AdminUpdateDeviceStatusInput) SetDeviceKey ¶ added in v1.5.0
func (s *AdminUpdateDeviceStatusInput) SetDeviceKey(v string) *AdminUpdateDeviceStatusInput
SetDeviceKey sets the DeviceKey field's value.
func (*AdminUpdateDeviceStatusInput) SetDeviceRememberedStatus ¶ added in v1.5.0
func (s *AdminUpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *AdminUpdateDeviceStatusInput
SetDeviceRememberedStatus sets the DeviceRememberedStatus field's value.
func (*AdminUpdateDeviceStatusInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminUpdateDeviceStatusInput) SetUserPoolId(v string) *AdminUpdateDeviceStatusInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminUpdateDeviceStatusInput) SetUsername ¶ added in v1.5.0
func (s *AdminUpdateDeviceStatusInput) SetUsername(v string) *AdminUpdateDeviceStatusInput
SetUsername sets the Username field's value.
func (AdminUpdateDeviceStatusInput) String ¶ added in v1.2.10
func (s AdminUpdateDeviceStatusInput) String() string
String returns the string representation
func (*AdminUpdateDeviceStatusInput) Validate ¶ added in v1.2.10
func (s *AdminUpdateDeviceStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminUpdateDeviceStatusOutput ¶ added in v1.2.10
type AdminUpdateDeviceStatusOutput struct {
// contains filtered or unexported fields
}
The status response from the request to update the device, as an administrator.
func (AdminUpdateDeviceStatusOutput) GoString ¶ added in v1.2.10
func (s AdminUpdateDeviceStatusOutput) GoString() string
GoString returns the string representation
func (AdminUpdateDeviceStatusOutput) String ¶ added in v1.2.10
func (s AdminUpdateDeviceStatusOutput) String() string
String returns the string representation
type AdminUpdateUserAttributesInput ¶
type AdminUpdateUserAttributesInput struct { // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the AdminUpdateUserAttributes API action, Amazon Cognito // invokes the function that is assigned to the custom message trigger. When // Amazon Cognito invokes this function, it passes a JSON payload, which the // function receives as input. This payload contains a clientMetadata attribute, // which provides the data that you assigned to the ClientMetadata parameter // in your AdminUpdateUserAttributes request. In your function code in AWS Lambda, // you can process the clientMetadata value to enhance your workflow for your // specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // 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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to update the user's attributes as an administrator.
func (AdminUpdateUserAttributesInput) GoString ¶
func (s AdminUpdateUserAttributesInput) GoString() string
GoString returns the string representation
func (*AdminUpdateUserAttributesInput) SetClientMetadata ¶ added in v1.25.6
func (s *AdminUpdateUserAttributesInput) SetClientMetadata(v map[string]*string) *AdminUpdateUserAttributesInput
SetClientMetadata sets the ClientMetadata field's value.
func (*AdminUpdateUserAttributesInput) SetUserAttributes ¶ added in v1.5.0
func (s *AdminUpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *AdminUpdateUserAttributesInput
SetUserAttributes sets the UserAttributes field's value.
func (*AdminUpdateUserAttributesInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminUpdateUserAttributesInput) SetUserPoolId(v string) *AdminUpdateUserAttributesInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminUpdateUserAttributesInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AdminUpdateUserAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminUpdateUserAttributesOutput ¶
type AdminUpdateUserAttributesOutput struct {
// contains filtered or unexported fields
}
Represents the response from the server for the request to update user attributes as an administrator.
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 ¶ added in v1.2.10
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" sensitive:"true"` // contains filtered or unexported fields }
The request to sign out of all devices, as an administrator.
func (AdminUserGlobalSignOutInput) GoString ¶ added in v1.2.10
func (s AdminUserGlobalSignOutInput) GoString() string
GoString returns the string representation
func (*AdminUserGlobalSignOutInput) SetUserPoolId ¶ added in v1.5.0
func (s *AdminUserGlobalSignOutInput) SetUserPoolId(v string) *AdminUserGlobalSignOutInput
SetUserPoolId sets the UserPoolId field's value.
func (*AdminUserGlobalSignOutInput) SetUsername ¶ added in v1.5.0
func (s *AdminUserGlobalSignOutInput) SetUsername(v string) *AdminUserGlobalSignOutInput
SetUsername sets the Username field's value.
func (AdminUserGlobalSignOutInput) String ¶ added in v1.2.10
func (s AdminUserGlobalSignOutInput) String() string
String returns the string representation
func (*AdminUserGlobalSignOutInput) Validate ¶ added in v1.2.10
func (s *AdminUserGlobalSignOutInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdminUserGlobalSignOutOutput ¶ added in v1.2.10
type AdminUserGlobalSignOutOutput struct {
// contains filtered or unexported fields
}
The global sign-out response, as an administrator.
func (AdminUserGlobalSignOutOutput) GoString ¶ added in v1.2.10
func (s AdminUserGlobalSignOutOutput) GoString() string
GoString returns the string representation
func (AdminUserGlobalSignOutOutput) String ¶ added in v1.2.10
func (s AdminUserGlobalSignOutOutput) String() string
String returns the string representation
type AliasExistsException ¶ added in v1.28.0
type AliasExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message sent to the user when an alias exists. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
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.
func (*AliasExistsException) Code ¶ added in v1.28.0
func (s *AliasExistsException) Code() string
Code returns the exception type name.
func (*AliasExistsException) Error ¶ added in v1.28.0
func (s *AliasExistsException) Error() string
func (AliasExistsException) GoString ¶ added in v1.28.0
func (s AliasExistsException) GoString() string
GoString returns the string representation
func (*AliasExistsException) Message ¶ added in v1.28.0
func (s *AliasExistsException) Message() string
Message returns the exception's message.
func (*AliasExistsException) OrigErr ¶ added in v1.28.0
func (s *AliasExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AliasExistsException) RequestID ¶ added in v1.28.0
func (s *AliasExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AliasExistsException) StatusCode ¶ added in v1.28.0
func (s *AliasExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AliasExistsException) String ¶ added in v1.28.0
func (s AliasExistsException) String() string
String returns the string representation
type AnalyticsConfigurationType ¶ added in v1.12.35
type AnalyticsConfigurationType struct { // The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use // the Amazon Pinpoint project for Pinpoint integration with the chosen User // Pool Client. Amazon Cognito publishes events to the pinpoint project declared // by the app ARN. ApplicationArn *string `min:"20" type:"string"` // The application ID for an Amazon Pinpoint application. ApplicationId *string `type:"string"` // The external ID. ExternalId *string `type:"string"` // The ARN of an IAM role that authorizes Amazon Cognito to publish events to // Amazon Pinpoint analytics. RoleArn *string `min:"20" type:"string"` // it publishes to Amazon Pinpoint analytics. UserDataShared *bool `type:"boolean"` // contains filtered or unexported fields }
The Amazon Pinpoint analytics configuration for collecting metrics for a user pool.
In regions where Pinpoint is not available, Cognito User Pools only supports sending events to Amazon Pinpoint projects in us-east-1. In regions where Pinpoint is available, Cognito User Pools will support sending events to Amazon Pinpoint projects within that same region.
func (AnalyticsConfigurationType) GoString ¶ added in v1.12.35
func (s AnalyticsConfigurationType) GoString() string
GoString returns the string representation
func (*AnalyticsConfigurationType) SetApplicationArn ¶ added in v1.34.7
func (s *AnalyticsConfigurationType) SetApplicationArn(v string) *AnalyticsConfigurationType
SetApplicationArn sets the ApplicationArn field's value.
func (*AnalyticsConfigurationType) SetApplicationId ¶ added in v1.12.35
func (s *AnalyticsConfigurationType) SetApplicationId(v string) *AnalyticsConfigurationType
SetApplicationId sets the ApplicationId field's value.
func (*AnalyticsConfigurationType) SetExternalId ¶ added in v1.12.35
func (s *AnalyticsConfigurationType) SetExternalId(v string) *AnalyticsConfigurationType
SetExternalId sets the ExternalId field's value.
func (*AnalyticsConfigurationType) SetRoleArn ¶ added in v1.12.35
func (s *AnalyticsConfigurationType) SetRoleArn(v string) *AnalyticsConfigurationType
SetRoleArn sets the RoleArn field's value.
func (*AnalyticsConfigurationType) SetUserDataShared ¶ added in v1.12.35
func (s *AnalyticsConfigurationType) SetUserDataShared(v bool) *AnalyticsConfigurationType
SetUserDataShared sets the UserDataShared field's value.
func (AnalyticsConfigurationType) String ¶ added in v1.12.35
func (s AnalyticsConfigurationType) String() string
String returns the string representation
func (*AnalyticsConfigurationType) Validate ¶ added in v1.12.35
func (s *AnalyticsConfigurationType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AnalyticsMetadataType ¶ added in v1.12.35
type AnalyticsMetadataType struct { // The endpoint ID. AnalyticsEndpointId *string `type:"string"` // contains filtered or unexported fields }
An Amazon Pinpoint analytics endpoint.
An endpoint uniquely identifies a mobile device, email address, or phone number that can receive messages from Amazon Pinpoint analytics.
Cognito User Pools only supports sending events to Amazon Pinpoint projects in the US East (N. Virginia) us-east-1 Region, regardless of the region in which the user pool resides.
func (AnalyticsMetadataType) GoString ¶ added in v1.12.35
func (s AnalyticsMetadataType) GoString() string
GoString returns the string representation
func (*AnalyticsMetadataType) SetAnalyticsEndpointId ¶ added in v1.12.35
func (s *AnalyticsMetadataType) SetAnalyticsEndpointId(v string) *AnalyticsMetadataType
SetAnalyticsEndpointId sets the AnalyticsEndpointId field's value.
func (AnalyticsMetadataType) String ¶ added in v1.12.35
func (s AnalyticsMetadataType) String() string
String returns the string representation
type AssociateSoftwareTokenInput ¶ added in v1.12.35
type AssociateSoftwareTokenInput struct { // The access token. AccessToken *string `type:"string" sensitive:"true"` // The session which should be passed both ways in challenge-response calls // to the service. This allows authentication of the user as part of the MFA // setup process. Session *string `min:"20" type:"string"` // contains filtered or unexported fields }
func (AssociateSoftwareTokenInput) GoString ¶ added in v1.12.35
func (s AssociateSoftwareTokenInput) GoString() string
GoString returns the string representation
func (*AssociateSoftwareTokenInput) SetAccessToken ¶ added in v1.12.35
func (s *AssociateSoftwareTokenInput) SetAccessToken(v string) *AssociateSoftwareTokenInput
SetAccessToken sets the AccessToken field's value.
func (*AssociateSoftwareTokenInput) SetSession ¶ added in v1.12.35
func (s *AssociateSoftwareTokenInput) SetSession(v string) *AssociateSoftwareTokenInput
SetSession sets the Session field's value.
func (AssociateSoftwareTokenInput) String ¶ added in v1.12.35
func (s AssociateSoftwareTokenInput) String() string
String returns the string representation
func (*AssociateSoftwareTokenInput) Validate ¶ added in v1.12.35
func (s *AssociateSoftwareTokenInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateSoftwareTokenOutput ¶ added in v1.12.35
type AssociateSoftwareTokenOutput struct { // A unique generated shared secret code that is used in the TOTP algorithm // to generate a one time code. SecretCode *string `min:"16" type:"string" sensitive:"true"` // The session which should be passed both ways in challenge-response calls // to the service. This allows authentication of the user as part of the MFA // setup process. Session *string `min:"20" type:"string"` // contains filtered or unexported fields }
func (AssociateSoftwareTokenOutput) GoString ¶ added in v1.12.35
func (s AssociateSoftwareTokenOutput) GoString() string
GoString returns the string representation
func (*AssociateSoftwareTokenOutput) SetSecretCode ¶ added in v1.12.35
func (s *AssociateSoftwareTokenOutput) SetSecretCode(v string) *AssociateSoftwareTokenOutput
SetSecretCode sets the SecretCode field's value.
func (*AssociateSoftwareTokenOutput) SetSession ¶ added in v1.12.35
func (s *AssociateSoftwareTokenOutput) SetSession(v string) *AssociateSoftwareTokenOutput
SetSession sets the Session field's value.
func (AssociateSoftwareTokenOutput) String ¶ added in v1.12.35
func (s AssociateSoftwareTokenOutput) String() string
String returns the string representation
type 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" sensitive:"true"` // contains filtered or unexported fields }
Specifies whether the attribute is standard or custom.
func (AttributeType) GoString ¶
func (s AttributeType) GoString() string
GoString returns the string representation
func (*AttributeType) SetName ¶ added in v1.5.0
func (s *AttributeType) SetName(v string) *AttributeType
SetName sets the Name field's value.
func (*AttributeType) SetValue ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *AttributeType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AuthEventType ¶ added in v1.12.35
type AuthEventType struct { // The challenge responses. ChallengeResponses []*ChallengeResponseType `type:"list"` // The creation date CreationDate *time.Time `type:"timestamp"` // The user context data captured at the time of an event request. It provides // additional information about the client from which event the request is received. EventContextData *EventContextDataType `type:"structure"` // A flag specifying the user feedback captured at the time of an event request // is good or bad. EventFeedback *EventFeedbackType `type:"structure"` // The event ID. EventId *string `type:"string"` // The event response. EventResponse *string `type:"string" enum:"EventResponseType"` // The event risk. EventRisk *EventRiskType `type:"structure"` // The event type. EventType *string `type:"string" enum:"EventType"` // contains filtered or unexported fields }
The authentication event type.
func (AuthEventType) GoString ¶ added in v1.12.35
func (s AuthEventType) GoString() string
GoString returns the string representation
func (*AuthEventType) SetChallengeResponses ¶ added in v1.12.35
func (s *AuthEventType) SetChallengeResponses(v []*ChallengeResponseType) *AuthEventType
SetChallengeResponses sets the ChallengeResponses field's value.
func (*AuthEventType) SetCreationDate ¶ added in v1.12.35
func (s *AuthEventType) SetCreationDate(v time.Time) *AuthEventType
SetCreationDate sets the CreationDate field's value.
func (*AuthEventType) SetEventContextData ¶ added in v1.12.35
func (s *AuthEventType) SetEventContextData(v *EventContextDataType) *AuthEventType
SetEventContextData sets the EventContextData field's value.
func (*AuthEventType) SetEventFeedback ¶ added in v1.12.35
func (s *AuthEventType) SetEventFeedback(v *EventFeedbackType) *AuthEventType
SetEventFeedback sets the EventFeedback field's value.
func (*AuthEventType) SetEventId ¶ added in v1.12.35
func (s *AuthEventType) SetEventId(v string) *AuthEventType
SetEventId sets the EventId field's value.
func (*AuthEventType) SetEventResponse ¶ added in v1.12.35
func (s *AuthEventType) SetEventResponse(v string) *AuthEventType
SetEventResponse sets the EventResponse field's value.
func (*AuthEventType) SetEventRisk ¶ added in v1.12.35
func (s *AuthEventType) SetEventRisk(v *EventRiskType) *AuthEventType
SetEventRisk sets the EventRisk field's value.
func (*AuthEventType) SetEventType ¶ added in v1.12.35
func (s *AuthEventType) SetEventType(v string) *AuthEventType
SetEventType sets the EventType field's value.
func (AuthEventType) String ¶ added in v1.12.35
func (s AuthEventType) String() string
String returns the string representation
type AuthenticationResultType ¶ added in v1.2.10
type AuthenticationResultType struct { // The access token. AccessToken *string `type:"string" sensitive:"true"` // The expiration period of the authentication result in seconds. ExpiresIn *int64 `type:"integer"` // The ID token. IdToken *string `type:"string" sensitive:"true"` // The new device metadata from an authentication result. NewDeviceMetadata *NewDeviceMetadataType `type:"structure"` // The refresh token. RefreshToken *string `type:"string" sensitive:"true"` // The token type. TokenType *string `type:"string"` // contains filtered or unexported fields }
The authentication result.
func (AuthenticationResultType) GoString ¶ added in v1.2.10
func (s AuthenticationResultType) GoString() string
GoString returns the string representation
func (*AuthenticationResultType) SetAccessToken ¶ added in v1.5.0
func (s *AuthenticationResultType) SetAccessToken(v string) *AuthenticationResultType
SetAccessToken sets the AccessToken field's value.
func (*AuthenticationResultType) SetExpiresIn ¶ added in v1.5.0
func (s *AuthenticationResultType) SetExpiresIn(v int64) *AuthenticationResultType
SetExpiresIn sets the ExpiresIn field's value.
func (*AuthenticationResultType) SetIdToken ¶ added in v1.5.0
func (s *AuthenticationResultType) SetIdToken(v string) *AuthenticationResultType
SetIdToken sets the IdToken field's value.
func (*AuthenticationResultType) SetNewDeviceMetadata ¶ added in v1.5.0
func (s *AuthenticationResultType) SetNewDeviceMetadata(v *NewDeviceMetadataType) *AuthenticationResultType
SetNewDeviceMetadata sets the NewDeviceMetadata field's value.
func (*AuthenticationResultType) SetRefreshToken ¶ added in v1.5.0
func (s *AuthenticationResultType) SetRefreshToken(v string) *AuthenticationResultType
SetRefreshToken sets the RefreshToken field's value.
func (*AuthenticationResultType) SetTokenType ¶ added in v1.5.0
func (s *AuthenticationResultType) SetTokenType(v string) *AuthenticationResultType
SetTokenType sets the TokenType field's value.
func (AuthenticationResultType) String ¶ added in v1.2.10
func (s AuthenticationResultType) String() string
String returns the string representation
type ChallengeResponseType ¶ added in v1.12.35
type ChallengeResponseType struct { // The challenge name ChallengeName *string `type:"string" enum:"ChallengeName"` // The challenge response. ChallengeResponse *string `type:"string" enum:"ChallengeResponse"` // contains filtered or unexported fields }
The challenge response type.
func (ChallengeResponseType) GoString ¶ added in v1.12.35
func (s ChallengeResponseType) GoString() string
GoString returns the string representation
func (*ChallengeResponseType) SetChallengeName ¶ added in v1.12.35
func (s *ChallengeResponseType) SetChallengeName(v string) *ChallengeResponseType
SetChallengeName sets the ChallengeName field's value.
func (*ChallengeResponseType) SetChallengeResponse ¶ added in v1.12.35
func (s *ChallengeResponseType) SetChallengeResponse(v string) *ChallengeResponseType
SetChallengeResponse sets the ChallengeResponse field's value.
func (ChallengeResponseType) String ¶ added in v1.12.35
func (s ChallengeResponseType) String() string
String returns the string representation
type ChangePasswordInput ¶
type ChangePasswordInput struct { // The access token. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // The old password. // // PreviousPassword is a required field PreviousPassword *string `min:"6" type:"string" required:"true" sensitive:"true"` // The new password. // // ProposedPassword is a required field ProposedPassword *string `min:"6" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to change a user password.
func (ChangePasswordInput) GoString ¶
func (s ChangePasswordInput) GoString() string
GoString returns the string representation
func (*ChangePasswordInput) SetAccessToken ¶ added in v1.5.0
func (s *ChangePasswordInput) SetAccessToken(v string) *ChangePasswordInput
SetAccessToken sets the AccessToken field's value.
func (*ChangePasswordInput) SetPreviousPassword ¶ added in v1.5.0
func (s *ChangePasswordInput) SetPreviousPassword(v string) *ChangePasswordInput
SetPreviousPassword sets the PreviousPassword field's value.
func (*ChangePasswordInput) SetProposedPassword ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *ChangePasswordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ChangePasswordOutput ¶
type ChangePasswordOutput struct {
// contains filtered or unexported fields
}
The response from the server to the change password request.
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 ¶
type CodeDeliveryDetailsType struct { // The attribute name. 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 }
The code delivery details being returned from the server.
func (CodeDeliveryDetailsType) GoString ¶
func (s CodeDeliveryDetailsType) GoString() string
GoString returns the string representation
func (*CodeDeliveryDetailsType) SetAttributeName ¶ added in v1.5.0
func (s *CodeDeliveryDetailsType) SetAttributeName(v string) *CodeDeliveryDetailsType
SetAttributeName sets the AttributeName field's value.
func (*CodeDeliveryDetailsType) SetDeliveryMedium ¶ added in v1.5.0
func (s *CodeDeliveryDetailsType) SetDeliveryMedium(v string) *CodeDeliveryDetailsType
SetDeliveryMedium sets the DeliveryMedium field's value.
func (*CodeDeliveryDetailsType) SetDestination ¶ added in v1.5.0
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 CodeDeliveryFailureException ¶ added in v1.28.0
type CodeDeliveryFailureException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message sent when a verification code fails to deliver successfully. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when a verification code fails to deliver successfully.
func (*CodeDeliveryFailureException) Code ¶ added in v1.28.0
func (s *CodeDeliveryFailureException) Code() string
Code returns the exception type name.
func (*CodeDeliveryFailureException) Error ¶ added in v1.28.0
func (s *CodeDeliveryFailureException) Error() string
func (CodeDeliveryFailureException) GoString ¶ added in v1.28.0
func (s CodeDeliveryFailureException) GoString() string
GoString returns the string representation
func (*CodeDeliveryFailureException) Message ¶ added in v1.28.0
func (s *CodeDeliveryFailureException) Message() string
Message returns the exception's message.
func (*CodeDeliveryFailureException) OrigErr ¶ added in v1.28.0
func (s *CodeDeliveryFailureException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*CodeDeliveryFailureException) RequestID ¶ added in v1.28.0
func (s *CodeDeliveryFailureException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*CodeDeliveryFailureException) StatusCode ¶ added in v1.28.0
func (s *CodeDeliveryFailureException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (CodeDeliveryFailureException) String ¶ added in v1.28.0
func (s CodeDeliveryFailureException) String() string
String returns the string representation
type CodeMismatchException ¶ added in v1.28.0
type CodeMismatchException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message provided when the code mismatch exception is thrown. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown if the provided code does not match what the server was expecting.
func (*CodeMismatchException) Code ¶ added in v1.28.0
func (s *CodeMismatchException) Code() string
Code returns the exception type name.
func (*CodeMismatchException) Error ¶ added in v1.28.0
func (s *CodeMismatchException) Error() string
func (CodeMismatchException) GoString ¶ added in v1.28.0
func (s CodeMismatchException) GoString() string
GoString returns the string representation
func (*CodeMismatchException) Message ¶ added in v1.28.0
func (s *CodeMismatchException) Message() string
Message returns the exception's message.
func (*CodeMismatchException) OrigErr ¶ added in v1.28.0
func (s *CodeMismatchException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*CodeMismatchException) RequestID ¶ added in v1.28.0
func (s *CodeMismatchException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*CodeMismatchException) StatusCode ¶ added in v1.28.0
func (s *CodeMismatchException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (CodeMismatchException) String ¶ added in v1.28.0
func (s CodeMismatchException) 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.
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:
mySession := session.Must(session.NewSession()) // 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
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.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddCustomAttributes for more information on using the AddCustomAttributes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributes
func (*CognitoIdentityProvider) AddCustomAttributesWithContext ¶ added in v1.8.0
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 ¶ added in v1.6.4
func (c *CognitoIdentityProvider) AdminAddUserToGroup(input *AdminAddUserToGroupInput) (*AdminAddUserToGroupOutput, error)
AdminAddUserToGroup API operation for Amazon Cognito Identity Provider.
Adds the specified user to the specified group.
Calling this action 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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup
func (*CognitoIdentityProvider) AdminAddUserToGroupRequest ¶ added in v1.6.4
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminAddUserToGroup for more information on using the AdminAddUserToGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup
func (*CognitoIdentityProvider) AdminAddUserToGroupWithContext ¶ added in v1.8.0
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.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyFailedAttemptsException This exception is thrown when the user has made too many failed attempts for a given action (e.g., sign in).
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminConfirmSignUp for more information on using the AdminConfirmSignUp API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUp
func (*CognitoIdentityProvider) AdminConfirmSignUpWithContext ¶ added in v1.8.0
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 ¶ added in v1.4.15
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.
If MessageAction is not set, the default is to send a welcome message via email or phone (SMS).
This message is based on a template that you configured in your call to create or update a user pool. This template includes your custom sign-up instructions and placeholders for user name and temporary password.
Alternatively, you can call AdminCreateUser with “SUPPRESS” for the MessageAction parameter, and Amazon Cognito will not send any email.
In either case, the user will be in the FORCE_CHANGE_PASSWORD state until they sign in and change their password.
AdminCreateUser 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UserNotFoundException This exception is thrown when a user is not found.
UsernameExistsException This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.
InvalidPasswordException This exception is thrown when the Amazon Cognito service encounters an invalid password.
CodeDeliveryFailureException This exception is thrown when a verification code fails to deliver successfully.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
PreconditionNotMetException This exception is thrown when a precondition is not met.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UnsupportedUserStateException The request failed because the user is in an unsupported state.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser
func (*CognitoIdentityProvider) AdminCreateUserRequest ¶ added in v1.4.15
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminCreateUser for more information on using the AdminCreateUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser
func (*CognitoIdentityProvider) AdminCreateUserWithContext ¶ added in v1.8.0
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.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminDeleteUserAttributes for more information on using the AdminDeleteUserAttributes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributes
func (*CognitoIdentityProvider) AdminDeleteUserAttributesWithContext ¶ added in v1.8.0
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminDeleteUser for more information on using the AdminDeleteUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUser
func (*CognitoIdentityProvider) AdminDeleteUserWithContext ¶ added in v1.8.0
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) AdminDisableProviderForUser ¶ added in v1.10.24
func (c *CognitoIdentityProvider) AdminDisableProviderForUser(input *AdminDisableProviderForUserInput) (*AdminDisableProviderForUserOutput, error)
AdminDisableProviderForUser API operation for Amazon Cognito Identity Provider.
Disables the user from signing in with the specified external (SAML or social) identity provider. If the user to disable is a Cognito User Pools native username + password user, they are not permitted to use their password to sign-in. If the user to disable is a linked external IdP user, any link between that user and an existing user is removed. The next time the external user (no longer attached to the previously linked DestinationUser) signs in, they must create a new user account. See AdminLinkProviderForUser (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html).
This action is enabled only for admin access and requires developer credentials.
The ProviderName must match the value specified when creating an IdP for the pool.
To disable a native username + password user, the ProviderName value must be Cognito and the ProviderAttributeName must be Cognito_Subject, with the ProviderAttributeValue being the name that is used in the user pool for the user.
The ProviderAttributeName must always be Cognito_Subject for social identity providers. The ProviderAttributeValue must always be the exact subject that was used when the user was originally linked as a source user.
For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign-in, the ProviderAttributeName and ProviderAttributeValue must be the same values that were used for the SourceUser when the identities were originally linked using AdminLinkProviderForUser call. (If the linking was done with ProviderAttributeName set to Cognito_Subject, the same applies here). However, if the user has already signed in, the ProviderAttributeName must be Cognito_Subject and ProviderAttributeValue must be the subject of the SAML assertion.
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 AdminDisableProviderForUser for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
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.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUser
func (*CognitoIdentityProvider) AdminDisableProviderForUserRequest ¶ added in v1.10.24
func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *AdminDisableProviderForUserInput) (req *request.Request, output *AdminDisableProviderForUserOutput)
AdminDisableProviderForUserRequest generates a "aws/request.Request" representing the client's request for the AdminDisableProviderForUser operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminDisableProviderForUser for more information on using the AdminDisableProviderForUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AdminDisableProviderForUserRequest method. req, resp := client.AdminDisableProviderForUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUser
func (*CognitoIdentityProvider) AdminDisableProviderForUserWithContext ¶ added in v1.10.24
func (c *CognitoIdentityProvider) AdminDisableProviderForUserWithContext(ctx aws.Context, input *AdminDisableProviderForUserInput, opts ...request.Option) (*AdminDisableProviderForUserOutput, error)
AdminDisableProviderForUserWithContext is the same as AdminDisableProviderForUser with the addition of the ability to pass a context and additional request options.
See AdminDisableProviderForUser 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.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminDisableUser for more information on using the AdminDisableUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUser
func (*CognitoIdentityProvider) AdminDisableUserWithContext ¶ added in v1.8.0
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.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminEnableUser for more information on using the AdminEnableUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUser
func (*CognitoIdentityProvider) AdminEnableUserWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
func (c *CognitoIdentityProvider) AdminForgetDevice(input *AdminForgetDeviceInput) (*AdminForgetDeviceOutput, error)
AdminForgetDevice API operation for Amazon Cognito Identity Provider.
Forgets the device, as an administrator.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice
func (*CognitoIdentityProvider) AdminForgetDeviceRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminForgetDevice for more information on using the AdminForgetDevice API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice
func (*CognitoIdentityProvider) AdminForgetDeviceWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
func (c *CognitoIdentityProvider) AdminGetDevice(input *AdminGetDeviceInput) (*AdminGetDeviceOutput, error)
AdminGetDevice API operation for Amazon Cognito Identity Provider.
Gets the device, as an administrator.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
NotAuthorizedException This exception is thrown when a user is not authorized.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice
func (*CognitoIdentityProvider) AdminGetDeviceRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminGetDevice for more information on using the AdminGetDevice API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice
func (*CognitoIdentityProvider) AdminGetDeviceWithContext ¶ added in v1.8.0
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.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminGetUser for more information on using the AdminGetUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUser
func (*CognitoIdentityProvider) AdminGetUserWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
func (c *CognitoIdentityProvider) AdminInitiateAuth(input *AdminInitiateAuthInput) (*AdminInitiateAuthOutput, error)
AdminInitiateAuth API operation for Amazon Cognito Identity Provider.
Initiates the authentication flow, as an administrator.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
MFAMethodNotFoundException This exception is thrown when Amazon Cognito cannot find a multi-factor authentication (MFA) method.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth
func (*CognitoIdentityProvider) AdminInitiateAuthRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminInitiateAuth for more information on using the AdminInitiateAuth API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth
func (*CognitoIdentityProvider) AdminInitiateAuthWithContext ¶ added in v1.8.0
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) AdminLinkProviderForUser ¶ added in v1.10.24
func (c *CognitoIdentityProvider) AdminLinkProviderForUser(input *AdminLinkProviderForUserInput) (*AdminLinkProviderForUserOutput, error)
AdminLinkProviderForUser API operation for Amazon Cognito Identity Provider.
Links an existing user account in a user pool (DestinationUser) to an identity from an external identity provider (SourceUser) based on a specified attribute name and value from the external identity provider. This allows you to create a link from the existing user account to an external federated user identity that has not yet been used to sign in, so that the federated user identity can be used to sign in as the existing user account.
For example, if there is an existing user with a username and password, this API links that user to a federated user identity, so that when the federated user identity is used, the user signs in as the existing user account.
The maximum number of federated identities linked to a user is 5.
Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external identity providers and provider attributes that have been trusted by the application owner.
This action is enabled only for admin access and 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 AdminLinkProviderForUser for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
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.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUser
func (*CognitoIdentityProvider) AdminLinkProviderForUserRequest ¶ added in v1.10.24
func (c *CognitoIdentityProvider) AdminLinkProviderForUserRequest(input *AdminLinkProviderForUserInput) (req *request.Request, output *AdminLinkProviderForUserOutput)
AdminLinkProviderForUserRequest generates a "aws/request.Request" representing the client's request for the AdminLinkProviderForUser operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminLinkProviderForUser for more information on using the AdminLinkProviderForUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AdminLinkProviderForUserRequest method. req, resp := client.AdminLinkProviderForUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUser
func (*CognitoIdentityProvider) AdminLinkProviderForUserWithContext ¶ added in v1.10.24
func (c *CognitoIdentityProvider) AdminLinkProviderForUserWithContext(ctx aws.Context, input *AdminLinkProviderForUserInput, opts ...request.Option) (*AdminLinkProviderForUserOutput, error)
AdminLinkProviderForUserWithContext is the same as AdminLinkProviderForUser with the addition of the ability to pass a context and additional request options.
See AdminLinkProviderForUser 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 ¶ added in v1.2.10
func (c *CognitoIdentityProvider) AdminListDevices(input *AdminListDevicesInput) (*AdminListDevicesOutput, error)
AdminListDevices API operation for Amazon Cognito Identity Provider.
Lists devices, as an administrator.
Calling this action 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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
NotAuthorizedException This exception is thrown when a user is not authorized.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices
func (*CognitoIdentityProvider) AdminListDevicesRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminListDevices for more information on using the AdminListDevices API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices
func (*CognitoIdentityProvider) AdminListDevicesWithContext ¶ added in v1.8.0
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 ¶ added in v1.6.4
func (c *CognitoIdentityProvider) AdminListGroupsForUser(input *AdminListGroupsForUserInput) (*AdminListGroupsForUserOutput, error)
AdminListGroupsForUser API operation for Amazon Cognito Identity Provider.
Lists the groups that the user belongs to.
Calling this action 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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser
func (*CognitoIdentityProvider) AdminListGroupsForUserPages ¶ added in v1.19.12
func (c *CognitoIdentityProvider) AdminListGroupsForUserPages(input *AdminListGroupsForUserInput, fn func(*AdminListGroupsForUserOutput, bool) bool) error
AdminListGroupsForUserPages iterates over the pages of a AdminListGroupsForUser operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See AdminListGroupsForUser method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a AdminListGroupsForUser operation. pageNum := 0 err := client.AdminListGroupsForUserPages(params, func(page *cognitoidentityprovider.AdminListGroupsForUserOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CognitoIdentityProvider) AdminListGroupsForUserPagesWithContext ¶ added in v1.19.12
func (c *CognitoIdentityProvider) AdminListGroupsForUserPagesWithContext(ctx aws.Context, input *AdminListGroupsForUserInput, fn func(*AdminListGroupsForUserOutput, bool) bool, opts ...request.Option) error
AdminListGroupsForUserPagesWithContext same as AdminListGroupsForUserPages except it takes a Context and allows setting request options on the pages.
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) AdminListGroupsForUserRequest ¶ added in v1.6.4
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminListGroupsForUser for more information on using the AdminListGroupsForUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser
func (*CognitoIdentityProvider) AdminListGroupsForUserWithContext ¶ added in v1.8.0
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) AdminListUserAuthEvents ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AdminListUserAuthEvents(input *AdminListUserAuthEventsInput) (*AdminListUserAuthEventsOutput, error)
AdminListUserAuthEvents API operation for Amazon Cognito Identity Provider.
Lists a history of user activity and any risks detected as part of Amazon Cognito advanced security.
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 AdminListUserAuthEvents for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
UserPoolAddOnNotEnabledException This exception is thrown when user pool add-ons are not enabled.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEvents
func (*CognitoIdentityProvider) AdminListUserAuthEventsPages ¶ added in v1.19.12
func (c *CognitoIdentityProvider) AdminListUserAuthEventsPages(input *AdminListUserAuthEventsInput, fn func(*AdminListUserAuthEventsOutput, bool) bool) error
AdminListUserAuthEventsPages iterates over the pages of a AdminListUserAuthEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See AdminListUserAuthEvents method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a AdminListUserAuthEvents operation. pageNum := 0 err := client.AdminListUserAuthEventsPages(params, func(page *cognitoidentityprovider.AdminListUserAuthEventsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CognitoIdentityProvider) AdminListUserAuthEventsPagesWithContext ¶ added in v1.19.12
func (c *CognitoIdentityProvider) AdminListUserAuthEventsPagesWithContext(ctx aws.Context, input *AdminListUserAuthEventsInput, fn func(*AdminListUserAuthEventsOutput, bool) bool, opts ...request.Option) error
AdminListUserAuthEventsPagesWithContext same as AdminListUserAuthEventsPages except it takes a Context and allows setting request options on the pages.
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) AdminListUserAuthEventsRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AdminListUserAuthEventsRequest(input *AdminListUserAuthEventsInput) (req *request.Request, output *AdminListUserAuthEventsOutput)
AdminListUserAuthEventsRequest generates a "aws/request.Request" representing the client's request for the AdminListUserAuthEvents operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminListUserAuthEvents for more information on using the AdminListUserAuthEvents API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AdminListUserAuthEventsRequest method. req, resp := client.AdminListUserAuthEventsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEvents
func (*CognitoIdentityProvider) AdminListUserAuthEventsWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AdminListUserAuthEventsWithContext(ctx aws.Context, input *AdminListUserAuthEventsInput, opts ...request.Option) (*AdminListUserAuthEventsOutput, error)
AdminListUserAuthEventsWithContext is the same as AdminListUserAuthEvents with the addition of the ability to pass a context and additional request options.
See AdminListUserAuthEvents 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 ¶ added in v1.6.4
func (c *CognitoIdentityProvider) AdminRemoveUserFromGroup(input *AdminRemoveUserFromGroupInput) (*AdminRemoveUserFromGroupOutput, error)
AdminRemoveUserFromGroup API operation for Amazon Cognito Identity Provider.
Removes the specified user from the specified group.
Calling this action 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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup
func (*CognitoIdentityProvider) AdminRemoveUserFromGroupRequest ¶ added in v1.6.4
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminRemoveUserFromGroup for more information on using the AdminRemoveUserFromGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup
func (*CognitoIdentityProvider) AdminRemoveUserFromGroupWithContext ¶ added in v1.8.0
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.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
NotAuthorizedException This exception is thrown when a user is not authorized.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
UserNotFoundException This exception is thrown when a user is not found.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
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.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminResetUserPassword for more information on using the AdminResetUserPassword API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPassword
func (*CognitoIdentityProvider) AdminResetUserPasswordWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
func (c *CognitoIdentityProvider) AdminRespondToAuthChallenge(input *AdminRespondToAuthChallengeInput) (*AdminRespondToAuthChallengeOutput, error)
AdminRespondToAuthChallenge API operation for Amazon Cognito Identity Provider.
Responds to an authentication challenge, as an administrator.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
CodeMismatchException This exception is thrown if the provided code does not match what the server was expecting.
ExpiredCodeException This exception is thrown if a code has expired.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
InvalidPasswordException This exception is thrown when the Amazon Cognito service encounters an invalid password.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
MFAMethodNotFoundException This exception is thrown when Amazon Cognito cannot find a multi-factor authentication (MFA) method.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
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.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
SoftwareTokenMFANotFoundException This exception is thrown when the software token TOTP multi-factor authentication (MFA) is not enabled for the user pool.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge
func (*CognitoIdentityProvider) AdminRespondToAuthChallengeRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminRespondToAuthChallenge for more information on using the AdminRespondToAuthChallenge API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge
func (*CognitoIdentityProvider) AdminRespondToAuthChallengeWithContext ¶ added in v1.8.0
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) AdminSetUserMFAPreference ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AdminSetUserMFAPreference(input *AdminSetUserMFAPreferenceInput) (*AdminSetUserMFAPreferenceOutput, error)
AdminSetUserMFAPreference API operation for Amazon Cognito Identity Provider.
Sets the user's multi-factor authentication (MFA) preference, including which MFA options are enabled and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are enabled. If multiple options are enabled and no preference is set, a challenge to choose an MFA option will be returned during sign in.
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 AdminSetUserMFAPreference for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreference
func (*CognitoIdentityProvider) AdminSetUserMFAPreferenceRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AdminSetUserMFAPreferenceRequest(input *AdminSetUserMFAPreferenceInput) (req *request.Request, output *AdminSetUserMFAPreferenceOutput)
AdminSetUserMFAPreferenceRequest generates a "aws/request.Request" representing the client's request for the AdminSetUserMFAPreference operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminSetUserMFAPreference for more information on using the AdminSetUserMFAPreference API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AdminSetUserMFAPreferenceRequest method. req, resp := client.AdminSetUserMFAPreferenceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreference
func (*CognitoIdentityProvider) AdminSetUserMFAPreferenceWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AdminSetUserMFAPreferenceWithContext(ctx aws.Context, input *AdminSetUserMFAPreferenceInput, opts ...request.Option) (*AdminSetUserMFAPreferenceOutput, error)
AdminSetUserMFAPreferenceWithContext is the same as AdminSetUserMFAPreference with the addition of the ability to pass a context and additional request options.
See AdminSetUserMFAPreference 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) AdminSetUserPassword ¶ added in v1.19.24
func (c *CognitoIdentityProvider) AdminSetUserPassword(input *AdminSetUserPasswordInput) (*AdminSetUserPasswordOutput, error)
AdminSetUserPassword API operation for Amazon Cognito Identity Provider.
Sets the specified user's password in a user pool as an administrator. Works on any user.
The password can be temporary or permanent. If it is temporary, the user status will be placed into the FORCE_CHANGE_PASSWORD state. When the user next tries to sign in, the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED challenge. If the user does not sign in before it expires, the user will not be able to sign in and their password will need to be reset by an administrator.
Once the user has set a new password, or the password is permanent, the user status will be set to Confirmed.
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 AdminSetUserPassword for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
InvalidPasswordException This exception is thrown when the Amazon Cognito service encounters an invalid password.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserPassword
func (*CognitoIdentityProvider) AdminSetUserPasswordRequest ¶ added in v1.19.24
func (c *CognitoIdentityProvider) AdminSetUserPasswordRequest(input *AdminSetUserPasswordInput) (req *request.Request, output *AdminSetUserPasswordOutput)
AdminSetUserPasswordRequest generates a "aws/request.Request" representing the client's request for the AdminSetUserPassword operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminSetUserPassword for more information on using the AdminSetUserPassword API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AdminSetUserPasswordRequest method. req, resp := client.AdminSetUserPasswordRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserPassword
func (*CognitoIdentityProvider) AdminSetUserPasswordWithContext ¶ added in v1.19.24
func (c *CognitoIdentityProvider) AdminSetUserPasswordWithContext(ctx aws.Context, input *AdminSetUserPasswordInput, opts ...request.Option) (*AdminSetUserPasswordOutput, error)
AdminSetUserPasswordWithContext is the same as AdminSetUserPassword with the addition of the ability to pass a context and additional request options.
See AdminSetUserPassword 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.
This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use AdminSetUserMFAPreference (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserMFAPreference.html) instead.
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminSetUserSettings for more information on using the AdminSetUserSettings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettings
func (*CognitoIdentityProvider) AdminSetUserSettingsWithContext ¶ added in v1.8.0
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) AdminUpdateAuthEventFeedback ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedback(input *AdminUpdateAuthEventFeedbackInput) (*AdminUpdateAuthEventFeedbackOutput, error)
AdminUpdateAuthEventFeedback API operation for Amazon Cognito Identity Provider.
Provides feedback for an authentication event as to whether it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.
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 AdminUpdateAuthEventFeedback for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
UserPoolAddOnNotEnabledException This exception is thrown when user pool add-ons are not enabled.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateAuthEventFeedback
func (*CognitoIdentityProvider) AdminUpdateAuthEventFeedbackRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedbackRequest(input *AdminUpdateAuthEventFeedbackInput) (req *request.Request, output *AdminUpdateAuthEventFeedbackOutput)
AdminUpdateAuthEventFeedbackRequest generates a "aws/request.Request" representing the client's request for the AdminUpdateAuthEventFeedback operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminUpdateAuthEventFeedback for more information on using the AdminUpdateAuthEventFeedback API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AdminUpdateAuthEventFeedbackRequest method. req, resp := client.AdminUpdateAuthEventFeedbackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateAuthEventFeedback
func (*CognitoIdentityProvider) AdminUpdateAuthEventFeedbackWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedbackWithContext(ctx aws.Context, input *AdminUpdateAuthEventFeedbackInput, opts ...request.Option) (*AdminUpdateAuthEventFeedbackOutput, error)
AdminUpdateAuthEventFeedbackWithContext is the same as AdminUpdateAuthEventFeedback with the addition of the ability to pass a context and additional request options.
See AdminUpdateAuthEventFeedback 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 ¶ added in v1.2.10
func (c *CognitoIdentityProvider) AdminUpdateDeviceStatus(input *AdminUpdateDeviceStatusInput) (*AdminUpdateDeviceStatusOutput, error)
AdminUpdateDeviceStatus API operation for Amazon Cognito Identity Provider.
Updates the device status as an administrator.
Calling this action 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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus
func (*CognitoIdentityProvider) AdminUpdateDeviceStatusRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminUpdateDeviceStatus for more information on using the AdminUpdateDeviceStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus
func (*CognitoIdentityProvider) AdminUpdateDeviceStatusWithContext ¶ added in v1.8.0
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.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
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.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
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.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminUpdateUserAttributes for more information on using the AdminUpdateUserAttributes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributes
func (*CognitoIdentityProvider) AdminUpdateUserAttributesWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
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. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they are issued.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut
func (*CognitoIdentityProvider) AdminUserGlobalSignOutRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdminUserGlobalSignOut for more information on using the AdminUserGlobalSignOut API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut
func (*CognitoIdentityProvider) AdminUserGlobalSignOutWithContext ¶ added in v1.8.0
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) AssociateSoftwareToken ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AssociateSoftwareToken(input *AssociateSoftwareTokenInput) (*AssociateSoftwareTokenOutput, error)
AssociateSoftwareToken API operation for Amazon Cognito Identity Provider.
Returns a unique generated shared secret key code for the user account. The request takes an access token or a session string, but not both.
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 AssociateSoftwareToken for usage and error information.
Returned Error Types:
ConcurrentModificationException This exception is thrown if two or more modifications are happening concurrently.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
SoftwareTokenMFANotFoundException This exception is thrown when the software token TOTP multi-factor authentication (MFA) is not enabled for the user pool.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareToken
func (*CognitoIdentityProvider) AssociateSoftwareTokenRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AssociateSoftwareTokenRequest(input *AssociateSoftwareTokenInput) (req *request.Request, output *AssociateSoftwareTokenOutput)
AssociateSoftwareTokenRequest generates a "aws/request.Request" representing the client's request for the AssociateSoftwareToken operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssociateSoftwareToken for more information on using the AssociateSoftwareToken API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssociateSoftwareTokenRequest method. req, resp := client.AssociateSoftwareTokenRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareToken
func (*CognitoIdentityProvider) AssociateSoftwareTokenWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) AssociateSoftwareTokenWithContext(ctx aws.Context, input *AssociateSoftwareTokenInput, opts ...request.Option) (*AssociateSoftwareTokenOutput, error)
AssociateSoftwareTokenWithContext is the same as AssociateSoftwareToken with the addition of the ability to pass a context and additional request options.
See AssociateSoftwareToken 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
InvalidPasswordException This exception is thrown when the Amazon Cognito service encounters an invalid password.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ChangePassword for more information on using the ChangePassword API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePassword
func (*CognitoIdentityProvider) ChangePasswordWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
InvalidPasswordException This exception is thrown when the Amazon Cognito service encounters an invalid password.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
UsernameExistsException This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice
func (*CognitoIdentityProvider) ConfirmDeviceRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ConfirmDevice for more information on using the ConfirmDevice API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice
func (*CognitoIdentityProvider) ConfirmDeviceWithContext ¶ added in v1.8.0
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
InvalidPasswordException This exception is thrown when the Amazon Cognito service encounters an invalid password.
NotAuthorizedException This exception is thrown when a user is not authorized.
CodeMismatchException This exception is thrown if the provided code does not match what the server was expecting.
ExpiredCodeException This exception is thrown if a code has expired.
TooManyFailedAttemptsException This exception is thrown when the user has made too many failed attempts for a given action (e.g., sign in).
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ConfirmForgotPassword for more information on using the ConfirmForgotPassword API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPassword
func (*CognitoIdentityProvider) ConfirmForgotPasswordWithContext ¶ added in v1.8.0
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyFailedAttemptsException This exception is thrown when the user has made too many failed attempts for a given action (e.g., sign in).
CodeMismatchException This exception is thrown if the provided code does not match what the server was expecting.
ExpiredCodeException This exception is thrown if a code has expired.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
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.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ConfirmSignUp for more information on using the ConfirmSignUp API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUp
func (*CognitoIdentityProvider) ConfirmSignUpWithContext ¶ added in v1.8.0
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 ¶ added in v1.6.4
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.
Calling this action 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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
GroupExistsException This exception is thrown when Amazon Cognito encounters a group that already exists in the user pool.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup
func (*CognitoIdentityProvider) CreateGroupRequest ¶ added in v1.6.4
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateGroup for more information on using the CreateGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup
func (*CognitoIdentityProvider) CreateGroupWithContext ¶ added in v1.8.0
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 ¶ added in v1.8.33
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
DuplicateProviderException This exception is thrown when the provider is already supported by the user pool.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider
func (*CognitoIdentityProvider) CreateIdentityProviderRequest ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateIdentityProvider for more information on using the CreateIdentityProvider API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider
func (*CognitoIdentityProvider) CreateIdentityProviderWithContext ¶ added in v1.8.33
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) CreateResourceServer ¶ added in v1.10.24
func (c *CognitoIdentityProvider) CreateResourceServer(input *CreateResourceServerInput) (*CreateResourceServerOutput, error)
CreateResourceServer API operation for Amazon Cognito Identity Provider.
Creates a new OAuth2.0 resource server and defines custom scopes in it.
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 CreateResourceServer for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServer
func (*CognitoIdentityProvider) CreateResourceServerRequest ¶ added in v1.10.24
func (c *CognitoIdentityProvider) CreateResourceServerRequest(input *CreateResourceServerInput) (req *request.Request, output *CreateResourceServerOutput)
CreateResourceServerRequest generates a "aws/request.Request" representing the client's request for the CreateResourceServer operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateResourceServer for more information on using the CreateResourceServer API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateResourceServerRequest method. req, resp := client.CreateResourceServerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServer
func (*CognitoIdentityProvider) CreateResourceServerWithContext ¶ added in v1.10.24
func (c *CognitoIdentityProvider) CreateResourceServerWithContext(ctx aws.Context, input *CreateResourceServerInput, opts ...request.Option) (*CreateResourceServerOutput, error)
CreateResourceServerWithContext is the same as CreateResourceServer with the addition of the ability to pass a context and additional request options.
See CreateResourceServer 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 ¶ added in v1.4.6
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PreconditionNotMetException This exception is thrown when a precondition is not met.
NotAuthorizedException This exception is thrown when a user is not authorized.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob
func (*CognitoIdentityProvider) CreateUserImportJobRequest ¶ added in v1.4.6
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateUserImportJob for more information on using the CreateUserImportJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob
func (*CognitoIdentityProvider) CreateUserImportJobWithContext ¶ added in v1.8.0
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserPoolTaggingException This exception is thrown when a user pool tag cannot be set or updated.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
ScopeDoesNotExistException This exception is thrown when the specified scope does not exist.
InvalidOAuthFlowException This exception is thrown when the specified OAuth flow is invalid.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateUserPoolClient for more information on using the CreateUserPoolClient API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient
func (*CognitoIdentityProvider) CreateUserPoolClientWithContext ¶ added in v1.8.0
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 ¶ added in v1.8.33
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain
func (*CognitoIdentityProvider) CreateUserPoolDomainRequest ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateUserPoolDomain for more information on using the CreateUserPoolDomain API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain
func (*CognitoIdentityProvider) CreateUserPoolDomainWithContext ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateUserPool for more information on using the CreateUserPool API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool
func (*CognitoIdentityProvider) CreateUserPoolWithContext ¶ added in v1.8.0
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 ¶ added in v1.6.4
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.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup
func (*CognitoIdentityProvider) DeleteGroupRequest ¶ added in v1.6.4
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteGroup for more information on using the DeleteGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup
func (*CognitoIdentityProvider) DeleteGroupWithContext ¶ added in v1.8.0
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 ¶ added in v1.8.33
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UnsupportedIdentityProviderException This exception is thrown when the specified identifier is not supported.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider
func (*CognitoIdentityProvider) DeleteIdentityProviderRequest ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteIdentityProvider for more information on using the DeleteIdentityProvider API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider
func (*CognitoIdentityProvider) DeleteIdentityProviderWithContext ¶ added in v1.8.33
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) DeleteResourceServer ¶ added in v1.10.24
func (c *CognitoIdentityProvider) DeleteResourceServer(input *DeleteResourceServerInput) (*DeleteResourceServerOutput, error)
DeleteResourceServer API operation for Amazon Cognito Identity Provider.
Deletes a resource server.
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 DeleteResourceServer for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServer
func (*CognitoIdentityProvider) DeleteResourceServerRequest ¶ added in v1.10.24
func (c *CognitoIdentityProvider) DeleteResourceServerRequest(input *DeleteResourceServerInput) (req *request.Request, output *DeleteResourceServerOutput)
DeleteResourceServerRequest generates a "aws/request.Request" representing the client's request for the DeleteResourceServer operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteResourceServer for more information on using the DeleteResourceServer API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteResourceServerRequest method. req, resp := client.DeleteResourceServerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServer
func (*CognitoIdentityProvider) DeleteResourceServerWithContext ¶ added in v1.10.24
func (c *CognitoIdentityProvider) DeleteResourceServerWithContext(ctx aws.Context, input *DeleteResourceServerInput, opts ...request.Option) (*DeleteResourceServerOutput, error)
DeleteResourceServerWithContext is the same as DeleteResourceServer with the addition of the ability to pass a context and additional request options.
See DeleteResourceServer 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 himself or herself.
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteUserAttributes for more information on using the DeleteUserAttributes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributes
func (*CognitoIdentityProvider) DeleteUserAttributesWithContext ¶ added in v1.8.0
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
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.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteUserPoolClient for more information on using the DeleteUserPoolClient API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClient
func (*CognitoIdentityProvider) DeleteUserPoolClientWithContext ¶ added in v1.8.0
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 ¶ added in v1.8.33
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 Types:
NotAuthorizedException This exception is thrown when a user is not authorized.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain
func (*CognitoIdentityProvider) DeleteUserPoolDomainRequest ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteUserPoolDomain for more information on using the DeleteUserPoolDomain API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain
func (*CognitoIdentityProvider) DeleteUserPoolDomainWithContext ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteUserPool for more information on using the DeleteUserPool API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPool
func (*CognitoIdentityProvider) DeleteUserPoolWithContext ¶ added in v1.8.0
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteUser for more information on using the DeleteUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUser
func (*CognitoIdentityProvider) DeleteUserWithContext ¶ added in v1.8.0
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 ¶ added in v1.8.33
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider
func (*CognitoIdentityProvider) DescribeIdentityProviderRequest ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeIdentityProvider for more information on using the DescribeIdentityProvider API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider
func (*CognitoIdentityProvider) DescribeIdentityProviderWithContext ¶ added in v1.8.33
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) DescribeResourceServer ¶ added in v1.10.24
func (c *CognitoIdentityProvider) DescribeResourceServer(input *DescribeResourceServerInput) (*DescribeResourceServerOutput, error)
DescribeResourceServer API operation for Amazon Cognito Identity Provider.
Describes a resource server.
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 DescribeResourceServer for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServer
func (*CognitoIdentityProvider) DescribeResourceServerRequest ¶ added in v1.10.24
func (c *CognitoIdentityProvider) DescribeResourceServerRequest(input *DescribeResourceServerInput) (req *request.Request, output *DescribeResourceServerOutput)
DescribeResourceServerRequest generates a "aws/request.Request" representing the client's request for the DescribeResourceServer operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeResourceServer for more information on using the DescribeResourceServer API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeResourceServerRequest method. req, resp := client.DescribeResourceServerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServer
func (*CognitoIdentityProvider) DescribeResourceServerWithContext ¶ added in v1.10.24
func (c *CognitoIdentityProvider) DescribeResourceServerWithContext(ctx aws.Context, input *DescribeResourceServerInput, opts ...request.Option) (*DescribeResourceServerOutput, error)
DescribeResourceServerWithContext is the same as DescribeResourceServer with the addition of the ability to pass a context and additional request options.
See DescribeResourceServer 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) DescribeRiskConfiguration ¶ added in v1.12.35
func (c *CognitoIdentityProvider) DescribeRiskConfiguration(input *DescribeRiskConfigurationInput) (*DescribeRiskConfigurationOutput, error)
DescribeRiskConfiguration API operation for Amazon Cognito Identity Provider.
Describes the risk configuration.
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 DescribeRiskConfiguration for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserPoolAddOnNotEnabledException This exception is thrown when user pool add-ons are not enabled.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfiguration
func (*CognitoIdentityProvider) DescribeRiskConfigurationRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) DescribeRiskConfigurationRequest(input *DescribeRiskConfigurationInput) (req *request.Request, output *DescribeRiskConfigurationOutput)
DescribeRiskConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeRiskConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeRiskConfiguration for more information on using the DescribeRiskConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeRiskConfigurationRequest method. req, resp := client.DescribeRiskConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfiguration
func (*CognitoIdentityProvider) DescribeRiskConfigurationWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) DescribeRiskConfigurationWithContext(ctx aws.Context, input *DescribeRiskConfigurationInput, opts ...request.Option) (*DescribeRiskConfigurationOutput, error)
DescribeRiskConfigurationWithContext is the same as DescribeRiskConfiguration with the addition of the ability to pass a context and additional request options.
See DescribeRiskConfiguration 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 ¶ added in v1.4.6
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob
func (*CognitoIdentityProvider) DescribeUserImportJobRequest ¶ added in v1.4.6
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeUserImportJob for more information on using the DescribeUserImportJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob
func (*CognitoIdentityProvider) DescribeUserImportJobWithContext ¶ added in v1.8.0
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserPoolTaggingException This exception is thrown when a user pool tag cannot be set or updated.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 app 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeUserPoolClient for more information on using the DescribeUserPoolClient API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient
func (*CognitoIdentityProvider) DescribeUserPoolClientWithContext ¶ added in v1.8.0
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 ¶ added in v1.8.33
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 Types:
NotAuthorizedException This exception is thrown when a user is not authorized.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain
func (*CognitoIdentityProvider) DescribeUserPoolDomainRequest ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeUserPoolDomain for more information on using the DescribeUserPoolDomain API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain
func (*CognitoIdentityProvider) DescribeUserPoolDomainWithContext ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeUserPool for more information on using the DescribeUserPool API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool
func (*CognitoIdentityProvider) DescribeUserPoolWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice
func (*CognitoIdentityProvider) ForgetDeviceRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ForgetDevice for more information on using the ForgetDevice API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice
func (*CognitoIdentityProvider) ForgetDeviceWithContext ¶ added in v1.8.0
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. The method used to send the confirmation code is sent according to the specified AccountRecoverySetting. For more information, see Recovering User Accounts (https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html) in the Amazon Cognito Developer Guide. If neither a verified phone number nor a verified email exists, an InvalidParameterException is thrown. To use the confirmation code for resetting the password, call ConfirmForgotPassword (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
NotAuthorizedException This exception is thrown when a user is not authorized.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
CodeDeliveryFailureException This exception is thrown when a verification code fails to deliver successfully.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ForgotPassword for more information on using the ForgotPassword API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPassword
func (*CognitoIdentityProvider) ForgotPasswordWithContext ¶ added in v1.8.0
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 ¶ added in v1.4.6
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader
func (*CognitoIdentityProvider) GetCSVHeaderRequest ¶ added in v1.4.6
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetCSVHeader for more information on using the GetCSVHeader API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader
func (*CognitoIdentityProvider) GetCSVHeaderWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice
func (*CognitoIdentityProvider) GetDeviceRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetDevice for more information on using the GetDevice API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice
func (*CognitoIdentityProvider) GetDeviceWithContext ¶ added in v1.8.0
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 ¶ added in v1.6.4
func (c *CognitoIdentityProvider) GetGroup(input *GetGroupInput) (*GetGroupOutput, error)
GetGroup API operation for Amazon Cognito Identity Provider.
Gets a group.
Calling this action 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup
func (*CognitoIdentityProvider) GetGroupRequest ¶ added in v1.6.4
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetGroup for more information on using the GetGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup
func (*CognitoIdentityProvider) GetGroupWithContext ¶ added in v1.8.0
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 ¶ added in v1.8.33
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier
func (*CognitoIdentityProvider) GetIdentityProviderByIdentifierRequest ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetIdentityProviderByIdentifier for more information on using the GetIdentityProviderByIdentifier API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier
func (*CognitoIdentityProvider) GetIdentityProviderByIdentifierWithContext ¶ added in v1.8.33
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) GetSigningCertificate ¶ added in v1.12.75
func (c *CognitoIdentityProvider) GetSigningCertificate(input *GetSigningCertificateInput) (*GetSigningCertificateOutput, error)
GetSigningCertificate API operation for Amazon Cognito Identity Provider.
This method takes a user pool ID, and returns the signing certificate.
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 GetSigningCertificate for usage and error information.
Returned Error Types:
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetSigningCertificate
func (*CognitoIdentityProvider) GetSigningCertificateRequest ¶ added in v1.12.75
func (c *CognitoIdentityProvider) GetSigningCertificateRequest(input *GetSigningCertificateInput) (req *request.Request, output *GetSigningCertificateOutput)
GetSigningCertificateRequest generates a "aws/request.Request" representing the client's request for the GetSigningCertificate operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetSigningCertificate for more information on using the GetSigningCertificate API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetSigningCertificateRequest method. req, resp := client.GetSigningCertificateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetSigningCertificate
func (*CognitoIdentityProvider) GetSigningCertificateWithContext ¶ added in v1.12.75
func (c *CognitoIdentityProvider) GetSigningCertificateWithContext(ctx aws.Context, input *GetSigningCertificateInput, opts ...request.Option) (*GetSigningCertificateOutput, error)
GetSigningCertificateWithContext is the same as GetSigningCertificate with the addition of the ability to pass a context and additional request options.
See GetSigningCertificate 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) GetUICustomization ¶ added in v1.10.24
func (c *CognitoIdentityProvider) GetUICustomization(input *GetUICustomizationInput) (*GetUICustomizationOutput, error)
GetUICustomization API operation for Amazon Cognito Identity Provider.
Gets the UI Customization information for a particular app client's app UI, if there is something set. If nothing is set for the particular client, but there is an existing pool level customization (app clientId will be ALL), then that is returned. If nothing is present, then an empty shape is returned.
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 GetUICustomization for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomization
func (*CognitoIdentityProvider) GetUICustomizationRequest ¶ added in v1.10.24
func (c *CognitoIdentityProvider) GetUICustomizationRequest(input *GetUICustomizationInput) (req *request.Request, output *GetUICustomizationOutput)
GetUICustomizationRequest generates a "aws/request.Request" representing the client's request for the GetUICustomization operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetUICustomization for more information on using the GetUICustomization API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetUICustomizationRequest method. req, resp := client.GetUICustomizationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomization
func (*CognitoIdentityProvider) GetUICustomizationWithContext ¶ added in v1.10.24
func (c *CognitoIdentityProvider) GetUICustomizationWithContext(ctx aws.Context, input *GetUICustomizationInput, opts ...request.Option) (*GetUICustomizationOutput, error)
GetUICustomizationWithContext is the same as GetUICustomization with the addition of the ability to pass a context and additional request options.
See GetUICustomization 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
CodeDeliveryFailureException This exception is thrown when a verification code fails to deliver successfully.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetUserAttributeVerificationCode for more information on using the GetUserAttributeVerificationCode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCode
func (*CognitoIdentityProvider) GetUserAttributeVerificationCodeWithContext ¶ added in v1.8.0
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) GetUserPoolMfaConfig ¶ added in v1.12.35
func (c *CognitoIdentityProvider) GetUserPoolMfaConfig(input *GetUserPoolMfaConfigInput) (*GetUserPoolMfaConfigOutput, error)
GetUserPoolMfaConfig API operation for Amazon Cognito Identity Provider.
Gets the user pool multi-factor authentication (MFA) configuration.
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 GetUserPoolMfaConfig for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfig
func (*CognitoIdentityProvider) GetUserPoolMfaConfigRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) GetUserPoolMfaConfigRequest(input *GetUserPoolMfaConfigInput) (req *request.Request, output *GetUserPoolMfaConfigOutput)
GetUserPoolMfaConfigRequest generates a "aws/request.Request" representing the client's request for the GetUserPoolMfaConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetUserPoolMfaConfig for more information on using the GetUserPoolMfaConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetUserPoolMfaConfigRequest method. req, resp := client.GetUserPoolMfaConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfig
func (*CognitoIdentityProvider) GetUserPoolMfaConfigWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) GetUserPoolMfaConfigWithContext(ctx aws.Context, input *GetUserPoolMfaConfigInput, opts ...request.Option) (*GetUserPoolMfaConfigOutput, error)
GetUserPoolMfaConfigWithContext is the same as GetUserPoolMfaConfig with the addition of the ability to pass a context and additional request options.
See GetUserPoolMfaConfig 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetUser for more information on using the GetUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUser
func (*CognitoIdentityProvider) GetUserWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
func (c *CognitoIdentityProvider) GlobalSignOut(input *GlobalSignOutInput) (*GlobalSignOutOutput, error)
GlobalSignOut API operation for Amazon Cognito Identity Provider.
Signs out users from all devices. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they are issued.
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut
func (*CognitoIdentityProvider) GlobalSignOutRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GlobalSignOut for more information on using the GlobalSignOut API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut
func (*CognitoIdentityProvider) GlobalSignOutWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth
func (*CognitoIdentityProvider) InitiateAuthRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See InitiateAuth for more information on using the InitiateAuth API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth
func (*CognitoIdentityProvider) InitiateAuthWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices
func (*CognitoIdentityProvider) ListDevicesRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListDevices for more information on using the ListDevices API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices
func (*CognitoIdentityProvider) ListDevicesWithContext ¶ added in v1.8.0
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 ¶ added in v1.6.4
func (c *CognitoIdentityProvider) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error)
ListGroups API operation for Amazon Cognito Identity Provider.
Lists the groups associated with a user pool.
Calling this action 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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups
func (*CognitoIdentityProvider) ListGroupsPages ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListGroupsPages(input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool) error
ListGroupsPages iterates over the pages of a ListGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListGroups method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListGroups operation. pageNum := 0 err := client.ListGroupsPages(params, func(page *cognitoidentityprovider.ListGroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CognitoIdentityProvider) ListGroupsPagesWithContext ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListGroupsPagesWithContext(ctx aws.Context, input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool, opts ...request.Option) error
ListGroupsPagesWithContext same as ListGroupsPages except it takes a Context and allows setting request options on the pages.
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) ListGroupsRequest ¶ added in v1.6.4
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListGroups for more information on using the ListGroups API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups
func (*CognitoIdentityProvider) ListGroupsWithContext ¶ added in v1.8.0
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 ¶ added in v1.8.33
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders
func (*CognitoIdentityProvider) ListIdentityProvidersPages ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListIdentityProvidersPages(input *ListIdentityProvidersInput, fn func(*ListIdentityProvidersOutput, bool) bool) error
ListIdentityProvidersPages iterates over the pages of a ListIdentityProviders operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListIdentityProviders method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListIdentityProviders operation. pageNum := 0 err := client.ListIdentityProvidersPages(params, func(page *cognitoidentityprovider.ListIdentityProvidersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CognitoIdentityProvider) ListIdentityProvidersPagesWithContext ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListIdentityProvidersPagesWithContext(ctx aws.Context, input *ListIdentityProvidersInput, fn func(*ListIdentityProvidersOutput, bool) bool, opts ...request.Option) error
ListIdentityProvidersPagesWithContext same as ListIdentityProvidersPages except it takes a Context and allows setting request options on the pages.
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) ListIdentityProvidersRequest ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListIdentityProviders for more information on using the ListIdentityProviders API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders
func (*CognitoIdentityProvider) ListIdentityProvidersWithContext ¶ added in v1.8.33
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) ListResourceServers ¶ added in v1.10.24
func (c *CognitoIdentityProvider) ListResourceServers(input *ListResourceServersInput) (*ListResourceServersOutput, error)
ListResourceServers API operation for Amazon Cognito Identity Provider.
Lists the resource servers 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 ListResourceServers for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServers
func (*CognitoIdentityProvider) ListResourceServersPages ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListResourceServersPages(input *ListResourceServersInput, fn func(*ListResourceServersOutput, bool) bool) error
ListResourceServersPages iterates over the pages of a ListResourceServers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListResourceServers method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResourceServers operation. pageNum := 0 err := client.ListResourceServersPages(params, func(page *cognitoidentityprovider.ListResourceServersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CognitoIdentityProvider) ListResourceServersPagesWithContext ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListResourceServersPagesWithContext(ctx aws.Context, input *ListResourceServersInput, fn func(*ListResourceServersOutput, bool) bool, opts ...request.Option) error
ListResourceServersPagesWithContext same as ListResourceServersPages except it takes a Context and allows setting request options on the pages.
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) ListResourceServersRequest ¶ added in v1.10.24
func (c *CognitoIdentityProvider) ListResourceServersRequest(input *ListResourceServersInput) (req *request.Request, output *ListResourceServersOutput)
ListResourceServersRequest generates a "aws/request.Request" representing the client's request for the ListResourceServers operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListResourceServers for more information on using the ListResourceServers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListResourceServersRequest method. req, resp := client.ListResourceServersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServers
func (*CognitoIdentityProvider) ListResourceServersWithContext ¶ added in v1.10.24
func (c *CognitoIdentityProvider) ListResourceServersWithContext(ctx aws.Context, input *ListResourceServersInput, opts ...request.Option) (*ListResourceServersOutput, error)
ListResourceServersWithContext is the same as ListResourceServers with the addition of the ability to pass a context and additional request options.
See ListResourceServers 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) ListTagsForResource ¶ added in v1.19.0
func (c *CognitoIdentityProvider) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Cognito Identity Provider.
Lists the tags that are assigned to an Amazon Cognito user pool.
A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
You can use this action up to 10 times per second, per 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 ListTagsForResource for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListTagsForResource
func (*CognitoIdentityProvider) ListTagsForResourceRequest ¶ added in v1.19.0
func (c *CognitoIdentityProvider) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListTagsForResource
func (*CognitoIdentityProvider) ListTagsForResourceWithContext ¶ added in v1.19.0
func (c *CognitoIdentityProvider) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource 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 ¶ added in v1.4.6
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs
func (*CognitoIdentityProvider) ListUserImportJobsRequest ¶ added in v1.4.6
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListUserImportJobs for more information on using the ListUserImportJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs
func (*CognitoIdentityProvider) ListUserImportJobsWithContext ¶ added in v1.8.0
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients
func (*CognitoIdentityProvider) ListUserPoolClientsPages ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListUserPoolClientsPages(input *ListUserPoolClientsInput, fn func(*ListUserPoolClientsOutput, bool) bool) error
ListUserPoolClientsPages iterates over the pages of a ListUserPoolClients operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListUserPoolClients method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListUserPoolClients operation. pageNum := 0 err := client.ListUserPoolClientsPages(params, func(page *cognitoidentityprovider.ListUserPoolClientsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CognitoIdentityProvider) ListUserPoolClientsPagesWithContext ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListUserPoolClientsPagesWithContext(ctx aws.Context, input *ListUserPoolClientsInput, fn func(*ListUserPoolClientsOutput, bool) bool, opts ...request.Option) error
ListUserPoolClientsPagesWithContext same as ListUserPoolClientsPages except it takes a Context and allows setting request options on the pages.
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) 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListUserPoolClients for more information on using the ListUserPoolClients API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients
func (*CognitoIdentityProvider) ListUserPoolClientsWithContext ¶ added in v1.8.0
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools
func (*CognitoIdentityProvider) ListUserPoolsPages ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListUserPoolsPages(input *ListUserPoolsInput, fn func(*ListUserPoolsOutput, bool) bool) error
ListUserPoolsPages iterates over the pages of a ListUserPools operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListUserPools method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListUserPools operation. pageNum := 0 err := client.ListUserPoolsPages(params, func(page *cognitoidentityprovider.ListUserPoolsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CognitoIdentityProvider) ListUserPoolsPagesWithContext ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListUserPoolsPagesWithContext(ctx aws.Context, input *ListUserPoolsInput, fn func(*ListUserPoolsOutput, bool) bool, opts ...request.Option) error
ListUserPoolsPagesWithContext same as ListUserPoolsPages except it takes a Context and allows setting request options on the pages.
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) 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListUserPools for more information on using the ListUserPools API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools
func (*CognitoIdentityProvider) ListUserPoolsWithContext ¶ added in v1.8.0
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers
func (*CognitoIdentityProvider) ListUsersInGroup ¶ added in v1.6.4
func (c *CognitoIdentityProvider) ListUsersInGroup(input *ListUsersInGroupInput) (*ListUsersInGroupOutput, error)
ListUsersInGroup API operation for Amazon Cognito Identity Provider.
Lists the users in the specified group.
Calling this action 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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup
func (*CognitoIdentityProvider) ListUsersInGroupPages ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListUsersInGroupPages(input *ListUsersInGroupInput, fn func(*ListUsersInGroupOutput, bool) bool) error
ListUsersInGroupPages iterates over the pages of a ListUsersInGroup operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListUsersInGroup method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListUsersInGroup operation. pageNum := 0 err := client.ListUsersInGroupPages(params, func(page *cognitoidentityprovider.ListUsersInGroupOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CognitoIdentityProvider) ListUsersInGroupPagesWithContext ¶ added in v1.19.12
func (c *CognitoIdentityProvider) ListUsersInGroupPagesWithContext(ctx aws.Context, input *ListUsersInGroupInput, fn func(*ListUsersInGroupOutput, bool) bool, opts ...request.Option) error
ListUsersInGroupPagesWithContext same as ListUsersInGroupPages except it takes a Context and allows setting request options on the pages.
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) ListUsersInGroupRequest ¶ added in v1.6.4
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListUsersInGroup for more information on using the ListUsersInGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup
func (*CognitoIdentityProvider) ListUsersInGroupWithContext ¶ added in v1.8.0
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) ListUsersPages ¶ added in v1.25.6
func (c *CognitoIdentityProvider) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error
ListUsersPages iterates over the pages of a ListUsers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListUsers method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListUsers operation. pageNum := 0 err := client.ListUsersPages(params, func(page *cognitoidentityprovider.ListUsersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CognitoIdentityProvider) ListUsersPagesWithContext ¶ added in v1.25.6
func (c *CognitoIdentityProvider) ListUsersPagesWithContext(ctx aws.Context, input *ListUsersInput, fn func(*ListUsersOutput, bool) bool, opts ...request.Option) error
ListUsersPagesWithContext same as ListUsersPages except it takes a Context and allows setting request options on the pages.
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListUsers for more information on using the ListUsers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers
func (*CognitoIdentityProvider) ListUsersWithContext ¶ added in v1.8.0
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
NotAuthorizedException This exception is thrown when a user is not authorized.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
CodeDeliveryFailureException This exception is thrown when a verification code fails to deliver successfully.
UserNotFoundException This exception is thrown when a user is not found.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ResendConfirmationCode for more information on using the ResendConfirmationCode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCode
func (*CognitoIdentityProvider) ResendConfirmationCodeWithContext ¶ added in v1.8.0
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 ¶ added in v1.2.10
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
CodeMismatchException This exception is thrown if the provided code does not match what the server was expecting.
ExpiredCodeException This exception is thrown if a code has expired.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
InvalidPasswordException This exception is thrown when the Amazon Cognito service encounters an invalid password.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
MFAMethodNotFoundException This exception is thrown when Amazon Cognito cannot find a multi-factor authentication (MFA) method.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
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.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
SoftwareTokenMFANotFoundException This exception is thrown when the software token TOTP multi-factor authentication (MFA) is not enabled for the user pool.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge
func (*CognitoIdentityProvider) RespondToAuthChallengeRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RespondToAuthChallenge for more information on using the RespondToAuthChallenge API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge
func (*CognitoIdentityProvider) RespondToAuthChallengeWithContext ¶ added in v1.8.0
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) SetRiskConfiguration ¶ added in v1.12.35
func (c *CognitoIdentityProvider) SetRiskConfiguration(input *SetRiskConfigurationInput) (*SetRiskConfigurationOutput, error)
SetRiskConfiguration API operation for Amazon Cognito Identity Provider.
Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types.
To enable Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns keyAdvancedSecurityMode.
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 SetRiskConfiguration for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserPoolAddOnNotEnabledException This exception is thrown when user pool add-ons are not enabled.
CodeDeliveryFailureException This exception is thrown when a verification code fails to deliver successfully.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfiguration
func (*CognitoIdentityProvider) SetRiskConfigurationRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) SetRiskConfigurationRequest(input *SetRiskConfigurationInput) (req *request.Request, output *SetRiskConfigurationOutput)
SetRiskConfigurationRequest generates a "aws/request.Request" representing the client's request for the SetRiskConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SetRiskConfiguration for more information on using the SetRiskConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SetRiskConfigurationRequest method. req, resp := client.SetRiskConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfiguration
func (*CognitoIdentityProvider) SetRiskConfigurationWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) SetRiskConfigurationWithContext(ctx aws.Context, input *SetRiskConfigurationInput, opts ...request.Option) (*SetRiskConfigurationOutput, error)
SetRiskConfigurationWithContext is the same as SetRiskConfiguration with the addition of the ability to pass a context and additional request options.
See SetRiskConfiguration 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) SetUICustomization ¶ added in v1.10.24
func (c *CognitoIdentityProvider) SetUICustomization(input *SetUICustomizationInput) (*SetUICustomizationOutput, error)
SetUICustomization API operation for Amazon Cognito Identity Provider.
Sets the UI customization information for a user pool's built-in app UI.
You can specify app UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId to ALL). If you specify ALL, the default configuration will be used for every client that has no UI customization set previously. If you specify UI customization settings for a particular client, it will no longer fall back to the ALL configuration.
To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error.
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 SetUICustomization for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomization
func (*CognitoIdentityProvider) SetUICustomizationRequest ¶ added in v1.10.24
func (c *CognitoIdentityProvider) SetUICustomizationRequest(input *SetUICustomizationInput) (req *request.Request, output *SetUICustomizationOutput)
SetUICustomizationRequest generates a "aws/request.Request" representing the client's request for the SetUICustomization operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SetUICustomization for more information on using the SetUICustomization API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SetUICustomizationRequest method. req, resp := client.SetUICustomizationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomization
func (*CognitoIdentityProvider) SetUICustomizationWithContext ¶ added in v1.10.24
func (c *CognitoIdentityProvider) SetUICustomizationWithContext(ctx aws.Context, input *SetUICustomizationInput, opts ...request.Option) (*SetUICustomizationOutput, error)
SetUICustomizationWithContext is the same as SetUICustomization with the addition of the ability to pass a context and additional request options.
See SetUICustomization 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) SetUserMFAPreference ¶ added in v1.12.35
func (c *CognitoIdentityProvider) SetUserMFAPreference(input *SetUserMFAPreferenceInput) (*SetUserMFAPreferenceOutput, error)
SetUserMFAPreference API operation for Amazon Cognito Identity Provider.
Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are enabled and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are enabled. If multiple options are enabled and no preference is set, a challenge to choose an MFA option will be returned during sign in. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted. If you would like MFA to be applied selectively based on the assessed risk level of sign in attempts, disable MFA for users and turn on Adaptive Authentication for 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 SetUserMFAPreference for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreference
func (*CognitoIdentityProvider) SetUserMFAPreferenceRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) SetUserMFAPreferenceRequest(input *SetUserMFAPreferenceInput) (req *request.Request, output *SetUserMFAPreferenceOutput)
SetUserMFAPreferenceRequest generates a "aws/request.Request" representing the client's request for the SetUserMFAPreference operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SetUserMFAPreference for more information on using the SetUserMFAPreference API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SetUserMFAPreferenceRequest method. req, resp := client.SetUserMFAPreferenceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreference
func (*CognitoIdentityProvider) SetUserMFAPreferenceWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) SetUserMFAPreferenceWithContext(ctx aws.Context, input *SetUserMFAPreferenceInput, opts ...request.Option) (*SetUserMFAPreferenceOutput, error)
SetUserMFAPreferenceWithContext is the same as SetUserMFAPreference with the addition of the ability to pass a context and additional request options.
See SetUserMFAPreference 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) SetUserPoolMfaConfig ¶ added in v1.12.35
func (c *CognitoIdentityProvider) SetUserPoolMfaConfig(input *SetUserPoolMfaConfigInput) (*SetUserPoolMfaConfigOutput, error)
SetUserPoolMfaConfig API operation for Amazon Cognito Identity Provider.
Set the user pool multi-factor authentication (MFA) configuration.
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 SetUserPoolMfaConfig for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfig
func (*CognitoIdentityProvider) SetUserPoolMfaConfigRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) SetUserPoolMfaConfigRequest(input *SetUserPoolMfaConfigInput) (req *request.Request, output *SetUserPoolMfaConfigOutput)
SetUserPoolMfaConfigRequest generates a "aws/request.Request" representing the client's request for the SetUserPoolMfaConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SetUserPoolMfaConfig for more information on using the SetUserPoolMfaConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the SetUserPoolMfaConfigRequest method. req, resp := client.SetUserPoolMfaConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfig
func (*CognitoIdentityProvider) SetUserPoolMfaConfigWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) SetUserPoolMfaConfigWithContext(ctx aws.Context, input *SetUserPoolMfaConfigInput, opts ...request.Option) (*SetUserPoolMfaConfigOutput, error)
SetUserPoolMfaConfigWithContext is the same as SetUserPoolMfaConfig with the addition of the ability to pass a context and additional request options.
See SetUserPoolMfaConfig 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.
This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use SetUserMFAPreference (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserMFAPreference.html) instead.
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SetUserSettings for more information on using the SetUserSettings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettings
func (*CognitoIdentityProvider) SetUserSettingsWithContext ¶ added in v1.8.0
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
NotAuthorizedException This exception is thrown when a user is not authorized.
InvalidPasswordException This exception is thrown when the Amazon Cognito service encounters an invalid password.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
UsernameExistsException This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
CodeDeliveryFailureException This exception is thrown when a verification code fails to deliver successfully.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See SignUp for more information on using the SignUp API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUp
func (*CognitoIdentityProvider) SignUpWithContext ¶ added in v1.8.0
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 ¶ added in v1.4.6
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
PreconditionNotMetException This exception is thrown when a precondition is not met.
NotAuthorizedException This exception is thrown when a user is not authorized.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob
func (*CognitoIdentityProvider) StartUserImportJobRequest ¶ added in v1.4.6
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StartUserImportJob for more information on using the StartUserImportJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob
func (*CognitoIdentityProvider) StartUserImportJobWithContext ¶ added in v1.8.0
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 ¶ added in v1.4.6
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
PreconditionNotMetException This exception is thrown when a precondition is not met.
NotAuthorizedException This exception is thrown when a user is not authorized.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob
func (*CognitoIdentityProvider) StopUserImportJobRequest ¶ added in v1.4.6
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StopUserImportJob for more information on using the StopUserImportJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob
func (*CognitoIdentityProvider) StopUserImportJobWithContext ¶ added in v1.8.0
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) TagResource ¶ added in v1.19.0
func (c *CognitoIdentityProvider) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Cognito Identity Provider.
Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, one for testing and another for production, you might assign an Environment tag key to both user pools. The value of this key might be Test for one user pool and Production for the other.
Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your user pools. In an IAM policy, you can constrain permissions for user pools based on specific tags or tag values.
You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags.
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 TagResource for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TagResource
func (*CognitoIdentityProvider) TagResourceRequest ¶ added in v1.19.0
func (c *CognitoIdentityProvider) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TagResource
func (*CognitoIdentityProvider) TagResourceWithContext ¶ added in v1.19.0
func (c *CognitoIdentityProvider) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource 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) UntagResource ¶ added in v1.19.0
func (c *CognitoIdentityProvider) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Cognito Identity Provider.
Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5 times per second, per 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 UntagResource for usage and error information.
Returned Error Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UntagResource
func (*CognitoIdentityProvider) UntagResourceRequest ¶ added in v1.19.0
func (c *CognitoIdentityProvider) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UntagResource
func (*CognitoIdentityProvider) UntagResourceWithContext ¶ added in v1.19.0
func (c *CognitoIdentityProvider) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource 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) UpdateAuthEventFeedback ¶ added in v1.12.35
func (c *CognitoIdentityProvider) UpdateAuthEventFeedback(input *UpdateAuthEventFeedbackInput) (*UpdateAuthEventFeedbackOutput, error)
UpdateAuthEventFeedback API operation for Amazon Cognito Identity Provider.
Provides the feedback for an authentication event whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.
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 UpdateAuthEventFeedback for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
UserNotFoundException This exception is thrown when a user is not found.
UserPoolAddOnNotEnabledException This exception is thrown when user pool add-ons are not enabled.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedback
func (*CognitoIdentityProvider) UpdateAuthEventFeedbackRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) UpdateAuthEventFeedbackRequest(input *UpdateAuthEventFeedbackInput) (req *request.Request, output *UpdateAuthEventFeedbackOutput)
UpdateAuthEventFeedbackRequest generates a "aws/request.Request" representing the client's request for the UpdateAuthEventFeedback operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateAuthEventFeedback for more information on using the UpdateAuthEventFeedback API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateAuthEventFeedbackRequest method. req, resp := client.UpdateAuthEventFeedbackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedback
func (*CognitoIdentityProvider) UpdateAuthEventFeedbackWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) UpdateAuthEventFeedbackWithContext(ctx aws.Context, input *UpdateAuthEventFeedbackInput, opts ...request.Option) (*UpdateAuthEventFeedbackOutput, error)
UpdateAuthEventFeedbackWithContext is the same as UpdateAuthEventFeedback with the addition of the ability to pass a context and additional request options.
See UpdateAuthEventFeedback 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 ¶ added in v1.2.10
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus
func (*CognitoIdentityProvider) UpdateDeviceStatusRequest ¶ added in v1.2.10
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateDeviceStatus for more information on using the UpdateDeviceStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus
func (*CognitoIdentityProvider) UpdateDeviceStatusWithContext ¶ added in v1.8.0
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 ¶ added in v1.6.4
func (c *CognitoIdentityProvider) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error)
UpdateGroup API operation for Amazon Cognito Identity Provider.
Updates the specified group with the specified attributes.
Calling this action requires developer credentials.
If you don't provide a value for an attribute, it will be set to the default value.
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup
func (*CognitoIdentityProvider) UpdateGroupRequest ¶ added in v1.6.4
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateGroup for more information on using the UpdateGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup
func (*CognitoIdentityProvider) UpdateGroupWithContext ¶ added in v1.8.0
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 ¶ added in v1.8.33
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 Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
UnsupportedIdentityProviderException This exception is thrown when the specified identifier is not supported.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider
func (*CognitoIdentityProvider) UpdateIdentityProviderRequest ¶ added in v1.8.33
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateIdentityProvider for more information on using the UpdateIdentityProvider API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider
func (*CognitoIdentityProvider) UpdateIdentityProviderWithContext ¶ added in v1.8.33
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) UpdateResourceServer ¶ added in v1.10.24
func (c *CognitoIdentityProvider) UpdateResourceServer(input *UpdateResourceServerInput) (*UpdateResourceServerOutput, error)
UpdateResourceServer API operation for Amazon Cognito Identity Provider.
Updates the name and scopes of resource server. All other fields are read-only.
If you don't provide a value for an attribute, it will be set to the default value.
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 UpdateResourceServer for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServer
func (*CognitoIdentityProvider) UpdateResourceServerRequest ¶ added in v1.10.24
func (c *CognitoIdentityProvider) UpdateResourceServerRequest(input *UpdateResourceServerInput) (req *request.Request, output *UpdateResourceServerOutput)
UpdateResourceServerRequest generates a "aws/request.Request" representing the client's request for the UpdateResourceServer operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateResourceServer for more information on using the UpdateResourceServer API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateResourceServerRequest method. req, resp := client.UpdateResourceServerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServer
func (*CognitoIdentityProvider) UpdateResourceServerWithContext ¶ added in v1.10.24
func (c *CognitoIdentityProvider) UpdateResourceServerWithContext(ctx aws.Context, input *UpdateResourceServerInput, opts ...request.Option) (*UpdateResourceServerOutput, error)
UpdateResourceServerWithContext is the same as UpdateResourceServer with the addition of the ability to pass a context and additional request options.
See UpdateResourceServer 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
CodeMismatchException This exception is thrown if the provided code does not match what the server was expecting.
ExpiredCodeException This exception is thrown if a code has expired.
NotAuthorizedException This exception is thrown when a user is not authorized.
UnexpectedLambdaException This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
UserLambdaValidationException This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
InvalidLambdaResponseException This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
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.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
CodeDeliveryFailureException This exception is thrown when a verification code fails to deliver successfully.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateUserAttributes for more information on using the UpdateUserAttributes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributes
func (*CognitoIdentityProvider) UpdateUserAttributesWithContext ¶ added in v1.8.0
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. You can get a list of the current user pool settings using DescribeUserPool (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html).
If you don't provide a value for an attribute, it will be set to the default value.
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ConcurrentModificationException This exception is thrown if two or more modifications are happening concurrently.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
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.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
InvalidSmsRoleAccessPolicyException This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
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.
UserPoolTaggingException This exception is thrown when a user pool tag cannot be set or updated.
InvalidEmailRoleAccessPolicyException This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
See also, 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.
Updates the specified user pool app client with the specified attributes. You can get a list of the current user pool app client settings using DescribeUserPoolClient (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html).
If you don't provide a value for an attribute, it will be set to the default value.
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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ConcurrentModificationException This exception is thrown if two or more modifications are happening concurrently.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
NotAuthorizedException This exception is thrown when a user is not authorized.
ScopeDoesNotExistException This exception is thrown when the specified scope does not exist.
InvalidOAuthFlowException This exception is thrown when the specified OAuth flow is invalid.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateUserPoolClient for more information on using the UpdateUserPoolClient API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient
func (*CognitoIdentityProvider) UpdateUserPoolClientWithContext ¶ added in v1.8.0
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) UpdateUserPoolDomain ¶ added in v1.16.10
func (c *CognitoIdentityProvider) UpdateUserPoolDomain(input *UpdateUserPoolDomainInput) (*UpdateUserPoolDomainOutput, error)
UpdateUserPoolDomain API operation for Amazon Cognito Identity Provider.
Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user pool.
You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate to Amazon Cognito. You cannot use it to change the domain for a user pool.
A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and sign-in pages for your application. When you set up a custom domain, you provide a certificate that you manage with AWS Certificate Manager (ACM). When necessary, you can use this operation to change the certificate that you applied to your custom domain.
Usually, this is unnecessary following routine certificate renewal with ACM. When you renew your existing certificate in ACM, the ARN for your certificate remains the same, and your custom domain uses the new certificate automatically.
However, if you replace your existing certificate with a new one, ACM gives the new certificate a new ARN. To apply the new certificate to your custom domain, you must provide this ARN to Amazon Cognito.
When you add your new certificate in ACM, you must choose US East (N. Virginia) as the AWS Region.
After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new certificate to your custom domain.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.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 UpdateUserPoolDomain for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorizedException This exception is thrown when a user is not authorized.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolDomain
func (*CognitoIdentityProvider) UpdateUserPoolDomainRequest ¶ added in v1.16.10
func (c *CognitoIdentityProvider) UpdateUserPoolDomainRequest(input *UpdateUserPoolDomainInput) (req *request.Request, output *UpdateUserPoolDomainOutput)
UpdateUserPoolDomainRequest generates a "aws/request.Request" representing the client's request for the UpdateUserPoolDomain operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateUserPoolDomain for more information on using the UpdateUserPoolDomain API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateUserPoolDomainRequest method. req, resp := client.UpdateUserPoolDomainRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolDomain
func (*CognitoIdentityProvider) UpdateUserPoolDomainWithContext ¶ added in v1.16.10
func (c *CognitoIdentityProvider) UpdateUserPoolDomainWithContext(ctx aws.Context, input *UpdateUserPoolDomainInput, opts ...request.Option) (*UpdateUserPoolDomainOutput, error)
UpdateUserPoolDomainWithContext is the same as UpdateUserPoolDomain with the addition of the ability to pass a context and additional request options.
See UpdateUserPoolDomain 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateUserPool for more information on using the UpdateUserPool API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool
func (*CognitoIdentityProvider) UpdateUserPoolWithContext ¶ added in v1.8.0
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) VerifySoftwareToken ¶ added in v1.12.35
func (c *CognitoIdentityProvider) VerifySoftwareToken(input *VerifySoftwareTokenInput) (*VerifySoftwareTokenOutput, error)
VerifySoftwareToken API operation for Amazon Cognito Identity Provider.
Use this API to register a user's entered TOTP code and mark the user's software token MFA status as "verified" if successful. The request takes an access token or a session string, but not both.
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 VerifySoftwareToken for usage and error information.
Returned Error Types:
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidUserPoolConfigurationException This exception is thrown when the user pool configuration is invalid.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
EnableSoftwareTokenMFAException This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).
NotAuthorizedException This exception is thrown when a user is not authorized.
SoftwareTokenMFANotFoundException This exception is thrown when the software token TOTP multi-factor authentication (MFA) is not enabled for the user pool.
CodeMismatchException This exception is thrown if the provided code does not match what the server was expecting.
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareToken
func (*CognitoIdentityProvider) VerifySoftwareTokenRequest ¶ added in v1.12.35
func (c *CognitoIdentityProvider) VerifySoftwareTokenRequest(input *VerifySoftwareTokenInput) (req *request.Request, output *VerifySoftwareTokenOutput)
VerifySoftwareTokenRequest generates a "aws/request.Request" representing the client's request for the VerifySoftwareToken operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See VerifySoftwareToken for more information on using the VerifySoftwareToken API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the VerifySoftwareTokenRequest method. req, resp := client.VerifySoftwareTokenRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareToken
func (*CognitoIdentityProvider) VerifySoftwareTokenWithContext ¶ added in v1.12.35
func (c *CognitoIdentityProvider) VerifySoftwareTokenWithContext(ctx aws.Context, input *VerifySoftwareTokenInput, opts ...request.Option) (*VerifySoftwareTokenOutput, error)
VerifySoftwareTokenWithContext is the same as VerifySoftwareToken with the addition of the ability to pass a context and additional request options.
See VerifySoftwareToken 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 Types:
ResourceNotFoundException This exception is thrown when the Amazon Cognito service cannot find the requested resource.
InvalidParameterException This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
CodeMismatchException This exception is thrown if the provided code does not match what the server was expecting.
ExpiredCodeException This exception is thrown if a code has expired.
NotAuthorizedException This exception is thrown when a user is not authorized.
TooManyRequestsException This exception is thrown when the user has made too many requests for a given operation.
LimitExceededException This exception is thrown when a user exceeds the limit for a requested AWS resource.
PasswordResetRequiredException This exception is thrown when a password reset is required.
UserNotFoundException This exception is thrown when a user is not found.
UserNotConfirmedException This exception is thrown when a user is not confirmed successfully.
InternalErrorException This exception is thrown when Amazon Cognito encounters an internal error.
See also, 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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See VerifyUserAttribute for more information on using the VerifyUserAttribute API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttribute
func (*CognitoIdentityProvider) VerifyUserAttributeWithContext ¶ added in v1.8.0
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 CompromisedCredentialsActionsType ¶ added in v1.12.35
type CompromisedCredentialsActionsType struct { // The event action. // // EventAction is a required field EventAction *string `type:"string" required:"true" enum:"CompromisedCredentialsEventActionType"` // contains filtered or unexported fields }
The compromised credentials actions type
func (CompromisedCredentialsActionsType) GoString ¶ added in v1.12.35
func (s CompromisedCredentialsActionsType) GoString() string
GoString returns the string representation
func (*CompromisedCredentialsActionsType) SetEventAction ¶ added in v1.12.35
func (s *CompromisedCredentialsActionsType) SetEventAction(v string) *CompromisedCredentialsActionsType
SetEventAction sets the EventAction field's value.
func (CompromisedCredentialsActionsType) String ¶ added in v1.12.35
func (s CompromisedCredentialsActionsType) String() string
String returns the string representation
func (*CompromisedCredentialsActionsType) Validate ¶ added in v1.12.35
func (s *CompromisedCredentialsActionsType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CompromisedCredentialsRiskConfigurationType ¶ added in v1.12.35
type CompromisedCredentialsRiskConfigurationType struct { // The compromised credentials risk configuration actions. // // Actions is a required field Actions *CompromisedCredentialsActionsType `type:"structure" required:"true"` // Perform the action for these events. The default is to perform all events // if no event filter is specified. EventFilter []*string `type:"list"` // contains filtered or unexported fields }
The compromised credentials risk configuration type.
func (CompromisedCredentialsRiskConfigurationType) GoString ¶ added in v1.12.35
func (s CompromisedCredentialsRiskConfigurationType) GoString() string
GoString returns the string representation
func (*CompromisedCredentialsRiskConfigurationType) SetActions ¶ added in v1.12.35
func (s *CompromisedCredentialsRiskConfigurationType) SetActions(v *CompromisedCredentialsActionsType) *CompromisedCredentialsRiskConfigurationType
SetActions sets the Actions field's value.
func (*CompromisedCredentialsRiskConfigurationType) SetEventFilter ¶ added in v1.12.35
func (s *CompromisedCredentialsRiskConfigurationType) SetEventFilter(v []*string) *CompromisedCredentialsRiskConfigurationType
SetEventFilter sets the EventFilter field's value.
func (CompromisedCredentialsRiskConfigurationType) String ¶ added in v1.12.35
func (s CompromisedCredentialsRiskConfigurationType) String() string
String returns the string representation
func (*CompromisedCredentialsRiskConfigurationType) Validate ¶ added in v1.12.35
func (s *CompromisedCredentialsRiskConfigurationType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConcurrentModificationException ¶ added in v1.28.0
type ConcurrentModificationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message provided when the concurrent exception is thrown. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown if two or more modifications are happening concurrently.
func (*ConcurrentModificationException) Code ¶ added in v1.28.0
func (s *ConcurrentModificationException) Code() string
Code returns the exception type name.
func (*ConcurrentModificationException) Error ¶ added in v1.28.0
func (s *ConcurrentModificationException) Error() string
func (ConcurrentModificationException) GoString ¶ added in v1.28.0
func (s ConcurrentModificationException) GoString() string
GoString returns the string representation
func (*ConcurrentModificationException) Message ¶ added in v1.28.0
func (s *ConcurrentModificationException) Message() string
Message returns the exception's message.
func (*ConcurrentModificationException) OrigErr ¶ added in v1.28.0
func (s *ConcurrentModificationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConcurrentModificationException) RequestID ¶ added in v1.28.0
func (s *ConcurrentModificationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConcurrentModificationException) StatusCode ¶ added in v1.28.0
func (s *ConcurrentModificationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConcurrentModificationException) String ¶ added in v1.28.0
func (s ConcurrentModificationException) String() string
String returns the string representation
type ConfirmDeviceInput ¶ added in v1.2.10
type ConfirmDeviceInput struct { // The access token. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"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 }
Confirms the device request.
func (ConfirmDeviceInput) GoString ¶ added in v1.2.10
func (s ConfirmDeviceInput) GoString() string
GoString returns the string representation
func (*ConfirmDeviceInput) SetAccessToken ¶ added in v1.5.0
func (s *ConfirmDeviceInput) SetAccessToken(v string) *ConfirmDeviceInput
SetAccessToken sets the AccessToken field's value.
func (*ConfirmDeviceInput) SetDeviceKey ¶ added in v1.5.0
func (s *ConfirmDeviceInput) SetDeviceKey(v string) *ConfirmDeviceInput
SetDeviceKey sets the DeviceKey field's value.
func (*ConfirmDeviceInput) SetDeviceName ¶ added in v1.5.0
func (s *ConfirmDeviceInput) SetDeviceName(v string) *ConfirmDeviceInput
SetDeviceName sets the DeviceName field's value.
func (*ConfirmDeviceInput) SetDeviceSecretVerifierConfig ¶ added in v1.5.0
func (s *ConfirmDeviceInput) SetDeviceSecretVerifierConfig(v *DeviceSecretVerifierConfigType) *ConfirmDeviceInput
SetDeviceSecretVerifierConfig sets the DeviceSecretVerifierConfig field's value.
func (ConfirmDeviceInput) String ¶ added in v1.2.10
func (s ConfirmDeviceInput) String() string
String returns the string representation
func (*ConfirmDeviceInput) Validate ¶ added in v1.2.10
func (s *ConfirmDeviceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConfirmDeviceOutput ¶ added in v1.2.10
type ConfirmDeviceOutput struct { // Indicates whether the user confirmation is necessary to confirm the device // response. UserConfirmationNecessary *bool `type:"boolean"` // contains filtered or unexported fields }
Confirms the device response.
func (ConfirmDeviceOutput) GoString ¶ added in v1.2.10
func (s ConfirmDeviceOutput) GoString() string
GoString returns the string representation
func (*ConfirmDeviceOutput) SetUserConfirmationNecessary ¶ added in v1.5.0
func (s *ConfirmDeviceOutput) SetUserConfirmationNecessary(v bool) *ConfirmDeviceOutput
SetUserConfirmationNecessary sets the UserConfirmationNecessary field's value.
func (ConfirmDeviceOutput) String ¶ added in v1.2.10
func (s ConfirmDeviceOutput) String() string
String returns the string representation
type ConfirmForgotPasswordInput ¶
type ConfirmForgotPasswordInput struct { // The Amazon Pinpoint analytics metadata for collecting metrics for ConfirmForgotPassword // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` // The app client ID of the app associated with the user pool. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the ConfirmForgotPassword API action, Amazon Cognito // invokes the function that is assigned to the post confirmation trigger. When // Amazon Cognito invokes this function, it passes a JSON payload, which the // function receives as input. This payload contains a clientMetadata attribute, // which provides the data that you assigned to the ClientMetadata parameter // in your ConfirmForgotPassword request. In your function code in AWS Lambda, // you can process the clientMetadata value to enhance your workflow for your // specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // The confirmation code sent by a user's request to retrieve a forgotten password. // For more information, see ForgotPassword (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/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" sensitive:"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" sensitive:"true"` // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. UserContextData *UserContextDataType `type:"structure"` // 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" sensitive:"true"` // contains filtered or unexported fields }
The request representing the confirmation for a password reset.
func (ConfirmForgotPasswordInput) GoString ¶
func (s ConfirmForgotPasswordInput) GoString() string
GoString returns the string representation
func (*ConfirmForgotPasswordInput) SetAnalyticsMetadata ¶ added in v1.12.35
func (s *ConfirmForgotPasswordInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ConfirmForgotPasswordInput
SetAnalyticsMetadata sets the AnalyticsMetadata field's value.
func (*ConfirmForgotPasswordInput) SetClientId ¶ added in v1.5.0
func (s *ConfirmForgotPasswordInput) SetClientId(v string) *ConfirmForgotPasswordInput
SetClientId sets the ClientId field's value.
func (*ConfirmForgotPasswordInput) SetClientMetadata ¶ added in v1.25.6
func (s *ConfirmForgotPasswordInput) SetClientMetadata(v map[string]*string) *ConfirmForgotPasswordInput
SetClientMetadata sets the ClientMetadata field's value.
func (*ConfirmForgotPasswordInput) SetConfirmationCode ¶ added in v1.5.0
func (s *ConfirmForgotPasswordInput) SetConfirmationCode(v string) *ConfirmForgotPasswordInput
SetConfirmationCode sets the ConfirmationCode field's value.
func (*ConfirmForgotPasswordInput) SetPassword ¶ added in v1.5.0
func (s *ConfirmForgotPasswordInput) SetPassword(v string) *ConfirmForgotPasswordInput
SetPassword sets the Password field's value.
func (*ConfirmForgotPasswordInput) SetSecretHash ¶ added in v1.5.0
func (s *ConfirmForgotPasswordInput) SetSecretHash(v string) *ConfirmForgotPasswordInput
SetSecretHash sets the SecretHash field's value.
func (*ConfirmForgotPasswordInput) SetUserContextData ¶ added in v1.12.35
func (s *ConfirmForgotPasswordInput) SetUserContextData(v *UserContextDataType) *ConfirmForgotPasswordInput
SetUserContextData sets the UserContextData field's value.
func (*ConfirmForgotPasswordInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *ConfirmForgotPasswordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConfirmForgotPasswordOutput ¶
type ConfirmForgotPasswordOutput struct {
// contains filtered or unexported fields
}
The response from the server that results from a user's request to retrieve a forgotten password.
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 ¶
type ConfirmSignUpInput struct { // The Amazon Pinpoint analytics metadata for collecting metrics for ConfirmSignUp // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` // The ID of the app client associated with the user pool. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the ConfirmSignUp API action, Amazon Cognito invokes // the function that is assigned to the post confirmation trigger. When Amazon // Cognito invokes this function, it passes a JSON payload, which the function // receives as input. This payload contains a clientMetadata attribute, which // provides the data that you assigned to the ClientMetadata parameter in your // ConfirmSignUp request. In your function code in AWS Lambda, you can process // the clientMetadata value to enhance your workflow for your specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // 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" sensitive:"true"` // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. UserContextData *UserContextDataType `type:"structure"` // 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" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to confirm registration of a user.
func (ConfirmSignUpInput) GoString ¶
func (s ConfirmSignUpInput) GoString() string
GoString returns the string representation
func (*ConfirmSignUpInput) SetAnalyticsMetadata ¶ added in v1.12.35
func (s *ConfirmSignUpInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ConfirmSignUpInput
SetAnalyticsMetadata sets the AnalyticsMetadata field's value.
func (*ConfirmSignUpInput) SetClientId ¶ added in v1.5.0
func (s *ConfirmSignUpInput) SetClientId(v string) *ConfirmSignUpInput
SetClientId sets the ClientId field's value.
func (*ConfirmSignUpInput) SetClientMetadata ¶ added in v1.25.6
func (s *ConfirmSignUpInput) SetClientMetadata(v map[string]*string) *ConfirmSignUpInput
SetClientMetadata sets the ClientMetadata field's value.
func (*ConfirmSignUpInput) SetConfirmationCode ¶ added in v1.5.0
func (s *ConfirmSignUpInput) SetConfirmationCode(v string) *ConfirmSignUpInput
SetConfirmationCode sets the ConfirmationCode field's value.
func (*ConfirmSignUpInput) SetForceAliasCreation ¶ added in v1.5.0
func (s *ConfirmSignUpInput) SetForceAliasCreation(v bool) *ConfirmSignUpInput
SetForceAliasCreation sets the ForceAliasCreation field's value.
func (*ConfirmSignUpInput) SetSecretHash ¶ added in v1.5.0
func (s *ConfirmSignUpInput) SetSecretHash(v string) *ConfirmSignUpInput
SetSecretHash sets the SecretHash field's value.
func (*ConfirmSignUpInput) SetUserContextData ¶ added in v1.12.35
func (s *ConfirmSignUpInput) SetUserContextData(v *UserContextDataType) *ConfirmSignUpInput
SetUserContextData sets the UserContextData field's value.
func (*ConfirmSignUpInput) SetUsername ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *ConfirmSignUpInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConfirmSignUpOutput ¶
type ConfirmSignUpOutput struct {
// contains filtered or unexported fields
}
Represents the response from the server for the registration confirmation.
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 ContextDataType ¶ added in v1.12.35
type ContextDataType struct { // Encoded data containing device fingerprinting details, collected using the // Amazon Cognito context data collection library. EncodedData *string `type:"string"` // HttpHeaders received on your server in same order. // // HttpHeaders is a required field HttpHeaders []*HttpHeader `type:"list" required:"true"` // Source IP address of your user. // // IpAddress is a required field IpAddress *string `type:"string" required:"true"` // Your server endpoint where this API is invoked. // // ServerName is a required field ServerName *string `type:"string" required:"true"` // Your server path where this API is invoked. // // ServerPath is a required field ServerPath *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
func (ContextDataType) GoString ¶ added in v1.12.35
func (s ContextDataType) GoString() string
GoString returns the string representation
func (*ContextDataType) SetEncodedData ¶ added in v1.12.35
func (s *ContextDataType) SetEncodedData(v string) *ContextDataType
SetEncodedData sets the EncodedData field's value.
func (*ContextDataType) SetHttpHeaders ¶ added in v1.12.35
func (s *ContextDataType) SetHttpHeaders(v []*HttpHeader) *ContextDataType
SetHttpHeaders sets the HttpHeaders field's value.
func (*ContextDataType) SetIpAddress ¶ added in v1.12.35
func (s *ContextDataType) SetIpAddress(v string) *ContextDataType
SetIpAddress sets the IpAddress field's value.
func (*ContextDataType) SetServerName ¶ added in v1.12.35
func (s *ContextDataType) SetServerName(v string) *ContextDataType
SetServerName sets the ServerName field's value.
func (*ContextDataType) SetServerPath ¶ added in v1.12.35
func (s *ContextDataType) SetServerPath(v string) *ContextDataType
SetServerPath sets the ServerPath field's value.
func (ContextDataType) String ¶ added in v1.12.35
func (s ContextDataType) String() string
String returns the string representation
func (*ContextDataType) Validate ¶ added in v1.12.35
func (s *ContextDataType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateGroupInput ¶ added in v1.6.4
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 ¶ added in v1.6.4
func (s CreateGroupInput) GoString() string
GoString returns the string representation
func (*CreateGroupInput) SetDescription ¶ added in v1.6.4
func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput
SetDescription sets the Description field's value.
func (*CreateGroupInput) SetGroupName ¶ added in v1.6.4
func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput
SetGroupName sets the GroupName field's value.
func (*CreateGroupInput) SetPrecedence ¶ added in v1.6.4
func (s *CreateGroupInput) SetPrecedence(v int64) *CreateGroupInput
SetPrecedence sets the Precedence field's value.
func (*CreateGroupInput) SetRoleArn ¶ added in v1.6.4
func (s *CreateGroupInput) SetRoleArn(v string) *CreateGroupInput
SetRoleArn sets the RoleArn field's value.
func (*CreateGroupInput) SetUserPoolId ¶ added in v1.6.4
func (s *CreateGroupInput) SetUserPoolId(v string) *CreateGroupInput
SetUserPoolId sets the UserPoolId field's value.
func (CreateGroupInput) String ¶ added in v1.6.4
func (s CreateGroupInput) String() string
String returns the string representation
func (*CreateGroupInput) Validate ¶ added in v1.6.4
func (s *CreateGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateGroupOutput ¶ added in v1.6.4
type CreateGroupOutput struct { // The group object for the group. Group *GroupType `type:"structure"` // contains filtered or unexported fields }
func (CreateGroupOutput) GoString ¶ added in v1.6.4
func (s CreateGroupOutput) GoString() string
GoString returns the string representation
func (*CreateGroupOutput) SetGroup ¶ added in v1.6.4
func (s *CreateGroupOutput) SetGroup(v *GroupType) *CreateGroupOutput
SetGroup sets the Group field's value.
func (CreateGroupOutput) String ¶ added in v1.6.4
func (s CreateGroupOutput) String() string
String returns the string representation
type CreateIdentityProviderInput ¶ added in v1.8.33
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. The following list describes the provider // detail keys for each identity provider type. // // * For Google and Login with Amazon: client_id client_secret authorize_scopes // // * For Facebook: client_id client_secret authorize_scopes api_version // // * For Sign in with Apple: client_id team_id key_id private_key authorize_scopes // // * For OIDC providers: client_id client_secret attributes_request_method // oidc_issuer authorize_scopes authorize_url if not available from discovery // URL specified by oidc_issuer key token_url if not available from discovery // URL specified by oidc_issuer key attributes_url if not available from // discovery URL specified by oidc_issuer key jwks_uri if not available from // discovery URL specified by oidc_issuer key // // * For SAML providers: MetadataFile OR MetadataURL IDPSignout optional // // 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 ¶ added in v1.8.33
func (s CreateIdentityProviderInput) GoString() string
GoString returns the string representation
func (*CreateIdentityProviderInput) SetAttributeMapping ¶ added in v1.8.33
func (s *CreateIdentityProviderInput) SetAttributeMapping(v map[string]*string) *CreateIdentityProviderInput
SetAttributeMapping sets the AttributeMapping field's value.
func (*CreateIdentityProviderInput) SetIdpIdentifiers ¶ added in v1.8.33
func (s *CreateIdentityProviderInput) SetIdpIdentifiers(v []*string) *CreateIdentityProviderInput
SetIdpIdentifiers sets the IdpIdentifiers field's value.
func (*CreateIdentityProviderInput) SetProviderDetails ¶ added in v1.8.33
func (s *CreateIdentityProviderInput) SetProviderDetails(v map[string]*string) *CreateIdentityProviderInput
SetProviderDetails sets the ProviderDetails field's value.
func (*CreateIdentityProviderInput) SetProviderName ¶ added in v1.8.33
func (s *CreateIdentityProviderInput) SetProviderName(v string) *CreateIdentityProviderInput
SetProviderName sets the ProviderName field's value.
func (*CreateIdentityProviderInput) SetProviderType ¶ added in v1.8.33
func (s *CreateIdentityProviderInput) SetProviderType(v string) *CreateIdentityProviderInput
SetProviderType sets the ProviderType field's value.
func (*CreateIdentityProviderInput) SetUserPoolId ¶ added in v1.8.33
func (s *CreateIdentityProviderInput) SetUserPoolId(v string) *CreateIdentityProviderInput
SetUserPoolId sets the UserPoolId field's value.
func (CreateIdentityProviderInput) String ¶ added in v1.8.33
func (s CreateIdentityProviderInput) String() string
String returns the string representation
func (*CreateIdentityProviderInput) Validate ¶ added in v1.8.33
func (s *CreateIdentityProviderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateIdentityProviderOutput ¶ added in v1.8.33
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 ¶ added in v1.8.33
func (s CreateIdentityProviderOutput) GoString() string
GoString returns the string representation
func (*CreateIdentityProviderOutput) SetIdentityProvider ¶ added in v1.8.33
func (s *CreateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *CreateIdentityProviderOutput
SetIdentityProvider sets the IdentityProvider field's value.
func (CreateIdentityProviderOutput) String ¶ added in v1.8.33
func (s CreateIdentityProviderOutput) String() string
String returns the string representation
type CreateResourceServerInput ¶ added in v1.10.24
type CreateResourceServerInput struct { // A unique resource server identifier for the resource server. This could be // an HTTPS endpoint where the resource server is located. For example, https://my-weather-api.example.com. // // Identifier is a required field Identifier *string `min:"1" type:"string" required:"true"` // A friendly name for the resource server. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // A list of scopes. Each scope is map, where the keys are name and description. Scopes []*ResourceServerScopeType `type:"list"` // 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 (CreateResourceServerInput) GoString ¶ added in v1.10.24
func (s CreateResourceServerInput) GoString() string
GoString returns the string representation
func (*CreateResourceServerInput) SetIdentifier ¶ added in v1.10.24
func (s *CreateResourceServerInput) SetIdentifier(v string) *CreateResourceServerInput
SetIdentifier sets the Identifier field's value.
func (*CreateResourceServerInput) SetName ¶ added in v1.10.24
func (s *CreateResourceServerInput) SetName(v string) *CreateResourceServerInput
SetName sets the Name field's value.
func (*CreateResourceServerInput) SetScopes ¶ added in v1.10.24
func (s *CreateResourceServerInput) SetScopes(v []*ResourceServerScopeType) *CreateResourceServerInput
SetScopes sets the Scopes field's value.
func (*CreateResourceServerInput) SetUserPoolId ¶ added in v1.10.24
func (s *CreateResourceServerInput) SetUserPoolId(v string) *CreateResourceServerInput
SetUserPoolId sets the UserPoolId field's value.
func (CreateResourceServerInput) String ¶ added in v1.10.24
func (s CreateResourceServerInput) String() string
String returns the string representation
func (*CreateResourceServerInput) Validate ¶ added in v1.10.24
func (s *CreateResourceServerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResourceServerOutput ¶ added in v1.10.24
type CreateResourceServerOutput struct { // The newly created resource server. // // ResourceServer is a required field ResourceServer *ResourceServerType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateResourceServerOutput) GoString ¶ added in v1.10.24
func (s CreateResourceServerOutput) GoString() string
GoString returns the string representation
func (*CreateResourceServerOutput) SetResourceServer ¶ added in v1.10.24
func (s *CreateResourceServerOutput) SetResourceServer(v *ResourceServerType) *CreateResourceServerOutput
SetResourceServer sets the ResourceServer field's value.
func (CreateResourceServerOutput) String ¶ added in v1.10.24
func (s CreateResourceServerOutput) String() string
String returns the string representation
type CreateUserImportJobInput ¶ added in v1.4.6
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 }
Represents the request to create the user import job.
func (CreateUserImportJobInput) GoString ¶ added in v1.4.6
func (s CreateUserImportJobInput) GoString() string
GoString returns the string representation
func (*CreateUserImportJobInput) SetCloudWatchLogsRoleArn ¶ added in v1.5.0
func (s *CreateUserImportJobInput) SetCloudWatchLogsRoleArn(v string) *CreateUserImportJobInput
SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
func (*CreateUserImportJobInput) SetJobName ¶ added in v1.5.0
func (s *CreateUserImportJobInput) SetJobName(v string) *CreateUserImportJobInput
SetJobName sets the JobName field's value.
func (*CreateUserImportJobInput) SetUserPoolId ¶ added in v1.5.0
func (s *CreateUserImportJobInput) SetUserPoolId(v string) *CreateUserImportJobInput
SetUserPoolId sets the UserPoolId field's value.
func (CreateUserImportJobInput) String ¶ added in v1.4.6
func (s CreateUserImportJobInput) String() string
String returns the string representation
func (*CreateUserImportJobInput) Validate ¶ added in v1.4.6
func (s *CreateUserImportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateUserImportJobOutput ¶ added in v1.4.6
type CreateUserImportJobOutput struct { // The job object that represents the user import job. UserImportJob *UserImportJobType `type:"structure"` // contains filtered or unexported fields }
Represents the response from the server to the request to create the user import job.
func (CreateUserImportJobOutput) GoString ¶ added in v1.4.6
func (s CreateUserImportJobOutput) GoString() string
GoString returns the string representation
func (*CreateUserImportJobOutput) SetUserImportJob ¶ added in v1.5.0
func (s *CreateUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *CreateUserImportJobOutput
SetUserImportJob sets the UserImportJob field's value.
func (CreateUserImportJobOutput) String ¶ added in v1.4.6
func (s CreateUserImportJobOutput) String() string
String returns the string representation
type CreateUserPoolClientInput ¶
type CreateUserPoolClientInput struct { // The time limit, between 5 minutes and 1 day, after which the access token // is no longer valid and cannot be used. This value will be overridden if you // have entered a value in TokenValidityUnits. AccessTokenValidity *int64 `min:"1" type:"integer"` // The allowed OAuth flows. // // 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 implicit to specify that the client should get the access token (and, // optionally, ID token, based on scopes) directly. // // Set to client_credentials to specify that the client should get the access // token (and, optionally, ID token, based on scopes) from the token endpoint // using a combination of client and client_secret. 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"` // The allowed OAuth scopes. Possible values provided by OAuth are: phone, email, // openid, and profile. Possible values provided by AWS are: aws.cognito.signin.user.admin. // Custom scopes created in Resource Servers are also supported. AllowedOAuthScopes []*string `type:"list"` // The Amazon Pinpoint analytics configuration for collecting metrics for this // user pool. // // In regions where Pinpoint is not available, Cognito User Pools only supports // sending events to Amazon Pinpoint projects in us-east-1. In regions where // Pinpoint is available, Cognito User Pools will support sending events to // Amazon Pinpoint projects within that same region. AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` // A list of allowed redirect (callback) URLs for the identity providers. // // A redirect URI must: // // * Be an absolute URI. // // * Be registered with the authorization server. // // * Not include a fragment component. // // See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2). // // Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing // purposes only. // // App callback URLs such as myapp://example are also supported. 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. // // A redirect URI must: // // * Be an absolute URI. // // * Be registered with the authorization server. // // * Not include a fragment component. // // See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2). // // Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing // purposes only. // // App callback URLs such as myapp://example are also supported. DefaultRedirectURI *string `min:"1" type:"string"` // The authentication flows that are supported by the user pool clients. Flow // names without the ALLOW_ prefix are deprecated in favor of new names with // the ALLOW_ prefix. Note that values with ALLOW_ prefix cannot be used along // with values without ALLOW_ prefix. // // Valid values include: // // * ALLOW_ADMIN_USER_PASSWORD_AUTH: Enable admin based user password authentication // flow ADMIN_USER_PASSWORD_AUTH. This setting replaces the ADMIN_NO_SRP_AUTH // setting. With this authentication flow, Cognito receives the password // in the request instead of using the SRP (Secure Remote Password protocol) // protocol to verify passwords. // // * ALLOW_CUSTOM_AUTH: Enable Lambda trigger based authentication. // // * ALLOW_USER_PASSWORD_AUTH: Enable user password-based authentication. // In this flow, Cognito receives the password in the request instead of // using the SRP protocol to verify passwords. // // * ALLOW_USER_SRP_AUTH: Enable SRP based authentication. // // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. 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"` // The time limit, between 5 minutes and 1 day, after which the ID token is // no longer valid and cannot be used. This value will be overridden if you // have entered a value in TokenValidityUnits. IdTokenValidity *int64 `min:"1" type:"integer"` // A list of allowed logout URLs for the identity providers. LogoutURLs []*string `type:"list"` // Use this setting to choose which errors and responses are returned by Cognito // APIs during authentication, account confirmation, and password recovery when // the user does not exist in the user pool. When set to ENABLED and the user // does not exist, authentication returns an error indicating either the username // or password was incorrect, and account confirmation and password recovery // return a response indicating a code was sent to a simulated destination. // When set to LEGACY, those APIs will return a UserNotFoundException exception // if the user does not exist in the user pool. // // Valid values include: // // * ENABLED - This prevents user existence-related errors. // // * LEGACY - This represents the old behavior of Cognito where user existence // related errors are not prevented. // // After February 15th 2020, the value of PreventUserExistenceErrors will default // to ENABLED for newly created user pool clients if no value is provided. PreventUserExistenceErrors *string `type:"string" enum:"PreventUserExistenceErrorTypes"` // 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. The following are supported: COGNITO, Facebook, Google and LoginWithAmazon. SupportedIdentityProviders []*string `type:"list"` // The units in which the validity times are represented in. Default for RefreshToken // is days, and default for ID and access tokens are hours. TokenValidityUnits *TokenValidityUnitsType `type:"structure"` // 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 user pool attributes that the app client can write to. // // If your app client allows users to sign in through an identity provider, // this array must include all attributes that are mapped to identity provider // attributes. Amazon Cognito updates mapped attributes when users sign in to // your application through an identity provider. If your app client lacks write // access to a mapped attribute, Amazon Cognito throws an error when it attempts // to update the attribute. For more information, see Specifying Identity Provider // Attribute Mappings for Your User Pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html). WriteAttributes []*string `type:"list"` // contains filtered or unexported fields }
Represents the request to create a user pool client.
func (CreateUserPoolClientInput) GoString ¶
func (s CreateUserPoolClientInput) GoString() string
GoString returns the string representation
func (*CreateUserPoolClientInput) SetAccessTokenValidity ¶ added in v1.34.4
func (s *CreateUserPoolClientInput) SetAccessTokenValidity(v int64) *CreateUserPoolClientInput
SetAccessTokenValidity sets the AccessTokenValidity field's value.
func (*CreateUserPoolClientInput) SetAllowedOAuthFlows ¶ added in v1.8.33
func (s *CreateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *CreateUserPoolClientInput
SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value.
func (*CreateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient ¶ added in v1.8.33
func (s *CreateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *CreateUserPoolClientInput
SetAllowedOAuthFlowsUserPoolClient sets the AllowedOAuthFlowsUserPoolClient field's value.
func (*CreateUserPoolClientInput) SetAllowedOAuthScopes ¶ added in v1.8.33
func (s *CreateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *CreateUserPoolClientInput
SetAllowedOAuthScopes sets the AllowedOAuthScopes field's value.
func (*CreateUserPoolClientInput) SetAnalyticsConfiguration ¶ added in v1.12.35
func (s *CreateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *CreateUserPoolClientInput
SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value.
func (*CreateUserPoolClientInput) SetCallbackURLs ¶ added in v1.8.33
func (s *CreateUserPoolClientInput) SetCallbackURLs(v []*string) *CreateUserPoolClientInput
SetCallbackURLs sets the CallbackURLs field's value.
func (*CreateUserPoolClientInput) SetClientName ¶ added in v1.5.0
func (s *CreateUserPoolClientInput) SetClientName(v string) *CreateUserPoolClientInput
SetClientName sets the ClientName field's value.
func (*CreateUserPoolClientInput) SetDefaultRedirectURI ¶ added in v1.8.33
func (s *CreateUserPoolClientInput) SetDefaultRedirectURI(v string) *CreateUserPoolClientInput
SetDefaultRedirectURI sets the DefaultRedirectURI field's value.
func (*CreateUserPoolClientInput) SetExplicitAuthFlows ¶ added in v1.5.0
func (s *CreateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *CreateUserPoolClientInput
SetExplicitAuthFlows sets the ExplicitAuthFlows field's value.
func (*CreateUserPoolClientInput) SetGenerateSecret ¶ added in v1.5.0
func (s *CreateUserPoolClientInput) SetGenerateSecret(v bool) *CreateUserPoolClientInput
SetGenerateSecret sets the GenerateSecret field's value.
func (*CreateUserPoolClientInput) SetIdTokenValidity ¶ added in v1.34.4
func (s *CreateUserPoolClientInput) SetIdTokenValidity(v int64) *CreateUserPoolClientInput
SetIdTokenValidity sets the IdTokenValidity field's value.
func (*CreateUserPoolClientInput) SetLogoutURLs ¶ added in v1.8.33
func (s *CreateUserPoolClientInput) SetLogoutURLs(v []*string) *CreateUserPoolClientInput
SetLogoutURLs sets the LogoutURLs field's value.
func (*CreateUserPoolClientInput) SetPreventUserExistenceErrors ¶ added in v1.25.35
func (s *CreateUserPoolClientInput) SetPreventUserExistenceErrors(v string) *CreateUserPoolClientInput
SetPreventUserExistenceErrors sets the PreventUserExistenceErrors field's value.
func (*CreateUserPoolClientInput) SetReadAttributes ¶ added in v1.5.0
func (s *CreateUserPoolClientInput) SetReadAttributes(v []*string) *CreateUserPoolClientInput
SetReadAttributes sets the ReadAttributes field's value.
func (*CreateUserPoolClientInput) SetRefreshTokenValidity ¶ added in v1.5.0
func (s *CreateUserPoolClientInput) SetRefreshTokenValidity(v int64) *CreateUserPoolClientInput
SetRefreshTokenValidity sets the RefreshTokenValidity field's value.
func (*CreateUserPoolClientInput) SetSupportedIdentityProviders ¶ added in v1.8.33
func (s *CreateUserPoolClientInput) SetSupportedIdentityProviders(v []*string) *CreateUserPoolClientInput
SetSupportedIdentityProviders sets the SupportedIdentityProviders field's value.
func (*CreateUserPoolClientInput) SetTokenValidityUnits ¶ added in v1.34.4
func (s *CreateUserPoolClientInput) SetTokenValidityUnits(v *TokenValidityUnitsType) *CreateUserPoolClientInput
SetTokenValidityUnits sets the TokenValidityUnits field's value.
func (*CreateUserPoolClientInput) SetUserPoolId ¶ added in v1.5.0
func (s *CreateUserPoolClientInput) SetUserPoolId(v string) *CreateUserPoolClientInput
SetUserPoolId sets the UserPoolId field's value.
func (*CreateUserPoolClientInput) SetWriteAttributes ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *CreateUserPoolClientInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateUserPoolClientOutput ¶
type CreateUserPoolClientOutput struct { // The user pool client that was just created. UserPoolClient *UserPoolClientType `type:"structure"` // contains filtered or unexported fields }
Represents the response from the server to create a user pool client.
func (CreateUserPoolClientOutput) GoString ¶
func (s CreateUserPoolClientOutput) GoString() string
GoString returns the string representation
func (*CreateUserPoolClientOutput) SetUserPoolClient ¶ added in v1.5.0
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 ¶ added in v1.8.33
type CreateUserPoolDomainInput struct { // The configuration for a custom domain that hosts the sign-up and sign-in // webpages for your application. // // Provide this parameter only if you want to use a custom domain for your user // pool. Otherwise, you can exclude this parameter and use the Amazon Cognito // hosted domain instead. // // For more information about the hosted domain and custom domains, see Configuring // a User Pool Domain (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain.html). CustomDomainConfig *CustomDomainConfigType `type:"structure"` // 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 ¶ added in v1.8.33
func (s CreateUserPoolDomainInput) GoString() string
GoString returns the string representation
func (*CreateUserPoolDomainInput) SetCustomDomainConfig ¶ added in v1.15.20
func (s *CreateUserPoolDomainInput) SetCustomDomainConfig(v *CustomDomainConfigType) *CreateUserPoolDomainInput
SetCustomDomainConfig sets the CustomDomainConfig field's value.
func (*CreateUserPoolDomainInput) SetDomain ¶ added in v1.8.33
func (s *CreateUserPoolDomainInput) SetDomain(v string) *CreateUserPoolDomainInput
SetDomain sets the Domain field's value.
func (*CreateUserPoolDomainInput) SetUserPoolId ¶ added in v1.8.33
func (s *CreateUserPoolDomainInput) SetUserPoolId(v string) *CreateUserPoolDomainInput
SetUserPoolId sets the UserPoolId field's value.
func (CreateUserPoolDomainInput) String ¶ added in v1.8.33
func (s CreateUserPoolDomainInput) String() string
String returns the string representation
func (*CreateUserPoolDomainInput) Validate ¶ added in v1.8.33
func (s *CreateUserPoolDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateUserPoolDomainOutput ¶ added in v1.8.33
type CreateUserPoolDomainOutput struct { // The Amazon CloudFront endpoint that you use as the target of the alias that // you set up with your Domain Name Service (DNS) provider. CloudFrontDomain *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateUserPoolDomainOutput) GoString ¶ added in v1.8.33
func (s CreateUserPoolDomainOutput) GoString() string
GoString returns the string representation
func (*CreateUserPoolDomainOutput) SetCloudFrontDomain ¶ added in v1.15.20
func (s *CreateUserPoolDomainOutput) SetCloudFrontDomain(v string) *CreateUserPoolDomainOutput
SetCloudFrontDomain sets the CloudFrontDomain field's value.
func (CreateUserPoolDomainOutput) String ¶ added in v1.8.33
func (s CreateUserPoolDomainOutput) String() string
String returns the string representation
type CreateUserPoolInput ¶
type CreateUserPoolInput struct { // Use this setting to define which verified available method a user can use // to recover their password when they call ForgotPassword. It allows you to // define a preferred method when a user has more than one method available. // With this setting, SMS does not qualify for a valid password recovery mechanism // if the user also has SMS MFA enabled. In the absence of this setting, Cognito // uses the legacy behavior to determine the recovery method where SMS is preferred // over email. AccountRecoverySetting *AccountRecoverySettingType `type:"structure"` // 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 // is allowed only if EmailSendingAccount (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) // is DEVELOPER. EmailVerificationMessage *string `min:"6" type:"string"` // A string representing the email verification subject. EmailVerificationSubject // is allowed only if EmailSendingAccount (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) // is DEVELOPER. EmailVerificationSubject *string `min:"1" type:"string"` // The Lambda trigger configuration information for the new user pool. // // In a push model, event sources (such as Amazon S3 and custom applications) // need permission to invoke a function. So you will need to make an extra call // to add permission for these event sources to invoke your Lambda function. // // For more information on using the Lambda API to add permission, see AddPermission // (https://docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html). // // For adding permission using the AWS CLI, see add-permission (https://docs.aws.amazon.com/cli/latest/reference/lambda/add-permission.html). 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"` // Used to enable advanced security risk detection. Set the key AdvancedSecurityMode // to the value "AUDIT". UserPoolAddOns *UserPoolAddOnsType `type:"structure"` // The tag keys and values to assign to the user pool. A tag is a label that // you can use to categorize and manage user pools in different ways, such as // by purpose, owner, environment, or other criteria. UserPoolTags map[string]*string `type:"map"` // Specifies whether email addresses or phone numbers can be specified as usernames // when a user signs up. UsernameAttributes []*string `type:"list"` // You can choose to set case sensitivity on the username input for the selected // sign-in option. For example, when this is set to False, users will be able // to sign in using either "username" or "Username". This configuration is immutable // once it has been set. For more information, see UsernameConfigurationType // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UsernameConfigurationType.html). UsernameConfiguration *UsernameConfigurationType `type:"structure"` // The template for the verification message that the user sees when the app // requests permission to access the user's information. VerificationMessageTemplate *VerificationMessageTemplateType `type:"structure"` // contains filtered or unexported fields }
Represents the request to create a user pool.
func (CreateUserPoolInput) GoString ¶
func (s CreateUserPoolInput) GoString() string
GoString returns the string representation
func (*CreateUserPoolInput) SetAccountRecoverySetting ¶ added in v1.25.43
func (s *CreateUserPoolInput) SetAccountRecoverySetting(v *AccountRecoverySettingType) *CreateUserPoolInput
SetAccountRecoverySetting sets the AccountRecoverySetting field's value.
func (*CreateUserPoolInput) SetAdminCreateUserConfig ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *CreateUserPoolInput
SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value.
func (*CreateUserPoolInput) SetAliasAttributes ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetAliasAttributes(v []*string) *CreateUserPoolInput
SetAliasAttributes sets the AliasAttributes field's value.
func (*CreateUserPoolInput) SetAutoVerifiedAttributes ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetAutoVerifiedAttributes(v []*string) *CreateUserPoolInput
SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value.
func (*CreateUserPoolInput) SetDeviceConfiguration ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *CreateUserPoolInput
SetDeviceConfiguration sets the DeviceConfiguration field's value.
func (*CreateUserPoolInput) SetEmailConfiguration ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *CreateUserPoolInput
SetEmailConfiguration sets the EmailConfiguration field's value.
func (*CreateUserPoolInput) SetEmailVerificationMessage ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetEmailVerificationMessage(v string) *CreateUserPoolInput
SetEmailVerificationMessage sets the EmailVerificationMessage field's value.
func (*CreateUserPoolInput) SetEmailVerificationSubject ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetEmailVerificationSubject(v string) *CreateUserPoolInput
SetEmailVerificationSubject sets the EmailVerificationSubject field's value.
func (*CreateUserPoolInput) SetLambdaConfig ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *CreateUserPoolInput
SetLambdaConfig sets the LambdaConfig field's value.
func (*CreateUserPoolInput) SetMfaConfiguration ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetMfaConfiguration(v string) *CreateUserPoolInput
SetMfaConfiguration sets the MfaConfiguration field's value.
func (*CreateUserPoolInput) SetPolicies ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *CreateUserPoolInput
SetPolicies sets the Policies field's value.
func (*CreateUserPoolInput) SetPoolName ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetPoolName(v string) *CreateUserPoolInput
SetPoolName sets the PoolName field's value.
func (*CreateUserPoolInput) SetSchema ¶ added in v1.5.4
func (s *CreateUserPoolInput) SetSchema(v []*SchemaAttributeType) *CreateUserPoolInput
SetSchema sets the Schema field's value.
func (*CreateUserPoolInput) SetSmsAuthenticationMessage ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetSmsAuthenticationMessage(v string) *CreateUserPoolInput
SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value.
func (*CreateUserPoolInput) SetSmsConfiguration ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *CreateUserPoolInput
SetSmsConfiguration sets the SmsConfiguration field's value.
func (*CreateUserPoolInput) SetSmsVerificationMessage ¶ added in v1.5.0
func (s *CreateUserPoolInput) SetSmsVerificationMessage(v string) *CreateUserPoolInput
SetSmsVerificationMessage sets the SmsVerificationMessage field's value.
func (*CreateUserPoolInput) SetUserPoolAddOns ¶ added in v1.12.35
func (s *CreateUserPoolInput) SetUserPoolAddOns(v *UserPoolAddOnsType) *CreateUserPoolInput
SetUserPoolAddOns sets the UserPoolAddOns field's value.
func (*CreateUserPoolInput) SetUserPoolTags ¶ added in v1.6.4
func (s *CreateUserPoolInput) SetUserPoolTags(v map[string]*string) *CreateUserPoolInput
SetUserPoolTags sets the UserPoolTags field's value.
func (*CreateUserPoolInput) SetUsernameAttributes ¶ added in v1.10.12
func (s *CreateUserPoolInput) SetUsernameAttributes(v []*string) *CreateUserPoolInput
SetUsernameAttributes sets the UsernameAttributes field's value.
func (*CreateUserPoolInput) SetUsernameConfiguration ¶ added in v1.29.0
func (s *CreateUserPoolInput) SetUsernameConfiguration(v *UsernameConfigurationType) *CreateUserPoolInput
SetUsernameConfiguration sets the UsernameConfiguration field's value.
func (*CreateUserPoolInput) SetVerificationMessageTemplate ¶ added in v1.10.24
func (s *CreateUserPoolInput) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *CreateUserPoolInput
SetVerificationMessageTemplate sets the VerificationMessageTemplate field's value.
func (CreateUserPoolInput) String ¶
func (s CreateUserPoolInput) String() string
String returns the string representation
func (*CreateUserPoolInput) Validate ¶ added in v1.1.21
func (s *CreateUserPoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateUserPoolOutput ¶
type CreateUserPoolOutput struct { // A container for the user pool details. UserPool *UserPoolType `type:"structure"` // contains filtered or unexported fields }
Represents the response from the server for the request to create a user pool.
func (CreateUserPoolOutput) GoString ¶
func (s CreateUserPoolOutput) GoString() string
GoString returns the string representation
func (*CreateUserPoolOutput) SetUserPool ¶ added in v1.5.0
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 CustomDomainConfigType ¶ added in v1.15.20
type CustomDomainConfigType struct { // The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. // You use this certificate for the subdomain of your custom domain. // // CertificateArn is a required field CertificateArn *string `min:"20" type:"string" required:"true"` // contains filtered or unexported fields }
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
func (CustomDomainConfigType) GoString ¶ added in v1.15.20
func (s CustomDomainConfigType) GoString() string
GoString returns the string representation
func (*CustomDomainConfigType) SetCertificateArn ¶ added in v1.15.20
func (s *CustomDomainConfigType) SetCertificateArn(v string) *CustomDomainConfigType
SetCertificateArn sets the CertificateArn field's value.
func (CustomDomainConfigType) String ¶ added in v1.15.20
func (s CustomDomainConfigType) String() string
String returns the string representation
func (*CustomDomainConfigType) Validate ¶ added in v1.15.20
func (s *CustomDomainConfigType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CustomEmailLambdaVersionConfigType ¶ added in v1.35.35
type CustomEmailLambdaVersionConfigType struct { // The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito // triggers to send email notifications to users. // // LambdaArn is a required field LambdaArn *string `min:"20" type:"string" required:"true"` // The Lambda version represents the signature of the "request" attribute in // the "event" information Amazon Cognito passes to your custom email Lambda // function. The only supported value is V1_0. // // LambdaVersion is a required field LambdaVersion *string `type:"string" required:"true" enum:"CustomEmailSenderLambdaVersionType"` // contains filtered or unexported fields }
A custom email sender Lambda configuration type.
func (CustomEmailLambdaVersionConfigType) GoString ¶ added in v1.35.35
func (s CustomEmailLambdaVersionConfigType) GoString() string
GoString returns the string representation
func (*CustomEmailLambdaVersionConfigType) SetLambdaArn ¶ added in v1.35.35
func (s *CustomEmailLambdaVersionConfigType) SetLambdaArn(v string) *CustomEmailLambdaVersionConfigType
SetLambdaArn sets the LambdaArn field's value.
func (*CustomEmailLambdaVersionConfigType) SetLambdaVersion ¶ added in v1.35.35
func (s *CustomEmailLambdaVersionConfigType) SetLambdaVersion(v string) *CustomEmailLambdaVersionConfigType
SetLambdaVersion sets the LambdaVersion field's value.
func (CustomEmailLambdaVersionConfigType) String ¶ added in v1.35.35
func (s CustomEmailLambdaVersionConfigType) String() string
String returns the string representation
func (*CustomEmailLambdaVersionConfigType) Validate ¶ added in v1.35.35
func (s *CustomEmailLambdaVersionConfigType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CustomSMSLambdaVersionConfigType ¶ added in v1.35.35
type CustomSMSLambdaVersionConfigType struct { // The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito // triggers to send SMS notifications to users. // // LambdaArn is a required field LambdaArn *string `min:"20" type:"string" required:"true"` // The Lambda version represents the signature of the "request" attribute in // the "event" information Amazon Cognito passes to your custom SMS Lambda function. // The only supported value is V1_0. // // LambdaVersion is a required field LambdaVersion *string `type:"string" required:"true" enum:"CustomSMSSenderLambdaVersionType"` // contains filtered or unexported fields }
A custom SMS sender Lambda configuration type.
func (CustomSMSLambdaVersionConfigType) GoString ¶ added in v1.35.35
func (s CustomSMSLambdaVersionConfigType) GoString() string
GoString returns the string representation
func (*CustomSMSLambdaVersionConfigType) SetLambdaArn ¶ added in v1.35.35
func (s *CustomSMSLambdaVersionConfigType) SetLambdaArn(v string) *CustomSMSLambdaVersionConfigType
SetLambdaArn sets the LambdaArn field's value.
func (*CustomSMSLambdaVersionConfigType) SetLambdaVersion ¶ added in v1.35.35
func (s *CustomSMSLambdaVersionConfigType) SetLambdaVersion(v string) *CustomSMSLambdaVersionConfigType
SetLambdaVersion sets the LambdaVersion field's value.
func (CustomSMSLambdaVersionConfigType) String ¶ added in v1.35.35
func (s CustomSMSLambdaVersionConfigType) String() string
String returns the string representation
func (*CustomSMSLambdaVersionConfigType) Validate ¶ added in v1.35.35
func (s *CustomSMSLambdaVersionConfigType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteGroupInput ¶ added in v1.6.4
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 ¶ added in v1.6.4
func (s DeleteGroupInput) GoString() string
GoString returns the string representation
func (*DeleteGroupInput) SetGroupName ¶ added in v1.6.4
func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput
SetGroupName sets the GroupName field's value.
func (*DeleteGroupInput) SetUserPoolId ¶ added in v1.6.4
func (s *DeleteGroupInput) SetUserPoolId(v string) *DeleteGroupInput
SetUserPoolId sets the UserPoolId field's value.
func (DeleteGroupInput) String ¶ added in v1.6.4
func (s DeleteGroupInput) String() string
String returns the string representation
func (*DeleteGroupInput) Validate ¶ added in v1.6.4
func (s *DeleteGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteGroupOutput ¶ added in v1.6.4
type DeleteGroupOutput struct {
// contains filtered or unexported fields
}
func (DeleteGroupOutput) GoString ¶ added in v1.6.4
func (s DeleteGroupOutput) GoString() string
GoString returns the string representation
func (DeleteGroupOutput) String ¶ added in v1.6.4
func (s DeleteGroupOutput) String() string
String returns the string representation
type DeleteIdentityProviderInput ¶ added in v1.8.33
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 ¶ added in v1.8.33
func (s DeleteIdentityProviderInput) GoString() string
GoString returns the string representation
func (*DeleteIdentityProviderInput) SetProviderName ¶ added in v1.8.33
func (s *DeleteIdentityProviderInput) SetProviderName(v string) *DeleteIdentityProviderInput
SetProviderName sets the ProviderName field's value.
func (*DeleteIdentityProviderInput) SetUserPoolId ¶ added in v1.8.33
func (s *DeleteIdentityProviderInput) SetUserPoolId(v string) *DeleteIdentityProviderInput
SetUserPoolId sets the UserPoolId field's value.
func (DeleteIdentityProviderInput) String ¶ added in v1.8.33
func (s DeleteIdentityProviderInput) String() string
String returns the string representation
func (*DeleteIdentityProviderInput) Validate ¶ added in v1.8.33
func (s *DeleteIdentityProviderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteIdentityProviderOutput ¶ added in v1.8.33
type DeleteIdentityProviderOutput struct {
// contains filtered or unexported fields
}
func (DeleteIdentityProviderOutput) GoString ¶ added in v1.8.33
func (s DeleteIdentityProviderOutput) GoString() string
GoString returns the string representation
func (DeleteIdentityProviderOutput) String ¶ added in v1.8.33
func (s DeleteIdentityProviderOutput) String() string
String returns the string representation
type DeleteResourceServerInput ¶ added in v1.10.24
type DeleteResourceServerInput struct { // The identifier for the resource server. // // Identifier is a required field Identifier *string `min:"1" type:"string" required:"true"` // The user pool ID for the user pool that hosts the resource server. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteResourceServerInput) GoString ¶ added in v1.10.24
func (s DeleteResourceServerInput) GoString() string
GoString returns the string representation
func (*DeleteResourceServerInput) SetIdentifier ¶ added in v1.10.24
func (s *DeleteResourceServerInput) SetIdentifier(v string) *DeleteResourceServerInput
SetIdentifier sets the Identifier field's value.
func (*DeleteResourceServerInput) SetUserPoolId ¶ added in v1.10.24
func (s *DeleteResourceServerInput) SetUserPoolId(v string) *DeleteResourceServerInput
SetUserPoolId sets the UserPoolId field's value.
func (DeleteResourceServerInput) String ¶ added in v1.10.24
func (s DeleteResourceServerInput) String() string
String returns the string representation
func (*DeleteResourceServerInput) Validate ¶ added in v1.10.24
func (s *DeleteResourceServerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResourceServerOutput ¶ added in v1.10.24
type DeleteResourceServerOutput struct {
// contains filtered or unexported fields
}
func (DeleteResourceServerOutput) GoString ¶ added in v1.10.24
func (s DeleteResourceServerOutput) GoString() string
GoString returns the string representation
func (DeleteResourceServerOutput) String ¶ added in v1.10.24
func (s DeleteResourceServerOutput) String() string
String returns the string representation
type DeleteUserAttributesInput ¶
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" sensitive:"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 }
Represents the request to delete user attributes.
func (DeleteUserAttributesInput) GoString ¶
func (s DeleteUserAttributesInput) GoString() string
GoString returns the string representation
func (*DeleteUserAttributesInput) SetAccessToken ¶ added in v1.5.0
func (s *DeleteUserAttributesInput) SetAccessToken(v string) *DeleteUserAttributesInput
SetAccessToken sets the AccessToken field's value.
func (*DeleteUserAttributesInput) SetUserAttributeNames ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *DeleteUserAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteUserAttributesOutput ¶
type DeleteUserAttributesOutput struct {
// contains filtered or unexported fields
}
Represents the response from the server to delete user attributes.
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 ¶
type DeleteUserInput struct { // The access token from a request to delete a user. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to delete a user.
func (DeleteUserInput) GoString ¶
func (s DeleteUserInput) GoString() string
GoString returns the string representation
func (*DeleteUserInput) SetAccessToken ¶ added in v1.5.0
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 ¶ added in v1.8.33
func (s *DeleteUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type 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 ¶
type DeleteUserPoolClientInput struct { // The app client ID of the app associated with the user pool. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"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 }
Represents the request to delete a user pool client.
func (DeleteUserPoolClientInput) GoString ¶
func (s DeleteUserPoolClientInput) GoString() string
GoString returns the string representation
func (*DeleteUserPoolClientInput) SetClientId ¶ added in v1.5.0
func (s *DeleteUserPoolClientInput) SetClientId(v string) *DeleteUserPoolClientInput
SetClientId sets the ClientId field's value.
func (*DeleteUserPoolClientInput) SetUserPoolId ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *DeleteUserPoolClientInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type 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 ¶ added in v1.8.33
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 ¶ added in v1.8.33
func (s DeleteUserPoolDomainInput) GoString() string
GoString returns the string representation
func (*DeleteUserPoolDomainInput) SetDomain ¶ added in v1.8.33
func (s *DeleteUserPoolDomainInput) SetDomain(v string) *DeleteUserPoolDomainInput
SetDomain sets the Domain field's value.
func (*DeleteUserPoolDomainInput) SetUserPoolId ¶ added in v1.8.33
func (s *DeleteUserPoolDomainInput) SetUserPoolId(v string) *DeleteUserPoolDomainInput
SetUserPoolId sets the UserPoolId field's value.
func (DeleteUserPoolDomainInput) String ¶ added in v1.8.33
func (s DeleteUserPoolDomainInput) String() string
String returns the string representation
func (*DeleteUserPoolDomainInput) Validate ¶ added in v1.8.33
func (s *DeleteUserPoolDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteUserPoolDomainOutput ¶ added in v1.8.33
type DeleteUserPoolDomainOutput struct {
// contains filtered or unexported fields
}
func (DeleteUserPoolDomainOutput) GoString ¶ added in v1.8.33
func (s DeleteUserPoolDomainOutput) GoString() string
GoString returns the string representation
func (DeleteUserPoolDomainOutput) String ¶ added in v1.8.33
func (s DeleteUserPoolDomainOutput) String() string
String returns the string representation
type DeleteUserPoolInput ¶
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 }
Represents the request to delete a user pool.
func (DeleteUserPoolInput) GoString ¶
func (s DeleteUserPoolInput) GoString() string
GoString returns the string representation
func (*DeleteUserPoolInput) SetUserPoolId ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *DeleteUserPoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type 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 ¶ added in v1.8.33
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 ¶ added in v1.8.33
func (s DescribeIdentityProviderInput) GoString() string
GoString returns the string representation
func (*DescribeIdentityProviderInput) SetProviderName ¶ added in v1.8.33
func (s *DescribeIdentityProviderInput) SetProviderName(v string) *DescribeIdentityProviderInput
SetProviderName sets the ProviderName field's value.
func (*DescribeIdentityProviderInput) SetUserPoolId ¶ added in v1.8.33
func (s *DescribeIdentityProviderInput) SetUserPoolId(v string) *DescribeIdentityProviderInput
SetUserPoolId sets the UserPoolId field's value.
func (DescribeIdentityProviderInput) String ¶ added in v1.8.33
func (s DescribeIdentityProviderInput) String() string
String returns the string representation
func (*DescribeIdentityProviderInput) Validate ¶ added in v1.8.33
func (s *DescribeIdentityProviderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeIdentityProviderOutput ¶ added in v1.8.33
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 ¶ added in v1.8.33
func (s DescribeIdentityProviderOutput) GoString() string
GoString returns the string representation
func (*DescribeIdentityProviderOutput) SetIdentityProvider ¶ added in v1.8.33
func (s *DescribeIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *DescribeIdentityProviderOutput
SetIdentityProvider sets the IdentityProvider field's value.
func (DescribeIdentityProviderOutput) String ¶ added in v1.8.33
func (s DescribeIdentityProviderOutput) String() string
String returns the string representation
type DescribeResourceServerInput ¶ added in v1.10.24
type DescribeResourceServerInput struct { // The identifier for the resource server // // Identifier is a required field Identifier *string `min:"1" type:"string" required:"true"` // The user pool ID for the user pool that hosts the resource server. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeResourceServerInput) GoString ¶ added in v1.10.24
func (s DescribeResourceServerInput) GoString() string
GoString returns the string representation
func (*DescribeResourceServerInput) SetIdentifier ¶ added in v1.10.24
func (s *DescribeResourceServerInput) SetIdentifier(v string) *DescribeResourceServerInput
SetIdentifier sets the Identifier field's value.
func (*DescribeResourceServerInput) SetUserPoolId ¶ added in v1.10.24
func (s *DescribeResourceServerInput) SetUserPoolId(v string) *DescribeResourceServerInput
SetUserPoolId sets the UserPoolId field's value.
func (DescribeResourceServerInput) String ¶ added in v1.10.24
func (s DescribeResourceServerInput) String() string
String returns the string representation
func (*DescribeResourceServerInput) Validate ¶ added in v1.10.24
func (s *DescribeResourceServerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeResourceServerOutput ¶ added in v1.10.24
type DescribeResourceServerOutput struct { // The resource server. // // ResourceServer is a required field ResourceServer *ResourceServerType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeResourceServerOutput) GoString ¶ added in v1.10.24
func (s DescribeResourceServerOutput) GoString() string
GoString returns the string representation
func (*DescribeResourceServerOutput) SetResourceServer ¶ added in v1.10.24
func (s *DescribeResourceServerOutput) SetResourceServer(v *ResourceServerType) *DescribeResourceServerOutput
SetResourceServer sets the ResourceServer field's value.
func (DescribeResourceServerOutput) String ¶ added in v1.10.24
func (s DescribeResourceServerOutput) String() string
String returns the string representation
type DescribeRiskConfigurationInput ¶ added in v1.12.35
type DescribeRiskConfigurationInput struct { // The app client ID. ClientId *string `min:"1" type:"string" sensitive:"true"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeRiskConfigurationInput) GoString ¶ added in v1.12.35
func (s DescribeRiskConfigurationInput) GoString() string
GoString returns the string representation
func (*DescribeRiskConfigurationInput) SetClientId ¶ added in v1.12.35
func (s *DescribeRiskConfigurationInput) SetClientId(v string) *DescribeRiskConfigurationInput
SetClientId sets the ClientId field's value.
func (*DescribeRiskConfigurationInput) SetUserPoolId ¶ added in v1.12.35
func (s *DescribeRiskConfigurationInput) SetUserPoolId(v string) *DescribeRiskConfigurationInput
SetUserPoolId sets the UserPoolId field's value.
func (DescribeRiskConfigurationInput) String ¶ added in v1.12.35
func (s DescribeRiskConfigurationInput) String() string
String returns the string representation
func (*DescribeRiskConfigurationInput) Validate ¶ added in v1.12.35
func (s *DescribeRiskConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRiskConfigurationOutput ¶ added in v1.12.35
type DescribeRiskConfigurationOutput struct { // The risk configuration. // // RiskConfiguration is a required field RiskConfiguration *RiskConfigurationType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (DescribeRiskConfigurationOutput) GoString ¶ added in v1.12.35
func (s DescribeRiskConfigurationOutput) GoString() string
GoString returns the string representation
func (*DescribeRiskConfigurationOutput) SetRiskConfiguration ¶ added in v1.12.35
func (s *DescribeRiskConfigurationOutput) SetRiskConfiguration(v *RiskConfigurationType) *DescribeRiskConfigurationOutput
SetRiskConfiguration sets the RiskConfiguration field's value.
func (DescribeRiskConfigurationOutput) String ¶ added in v1.12.35
func (s DescribeRiskConfigurationOutput) String() string
String returns the string representation
type DescribeUserImportJobInput ¶ added in v1.4.6
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 }
Represents the request to describe the user import job.
func (DescribeUserImportJobInput) GoString ¶ added in v1.4.6
func (s DescribeUserImportJobInput) GoString() string
GoString returns the string representation
func (*DescribeUserImportJobInput) SetJobId ¶ added in v1.5.0
func (s *DescribeUserImportJobInput) SetJobId(v string) *DescribeUserImportJobInput
SetJobId sets the JobId field's value.
func (*DescribeUserImportJobInput) SetUserPoolId ¶ added in v1.5.0
func (s *DescribeUserImportJobInput) SetUserPoolId(v string) *DescribeUserImportJobInput
SetUserPoolId sets the UserPoolId field's value.
func (DescribeUserImportJobInput) String ¶ added in v1.4.6
func (s DescribeUserImportJobInput) String() string
String returns the string representation
func (*DescribeUserImportJobInput) Validate ¶ added in v1.4.6
func (s *DescribeUserImportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserImportJobOutput ¶ added in v1.4.6
type DescribeUserImportJobOutput struct { // The job object that represents the user import job. UserImportJob *UserImportJobType `type:"structure"` // contains filtered or unexported fields }
Represents the response from the server to the request to describe the user import job.
func (DescribeUserImportJobOutput) GoString ¶ added in v1.4.6
func (s DescribeUserImportJobOutput) GoString() string
GoString returns the string representation
func (*DescribeUserImportJobOutput) SetUserImportJob ¶ added in v1.5.0
func (s *DescribeUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *DescribeUserImportJobOutput
SetUserImportJob sets the UserImportJob field's value.
func (DescribeUserImportJobOutput) String ¶ added in v1.4.6
func (s DescribeUserImportJobOutput) String() string
String returns the string representation
type DescribeUserPoolClientInput ¶
type DescribeUserPoolClientInput struct { // The app client ID of the app associated with the user pool. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"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 }
Represents the request to describe a user pool client.
func (DescribeUserPoolClientInput) GoString ¶
func (s DescribeUserPoolClientInput) GoString() string
GoString returns the string representation
func (*DescribeUserPoolClientInput) SetClientId ¶ added in v1.5.0
func (s *DescribeUserPoolClientInput) SetClientId(v string) *DescribeUserPoolClientInput
SetClientId sets the ClientId field's value.
func (*DescribeUserPoolClientInput) SetUserPoolId ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *DescribeUserPoolClientInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserPoolClientOutput ¶
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 }
Represents the response from the server from a request to describe the user pool client.
func (DescribeUserPoolClientOutput) GoString ¶
func (s DescribeUserPoolClientOutput) GoString() string
GoString returns the string representation
func (*DescribeUserPoolClientOutput) SetUserPoolClient ¶ added in v1.5.0
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 ¶ added in v1.8.33
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 ¶ added in v1.8.33
func (s DescribeUserPoolDomainInput) GoString() string
GoString returns the string representation
func (*DescribeUserPoolDomainInput) SetDomain ¶ added in v1.8.33
func (s *DescribeUserPoolDomainInput) SetDomain(v string) *DescribeUserPoolDomainInput
SetDomain sets the Domain field's value.
func (DescribeUserPoolDomainInput) String ¶ added in v1.8.33
func (s DescribeUserPoolDomainInput) String() string
String returns the string representation
func (*DescribeUserPoolDomainInput) Validate ¶ added in v1.8.33
func (s *DescribeUserPoolDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserPoolDomainOutput ¶ added in v1.8.33
type DescribeUserPoolDomainOutput struct { // A domain description object containing information about the domain. DomainDescription *DomainDescriptionType `type:"structure"` // contains filtered or unexported fields }
func (DescribeUserPoolDomainOutput) GoString ¶ added in v1.8.33
func (s DescribeUserPoolDomainOutput) GoString() string
GoString returns the string representation
func (*DescribeUserPoolDomainOutput) SetDomainDescription ¶ added in v1.8.33
func (s *DescribeUserPoolDomainOutput) SetDomainDescription(v *DomainDescriptionType) *DescribeUserPoolDomainOutput
SetDomainDescription sets the DomainDescription field's value.
func (DescribeUserPoolDomainOutput) String ¶ added in v1.8.33
func (s DescribeUserPoolDomainOutput) String() string
String returns the string representation
type DescribeUserPoolInput ¶
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 }
Represents the request to describe the user pool.
func (DescribeUserPoolInput) GoString ¶
func (s DescribeUserPoolInput) GoString() string
GoString returns the string representation
func (*DescribeUserPoolInput) SetUserPoolId ¶ added in v1.5.0
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 ¶ added in v1.1.21
func (s *DescribeUserPoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUserPoolOutput ¶
type DescribeUserPoolOutput struct { // The container of metadata returned by the server to describe the pool. UserPool *UserPoolType `type:"structure"` // contains filtered or unexported fields }
Represents the response to describe the user pool.
func (DescribeUserPoolOutput) GoString ¶
func (s DescribeUserPoolOutput) GoString() string
GoString returns the string representation
func (*DescribeUserPoolOutput) SetUserPool ¶ added in v1.5.0
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 ¶ added in v1.2.10
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 }
The configuration for the user pool's device tracking.
func (DeviceConfigurationType) GoString ¶ added in v1.2.10
func (s DeviceConfigurationType) GoString() string
GoString returns the string representation
func (*DeviceConfigurationType) SetChallengeRequiredOnNewDevice ¶ added in v1.5.0
func (s *DeviceConfigurationType) SetChallengeRequiredOnNewDevice(v bool) *DeviceConfigurationType
SetChallengeRequiredOnNewDevice sets the ChallengeRequiredOnNewDevice field's value.
func (*DeviceConfigurationType) SetDeviceOnlyRememberedOnUserPrompt ¶ added in v1.5.0
func (s *DeviceConfigurationType) SetDeviceOnlyRememberedOnUserPrompt(v bool) *DeviceConfigurationType
SetDeviceOnlyRememberedOnUserPrompt sets the DeviceOnlyRememberedOnUserPrompt field's value.
func (DeviceConfigurationType) String ¶ added in v1.2.10
func (s DeviceConfigurationType) String() string
String returns the string representation
type DeviceSecretVerifierConfigType ¶ added in v1.2.10
type DeviceSecretVerifierConfigType struct { // The password verifier. PasswordVerifier *string `type:"string"` // The salt. Salt *string `type:"string"` // contains filtered or unexported fields }
The device verifier against which it will be authenticated.
func (DeviceSecretVerifierConfigType) GoString ¶ added in v1.2.10
func (s DeviceSecretVerifierConfigType) GoString() string
GoString returns the string representation
func (*DeviceSecretVerifierConfigType) SetPasswordVerifier ¶ added in v1.5.0
func (s *DeviceSecretVerifierConfigType) SetPasswordVerifier(v string) *DeviceSecretVerifierConfigType
SetPasswordVerifier sets the PasswordVerifier field's value.
func (*DeviceSecretVerifierConfigType) SetSalt ¶ added in v1.5.0
func (s *DeviceSecretVerifierConfigType) SetSalt(v string) *DeviceSecretVerifierConfigType
SetSalt sets the Salt field's value.
func (DeviceSecretVerifierConfigType) String ¶ added in v1.2.10
func (s DeviceSecretVerifierConfigType) String() string
String returns the string representation
type DeviceType ¶ added in v1.2.10
type DeviceType struct { // The device attributes. DeviceAttributes []*AttributeType `type:"list"` // The creation date of the device. DeviceCreateDate *time.Time `type:"timestamp"` // The device key. DeviceKey *string `min:"1" type:"string"` // The date in which the device was last authenticated. DeviceLastAuthenticatedDate *time.Time `type:"timestamp"` // The last modified date of the device. DeviceLastModifiedDate *time.Time `type:"timestamp"` // contains filtered or unexported fields }
The device type.
func (DeviceType) GoString ¶ added in v1.2.10
func (s DeviceType) GoString() string
GoString returns the string representation
func (*DeviceType) SetDeviceAttributes ¶ added in v1.5.0
func (s *DeviceType) SetDeviceAttributes(v []*AttributeType) *DeviceType
SetDeviceAttributes sets the DeviceAttributes field's value.
func (*DeviceType) SetDeviceCreateDate ¶ added in v1.5.0
func (s *DeviceType) SetDeviceCreateDate(v time.Time) *DeviceType
SetDeviceCreateDate sets the DeviceCreateDate field's value.
func (*DeviceType) SetDeviceKey ¶ added in v1.5.0
func (s *DeviceType) SetDeviceKey(v string) *DeviceType
SetDeviceKey sets the DeviceKey field's value.
func (*DeviceType) SetDeviceLastAuthenticatedDate ¶ added in v1.5.0
func (s *DeviceType) SetDeviceLastAuthenticatedDate(v time.Time) *DeviceType
SetDeviceLastAuthenticatedDate sets the DeviceLastAuthenticatedDate field's value.
func (*DeviceType) SetDeviceLastModifiedDate ¶ added in v1.5.0
func (s *DeviceType) SetDeviceLastModifiedDate(v time.Time) *DeviceType
SetDeviceLastModifiedDate sets the DeviceLastModifiedDate field's value.
func (DeviceType) String ¶ added in v1.2.10
func (s DeviceType) String() string
String returns the string representation
type DomainDescriptionType ¶ added in v1.8.33
type DomainDescriptionType struct { // The AWS account ID for the user pool owner. AWSAccountId *string `type:"string"` // The ARN of the CloudFront distribution. CloudFrontDistribution *string `type:"string"` // The configuration for a custom domain that hosts the sign-up and sign-in // webpages for your application. CustomDomainConfig *CustomDomainConfigType `type:"structure"` // 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 }
A container for information about a domain.
func (DomainDescriptionType) GoString ¶ added in v1.8.33
func (s DomainDescriptionType) GoString() string
GoString returns the string representation
func (*DomainDescriptionType) SetAWSAccountId ¶ added in v1.8.33
func (s *DomainDescriptionType) SetAWSAccountId(v string) *DomainDescriptionType
SetAWSAccountId sets the AWSAccountId field's value.
func (*DomainDescriptionType) SetCloudFrontDistribution ¶ added in v1.8.33
func (s *DomainDescriptionType) SetCloudFrontDistribution(v string) *DomainDescriptionType
SetCloudFrontDistribution sets the CloudFrontDistribution field's value.
func (*DomainDescriptionType) SetCustomDomainConfig ¶ added in v1.15.20
func (s *DomainDescriptionType) SetCustomDomainConfig(v *CustomDomainConfigType) *DomainDescriptionType
SetCustomDomainConfig sets the CustomDomainConfig field's value.
func (*DomainDescriptionType) SetDomain ¶ added in v1.8.33
func (s *DomainDescriptionType) SetDomain(v string) *DomainDescriptionType
SetDomain sets the Domain field's value.
func (*DomainDescriptionType) SetS3Bucket ¶ added in v1.8.33
func (s *DomainDescriptionType) SetS3Bucket(v string) *DomainDescriptionType
SetS3Bucket sets the S3Bucket field's value.
func (*DomainDescriptionType) SetStatus ¶ added in v1.8.33
func (s *DomainDescriptionType) SetStatus(v string) *DomainDescriptionType
SetStatus sets the Status field's value.
func (*DomainDescriptionType) SetUserPoolId ¶ added in v1.8.33
func (s *DomainDescriptionType) SetUserPoolId(v string) *DomainDescriptionType
SetUserPoolId sets the UserPoolId field's value.
func (*DomainDescriptionType) SetVersion ¶ added in v1.8.33
func (s *DomainDescriptionType) SetVersion(v string) *DomainDescriptionType
SetVersion sets the Version field's value.
func (DomainDescriptionType) String ¶ added in v1.8.33
func (s DomainDescriptionType) String() string
String returns the string representation
type DuplicateProviderException ¶ added in v1.28.0
type DuplicateProviderException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the provider is already supported by the user pool.
func (*DuplicateProviderException) Code ¶ added in v1.28.0
func (s *DuplicateProviderException) Code() string
Code returns the exception type name.
func (*DuplicateProviderException) Error ¶ added in v1.28.0
func (s *DuplicateProviderException) Error() string
func (DuplicateProviderException) GoString ¶ added in v1.28.0
func (s DuplicateProviderException) GoString() string
GoString returns the string representation
func (*DuplicateProviderException) Message ¶ added in v1.28.0
func (s *DuplicateProviderException) Message() string
Message returns the exception's message.
func (*DuplicateProviderException) OrigErr ¶ added in v1.28.0
func (s *DuplicateProviderException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*DuplicateProviderException) RequestID ¶ added in v1.28.0
func (s *DuplicateProviderException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*DuplicateProviderException) StatusCode ¶ added in v1.28.0
func (s *DuplicateProviderException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (DuplicateProviderException) String ¶ added in v1.28.0
func (s DuplicateProviderException) String() string
String returns the string representation
type EmailConfigurationType ¶ added in v1.2.10
type EmailConfigurationType struct { // The set of configuration rules that can be applied to emails sent using Amazon // SES. A configuration set is applied to an email by including a reference // to the configuration set in the headers of the email. Once applied, all of // the rules in that configuration set are applied to the email. Configuration // sets can be used to apply the following types of rules to emails: // // * Event publishing – Amazon SES can track the number of send, delivery, // open, click, bounce, and complaint events for each email sent. Use event // publishing to send information about these events to other AWS services // such as SNS and CloudWatch. // // * IP pool management – When leasing dedicated IP addresses with Amazon // SES, you can create groups of IP addresses, called dedicated IP pools. // You can then associate the dedicated IP pools with configuration sets. ConfigurationSet *string `min:"1" type:"string"` // Specifies whether Amazon Cognito emails your users by using its built-in // email functionality or your Amazon SES email configuration. Specify one of // the following values: // // COGNITO_DEFAULT // // When Amazon Cognito emails your users, it uses its built-in email functionality. // When you use the default option, Amazon Cognito allows only a limited number // of emails each day for your user pool. For typical production environments, // the default email limit is below the required delivery volume. To achieve // a higher delivery volume, specify DEVELOPER to use your Amazon SES email // configuration. // // To look up the email delivery limit for the default option, see Limits in // Amazon Cognito (https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html) // in the Amazon Cognito Developer Guide. // // The default FROM address is no-reply@verificationemail.com. To customize // the FROM address, provide the ARN of an Amazon SES verified email address // for the SourceArn parameter. // // If EmailSendingAccount is COGNITO_DEFAULT, the following parameters aren't // allowed: // // * EmailVerificationMessage // // * EmailVerificationSubject // // * InviteMessageTemplate.EmailMessage // // * InviteMessageTemplate.EmailSubject // // * VerificationMessageTemplate.EmailMessage // // * VerificationMessageTemplate.EmailMessageByLink // // * VerificationMessageTemplate.EmailSubject, // // * VerificationMessageTemplate.EmailSubjectByLink // // DEVELOPER EmailSendingAccount is required. // // DEVELOPER // // When Amazon Cognito emails your users, it uses your Amazon SES configuration. // Amazon Cognito calls Amazon SES on your behalf to send email from your verified // email address. When you use this option, the email delivery limits are the // same limits that apply to your Amazon SES verified email address in your // AWS account. // // If you use this option, you must provide the ARN of an Amazon SES verified // email address for the SourceArn parameter. // // Before Amazon Cognito can email your users, it requires additional permissions // to call Amazon SES on your behalf. When you update your user pool with this // option, Amazon Cognito creates a service-linked role, which is a type of // IAM role, in your AWS account. This role contains the permissions that allow // Amazon Cognito to access Amazon SES and send email messages with your address. // For more information about the service-linked role that Amazon Cognito creates, // see Using Service-Linked Roles for Amazon Cognito (https://docs.aws.amazon.com/cognito/latest/developerguide/using-service-linked-roles.html) // in the Amazon Cognito Developer Guide. EmailSendingAccount *string `type:"string" enum:"EmailSendingAccountType"` // Identifies either the sender’s email address or the sender’s name with // their email address. For example, testuser@example.com or Test User <testuser@example.com>. // This address will appear before the body of the email. From *string `type:"string"` // The destination to which the receiver of the email should reply to. ReplyToEmailAddress *string `type:"string"` // The Amazon Resource Name (ARN) of a verified email address in Amazon SES. // This email address is used in one of the following ways, depending on the // value that you specify for the EmailSendingAccount parameter: // // * If you specify COGNITO_DEFAULT, Amazon Cognito uses this address as // the custom FROM address when it emails your users by using its built-in // email account. // // * If you specify DEVELOPER, Amazon Cognito emails your users with this // address by calling Amazon SES on your behalf. SourceArn *string `min:"20" type:"string"` // contains filtered or unexported fields }
The email configuration type.
Amazon Cognito has specific regions for use with Amazon SES. For more information on the supported regions, see Email Settings for Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html).
func (EmailConfigurationType) GoString ¶ added in v1.2.10
func (s EmailConfigurationType) GoString() string
GoString returns the string representation
func (*EmailConfigurationType) SetConfigurationSet ¶ added in v1.25.36
func (s *EmailConfigurationType) SetConfigurationSet(v string) *EmailConfigurationType
SetConfigurationSet sets the ConfigurationSet field's value.
func (*EmailConfigurationType) SetEmailSendingAccount ¶ added in v1.19.12
func (s *EmailConfigurationType) SetEmailSendingAccount(v string) *EmailConfigurationType
SetEmailSendingAccount sets the EmailSendingAccount field's value.
func (*EmailConfigurationType) SetFrom ¶ added in v1.25.36
func (s *EmailConfigurationType) SetFrom(v string) *EmailConfigurationType
SetFrom sets the From field's value.
func (*EmailConfigurationType) SetReplyToEmailAddress ¶ added in v1.5.0
func (s *EmailConfigurationType) SetReplyToEmailAddress(v string) *EmailConfigurationType
SetReplyToEmailAddress sets the ReplyToEmailAddress field's value.
func (*EmailConfigurationType) SetSourceArn ¶ added in v1.5.0
func (s *EmailConfigurationType) SetSourceArn(v string) *EmailConfigurationType
SetSourceArn sets the SourceArn field's value.
func (EmailConfigurationType) String ¶ added in v1.2.10
func (s EmailConfigurationType) String() string
String returns the string representation
func (*EmailConfigurationType) Validate ¶ added in v1.2.10
func (s *EmailConfigurationType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableSoftwareTokenMFAException ¶ added in v1.28.0
type EnableSoftwareTokenMFAException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when there is a code mismatch and the service fails to configure the software token TOTP multi-factor authentication (MFA).
func (*EnableSoftwareTokenMFAException) Code ¶ added in v1.28.0
func (s *EnableSoftwareTokenMFAException) Code() string
Code returns the exception type name.
func (*EnableSoftwareTokenMFAException) Error ¶ added in v1.28.0
func (s *EnableSoftwareTokenMFAException) Error() string
func (EnableSoftwareTokenMFAException) GoString ¶ added in v1.28.0
func (s EnableSoftwareTokenMFAException) GoString() string
GoString returns the string representation
func (*EnableSoftwareTokenMFAException) Message ¶ added in v1.28.0
func (s *EnableSoftwareTokenMFAException) Message() string
Message returns the exception's message.
func (*EnableSoftwareTokenMFAException) OrigErr ¶ added in v1.28.0
func (s *EnableSoftwareTokenMFAException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EnableSoftwareTokenMFAException) RequestID ¶ added in v1.28.0
func (s *EnableSoftwareTokenMFAException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EnableSoftwareTokenMFAException) StatusCode ¶ added in v1.28.0
func (s *EnableSoftwareTokenMFAException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EnableSoftwareTokenMFAException) String ¶ added in v1.28.0
func (s EnableSoftwareTokenMFAException) String() string
String returns the string representation
type EventContextDataType ¶ added in v1.12.35
type EventContextDataType struct { // The user's city. City *string `type:"string"` // The user's country. Country *string `type:"string"` // The user's device name. DeviceName *string `type:"string"` // The user's IP address. IpAddress *string `type:"string"` // The user's time zone. Timezone *string `type:"string"` // contains filtered or unexported fields }
Specifies the user context data captured at the time of an event request.
func (EventContextDataType) GoString ¶ added in v1.12.35
func (s EventContextDataType) GoString() string
GoString returns the string representation
func (*EventContextDataType) SetCity ¶ added in v1.12.35
func (s *EventContextDataType) SetCity(v string) *EventContextDataType
SetCity sets the City field's value.
func (*EventContextDataType) SetCountry ¶ added in v1.12.35
func (s *EventContextDataType) SetCountry(v string) *EventContextDataType
SetCountry sets the Country field's value.
func (*EventContextDataType) SetDeviceName ¶ added in v1.12.35
func (s *EventContextDataType) SetDeviceName(v string) *EventContextDataType
SetDeviceName sets the DeviceName field's value.
func (*EventContextDataType) SetIpAddress ¶ added in v1.12.35
func (s *EventContextDataType) SetIpAddress(v string) *EventContextDataType
SetIpAddress sets the IpAddress field's value.
func (*EventContextDataType) SetTimezone ¶ added in v1.12.35
func (s *EventContextDataType) SetTimezone(v string) *EventContextDataType
SetTimezone sets the Timezone field's value.
func (EventContextDataType) String ¶ added in v1.12.35
func (s EventContextDataType) String() string
String returns the string representation
type EventFeedbackType ¶ added in v1.12.35
type EventFeedbackType struct { // The event feedback date. FeedbackDate *time.Time `type:"timestamp"` // The event feedback value. // // FeedbackValue is a required field FeedbackValue *string `type:"string" required:"true" enum:"FeedbackValueType"` // The provider. // // Provider is a required field Provider *string `type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the event feedback type.
func (EventFeedbackType) GoString ¶ added in v1.12.35
func (s EventFeedbackType) GoString() string
GoString returns the string representation
func (*EventFeedbackType) SetFeedbackDate ¶ added in v1.12.35
func (s *EventFeedbackType) SetFeedbackDate(v time.Time) *EventFeedbackType
SetFeedbackDate sets the FeedbackDate field's value.
func (*EventFeedbackType) SetFeedbackValue ¶ added in v1.12.35
func (s *EventFeedbackType) SetFeedbackValue(v string) *EventFeedbackType
SetFeedbackValue sets the FeedbackValue field's value.
func (*EventFeedbackType) SetProvider ¶ added in v1.12.35
func (s *EventFeedbackType) SetProvider(v string) *EventFeedbackType
SetProvider sets the Provider field's value.
func (EventFeedbackType) String ¶ added in v1.12.35
func (s EventFeedbackType) String() string
String returns the string representation
type EventRiskType ¶ added in v1.12.35
type EventRiskType struct { // Indicates whether compromised credentials were detected during an authentication // event. CompromisedCredentialsDetected *bool `type:"boolean"` // The risk decision. RiskDecision *string `type:"string" enum:"RiskDecisionType"` // The risk level. RiskLevel *string `type:"string" enum:"RiskLevelType"` // contains filtered or unexported fields }
The event risk type.
func (EventRiskType) GoString ¶ added in v1.12.35
func (s EventRiskType) GoString() string
GoString returns the string representation
func (*EventRiskType) SetCompromisedCredentialsDetected ¶ added in v1.29.25
func (s *EventRiskType) SetCompromisedCredentialsDetected(v bool) *EventRiskType
SetCompromisedCredentialsDetected sets the CompromisedCredentialsDetected field's value.
func (*EventRiskType) SetRiskDecision ¶ added in v1.12.35
func (s *EventRiskType) SetRiskDecision(v string) *EventRiskType
SetRiskDecision sets the RiskDecision field's value.
func (*EventRiskType) SetRiskLevel ¶ added in v1.12.35
func (s *EventRiskType) SetRiskLevel(v string) *EventRiskType
SetRiskLevel sets the RiskLevel field's value.
func (EventRiskType) String ¶ added in v1.12.35
func (s EventRiskType) String() string
String returns the string representation
type ExpiredCodeException ¶ added in v1.28.0
type ExpiredCodeException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the expired code exception is thrown. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown if a code has expired.
func (*ExpiredCodeException) Code ¶ added in v1.28.0
func (s *ExpiredCodeException) Code() string
Code returns the exception type name.
func (*ExpiredCodeException) Error ¶ added in v1.28.0
func (s *ExpiredCodeException) Error() string
func (ExpiredCodeException) GoString ¶ added in v1.28.0
func (s ExpiredCodeException) GoString() string
GoString returns the string representation
func (*ExpiredCodeException) Message ¶ added in v1.28.0
func (s *ExpiredCodeException) Message() string
Message returns the exception's message.
func (*ExpiredCodeException) OrigErr ¶ added in v1.28.0
func (s *ExpiredCodeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ExpiredCodeException) RequestID ¶ added in v1.28.0
func (s *ExpiredCodeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ExpiredCodeException) StatusCode ¶ added in v1.28.0
func (s *ExpiredCodeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ExpiredCodeException) String ¶ added in v1.28.0
func (s ExpiredCodeException) String() string
String returns the string representation
type ForgetDeviceInput ¶ added in v1.2.10
type ForgetDeviceInput struct { // The access token for the forgotten device request. AccessToken *string `type:"string" sensitive:"true"` // The device key. // // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the request to forget the device.
func (ForgetDeviceInput) GoString ¶ added in v1.2.10
func (s ForgetDeviceInput) GoString() string
GoString returns the string representation
func (*ForgetDeviceInput) SetAccessToken ¶ added in v1.5.0
func (s *ForgetDeviceInput) SetAccessToken(v string) *ForgetDeviceInput
SetAccessToken sets the AccessToken field's value.
func (*ForgetDeviceInput) SetDeviceKey ¶ added in v1.5.0
func (s *ForgetDeviceInput) SetDeviceKey(v string) *ForgetDeviceInput
SetDeviceKey sets the DeviceKey field's value.
func (ForgetDeviceInput) String ¶ added in v1.2.10
func (s ForgetDeviceInput) String() string
String returns the string representation
func (*ForgetDeviceInput) Validate ¶ added in v1.2.10
func (s *ForgetDeviceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ForgetDeviceOutput ¶ added in v1.2.10
type ForgetDeviceOutput struct {
// contains filtered or unexported fields
}
func (ForgetDeviceOutput) GoString ¶ added in v1.2.10
func (s ForgetDeviceOutput) GoString() string
GoString returns the string representation
func (ForgetDeviceOutput) String ¶ added in v1.2.10
func (s ForgetDeviceOutput) String() string
String returns the string representation
type ForgotPasswordInput ¶
type ForgotPasswordInput struct { // The Amazon Pinpoint analytics metadata for collecting metrics for ForgotPassword // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` // The ID of the client associated with the user pool. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the ForgotPassword API action, Amazon Cognito invokes // any functions that are assigned to the following triggers: pre sign-up, custom // message, and user migration. When Amazon Cognito invokes any of these functions, // it passes a JSON payload, which the function receives as input. This payload // contains a clientMetadata attribute, which provides the data that you assigned // to the ClientMetadata parameter in your ForgotPassword request. In your function // code in AWS Lambda, you can process the clientMetadata value to enhance your // workflow for your specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // 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" sensitive:"true"` // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. UserContextData *UserContextDataType `type:"structure"` // The user name of the user for whom you want to enter a code to reset a forgotten // password. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to reset a user's password.
func (ForgotPasswordInput) GoString ¶
func (s ForgotPasswordInput) GoString() string
GoString returns the string representation
func (*ForgotPasswordInput) SetAnalyticsMetadata ¶ added in v1.12.35
func (s *ForgotPasswordInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ForgotPasswordInput
SetAnalyticsMetadata sets the AnalyticsMetadata field's value.
func (*ForgotPasswordInput) SetClientId ¶ added in v1.5.0
func (s *ForgotPasswordInput) SetClientId(v string) *ForgotPasswordInput
SetClientId sets the ClientId field's value.
func (*ForgotPasswordInput) SetClientMetadata ¶ added in v1.25.6
func (s *ForgotPasswordInput) SetClientMetadata(v map[string]*string) *ForgotPasswordInput
SetClientMetadata sets the ClientMetadata field's value.
func (*ForgotPasswordInput) SetSecretHash ¶ added in v1.5.0
func (s *ForgotPasswordInput) SetSecretHash(v string) *ForgotPasswordInput
SetSecretHash sets the SecretHash field's value.
func (*ForgotPasswordInput) SetUserContextData ¶ added in v1.12.35
func (s *ForgotPasswordInput) SetUserContextData(v *UserContextDataType) *ForgotPasswordInput
SetUserContextData sets the UserContextData field's value.
func (*ForgotPasswordInput) SetUsername ¶ added in v1.5.0
func (s *ForgotPasswordInput) SetUsername(v string) *ForgotPasswordInput
SetUsername sets the Username field's value.
func (ForgotPasswordInput) String ¶
func (s ForgotPasswordInput) String() string
String returns the string representation
func (*ForgotPasswordInput) Validate ¶ added in v1.1.21
func (s *ForgotPasswordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ForgotPasswordOutput ¶
type ForgotPasswordOutput struct { // The code delivery details returned by the server in response to the request // to reset a password. CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` // contains filtered or unexported fields }
Respresents the response from the server regarding the request to reset a password.
func (ForgotPasswordOutput) GoString ¶
func (s ForgotPasswordOutput) GoString() string
GoString returns the string representation
func (*ForgotPasswordOutput) SetCodeDeliveryDetails ¶ added in v1.5.0
func (s *ForgotPasswordOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ForgotPasswordOutput
SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value.
func (ForgotPasswordOutput) String ¶
func (s ForgotPasswordOutput) String() string
String returns the string representation
type GetCSVHeaderInput ¶ added in v1.4.6
type GetCSVHeaderInput struct { // The user pool ID for the user pool that the users are to be imported into. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the request to get the header information for the .csv file for the user import job.
func (GetCSVHeaderInput) GoString ¶ added in v1.4.6
func (s GetCSVHeaderInput) GoString() string
GoString returns the string representation
func (*GetCSVHeaderInput) SetUserPoolId ¶ added in v1.5.0
func (s *GetCSVHeaderInput) SetUserPoolId(v string) *GetCSVHeaderInput
SetUserPoolId sets the UserPoolId field's value.
func (GetCSVHeaderInput) String ¶ added in v1.4.6
func (s GetCSVHeaderInput) String() string
String returns the string representation
func (*GetCSVHeaderInput) Validate ¶ added in v1.4.6
func (s *GetCSVHeaderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCSVHeaderOutput ¶ added in v1.4.6
type GetCSVHeaderOutput struct { // The header information for the .csv file for the user import job. CSVHeader []*string `type:"list"` // The user pool ID for the user pool that the users are to be imported into. UserPoolId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Represents the response from the server to the request to get the header information for the .csv file for the user import job.
func (GetCSVHeaderOutput) GoString ¶ added in v1.4.6
func (s GetCSVHeaderOutput) GoString() string
GoString returns the string representation
func (*GetCSVHeaderOutput) SetCSVHeader ¶ added in v1.5.0
func (s *GetCSVHeaderOutput) SetCSVHeader(v []*string) *GetCSVHeaderOutput
SetCSVHeader sets the CSVHeader field's value.
func (*GetCSVHeaderOutput) SetUserPoolId ¶ added in v1.5.0
func (s *GetCSVHeaderOutput) SetUserPoolId(v string) *GetCSVHeaderOutput
SetUserPoolId sets the UserPoolId field's value.
func (GetCSVHeaderOutput) String ¶ added in v1.4.6
func (s GetCSVHeaderOutput) String() string
String returns the string representation
type GetDeviceInput ¶ added in v1.2.10
type GetDeviceInput struct { // The access token. AccessToken *string `type:"string" sensitive:"true"` // The device key. // // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the request to get the device.
func (GetDeviceInput) GoString ¶ added in v1.2.10
func (s GetDeviceInput) GoString() string
GoString returns the string representation
func (*GetDeviceInput) SetAccessToken ¶ added in v1.5.0
func (s *GetDeviceInput) SetAccessToken(v string) *GetDeviceInput
SetAccessToken sets the AccessToken field's value.
func (*GetDeviceInput) SetDeviceKey ¶ added in v1.5.0
func (s *GetDeviceInput) SetDeviceKey(v string) *GetDeviceInput
SetDeviceKey sets the DeviceKey field's value.
func (GetDeviceInput) String ¶ added in v1.2.10
func (s GetDeviceInput) String() string
String returns the string representation
func (*GetDeviceInput) Validate ¶ added in v1.2.10
func (s *GetDeviceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDeviceOutput ¶ added in v1.2.10
type GetDeviceOutput struct { // The device. // // Device is a required field Device *DeviceType `type:"structure" required:"true"` // contains filtered or unexported fields }
Gets the device response.
func (GetDeviceOutput) GoString ¶ added in v1.2.10
func (s GetDeviceOutput) GoString() string
GoString returns the string representation
func (*GetDeviceOutput) SetDevice ¶ added in v1.5.0
func (s *GetDeviceOutput) SetDevice(v *DeviceType) *GetDeviceOutput
SetDevice sets the Device field's value.
func (GetDeviceOutput) String ¶ added in v1.2.10
func (s GetDeviceOutput) String() string
String returns the string representation
type GetGroupInput ¶ added in v1.6.4
type GetGroupInput 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 (GetGroupInput) GoString ¶ added in v1.6.4
func (s GetGroupInput) GoString() string
GoString returns the string representation
func (*GetGroupInput) SetGroupName ¶ added in v1.6.4
func (s *GetGroupInput) SetGroupName(v string) *GetGroupInput
SetGroupName sets the GroupName field's value.
func (*GetGroupInput) SetUserPoolId ¶ added in v1.6.4
func (s *GetGroupInput) SetUserPoolId(v string) *GetGroupInput
SetUserPoolId sets the UserPoolId field's value.
func (GetGroupInput) String ¶ added in v1.6.4
func (s GetGroupInput) String() string
String returns the string representation
func (*GetGroupInput) Validate ¶ added in v1.6.4
func (s *GetGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetGroupOutput ¶ added in v1.6.4
type GetGroupOutput struct { // The group object for the group. Group *GroupType `type:"structure"` // contains filtered or unexported fields }
func (GetGroupOutput) GoString ¶ added in v1.6.4
func (s GetGroupOutput) GoString() string
GoString returns the string representation
func (*GetGroupOutput) SetGroup ¶ added in v1.6.4
func (s *GetGroupOutput) SetGroup(v *GroupType) *GetGroupOutput
SetGroup sets the Group field's value.
func (GetGroupOutput) String ¶ added in v1.6.4
func (s GetGroupOutput) String() string
String returns the string representation
type GetIdentityProviderByIdentifierInput ¶ added in v1.8.33
type GetIdentityProviderByIdentifierInput struct { // The identity provider ID. // // IdpIdentifier is a required field IdpIdentifier *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 (GetIdentityProviderByIdentifierInput) GoString ¶ added in v1.8.33
func (s GetIdentityProviderByIdentifierInput) GoString() string
GoString returns the string representation
func (*GetIdentityProviderByIdentifierInput) SetIdpIdentifier ¶ added in v1.8.33
func (s *GetIdentityProviderByIdentifierInput) SetIdpIdentifier(v string) *GetIdentityProviderByIdentifierInput
SetIdpIdentifier sets the IdpIdentifier field's value.
func (*GetIdentityProviderByIdentifierInput) SetUserPoolId ¶ added in v1.8.33
func (s *GetIdentityProviderByIdentifierInput) SetUserPoolId(v string) *GetIdentityProviderByIdentifierInput
SetUserPoolId sets the UserPoolId field's value.
func (GetIdentityProviderByIdentifierInput) String ¶ added in v1.8.33
func (s GetIdentityProviderByIdentifierInput) String() string
String returns the string representation
func (*GetIdentityProviderByIdentifierInput) Validate ¶ added in v1.8.33
func (s *GetIdentityProviderByIdentifierInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetIdentityProviderByIdentifierOutput ¶ added in v1.8.33
type GetIdentityProviderByIdentifierOutput struct { // The identity provider object. // // IdentityProvider is a required field IdentityProvider *IdentityProviderType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (GetIdentityProviderByIdentifierOutput) GoString ¶ added in v1.8.33
func (s GetIdentityProviderByIdentifierOutput) GoString() string
GoString returns the string representation
func (*GetIdentityProviderByIdentifierOutput) SetIdentityProvider ¶ added in v1.8.33
func (s *GetIdentityProviderByIdentifierOutput) SetIdentityProvider(v *IdentityProviderType) *GetIdentityProviderByIdentifierOutput
SetIdentityProvider sets the IdentityProvider field's value.
func (GetIdentityProviderByIdentifierOutput) String ¶ added in v1.8.33
func (s GetIdentityProviderByIdentifierOutput) String() string
String returns the string representation
type GetSigningCertificateInput ¶ added in v1.12.75
type GetSigningCertificateInput struct { // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Request to get a signing certificate from Cognito.
func (GetSigningCertificateInput) GoString ¶ added in v1.12.75
func (s GetSigningCertificateInput) GoString() string
GoString returns the string representation
func (*GetSigningCertificateInput) SetUserPoolId ¶ added in v1.12.75
func (s *GetSigningCertificateInput) SetUserPoolId(v string) *GetSigningCertificateInput
SetUserPoolId sets the UserPoolId field's value.
func (GetSigningCertificateInput) String ¶ added in v1.12.75
func (s GetSigningCertificateInput) String() string
String returns the string representation
func (*GetSigningCertificateInput) Validate ¶ added in v1.12.75
func (s *GetSigningCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetSigningCertificateOutput ¶ added in v1.12.75
type GetSigningCertificateOutput struct { // The signing certificate. Certificate *string `type:"string"` // contains filtered or unexported fields }
Response from Cognito for a signing certificate request.
func (GetSigningCertificateOutput) GoString ¶ added in v1.12.75
func (s GetSigningCertificateOutput) GoString() string
GoString returns the string representation
func (*GetSigningCertificateOutput) SetCertificate ¶ added in v1.12.75
func (s *GetSigningCertificateOutput) SetCertificate(v string) *GetSigningCertificateOutput
SetCertificate sets the Certificate field's value.
func (GetSigningCertificateOutput) String ¶ added in v1.12.75
func (s GetSigningCertificateOutput) String() string
String returns the string representation
type GetUICustomizationInput ¶ added in v1.10.24
type GetUICustomizationInput struct { // The client ID for the client app. ClientId *string `min:"1" type:"string" sensitive:"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 (GetUICustomizationInput) GoString ¶ added in v1.10.24
func (s GetUICustomizationInput) GoString() string
GoString returns the string representation
func (*GetUICustomizationInput) SetClientId ¶ added in v1.10.24
func (s *GetUICustomizationInput) SetClientId(v string) *GetUICustomizationInput
SetClientId sets the ClientId field's value.
func (*GetUICustomizationInput) SetUserPoolId ¶ added in v1.10.24
func (s *GetUICustomizationInput) SetUserPoolId(v string) *GetUICustomizationInput
SetUserPoolId sets the UserPoolId field's value.
func (GetUICustomizationInput) String ¶ added in v1.10.24
func (s GetUICustomizationInput) String() string
String returns the string representation
func (*GetUICustomizationInput) Validate ¶ added in v1.10.24
func (s *GetUICustomizationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetUICustomizationOutput ¶ added in v1.10.24
type GetUICustomizationOutput struct { // The UI customization information. // // UICustomization is a required field UICustomization *UICustomizationType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (GetUICustomizationOutput) GoString ¶ added in v1.10.24
func (s GetUICustomizationOutput) GoString() string
GoString returns the string representation
func (*GetUICustomizationOutput) SetUICustomization ¶ added in v1.10.24
func (s *GetUICustomizationOutput) SetUICustomization(v *UICustomizationType) *GetUICustomizationOutput
SetUICustomization sets the UICustomization field's value.
func (GetUICustomizationOutput) String ¶ added in v1.10.24
func (s GetUICustomizationOutput) String() string
String returns the string representation
type GetUserAttributeVerificationCodeInput ¶
type GetUserAttributeVerificationCodeInput struct { // The access token returned by the server response to get the user attribute // verification code. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // The attribute name returned by the server response to get the user attribute // verification code. // // AttributeName is a required field AttributeName *string `min:"1" type:"string" required:"true"` // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the GetUserAttributeVerificationCode API action, Amazon // Cognito invokes the function that is assigned to the custom message trigger. // When Amazon Cognito invokes this function, it passes a JSON payload, which // the function receives as input. This payload contains a clientMetadata attribute, // which provides the data that you assigned to the ClientMetadata parameter // in your GetUserAttributeVerificationCode request. In your function code in // AWS Lambda, you can process the clientMetadata value to enhance your workflow // for your specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // contains filtered or unexported fields }
Represents the request to get user attribute verification.
func (GetUserAttributeVerificationCodeInput) GoString ¶
func (s GetUserAttributeVerificationCodeInput) GoString() string
GoString returns the string representation
func (*GetUserAttributeVerificationCodeInput) SetAccessToken ¶ added in v1.5.0
func (s *GetUserAttributeVerificationCodeInput) SetAccessToken(v string) *GetUserAttributeVerificationCodeInput
SetAccessToken sets the AccessToken field's value.
func (*GetUserAttributeVerificationCodeInput) SetAttributeName ¶ added in v1.5.0
func (s *GetUserAttributeVerificationCodeInput) SetAttributeName(v string) *GetUserAttributeVerificationCodeInput
SetAttributeName sets the AttributeName field's value.
func (*GetUserAttributeVerificationCodeInput) SetClientMetadata ¶ added in v1.25.6
func (s *GetUserAttributeVerificationCodeInput) SetClientMetadata(v map[string]*string) *GetUserAttributeVerificationCodeInput
SetClientMetadata sets the ClientMetadata field's value.
func (GetUserAttributeVerificationCodeInput) String ¶
func (s GetUserAttributeVerificationCodeInput) String() string
String returns the string representation
func (*GetUserAttributeVerificationCodeInput) Validate ¶ added in v1.1.21
func (s *GetUserAttributeVerificationCodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetUserAttributeVerificationCodeOutput ¶
type GetUserAttributeVerificationCodeOutput struct { // The code delivery details returned by the server in response to the request // to get the user attribute verification code. CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` // contains filtered or unexported fields }
The verification code response returned by the server response to get the user attribute verification code.
func (GetUserAttributeVerificationCodeOutput) GoString ¶
func (s GetUserAttributeVerificationCodeOutput) GoString() string
GoString returns the string representation
func (*GetUserAttributeVerificationCodeOutput) SetCodeDeliveryDetails ¶ added in v1.5.0
func (s *GetUserAttributeVerificationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *GetUserAttributeVerificationCodeOutput
SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value.
func (GetUserAttributeVerificationCodeOutput) String ¶
func (s GetUserAttributeVerificationCodeOutput) String() string
String returns the string representation
type GetUserInput ¶
type GetUserInput struct { // The access token returned by the server response to get information about // the user. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to get information about the user.
func (GetUserInput) GoString ¶
func (s GetUserInput) GoString() string
GoString returns the string representation
func (*GetUserInput) SetAccessToken ¶ added in v1.5.0
func (s *GetUserInput) SetAccessToken(v string) *GetUserInput
SetAccessToken sets the AccessToken field's value.
func (GetUserInput) String ¶
func (s GetUserInput) String() string
String returns the string representation
func (*GetUserInput) Validate ¶ added in v1.8.33
func (s *GetUserInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetUserOutput ¶
type GetUserOutput struct { // This response parameter is no longer supported. It provides information only // about SMS MFA configurations. It doesn't provide information about TOTP software // token MFA configurations. To look up information about either type of MFA // configuration, use UserMFASettingList instead. MFAOptions []*MFAOptionType `type:"list"` // The user's preferred MFA setting. PreferredMfaSetting *string `type:"string"` // 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 MFA options that are enabled for the user. The possible values in this // list are SMS_MFA and SOFTWARE_TOKEN_MFA. UserMFASettingList []*string `type:"list"` // The user name of the user you wish to retrieve from the get user request. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Represents the response from the server from the request to get information about the user.
func (GetUserOutput) GoString ¶
func (s GetUserOutput) GoString() string
GoString returns the string representation
func (*GetUserOutput) SetMFAOptions ¶ added in v1.5.0
func (s *GetUserOutput) SetMFAOptions(v []*MFAOptionType) *GetUserOutput
SetMFAOptions sets the MFAOptions field's value.
func (*GetUserOutput) SetPreferredMfaSetting ¶ added in v1.12.35
func (s *GetUserOutput) SetPreferredMfaSetting(v string) *GetUserOutput
SetPreferredMfaSetting sets the PreferredMfaSetting field's value.
func (*GetUserOutput) SetUserAttributes ¶ added in v1.5.0
func (s *GetUserOutput) SetUserAttributes(v []*AttributeType) *GetUserOutput
SetUserAttributes sets the UserAttributes field's value.
func (*GetUserOutput) SetUserMFASettingList ¶ added in v1.12.35
func (s *GetUserOutput) SetUserMFASettingList(v []*string) *GetUserOutput
SetUserMFASettingList sets the UserMFASettingList field's value.
func (*GetUserOutput) SetUsername ¶ added in v1.5.0
func (s *GetUserOutput) SetUsername(v string) *GetUserOutput
SetUsername sets the Username field's value.
func (GetUserOutput) String ¶
func (s GetUserOutput) String() string
String returns the string representation
type GetUserPoolMfaConfigInput ¶ added in v1.12.35
type GetUserPoolMfaConfigInput struct { // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetUserPoolMfaConfigInput) GoString ¶ added in v1.12.35
func (s GetUserPoolMfaConfigInput) GoString() string
GoString returns the string representation
func (*GetUserPoolMfaConfigInput) SetUserPoolId ¶ added in v1.12.35
func (s *GetUserPoolMfaConfigInput) SetUserPoolId(v string) *GetUserPoolMfaConfigInput
SetUserPoolId sets the UserPoolId field's value.
func (GetUserPoolMfaConfigInput) String ¶ added in v1.12.35
func (s GetUserPoolMfaConfigInput) String() string
String returns the string representation
func (*GetUserPoolMfaConfigInput) Validate ¶ added in v1.12.35
func (s *GetUserPoolMfaConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetUserPoolMfaConfigOutput ¶ added in v1.12.35
type GetUserPoolMfaConfigOutput struct { // The multi-factor (MFA) configuration. Valid values include: // // * OFF MFA will not be used for any users. // // * ON MFA is required for all users to sign in. // // * OPTIONAL MFA will be required only for individual users who have an // MFA factor enabled. MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` // The SMS text message multi-factor (MFA) configuration. SmsMfaConfiguration *SmsMfaConfigType `type:"structure"` // The software token multi-factor (MFA) configuration. SoftwareTokenMfaConfiguration *SoftwareTokenMfaConfigType `type:"structure"` // contains filtered or unexported fields }
func (GetUserPoolMfaConfigOutput) GoString ¶ added in v1.12.35
func (s GetUserPoolMfaConfigOutput) GoString() string
GoString returns the string representation
func (*GetUserPoolMfaConfigOutput) SetMfaConfiguration ¶ added in v1.12.35
func (s *GetUserPoolMfaConfigOutput) SetMfaConfiguration(v string) *GetUserPoolMfaConfigOutput
SetMfaConfiguration sets the MfaConfiguration field's value.
func (*GetUserPoolMfaConfigOutput) SetSmsMfaConfiguration ¶ added in v1.12.35
func (s *GetUserPoolMfaConfigOutput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *GetUserPoolMfaConfigOutput
SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value.
func (*GetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration ¶ added in v1.12.35
func (s *GetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *GetUserPoolMfaConfigOutput
SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value.
func (GetUserPoolMfaConfigOutput) String ¶ added in v1.12.35
func (s GetUserPoolMfaConfigOutput) String() string
String returns the string representation
type GlobalSignOutInput ¶ added in v1.2.10
type GlobalSignOutInput struct { // The access token. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to sign out all devices.
func (GlobalSignOutInput) GoString ¶ added in v1.2.10
func (s GlobalSignOutInput) GoString() string
GoString returns the string representation
func (*GlobalSignOutInput) SetAccessToken ¶ added in v1.5.0
func (s *GlobalSignOutInput) SetAccessToken(v string) *GlobalSignOutInput
SetAccessToken sets the AccessToken field's value.
func (GlobalSignOutInput) String ¶ added in v1.2.10
func (s GlobalSignOutInput) String() string
String returns the string representation
func (*GlobalSignOutInput) Validate ¶ added in v1.8.33
func (s *GlobalSignOutInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GlobalSignOutOutput ¶ added in v1.2.10
type GlobalSignOutOutput struct {
// contains filtered or unexported fields
}
The response to the request to sign out all devices.
func (GlobalSignOutOutput) GoString ¶ added in v1.2.10
func (s GlobalSignOutOutput) GoString() string
GoString returns the string representation
func (GlobalSignOutOutput) String ¶ added in v1.2.10
func (s GlobalSignOutOutput) String() string
String returns the string representation
type GroupExistsException ¶ added in v1.28.0
type GroupExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when Amazon Cognito encounters a group that already exists in the user pool.
func (*GroupExistsException) Code ¶ added in v1.28.0
func (s *GroupExistsException) Code() string
Code returns the exception type name.
func (*GroupExistsException) Error ¶ added in v1.28.0
func (s *GroupExistsException) Error() string
func (GroupExistsException) GoString ¶ added in v1.28.0
func (s GroupExistsException) GoString() string
GoString returns the string representation
func (*GroupExistsException) Message ¶ added in v1.28.0
func (s *GroupExistsException) Message() string
Message returns the exception's message.
func (*GroupExistsException) OrigErr ¶ added in v1.28.0
func (s *GroupExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*GroupExistsException) RequestID ¶ added in v1.28.0
func (s *GroupExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*GroupExistsException) StatusCode ¶ added in v1.28.0
func (s *GroupExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (GroupExistsException) String ¶ added in v1.28.0
func (s GroupExistsException) String() string
String returns the string representation
type GroupType ¶ added in v1.6.4
type GroupType struct { // The date the group was created. CreationDate *time.Time `type:"timestamp"` // A string containing the description of the group. Description *string `type:"string"` // The name of the group. GroupName *string `min:"1" type:"string"` // The date the group was last modified. LastModifiedDate *time.Time `type:"timestamp"` // 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. If a user // belongs to two or more groups, it is the group with the highest precedence // whose role ARN will be used in the cognito:roles and cognito:preferred_role // claims in the user's tokens. Groups with higher Precedence values take precedence // over groups with lower Precedence values or with null Precedence values. // // 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 *string `min:"1" type:"string"` // contains filtered or unexported fields }
The group type.
func (*GroupType) SetCreationDate ¶ added in v1.6.4
SetCreationDate sets the CreationDate field's value.
func (*GroupType) SetDescription ¶ added in v1.6.4
SetDescription sets the Description field's value.
func (*GroupType) SetGroupName ¶ added in v1.6.4
SetGroupName sets the GroupName field's value.
func (*GroupType) SetLastModifiedDate ¶ added in v1.6.4
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*GroupType) SetPrecedence ¶ added in v1.6.4
SetPrecedence sets the Precedence field's value.
func (*GroupType) SetRoleArn ¶ added in v1.6.4
SetRoleArn sets the RoleArn field's value.
func (*GroupType) SetUserPoolId ¶ added in v1.6.4
SetUserPoolId sets the UserPoolId field's value.
type HttpHeader ¶ added in v1.12.35
type HttpHeader struct { // The header name HeaderName *string `locationName:"headerName" type:"string"` // The header value. HeaderValue *string `locationName:"headerValue" type:"string"` // contains filtered or unexported fields }
The HTTP header.
func (HttpHeader) GoString ¶ added in v1.12.35
func (s HttpHeader) GoString() string
GoString returns the string representation
func (*HttpHeader) SetHeaderName ¶ added in v1.12.35
func (s *HttpHeader) SetHeaderName(v string) *HttpHeader
SetHeaderName sets the HeaderName field's value.
func (*HttpHeader) SetHeaderValue ¶ added in v1.12.35
func (s *HttpHeader) SetHeaderValue(v string) *HttpHeader
SetHeaderValue sets the HeaderValue field's value.
func (HttpHeader) String ¶ added in v1.12.35
func (s HttpHeader) String() string
String returns the string representation
type IdentityProviderType ¶ added in v1.8.33
type IdentityProviderType struct { // A mapping of identity provider attributes to standard and custom user pool // attributes. AttributeMapping map[string]*string `type:"map"` // The date the identity provider was created. CreationDate *time.Time `type:"timestamp"` // A list of identity provider identifiers. IdpIdentifiers []*string `type:"list"` // The date the identity provider was last modified. LastModifiedDate *time.Time `type:"timestamp"` // The identity provider details. The following list describes the provider // detail keys for each identity provider type. // // * For Google and Login with Amazon: client_id client_secret authorize_scopes // // * For Facebook: client_id client_secret authorize_scopes api_version // // * For Sign in with Apple: client_id team_id key_id private_key authorize_scopes // // * For OIDC providers: client_id client_secret attributes_request_method // oidc_issuer authorize_scopes authorize_url if not available from discovery // URL specified by oidc_issuer key token_url if not available from discovery // URL specified by oidc_issuer key attributes_url if not available from // discovery URL specified by oidc_issuer key jwks_uri if not available from // discovery URL specified by oidc_issuer key authorize_scopes // // * For SAML providers: MetadataFile OR MetadataURL IDPSignOut optional ProviderDetails map[string]*string `type:"map"` // The identity provider name. ProviderName *string `min:"1" type:"string"` // The identity provider type. ProviderType *string `type:"string" enum:"IdentityProviderTypeType"` // The user pool ID. UserPoolId *string `min:"1" type:"string"` // contains filtered or unexported fields }
A container for information about an identity provider.
func (IdentityProviderType) GoString ¶ added in v1.8.33
func (s IdentityProviderType) GoString() string
GoString returns the string representation
func (*IdentityProviderType) SetAttributeMapping ¶ added in v1.8.33
func (s *IdentityProviderType) SetAttributeMapping(v map[string]*string) *IdentityProviderType
SetAttributeMapping sets the AttributeMapping field's value.
func (*IdentityProviderType) SetCreationDate ¶ added in v1.8.33
func (s *IdentityProviderType) SetCreationDate(v time.Time) *IdentityProviderType
SetCreationDate sets the CreationDate field's value.
func (*IdentityProviderType) SetIdpIdentifiers ¶ added in v1.8.33
func (s *IdentityProviderType) SetIdpIdentifiers(v []*string) *IdentityProviderType
SetIdpIdentifiers sets the IdpIdentifiers field's value.
func (*IdentityProviderType) SetLastModifiedDate ¶ added in v1.8.33
func (s *IdentityProviderType) SetLastModifiedDate(v time.Time) *IdentityProviderType
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*IdentityProviderType) SetProviderDetails ¶ added in v1.8.33
func (s *IdentityProviderType) SetProviderDetails(v map[string]*string) *IdentityProviderType
SetProviderDetails sets the ProviderDetails field's value.
func (*IdentityProviderType) SetProviderName ¶ added in v1.8.33
func (s *IdentityProviderType) SetProviderName(v string) *IdentityProviderType
SetProviderName sets the ProviderName field's value.
func (*IdentityProviderType) SetProviderType ¶ added in v1.8.33
func (s *IdentityProviderType) SetProviderType(v string) *IdentityProviderType
SetProviderType sets the ProviderType field's value.
func (*IdentityProviderType) SetUserPoolId ¶ added in v1.8.33
func (s *IdentityProviderType) SetUserPoolId(v string) *IdentityProviderType
SetUserPoolId sets the UserPoolId field's value.
func (IdentityProviderType) String ¶ added in v1.8.33
func (s IdentityProviderType) String() string
String returns the string representation
type InitiateAuthInput ¶ added in v1.2.10
type InitiateAuthInput struct { // The Amazon Pinpoint analytics metadata for collecting metrics for InitiateAuth // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` // 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 SRP_A and return the SRP variables // to be used for next challenge execution. // // * USER_PASSWORD_AUTH will take in USERNAME and PASSWORD and return the // next challenge or tokens. // // 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. // // * USER_PASSWORD_AUTH: Non-SRP authentication flow; USERNAME and PASSWORD // are passed directly. If a user migration Lambda trigger is set, this flow // will invoke the user migration Lambda if the USERNAME is not found in // the user pool. // // * ADMIN_USER_PASSWORD_AUTH: Admin-based user password authentication. // This replaces the ADMIN_NO_SRP_AUTH authentication flow. In this flow, // Cognito receives the password in the request instead of using the SRP // process to verify passwords. // // ADMIN_NO_SRP_AUTH is not a valid value. // // 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), SRP_A (required), SECRET_HASH // (required if the app client is configured with a client secret), DEVICE_KEY. // // * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: REFRESH_TOKEN (required), SECRET_HASH // (required if the app client is configured with a client secret), DEVICE_KEY. // // * For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is // configured with client secret), DEVICE_KEY. To start the authentication // flow with password verification, include ChallengeName: SRP_A and SRP_A: // (The SRP_A Value). AuthParameters map[string]*string `type:"map" sensitive:"true"` // The app client ID. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for certain // custom workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the InitiateAuth API action, Amazon Cognito invokes // the AWS Lambda functions that are specified for various triggers. The ClientMetadata // value is passed as input to the functions for only the following triggers: // // * Pre signup // // * Pre authentication // // * User migration // // When Amazon Cognito invokes the functions for these triggers, it passes a // JSON payload, which the function receives as input. This payload contains // a validationData attribute, which provides the data that you assigned to // the ClientMetadata parameter in your InitiateAuth request. In your function // code in AWS Lambda, you can process the validationData value to enhance your // workflow for your specific needs. // // When you use the InitiateAuth API action, Amazon Cognito also invokes the // functions for the following triggers, but it does not provide the ClientMetadata // value as input: // // * Post authentication // // * Custom message // // * Pre token generation // // * Create auth challenge // // * Define auth challenge // // * Verify auth challenge // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. UserContextData *UserContextDataType `type:"structure"` // contains filtered or unexported fields }
Initiates the authentication request.
func (InitiateAuthInput) GoString ¶ added in v1.2.10
func (s InitiateAuthInput) GoString() string
GoString returns the string representation
func (*InitiateAuthInput) SetAnalyticsMetadata ¶ added in v1.12.35
func (s *InitiateAuthInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *InitiateAuthInput
SetAnalyticsMetadata sets the AnalyticsMetadata field's value.
func (*InitiateAuthInput) SetAuthFlow ¶ added in v1.5.0
func (s *InitiateAuthInput) SetAuthFlow(v string) *InitiateAuthInput
SetAuthFlow sets the AuthFlow field's value.
func (*InitiateAuthInput) SetAuthParameters ¶ added in v1.5.0
func (s *InitiateAuthInput) SetAuthParameters(v map[string]*string) *InitiateAuthInput
SetAuthParameters sets the AuthParameters field's value.
func (*InitiateAuthInput) SetClientId ¶ added in v1.5.0
func (s *InitiateAuthInput) SetClientId(v string) *InitiateAuthInput
SetClientId sets the ClientId field's value.
func (*InitiateAuthInput) SetClientMetadata ¶ added in v1.5.0
func (s *InitiateAuthInput) SetClientMetadata(v map[string]*string) *InitiateAuthInput
SetClientMetadata sets the ClientMetadata field's value.
func (*InitiateAuthInput) SetUserContextData ¶ added in v1.12.35
func (s *InitiateAuthInput) SetUserContextData(v *UserContextDataType) *InitiateAuthInput
SetUserContextData sets the UserContextData field's value.
func (InitiateAuthInput) String ¶ added in v1.2.10
func (s InitiateAuthInput) String() string
String returns the string representation
func (*InitiateAuthInput) Validate ¶ added in v1.2.10
func (s *InitiateAuthInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InitiateAuthOutput ¶ added in v1.2.10
type InitiateAuthOutput 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. // // Valid values include the following. Note that all of these challenges require // USERNAME and SECRET_HASH (if applicable) in the parameters. // // * 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. // // * 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 InitiateAuth response // if you need to pass another challenge. The responses in this parameter should // be used to compute inputs to the next call (RespondToAuthChallenge). // // All challenges require USERNAME and SECRET_HASH (if applicable). ChallengeParameters map[string]*string `type:"map"` // The session which should be passed both ways in challenge-response calls // to the service. If 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 }
Initiates the authentication response.
func (InitiateAuthOutput) GoString ¶ added in v1.2.10
func (s InitiateAuthOutput) GoString() string
GoString returns the string representation
func (*InitiateAuthOutput) SetAuthenticationResult ¶ added in v1.5.0
func (s *InitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *InitiateAuthOutput
SetAuthenticationResult sets the AuthenticationResult field's value.
func (*InitiateAuthOutput) SetChallengeName ¶ added in v1.5.0
func (s *InitiateAuthOutput) SetChallengeName(v string) *InitiateAuthOutput
SetChallengeName sets the ChallengeName field's value.
func (*InitiateAuthOutput) SetChallengeParameters ¶ added in v1.5.0
func (s *InitiateAuthOutput) SetChallengeParameters(v map[string]*string) *InitiateAuthOutput
SetChallengeParameters sets the ChallengeParameters field's value.
func (*InitiateAuthOutput) SetSession ¶ added in v1.5.0
func (s *InitiateAuthOutput) SetSession(v string) *InitiateAuthOutput
SetSession sets the Session field's value.
func (InitiateAuthOutput) String ¶ added in v1.2.10
func (s InitiateAuthOutput) String() string
String returns the string representation
type InternalErrorException ¶ added in v1.28.0
type InternalErrorException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when Amazon Cognito throws an internal error exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when Amazon Cognito encounters an internal error.
func (*InternalErrorException) Code ¶ added in v1.28.0
func (s *InternalErrorException) Code() string
Code returns the exception type name.
func (*InternalErrorException) Error ¶ added in v1.28.0
func (s *InternalErrorException) Error() string
func (InternalErrorException) GoString ¶ added in v1.28.0
func (s InternalErrorException) GoString() string
GoString returns the string representation
func (*InternalErrorException) Message ¶ added in v1.28.0
func (s *InternalErrorException) Message() string
Message returns the exception's message.
func (*InternalErrorException) OrigErr ¶ added in v1.28.0
func (s *InternalErrorException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalErrorException) RequestID ¶ added in v1.28.0
func (s *InternalErrorException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalErrorException) StatusCode ¶ added in v1.28.0
func (s *InternalErrorException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalErrorException) String ¶ added in v1.28.0
func (s InternalErrorException) String() string
String returns the string representation
type InvalidEmailRoleAccessPolicyException ¶ added in v1.28.0
type InvalidEmailRoleAccessPolicyException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when you have an unverified email address or the identity // policy is not set on an email address that Amazon Cognito can access. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
func (*InvalidEmailRoleAccessPolicyException) Code ¶ added in v1.28.0
func (s *InvalidEmailRoleAccessPolicyException) Code() string
Code returns the exception type name.
func (*InvalidEmailRoleAccessPolicyException) Error ¶ added in v1.28.0
func (s *InvalidEmailRoleAccessPolicyException) Error() string
func (InvalidEmailRoleAccessPolicyException) GoString ¶ added in v1.28.0
func (s InvalidEmailRoleAccessPolicyException) GoString() string
GoString returns the string representation
func (*InvalidEmailRoleAccessPolicyException) Message ¶ added in v1.28.0
func (s *InvalidEmailRoleAccessPolicyException) Message() string
Message returns the exception's message.
func (*InvalidEmailRoleAccessPolicyException) OrigErr ¶ added in v1.28.0
func (s *InvalidEmailRoleAccessPolicyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidEmailRoleAccessPolicyException) RequestID ¶ added in v1.28.0
func (s *InvalidEmailRoleAccessPolicyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidEmailRoleAccessPolicyException) StatusCode ¶ added in v1.28.0
func (s *InvalidEmailRoleAccessPolicyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidEmailRoleAccessPolicyException) String ¶ added in v1.28.0
func (s InvalidEmailRoleAccessPolicyException) String() string
String returns the string representation
type InvalidLambdaResponseException ¶ added in v1.28.0
type InvalidLambdaResponseException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the Amazon Cognito service throws an invalid AWS // Lambda response exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the Amazon Cognito service encounters an invalid AWS Lambda response.
func (*InvalidLambdaResponseException) Code ¶ added in v1.28.0
func (s *InvalidLambdaResponseException) Code() string
Code returns the exception type name.
func (*InvalidLambdaResponseException) Error ¶ added in v1.28.0
func (s *InvalidLambdaResponseException) Error() string
func (InvalidLambdaResponseException) GoString ¶ added in v1.28.0
func (s InvalidLambdaResponseException) GoString() string
GoString returns the string representation
func (*InvalidLambdaResponseException) Message ¶ added in v1.28.0
func (s *InvalidLambdaResponseException) Message() string
Message returns the exception's message.
func (*InvalidLambdaResponseException) OrigErr ¶ added in v1.28.0
func (s *InvalidLambdaResponseException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidLambdaResponseException) RequestID ¶ added in v1.28.0
func (s *InvalidLambdaResponseException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidLambdaResponseException) StatusCode ¶ added in v1.28.0
func (s *InvalidLambdaResponseException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidLambdaResponseException) String ¶ added in v1.28.0
func (s InvalidLambdaResponseException) String() string
String returns the string representation
type InvalidOAuthFlowException ¶ added in v1.28.0
type InvalidOAuthFlowException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified OAuth flow is invalid.
func (*InvalidOAuthFlowException) Code ¶ added in v1.28.0
func (s *InvalidOAuthFlowException) Code() string
Code returns the exception type name.
func (*InvalidOAuthFlowException) Error ¶ added in v1.28.0
func (s *InvalidOAuthFlowException) Error() string
func (InvalidOAuthFlowException) GoString ¶ added in v1.28.0
func (s InvalidOAuthFlowException) GoString() string
GoString returns the string representation
func (*InvalidOAuthFlowException) Message ¶ added in v1.28.0
func (s *InvalidOAuthFlowException) Message() string
Message returns the exception's message.
func (*InvalidOAuthFlowException) OrigErr ¶ added in v1.28.0
func (s *InvalidOAuthFlowException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidOAuthFlowException) RequestID ¶ added in v1.28.0
func (s *InvalidOAuthFlowException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidOAuthFlowException) StatusCode ¶ added in v1.28.0
func (s *InvalidOAuthFlowException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidOAuthFlowException) String ¶ added in v1.28.0
func (s InvalidOAuthFlowException) String() string
String returns the string representation
type InvalidParameterException ¶ added in v1.28.0
type InvalidParameterException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the Amazon Cognito service throws an invalid parameter // exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
func (*InvalidParameterException) Code ¶ added in v1.28.0
func (s *InvalidParameterException) Code() string
Code returns the exception type name.
func (*InvalidParameterException) Error ¶ added in v1.28.0
func (s *InvalidParameterException) Error() string
func (InvalidParameterException) GoString ¶ added in v1.28.0
func (s InvalidParameterException) GoString() string
GoString returns the string representation
func (*InvalidParameterException) Message ¶ added in v1.28.0
func (s *InvalidParameterException) Message() string
Message returns the exception's message.
func (*InvalidParameterException) OrigErr ¶ added in v1.28.0
func (s *InvalidParameterException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidParameterException) RequestID ¶ added in v1.28.0
func (s *InvalidParameterException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidParameterException) StatusCode ¶ added in v1.28.0
func (s *InvalidParameterException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidParameterException) String ¶ added in v1.28.0
func (s InvalidParameterException) String() string
String returns the string representation
type InvalidPasswordException ¶ added in v1.28.0
type InvalidPasswordException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the Amazon Cognito service throws an invalid user // password exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the Amazon Cognito service encounters an invalid password.
func (*InvalidPasswordException) Code ¶ added in v1.28.0
func (s *InvalidPasswordException) Code() string
Code returns the exception type name.
func (*InvalidPasswordException) Error ¶ added in v1.28.0
func (s *InvalidPasswordException) Error() string
func (InvalidPasswordException) GoString ¶ added in v1.28.0
func (s InvalidPasswordException) GoString() string
GoString returns the string representation
func (*InvalidPasswordException) Message ¶ added in v1.28.0
func (s *InvalidPasswordException) Message() string
Message returns the exception's message.
func (*InvalidPasswordException) OrigErr ¶ added in v1.28.0
func (s *InvalidPasswordException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidPasswordException) RequestID ¶ added in v1.28.0
func (s *InvalidPasswordException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidPasswordException) StatusCode ¶ added in v1.28.0
func (s *InvalidPasswordException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidPasswordException) String ¶ added in v1.28.0
func (s InvalidPasswordException) String() string
String returns the string representation
type InvalidSmsRoleAccessPolicyException ¶ added in v1.28.0
type InvalidSmsRoleAccessPolicyException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message retuned when the invalid SMS role access policy exception is // thrown. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.
func (*InvalidSmsRoleAccessPolicyException) Code ¶ added in v1.28.0
func (s *InvalidSmsRoleAccessPolicyException) Code() string
Code returns the exception type name.
func (*InvalidSmsRoleAccessPolicyException) Error ¶ added in v1.28.0
func (s *InvalidSmsRoleAccessPolicyException) Error() string
func (InvalidSmsRoleAccessPolicyException) GoString ¶ added in v1.28.0
func (s InvalidSmsRoleAccessPolicyException) GoString() string
GoString returns the string representation
func (*InvalidSmsRoleAccessPolicyException) Message ¶ added in v1.28.0
func (s *InvalidSmsRoleAccessPolicyException) Message() string
Message returns the exception's message.
func (*InvalidSmsRoleAccessPolicyException) OrigErr ¶ added in v1.28.0
func (s *InvalidSmsRoleAccessPolicyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidSmsRoleAccessPolicyException) RequestID ¶ added in v1.28.0
func (s *InvalidSmsRoleAccessPolicyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidSmsRoleAccessPolicyException) StatusCode ¶ added in v1.28.0
func (s *InvalidSmsRoleAccessPolicyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidSmsRoleAccessPolicyException) String ¶ added in v1.28.0
func (s InvalidSmsRoleAccessPolicyException) String() string
String returns the string representation
type InvalidSmsRoleTrustRelationshipException ¶ added in v1.28.0
type InvalidSmsRoleTrustRelationshipException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the role trust relationship for the SMS message // is invalid. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
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.
func (*InvalidSmsRoleTrustRelationshipException) Code ¶ added in v1.28.0
func (s *InvalidSmsRoleTrustRelationshipException) Code() string
Code returns the exception type name.
func (*InvalidSmsRoleTrustRelationshipException) Error ¶ added in v1.28.0
func (s *InvalidSmsRoleTrustRelationshipException) Error() string
func (InvalidSmsRoleTrustRelationshipException) GoString ¶ added in v1.28.0
func (s InvalidSmsRoleTrustRelationshipException) GoString() string
GoString returns the string representation
func (*InvalidSmsRoleTrustRelationshipException) Message ¶ added in v1.28.0
func (s *InvalidSmsRoleTrustRelationshipException) Message() string
Message returns the exception's message.
func (*InvalidSmsRoleTrustRelationshipException) OrigErr ¶ added in v1.28.0
func (s *InvalidSmsRoleTrustRelationshipException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidSmsRoleTrustRelationshipException) RequestID ¶ added in v1.28.0
func (s *InvalidSmsRoleTrustRelationshipException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidSmsRoleTrustRelationshipException) StatusCode ¶ added in v1.28.0
func (s *InvalidSmsRoleTrustRelationshipException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidSmsRoleTrustRelationshipException) String ¶ added in v1.28.0
func (s InvalidSmsRoleTrustRelationshipException) String() string
String returns the string representation
type InvalidUserPoolConfigurationException ¶ added in v1.28.0
type InvalidUserPoolConfigurationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the user pool configuration is invalid. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the user pool configuration is invalid.
func (*InvalidUserPoolConfigurationException) Code ¶ added in v1.28.0
func (s *InvalidUserPoolConfigurationException) Code() string
Code returns the exception type name.
func (*InvalidUserPoolConfigurationException) Error ¶ added in v1.28.0
func (s *InvalidUserPoolConfigurationException) Error() string
func (InvalidUserPoolConfigurationException) GoString ¶ added in v1.28.0
func (s InvalidUserPoolConfigurationException) GoString() string
GoString returns the string representation
func (*InvalidUserPoolConfigurationException) Message ¶ added in v1.28.0
func (s *InvalidUserPoolConfigurationException) Message() string
Message returns the exception's message.
func (*InvalidUserPoolConfigurationException) OrigErr ¶ added in v1.28.0
func (s *InvalidUserPoolConfigurationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidUserPoolConfigurationException) RequestID ¶ added in v1.28.0
func (s *InvalidUserPoolConfigurationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidUserPoolConfigurationException) StatusCode ¶ added in v1.28.0
func (s *InvalidUserPoolConfigurationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidUserPoolConfigurationException) String ¶ added in v1.28.0
func (s InvalidUserPoolConfigurationException) String() string
String returns the string representation
type LambdaConfigType ¶
type LambdaConfigType struct { // Creates an authentication challenge. CreateAuthChallenge *string `min:"20" type:"string"` // A custom email sender AWS Lambda trigger. CustomEmailSender *CustomEmailLambdaVersionConfigType `type:"structure"` // A custom Message AWS Lambda trigger. CustomMessage *string `min:"20" type:"string"` // A custom SMS sender AWS Lambda trigger. CustomSMSSender *CustomSMSLambdaVersionConfigType `type:"structure"` // Defines the authentication challenge. DefineAuthChallenge *string `min:"20" type:"string"` // The Amazon Resource Name of Key Management Service Customer master keys (/kms/latest/developerguide/concepts.html#master_keys) // . Amazon Cognito uses the key to encrypt codes and temporary passwords sent // to CustomEmailSender and CustomSMSSender. KMSKeyID *string `min:"20" type:"string"` // A post-authentication AWS Lambda trigger. PostAuthentication *string `min:"20" type:"string"` // A post-confirmation AWS Lambda trigger. PostConfirmation *string `min:"20" type:"string"` // A pre-authentication AWS Lambda trigger. PreAuthentication *string `min:"20" type:"string"` // A pre-registration AWS Lambda trigger. PreSignUp *string `min:"20" type:"string"` // A Lambda trigger that is invoked before token generation. PreTokenGeneration *string `min:"20" type:"string"` // The user migration Lambda config type. UserMigration *string `min:"20" type:"string"` // Verifies the authentication challenge response. VerifyAuthChallengeResponse *string `min:"20" type:"string"` // contains filtered or unexported fields }
Specifies the configuration for AWS Lambda triggers.
func (LambdaConfigType) GoString ¶
func (s LambdaConfigType) GoString() string
GoString returns the string representation
func (*LambdaConfigType) SetCreateAuthChallenge ¶ added in v1.5.0
func (s *LambdaConfigType) SetCreateAuthChallenge(v string) *LambdaConfigType
SetCreateAuthChallenge sets the CreateAuthChallenge field's value.
func (*LambdaConfigType) SetCustomEmailSender ¶ added in v1.35.35
func (s *LambdaConfigType) SetCustomEmailSender(v *CustomEmailLambdaVersionConfigType) *LambdaConfigType
SetCustomEmailSender sets the CustomEmailSender field's value.
func (*LambdaConfigType) SetCustomMessage ¶ added in v1.5.0
func (s *LambdaConfigType) SetCustomMessage(v string) *LambdaConfigType
SetCustomMessage sets the CustomMessage field's value.
func (*LambdaConfigType) SetCustomSMSSender ¶ added in v1.35.35
func (s *LambdaConfigType) SetCustomSMSSender(v *CustomSMSLambdaVersionConfigType) *LambdaConfigType
SetCustomSMSSender sets the CustomSMSSender field's value.
func (*LambdaConfigType) SetDefineAuthChallenge ¶ added in v1.5.0
func (s *LambdaConfigType) SetDefineAuthChallenge(v string) *LambdaConfigType
SetDefineAuthChallenge sets the DefineAuthChallenge field's value.
func (*LambdaConfigType) SetKMSKeyID ¶ added in v1.35.35
func (s *LambdaConfigType) SetKMSKeyID(v string) *LambdaConfigType
SetKMSKeyID sets the KMSKeyID field's value.
func (*LambdaConfigType) SetPostAuthentication ¶ added in v1.5.0
func (s *LambdaConfigType) SetPostAuthentication(v string) *LambdaConfigType
SetPostAuthentication sets the PostAuthentication field's value.
func (*LambdaConfigType) SetPostConfirmation ¶ added in v1.5.0
func (s *LambdaConfigType) SetPostConfirmation(v string) *LambdaConfigType
SetPostConfirmation sets the PostConfirmation field's value.
func (*LambdaConfigType) SetPreAuthentication ¶ added in v1.5.0
func (s *LambdaConfigType) SetPreAuthentication(v string) *LambdaConfigType
SetPreAuthentication sets the PreAuthentication field's value.
func (*LambdaConfigType) SetPreSignUp ¶ added in v1.5.0
func (s *LambdaConfigType) SetPreSignUp(v string) *LambdaConfigType
SetPreSignUp sets the PreSignUp field's value.
func (*LambdaConfigType) SetPreTokenGeneration ¶ added in v1.12.35
func (s *LambdaConfigType) SetPreTokenGeneration(v string) *LambdaConfigType
SetPreTokenGeneration sets the PreTokenGeneration field's value.
func (*LambdaConfigType) SetUserMigration ¶ added in v1.12.75
func (s *LambdaConfigType) SetUserMigration(v string) *LambdaConfigType
SetUserMigration sets the UserMigration field's value.
func (*LambdaConfigType) SetVerifyAuthChallengeResponse ¶ added in v1.5.0
func (s *LambdaConfigType) SetVerifyAuthChallengeResponse(v string) *LambdaConfigType
SetVerifyAuthChallengeResponse sets the VerifyAuthChallengeResponse field's value.
func (LambdaConfigType) String ¶
func (s LambdaConfigType) String() string
String returns the string representation
func (*LambdaConfigType) Validate ¶ added in v1.1.21
func (s *LambdaConfigType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LimitExceededException ¶ added in v1.28.0
type LimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when Amazon Cognito throws a limit exceeded exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when a user exceeds the limit for a requested AWS resource.
func (*LimitExceededException) Code ¶ added in v1.28.0
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (*LimitExceededException) Error ¶ added in v1.28.0
func (s *LimitExceededException) Error() string
func (LimitExceededException) GoString ¶ added in v1.28.0
func (s LimitExceededException) GoString() string
GoString returns the string representation
func (*LimitExceededException) Message ¶ added in v1.28.0
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (*LimitExceededException) OrigErr ¶ added in v1.28.0
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LimitExceededException) RequestID ¶ added in v1.28.0
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LimitExceededException) StatusCode ¶ added in v1.28.0
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LimitExceededException) String ¶ added in v1.28.0
func (s LimitExceededException) String() string
String returns the string representation
type ListDevicesInput ¶ added in v1.2.10
type ListDevicesInput struct { // The access tokens for the request to list devices. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // The limit of the device request. Limit *int64 `type:"integer"` // The pagination token for the list request. PaginationToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
Represents the request to list the devices.
func (ListDevicesInput) GoString ¶ added in v1.2.10
func (s ListDevicesInput) GoString() string
GoString returns the string representation
func (*ListDevicesInput) SetAccessToken ¶ added in v1.5.0
func (s *ListDevicesInput) SetAccessToken(v string) *ListDevicesInput
SetAccessToken sets the AccessToken field's value.
func (*ListDevicesInput) SetLimit ¶ added in v1.5.0
func (s *ListDevicesInput) SetLimit(v int64) *ListDevicesInput
SetLimit sets the Limit field's value.
func (*ListDevicesInput) SetPaginationToken ¶ added in v1.5.0
func (s *ListDevicesInput) SetPaginationToken(v string) *ListDevicesInput
SetPaginationToken sets the PaginationToken field's value.
func (ListDevicesInput) String ¶ added in v1.2.10
func (s ListDevicesInput) String() string
String returns the string representation
func (*ListDevicesInput) Validate ¶ added in v1.2.10
func (s *ListDevicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDevicesOutput ¶ added in v1.2.10
type ListDevicesOutput struct { // The devices returned in the list devices response. Devices []*DeviceType `type:"list"` // The pagination token for the list device response. PaginationToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
Represents the response to list devices.
func (ListDevicesOutput) GoString ¶ added in v1.2.10
func (s ListDevicesOutput) GoString() string
GoString returns the string representation
func (*ListDevicesOutput) SetDevices ¶ added in v1.5.0
func (s *ListDevicesOutput) SetDevices(v []*DeviceType) *ListDevicesOutput
SetDevices sets the Devices field's value.
func (*ListDevicesOutput) SetPaginationToken ¶ added in v1.5.0
func (s *ListDevicesOutput) SetPaginationToken(v string) *ListDevicesOutput
SetPaginationToken sets the PaginationToken field's value.
func (ListDevicesOutput) String ¶ added in v1.2.10
func (s ListDevicesOutput) String() string
String returns the string representation
type ListGroupsInput ¶ added in v1.6.4
type ListGroupsInput 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"` // contains filtered or unexported fields }
func (ListGroupsInput) GoString ¶ added in v1.6.4
func (s ListGroupsInput) GoString() string
GoString returns the string representation
func (*ListGroupsInput) SetLimit ¶ added in v1.6.4
func (s *ListGroupsInput) SetLimit(v int64) *ListGroupsInput
SetLimit sets the Limit field's value.
func (*ListGroupsInput) SetNextToken ¶ added in v1.6.4
func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput
SetNextToken sets the NextToken field's value.
func (*ListGroupsInput) SetUserPoolId ¶ added in v1.6.4
func (s *ListGroupsInput) SetUserPoolId(v string) *ListGroupsInput
SetUserPoolId sets the UserPoolId field's value.
func (ListGroupsInput) String ¶ added in v1.6.4
func (s ListGroupsInput) String() string
String returns the string representation
func (*ListGroupsInput) Validate ¶ added in v1.6.4
func (s *ListGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListGroupsOutput ¶ added in v1.6.4
type ListGroupsOutput struct { // The group objects for the groups. 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 (ListGroupsOutput) GoString ¶ added in v1.6.4
func (s ListGroupsOutput) GoString() string
GoString returns the string representation
func (*ListGroupsOutput) SetGroups ¶ added in v1.6.4
func (s *ListGroupsOutput) SetGroups(v []*GroupType) *ListGroupsOutput
SetGroups sets the Groups field's value.
func (*ListGroupsOutput) SetNextToken ¶ added in v1.6.4
func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput
SetNextToken sets the NextToken field's value.
func (ListGroupsOutput) String ¶ added in v1.6.4
func (s ListGroupsOutput) String() string
String returns the string representation
type ListIdentityProvidersInput ¶ added in v1.8.33
type ListIdentityProvidersInput struct { // The maximum number of identity providers to return. MaxResults *int64 `type:"integer"` // A pagination token. NextToken *string `min:"1" type:"string"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListIdentityProvidersInput) GoString ¶ added in v1.8.33
func (s ListIdentityProvidersInput) GoString() string
GoString returns the string representation
func (*ListIdentityProvidersInput) SetMaxResults ¶ added in v1.8.33
func (s *ListIdentityProvidersInput) SetMaxResults(v int64) *ListIdentityProvidersInput
SetMaxResults sets the MaxResults field's value.
func (*ListIdentityProvidersInput) SetNextToken ¶ added in v1.8.33
func (s *ListIdentityProvidersInput) SetNextToken(v string) *ListIdentityProvidersInput
SetNextToken sets the NextToken field's value.
func (*ListIdentityProvidersInput) SetUserPoolId ¶ added in v1.8.33
func (s *ListIdentityProvidersInput) SetUserPoolId(v string) *ListIdentityProvidersInput
SetUserPoolId sets the UserPoolId field's value.
func (ListIdentityProvidersInput) String ¶ added in v1.8.33
func (s ListIdentityProvidersInput) String() string
String returns the string representation
func (*ListIdentityProvidersInput) Validate ¶ added in v1.8.33
func (s *ListIdentityProvidersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListIdentityProvidersOutput ¶ added in v1.8.33
type ListIdentityProvidersOutput struct { // A pagination token. NextToken *string `min:"1" type:"string"` // A list of identity provider objects. // // Providers is a required field Providers []*ProviderDescription `type:"list" required:"true"` // contains filtered or unexported fields }
func (ListIdentityProvidersOutput) GoString ¶ added in v1.8.33
func (s ListIdentityProvidersOutput) GoString() string
GoString returns the string representation
func (*ListIdentityProvidersOutput) SetNextToken ¶ added in v1.8.33
func (s *ListIdentityProvidersOutput) SetNextToken(v string) *ListIdentityProvidersOutput
SetNextToken sets the NextToken field's value.
func (*ListIdentityProvidersOutput) SetProviders ¶ added in v1.8.33
func (s *ListIdentityProvidersOutput) SetProviders(v []*ProviderDescription) *ListIdentityProvidersOutput
SetProviders sets the Providers field's value.
func (ListIdentityProvidersOutput) String ¶ added in v1.8.33
func (s ListIdentityProvidersOutput) String() string
String returns the string representation
type ListResourceServersInput ¶ added in v1.10.24
type ListResourceServersInput struct { // The maximum number of resource servers to return. MaxResults *int64 `min:"1" type:"integer"` // A pagination token. 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"` // contains filtered or unexported fields }
func (ListResourceServersInput) GoString ¶ added in v1.10.24
func (s ListResourceServersInput) GoString() string
GoString returns the string representation
func (*ListResourceServersInput) SetMaxResults ¶ added in v1.10.24
func (s *ListResourceServersInput) SetMaxResults(v int64) *ListResourceServersInput
SetMaxResults sets the MaxResults field's value.
func (*ListResourceServersInput) SetNextToken ¶ added in v1.10.24
func (s *ListResourceServersInput) SetNextToken(v string) *ListResourceServersInput
SetNextToken sets the NextToken field's value.
func (*ListResourceServersInput) SetUserPoolId ¶ added in v1.10.24
func (s *ListResourceServersInput) SetUserPoolId(v string) *ListResourceServersInput
SetUserPoolId sets the UserPoolId field's value.
func (ListResourceServersInput) String ¶ added in v1.10.24
func (s ListResourceServersInput) String() string
String returns the string representation
func (*ListResourceServersInput) Validate ¶ added in v1.10.24
func (s *ListResourceServersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourceServersOutput ¶ added in v1.10.24
type ListResourceServersOutput struct { // A pagination token. NextToken *string `min:"1" type:"string"` // The resource servers. // // ResourceServers is a required field ResourceServers []*ResourceServerType `type:"list" required:"true"` // contains filtered or unexported fields }
func (ListResourceServersOutput) GoString ¶ added in v1.10.24
func (s ListResourceServersOutput) GoString() string
GoString returns the string representation
func (*ListResourceServersOutput) SetNextToken ¶ added in v1.10.24
func (s *ListResourceServersOutput) SetNextToken(v string) *ListResourceServersOutput
SetNextToken sets the NextToken field's value.
func (*ListResourceServersOutput) SetResourceServers ¶ added in v1.10.24
func (s *ListResourceServersOutput) SetResourceServers(v []*ResourceServerType) *ListResourceServersOutput
SetResourceServers sets the ResourceServers field's value.
func (ListResourceServersOutput) String ¶ added in v1.10.24
func (s ListResourceServersOutput) String() string
String returns the string representation
type ListTagsForResourceInput ¶ added in v1.19.0
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the user pool that the tags are assigned // to. // // ResourceArn is a required field ResourceArn *string `min:"20" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶ added in v1.19.0
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceInput) SetResourceArn ¶ added in v1.19.0
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶ added in v1.19.0
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶ added in v1.19.0
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶ added in v1.19.0
type ListTagsForResourceOutput struct { // The tags that are assigned to the user pool. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶ added in v1.19.0
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceOutput) SetTags ¶ added in v1.19.0
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶ added in v1.19.0
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListUserImportJobsInput ¶ added in v1.4.6
type ListUserImportJobsInput struct { // The maximum number of import jobs you want the request to return. // // MaxResults is a required field MaxResults *int64 `min:"1" type:"integer" required:"true"` // An identifier that was returned from the previous call to ListUserImportJobs, // which can be used to return the next set of import jobs in the list. PaginationToken *string `min:"1" type:"string"` // 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 }
Represents the request to list the user import jobs.
func (ListUserImportJobsInput) GoString ¶ added in v1.4.6
func (s ListUserImportJobsInput) GoString() string
GoString returns the string representation
func (*ListUserImportJobsInput) SetMaxResults ¶ added in v1.5.0
func (s *ListUserImportJobsInput) SetMaxResults(v int64) *ListUserImportJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListUserImportJobsInput) SetPaginationToken ¶ added in v1.5.0
func (s *ListUserImportJobsInput) SetPaginationToken(v string) *ListUserImportJobsInput
SetPaginationToken sets the PaginationToken field's value.
func (*ListUserImportJobsInput) SetUserPoolId ¶ added in v1.5.0
func (s *ListUserImportJobsInput) SetUserPoolId(v string) *ListUserImportJobsInput
SetUserPoolId sets the UserPoolId field's value.
func (ListUserImportJobsInput) String ¶ added in v1.4.6
func (s ListUserImportJobsInput) String() string
String returns the string representation
func (*ListUserImportJobsInput) Validate ¶ added in v1.4.6
func (s *ListUserImportJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUserImportJobsOutput ¶ added in v1.4.6
type ListUserImportJobsOutput struct { // An identifier that can be used to return the next set of user import jobs // in the list. PaginationToken *string `min:"1" type:"string"` // The user import jobs. UserImportJobs []*UserImportJobType `min:"1" type:"list"` // contains filtered or unexported fields }
Represents the response from the server to the request to list the user import jobs.
func (ListUserImportJobsOutput) GoString ¶ added in v1.4.6
func (s ListUserImportJobsOutput) GoString() string
GoString returns the string representation
func (*ListUserImportJobsOutput) SetPaginationToken ¶ added in v1.5.0
func (s *ListUserImportJobsOutput) SetPaginationToken(v string) *ListUserImportJobsOutput
SetPaginationToken sets the PaginationToken field's value.
func (*ListUserImportJobsOutput) SetUserImportJobs ¶ added in v1.5.0
func (s *ListUserImportJobsOutput) SetUserImportJobs(v []*UserImportJobType) *ListUserImportJobsOutput
SetUserImportJobs sets the UserImportJobs field's value.
func (ListUserImportJobsOutput) String ¶ added in v1.4.6
func (s ListUserImportJobsOutput) String() string
String returns the string representation
type ListUserPoolClientsInput ¶
type ListUserPoolClientsInput struct { // The maximum number of results you want the request to return when listing // the user pool clients. MaxResults *int64 `min:"1" 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 where you want to list user pool clients. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the request to list the user pool clients.
func (ListUserPoolClientsInput) GoString ¶
func (s ListUserPoolClientsInput) GoString() string
GoString returns the string representation
func (*ListUserPoolClientsInput) SetMaxResults ¶ added in v1.5.0
func (s *ListUserPoolClientsInput) SetMaxResults(v int64) *ListUserPoolClientsInput
SetMaxResults sets the MaxResults field's value.
func (*ListUserPoolClientsInput) SetNextToken ¶ added in v1.5.0
func (s *ListUserPoolClientsInput) SetNextToken(v string) *ListUserPoolClientsInput
SetNextToken sets the NextToken field's value.
func (*ListUserPoolClientsInput) SetUserPoolId ¶ added in v1.5.0
func (s *ListUserPoolClientsInput) SetUserPoolId(v string) *ListUserPoolClientsInput
SetUserPoolId sets the UserPoolId field's value.
func (ListUserPoolClientsInput) String ¶
func (s ListUserPoolClientsInput) String() string
String returns the string representation
func (*ListUserPoolClientsInput) Validate ¶ added in v1.1.21
func (s *ListUserPoolClientsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUserPoolClientsOutput ¶
type ListUserPoolClientsOutput struct { // 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 clients in the response that lists user pool clients. UserPoolClients []*UserPoolClientDescription `type:"list"` // contains filtered or unexported fields }
Represents the response from the server that lists user pool clients.
func (ListUserPoolClientsOutput) GoString ¶
func (s ListUserPoolClientsOutput) GoString() string
GoString returns the string representation
func (*ListUserPoolClientsOutput) SetNextToken ¶ added in v1.5.0
func (s *ListUserPoolClientsOutput) SetNextToken(v string) *ListUserPoolClientsOutput
SetNextToken sets the NextToken field's value.
func (*ListUserPoolClientsOutput) SetUserPoolClients ¶ added in v1.5.0
func (s *ListUserPoolClientsOutput) SetUserPoolClients(v []*UserPoolClientDescription) *ListUserPoolClientsOutput
SetUserPoolClients sets the UserPoolClients field's value.
func (ListUserPoolClientsOutput) String ¶
func (s ListUserPoolClientsOutput) String() string
String returns the string representation
type ListUserPoolsInput ¶
type ListUserPoolsInput struct { // The maximum number of results you want the request to return when listing // the user pools. // // MaxResults is a required field MaxResults *int64 `min:"1" type:"integer" required:"true"` // 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 }
Represents the request to list user pools.
func (ListUserPoolsInput) GoString ¶
func (s ListUserPoolsInput) GoString() string
GoString returns the string representation
func (*ListUserPoolsInput) SetMaxResults ¶ added in v1.5.0
func (s *ListUserPoolsInput) SetMaxResults(v int64) *ListUserPoolsInput
SetMaxResults sets the MaxResults field's value.
func (*ListUserPoolsInput) SetNextToken ¶ added in v1.5.0
func (s *ListUserPoolsInput) SetNextToken(v string) *ListUserPoolsInput
SetNextToken sets the NextToken field's value.
func (ListUserPoolsInput) String ¶
func (s ListUserPoolsInput) String() string
String returns the string representation
func (*ListUserPoolsInput) Validate ¶ added in v1.1.21
func (s *ListUserPoolsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUserPoolsOutput ¶
type ListUserPoolsOutput struct { // 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 pools from the response to list users. UserPools []*UserPoolDescriptionType `type:"list"` // contains filtered or unexported fields }
Represents the response to list user pools.
func (ListUserPoolsOutput) GoString ¶
func (s ListUserPoolsOutput) GoString() string
GoString returns the string representation
func (*ListUserPoolsOutput) SetNextToken ¶ added in v1.5.0
func (s *ListUserPoolsOutput) SetNextToken(v string) *ListUserPoolsOutput
SetNextToken sets the NextToken field's value.
func (*ListUserPoolsOutput) SetUserPools ¶ added in v1.5.0
func (s *ListUserPoolsOutput) SetUserPools(v []*UserPoolDescriptionType) *ListUserPoolsOutput
SetUserPools sets the UserPools field's value.
func (ListUserPoolsOutput) String ¶
func (s ListUserPoolsOutput) String() string
String returns the string representation
type ListUsersInGroupInput ¶ added in v1.6.4
type ListUsersInGroupInput struct { // The name of the group. // // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The limit of the request to list users. 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"` // contains filtered or unexported fields }
func (ListUsersInGroupInput) GoString ¶ added in v1.6.4
func (s ListUsersInGroupInput) GoString() string
GoString returns the string representation
func (*ListUsersInGroupInput) SetGroupName ¶ added in v1.6.4
func (s *ListUsersInGroupInput) SetGroupName(v string) *ListUsersInGroupInput
SetGroupName sets the GroupName field's value.
func (*ListUsersInGroupInput) SetLimit ¶ added in v1.6.4
func (s *ListUsersInGroupInput) SetLimit(v int64) *ListUsersInGroupInput
SetLimit sets the Limit field's value.
func (*ListUsersInGroupInput) SetNextToken ¶ added in v1.6.4
func (s *ListUsersInGroupInput) SetNextToken(v string) *ListUsersInGroupInput
SetNextToken sets the NextToken field's value.
func (*ListUsersInGroupInput) SetUserPoolId ¶ added in v1.6.4
func (s *ListUsersInGroupInput) SetUserPoolId(v string) *ListUsersInGroupInput
SetUserPoolId sets the UserPoolId field's value.
func (ListUsersInGroupInput) String ¶ added in v1.6.4
func (s ListUsersInGroupInput) String() string
String returns the string representation
func (*ListUsersInGroupInput) Validate ¶ added in v1.6.4
func (s *ListUsersInGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUsersInGroupOutput ¶ added in v1.6.4
type ListUsersInGroupOutput struct { // 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 users returned in the request to list users. Users []*UserType `type:"list"` // contains filtered or unexported fields }
func (ListUsersInGroupOutput) GoString ¶ added in v1.6.4
func (s ListUsersInGroupOutput) GoString() string
GoString returns the string representation
func (*ListUsersInGroupOutput) SetNextToken ¶ added in v1.6.4
func (s *ListUsersInGroupOutput) SetNextToken(v string) *ListUsersInGroupOutput
SetNextToken sets the NextToken field's value.
func (*ListUsersInGroupOutput) SetUsers ¶ added in v1.6.4
func (s *ListUsersInGroupOutput) SetUsers(v []*UserType) *ListUsersInGroupOutput
SetUsers sets the Users field's value.
func (ListUsersInGroupOutput) String ¶ added in v1.6.4
func (s ListUsersInGroupOutput) String() string
String returns the string representation
type ListUsersInput ¶
type ListUsersInput struct { // An array of strings, where each string is the name of a user attribute to // be returned for each user in the search results. If the array is null, all // attributes are returned. AttributesToGet []*string `type:"list"` // A filter string of the form "AttributeName Filter-Type "AttributeValue"". // Quotation marks within the filter string must be escaped using the backslash // (\) character. For example, "family_name = \"Reddy\"". // // * AttributeName: The name of the attribute to search for. You can only // search for one attribute at a time. // // * Filter-Type: For an exact match, use =, for example, "given_name = \"Jon\"". // For a prefix ("starts with") match, use ^=, for example, "given_name ^= // \"Jon\"". // // * AttributeValue: The attribute value that must be matched for each user. // // If the filter string is empty, ListUsers returns all users in the user pool. // // You can only search for the following standard attributes: // // * username (case-sensitive) // // * email // // * phone_number // // * name // // * given_name // // * family_name // // * preferred_username // // * cognito:user_status (called Status in the Console) (case-insensitive) // // * status (called Enabled in the Console) (case-sensitive) // // * sub // // Custom attributes are not searchable. // // For more information, see Searching for Users Using the ListUsers API (https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api) // and Examples of Using the ListUsers API (https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples) // in the Amazon Cognito Developer Guide. Filter *string `type:"string"` // Maximum number of users to be returned. 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. PaginationToken *string `min:"1" type:"string"` // The user pool ID for the user pool on which the search should be performed. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the request to list users.
func (ListUsersInput) GoString ¶
func (s ListUsersInput) GoString() string
GoString returns the string representation
func (*ListUsersInput) SetAttributesToGet ¶ added in v1.5.0
func (s *ListUsersInput) SetAttributesToGet(v []*string) *ListUsersInput
SetAttributesToGet sets the AttributesToGet field's value.
func (*ListUsersInput) SetFilter ¶ added in v1.5.0
func (s *ListUsersInput) SetFilter(v string) *ListUsersInput
SetFilter sets the Filter field's value.
func (*ListUsersInput) SetLimit ¶ added in v1.5.0
func (s *ListUsersInput) SetLimit(v int64) *ListUsersInput
SetLimit sets the Limit field's value.
func (*ListUsersInput) SetPaginationToken ¶ added in v1.5.0
func (s *ListUsersInput) SetPaginationToken(v string) *ListUsersInput
SetPaginationToken sets the PaginationToken field's value.
func (*ListUsersInput) SetUserPoolId ¶ added in v1.5.0
func (s *ListUsersInput) SetUserPoolId(v string) *ListUsersInput
SetUserPoolId sets the UserPoolId field's value.
func (ListUsersInput) String ¶
func (s ListUsersInput) String() string
String returns the string representation
func (*ListUsersInput) Validate ¶ added in v1.1.21
func (s *ListUsersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListUsersOutput ¶
type ListUsersOutput struct { // 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. PaginationToken *string `min:"1" type:"string"` // The users returned in the request to list users. Users []*UserType `type:"list"` // contains filtered or unexported fields }
The response from the request to list users.
func (ListUsersOutput) GoString ¶
func (s ListUsersOutput) GoString() string
GoString returns the string representation
func (*ListUsersOutput) SetPaginationToken ¶ added in v1.5.0
func (s *ListUsersOutput) SetPaginationToken(v string) *ListUsersOutput
SetPaginationToken sets the PaginationToken field's value.
func (*ListUsersOutput) SetUsers ¶ added in v1.5.0
func (s *ListUsersOutput) SetUsers(v []*UserType) *ListUsersOutput
SetUsers sets the Users field's value.
func (ListUsersOutput) String ¶
func (s ListUsersOutput) String() string
String returns the string representation
type MFAMethodNotFoundException ¶ added in v1.28.0
type MFAMethodNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when Amazon Cognito throws an MFA method not found exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when Amazon Cognito cannot find a multi-factor authentication (MFA) method.
func (*MFAMethodNotFoundException) Code ¶ added in v1.28.0
func (s *MFAMethodNotFoundException) Code() string
Code returns the exception type name.
func (*MFAMethodNotFoundException) Error ¶ added in v1.28.0
func (s *MFAMethodNotFoundException) Error() string
func (MFAMethodNotFoundException) GoString ¶ added in v1.28.0
func (s MFAMethodNotFoundException) GoString() string
GoString returns the string representation
func (*MFAMethodNotFoundException) Message ¶ added in v1.28.0
func (s *MFAMethodNotFoundException) Message() string
Message returns the exception's message.
func (*MFAMethodNotFoundException) OrigErr ¶ added in v1.28.0
func (s *MFAMethodNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*MFAMethodNotFoundException) RequestID ¶ added in v1.28.0
func (s *MFAMethodNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*MFAMethodNotFoundException) StatusCode ¶ added in v1.28.0
func (s *MFAMethodNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (MFAMethodNotFoundException) String ¶ added in v1.28.0
func (s MFAMethodNotFoundException) String() string
String returns the string representation
type MFAOptionType ¶
type MFAOptionType struct { // The attribute name of the MFA option type. The only valid value is phone_number. AttributeName *string `min:"1" type:"string"` // The delivery medium to send the MFA code. You can use this parameter to set // only the SMS delivery medium value. DeliveryMedium *string `type:"string" enum:"DeliveryMediumType"` // contains filtered or unexported fields }
This data type is no longer supported. You can use it only for SMS MFA configurations. You can't use it for TOTP software token MFA configurations.
func (MFAOptionType) GoString ¶
func (s MFAOptionType) GoString() string
GoString returns the string representation
func (*MFAOptionType) SetAttributeName ¶ added in v1.5.0
func (s *MFAOptionType) SetAttributeName(v string) *MFAOptionType
SetAttributeName sets the AttributeName field's value.
func (*MFAOptionType) SetDeliveryMedium ¶ added in v1.5.0
func (s *MFAOptionType) SetDeliveryMedium(v string) *MFAOptionType
SetDeliveryMedium sets the DeliveryMedium field's value.
func (MFAOptionType) String ¶
func (s MFAOptionType) String() string
String returns the string representation
func (*MFAOptionType) Validate ¶ added in v1.1.21
func (s *MFAOptionType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MessageTemplateType ¶ added in v1.4.15
type MessageTemplateType struct { // The message template for email messages. EmailMessage is allowed only if // EmailSendingAccount (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) // is DEVELOPER. EmailMessage *string `min:"6" type:"string"` // The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) // is DEVELOPER. EmailSubject *string `min:"1" type:"string"` // The message template for SMS messages. SMSMessage *string `min:"6" type:"string"` // contains filtered or unexported fields }
The message template structure.
func (MessageTemplateType) GoString ¶ added in v1.4.15
func (s MessageTemplateType) GoString() string
GoString returns the string representation
func (*MessageTemplateType) SetEmailMessage ¶ added in v1.5.0
func (s *MessageTemplateType) SetEmailMessage(v string) *MessageTemplateType
SetEmailMessage sets the EmailMessage field's value.
func (*MessageTemplateType) SetEmailSubject ¶ added in v1.5.0
func (s *MessageTemplateType) SetEmailSubject(v string) *MessageTemplateType
SetEmailSubject sets the EmailSubject field's value.
func (*MessageTemplateType) SetSMSMessage ¶ added in v1.5.0
func (s *MessageTemplateType) SetSMSMessage(v string) *MessageTemplateType
SetSMSMessage sets the SMSMessage field's value.
func (MessageTemplateType) String ¶ added in v1.4.15
func (s MessageTemplateType) String() string
String returns the string representation
func (*MessageTemplateType) Validate ¶ added in v1.4.15
func (s *MessageTemplateType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NewDeviceMetadataType ¶ added in v1.2.10
type NewDeviceMetadataType struct { // The device group key. DeviceGroupKey *string `type:"string"` // The device key. DeviceKey *string `min:"1" type:"string"` // contains filtered or unexported fields }
The new device metadata type.
func (NewDeviceMetadataType) GoString ¶ added in v1.2.10
func (s NewDeviceMetadataType) GoString() string
GoString returns the string representation
func (*NewDeviceMetadataType) SetDeviceGroupKey ¶ added in v1.5.0
func (s *NewDeviceMetadataType) SetDeviceGroupKey(v string) *NewDeviceMetadataType
SetDeviceGroupKey sets the DeviceGroupKey field's value.
func (*NewDeviceMetadataType) SetDeviceKey ¶ added in v1.5.0
func (s *NewDeviceMetadataType) SetDeviceKey(v string) *NewDeviceMetadataType
SetDeviceKey sets the DeviceKey field's value.
func (NewDeviceMetadataType) String ¶ added in v1.2.10
func (s NewDeviceMetadataType) String() string
String returns the string representation
type NotAuthorizedException ¶ added in v1.28.0
type NotAuthorizedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the Amazon Cognito service returns a not authorized // exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when a user is not authorized.
func (*NotAuthorizedException) Code ¶ added in v1.28.0
func (s *NotAuthorizedException) Code() string
Code returns the exception type name.
func (*NotAuthorizedException) Error ¶ added in v1.28.0
func (s *NotAuthorizedException) Error() string
func (NotAuthorizedException) GoString ¶ added in v1.28.0
func (s NotAuthorizedException) GoString() string
GoString returns the string representation
func (*NotAuthorizedException) Message ¶ added in v1.28.0
func (s *NotAuthorizedException) Message() string
Message returns the exception's message.
func (*NotAuthorizedException) OrigErr ¶ added in v1.28.0
func (s *NotAuthorizedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*NotAuthorizedException) RequestID ¶ added in v1.28.0
func (s *NotAuthorizedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*NotAuthorizedException) StatusCode ¶ added in v1.28.0
func (s *NotAuthorizedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (NotAuthorizedException) String ¶ added in v1.28.0
func (s NotAuthorizedException) String() string
String returns the string representation
type NotifyConfigurationType ¶ added in v1.12.35
type NotifyConfigurationType struct { // Email template used when a detected risk event is blocked. BlockEmail *NotifyEmailType `type:"structure"` // The email address that is sending the email. It must be either individually // verified with Amazon SES, or from a domain that has been verified with Amazon // SES. From *string `type:"string"` // The MFA email template used when MFA is challenged as part of a detected // risk. MfaEmail *NotifyEmailType `type:"structure"` // The email template used when a detected risk event is allowed. NoActionEmail *NotifyEmailType `type:"structure"` // The destination to which the receiver of an email should reply to. ReplyTo *string `type:"string"` // The Amazon Resource Name (ARN) of the identity that is associated with the // sending authorization policy. It permits Amazon Cognito to send for the email // address specified in the From parameter. // // SourceArn is a required field SourceArn *string `min:"20" type:"string" required:"true"` // contains filtered or unexported fields }
The notify configuration type.
func (NotifyConfigurationType) GoString ¶ added in v1.12.35
func (s NotifyConfigurationType) GoString() string
GoString returns the string representation
func (*NotifyConfigurationType) SetBlockEmail ¶ added in v1.12.35
func (s *NotifyConfigurationType) SetBlockEmail(v *NotifyEmailType) *NotifyConfigurationType
SetBlockEmail sets the BlockEmail field's value.
func (*NotifyConfigurationType) SetFrom ¶ added in v1.12.35
func (s *NotifyConfigurationType) SetFrom(v string) *NotifyConfigurationType
SetFrom sets the From field's value.
func (*NotifyConfigurationType) SetMfaEmail ¶ added in v1.12.35
func (s *NotifyConfigurationType) SetMfaEmail(v *NotifyEmailType) *NotifyConfigurationType
SetMfaEmail sets the MfaEmail field's value.
func (*NotifyConfigurationType) SetNoActionEmail ¶ added in v1.12.35
func (s *NotifyConfigurationType) SetNoActionEmail(v *NotifyEmailType) *NotifyConfigurationType
SetNoActionEmail sets the NoActionEmail field's value.
func (*NotifyConfigurationType) SetReplyTo ¶ added in v1.12.35
func (s *NotifyConfigurationType) SetReplyTo(v string) *NotifyConfigurationType
SetReplyTo sets the ReplyTo field's value.
func (*NotifyConfigurationType) SetSourceArn ¶ added in v1.12.35
func (s *NotifyConfigurationType) SetSourceArn(v string) *NotifyConfigurationType
SetSourceArn sets the SourceArn field's value.
func (NotifyConfigurationType) String ¶ added in v1.12.35
func (s NotifyConfigurationType) String() string
String returns the string representation
func (*NotifyConfigurationType) Validate ¶ added in v1.12.35
func (s *NotifyConfigurationType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NotifyEmailType ¶ added in v1.12.35
type NotifyEmailType struct { // The HTML body. HtmlBody *string `min:"6" type:"string"` // The subject. // // Subject is a required field Subject *string `min:"1" type:"string" required:"true"` // The text body. TextBody *string `min:"6" type:"string"` // contains filtered or unexported fields }
The notify email type.
func (NotifyEmailType) GoString ¶ added in v1.12.35
func (s NotifyEmailType) GoString() string
GoString returns the string representation
func (*NotifyEmailType) SetHtmlBody ¶ added in v1.12.35
func (s *NotifyEmailType) SetHtmlBody(v string) *NotifyEmailType
SetHtmlBody sets the HtmlBody field's value.
func (*NotifyEmailType) SetSubject ¶ added in v1.12.35
func (s *NotifyEmailType) SetSubject(v string) *NotifyEmailType
SetSubject sets the Subject field's value.
func (*NotifyEmailType) SetTextBody ¶ added in v1.12.35
func (s *NotifyEmailType) SetTextBody(v string) *NotifyEmailType
SetTextBody sets the TextBody field's value.
func (NotifyEmailType) String ¶ added in v1.12.35
func (s NotifyEmailType) String() string
String returns the string representation
func (*NotifyEmailType) Validate ¶ added in v1.12.35
func (s *NotifyEmailType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NumberAttributeConstraintsType ¶
type NumberAttributeConstraintsType struct { // The maximum value of an attribute that is of the number data type. MaxValue *string `type:"string"` // The minimum value of an attribute that is of the number data type. MinValue *string `type:"string"` // contains filtered or unexported fields }
The minimum and maximum value of an attribute that is of the number data type.
func (NumberAttributeConstraintsType) GoString ¶
func (s NumberAttributeConstraintsType) GoString() string
GoString returns the string representation
func (*NumberAttributeConstraintsType) SetMaxValue ¶ added in v1.5.0
func (s *NumberAttributeConstraintsType) SetMaxValue(v string) *NumberAttributeConstraintsType
SetMaxValue sets the MaxValue field's value.
func (*NumberAttributeConstraintsType) SetMinValue ¶ added in v1.5.0
func (s *NumberAttributeConstraintsType) SetMinValue(v string) *NumberAttributeConstraintsType
SetMinValue sets the MinValue field's value.
func (NumberAttributeConstraintsType) String ¶
func (s NumberAttributeConstraintsType) String() string
String returns the string representation
type PasswordPolicyType ¶
type PasswordPolicyType struct { // The minimum length of the password policy that you have set. Cannot be less // than 6. MinimumLength *int64 `min:"6" type:"integer"` // In the password policy that you have set, refers to whether you have required // users to use at least one lowercase letter in their password. RequireLowercase *bool `type:"boolean"` // In the password policy that you have set, refers to whether you have required // users to use at least one number in their password. RequireNumbers *bool `type:"boolean"` // In the password policy that you have set, refers to whether you have required // users to use at least one symbol in their password. RequireSymbols *bool `type:"boolean"` // In the password policy that you have set, refers to whether you have required // users to use at least one uppercase letter in their password. RequireUppercase *bool `type:"boolean"` // In the password policy you have set, refers to the number of days a temporary // password is valid. If the user does not sign-in during this time, their password // will need to be reset by an administrator. // // When you set TemporaryPasswordValidityDays for a user pool, you will no longer // be able to set the deprecated UnusedAccountValidityDays value for that user // pool. TemporaryPasswordValidityDays *int64 `type:"integer"` // contains filtered or unexported fields }
The password policy type.
func (PasswordPolicyType) GoString ¶
func (s PasswordPolicyType) GoString() string
GoString returns the string representation
func (*PasswordPolicyType) SetMinimumLength ¶ added in v1.5.0
func (s *PasswordPolicyType) SetMinimumLength(v int64) *PasswordPolicyType
SetMinimumLength sets the MinimumLength field's value.
func (*PasswordPolicyType) SetRequireLowercase ¶ added in v1.5.0
func (s *PasswordPolicyType) SetRequireLowercase(v bool) *PasswordPolicyType
SetRequireLowercase sets the RequireLowercase field's value.
func (*PasswordPolicyType) SetRequireNumbers ¶ added in v1.5.0
func (s *PasswordPolicyType) SetRequireNumbers(v bool) *PasswordPolicyType
SetRequireNumbers sets the RequireNumbers field's value.
func (*PasswordPolicyType) SetRequireSymbols ¶ added in v1.5.0
func (s *PasswordPolicyType) SetRequireSymbols(v bool) *PasswordPolicyType
SetRequireSymbols sets the RequireSymbols field's value.
func (*PasswordPolicyType) SetRequireUppercase ¶ added in v1.5.0
func (s *PasswordPolicyType) SetRequireUppercase(v bool) *PasswordPolicyType
SetRequireUppercase sets the RequireUppercase field's value.
func (*PasswordPolicyType) SetTemporaryPasswordValidityDays ¶ added in v1.19.24
func (s *PasswordPolicyType) SetTemporaryPasswordValidityDays(v int64) *PasswordPolicyType
SetTemporaryPasswordValidityDays sets the TemporaryPasswordValidityDays field's value.
func (PasswordPolicyType) String ¶
func (s PasswordPolicyType) String() string
String returns the string representation
func (*PasswordPolicyType) Validate ¶ added in v1.1.21
func (s *PasswordPolicyType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PasswordResetRequiredException ¶ added in v1.28.0
type PasswordResetRequiredException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when a password reset is required. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when a password reset is required.
func (*PasswordResetRequiredException) Code ¶ added in v1.28.0
func (s *PasswordResetRequiredException) Code() string
Code returns the exception type name.
func (*PasswordResetRequiredException) Error ¶ added in v1.28.0
func (s *PasswordResetRequiredException) Error() string
func (PasswordResetRequiredException) GoString ¶ added in v1.28.0
func (s PasswordResetRequiredException) GoString() string
GoString returns the string representation
func (*PasswordResetRequiredException) Message ¶ added in v1.28.0
func (s *PasswordResetRequiredException) Message() string
Message returns the exception's message.
func (*PasswordResetRequiredException) OrigErr ¶ added in v1.28.0
func (s *PasswordResetRequiredException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*PasswordResetRequiredException) RequestID ¶ added in v1.28.0
func (s *PasswordResetRequiredException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*PasswordResetRequiredException) StatusCode ¶ added in v1.28.0
func (s *PasswordResetRequiredException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (PasswordResetRequiredException) String ¶ added in v1.28.0
func (s PasswordResetRequiredException) String() string
String returns the string representation
type PreconditionNotMetException ¶ added in v1.28.0
type PreconditionNotMetException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when a precondition is not met. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when a precondition is not met.
func (*PreconditionNotMetException) Code ¶ added in v1.28.0
func (s *PreconditionNotMetException) Code() string
Code returns the exception type name.
func (*PreconditionNotMetException) Error ¶ added in v1.28.0
func (s *PreconditionNotMetException) Error() string
func (PreconditionNotMetException) GoString ¶ added in v1.28.0
func (s PreconditionNotMetException) GoString() string
GoString returns the string representation
func (*PreconditionNotMetException) Message ¶ added in v1.28.0
func (s *PreconditionNotMetException) Message() string
Message returns the exception's message.
func (*PreconditionNotMetException) OrigErr ¶ added in v1.28.0
func (s *PreconditionNotMetException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*PreconditionNotMetException) RequestID ¶ added in v1.28.0
func (s *PreconditionNotMetException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*PreconditionNotMetException) StatusCode ¶ added in v1.28.0
func (s *PreconditionNotMetException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (PreconditionNotMetException) String ¶ added in v1.28.0
func (s PreconditionNotMetException) String() string
String returns the string representation
type ProviderDescription ¶ added in v1.8.33
type ProviderDescription struct { // The date the provider was added to the user pool. CreationDate *time.Time `type:"timestamp"` // The date the provider was last modified. LastModifiedDate *time.Time `type:"timestamp"` // The identity provider name. ProviderName *string `min:"1" type:"string"` // The identity provider type. ProviderType *string `type:"string" enum:"IdentityProviderTypeType"` // contains filtered or unexported fields }
A container for identity provider details.
func (ProviderDescription) GoString ¶ added in v1.8.33
func (s ProviderDescription) GoString() string
GoString returns the string representation
func (*ProviderDescription) SetCreationDate ¶ added in v1.8.33
func (s *ProviderDescription) SetCreationDate(v time.Time) *ProviderDescription
SetCreationDate sets the CreationDate field's value.
func (*ProviderDescription) SetLastModifiedDate ¶ added in v1.8.33
func (s *ProviderDescription) SetLastModifiedDate(v time.Time) *ProviderDescription
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*ProviderDescription) SetProviderName ¶ added in v1.8.33
func (s *ProviderDescription) SetProviderName(v string) *ProviderDescription
SetProviderName sets the ProviderName field's value.
func (*ProviderDescription) SetProviderType ¶ added in v1.8.33
func (s *ProviderDescription) SetProviderType(v string) *ProviderDescription
SetProviderType sets the ProviderType field's value.
func (ProviderDescription) String ¶ added in v1.8.33
func (s ProviderDescription) String() string
String returns the string representation
type ProviderUserIdentifierType ¶ added in v1.10.24
type ProviderUserIdentifierType struct { // The name of the provider attribute to link to, for example, NameID. ProviderAttributeName *string `type:"string"` // The value of the provider attribute to link to, for example, xxxxx_account. ProviderAttributeValue *string `type:"string"` // The name of the provider, for example, Facebook, Google, or Login with Amazon. ProviderName *string `min:"1" type:"string"` // contains filtered or unexported fields }
A container for information about an identity provider for a user pool.
func (ProviderUserIdentifierType) GoString ¶ added in v1.10.24
func (s ProviderUserIdentifierType) GoString() string
GoString returns the string representation
func (*ProviderUserIdentifierType) SetProviderAttributeName ¶ added in v1.10.24
func (s *ProviderUserIdentifierType) SetProviderAttributeName(v string) *ProviderUserIdentifierType
SetProviderAttributeName sets the ProviderAttributeName field's value.
func (*ProviderUserIdentifierType) SetProviderAttributeValue ¶ added in v1.10.24
func (s *ProviderUserIdentifierType) SetProviderAttributeValue(v string) *ProviderUserIdentifierType
SetProviderAttributeValue sets the ProviderAttributeValue field's value.
func (*ProviderUserIdentifierType) SetProviderName ¶ added in v1.10.24
func (s *ProviderUserIdentifierType) SetProviderName(v string) *ProviderUserIdentifierType
SetProviderName sets the ProviderName field's value.
func (ProviderUserIdentifierType) String ¶ added in v1.10.24
func (s ProviderUserIdentifierType) String() string
String returns the string representation
func (*ProviderUserIdentifierType) Validate ¶ added in v1.10.24
func (s *ProviderUserIdentifierType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RecoveryOptionType ¶ added in v1.25.43
type RecoveryOptionType struct { // Specifies the recovery method for a user. // // Name is a required field Name *string `type:"string" required:"true" enum:"RecoveryOptionNameType"` // A positive integer specifying priority of a method with 1 being the highest // priority. // // Priority is a required field Priority *int64 `min:"1" type:"integer" required:"true"` // contains filtered or unexported fields }
A map containing a priority as a key, and recovery method name as a value.
func (RecoveryOptionType) GoString ¶ added in v1.25.43
func (s RecoveryOptionType) GoString() string
GoString returns the string representation
func (*RecoveryOptionType) SetName ¶ added in v1.25.43
func (s *RecoveryOptionType) SetName(v string) *RecoveryOptionType
SetName sets the Name field's value.
func (*RecoveryOptionType) SetPriority ¶ added in v1.25.43
func (s *RecoveryOptionType) SetPriority(v int64) *RecoveryOptionType
SetPriority sets the Priority field's value.
func (RecoveryOptionType) String ¶ added in v1.25.43
func (s RecoveryOptionType) String() string
String returns the string representation
func (*RecoveryOptionType) Validate ¶ added in v1.25.43
func (s *RecoveryOptionType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResendConfirmationCodeInput ¶
type ResendConfirmationCodeInput struct { // The Amazon Pinpoint analytics metadata for collecting metrics for ResendConfirmationCode // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` // The ID of the client associated with the user pool. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the ResendConfirmationCode API action, Amazon Cognito // invokes the function that is assigned to the custom message trigger. When // Amazon Cognito invokes this function, it passes a JSON payload, which the // function receives as input. This payload contains a clientMetadata attribute, // which provides the data that you assigned to the ClientMetadata parameter // in your ResendConfirmationCode request. In your function code in AWS Lambda, // you can process the clientMetadata value to enhance your workflow for your // specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // 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" sensitive:"true"` // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. UserContextData *UserContextDataType `type:"structure"` // The user name of the user to whom you wish to resend a confirmation code. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
Represents the request to resend the confirmation code.
func (ResendConfirmationCodeInput) GoString ¶
func (s ResendConfirmationCodeInput) GoString() string
GoString returns the string representation
func (*ResendConfirmationCodeInput) SetAnalyticsMetadata ¶ added in v1.12.35
func (s *ResendConfirmationCodeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ResendConfirmationCodeInput
SetAnalyticsMetadata sets the AnalyticsMetadata field's value.
func (*ResendConfirmationCodeInput) SetClientId ¶ added in v1.5.0
func (s *ResendConfirmationCodeInput) SetClientId(v string) *ResendConfirmationCodeInput
SetClientId sets the ClientId field's value.
func (*ResendConfirmationCodeInput) SetClientMetadata ¶ added in v1.25.6
func (s *ResendConfirmationCodeInput) SetClientMetadata(v map[string]*string) *ResendConfirmationCodeInput
SetClientMetadata sets the ClientMetadata field's value.
func (*ResendConfirmationCodeInput) SetSecretHash ¶ added in v1.5.0
func (s *ResendConfirmationCodeInput) SetSecretHash(v string) *ResendConfirmationCodeInput
SetSecretHash sets the SecretHash field's value.
func (*ResendConfirmationCodeInput) SetUserContextData ¶ added in v1.12.35
func (s *ResendConfirmationCodeInput) SetUserContextData(v *UserContextDataType) *ResendConfirmationCodeInput
SetUserContextData sets the UserContextData field's value.
func (*ResendConfirmationCodeInput) SetUsername ¶ added in v1.5.0
func (s *ResendConfirmationCodeInput) SetUsername(v string) *ResendConfirmationCodeInput
SetUsername sets the Username field's value.
func (ResendConfirmationCodeInput) String ¶
func (s ResendConfirmationCodeInput) String() string
String returns the string representation
func (*ResendConfirmationCodeInput) Validate ¶ added in v1.1.21
func (s *ResendConfirmationCodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResendConfirmationCodeOutput ¶
type ResendConfirmationCodeOutput struct { // The code delivery details returned by the server in response to the request // to resend the confirmation code. CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` // contains filtered or unexported fields }
The response from the server when the Amazon Cognito Your User Pools service makes the request to resend a confirmation code.
func (ResendConfirmationCodeOutput) GoString ¶
func (s ResendConfirmationCodeOutput) GoString() string
GoString returns the string representation
func (*ResendConfirmationCodeOutput) SetCodeDeliveryDetails ¶ added in v1.5.0
func (s *ResendConfirmationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ResendConfirmationCodeOutput
SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value.
func (ResendConfirmationCodeOutput) String ¶
func (s ResendConfirmationCodeOutput) String() string
String returns the string representation
type ResourceNotFoundException ¶ added in v1.28.0
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the Amazon Cognito service returns a resource not // found exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the Amazon Cognito service cannot find the requested resource.
func (*ResourceNotFoundException) Code ¶ added in v1.28.0
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶ added in v1.28.0
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶ added in v1.28.0
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation
func (*ResourceNotFoundException) Message ¶ added in v1.28.0
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶ added in v1.28.0
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶ added in v1.28.0
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶ added in v1.28.0
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶ added in v1.28.0
func (s ResourceNotFoundException) String() string
String returns the string representation
type ResourceServerScopeType ¶ added in v1.10.24
type ResourceServerScopeType struct { // A description of the scope. // // ScopeDescription is a required field ScopeDescription *string `min:"1" type:"string" required:"true"` // The name of the scope. // // ScopeName is a required field ScopeName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A resource server scope.
func (ResourceServerScopeType) GoString ¶ added in v1.10.24
func (s ResourceServerScopeType) GoString() string
GoString returns the string representation
func (*ResourceServerScopeType) SetScopeDescription ¶ added in v1.10.24
func (s *ResourceServerScopeType) SetScopeDescription(v string) *ResourceServerScopeType
SetScopeDescription sets the ScopeDescription field's value.
func (*ResourceServerScopeType) SetScopeName ¶ added in v1.10.24
func (s *ResourceServerScopeType) SetScopeName(v string) *ResourceServerScopeType
SetScopeName sets the ScopeName field's value.
func (ResourceServerScopeType) String ¶ added in v1.10.24
func (s ResourceServerScopeType) String() string
String returns the string representation
func (*ResourceServerScopeType) Validate ¶ added in v1.10.24
func (s *ResourceServerScopeType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceServerType ¶ added in v1.10.24
type ResourceServerType struct { // The identifier for the resource server. Identifier *string `min:"1" type:"string"` // The name of the resource server. Name *string `min:"1" type:"string"` // A list of scopes that are defined for the resource server. Scopes []*ResourceServerScopeType `type:"list"` // The user pool ID for the user pool that hosts the resource server. UserPoolId *string `min:"1" type:"string"` // contains filtered or unexported fields }
A container for information about a resource server for a user pool.
func (ResourceServerType) GoString ¶ added in v1.10.24
func (s ResourceServerType) GoString() string
GoString returns the string representation
func (*ResourceServerType) SetIdentifier ¶ added in v1.10.24
func (s *ResourceServerType) SetIdentifier(v string) *ResourceServerType
SetIdentifier sets the Identifier field's value.
func (*ResourceServerType) SetName ¶ added in v1.10.24
func (s *ResourceServerType) SetName(v string) *ResourceServerType
SetName sets the Name field's value.
func (*ResourceServerType) SetScopes ¶ added in v1.10.24
func (s *ResourceServerType) SetScopes(v []*ResourceServerScopeType) *ResourceServerType
SetScopes sets the Scopes field's value.
func (*ResourceServerType) SetUserPoolId ¶ added in v1.10.24
func (s *ResourceServerType) SetUserPoolId(v string) *ResourceServerType
SetUserPoolId sets the UserPoolId field's value.
func (ResourceServerType) String ¶ added in v1.10.24
func (s ResourceServerType) String() string
String returns the string representation
type RespondToAuthChallengeInput ¶ added in v1.2.10
type RespondToAuthChallengeInput struct { // The Amazon Pinpoint analytics metadata for collecting metrics for RespondToAuthChallenge // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` // The challenge name. For more information, see InitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html). // // ADMIN_NO_SRP_AUTH is not a valid value. // // 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: // // SECRET_HASH (if app client is configured with client secret) applies to all // inputs below (including SOFTWARE_TOKEN_MFA). // // * SMS_MFA: SMS_MFA_CODE, USERNAME. // // * PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, // TIMESTAMP, USERNAME. // // * NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, // USERNAME. // // * SOFTWARE_TOKEN_MFA: USERNAME and SOFTWARE_TOKEN_MFA_CODE are required // attributes. // // * DEVICE_SRP_AUTH requires USERNAME, DEVICE_KEY, SRP_A (and SECRET_HASH). // // * DEVICE_PASSWORD_VERIFIER requires everything that PASSWORD_VERIFIER // requires plus DEVICE_KEY. ChallengeResponses map[string]*string `type:"map"` // The app client ID. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the RespondToAuthChallenge API action, Amazon Cognito // invokes any functions that are assigned to the following triggers: post authentication, // pre token generation, define auth challenge, create auth challenge, and verify // auth challenge. When Amazon Cognito invokes any of these functions, it passes // a JSON payload, which the function receives as input. This payload contains // a clientMetadata attribute, which provides the data that you assigned to // the ClientMetadata parameter in your RespondToAuthChallenge request. In your // function code in AWS Lambda, you can process the clientMetadata value to // enhance your workflow for your specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // 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"` // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. UserContextData *UserContextDataType `type:"structure"` // contains filtered or unexported fields }
The request to respond to an authentication challenge.
func (RespondToAuthChallengeInput) GoString ¶ added in v1.2.10
func (s RespondToAuthChallengeInput) GoString() string
GoString returns the string representation
func (*RespondToAuthChallengeInput) SetAnalyticsMetadata ¶ added in v1.12.35
func (s *RespondToAuthChallengeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *RespondToAuthChallengeInput
SetAnalyticsMetadata sets the AnalyticsMetadata field's value.
func (*RespondToAuthChallengeInput) SetChallengeName ¶ added in v1.5.0
func (s *RespondToAuthChallengeInput) SetChallengeName(v string) *RespondToAuthChallengeInput
SetChallengeName sets the ChallengeName field's value.
func (*RespondToAuthChallengeInput) SetChallengeResponses ¶ added in v1.5.0
func (s *RespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *RespondToAuthChallengeInput
SetChallengeResponses sets the ChallengeResponses field's value.
func (*RespondToAuthChallengeInput) SetClientId ¶ added in v1.5.0
func (s *RespondToAuthChallengeInput) SetClientId(v string) *RespondToAuthChallengeInput
SetClientId sets the ClientId field's value.
func (*RespondToAuthChallengeInput) SetClientMetadata ¶ added in v1.25.6
func (s *RespondToAuthChallengeInput) SetClientMetadata(v map[string]*string) *RespondToAuthChallengeInput
SetClientMetadata sets the ClientMetadata field's value.
func (*RespondToAuthChallengeInput) SetSession ¶ added in v1.5.0
func (s *RespondToAuthChallengeInput) SetSession(v string) *RespondToAuthChallengeInput
SetSession sets the Session field's value.
func (*RespondToAuthChallengeInput) SetUserContextData ¶ added in v1.12.35
func (s *RespondToAuthChallengeInput) SetUserContextData(v *UserContextDataType) *RespondToAuthChallengeInput
SetUserContextData sets the UserContextData field's value.
func (RespondToAuthChallengeInput) String ¶ added in v1.2.10
func (s RespondToAuthChallengeInput) String() string
String returns the string representation
func (*RespondToAuthChallengeInput) Validate ¶ added in v1.2.10
func (s *RespondToAuthChallengeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RespondToAuthChallengeOutput ¶ added in v1.2.10
type RespondToAuthChallengeOutput struct { // The result returned by the server in response to the request to respond to // the authentication challenge. AuthenticationResult *AuthenticationResultType `type:"structure"` // The challenge name. For more information, see InitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html). ChallengeName *string `type:"string" enum:"ChallengeNameType"` // The challenge parameters. For more information, see InitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html). ChallengeParameters map[string]*string `type:"map"` // The session which should be passed both ways in challenge-response calls // to the service. If 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 }
The response to respond to the authentication challenge.
func (RespondToAuthChallengeOutput) GoString ¶ added in v1.2.10
func (s RespondToAuthChallengeOutput) GoString() string
GoString returns the string representation
func (*RespondToAuthChallengeOutput) SetAuthenticationResult ¶ added in v1.5.0
func (s *RespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *RespondToAuthChallengeOutput
SetAuthenticationResult sets the AuthenticationResult field's value.
func (*RespondToAuthChallengeOutput) SetChallengeName ¶ added in v1.5.0
func (s *RespondToAuthChallengeOutput) SetChallengeName(v string) *RespondToAuthChallengeOutput
SetChallengeName sets the ChallengeName field's value.
func (*RespondToAuthChallengeOutput) SetChallengeParameters ¶ added in v1.5.0
func (s *RespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *RespondToAuthChallengeOutput
SetChallengeParameters sets the ChallengeParameters field's value.
func (*RespondToAuthChallengeOutput) SetSession ¶ added in v1.5.0
func (s *RespondToAuthChallengeOutput) SetSession(v string) *RespondToAuthChallengeOutput
SetSession sets the Session field's value.
func (RespondToAuthChallengeOutput) String ¶ added in v1.2.10
func (s RespondToAuthChallengeOutput) String() string
String returns the string representation
type RiskConfigurationType ¶ added in v1.12.35
type RiskConfigurationType struct { // The account takeover risk configuration object including the NotifyConfiguration // object and Actions to take in the case of an account takeover. AccountTakeoverRiskConfiguration *AccountTakeoverRiskConfigurationType `type:"structure"` // The app client ID. ClientId *string `min:"1" type:"string" sensitive:"true"` // The compromised credentials risk configuration object including the EventFilter // and the EventAction CompromisedCredentialsRiskConfiguration *CompromisedCredentialsRiskConfigurationType `type:"structure"` // The last modified date. LastModifiedDate *time.Time `type:"timestamp"` // The configuration to override the risk decision. RiskExceptionConfiguration *RiskExceptionConfigurationType `type:"structure"` // The user pool ID. UserPoolId *string `min:"1" type:"string"` // contains filtered or unexported fields }
The risk configuration type.
func (RiskConfigurationType) GoString ¶ added in v1.12.35
func (s RiskConfigurationType) GoString() string
GoString returns the string representation
func (*RiskConfigurationType) SetAccountTakeoverRiskConfiguration ¶ added in v1.12.35
func (s *RiskConfigurationType) SetAccountTakeoverRiskConfiguration(v *AccountTakeoverRiskConfigurationType) *RiskConfigurationType
SetAccountTakeoverRiskConfiguration sets the AccountTakeoverRiskConfiguration field's value.
func (*RiskConfigurationType) SetClientId ¶ added in v1.12.35
func (s *RiskConfigurationType) SetClientId(v string) *RiskConfigurationType
SetClientId sets the ClientId field's value.
func (*RiskConfigurationType) SetCompromisedCredentialsRiskConfiguration ¶ added in v1.12.35
func (s *RiskConfigurationType) SetCompromisedCredentialsRiskConfiguration(v *CompromisedCredentialsRiskConfigurationType) *RiskConfigurationType
SetCompromisedCredentialsRiskConfiguration sets the CompromisedCredentialsRiskConfiguration field's value.
func (*RiskConfigurationType) SetLastModifiedDate ¶ added in v1.12.35
func (s *RiskConfigurationType) SetLastModifiedDate(v time.Time) *RiskConfigurationType
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*RiskConfigurationType) SetRiskExceptionConfiguration ¶ added in v1.12.35
func (s *RiskConfigurationType) SetRiskExceptionConfiguration(v *RiskExceptionConfigurationType) *RiskConfigurationType
SetRiskExceptionConfiguration sets the RiskExceptionConfiguration field's value.
func (*RiskConfigurationType) SetUserPoolId ¶ added in v1.12.35
func (s *RiskConfigurationType) SetUserPoolId(v string) *RiskConfigurationType
SetUserPoolId sets the UserPoolId field's value.
func (RiskConfigurationType) String ¶ added in v1.12.35
func (s RiskConfigurationType) String() string
String returns the string representation
type RiskExceptionConfigurationType ¶ added in v1.12.35
type RiskExceptionConfigurationType struct { // Overrides the risk decision to always block the pre-authentication requests. // The IP range is in CIDR notation: a compact representation of an IP address // and its associated routing prefix. BlockedIPRangeList []*string `type:"list"` // Risk detection is not performed on the IP addresses in the range list. The // IP range is in CIDR notation. SkippedIPRangeList []*string `type:"list"` // contains filtered or unexported fields }
The type of the configuration to override the risk decision.
func (RiskExceptionConfigurationType) GoString ¶ added in v1.12.35
func (s RiskExceptionConfigurationType) GoString() string
GoString returns the string representation
func (*RiskExceptionConfigurationType) SetBlockedIPRangeList ¶ added in v1.12.35
func (s *RiskExceptionConfigurationType) SetBlockedIPRangeList(v []*string) *RiskExceptionConfigurationType
SetBlockedIPRangeList sets the BlockedIPRangeList field's value.
func (*RiskExceptionConfigurationType) SetSkippedIPRangeList ¶ added in v1.12.35
func (s *RiskExceptionConfigurationType) SetSkippedIPRangeList(v []*string) *RiskExceptionConfigurationType
SetSkippedIPRangeList sets the SkippedIPRangeList field's value.
func (RiskExceptionConfigurationType) String ¶ added in v1.12.35
func (s RiskExceptionConfigurationType) String() string
String returns the string representation
type SMSMfaSettingsType ¶ added in v1.12.35
type SMSMfaSettingsType struct { // Specifies whether SMS text message MFA is enabled. If an MFA type is enabled // for a user, the user will be prompted for MFA during all sign in attempts, // unless device tracking is turned on and the device has been trusted. Enabled *bool `type:"boolean"` // Specifies whether SMS is the preferred MFA method. PreferredMfa *bool `type:"boolean"` // contains filtered or unexported fields }
The type used for enabling SMS MFA at the user level. Phone numbers don't need to be verified to be used for SMS MFA. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted. If you would like MFA to be applied selectively based on the assessed risk level of sign in attempts, disable MFA for users and turn on Adaptive Authentication for the user pool.
func (SMSMfaSettingsType) GoString ¶ added in v1.12.35
func (s SMSMfaSettingsType) GoString() string
GoString returns the string representation
func (*SMSMfaSettingsType) SetEnabled ¶ added in v1.12.35
func (s *SMSMfaSettingsType) SetEnabled(v bool) *SMSMfaSettingsType
SetEnabled sets the Enabled field's value.
func (*SMSMfaSettingsType) SetPreferredMfa ¶ added in v1.12.35
func (s *SMSMfaSettingsType) SetPreferredMfa(v bool) *SMSMfaSettingsType
SetPreferredMfa sets the PreferredMfa field's value.
func (SMSMfaSettingsType) String ¶ added in v1.12.35
func (s SMSMfaSettingsType) String() string
String returns the string representation
type SchemaAttributeType ¶
type SchemaAttributeType struct { // The attribute data type. AttributeDataType *string `type:"string" enum:"AttributeDataType"` // // We recommend that you use WriteAttributes (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UserPoolClientType.html#CognitoUserPools-Type-UserPoolClientType-WriteAttributes) // in the user pool client to control how attributes can be mutated for new // use cases instead of using DeveloperOnlyAttribute. // // Specifies whether the attribute type is developer only. This attribute can // only be modified by an administrator. Users will not be able to modify this // attribute using their access token. For example, DeveloperOnlyAttribute can // be modified using AdminUpdateUserAttributes but cannot be updated using UpdateUserAttributes. DeveloperOnlyAttribute *bool `type:"boolean"` // Specifies whether the value of the attribute can be changed. // // For any user pool attribute that's mapped to an identity provider attribute, // you must set this parameter to true. Amazon Cognito updates mapped attributes // when users sign in to your application through an identity provider. If an // attribute is immutable, Amazon Cognito throws an error when it attempts to // update the attribute. For more information, see Specifying Identity Provider // Attribute Mappings for Your User Pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html). Mutable *bool `type:"boolean"` // A schema attribute of the name type. Name *string `min:"1" type:"string"` // Specifies the constraints for an attribute of the number type. NumberAttributeConstraints *NumberAttributeConstraintsType `type:"structure"` // Specifies whether a user pool attribute is required. If the attribute is // required and the user does not provide a value, registration or sign-in will // fail. Required *bool `type:"boolean"` // Specifies the constraints for an attribute of the string type. StringAttributeConstraints *StringAttributeConstraintsType `type:"structure"` // contains filtered or unexported fields }
Contains information about the schema attribute.
func (SchemaAttributeType) GoString ¶
func (s SchemaAttributeType) GoString() string
GoString returns the string representation
func (*SchemaAttributeType) SetAttributeDataType ¶ added in v1.5.0
func (s *SchemaAttributeType) SetAttributeDataType(v string) *SchemaAttributeType
SetAttributeDataType sets the AttributeDataType field's value.
func (*SchemaAttributeType) SetDeveloperOnlyAttribute ¶ added in v1.5.0
func (s *SchemaAttributeType) SetDeveloperOnlyAttribute(v bool) *SchemaAttributeType
SetDeveloperOnlyAttribute sets the DeveloperOnlyAttribute field's value.
func (*SchemaAttributeType) SetMutable ¶ added in v1.5.0
func (s *SchemaAttributeType) SetMutable(v bool) *SchemaAttributeType
SetMutable sets the Mutable field's value.
func (*SchemaAttributeType) SetName ¶ added in v1.5.0
func (s *SchemaAttributeType) SetName(v string) *SchemaAttributeType
SetName sets the Name field's value.
func (*SchemaAttributeType) SetNumberAttributeConstraints ¶ added in v1.5.0
func (s *SchemaAttributeType) SetNumberAttributeConstraints(v *NumberAttributeConstraintsType) *SchemaAttributeType
SetNumberAttributeConstraints sets the NumberAttributeConstraints field's value.
func (*SchemaAttributeType) SetRequired ¶ added in v1.5.0
func (s *SchemaAttributeType) SetRequired(v bool) *SchemaAttributeType
SetRequired sets the Required field's value.
func (*SchemaAttributeType) SetStringAttributeConstraints ¶ added in v1.5.0
func (s *SchemaAttributeType) SetStringAttributeConstraints(v *StringAttributeConstraintsType) *SchemaAttributeType
SetStringAttributeConstraints sets the StringAttributeConstraints field's value.
func (SchemaAttributeType) String ¶
func (s SchemaAttributeType) String() string
String returns the string representation
func (*SchemaAttributeType) Validate ¶ added in v1.1.21
func (s *SchemaAttributeType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ScopeDoesNotExistException ¶ added in v1.28.0
type ScopeDoesNotExistException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified scope does not exist.
func (*ScopeDoesNotExistException) Code ¶ added in v1.28.0
func (s *ScopeDoesNotExistException) Code() string
Code returns the exception type name.
func (*ScopeDoesNotExistException) Error ¶ added in v1.28.0
func (s *ScopeDoesNotExistException) Error() string
func (ScopeDoesNotExistException) GoString ¶ added in v1.28.0
func (s ScopeDoesNotExistException) GoString() string
GoString returns the string representation
func (*ScopeDoesNotExistException) Message ¶ added in v1.28.0
func (s *ScopeDoesNotExistException) Message() string
Message returns the exception's message.
func (*ScopeDoesNotExistException) OrigErr ¶ added in v1.28.0
func (s *ScopeDoesNotExistException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ScopeDoesNotExistException) RequestID ¶ added in v1.28.0
func (s *ScopeDoesNotExistException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ScopeDoesNotExistException) StatusCode ¶ added in v1.28.0
func (s *ScopeDoesNotExistException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ScopeDoesNotExistException) String ¶ added in v1.28.0
func (s ScopeDoesNotExistException) String() string
String returns the string representation
type SetRiskConfigurationInput ¶ added in v1.12.35
type SetRiskConfigurationInput struct { // The account takeover risk configuration. AccountTakeoverRiskConfiguration *AccountTakeoverRiskConfigurationType `type:"structure"` // The app client ID. If ClientId is null, then the risk configuration is mapped // to userPoolId. When the client ID is null, the same risk configuration is // applied to all the clients in the userPool. // // Otherwise, ClientId is mapped to the client. When the client ID is not null, // the user pool configuration is overridden and the risk configuration for // the client is used instead. ClientId *string `min:"1" type:"string" sensitive:"true"` // The compromised credentials risk configuration. CompromisedCredentialsRiskConfiguration *CompromisedCredentialsRiskConfigurationType `type:"structure"` // The configuration to override the risk decision. RiskExceptionConfiguration *RiskExceptionConfigurationType `type:"structure"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (SetRiskConfigurationInput) GoString ¶ added in v1.12.35
func (s SetRiskConfigurationInput) GoString() string
GoString returns the string representation
func (*SetRiskConfigurationInput) SetAccountTakeoverRiskConfiguration ¶ added in v1.12.35
func (s *SetRiskConfigurationInput) SetAccountTakeoverRiskConfiguration(v *AccountTakeoverRiskConfigurationType) *SetRiskConfigurationInput
SetAccountTakeoverRiskConfiguration sets the AccountTakeoverRiskConfiguration field's value.
func (*SetRiskConfigurationInput) SetClientId ¶ added in v1.12.35
func (s *SetRiskConfigurationInput) SetClientId(v string) *SetRiskConfigurationInput
SetClientId sets the ClientId field's value.
func (*SetRiskConfigurationInput) SetCompromisedCredentialsRiskConfiguration ¶ added in v1.12.35
func (s *SetRiskConfigurationInput) SetCompromisedCredentialsRiskConfiguration(v *CompromisedCredentialsRiskConfigurationType) *SetRiskConfigurationInput
SetCompromisedCredentialsRiskConfiguration sets the CompromisedCredentialsRiskConfiguration field's value.
func (*SetRiskConfigurationInput) SetRiskExceptionConfiguration ¶ added in v1.12.35
func (s *SetRiskConfigurationInput) SetRiskExceptionConfiguration(v *RiskExceptionConfigurationType) *SetRiskConfigurationInput
SetRiskExceptionConfiguration sets the RiskExceptionConfiguration field's value.
func (*SetRiskConfigurationInput) SetUserPoolId ¶ added in v1.12.35
func (s *SetRiskConfigurationInput) SetUserPoolId(v string) *SetRiskConfigurationInput
SetUserPoolId sets the UserPoolId field's value.
func (SetRiskConfigurationInput) String ¶ added in v1.12.35
func (s SetRiskConfigurationInput) String() string
String returns the string representation
func (*SetRiskConfigurationInput) Validate ¶ added in v1.12.35
func (s *SetRiskConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetRiskConfigurationOutput ¶ added in v1.12.35
type SetRiskConfigurationOutput struct { // The risk configuration. // // RiskConfiguration is a required field RiskConfiguration *RiskConfigurationType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (SetRiskConfigurationOutput) GoString ¶ added in v1.12.35
func (s SetRiskConfigurationOutput) GoString() string
GoString returns the string representation
func (*SetRiskConfigurationOutput) SetRiskConfiguration ¶ added in v1.12.35
func (s *SetRiskConfigurationOutput) SetRiskConfiguration(v *RiskConfigurationType) *SetRiskConfigurationOutput
SetRiskConfiguration sets the RiskConfiguration field's value.
func (SetRiskConfigurationOutput) String ¶ added in v1.12.35
func (s SetRiskConfigurationOutput) String() string
String returns the string representation
type SetUICustomizationInput ¶ added in v1.10.24
type SetUICustomizationInput struct { // The CSS values in the UI customization. CSS *string `type:"string"` // The client ID for the client app. ClientId *string `min:"1" type:"string" sensitive:"true"` // The uploaded logo image for the UI customization. // // ImageFile is automatically base64 encoded/decoded by the SDK. ImageFile []byte `type:"blob"` // 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 (SetUICustomizationInput) GoString ¶ added in v1.10.24
func (s SetUICustomizationInput) GoString() string
GoString returns the string representation
func (*SetUICustomizationInput) SetCSS ¶ added in v1.10.24
func (s *SetUICustomizationInput) SetCSS(v string) *SetUICustomizationInput
SetCSS sets the CSS field's value.
func (*SetUICustomizationInput) SetClientId ¶ added in v1.10.24
func (s *SetUICustomizationInput) SetClientId(v string) *SetUICustomizationInput
SetClientId sets the ClientId field's value.
func (*SetUICustomizationInput) SetImageFile ¶ added in v1.10.24
func (s *SetUICustomizationInput) SetImageFile(v []byte) *SetUICustomizationInput
SetImageFile sets the ImageFile field's value.
func (*SetUICustomizationInput) SetUserPoolId ¶ added in v1.10.24
func (s *SetUICustomizationInput) SetUserPoolId(v string) *SetUICustomizationInput
SetUserPoolId sets the UserPoolId field's value.
func (SetUICustomizationInput) String ¶ added in v1.10.24
func (s SetUICustomizationInput) String() string
String returns the string representation
func (*SetUICustomizationInput) Validate ¶ added in v1.10.24
func (s *SetUICustomizationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetUICustomizationOutput ¶ added in v1.10.24
type SetUICustomizationOutput struct { // The UI customization information. // // UICustomization is a required field UICustomization *UICustomizationType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (SetUICustomizationOutput) GoString ¶ added in v1.10.24
func (s SetUICustomizationOutput) GoString() string
GoString returns the string representation
func (*SetUICustomizationOutput) SetUICustomization ¶ added in v1.10.24
func (s *SetUICustomizationOutput) SetUICustomization(v *UICustomizationType) *SetUICustomizationOutput
SetUICustomization sets the UICustomization field's value.
func (SetUICustomizationOutput) String ¶ added in v1.10.24
func (s SetUICustomizationOutput) String() string
String returns the string representation
type SetUserMFAPreferenceInput ¶ added in v1.12.35
type SetUserMFAPreferenceInput struct { // The access token for the user. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // The SMS text message multi-factor authentication (MFA) settings. SMSMfaSettings *SMSMfaSettingsType `type:"structure"` // The time-based one-time password software token MFA settings. SoftwareTokenMfaSettings *SoftwareTokenMfaSettingsType `type:"structure"` // contains filtered or unexported fields }
func (SetUserMFAPreferenceInput) GoString ¶ added in v1.12.35
func (s SetUserMFAPreferenceInput) GoString() string
GoString returns the string representation
func (*SetUserMFAPreferenceInput) SetAccessToken ¶ added in v1.12.35
func (s *SetUserMFAPreferenceInput) SetAccessToken(v string) *SetUserMFAPreferenceInput
SetAccessToken sets the AccessToken field's value.
func (*SetUserMFAPreferenceInput) SetSMSMfaSettings ¶ added in v1.12.35
func (s *SetUserMFAPreferenceInput) SetSMSMfaSettings(v *SMSMfaSettingsType) *SetUserMFAPreferenceInput
SetSMSMfaSettings sets the SMSMfaSettings field's value.
func (*SetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings ¶ added in v1.12.35
func (s *SetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings(v *SoftwareTokenMfaSettingsType) *SetUserMFAPreferenceInput
SetSoftwareTokenMfaSettings sets the SoftwareTokenMfaSettings field's value.
func (SetUserMFAPreferenceInput) String ¶ added in v1.12.35
func (s SetUserMFAPreferenceInput) String() string
String returns the string representation
func (*SetUserMFAPreferenceInput) Validate ¶ added in v1.12.35
func (s *SetUserMFAPreferenceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetUserMFAPreferenceOutput ¶ added in v1.12.35
type SetUserMFAPreferenceOutput struct {
// contains filtered or unexported fields
}
func (SetUserMFAPreferenceOutput) GoString ¶ added in v1.12.35
func (s SetUserMFAPreferenceOutput) GoString() string
GoString returns the string representation
func (SetUserMFAPreferenceOutput) String ¶ added in v1.12.35
func (s SetUserMFAPreferenceOutput) String() string
String returns the string representation
type SetUserPoolMfaConfigInput ¶ added in v1.12.35
type SetUserPoolMfaConfigInput struct { // The MFA configuration. Valid values include: // // * OFF MFA will not be used for any users. // // * ON MFA is required for all users to sign in. // // * OPTIONAL MFA will be required only for individual users who have an // MFA factor enabled. MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` // The SMS text message MFA configuration. SmsMfaConfiguration *SmsMfaConfigType `type:"structure"` // The software token MFA configuration. SoftwareTokenMfaConfiguration *SoftwareTokenMfaConfigType `type:"structure"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (SetUserPoolMfaConfigInput) GoString ¶ added in v1.12.35
func (s SetUserPoolMfaConfigInput) GoString() string
GoString returns the string representation
func (*SetUserPoolMfaConfigInput) SetMfaConfiguration ¶ added in v1.12.35
func (s *SetUserPoolMfaConfigInput) SetMfaConfiguration(v string) *SetUserPoolMfaConfigInput
SetMfaConfiguration sets the MfaConfiguration field's value.
func (*SetUserPoolMfaConfigInput) SetSmsMfaConfiguration ¶ added in v1.12.35
func (s *SetUserPoolMfaConfigInput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *SetUserPoolMfaConfigInput
SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value.
func (*SetUserPoolMfaConfigInput) SetSoftwareTokenMfaConfiguration ¶ added in v1.12.35
func (s *SetUserPoolMfaConfigInput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *SetUserPoolMfaConfigInput
SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value.
func (*SetUserPoolMfaConfigInput) SetUserPoolId ¶ added in v1.12.35
func (s *SetUserPoolMfaConfigInput) SetUserPoolId(v string) *SetUserPoolMfaConfigInput
SetUserPoolId sets the UserPoolId field's value.
func (SetUserPoolMfaConfigInput) String ¶ added in v1.12.35
func (s SetUserPoolMfaConfigInput) String() string
String returns the string representation
func (*SetUserPoolMfaConfigInput) Validate ¶ added in v1.12.35
func (s *SetUserPoolMfaConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetUserPoolMfaConfigOutput ¶ added in v1.12.35
type SetUserPoolMfaConfigOutput struct { // The MFA configuration. Valid values include: // // * OFF MFA will not be used for any users. // // * ON MFA is required for all users to sign in. // // * OPTIONAL MFA will be required only for individual users who have an // MFA factor enabled. MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` // The SMS text message MFA configuration. SmsMfaConfiguration *SmsMfaConfigType `type:"structure"` // The software token MFA configuration. SoftwareTokenMfaConfiguration *SoftwareTokenMfaConfigType `type:"structure"` // contains filtered or unexported fields }
func (SetUserPoolMfaConfigOutput) GoString ¶ added in v1.12.35
func (s SetUserPoolMfaConfigOutput) GoString() string
GoString returns the string representation
func (*SetUserPoolMfaConfigOutput) SetMfaConfiguration ¶ added in v1.12.35
func (s *SetUserPoolMfaConfigOutput) SetMfaConfiguration(v string) *SetUserPoolMfaConfigOutput
SetMfaConfiguration sets the MfaConfiguration field's value.
func (*SetUserPoolMfaConfigOutput) SetSmsMfaConfiguration ¶ added in v1.12.35
func (s *SetUserPoolMfaConfigOutput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *SetUserPoolMfaConfigOutput
SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value.
func (*SetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration ¶ added in v1.12.35
func (s *SetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *SetUserPoolMfaConfigOutput
SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value.
func (SetUserPoolMfaConfigOutput) String ¶ added in v1.12.35
func (s SetUserPoolMfaConfigOutput) String() string
String returns the string representation
type SetUserSettingsInput ¶
type SetUserSettingsInput struct { // The access token for the set user settings request. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // You can use this parameter only to set an SMS configuration that uses SMS // for delivery. // // MFAOptions is a required field MFAOptions []*MFAOptionType `type:"list" required:"true"` // contains filtered or unexported fields }
Represents the request to set user settings.
func (SetUserSettingsInput) GoString ¶
func (s SetUserSettingsInput) GoString() string
GoString returns the string representation
func (*SetUserSettingsInput) SetAccessToken ¶ added in v1.5.0
func (s *SetUserSettingsInput) SetAccessToken(v string) *SetUserSettingsInput
SetAccessToken sets the AccessToken field's value.
func (*SetUserSettingsInput) SetMFAOptions ¶ added in v1.5.0
func (s *SetUserSettingsInput) SetMFAOptions(v []*MFAOptionType) *SetUserSettingsInput
SetMFAOptions sets the MFAOptions field's value.
func (SetUserSettingsInput) String ¶
func (s SetUserSettingsInput) String() string
String returns the string representation
func (*SetUserSettingsInput) Validate ¶ added in v1.1.21
func (s *SetUserSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetUserSettingsOutput ¶
type SetUserSettingsOutput struct {
// contains filtered or unexported fields
}
The response from the server for a set user settings request.
func (SetUserSettingsOutput) GoString ¶
func (s SetUserSettingsOutput) GoString() string
GoString returns the string representation
func (SetUserSettingsOutput) String ¶
func (s SetUserSettingsOutput) String() string
String returns the string representation
type SignUpInput ¶
type SignUpInput struct { // The Amazon Pinpoint analytics metadata for collecting metrics for SignUp // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` // The ID of the client associated with the user pool. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the SignUp API action, Amazon Cognito invokes any // functions that are assigned to the following triggers: pre sign-up, custom // message, and post confirmation. When Amazon Cognito invokes any of these // functions, it passes a JSON payload, which the function receives as input. // This payload contains a clientMetadata attribute, which provides the data // that you assigned to the ClientMetadata parameter in your SignUp request. // In your function code in AWS Lambda, you can process the clientMetadata value // to enhance your workflow for your specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // The password of the user you wish to register. // // Password is a required field Password *string `min:"6" type:"string" required:"true" sensitive:"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" sensitive:"true"` // An array of name-value pairs representing user attributes. // // For custom attributes, you must prepend the custom: prefix to the attribute // name. UserAttributes []*AttributeType `type:"list"` // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. UserContextData *UserContextDataType `type:"structure"` // The user name of the user you wish to register. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // The validation data in the request to register a user. ValidationData []*AttributeType `type:"list"` // contains filtered or unexported fields }
Represents the request to register a user.
func (SignUpInput) GoString ¶
func (s SignUpInput) GoString() string
GoString returns the string representation
func (*SignUpInput) SetAnalyticsMetadata ¶ added in v1.12.35
func (s *SignUpInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *SignUpInput
SetAnalyticsMetadata sets the AnalyticsMetadata field's value.
func (*SignUpInput) SetClientId ¶ added in v1.5.0
func (s *SignUpInput) SetClientId(v string) *SignUpInput
SetClientId sets the ClientId field's value.
func (*SignUpInput) SetClientMetadata ¶ added in v1.25.6
func (s *SignUpInput) SetClientMetadata(v map[string]*string) *SignUpInput
SetClientMetadata sets the ClientMetadata field's value.
func (*SignUpInput) SetPassword ¶ added in v1.5.0
func (s *SignUpInput) SetPassword(v string) *SignUpInput
SetPassword sets the Password field's value.
func (*SignUpInput) SetSecretHash ¶ added in v1.5.0
func (s *SignUpInput) SetSecretHash(v string) *SignUpInput
SetSecretHash sets the SecretHash field's value.
func (*SignUpInput) SetUserAttributes ¶ added in v1.5.0
func (s *SignUpInput) SetUserAttributes(v []*AttributeType) *SignUpInput
SetUserAttributes sets the UserAttributes field's value.
func (*SignUpInput) SetUserContextData ¶ added in v1.12.35
func (s *SignUpInput) SetUserContextData(v *UserContextDataType) *SignUpInput
SetUserContextData sets the UserContextData field's value.
func (*SignUpInput) SetUsername ¶ added in v1.5.0
func (s *SignUpInput) SetUsername(v string) *SignUpInput
SetUsername sets the Username field's value.
func (*SignUpInput) SetValidationData ¶ added in v1.5.0
func (s *SignUpInput) SetValidationData(v []*AttributeType) *SignUpInput
SetValidationData sets the ValidationData field's value.
func (SignUpInput) String ¶
func (s SignUpInput) String() string
String returns the string representation
func (*SignUpInput) Validate ¶ added in v1.1.21
func (s *SignUpInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SignUpOutput ¶
type SignUpOutput struct { // The code delivery details returned by the server response to the user registration // request. CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"` // A response from the server indicating that a user registration has been confirmed. // // UserConfirmed is a required field UserConfirmed *bool `type:"boolean" required:"true"` // The UUID of the authenticated user. This is not the same as username. // // UserSub is a required field UserSub *string `type:"string" required:"true"` // contains filtered or unexported fields }
The response from the server for a registration request.
func (SignUpOutput) GoString ¶
func (s SignUpOutput) GoString() string
GoString returns the string representation
func (*SignUpOutput) SetCodeDeliveryDetails ¶ added in v1.5.0
func (s *SignUpOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *SignUpOutput
SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value.
func (*SignUpOutput) SetUserConfirmed ¶ added in v1.5.0
func (s *SignUpOutput) SetUserConfirmed(v bool) *SignUpOutput
SetUserConfirmed sets the UserConfirmed field's value.
func (*SignUpOutput) SetUserSub ¶ added in v1.8.33
func (s *SignUpOutput) SetUserSub(v string) *SignUpOutput
SetUserSub sets the UserSub field's value.
func (SignUpOutput) String ¶
func (s SignUpOutput) String() string
String returns the string representation
type SmsConfigurationType ¶ added in v1.2.10
type SmsConfigurationType struct { // The external ID is a value that we recommend you use to add security to your // IAM role which is used to call Amazon SNS to send SMS messages for your user // pool. If you provide an ExternalId, the Cognito User Pool will include it // when attempting to assume your IAM role, so that you can set your roles trust // policy to require the ExternalID. If you use the Cognito Management Console // to create a role for SMS MFA, Cognito will create a role with the required // permissions and a trust policy that demonstrates use of the ExternalId. ExternalId *string `type:"string"` // The Amazon Resource Name (ARN) of the Amazon Simple Notification Service // (SNS) caller. This is the ARN of the IAM role in your AWS account which Cognito // will use to send SMS messages. SMS messages are subject to a spending limit // (https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html). // // SnsCallerArn is a required field SnsCallerArn *string `min:"20" type:"string" required:"true"` // contains filtered or unexported fields }
The SMS configuration type that includes the settings the Cognito User Pool needs to call for the Amazon SNS service to send an SMS message from your AWS account. The Cognito User Pool makes the request to the Amazon SNS Service by using an AWS IAM role that you provide for your AWS account.
func (SmsConfigurationType) GoString ¶ added in v1.2.10
func (s SmsConfigurationType) GoString() string
GoString returns the string representation
func (*SmsConfigurationType) SetExternalId ¶ added in v1.5.0
func (s *SmsConfigurationType) SetExternalId(v string) *SmsConfigurationType
SetExternalId sets the ExternalId field's value.
func (*SmsConfigurationType) SetSnsCallerArn ¶ added in v1.5.0
func (s *SmsConfigurationType) SetSnsCallerArn(v string) *SmsConfigurationType
SetSnsCallerArn sets the SnsCallerArn field's value.
func (SmsConfigurationType) String ¶ added in v1.2.10
func (s SmsConfigurationType) String() string
String returns the string representation
func (*SmsConfigurationType) Validate ¶ added in v1.2.10
func (s *SmsConfigurationType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SmsMfaConfigType ¶ added in v1.12.35
type SmsMfaConfigType struct { // The SMS authentication message that will be sent to users with the code they // need to sign in. The message must contain the ‘{####}’ placeholder, which // will be replaced with the code. If the message is not included, and default // message will be used. SmsAuthenticationMessage *string `min:"6" type:"string"` // The SMS configuration. SmsConfiguration *SmsConfigurationType `type:"structure"` // contains filtered or unexported fields }
The SMS text message multi-factor authentication (MFA) configuration type.
func (SmsMfaConfigType) GoString ¶ added in v1.12.35
func (s SmsMfaConfigType) GoString() string
GoString returns the string representation
func (*SmsMfaConfigType) SetSmsAuthenticationMessage ¶ added in v1.12.35
func (s *SmsMfaConfigType) SetSmsAuthenticationMessage(v string) *SmsMfaConfigType
SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value.
func (*SmsMfaConfigType) SetSmsConfiguration ¶ added in v1.12.35
func (s *SmsMfaConfigType) SetSmsConfiguration(v *SmsConfigurationType) *SmsMfaConfigType
SetSmsConfiguration sets the SmsConfiguration field's value.
func (SmsMfaConfigType) String ¶ added in v1.12.35
func (s SmsMfaConfigType) String() string
String returns the string representation
func (*SmsMfaConfigType) Validate ¶ added in v1.12.35
func (s *SmsMfaConfigType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SoftwareTokenMFANotFoundException ¶ added in v1.28.0
type SoftwareTokenMFANotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the software token TOTP multi-factor authentication (MFA) is not enabled for the user pool.
func (*SoftwareTokenMFANotFoundException) Code ¶ added in v1.28.0
func (s *SoftwareTokenMFANotFoundException) Code() string
Code returns the exception type name.
func (*SoftwareTokenMFANotFoundException) Error ¶ added in v1.28.0
func (s *SoftwareTokenMFANotFoundException) Error() string
func (SoftwareTokenMFANotFoundException) GoString ¶ added in v1.28.0
func (s SoftwareTokenMFANotFoundException) GoString() string
GoString returns the string representation
func (*SoftwareTokenMFANotFoundException) Message ¶ added in v1.28.0
func (s *SoftwareTokenMFANotFoundException) Message() string
Message returns the exception's message.
func (*SoftwareTokenMFANotFoundException) OrigErr ¶ added in v1.28.0
func (s *SoftwareTokenMFANotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*SoftwareTokenMFANotFoundException) RequestID ¶ added in v1.28.0
func (s *SoftwareTokenMFANotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*SoftwareTokenMFANotFoundException) StatusCode ¶ added in v1.28.0
func (s *SoftwareTokenMFANotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (SoftwareTokenMFANotFoundException) String ¶ added in v1.28.0
func (s SoftwareTokenMFANotFoundException) String() string
String returns the string representation
type SoftwareTokenMfaConfigType ¶ added in v1.12.35
type SoftwareTokenMfaConfigType struct { // Specifies whether software token MFA is enabled. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
The type used for enabling software token MFA at the user pool level.
func (SoftwareTokenMfaConfigType) GoString ¶ added in v1.12.35
func (s SoftwareTokenMfaConfigType) GoString() string
GoString returns the string representation
func (*SoftwareTokenMfaConfigType) SetEnabled ¶ added in v1.12.35
func (s *SoftwareTokenMfaConfigType) SetEnabled(v bool) *SoftwareTokenMfaConfigType
SetEnabled sets the Enabled field's value.
func (SoftwareTokenMfaConfigType) String ¶ added in v1.12.35
func (s SoftwareTokenMfaConfigType) String() string
String returns the string representation
type SoftwareTokenMfaSettingsType ¶ added in v1.12.35
type SoftwareTokenMfaSettingsType struct { // Specifies whether software token MFA is enabled. If an MFA type is enabled // for a user, the user will be prompted for MFA during all sign in attempts, // unless device tracking is turned on and the device has been trusted. Enabled *bool `type:"boolean"` // Specifies whether software token MFA is the preferred MFA method. PreferredMfa *bool `type:"boolean"` // contains filtered or unexported fields }
The type used for enabling software token MFA at the user level. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted. If you would like MFA to be applied selectively based on the assessed risk level of sign in attempts, disable MFA for users and turn on Adaptive Authentication for the user pool.
func (SoftwareTokenMfaSettingsType) GoString ¶ added in v1.12.35
func (s SoftwareTokenMfaSettingsType) GoString() string
GoString returns the string representation
func (*SoftwareTokenMfaSettingsType) SetEnabled ¶ added in v1.12.35
func (s *SoftwareTokenMfaSettingsType) SetEnabled(v bool) *SoftwareTokenMfaSettingsType
SetEnabled sets the Enabled field's value.
func (*SoftwareTokenMfaSettingsType) SetPreferredMfa ¶ added in v1.12.35
func (s *SoftwareTokenMfaSettingsType) SetPreferredMfa(v bool) *SoftwareTokenMfaSettingsType
SetPreferredMfa sets the PreferredMfa field's value.
func (SoftwareTokenMfaSettingsType) String ¶ added in v1.12.35
func (s SoftwareTokenMfaSettingsType) String() string
String returns the string representation
type StartUserImportJobInput ¶ added in v1.4.6
type StartUserImportJobInput 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 }
Represents the request to start the user import job.
func (StartUserImportJobInput) GoString ¶ added in v1.4.6
func (s StartUserImportJobInput) GoString() string
GoString returns the string representation
func (*StartUserImportJobInput) SetJobId ¶ added in v1.5.0
func (s *StartUserImportJobInput) SetJobId(v string) *StartUserImportJobInput
SetJobId sets the JobId field's value.
func (*StartUserImportJobInput) SetUserPoolId ¶ added in v1.5.0
func (s *StartUserImportJobInput) SetUserPoolId(v string) *StartUserImportJobInput
SetUserPoolId sets the UserPoolId field's value.
func (StartUserImportJobInput) String ¶ added in v1.4.6
func (s StartUserImportJobInput) String() string
String returns the string representation
func (*StartUserImportJobInput) Validate ¶ added in v1.4.6
func (s *StartUserImportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartUserImportJobOutput ¶ added in v1.4.6
type StartUserImportJobOutput struct { // The job object that represents the user import job. UserImportJob *UserImportJobType `type:"structure"` // contains filtered or unexported fields }
Represents the response from the server to the request to start the user import job.
func (StartUserImportJobOutput) GoString ¶ added in v1.4.6
func (s StartUserImportJobOutput) GoString() string
GoString returns the string representation
func (*StartUserImportJobOutput) SetUserImportJob ¶ added in v1.5.0
func (s *StartUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StartUserImportJobOutput
SetUserImportJob sets the UserImportJob field's value.
func (StartUserImportJobOutput) String ¶ added in v1.4.6
func (s StartUserImportJobOutput) String() string
String returns the string representation
type StopUserImportJobInput ¶ added in v1.4.6
type StopUserImportJobInput 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 }
Represents the request to stop the user import job.
func (StopUserImportJobInput) GoString ¶ added in v1.4.6
func (s StopUserImportJobInput) GoString() string
GoString returns the string representation
func (*StopUserImportJobInput) SetJobId ¶ added in v1.5.0
func (s *StopUserImportJobInput) SetJobId(v string) *StopUserImportJobInput
SetJobId sets the JobId field's value.
func (*StopUserImportJobInput) SetUserPoolId ¶ added in v1.5.0
func (s *StopUserImportJobInput) SetUserPoolId(v string) *StopUserImportJobInput
SetUserPoolId sets the UserPoolId field's value.
func (StopUserImportJobInput) String ¶ added in v1.4.6
func (s StopUserImportJobInput) String() string
String returns the string representation
func (*StopUserImportJobInput) Validate ¶ added in v1.4.6
func (s *StopUserImportJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopUserImportJobOutput ¶ added in v1.4.6
type StopUserImportJobOutput struct { // The job object that represents the user import job. UserImportJob *UserImportJobType `type:"structure"` // contains filtered or unexported fields }
Represents the response from the server to the request to stop the user import job.
func (StopUserImportJobOutput) GoString ¶ added in v1.4.6
func (s StopUserImportJobOutput) GoString() string
GoString returns the string representation
func (*StopUserImportJobOutput) SetUserImportJob ¶ added in v1.5.0
func (s *StopUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StopUserImportJobOutput
SetUserImportJob sets the UserImportJob field's value.
func (StopUserImportJobOutput) String ¶ added in v1.4.6
func (s StopUserImportJobOutput) String() string
String returns the string representation
type StringAttributeConstraintsType ¶
type StringAttributeConstraintsType struct { // The maximum length. MaxLength *string `type:"string"` // The minimum length. MinLength *string `type:"string"` // contains filtered or unexported fields }
The constraints associated with a string attribute.
func (StringAttributeConstraintsType) GoString ¶
func (s StringAttributeConstraintsType) GoString() string
GoString returns the string representation
func (*StringAttributeConstraintsType) SetMaxLength ¶ added in v1.5.0
func (s *StringAttributeConstraintsType) SetMaxLength(v string) *StringAttributeConstraintsType
SetMaxLength sets the MaxLength field's value.
func (*StringAttributeConstraintsType) SetMinLength ¶ added in v1.5.0
func (s *StringAttributeConstraintsType) SetMinLength(v string) *StringAttributeConstraintsType
SetMinLength sets the MinLength field's value.
func (StringAttributeConstraintsType) String ¶
func (s StringAttributeConstraintsType) String() string
String returns the string representation
type TagResourceInput ¶ added in v1.19.0
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the user pool to assign the tags to. // // ResourceArn is a required field ResourceArn *string `min:"20" type:"string" required:"true"` // The tags to assign to the user pool. // // Tags is a required field Tags map[string]*string `type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶ added in v1.19.0
func (s TagResourceInput) GoString() string
GoString returns the string representation
func (*TagResourceInput) SetResourceArn ¶ added in v1.19.0
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶ added in v1.19.0
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶ added in v1.19.0
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶ added in v1.19.0
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶ added in v1.19.0
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶ added in v1.19.0
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (TagResourceOutput) String ¶ added in v1.19.0
func (s TagResourceOutput) String() string
String returns the string representation
type TokenValidityUnitsType ¶ added in v1.34.4
type TokenValidityUnitsType struct { // A time unit in “seconds”, “minutes”, “hours” or “days” for // the value in AccessTokenValidity, defaults to hours. AccessToken *string `type:"string" enum:"TimeUnitsType"` // A time unit in “seconds”, “minutes”, “hours” or “days” for // the value in IdTokenValidity, defaults to hours. IdToken *string `type:"string" enum:"TimeUnitsType"` // A time unit in “seconds”, “minutes”, “hours” or “days” for // the value in RefreshTokenValidity, defaults to days. RefreshToken *string `type:"string" enum:"TimeUnitsType"` // contains filtered or unexported fields }
The data type for TokenValidityUnits that specifics the time measurements for token validity.
func (TokenValidityUnitsType) GoString ¶ added in v1.34.4
func (s TokenValidityUnitsType) GoString() string
GoString returns the string representation
func (*TokenValidityUnitsType) SetAccessToken ¶ added in v1.34.4
func (s *TokenValidityUnitsType) SetAccessToken(v string) *TokenValidityUnitsType
SetAccessToken sets the AccessToken field's value.
func (*TokenValidityUnitsType) SetIdToken ¶ added in v1.34.4
func (s *TokenValidityUnitsType) SetIdToken(v string) *TokenValidityUnitsType
SetIdToken sets the IdToken field's value.
func (*TokenValidityUnitsType) SetRefreshToken ¶ added in v1.34.4
func (s *TokenValidityUnitsType) SetRefreshToken(v string) *TokenValidityUnitsType
SetRefreshToken sets the RefreshToken field's value.
func (TokenValidityUnitsType) String ¶ added in v1.34.4
func (s TokenValidityUnitsType) String() string
String returns the string representation
type TooManyFailedAttemptsException ¶ added in v1.28.0
type TooManyFailedAttemptsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the Amazon Cognito service returns a too many failed // attempts exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the user has made too many failed attempts for a given action (e.g., sign in).
func (*TooManyFailedAttemptsException) Code ¶ added in v1.28.0
func (s *TooManyFailedAttemptsException) Code() string
Code returns the exception type name.
func (*TooManyFailedAttemptsException) Error ¶ added in v1.28.0
func (s *TooManyFailedAttemptsException) Error() string
func (TooManyFailedAttemptsException) GoString ¶ added in v1.28.0
func (s TooManyFailedAttemptsException) GoString() string
GoString returns the string representation
func (*TooManyFailedAttemptsException) Message ¶ added in v1.28.0
func (s *TooManyFailedAttemptsException) Message() string
Message returns the exception's message.
func (*TooManyFailedAttemptsException) OrigErr ¶ added in v1.28.0
func (s *TooManyFailedAttemptsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TooManyFailedAttemptsException) RequestID ¶ added in v1.28.0
func (s *TooManyFailedAttemptsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TooManyFailedAttemptsException) StatusCode ¶ added in v1.28.0
func (s *TooManyFailedAttemptsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TooManyFailedAttemptsException) String ¶ added in v1.28.0
func (s TooManyFailedAttemptsException) String() string
String returns the string representation
type TooManyRequestsException ¶ added in v1.28.0
type TooManyRequestsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the Amazon Cognito service returns a too many requests // exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the user has made too many requests for a given operation.
func (*TooManyRequestsException) Code ¶ added in v1.28.0
func (s *TooManyRequestsException) Code() string
Code returns the exception type name.
func (*TooManyRequestsException) Error ¶ added in v1.28.0
func (s *TooManyRequestsException) Error() string
func (TooManyRequestsException) GoString ¶ added in v1.28.0
func (s TooManyRequestsException) GoString() string
GoString returns the string representation
func (*TooManyRequestsException) Message ¶ added in v1.28.0
func (s *TooManyRequestsException) Message() string
Message returns the exception's message.
func (*TooManyRequestsException) OrigErr ¶ added in v1.28.0
func (s *TooManyRequestsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TooManyRequestsException) RequestID ¶ added in v1.28.0
func (s *TooManyRequestsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TooManyRequestsException) StatusCode ¶ added in v1.28.0
func (s *TooManyRequestsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TooManyRequestsException) String ¶ added in v1.28.0
func (s TooManyRequestsException) String() string
String returns the string representation
type UICustomizationType ¶ added in v1.10.24
type UICustomizationType struct { // The CSS values in the UI customization. CSS *string `type:"string"` // The CSS version number. CSSVersion *string `type:"string"` // The client ID for the client app. ClientId *string `min:"1" type:"string" sensitive:"true"` // The creation date for the UI customization. CreationDate *time.Time `type:"timestamp"` // The logo image for the UI customization. ImageUrl *string `type:"string"` // The last-modified date for the UI customization. LastModifiedDate *time.Time `type:"timestamp"` // The user pool ID for the user pool. UserPoolId *string `min:"1" type:"string"` // contains filtered or unexported fields }
A container for the UI customization information for a user pool's built-in app UI.
func (UICustomizationType) GoString ¶ added in v1.10.24
func (s UICustomizationType) GoString() string
GoString returns the string representation
func (*UICustomizationType) SetCSS ¶ added in v1.10.24
func (s *UICustomizationType) SetCSS(v string) *UICustomizationType
SetCSS sets the CSS field's value.
func (*UICustomizationType) SetCSSVersion ¶ added in v1.10.24
func (s *UICustomizationType) SetCSSVersion(v string) *UICustomizationType
SetCSSVersion sets the CSSVersion field's value.
func (*UICustomizationType) SetClientId ¶ added in v1.10.24
func (s *UICustomizationType) SetClientId(v string) *UICustomizationType
SetClientId sets the ClientId field's value.
func (*UICustomizationType) SetCreationDate ¶ added in v1.10.24
func (s *UICustomizationType) SetCreationDate(v time.Time) *UICustomizationType
SetCreationDate sets the CreationDate field's value.
func (*UICustomizationType) SetImageUrl ¶ added in v1.10.24
func (s *UICustomizationType) SetImageUrl(v string) *UICustomizationType
SetImageUrl sets the ImageUrl field's value.
func (*UICustomizationType) SetLastModifiedDate ¶ added in v1.10.24
func (s *UICustomizationType) SetLastModifiedDate(v time.Time) *UICustomizationType
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*UICustomizationType) SetUserPoolId ¶ added in v1.10.24
func (s *UICustomizationType) SetUserPoolId(v string) *UICustomizationType
SetUserPoolId sets the UserPoolId field's value.
func (UICustomizationType) String ¶ added in v1.10.24
func (s UICustomizationType) String() string
String returns the string representation
type UnexpectedLambdaException ¶ added in v1.28.0
type UnexpectedLambdaException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the Amazon Cognito service returns an unexpected // AWS Lambda exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the Amazon Cognito service encounters an unexpected exception with the AWS Lambda service.
func (*UnexpectedLambdaException) Code ¶ added in v1.28.0
func (s *UnexpectedLambdaException) Code() string
Code returns the exception type name.
func (*UnexpectedLambdaException) Error ¶ added in v1.28.0
func (s *UnexpectedLambdaException) Error() string
func (UnexpectedLambdaException) GoString ¶ added in v1.28.0
func (s UnexpectedLambdaException) GoString() string
GoString returns the string representation
func (*UnexpectedLambdaException) Message ¶ added in v1.28.0
func (s *UnexpectedLambdaException) Message() string
Message returns the exception's message.
func (*UnexpectedLambdaException) OrigErr ¶ added in v1.28.0
func (s *UnexpectedLambdaException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnexpectedLambdaException) RequestID ¶ added in v1.28.0
func (s *UnexpectedLambdaException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnexpectedLambdaException) StatusCode ¶ added in v1.28.0
func (s *UnexpectedLambdaException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnexpectedLambdaException) String ¶ added in v1.28.0
func (s UnexpectedLambdaException) String() string
String returns the string representation
type UnsupportedIdentityProviderException ¶ added in v1.28.0
type UnsupportedIdentityProviderException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the specified identifier is not supported.
func (*UnsupportedIdentityProviderException) Code ¶ added in v1.28.0
func (s *UnsupportedIdentityProviderException) Code() string
Code returns the exception type name.
func (*UnsupportedIdentityProviderException) Error ¶ added in v1.28.0
func (s *UnsupportedIdentityProviderException) Error() string
func (UnsupportedIdentityProviderException) GoString ¶ added in v1.28.0
func (s UnsupportedIdentityProviderException) GoString() string
GoString returns the string representation
func (*UnsupportedIdentityProviderException) Message ¶ added in v1.28.0
func (s *UnsupportedIdentityProviderException) Message() string
Message returns the exception's message.
func (*UnsupportedIdentityProviderException) OrigErr ¶ added in v1.28.0
func (s *UnsupportedIdentityProviderException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnsupportedIdentityProviderException) RequestID ¶ added in v1.28.0
func (s *UnsupportedIdentityProviderException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnsupportedIdentityProviderException) StatusCode ¶ added in v1.28.0
func (s *UnsupportedIdentityProviderException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnsupportedIdentityProviderException) String ¶ added in v1.28.0
func (s UnsupportedIdentityProviderException) String() string
String returns the string representation
type UnsupportedUserStateException ¶ added in v1.28.0
type UnsupportedUserStateException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the user is in an unsupported state. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request failed because the user is in an unsupported state.
func (*UnsupportedUserStateException) Code ¶ added in v1.28.0
func (s *UnsupportedUserStateException) Code() string
Code returns the exception type name.
func (*UnsupportedUserStateException) Error ¶ added in v1.28.0
func (s *UnsupportedUserStateException) Error() string
func (UnsupportedUserStateException) GoString ¶ added in v1.28.0
func (s UnsupportedUserStateException) GoString() string
GoString returns the string representation
func (*UnsupportedUserStateException) Message ¶ added in v1.28.0
func (s *UnsupportedUserStateException) Message() string
Message returns the exception's message.
func (*UnsupportedUserStateException) OrigErr ¶ added in v1.28.0
func (s *UnsupportedUserStateException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnsupportedUserStateException) RequestID ¶ added in v1.28.0
func (s *UnsupportedUserStateException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnsupportedUserStateException) StatusCode ¶ added in v1.28.0
func (s *UnsupportedUserStateException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnsupportedUserStateException) String ¶ added in v1.28.0
func (s UnsupportedUserStateException) String() string
String returns the string representation
type UntagResourceInput ¶ added in v1.19.0
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the user pool that the tags are assigned // to. // // ResourceArn is a required field ResourceArn *string `min:"20" type:"string" required:"true"` // The keys of the tags to remove from the user pool. // // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶ added in v1.19.0
func (s UntagResourceInput) GoString() string
GoString returns the string representation
func (*UntagResourceInput) SetResourceArn ¶ added in v1.19.0
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶ added in v1.19.0
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶ added in v1.19.0
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶ added in v1.19.0
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶ added in v1.19.0
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶ added in v1.19.0
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (UntagResourceOutput) String ¶ added in v1.19.0
func (s UntagResourceOutput) String() string
String returns the string representation
type UpdateAuthEventFeedbackInput ¶ added in v1.12.35
type UpdateAuthEventFeedbackInput struct { // The event ID. // // EventId is a required field EventId *string `min:"1" type:"string" required:"true"` // The feedback token. // // FeedbackToken is a required field FeedbackToken *string `type:"string" required:"true" sensitive:"true"` // The authentication event feedback value. // // FeedbackValue is a required field FeedbackValue *string `type:"string" required:"true" enum:"FeedbackValueType"` // The user pool ID. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user pool username. // // Username is a required field Username *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
func (UpdateAuthEventFeedbackInput) GoString ¶ added in v1.12.35
func (s UpdateAuthEventFeedbackInput) GoString() string
GoString returns the string representation
func (*UpdateAuthEventFeedbackInput) SetEventId ¶ added in v1.12.35
func (s *UpdateAuthEventFeedbackInput) SetEventId(v string) *UpdateAuthEventFeedbackInput
SetEventId sets the EventId field's value.
func (*UpdateAuthEventFeedbackInput) SetFeedbackToken ¶ added in v1.12.35
func (s *UpdateAuthEventFeedbackInput) SetFeedbackToken(v string) *UpdateAuthEventFeedbackInput
SetFeedbackToken sets the FeedbackToken field's value.
func (*UpdateAuthEventFeedbackInput) SetFeedbackValue ¶ added in v1.12.35
func (s *UpdateAuthEventFeedbackInput) SetFeedbackValue(v string) *UpdateAuthEventFeedbackInput
SetFeedbackValue sets the FeedbackValue field's value.
func (*UpdateAuthEventFeedbackInput) SetUserPoolId ¶ added in v1.12.35
func (s *UpdateAuthEventFeedbackInput) SetUserPoolId(v string) *UpdateAuthEventFeedbackInput
SetUserPoolId sets the UserPoolId field's value.
func (*UpdateAuthEventFeedbackInput) SetUsername ¶ added in v1.12.35
func (s *UpdateAuthEventFeedbackInput) SetUsername(v string) *UpdateAuthEventFeedbackInput
SetUsername sets the Username field's value.
func (UpdateAuthEventFeedbackInput) String ¶ added in v1.12.35
func (s UpdateAuthEventFeedbackInput) String() string
String returns the string representation
func (*UpdateAuthEventFeedbackInput) Validate ¶ added in v1.12.35
func (s *UpdateAuthEventFeedbackInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAuthEventFeedbackOutput ¶ added in v1.12.35
type UpdateAuthEventFeedbackOutput struct {
// contains filtered or unexported fields
}
func (UpdateAuthEventFeedbackOutput) GoString ¶ added in v1.12.35
func (s UpdateAuthEventFeedbackOutput) GoString() string
GoString returns the string representation
func (UpdateAuthEventFeedbackOutput) String ¶ added in v1.12.35
func (s UpdateAuthEventFeedbackOutput) String() string
String returns the string representation
type UpdateDeviceStatusInput ¶ added in v1.2.10
type UpdateDeviceStatusInput struct { // The access token. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // The device key. // // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` // The status of whether a device is remembered. DeviceRememberedStatus *string `type:"string" enum:"DeviceRememberedStatusType"` // contains filtered or unexported fields }
Represents the request to update the device status.
func (UpdateDeviceStatusInput) GoString ¶ added in v1.2.10
func (s UpdateDeviceStatusInput) GoString() string
GoString returns the string representation
func (*UpdateDeviceStatusInput) SetAccessToken ¶ added in v1.5.0
func (s *UpdateDeviceStatusInput) SetAccessToken(v string) *UpdateDeviceStatusInput
SetAccessToken sets the AccessToken field's value.
func (*UpdateDeviceStatusInput) SetDeviceKey ¶ added in v1.5.0
func (s *UpdateDeviceStatusInput) SetDeviceKey(v string) *UpdateDeviceStatusInput
SetDeviceKey sets the DeviceKey field's value.
func (*UpdateDeviceStatusInput) SetDeviceRememberedStatus ¶ added in v1.5.0
func (s *UpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *UpdateDeviceStatusInput
SetDeviceRememberedStatus sets the DeviceRememberedStatus field's value.
func (UpdateDeviceStatusInput) String ¶ added in v1.2.10
func (s UpdateDeviceStatusInput) String() string
String returns the string representation
func (*UpdateDeviceStatusInput) Validate ¶ added in v1.2.10
func (s *UpdateDeviceStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDeviceStatusOutput ¶ added in v1.2.10
type UpdateDeviceStatusOutput struct {
// contains filtered or unexported fields
}
The response to the request to update the device status.
func (UpdateDeviceStatusOutput) GoString ¶ added in v1.2.10
func (s UpdateDeviceStatusOutput) GoString() string
GoString returns the string representation
func (UpdateDeviceStatusOutput) String ¶ added in v1.2.10
func (s UpdateDeviceStatusOutput) String() string
String returns the string representation
type UpdateGroupInput ¶ added in v1.6.4
type UpdateGroupInput struct { // A string containing the new description of the group. Description *string `type:"string"` // The name of the group. // // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The new precedence value for the group. For more information about this parameter, // see CreateGroup (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateGroup.html). Precedence *int64 `type:"integer"` // The new role ARN for the group. This is used for setting the cognito:roles // and cognito:preferred_role claims in the token. 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 (UpdateGroupInput) GoString ¶ added in v1.6.4
func (s UpdateGroupInput) GoString() string
GoString returns the string representation
func (*UpdateGroupInput) SetDescription ¶ added in v1.6.4
func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput
SetDescription sets the Description field's value.
func (*UpdateGroupInput) SetGroupName ¶ added in v1.6.4
func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput
SetGroupName sets the GroupName field's value.
func (*UpdateGroupInput) SetPrecedence ¶ added in v1.6.4
func (s *UpdateGroupInput) SetPrecedence(v int64) *UpdateGroupInput
SetPrecedence sets the Precedence field's value.
func (*UpdateGroupInput) SetRoleArn ¶ added in v1.6.4
func (s *UpdateGroupInput) SetRoleArn(v string) *UpdateGroupInput
SetRoleArn sets the RoleArn field's value.
func (*UpdateGroupInput) SetUserPoolId ¶ added in v1.6.4
func (s *UpdateGroupInput) SetUserPoolId(v string) *UpdateGroupInput
SetUserPoolId sets the UserPoolId field's value.
func (UpdateGroupInput) String ¶ added in v1.6.4
func (s UpdateGroupInput) String() string
String returns the string representation
func (*UpdateGroupInput) Validate ¶ added in v1.6.4
func (s *UpdateGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateGroupOutput ¶ added in v1.6.4
type UpdateGroupOutput struct { // The group object for the group. Group *GroupType `type:"structure"` // contains filtered or unexported fields }
func (UpdateGroupOutput) GoString ¶ added in v1.6.4
func (s UpdateGroupOutput) GoString() string
GoString returns the string representation
func (*UpdateGroupOutput) SetGroup ¶ added in v1.6.4
func (s *UpdateGroupOutput) SetGroup(v *GroupType) *UpdateGroupOutput
SetGroup sets the Group field's value.
func (UpdateGroupOutput) String ¶ added in v1.6.4
func (s UpdateGroupOutput) String() string
String returns the string representation
type UpdateIdentityProviderInput ¶ added in v1.8.33
type UpdateIdentityProviderInput struct { // The identity provider attribute mapping to be changed. AttributeMapping map[string]*string `type:"map"` // A list of identity provider identifiers. IdpIdentifiers []*string `type:"list"` // The identity provider details to be updated, such as MetadataURL and MetadataFile. ProviderDetails map[string]*string `type:"map"` // 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 (UpdateIdentityProviderInput) GoString ¶ added in v1.8.33
func (s UpdateIdentityProviderInput) GoString() string
GoString returns the string representation
func (*UpdateIdentityProviderInput) SetAttributeMapping ¶ added in v1.8.33
func (s *UpdateIdentityProviderInput) SetAttributeMapping(v map[string]*string) *UpdateIdentityProviderInput
SetAttributeMapping sets the AttributeMapping field's value.
func (*UpdateIdentityProviderInput) SetIdpIdentifiers ¶ added in v1.8.33
func (s *UpdateIdentityProviderInput) SetIdpIdentifiers(v []*string) *UpdateIdentityProviderInput
SetIdpIdentifiers sets the IdpIdentifiers field's value.
func (*UpdateIdentityProviderInput) SetProviderDetails ¶ added in v1.8.33
func (s *UpdateIdentityProviderInput) SetProviderDetails(v map[string]*string) *UpdateIdentityProviderInput
SetProviderDetails sets the ProviderDetails field's value.
func (*UpdateIdentityProviderInput) SetProviderName ¶ added in v1.8.33
func (s *UpdateIdentityProviderInput) SetProviderName(v string) *UpdateIdentityProviderInput
SetProviderName sets the ProviderName field's value.
func (*UpdateIdentityProviderInput) SetUserPoolId ¶ added in v1.8.33
func (s *UpdateIdentityProviderInput) SetUserPoolId(v string) *UpdateIdentityProviderInput
SetUserPoolId sets the UserPoolId field's value.
func (UpdateIdentityProviderInput) String ¶ added in v1.8.33
func (s UpdateIdentityProviderInput) String() string
String returns the string representation
func (*UpdateIdentityProviderInput) Validate ¶ added in v1.8.33
func (s *UpdateIdentityProviderInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateIdentityProviderOutput ¶ added in v1.8.33
type UpdateIdentityProviderOutput struct { // The identity provider object. // // IdentityProvider is a required field IdentityProvider *IdentityProviderType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateIdentityProviderOutput) GoString ¶ added in v1.8.33
func (s UpdateIdentityProviderOutput) GoString() string
GoString returns the string representation
func (*UpdateIdentityProviderOutput) SetIdentityProvider ¶ added in v1.8.33
func (s *UpdateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *UpdateIdentityProviderOutput
SetIdentityProvider sets the IdentityProvider field's value.
func (UpdateIdentityProviderOutput) String ¶ added in v1.8.33
func (s UpdateIdentityProviderOutput) String() string
String returns the string representation
type UpdateResourceServerInput ¶ added in v1.10.24
type UpdateResourceServerInput struct { // The identifier for the resource server. // // Identifier is a required field Identifier *string `min:"1" type:"string" required:"true"` // The name of the resource server. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The scope values to be set for the resource server. Scopes []*ResourceServerScopeType `type:"list"` // 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 (UpdateResourceServerInput) GoString ¶ added in v1.10.24
func (s UpdateResourceServerInput) GoString() string
GoString returns the string representation
func (*UpdateResourceServerInput) SetIdentifier ¶ added in v1.10.24
func (s *UpdateResourceServerInput) SetIdentifier(v string) *UpdateResourceServerInput
SetIdentifier sets the Identifier field's value.
func (*UpdateResourceServerInput) SetName ¶ added in v1.10.24
func (s *UpdateResourceServerInput) SetName(v string) *UpdateResourceServerInput
SetName sets the Name field's value.
func (*UpdateResourceServerInput) SetScopes ¶ added in v1.10.24
func (s *UpdateResourceServerInput) SetScopes(v []*ResourceServerScopeType) *UpdateResourceServerInput
SetScopes sets the Scopes field's value.
func (*UpdateResourceServerInput) SetUserPoolId ¶ added in v1.10.24
func (s *UpdateResourceServerInput) SetUserPoolId(v string) *UpdateResourceServerInput
SetUserPoolId sets the UserPoolId field's value.
func (UpdateResourceServerInput) String ¶ added in v1.10.24
func (s UpdateResourceServerInput) String() string
String returns the string representation
func (*UpdateResourceServerInput) Validate ¶ added in v1.10.24
func (s *UpdateResourceServerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResourceServerOutput ¶ added in v1.10.24
type UpdateResourceServerOutput struct { // The resource server. // // ResourceServer is a required field ResourceServer *ResourceServerType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateResourceServerOutput) GoString ¶ added in v1.10.24
func (s UpdateResourceServerOutput) GoString() string
GoString returns the string representation
func (*UpdateResourceServerOutput) SetResourceServer ¶ added in v1.10.24
func (s *UpdateResourceServerOutput) SetResourceServer(v *ResourceServerType) *UpdateResourceServerOutput
SetResourceServer sets the ResourceServer field's value.
func (UpdateResourceServerOutput) String ¶ added in v1.10.24
func (s UpdateResourceServerOutput) String() string
String returns the string representation
type UpdateUserAttributesInput ¶
type UpdateUserAttributesInput struct { // The access token for the request to update user attributes. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // A map of custom key-value pairs that you can provide as input for any custom // workflows that this action triggers. // // You create custom workflows by assigning AWS Lambda functions to user pool // triggers. When you use the UpdateUserAttributes API action, Amazon Cognito // invokes the function that is assigned to the custom message trigger. When // Amazon Cognito invokes this function, it passes a JSON payload, which the // function receives as input. This payload contains a clientMetadata attribute, // which provides the data that you assigned to the ClientMetadata parameter // in your UpdateUserAttributes request. In your function code in AWS Lambda, // you can process the clientMetadata value to enhance your workflow for your // specific needs. // // For more information, see Customizing User Pool Workflows with Lambda Triggers // (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) // in the Amazon Cognito Developer Guide. // // Take the following limitations into consideration when you use the ClientMetadata // parameter: // // * Amazon Cognito does not store the ClientMetadata value. This data is // available only to AWS Lambda triggers that are assigned to a user pool // to support custom workflows. If your user pool configuration does not // include triggers, the ClientMetadata parameter serves no purpose. // // * Amazon Cognito does not validate the ClientMetadata value. // // * Amazon Cognito does not encrypt the the ClientMetadata value, so don't // use it to provide sensitive information. ClientMetadata map[string]*string `type:"map"` // 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"` // contains filtered or unexported fields }
Represents the request to update user attributes.
func (UpdateUserAttributesInput) GoString ¶
func (s UpdateUserAttributesInput) GoString() string
GoString returns the string representation
func (*UpdateUserAttributesInput) SetAccessToken ¶ added in v1.5.0
func (s *UpdateUserAttributesInput) SetAccessToken(v string) *UpdateUserAttributesInput
SetAccessToken sets the AccessToken field's value.
func (*UpdateUserAttributesInput) SetClientMetadata ¶ added in v1.25.6
func (s *UpdateUserAttributesInput) SetClientMetadata(v map[string]*string) *UpdateUserAttributesInput
SetClientMetadata sets the ClientMetadata field's value.
func (*UpdateUserAttributesInput) SetUserAttributes ¶ added in v1.5.0
func (s *UpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *UpdateUserAttributesInput
SetUserAttributes sets the UserAttributes field's value.
func (UpdateUserAttributesInput) String ¶
func (s UpdateUserAttributesInput) String() string
String returns the string representation
func (*UpdateUserAttributesInput) Validate ¶ added in v1.1.21
func (s *UpdateUserAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserAttributesOutput ¶
type UpdateUserAttributesOutput struct { // The code delivery details list from the server for the request to update // user attributes. CodeDeliveryDetailsList []*CodeDeliveryDetailsType `type:"list"` // contains filtered or unexported fields }
Represents the response from the server for the request to update user attributes.
func (UpdateUserAttributesOutput) GoString ¶
func (s UpdateUserAttributesOutput) GoString() string
GoString returns the string representation
func (*UpdateUserAttributesOutput) SetCodeDeliveryDetailsList ¶ added in v1.5.0
func (s *UpdateUserAttributesOutput) SetCodeDeliveryDetailsList(v []*CodeDeliveryDetailsType) *UpdateUserAttributesOutput
SetCodeDeliveryDetailsList sets the CodeDeliveryDetailsList field's value.
func (UpdateUserAttributesOutput) String ¶
func (s UpdateUserAttributesOutput) String() string
String returns the string representation
type UpdateUserPoolClientInput ¶
type UpdateUserPoolClientInput struct { // The time limit, after which the access token is no longer valid and cannot // be used. AccessTokenValidity *int64 `min:"1" type:"integer"` // The allowed OAuth flows. // // 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 implicit to specify that the client should get the access token (and, // optionally, ID token, based on scopes) directly. // // Set to client_credentials to specify that the client should get the access // token (and, optionally, ID token, based on scopes) from the token endpoint // using a combination of client and client_secret. 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"` // The allowed OAuth scopes. Possible values provided by OAuth are: phone, email, // openid, and profile. Possible values provided by AWS are: aws.cognito.signin.user.admin. // Custom scopes created in Resource Servers are also supported. AllowedOAuthScopes []*string `type:"list"` // The Amazon Pinpoint analytics configuration for collecting metrics for this // user pool. // // In regions where Pinpoint is not available, Cognito User Pools only supports // sending events to Amazon Pinpoint projects in us-east-1. In regions where // Pinpoint is available, Cognito User Pools will support sending events to // Amazon Pinpoint projects within that same region. AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` // A list of allowed redirect (callback) URLs for the identity providers. // // A redirect URI must: // // * Be an absolute URI. // // * Be registered with the authorization server. // // * Not include a fragment component. // // See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2). // // Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing // purposes only. // // App callback URLs such as myapp://example are also supported. CallbackURLs []*string `type:"list"` // The ID of the client associated with the user pool. // // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true" sensitive:"true"` // The client name from the update user pool client request. ClientName *string `min:"1" type:"string"` // The default redirect URI. Must be in the CallbackURLs list. // // A redirect URI must: // // * Be an absolute URI. // // * Be registered with the authorization server. // // * Not include a fragment component. // // See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2). // // Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing // purposes only. // // App callback URLs such as myapp://example are also supported. DefaultRedirectURI *string `min:"1" type:"string"` // The authentication flows that are supported by the user pool clients. Flow // names without the ALLOW_ prefix are deprecated in favor of new names with // the ALLOW_ prefix. Note that values with ALLOW_ prefix cannot be used along // with values without ALLOW_ prefix. // // Valid values include: // // * ALLOW_ADMIN_USER_PASSWORD_AUTH: Enable admin based user password authentication // flow ADMIN_USER_PASSWORD_AUTH. This setting replaces the ADMIN_NO_SRP_AUTH // setting. With this authentication flow, Cognito receives the password // in the request instead of using the SRP (Secure Remote Password protocol) // protocol to verify passwords. // // * ALLOW_CUSTOM_AUTH: Enable Lambda trigger based authentication. // // * ALLOW_USER_PASSWORD_AUTH: Enable user password-based authentication. // In this flow, Cognito receives the password in the request instead of // using the SRP protocol to verify passwords. // // * ALLOW_USER_SRP_AUTH: Enable SRP based authentication. // // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. ExplicitAuthFlows []*string `type:"list"` // The time limit, after which the ID token is no longer valid and cannot be // used. IdTokenValidity *int64 `min:"1" type:"integer"` // A list of allowed logout URLs for the identity providers. LogoutURLs []*string `type:"list"` // Use this setting to choose which errors and responses are returned by Cognito // APIs during authentication, account confirmation, and password recovery when // the user does not exist in the user pool. When set to ENABLED and the user // does not exist, authentication returns an error indicating either the username // or password was incorrect, and account confirmation and password recovery // return a response indicating a code was sent to a simulated destination. // When set to LEGACY, those APIs will return a UserNotFoundException exception // if the user does not exist in the user pool. // // Valid values include: // // * ENABLED - This prevents user existence-related errors. // // * LEGACY - This represents the old behavior of Cognito where user existence // related errors are not prevented. // // After February 15th 2020, the value of PreventUserExistenceErrors will default // to ENABLED for newly created user pool clients if no value is provided. PreventUserExistenceErrors *string `type:"string" enum:"PreventUserExistenceErrorTypes"` // The read-only attributes of the user pool. 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 units in which the validity times are represented in. Default for RefreshToken // is days, and default for ID and access tokens are hours. TokenValidityUnits *TokenValidityUnitsType `type:"structure"` // The user pool ID for the user pool where you want to update the user pool // client. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The writeable attributes of the user pool. WriteAttributes []*string `type:"list"` // contains filtered or unexported fields }
Represents the request to update the user pool client.
func (UpdateUserPoolClientInput) GoString ¶
func (s UpdateUserPoolClientInput) GoString() string
GoString returns the string representation
func (*UpdateUserPoolClientInput) SetAccessTokenValidity ¶ added in v1.34.4
func (s *UpdateUserPoolClientInput) SetAccessTokenValidity(v int64) *UpdateUserPoolClientInput
SetAccessTokenValidity sets the AccessTokenValidity field's value.
func (*UpdateUserPoolClientInput) SetAllowedOAuthFlows ¶ added in v1.8.33
func (s *UpdateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *UpdateUserPoolClientInput
SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value.
func (*UpdateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient ¶ added in v1.8.33
func (s *UpdateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *UpdateUserPoolClientInput
SetAllowedOAuthFlowsUserPoolClient sets the AllowedOAuthFlowsUserPoolClient field's value.
func (*UpdateUserPoolClientInput) SetAllowedOAuthScopes ¶ added in v1.8.33
func (s *UpdateUserPoolClientInput) SetAllowedOAuthScopes(v []*string) *UpdateUserPoolClientInput
SetAllowedOAuthScopes sets the AllowedOAuthScopes field's value.
func (*UpdateUserPoolClientInput) SetAnalyticsConfiguration ¶ added in v1.12.35
func (s *UpdateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *UpdateUserPoolClientInput
SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value.
func (*UpdateUserPoolClientInput) SetCallbackURLs ¶ added in v1.8.33
func (s *UpdateUserPoolClientInput) SetCallbackURLs(v []*string) *UpdateUserPoolClientInput
SetCallbackURLs sets the CallbackURLs field's value.
func (*UpdateUserPoolClientInput) SetClientId ¶ added in v1.5.0
func (s *UpdateUserPoolClientInput) SetClientId(v string) *UpdateUserPoolClientInput
SetClientId sets the ClientId field's value.
func (*UpdateUserPoolClientInput) SetClientName ¶ added in v1.5.0
func (s *UpdateUserPoolClientInput) SetClientName(v string) *UpdateUserPoolClientInput
SetClientName sets the ClientName field's value.
func (*UpdateUserPoolClientInput) SetDefaultRedirectURI ¶ added in v1.8.33
func (s *UpdateUserPoolClientInput) SetDefaultRedirectURI(v string) *UpdateUserPoolClientInput
SetDefaultRedirectURI sets the DefaultRedirectURI field's value.
func (*UpdateUserPoolClientInput) SetExplicitAuthFlows ¶ added in v1.5.0
func (s *UpdateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *UpdateUserPoolClientInput
SetExplicitAuthFlows sets the ExplicitAuthFlows field's value.
func (*UpdateUserPoolClientInput) SetIdTokenValidity ¶ added in v1.34.4
func (s *UpdateUserPoolClientInput) SetIdTokenValidity(v int64) *UpdateUserPoolClientInput
SetIdTokenValidity sets the IdTokenValidity field's value.
func (*UpdateUserPoolClientInput) SetLogoutURLs ¶ added in v1.8.33
func (s *UpdateUserPoolClientInput) SetLogoutURLs(v []*string) *UpdateUserPoolClientInput
SetLogoutURLs sets the LogoutURLs field's value.
func (*UpdateUserPoolClientInput) SetPreventUserExistenceErrors ¶ added in v1.25.35
func (s *UpdateUserPoolClientInput) SetPreventUserExistenceErrors(v string) *UpdateUserPoolClientInput
SetPreventUserExistenceErrors sets the PreventUserExistenceErrors field's value.
func (*UpdateUserPoolClientInput) SetReadAttributes ¶ added in v1.5.0
func (s *UpdateUserPoolClientInput) SetReadAttributes(v []*string) *UpdateUserPoolClientInput
SetReadAttributes sets the ReadAttributes field's value.
func (*UpdateUserPoolClientInput) SetRefreshTokenValidity ¶ added in v1.5.0
func (s *UpdateUserPoolClientInput) SetRefreshTokenValidity(v int64) *UpdateUserPoolClientInput
SetRefreshTokenValidity sets the RefreshTokenValidity field's value.
func (*UpdateUserPoolClientInput) SetSupportedIdentityProviders ¶ added in v1.8.33
func (s *UpdateUserPoolClientInput) SetSupportedIdentityProviders(v []*string) *UpdateUserPoolClientInput
SetSupportedIdentityProviders sets the SupportedIdentityProviders field's value.
func (*UpdateUserPoolClientInput) SetTokenValidityUnits ¶ added in v1.34.4
func (s *UpdateUserPoolClientInput) SetTokenValidityUnits(v *TokenValidityUnitsType) *UpdateUserPoolClientInput
SetTokenValidityUnits sets the TokenValidityUnits field's value.
func (*UpdateUserPoolClientInput) SetUserPoolId ¶ added in v1.5.0
func (s *UpdateUserPoolClientInput) SetUserPoolId(v string) *UpdateUserPoolClientInput
SetUserPoolId sets the UserPoolId field's value.
func (*UpdateUserPoolClientInput) SetWriteAttributes ¶ added in v1.5.0
func (s *UpdateUserPoolClientInput) SetWriteAttributes(v []*string) *UpdateUserPoolClientInput
SetWriteAttributes sets the WriteAttributes field's value.
func (UpdateUserPoolClientInput) String ¶
func (s UpdateUserPoolClientInput) String() string
String returns the string representation
func (*UpdateUserPoolClientInput) Validate ¶ added in v1.1.21
func (s *UpdateUserPoolClientInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserPoolClientOutput ¶
type UpdateUserPoolClientOutput struct { // The user pool client value from the response from the server when an update // user pool client request is made. UserPoolClient *UserPoolClientType `type:"structure"` // contains filtered or unexported fields }
Represents the response from the server to the request to update the user pool client.
func (UpdateUserPoolClientOutput) GoString ¶
func (s UpdateUserPoolClientOutput) GoString() string
GoString returns the string representation
func (*UpdateUserPoolClientOutput) SetUserPoolClient ¶ added in v1.5.0
func (s *UpdateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *UpdateUserPoolClientOutput
SetUserPoolClient sets the UserPoolClient field's value.
func (UpdateUserPoolClientOutput) String ¶
func (s UpdateUserPoolClientOutput) String() string
String returns the string representation
type UpdateUserPoolDomainInput ¶ added in v1.16.10
type UpdateUserPoolDomainInput struct { // The configuration for a custom domain that hosts the sign-up and sign-in // pages for your application. Use this object to specify an SSL certificate // that is managed by ACM. // // CustomDomainConfig is a required field CustomDomainConfig *CustomDomainConfigType `type:"structure" required:"true"` // The domain name for the custom domain that hosts the sign-up and sign-in // pages for your application. For example: auth.example.com. // // This string can include only lowercase letters, numbers, and hyphens. Do // not use a hyphen for the first or last character. Use periods to separate // subdomain names. // // Domain is a required field Domain *string `min:"1" type:"string" required:"true"` // The ID of the user pool that is associated with the custom domain that you // are updating the certificate for. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The UpdateUserPoolDomain request input.
func (UpdateUserPoolDomainInput) GoString ¶ added in v1.16.10
func (s UpdateUserPoolDomainInput) GoString() string
GoString returns the string representation
func (*UpdateUserPoolDomainInput) SetCustomDomainConfig ¶ added in v1.16.10
func (s *UpdateUserPoolDomainInput) SetCustomDomainConfig(v *CustomDomainConfigType) *UpdateUserPoolDomainInput
SetCustomDomainConfig sets the CustomDomainConfig field's value.
func (*UpdateUserPoolDomainInput) SetDomain ¶ added in v1.16.10
func (s *UpdateUserPoolDomainInput) SetDomain(v string) *UpdateUserPoolDomainInput
SetDomain sets the Domain field's value.
func (*UpdateUserPoolDomainInput) SetUserPoolId ¶ added in v1.16.10
func (s *UpdateUserPoolDomainInput) SetUserPoolId(v string) *UpdateUserPoolDomainInput
SetUserPoolId sets the UserPoolId field's value.
func (UpdateUserPoolDomainInput) String ¶ added in v1.16.10
func (s UpdateUserPoolDomainInput) String() string
String returns the string representation
func (*UpdateUserPoolDomainInput) Validate ¶ added in v1.16.10
func (s *UpdateUserPoolDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserPoolDomainOutput ¶ added in v1.16.10
type UpdateUserPoolDomainOutput struct { // The Amazon CloudFront endpoint that Amazon Cognito set up when you added // the custom domain to your user pool. CloudFrontDomain *string `min:"1" type:"string"` // contains filtered or unexported fields }
The UpdateUserPoolDomain response output.
func (UpdateUserPoolDomainOutput) GoString ¶ added in v1.16.10
func (s UpdateUserPoolDomainOutput) GoString() string
GoString returns the string representation
func (*UpdateUserPoolDomainOutput) SetCloudFrontDomain ¶ added in v1.16.10
func (s *UpdateUserPoolDomainOutput) SetCloudFrontDomain(v string) *UpdateUserPoolDomainOutput
SetCloudFrontDomain sets the CloudFrontDomain field's value.
func (UpdateUserPoolDomainOutput) String ¶ added in v1.16.10
func (s UpdateUserPoolDomainOutput) String() string
String returns the string representation
type UpdateUserPoolInput ¶
type UpdateUserPoolInput struct { // Use this setting to define which verified available method a user can use // to recover their password when they call ForgotPassword. It allows you to // define a preferred method when a user has more than one method available. // With this setting, SMS does not qualify for a valid password recovery mechanism // if the user also has SMS MFA enabled. In the absence of this setting, Cognito // uses the legacy behavior to determine the recovery method where SMS is preferred // over email. AccountRecoverySetting *AccountRecoverySettingType `type:"structure"` // The configuration for AdminCreateUser requests. AdminCreateUserConfig *AdminCreateUserConfigType `type:"structure"` // The attributes that are automatically verified when the Amazon Cognito service // makes a request to update user pools. AutoVerifiedAttributes []*string `type:"list"` // Device configuration. DeviceConfiguration *DeviceConfigurationType `type:"structure"` // Email configuration. EmailConfiguration *EmailConfigurationType `type:"structure"` // The contents of the email verification message. EmailVerificationMessage *string `min:"6" type:"string"` // The subject of the email verification message. EmailVerificationSubject *string `min:"1" type:"string"` // The AWS Lambda configuration information from the request to update the user // pool. LambdaConfig *LambdaConfigType `type:"structure"` // Can be one of the following values: // // * OFF - MFA tokens are not required and cannot be specified during user // registration. // // * ON - MFA tokens are required for all user registrations. You can only // specify required when you are initially creating a user pool. // // * OPTIONAL - Users have the option when registering to create an MFA token. MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` // A container with the policies you wish to update in a user pool. Policies *UserPoolPolicyType `type:"structure"` // The contents of the SMS authentication message. SmsAuthenticationMessage *string `min:"6" type:"string"` // SMS configuration. SmsConfiguration *SmsConfigurationType `type:"structure"` // A container with information about the SMS verification message. SmsVerificationMessage *string `min:"6" type:"string"` // Used to enable advanced security risk detection. Set the key AdvancedSecurityMode // to the value "AUDIT". UserPoolAddOns *UserPoolAddOnsType `type:"structure"` // The user pool ID for the user pool you want to update. // // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The tag keys and values to assign to the user pool. A tag is a label that // you can use to categorize and manage user pools in different ways, such as // by purpose, owner, environment, or other criteria. UserPoolTags map[string]*string `type:"map"` // The template for verification messages. VerificationMessageTemplate *VerificationMessageTemplateType `type:"structure"` // contains filtered or unexported fields }
Represents the request to update the user pool.
func (UpdateUserPoolInput) GoString ¶
func (s UpdateUserPoolInput) GoString() string
GoString returns the string representation
func (*UpdateUserPoolInput) SetAccountRecoverySetting ¶ added in v1.25.43
func (s *UpdateUserPoolInput) SetAccountRecoverySetting(v *AccountRecoverySettingType) *UpdateUserPoolInput
SetAccountRecoverySetting sets the AccountRecoverySetting field's value.
func (*UpdateUserPoolInput) SetAdminCreateUserConfig ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *UpdateUserPoolInput
SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value.
func (*UpdateUserPoolInput) SetAutoVerifiedAttributes ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetAutoVerifiedAttributes(v []*string) *UpdateUserPoolInput
SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value.
func (*UpdateUserPoolInput) SetDeviceConfiguration ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *UpdateUserPoolInput
SetDeviceConfiguration sets the DeviceConfiguration field's value.
func (*UpdateUserPoolInput) SetEmailConfiguration ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *UpdateUserPoolInput
SetEmailConfiguration sets the EmailConfiguration field's value.
func (*UpdateUserPoolInput) SetEmailVerificationMessage ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetEmailVerificationMessage(v string) *UpdateUserPoolInput
SetEmailVerificationMessage sets the EmailVerificationMessage field's value.
func (*UpdateUserPoolInput) SetEmailVerificationSubject ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetEmailVerificationSubject(v string) *UpdateUserPoolInput
SetEmailVerificationSubject sets the EmailVerificationSubject field's value.
func (*UpdateUserPoolInput) SetLambdaConfig ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *UpdateUserPoolInput
SetLambdaConfig sets the LambdaConfig field's value.
func (*UpdateUserPoolInput) SetMfaConfiguration ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetMfaConfiguration(v string) *UpdateUserPoolInput
SetMfaConfiguration sets the MfaConfiguration field's value.
func (*UpdateUserPoolInput) SetPolicies ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *UpdateUserPoolInput
SetPolicies sets the Policies field's value.
func (*UpdateUserPoolInput) SetSmsAuthenticationMessage ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetSmsAuthenticationMessage(v string) *UpdateUserPoolInput
SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value.
func (*UpdateUserPoolInput) SetSmsConfiguration ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *UpdateUserPoolInput
SetSmsConfiguration sets the SmsConfiguration field's value.
func (*UpdateUserPoolInput) SetSmsVerificationMessage ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetSmsVerificationMessage(v string) *UpdateUserPoolInput
SetSmsVerificationMessage sets the SmsVerificationMessage field's value.
func (*UpdateUserPoolInput) SetUserPoolAddOns ¶ added in v1.12.35
func (s *UpdateUserPoolInput) SetUserPoolAddOns(v *UserPoolAddOnsType) *UpdateUserPoolInput
SetUserPoolAddOns sets the UserPoolAddOns field's value.
func (*UpdateUserPoolInput) SetUserPoolId ¶ added in v1.5.0
func (s *UpdateUserPoolInput) SetUserPoolId(v string) *UpdateUserPoolInput
SetUserPoolId sets the UserPoolId field's value.
func (*UpdateUserPoolInput) SetUserPoolTags ¶ added in v1.6.4
func (s *UpdateUserPoolInput) SetUserPoolTags(v map[string]*string) *UpdateUserPoolInput
SetUserPoolTags sets the UserPoolTags field's value.
func (*UpdateUserPoolInput) SetVerificationMessageTemplate ¶ added in v1.10.24
func (s *UpdateUserPoolInput) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *UpdateUserPoolInput
SetVerificationMessageTemplate sets the VerificationMessageTemplate field's value.
func (UpdateUserPoolInput) String ¶
func (s UpdateUserPoolInput) String() string
String returns the string representation
func (*UpdateUserPoolInput) Validate ¶ added in v1.1.21
func (s *UpdateUserPoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateUserPoolOutput ¶
type UpdateUserPoolOutput struct {
// contains filtered or unexported fields
}
Represents the response from the server when you make a request to update the user pool.
func (UpdateUserPoolOutput) GoString ¶
func (s UpdateUserPoolOutput) GoString() string
GoString returns the string representation
func (UpdateUserPoolOutput) String ¶
func (s UpdateUserPoolOutput) String() string
String returns the string representation
type UserContextDataType ¶ added in v1.12.35
type UserContextDataType struct { // Contextual data such as the user's device fingerprint, IP address, or location // used for evaluating the risk of an unexpected event by Amazon Cognito advanced // security. EncodedData *string `type:"string"` // contains filtered or unexported fields }
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
func (UserContextDataType) GoString ¶ added in v1.12.35
func (s UserContextDataType) GoString() string
GoString returns the string representation
func (*UserContextDataType) SetEncodedData ¶ added in v1.12.35
func (s *UserContextDataType) SetEncodedData(v string) *UserContextDataType
SetEncodedData sets the EncodedData field's value.
func (UserContextDataType) String ¶ added in v1.12.35
func (s UserContextDataType) String() string
String returns the string representation
type UserImportInProgressException ¶ added in v1.28.0
type UserImportInProgressException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the user pool has an import job running. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when you are trying to modify a user pool while a user import job is in progress for that pool.
func (*UserImportInProgressException) Code ¶ added in v1.28.0
func (s *UserImportInProgressException) Code() string
Code returns the exception type name.
func (*UserImportInProgressException) Error ¶ added in v1.28.0
func (s *UserImportInProgressException) Error() string
func (UserImportInProgressException) GoString ¶ added in v1.28.0
func (s UserImportInProgressException) GoString() string
GoString returns the string representation
func (*UserImportInProgressException) Message ¶ added in v1.28.0
func (s *UserImportInProgressException) Message() string
Message returns the exception's message.
func (*UserImportInProgressException) OrigErr ¶ added in v1.28.0
func (s *UserImportInProgressException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UserImportInProgressException) RequestID ¶ added in v1.28.0
func (s *UserImportInProgressException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UserImportInProgressException) StatusCode ¶ added in v1.28.0
func (s *UserImportInProgressException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UserImportInProgressException) String ¶ added in v1.28.0
func (s UserImportInProgressException) String() string
String returns the string representation
type UserImportJobType ¶ added in v1.4.6
type UserImportJobType struct { // The role ARN for the Amazon CloudWatch Logging role for the user import job. // For more information, see "Creating the CloudWatch Logs IAM Role" in the // Amazon Cognito Developer Guide. CloudWatchLogsRoleArn *string `min:"20" type:"string"` // The date when the user import job was completed. CompletionDate *time.Time `type:"timestamp"` // The message returned when the user import job is completed. CompletionMessage *string `min:"1" type:"string"` // The date the user import job was created. CreationDate *time.Time `type:"timestamp"` // The number of users that could not be imported. FailedUsers *int64 `type:"long"` // The number of users that were successfully imported. ImportedUsers *int64 `type:"long"` // The job ID for the user import job. JobId *string `min:"1" type:"string"` // The job name for the user import job. JobName *string `min:"1" type:"string"` // The pre-signed URL to be used to upload the .csv file. PreSignedUrl *string `type:"string"` // The number of users that were skipped. SkippedUsers *int64 `type:"long"` // The date when the user import job was started. StartDate *time.Time `type:"timestamp"` // The status of the user import job. One of the following: // // * Created - The job was created but not started. // // * Pending - A transition state. You have started the job, but it has not // begun importing users yet. // // * InProgress - The job has started, and users are being imported. // // * Stopping - You have stopped the job, but the job has not stopped importing // users yet. // // * Stopped - You have stopped the job, and the job has stopped importing // users. // // * Succeeded - The job has completed successfully. // // * Failed - The job has stopped due to an error. // // * Expired - You created a job, but did not start the job within 24-48 // hours. All data associated with the job was deleted, and the job cannot // be started. Status *string `type:"string" enum:"UserImportJobStatusType"` // The user pool ID for the user pool that the users are being imported into. UserPoolId *string `min:"1" type:"string"` // contains filtered or unexported fields }
The user import job type.
func (UserImportJobType) GoString ¶ added in v1.4.6
func (s UserImportJobType) GoString() string
GoString returns the string representation
func (*UserImportJobType) SetCloudWatchLogsRoleArn ¶ added in v1.5.0
func (s *UserImportJobType) SetCloudWatchLogsRoleArn(v string) *UserImportJobType
SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
func (*UserImportJobType) SetCompletionDate ¶ added in v1.5.0
func (s *UserImportJobType) SetCompletionDate(v time.Time) *UserImportJobType
SetCompletionDate sets the CompletionDate field's value.
func (*UserImportJobType) SetCompletionMessage ¶ added in v1.5.0
func (s *UserImportJobType) SetCompletionMessage(v string) *UserImportJobType
SetCompletionMessage sets the CompletionMessage field's value.
func (*UserImportJobType) SetCreationDate ¶ added in v1.5.0
func (s *UserImportJobType) SetCreationDate(v time.Time) *UserImportJobType
SetCreationDate sets the CreationDate field's value.
func (*UserImportJobType) SetFailedUsers ¶ added in v1.5.0
func (s *UserImportJobType) SetFailedUsers(v int64) *UserImportJobType
SetFailedUsers sets the FailedUsers field's value.
func (*UserImportJobType) SetImportedUsers ¶ added in v1.5.0
func (s *UserImportJobType) SetImportedUsers(v int64) *UserImportJobType
SetImportedUsers sets the ImportedUsers field's value.
func (*UserImportJobType) SetJobId ¶ added in v1.5.0
func (s *UserImportJobType) SetJobId(v string) *UserImportJobType
SetJobId sets the JobId field's value.
func (*UserImportJobType) SetJobName ¶ added in v1.5.0
func (s *UserImportJobType) SetJobName(v string) *UserImportJobType
SetJobName sets the JobName field's value.
func (*UserImportJobType) SetPreSignedUrl ¶ added in v1.5.0
func (s *UserImportJobType) SetPreSignedUrl(v string) *UserImportJobType
SetPreSignedUrl sets the PreSignedUrl field's value.
func (*UserImportJobType) SetSkippedUsers ¶ added in v1.5.0
func (s *UserImportJobType) SetSkippedUsers(v int64) *UserImportJobType
SetSkippedUsers sets the SkippedUsers field's value.
func (*UserImportJobType) SetStartDate ¶ added in v1.5.0
func (s *UserImportJobType) SetStartDate(v time.Time) *UserImportJobType
SetStartDate sets the StartDate field's value.
func (*UserImportJobType) SetStatus ¶ added in v1.5.0
func (s *UserImportJobType) SetStatus(v string) *UserImportJobType
SetStatus sets the Status field's value.
func (*UserImportJobType) SetUserPoolId ¶ added in v1.5.0
func (s *UserImportJobType) SetUserPoolId(v string) *UserImportJobType
SetUserPoolId sets the UserPoolId field's value.
func (UserImportJobType) String ¶ added in v1.4.6
func (s UserImportJobType) String() string
String returns the string representation
type UserLambdaValidationException ¶ added in v1.28.0
type UserLambdaValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when the Amazon Cognito service returns a user validation // exception with the AWS Lambda service. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.
func (*UserLambdaValidationException) Code ¶ added in v1.28.0
func (s *UserLambdaValidationException) Code() string
Code returns the exception type name.
func (*UserLambdaValidationException) Error ¶ added in v1.28.0
func (s *UserLambdaValidationException) Error() string
func (UserLambdaValidationException) GoString ¶ added in v1.28.0
func (s UserLambdaValidationException) GoString() string
GoString returns the string representation
func (*UserLambdaValidationException) Message ¶ added in v1.28.0
func (s *UserLambdaValidationException) Message() string
Message returns the exception's message.
func (*UserLambdaValidationException) OrigErr ¶ added in v1.28.0
func (s *UserLambdaValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UserLambdaValidationException) RequestID ¶ added in v1.28.0
func (s *UserLambdaValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UserLambdaValidationException) StatusCode ¶ added in v1.28.0
func (s *UserLambdaValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UserLambdaValidationException) String ¶ added in v1.28.0
func (s UserLambdaValidationException) String() string
String returns the string representation
type UserNotConfirmedException ¶ added in v1.28.0
type UserNotConfirmedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when a user is not confirmed successfully. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when a user is not confirmed successfully.
func (*UserNotConfirmedException) Code ¶ added in v1.28.0
func (s *UserNotConfirmedException) Code() string
Code returns the exception type name.
func (*UserNotConfirmedException) Error ¶ added in v1.28.0
func (s *UserNotConfirmedException) Error() string
func (UserNotConfirmedException) GoString ¶ added in v1.28.0
func (s UserNotConfirmedException) GoString() string
GoString returns the string representation
func (*UserNotConfirmedException) Message ¶ added in v1.28.0
func (s *UserNotConfirmedException) Message() string
Message returns the exception's message.
func (*UserNotConfirmedException) OrigErr ¶ added in v1.28.0
func (s *UserNotConfirmedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UserNotConfirmedException) RequestID ¶ added in v1.28.0
func (s *UserNotConfirmedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UserNotConfirmedException) StatusCode ¶ added in v1.28.0
func (s *UserNotConfirmedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UserNotConfirmedException) String ¶ added in v1.28.0
func (s UserNotConfirmedException) String() string
String returns the string representation
type UserNotFoundException ¶ added in v1.28.0
type UserNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when a user is not found. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when a user is not found.
func (*UserNotFoundException) Code ¶ added in v1.28.0
func (s *UserNotFoundException) Code() string
Code returns the exception type name.
func (*UserNotFoundException) Error ¶ added in v1.28.0
func (s *UserNotFoundException) Error() string
func (UserNotFoundException) GoString ¶ added in v1.28.0
func (s UserNotFoundException) GoString() string
GoString returns the string representation
func (*UserNotFoundException) Message ¶ added in v1.28.0
func (s *UserNotFoundException) Message() string
Message returns the exception's message.
func (*UserNotFoundException) OrigErr ¶ added in v1.28.0
func (s *UserNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UserNotFoundException) RequestID ¶ added in v1.28.0
func (s *UserNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UserNotFoundException) StatusCode ¶ added in v1.28.0
func (s *UserNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UserNotFoundException) String ¶ added in v1.28.0
func (s UserNotFoundException) String() string
String returns the string representation
type UserPoolAddOnNotEnabledException ¶ added in v1.28.0
type UserPoolAddOnNotEnabledException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when user pool add-ons are not enabled.
func (*UserPoolAddOnNotEnabledException) Code ¶ added in v1.28.0
func (s *UserPoolAddOnNotEnabledException) Code() string
Code returns the exception type name.
func (*UserPoolAddOnNotEnabledException) Error ¶ added in v1.28.0
func (s *UserPoolAddOnNotEnabledException) Error() string
func (UserPoolAddOnNotEnabledException) GoString ¶ added in v1.28.0
func (s UserPoolAddOnNotEnabledException) GoString() string
GoString returns the string representation
func (*UserPoolAddOnNotEnabledException) Message ¶ added in v1.28.0
func (s *UserPoolAddOnNotEnabledException) Message() string
Message returns the exception's message.
func (*UserPoolAddOnNotEnabledException) OrigErr ¶ added in v1.28.0
func (s *UserPoolAddOnNotEnabledException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UserPoolAddOnNotEnabledException) RequestID ¶ added in v1.28.0
func (s *UserPoolAddOnNotEnabledException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UserPoolAddOnNotEnabledException) StatusCode ¶ added in v1.28.0
func (s *UserPoolAddOnNotEnabledException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UserPoolAddOnNotEnabledException) String ¶ added in v1.28.0
func (s UserPoolAddOnNotEnabledException) String() string
String returns the string representation
type UserPoolAddOnsType ¶ added in v1.12.35
type UserPoolAddOnsType struct { // The advanced security mode. // // AdvancedSecurityMode is a required field AdvancedSecurityMode *string `type:"string" required:"true" enum:"AdvancedSecurityModeType"` // contains filtered or unexported fields }
The user pool add-ons type.
func (UserPoolAddOnsType) GoString ¶ added in v1.12.35
func (s UserPoolAddOnsType) GoString() string
GoString returns the string representation
func (*UserPoolAddOnsType) SetAdvancedSecurityMode ¶ added in v1.12.35
func (s *UserPoolAddOnsType) SetAdvancedSecurityMode(v string) *UserPoolAddOnsType
SetAdvancedSecurityMode sets the AdvancedSecurityMode field's value.
func (UserPoolAddOnsType) String ¶ added in v1.12.35
func (s UserPoolAddOnsType) String() string
String returns the string representation
func (*UserPoolAddOnsType) Validate ¶ added in v1.12.35
func (s *UserPoolAddOnsType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UserPoolClientDescription ¶
type UserPoolClientDescription struct { // The ID of the client associated with the user pool. ClientId *string `min:"1" type:"string" sensitive:"true"` // The client name from the user pool client description. ClientName *string `min:"1" type:"string"` // The user pool ID for the user pool where you want to describe the user pool // client. UserPoolId *string `min:"1" type:"string"` // contains filtered or unexported fields }
The description of the user pool client.
func (UserPoolClientDescription) GoString ¶
func (s UserPoolClientDescription) GoString() string
GoString returns the string representation
func (*UserPoolClientDescription) SetClientId ¶ added in v1.5.0
func (s *UserPoolClientDescription) SetClientId(v string) *UserPoolClientDescription
SetClientId sets the ClientId field's value.
func (*UserPoolClientDescription) SetClientName ¶ added in v1.5.0
func (s *UserPoolClientDescription) SetClientName(v string) *UserPoolClientDescription
SetClientName sets the ClientName field's value.
func (*UserPoolClientDescription) SetUserPoolId ¶ added in v1.5.0
func (s *UserPoolClientDescription) SetUserPoolId(v string) *UserPoolClientDescription
SetUserPoolId sets the UserPoolId field's value.
func (UserPoolClientDescription) String ¶
func (s UserPoolClientDescription) String() string
String returns the string representation
type UserPoolClientType ¶
type UserPoolClientType struct { // The time limit, specified by tokenValidityUnits, defaulting to hours, after // which the access token is no longer valid and cannot be used. AccessTokenValidity *int64 `min:"1" type:"integer"` // The allowed OAuth flows. // // 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 implicit to specify that the client should get the access token (and, // optionally, ID token, based on scopes) directly. // // Set to client_credentials to specify that the client should get the access // token (and, optionally, ID token, based on scopes) from the token endpoint // using a combination of client and client_secret. 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"` // The allowed OAuth scopes. Possible values provided by OAuth are: phone, email, // openid, and profile. Possible values provided by AWS are: aws.cognito.signin.user.admin. // Custom scopes created in Resource Servers are also supported. AllowedOAuthScopes []*string `type:"list"` // The Amazon Pinpoint analytics configuration for the user pool client. // // Cognito User Pools only supports sending events to Amazon Pinpoint projects // in the US East (N. Virginia) us-east-1 Region, regardless of the region in // which the user pool resides. AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` // A list of allowed redirect (callback) URLs for the identity providers. // // A redirect URI must: // // * Be an absolute URI. // // * Be registered with the authorization server. // // * Not include a fragment component. // // See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2). // // Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing // purposes only. // // App callback URLs such as myapp://example are also supported. CallbackURLs []*string `type:"list"` // The ID of the client associated with the user pool. ClientId *string `min:"1" type:"string" sensitive:"true"` // The client name from the user pool request of the client type. ClientName *string `min:"1" type:"string"` // The client secret from the user pool request of the client type. ClientSecret *string `min:"1" type:"string" sensitive:"true"` // The date the user pool client was created. CreationDate *time.Time `type:"timestamp"` // The default redirect URI. Must be in the CallbackURLs list. // // A redirect URI must: // // * Be an absolute URI. // // * Be registered with the authorization server. // // * Not include a fragment component. // // See OAuth 2.0 - Redirection Endpoint (https://tools.ietf.org/html/rfc6749#section-3.1.2). // // Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing // purposes only. // // App callback URLs such as myapp://example are also supported. DefaultRedirectURI *string `min:"1" type:"string"` // The authentication flows that are supported by the user pool clients. Flow // names without the ALLOW_ prefix are deprecated in favor of new names with // the ALLOW_ prefix. Note that values with ALLOW_ prefix cannot be used along // with values without ALLOW_ prefix. // // Valid values include: // // * ALLOW_ADMIN_USER_PASSWORD_AUTH: Enable admin based user password authentication // flow ADMIN_USER_PASSWORD_AUTH. This setting replaces the ADMIN_NO_SRP_AUTH // setting. With this authentication flow, Cognito receives the password // in the request instead of using the SRP (Secure Remote Password protocol) // protocol to verify passwords. // // * ALLOW_CUSTOM_AUTH: Enable Lambda trigger based authentication. // // * ALLOW_USER_PASSWORD_AUTH: Enable user password-based authentication. // In this flow, Cognito receives the password in the request instead of // using the SRP protocol to verify passwords. // // * ALLOW_USER_SRP_AUTH: Enable SRP based authentication. // // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. ExplicitAuthFlows []*string `type:"list"` // The time limit, specified by tokenValidityUnits, defaulting to hours, after // which the refresh token is no longer valid and cannot be used. IdTokenValidity *int64 `min:"1" type:"integer"` // The date the user pool client was last modified. LastModifiedDate *time.Time `type:"timestamp"` // A list of allowed logout URLs for the identity providers. LogoutURLs []*string `type:"list"` // Use this setting to choose which errors and responses are returned by Cognito // APIs during authentication, account confirmation, and password recovery when // the user does not exist in the user pool. When set to ENABLED and the user // does not exist, authentication returns an error indicating either the username // or password was incorrect, and account confirmation and password recovery // return a response indicating a code was sent to a simulated destination. // When set to LEGACY, those APIs will return a UserNotFoundException exception // if the user does not exist in the user pool. // // Valid values include: // // * ENABLED - This prevents user existence-related errors. // // * LEGACY - This represents the old behavior of Cognito where user existence // related errors are not prevented. // // After February 15th 2020, the value of PreventUserExistenceErrors will default // to ENABLED for newly created user pool clients if no value is provided. PreventUserExistenceErrors *string `type:"string" enum:"PreventUserExistenceErrorTypes"` // The Read-only 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 time units used to specify the token validity times of their respective // token. TokenValidityUnits *TokenValidityUnitsType `type:"structure"` // The user pool ID for the user pool client. UserPoolId *string `min:"1" type:"string"` // The writeable attributes. WriteAttributes []*string `type:"list"` // contains filtered or unexported fields }
Contains information about a user pool client.
func (UserPoolClientType) GoString ¶
func (s UserPoolClientType) GoString() string
GoString returns the string representation
func (*UserPoolClientType) SetAccessTokenValidity ¶ added in v1.34.4
func (s *UserPoolClientType) SetAccessTokenValidity(v int64) *UserPoolClientType
SetAccessTokenValidity sets the AccessTokenValidity field's value.
func (*UserPoolClientType) SetAllowedOAuthFlows ¶ added in v1.8.33
func (s *UserPoolClientType) SetAllowedOAuthFlows(v []*string) *UserPoolClientType
SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value.
func (*UserPoolClientType) SetAllowedOAuthFlowsUserPoolClient ¶ added in v1.8.33
func (s *UserPoolClientType) SetAllowedOAuthFlowsUserPoolClient(v bool) *UserPoolClientType
SetAllowedOAuthFlowsUserPoolClient sets the AllowedOAuthFlowsUserPoolClient field's value.
func (*UserPoolClientType) SetAllowedOAuthScopes ¶ added in v1.8.33
func (s *UserPoolClientType) SetAllowedOAuthScopes(v []*string) *UserPoolClientType
SetAllowedOAuthScopes sets the AllowedOAuthScopes field's value.
func (*UserPoolClientType) SetAnalyticsConfiguration ¶ added in v1.12.35
func (s *UserPoolClientType) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *UserPoolClientType
SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value.
func (*UserPoolClientType) SetCallbackURLs ¶ added in v1.8.33
func (s *UserPoolClientType) SetCallbackURLs(v []*string) *UserPoolClientType
SetCallbackURLs sets the CallbackURLs field's value.
func (*UserPoolClientType) SetClientId ¶ added in v1.5.0
func (s *UserPoolClientType) SetClientId(v string) *UserPoolClientType
SetClientId sets the ClientId field's value.
func (*UserPoolClientType) SetClientName ¶ added in v1.5.0
func (s *UserPoolClientType) SetClientName(v string) *UserPoolClientType
SetClientName sets the ClientName field's value.
func (*UserPoolClientType) SetClientSecret ¶ added in v1.5.0
func (s *UserPoolClientType) SetClientSecret(v string) *UserPoolClientType
SetClientSecret sets the ClientSecret field's value.
func (*UserPoolClientType) SetCreationDate ¶ added in v1.5.0
func (s *UserPoolClientType) SetCreationDate(v time.Time) *UserPoolClientType
SetCreationDate sets the CreationDate field's value.
func (*UserPoolClientType) SetDefaultRedirectURI ¶ added in v1.8.33
func (s *UserPoolClientType) SetDefaultRedirectURI(v string) *UserPoolClientType
SetDefaultRedirectURI sets the DefaultRedirectURI field's value.
func (*UserPoolClientType) SetExplicitAuthFlows ¶ added in v1.5.0
func (s *UserPoolClientType) SetExplicitAuthFlows(v []*string) *UserPoolClientType
SetExplicitAuthFlows sets the ExplicitAuthFlows field's value.
func (*UserPoolClientType) SetIdTokenValidity ¶ added in v1.34.4
func (s *UserPoolClientType) SetIdTokenValidity(v int64) *UserPoolClientType
SetIdTokenValidity sets the IdTokenValidity field's value.
func (*UserPoolClientType) SetLastModifiedDate ¶ added in v1.5.0
func (s *UserPoolClientType) SetLastModifiedDate(v time.Time) *UserPoolClientType
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*UserPoolClientType) SetLogoutURLs ¶ added in v1.8.33
func (s *UserPoolClientType) SetLogoutURLs(v []*string) *UserPoolClientType
SetLogoutURLs sets the LogoutURLs field's value.
func (*UserPoolClientType) SetPreventUserExistenceErrors ¶ added in v1.25.35
func (s *UserPoolClientType) SetPreventUserExistenceErrors(v string) *UserPoolClientType
SetPreventUserExistenceErrors sets the PreventUserExistenceErrors field's value.
func (*UserPoolClientType) SetReadAttributes ¶ added in v1.5.0
func (s *UserPoolClientType) SetReadAttributes(v []*string) *UserPoolClientType
SetReadAttributes sets the ReadAttributes field's value.
func (*UserPoolClientType) SetRefreshTokenValidity ¶ added in v1.5.0
func (s *UserPoolClientType) SetRefreshTokenValidity(v int64) *UserPoolClientType
SetRefreshTokenValidity sets the RefreshTokenValidity field's value.
func (*UserPoolClientType) SetSupportedIdentityProviders ¶ added in v1.8.33
func (s *UserPoolClientType) SetSupportedIdentityProviders(v []*string) *UserPoolClientType
SetSupportedIdentityProviders sets the SupportedIdentityProviders field's value.
func (*UserPoolClientType) SetTokenValidityUnits ¶ added in v1.34.4
func (s *UserPoolClientType) SetTokenValidityUnits(v *TokenValidityUnitsType) *UserPoolClientType
SetTokenValidityUnits sets the TokenValidityUnits field's value.
func (*UserPoolClientType) SetUserPoolId ¶ added in v1.5.0
func (s *UserPoolClientType) SetUserPoolId(v string) *UserPoolClientType
SetUserPoolId sets the UserPoolId field's value.
func (*UserPoolClientType) SetWriteAttributes ¶ added in v1.5.0
func (s *UserPoolClientType) SetWriteAttributes(v []*string) *UserPoolClientType
SetWriteAttributes sets the WriteAttributes field's value.
func (UserPoolClientType) String ¶
func (s UserPoolClientType) String() string
String returns the string representation
type UserPoolDescriptionType ¶
type UserPoolDescriptionType struct { // The date the user pool description was created. CreationDate *time.Time `type:"timestamp"` // The ID in a user pool description. Id *string `min:"1" type:"string"` // The AWS Lambda configuration information in a user pool description. LambdaConfig *LambdaConfigType `type:"structure"` // The date the user pool description was last modified. LastModifiedDate *time.Time `type:"timestamp"` // The name in a user pool description. Name *string `min:"1" type:"string"` // The user pool status in a user pool description. Status *string `type:"string" enum:"StatusType"` // contains filtered or unexported fields }
A user pool description.
func (UserPoolDescriptionType) GoString ¶
func (s UserPoolDescriptionType) GoString() string
GoString returns the string representation
func (*UserPoolDescriptionType) SetCreationDate ¶ added in v1.5.0
func (s *UserPoolDescriptionType) SetCreationDate(v time.Time) *UserPoolDescriptionType
SetCreationDate sets the CreationDate field's value.
func (*UserPoolDescriptionType) SetId ¶ added in v1.5.0
func (s *UserPoolDescriptionType) SetId(v string) *UserPoolDescriptionType
SetId sets the Id field's value.
func (*UserPoolDescriptionType) SetLambdaConfig ¶ added in v1.5.0
func (s *UserPoolDescriptionType) SetLambdaConfig(v *LambdaConfigType) *UserPoolDescriptionType
SetLambdaConfig sets the LambdaConfig field's value.
func (*UserPoolDescriptionType) SetLastModifiedDate ¶ added in v1.5.0
func (s *UserPoolDescriptionType) SetLastModifiedDate(v time.Time) *UserPoolDescriptionType
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*UserPoolDescriptionType) SetName ¶ added in v1.5.0
func (s *UserPoolDescriptionType) SetName(v string) *UserPoolDescriptionType
SetName sets the Name field's value.
func (*UserPoolDescriptionType) SetStatus ¶ added in v1.5.0
func (s *UserPoolDescriptionType) SetStatus(v string) *UserPoolDescriptionType
SetStatus sets the Status field's value.
func (UserPoolDescriptionType) String ¶
func (s UserPoolDescriptionType) String() string
String returns the string representation
type UserPoolPolicyType ¶
type UserPoolPolicyType struct { // The password policy. PasswordPolicy *PasswordPolicyType `type:"structure"` // contains filtered or unexported fields }
The policy associated with a user pool.
func (UserPoolPolicyType) GoString ¶
func (s UserPoolPolicyType) GoString() string
GoString returns the string representation
func (*UserPoolPolicyType) SetPasswordPolicy ¶ added in v1.5.0
func (s *UserPoolPolicyType) SetPasswordPolicy(v *PasswordPolicyType) *UserPoolPolicyType
SetPasswordPolicy sets the PasswordPolicy field's value.
func (UserPoolPolicyType) String ¶
func (s UserPoolPolicyType) String() string
String returns the string representation
func (*UserPoolPolicyType) Validate ¶ added in v1.1.21
func (s *UserPoolPolicyType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UserPoolTaggingException ¶ added in v1.28.0
type UserPoolTaggingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when a user pool tag cannot be set or updated.
func (*UserPoolTaggingException) Code ¶ added in v1.28.0
func (s *UserPoolTaggingException) Code() string
Code returns the exception type name.
func (*UserPoolTaggingException) Error ¶ added in v1.28.0
func (s *UserPoolTaggingException) Error() string
func (UserPoolTaggingException) GoString ¶ added in v1.28.0
func (s UserPoolTaggingException) GoString() string
GoString returns the string representation
func (*UserPoolTaggingException) Message ¶ added in v1.28.0
func (s *UserPoolTaggingException) Message() string
Message returns the exception's message.
func (*UserPoolTaggingException) OrigErr ¶ added in v1.28.0
func (s *UserPoolTaggingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UserPoolTaggingException) RequestID ¶ added in v1.28.0
func (s *UserPoolTaggingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UserPoolTaggingException) StatusCode ¶ added in v1.28.0
func (s *UserPoolTaggingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UserPoolTaggingException) String ¶ added in v1.28.0
func (s UserPoolTaggingException) String() string
String returns the string representation
type UserPoolType ¶
type UserPoolType struct { // Use this setting to define which verified available method a user can use // to recover their password when they call ForgotPassword. It allows you to // define a preferred method when a user has more than one method available. // With this setting, SMS does not qualify for a valid password recovery mechanism // if the user also has SMS MFA enabled. In the absence of this setting, Cognito // uses the legacy behavior to determine the recovery method where SMS is preferred // over email. AccountRecoverySetting *AccountRecoverySettingType `type:"structure"` // The configuration for AdminCreateUser requests. AdminCreateUserConfig *AdminCreateUserConfigType `type:"structure"` // Specifies the attributes that are aliased in a user pool. AliasAttributes []*string `type:"list"` // The Amazon Resource Name (ARN) for the user pool. Arn *string `min:"20" type:"string"` // Specifies the attributes that are auto-verified in a user pool. AutoVerifiedAttributes []*string `type:"list"` // The date the user pool was created. CreationDate *time.Time `type:"timestamp"` // A custom domain name that you provide to Amazon Cognito. This parameter applies // only if you use a custom domain to host the sign-up and sign-in pages for // your application. For example: auth.example.com. // // For more information about adding a custom domain to your user pool, see // Using Your Own Domain for the Hosted UI (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html). CustomDomain *string `min:"1" type:"string"` // The device configuration. DeviceConfiguration *DeviceConfigurationType `type:"structure"` // Holds the domain prefix if the user pool has a domain associated with it. Domain *string `min:"1" type:"string"` // The email configuration. EmailConfiguration *EmailConfigurationType `type:"structure"` // The reason why the email configuration cannot send the messages to your users. EmailConfigurationFailure *string `type:"string"` // The contents of the email verification message. EmailVerificationMessage *string `min:"6" type:"string"` // The subject of the email verification message. EmailVerificationSubject *string `min:"1" type:"string"` // A number estimating the size of the user pool. EstimatedNumberOfUsers *int64 `type:"integer"` // The ID of the user pool. Id *string `min:"1" type:"string"` // The AWS Lambda triggers associated with the user pool. LambdaConfig *LambdaConfigType `type:"structure"` // The date the user pool was last modified. LastModifiedDate *time.Time `type:"timestamp"` // Can be one of the following values: // // * OFF - MFA tokens are not required and cannot be specified during user // registration. // // * ON - MFA tokens are required for all user registrations. You can only // specify required when you are initially creating a user pool. // // * OPTIONAL - Users have the option when registering to create an MFA token. MfaConfiguration *string `type:"string" enum:"UserPoolMfaType"` // The name of the user pool. Name *string `min:"1" type:"string"` // The policies associated with the user pool. Policies *UserPoolPolicyType `type:"structure"` // A container with the schema attributes of a user pool. SchemaAttributes []*SchemaAttributeType `min:"1" type:"list"` // The contents of the SMS authentication message. SmsAuthenticationMessage *string `min:"6" type:"string"` // The SMS configuration. SmsConfiguration *SmsConfigurationType `type:"structure"` // The reason why the SMS configuration cannot send the messages to your users. SmsConfigurationFailure *string `type:"string"` // The contents of the SMS verification message. SmsVerificationMessage *string `min:"6" type:"string"` // The status of a user pool. Status *string `type:"string" enum:"StatusType"` // The user pool add-ons. UserPoolAddOns *UserPoolAddOnsType `type:"structure"` // The tags that are assigned to the user pool. A tag is a label that you can // apply to user pools to categorize and manage them in different ways, such // as by purpose, owner, environment, or other criteria. UserPoolTags map[string]*string `type:"map"` // Specifies whether email addresses or phone numbers can be specified as usernames // when a user signs up. UsernameAttributes []*string `type:"list"` // You can choose to enable case sensitivity on the username input for the selected // sign-in option. For example, when this is set to False, users will be able // to sign in using either "username" or "Username". This configuration is immutable // once it has been set. For more information, see UsernameConfigurationType // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UsernameConfigurationType.html). UsernameConfiguration *UsernameConfigurationType `type:"structure"` // The template for verification messages. VerificationMessageTemplate *VerificationMessageTemplateType `type:"structure"` // contains filtered or unexported fields }
A container for information about the user pool.
func (UserPoolType) GoString ¶
func (s UserPoolType) GoString() string
GoString returns the string representation
func (*UserPoolType) SetAccountRecoverySetting ¶ added in v1.25.43
func (s *UserPoolType) SetAccountRecoverySetting(v *AccountRecoverySettingType) *UserPoolType
SetAccountRecoverySetting sets the AccountRecoverySetting field's value.
func (*UserPoolType) SetAdminCreateUserConfig ¶ added in v1.5.0
func (s *UserPoolType) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *UserPoolType
SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value.
func (*UserPoolType) SetAliasAttributes ¶ added in v1.5.0
func (s *UserPoolType) SetAliasAttributes(v []*string) *UserPoolType
SetAliasAttributes sets the AliasAttributes field's value.
func (*UserPoolType) SetArn ¶ added in v1.13.51
func (s *UserPoolType) SetArn(v string) *UserPoolType
SetArn sets the Arn field's value.
func (*UserPoolType) SetAutoVerifiedAttributes ¶ added in v1.5.0
func (s *UserPoolType) SetAutoVerifiedAttributes(v []*string) *UserPoolType
SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value.
func (*UserPoolType) SetCreationDate ¶ added in v1.5.0
func (s *UserPoolType) SetCreationDate(v time.Time) *UserPoolType
SetCreationDate sets the CreationDate field's value.
func (*UserPoolType) SetCustomDomain ¶ added in v1.15.20
func (s *UserPoolType) SetCustomDomain(v string) *UserPoolType
SetCustomDomain sets the CustomDomain field's value.
func (*UserPoolType) SetDeviceConfiguration ¶ added in v1.5.0
func (s *UserPoolType) SetDeviceConfiguration(v *DeviceConfigurationType) *UserPoolType
SetDeviceConfiguration sets the DeviceConfiguration field's value.
func (*UserPoolType) SetDomain ¶ added in v1.12.45
func (s *UserPoolType) SetDomain(v string) *UserPoolType
SetDomain sets the Domain field's value.
func (*UserPoolType) SetEmailConfiguration ¶ added in v1.5.0
func (s *UserPoolType) SetEmailConfiguration(v *EmailConfigurationType) *UserPoolType
SetEmailConfiguration sets the EmailConfiguration field's value.
func (*UserPoolType) SetEmailConfigurationFailure ¶ added in v1.5.0
func (s *UserPoolType) SetEmailConfigurationFailure(v string) *UserPoolType
SetEmailConfigurationFailure sets the EmailConfigurationFailure field's value.
func (*UserPoolType) SetEmailVerificationMessage ¶ added in v1.5.0
func (s *UserPoolType) SetEmailVerificationMessage(v string) *UserPoolType
SetEmailVerificationMessage sets the EmailVerificationMessage field's value.
func (*UserPoolType) SetEmailVerificationSubject ¶ added in v1.5.0
func (s *UserPoolType) SetEmailVerificationSubject(v string) *UserPoolType
SetEmailVerificationSubject sets the EmailVerificationSubject field's value.
func (*UserPoolType) SetEstimatedNumberOfUsers ¶ added in v1.5.0
func (s *UserPoolType) SetEstimatedNumberOfUsers(v int64) *UserPoolType
SetEstimatedNumberOfUsers sets the EstimatedNumberOfUsers field's value.
func (*UserPoolType) SetId ¶ added in v1.5.0
func (s *UserPoolType) SetId(v string) *UserPoolType
SetId sets the Id field's value.
func (*UserPoolType) SetLambdaConfig ¶ added in v1.5.0
func (s *UserPoolType) SetLambdaConfig(v *LambdaConfigType) *UserPoolType
SetLambdaConfig sets the LambdaConfig field's value.
func (*UserPoolType) SetLastModifiedDate ¶ added in v1.5.0
func (s *UserPoolType) SetLastModifiedDate(v time.Time) *UserPoolType
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*UserPoolType) SetMfaConfiguration ¶ added in v1.5.0
func (s *UserPoolType) SetMfaConfiguration(v string) *UserPoolType
SetMfaConfiguration sets the MfaConfiguration field's value.
func (*UserPoolType) SetName ¶ added in v1.5.0
func (s *UserPoolType) SetName(v string) *UserPoolType
SetName sets the Name field's value.
func (*UserPoolType) SetPolicies ¶ added in v1.5.0
func (s *UserPoolType) SetPolicies(v *UserPoolPolicyType) *UserPoolType
SetPolicies sets the Policies field's value.
func (*UserPoolType) SetSchemaAttributes ¶ added in v1.5.0
func (s *UserPoolType) SetSchemaAttributes(v []*SchemaAttributeType) *UserPoolType
SetSchemaAttributes sets the SchemaAttributes field's value.
func (*UserPoolType) SetSmsAuthenticationMessage ¶ added in v1.5.0
func (s *UserPoolType) SetSmsAuthenticationMessage(v string) *UserPoolType
SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value.
func (*UserPoolType) SetSmsConfiguration ¶ added in v1.5.0
func (s *UserPoolType) SetSmsConfiguration(v *SmsConfigurationType) *UserPoolType
SetSmsConfiguration sets the SmsConfiguration field's value.
func (*UserPoolType) SetSmsConfigurationFailure ¶ added in v1.5.0
func (s *UserPoolType) SetSmsConfigurationFailure(v string) *UserPoolType
SetSmsConfigurationFailure sets the SmsConfigurationFailure field's value.
func (*UserPoolType) SetSmsVerificationMessage ¶ added in v1.5.0
func (s *UserPoolType) SetSmsVerificationMessage(v string) *UserPoolType
SetSmsVerificationMessage sets the SmsVerificationMessage field's value.
func (*UserPoolType) SetStatus ¶ added in v1.5.0
func (s *UserPoolType) SetStatus(v string) *UserPoolType
SetStatus sets the Status field's value.
func (*UserPoolType) SetUserPoolAddOns ¶ added in v1.12.35
func (s *UserPoolType) SetUserPoolAddOns(v *UserPoolAddOnsType) *UserPoolType
SetUserPoolAddOns sets the UserPoolAddOns field's value.
func (*UserPoolType) SetUserPoolTags ¶ added in v1.6.4
func (s *UserPoolType) SetUserPoolTags(v map[string]*string) *UserPoolType
SetUserPoolTags sets the UserPoolTags field's value.
func (*UserPoolType) SetUsernameAttributes ¶ added in v1.10.12
func (s *UserPoolType) SetUsernameAttributes(v []*string) *UserPoolType
SetUsernameAttributes sets the UsernameAttributes field's value.
func (*UserPoolType) SetUsernameConfiguration ¶ added in v1.29.0
func (s *UserPoolType) SetUsernameConfiguration(v *UsernameConfigurationType) *UserPoolType
SetUsernameConfiguration sets the UsernameConfiguration field's value.
func (*UserPoolType) SetVerificationMessageTemplate ¶ added in v1.10.24
func (s *UserPoolType) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *UserPoolType
SetVerificationMessageTemplate sets the VerificationMessageTemplate field's value.
func (UserPoolType) String ¶
func (s UserPoolType) String() string
String returns the string representation
type UserType ¶
type UserType struct { // A container with information about the user type attributes. Attributes []*AttributeType `type:"list"` // Specifies whether the user is enabled. Enabled *bool `type:"boolean"` // The MFA options for the user. MFAOptions []*MFAOptionType `type:"list"` // The creation date of the user. UserCreateDate *time.Time `type:"timestamp"` // The last modified date of the user. UserLastModifiedDate *time.Time `type:"timestamp"` // 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. // // * RESET_REQUIRED - User is confirmed, but the user must request a code // and reset his or her password before he or she can sign in. // // * FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign // in using a temporary password, but on first sign-in, the user must change // his or her password to a new value before doing anything else. UserStatus *string `type:"string" enum:"UserStatusType"` // The user name of the user you wish to describe. Username *string `min:"1" type:"string" sensitive:"true"` // contains filtered or unexported fields }
The user type.
func (*UserType) SetAttributes ¶ added in v1.5.0
func (s *UserType) SetAttributes(v []*AttributeType) *UserType
SetAttributes sets the Attributes field's value.
func (*UserType) SetEnabled ¶ added in v1.5.0
SetEnabled sets the Enabled field's value.
func (*UserType) SetMFAOptions ¶ added in v1.5.0
func (s *UserType) SetMFAOptions(v []*MFAOptionType) *UserType
SetMFAOptions sets the MFAOptions field's value.
func (*UserType) SetUserCreateDate ¶ added in v1.5.0
SetUserCreateDate sets the UserCreateDate field's value.
func (*UserType) SetUserLastModifiedDate ¶ added in v1.5.0
SetUserLastModifiedDate sets the UserLastModifiedDate field's value.
func (*UserType) SetUserStatus ¶ added in v1.5.0
SetUserStatus sets the UserStatus field's value.
func (*UserType) SetUsername ¶ added in v1.5.0
SetUsername sets the Username field's value.
type UsernameConfigurationType ¶ added in v1.29.0
type UsernameConfigurationType struct { // Specifies whether username case sensitivity will be applied for all users // in the user pool through Cognito APIs. // // Valid values include: // // * True : Enables case sensitivity for all username input. When this option // is set to True, users must sign in using the exact capitalization of their // given username. For example, “UserName”. This is the default value. // // * False : Enables case insensitivity for all username input. For example, // when this option is set to False, users will be able to sign in using // either "username" or "Username". This option also enables both preferred_username // and email alias to be case insensitive, in addition to the username attribute. // // CaseSensitive is a required field CaseSensitive *bool `type:"boolean" required:"true"` // contains filtered or unexported fields }
The username configuration type.
func (UsernameConfigurationType) GoString ¶ added in v1.29.0
func (s UsernameConfigurationType) GoString() string
GoString returns the string representation
func (*UsernameConfigurationType) SetCaseSensitive ¶ added in v1.29.0
func (s *UsernameConfigurationType) SetCaseSensitive(v bool) *UsernameConfigurationType
SetCaseSensitive sets the CaseSensitive field's value.
func (UsernameConfigurationType) String ¶ added in v1.29.0
func (s UsernameConfigurationType) String() string
String returns the string representation
func (*UsernameConfigurationType) Validate ¶ added in v1.29.0
func (s *UsernameConfigurationType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UsernameExistsException ¶ added in v1.28.0
type UsernameExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The message returned when Amazon Cognito throws a user name exists exception. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.
func (*UsernameExistsException) Code ¶ added in v1.28.0
func (s *UsernameExistsException) Code() string
Code returns the exception type name.
func (*UsernameExistsException) Error ¶ added in v1.28.0
func (s *UsernameExistsException) Error() string
func (UsernameExistsException) GoString ¶ added in v1.28.0
func (s UsernameExistsException) GoString() string
GoString returns the string representation
func (*UsernameExistsException) Message ¶ added in v1.28.0
func (s *UsernameExistsException) Message() string
Message returns the exception's message.
func (*UsernameExistsException) OrigErr ¶ added in v1.28.0
func (s *UsernameExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UsernameExistsException) RequestID ¶ added in v1.28.0
func (s *UsernameExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UsernameExistsException) StatusCode ¶ added in v1.28.0
func (s *UsernameExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UsernameExistsException) String ¶ added in v1.28.0
func (s UsernameExistsException) String() string
String returns the string representation
type VerificationMessageTemplateType ¶ added in v1.10.24
type VerificationMessageTemplateType struct { // The default email option. DefaultEmailOption *string `type:"string" enum:"DefaultEmailOptionType"` // The email message template. EmailMessage is allowed only if EmailSendingAccount // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) // is DEVELOPER. EmailMessage *string `min:"6" type:"string"` // The email message template for sending a confirmation link to the user. EmailMessageByLink // is allowed only if EmailSendingAccount (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) // is DEVELOPER. EmailMessageByLink *string `min:"6" type:"string"` // The subject line for the email message template. EmailSubject is allowed // only if EmailSendingAccount (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) // is DEVELOPER. EmailSubject *string `min:"1" type:"string"` // The subject line for the email message template for sending a confirmation // link to the user. EmailSubjectByLink is allowed only EmailSendingAccount // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) // is DEVELOPER. EmailSubjectByLink *string `min:"1" type:"string"` // The SMS message template. SmsMessage *string `min:"6" type:"string"` // contains filtered or unexported fields }
The template for verification messages.
func (VerificationMessageTemplateType) GoString ¶ added in v1.10.24
func (s VerificationMessageTemplateType) GoString() string
GoString returns the string representation
func (*VerificationMessageTemplateType) SetDefaultEmailOption ¶ added in v1.10.24
func (s *VerificationMessageTemplateType) SetDefaultEmailOption(v string) *VerificationMessageTemplateType
SetDefaultEmailOption sets the DefaultEmailOption field's value.
func (*VerificationMessageTemplateType) SetEmailMessage ¶ added in v1.10.24
func (s *VerificationMessageTemplateType) SetEmailMessage(v string) *VerificationMessageTemplateType
SetEmailMessage sets the EmailMessage field's value.
func (*VerificationMessageTemplateType) SetEmailMessageByLink ¶ added in v1.10.24
func (s *VerificationMessageTemplateType) SetEmailMessageByLink(v string) *VerificationMessageTemplateType
SetEmailMessageByLink sets the EmailMessageByLink field's value.
func (*VerificationMessageTemplateType) SetEmailSubject ¶ added in v1.10.24
func (s *VerificationMessageTemplateType) SetEmailSubject(v string) *VerificationMessageTemplateType
SetEmailSubject sets the EmailSubject field's value.
func (*VerificationMessageTemplateType) SetEmailSubjectByLink ¶ added in v1.10.24
func (s *VerificationMessageTemplateType) SetEmailSubjectByLink(v string) *VerificationMessageTemplateType
SetEmailSubjectByLink sets the EmailSubjectByLink field's value.
func (*VerificationMessageTemplateType) SetSmsMessage ¶ added in v1.10.24
func (s *VerificationMessageTemplateType) SetSmsMessage(v string) *VerificationMessageTemplateType
SetSmsMessage sets the SmsMessage field's value.
func (VerificationMessageTemplateType) String ¶ added in v1.10.24
func (s VerificationMessageTemplateType) String() string
String returns the string representation
func (*VerificationMessageTemplateType) Validate ¶ added in v1.10.24
func (s *VerificationMessageTemplateType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VerifySoftwareTokenInput ¶ added in v1.12.35
type VerifySoftwareTokenInput struct { // The access token. AccessToken *string `type:"string" sensitive:"true"` // The friendly device name. FriendlyDeviceName *string `type:"string"` // The session which should be passed both ways in challenge-response calls // to the service. Session *string `min:"20" type:"string"` // The one time password computed using the secret code returned by AssociateSoftwareToken" // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AssociateSoftwareToken.html). // // UserCode is a required field UserCode *string `min:"6" type:"string" required:"true"` // contains filtered or unexported fields }
func (VerifySoftwareTokenInput) GoString ¶ added in v1.12.35
func (s VerifySoftwareTokenInput) GoString() string
GoString returns the string representation
func (*VerifySoftwareTokenInput) SetAccessToken ¶ added in v1.12.35
func (s *VerifySoftwareTokenInput) SetAccessToken(v string) *VerifySoftwareTokenInput
SetAccessToken sets the AccessToken field's value.
func (*VerifySoftwareTokenInput) SetFriendlyDeviceName ¶ added in v1.12.35
func (s *VerifySoftwareTokenInput) SetFriendlyDeviceName(v string) *VerifySoftwareTokenInput
SetFriendlyDeviceName sets the FriendlyDeviceName field's value.
func (*VerifySoftwareTokenInput) SetSession ¶ added in v1.12.35
func (s *VerifySoftwareTokenInput) SetSession(v string) *VerifySoftwareTokenInput
SetSession sets the Session field's value.
func (*VerifySoftwareTokenInput) SetUserCode ¶ added in v1.12.35
func (s *VerifySoftwareTokenInput) SetUserCode(v string) *VerifySoftwareTokenInput
SetUserCode sets the UserCode field's value.
func (VerifySoftwareTokenInput) String ¶ added in v1.12.35
func (s VerifySoftwareTokenInput) String() string
String returns the string representation
func (*VerifySoftwareTokenInput) Validate ¶ added in v1.12.35
func (s *VerifySoftwareTokenInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VerifySoftwareTokenOutput ¶ added in v1.12.35
type VerifySoftwareTokenOutput struct { // The session which should be passed both ways in challenge-response calls // to the service. Session *string `min:"20" type:"string"` // The status of the verify software token. Status *string `type:"string" enum:"VerifySoftwareTokenResponseType"` // contains filtered or unexported fields }
func (VerifySoftwareTokenOutput) GoString ¶ added in v1.12.35
func (s VerifySoftwareTokenOutput) GoString() string
GoString returns the string representation
func (*VerifySoftwareTokenOutput) SetSession ¶ added in v1.12.35
func (s *VerifySoftwareTokenOutput) SetSession(v string) *VerifySoftwareTokenOutput
SetSession sets the Session field's value.
func (*VerifySoftwareTokenOutput) SetStatus ¶ added in v1.12.35
func (s *VerifySoftwareTokenOutput) SetStatus(v string) *VerifySoftwareTokenOutput
SetStatus sets the Status field's value.
func (VerifySoftwareTokenOutput) String ¶ added in v1.12.35
func (s VerifySoftwareTokenOutput) String() string
String returns the string representation
type VerifyUserAttributeInput ¶
type VerifyUserAttributeInput struct { // Represents the access token of the request to verify user attributes. // // AccessToken is a required field AccessToken *string `type:"string" required:"true" sensitive:"true"` // The attribute name in the request to verify user attributes. // // AttributeName is a required field AttributeName *string `min:"1" type:"string" required:"true"` // The verification code in the request to verify user attributes. // // Code is a required field Code *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the request to verify user attributes.
func (VerifyUserAttributeInput) GoString ¶
func (s VerifyUserAttributeInput) GoString() string
GoString returns the string representation
func (*VerifyUserAttributeInput) SetAccessToken ¶ added in v1.5.0
func (s *VerifyUserAttributeInput) SetAccessToken(v string) *VerifyUserAttributeInput
SetAccessToken sets the AccessToken field's value.
func (*VerifyUserAttributeInput) SetAttributeName ¶ added in v1.5.0
func (s *VerifyUserAttributeInput) SetAttributeName(v string) *VerifyUserAttributeInput
SetAttributeName sets the AttributeName field's value.
func (*VerifyUserAttributeInput) SetCode ¶ added in v1.5.0
func (s *VerifyUserAttributeInput) SetCode(v string) *VerifyUserAttributeInput
SetCode sets the Code field's value.
func (VerifyUserAttributeInput) String ¶
func (s VerifyUserAttributeInput) String() string
String returns the string representation
func (*VerifyUserAttributeInput) Validate ¶ added in v1.1.21
func (s *VerifyUserAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VerifyUserAttributeOutput ¶
type VerifyUserAttributeOutput struct {
// contains filtered or unexported fields
}
A container representing the response from the server from the request to verify user attributes.
func (VerifyUserAttributeOutput) GoString ¶
func (s VerifyUserAttributeOutput) GoString() string
GoString returns the string representation
func (VerifyUserAttributeOutput) String ¶
func (s VerifyUserAttributeOutput) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package cognitoidentityprovideriface provides an interface to enable mocking the Amazon Cognito Identity Provider service client for testing your code.
|
Package cognitoidentityprovideriface provides an interface to enable mocking the Amazon Cognito Identity Provider service client for testing your code. |