AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

SetRiskConfigurationInput

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

type SetRiskConfigurationInput struct { AccountTakeoverRiskConfiguration *AccountTakeoverRiskConfigurationType `type:"structure"` ClientId *string `min:"1" type:"string" sensitive:"true"` CompromisedCredentialsRiskConfiguration *CompromisedCredentialsRiskConfigurationType `type:"structure"` RiskExceptionConfiguration *RiskExceptionConfigurationType `type:"structure"` UserPoolId *string `min:"1" type:"string" required:"true"` }

AccountTakeoverRiskConfiguration

Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.

ClientId

Type: *string

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.

CompromisedCredentialsRiskConfiguration

The compromised credentials risk configuration type.

RiskExceptionConfiguration

The type of the configuration to override the risk decision.

UserPoolId

Type: *string

The user pool ID.

UserPoolId is a required field

Method

GoString

func (s SetRiskConfigurationInput) GoString() string

GoString returns the string representation

SetAccountTakeoverRiskConfiguration

func (s *SetRiskConfigurationInput) SetAccountTakeoverRiskConfiguration(v *AccountTakeoverRiskConfigurationType) *SetRiskConfigurationInput

SetAccountTakeoverRiskConfiguration sets the AccountTakeoverRiskConfiguration field's value.

SetClientId

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

SetClientId sets the ClientId field's value.

SetCompromisedCredentialsRiskConfiguration

func (s *SetRiskConfigurationInput) SetCompromisedCredentialsRiskConfiguration(v *CompromisedCredentialsRiskConfigurationType) *SetRiskConfigurationInput

SetCompromisedCredentialsRiskConfiguration sets the CompromisedCredentialsRiskConfiguration field's value.

SetRiskExceptionConfiguration

func (s *SetRiskConfigurationInput) SetRiskExceptionConfiguration(v *RiskExceptionConfigurationType) *SetRiskConfigurationInput

SetRiskExceptionConfiguration sets the RiskExceptionConfiguration field's value.

SetUserPoolId

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

SetUserPoolId sets the UserPoolId field's value.

String

func (s SetRiskConfigurationInput) String() string

String returns the string representation

Validate

func (s *SetRiskConfigurationInput) Validate() error

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

On this page: