Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes the risk configuration.
Synopsis
- data DescribeRiskConfiguration = DescribeRiskConfiguration' {}
- newDescribeRiskConfiguration :: Text -> DescribeRiskConfiguration
- describeRiskConfiguration_clientId :: Lens' DescribeRiskConfiguration (Maybe Text)
- describeRiskConfiguration_userPoolId :: Lens' DescribeRiskConfiguration Text
- data DescribeRiskConfigurationResponse = DescribeRiskConfigurationResponse' {}
- newDescribeRiskConfigurationResponse :: Int -> RiskConfigurationType -> DescribeRiskConfigurationResponse
- describeRiskConfigurationResponse_httpStatus :: Lens' DescribeRiskConfigurationResponse Int
- describeRiskConfigurationResponse_riskConfiguration :: Lens' DescribeRiskConfigurationResponse RiskConfigurationType
Creating a Request
data DescribeRiskConfiguration Source #
See: newDescribeRiskConfiguration
smart constructor.
Instances
newDescribeRiskConfiguration Source #
Create a value of DescribeRiskConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientId:DescribeRiskConfiguration'
, describeRiskConfiguration_clientId
- The app client ID.
$sel:userPoolId:DescribeRiskConfiguration'
, describeRiskConfiguration_userPoolId
- The user pool ID.
Request Lenses
describeRiskConfiguration_clientId :: Lens' DescribeRiskConfiguration (Maybe Text) Source #
The app client ID.
describeRiskConfiguration_userPoolId :: Lens' DescribeRiskConfiguration Text Source #
The user pool ID.
Destructuring the Response
data DescribeRiskConfigurationResponse Source #
See: newDescribeRiskConfigurationResponse
smart constructor.
DescribeRiskConfigurationResponse' | |
|
Instances
Eq DescribeRiskConfigurationResponse Source # | |
Show DescribeRiskConfigurationResponse Source # | |
Generic DescribeRiskConfigurationResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.DescribeRiskConfiguration type Rep DescribeRiskConfigurationResponse :: Type -> Type # | |
NFData DescribeRiskConfigurationResponse Source # | |
type Rep DescribeRiskConfigurationResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.DescribeRiskConfiguration type Rep DescribeRiskConfigurationResponse = D1 ('MetaData "DescribeRiskConfigurationResponse" "Amazonka.CognitoIdentityProvider.DescribeRiskConfiguration" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "DescribeRiskConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "riskConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RiskConfigurationType))) |
newDescribeRiskConfigurationResponse Source #
Create a value of DescribeRiskConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DescribeRiskConfigurationResponse'
, describeRiskConfigurationResponse_httpStatus
- The response's http status code.
$sel:riskConfiguration:DescribeRiskConfigurationResponse'
, describeRiskConfigurationResponse_riskConfiguration
- The risk configuration.
Response Lenses
describeRiskConfigurationResponse_httpStatus :: Lens' DescribeRiskConfigurationResponse Int Source #
The response's http status code.
describeRiskConfigurationResponse_riskConfiguration :: Lens' DescribeRiskConfigurationResponse RiskConfigurationType Source #
The risk configuration.