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 |
Updates identity provider information for a user pool.
Synopsis
- data UpdateIdentityProvider = UpdateIdentityProvider' {
- idpIdentifiers :: Maybe [Text]
- attributeMapping :: Maybe (HashMap Text Text)
- providerDetails :: Maybe (HashMap Text Text)
- userPoolId :: Text
- providerName :: Text
- newUpdateIdentityProvider :: Text -> Text -> UpdateIdentityProvider
- updateIdentityProvider_idpIdentifiers :: Lens' UpdateIdentityProvider (Maybe [Text])
- updateIdentityProvider_attributeMapping :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text))
- updateIdentityProvider_providerDetails :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text))
- updateIdentityProvider_userPoolId :: Lens' UpdateIdentityProvider Text
- updateIdentityProvider_providerName :: Lens' UpdateIdentityProvider Text
- data UpdateIdentityProviderResponse = UpdateIdentityProviderResponse' {}
- newUpdateIdentityProviderResponse :: Int -> IdentityProviderType -> UpdateIdentityProviderResponse
- updateIdentityProviderResponse_httpStatus :: Lens' UpdateIdentityProviderResponse Int
- updateIdentityProviderResponse_identityProvider :: Lens' UpdateIdentityProviderResponse IdentityProviderType
Creating a Request
data UpdateIdentityProvider Source #
See: newUpdateIdentityProvider
smart constructor.
UpdateIdentityProvider' | |
|
Instances
newUpdateIdentityProvider Source #
:: Text | |
-> Text | |
-> UpdateIdentityProvider |
Create a value of UpdateIdentityProvider
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:idpIdentifiers:UpdateIdentityProvider'
, updateIdentityProvider_idpIdentifiers
- A list of identity provider identifiers.
$sel:attributeMapping:UpdateIdentityProvider'
, updateIdentityProvider_attributeMapping
- The identity provider attribute mapping to be changed.
$sel:providerDetails:UpdateIdentityProvider'
, updateIdentityProvider_providerDetails
- The identity provider details to be updated, such as MetadataURL
and
MetadataFile
.
$sel:userPoolId:UpdateIdentityProvider'
, updateIdentityProvider_userPoolId
- The user pool ID.
$sel:providerName:UpdateIdentityProvider'
, updateIdentityProvider_providerName
- The identity provider name.
Request Lenses
updateIdentityProvider_idpIdentifiers :: Lens' UpdateIdentityProvider (Maybe [Text]) Source #
A list of identity provider identifiers.
updateIdentityProvider_attributeMapping :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text)) Source #
The identity provider attribute mapping to be changed.
updateIdentityProvider_providerDetails :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text)) Source #
The identity provider details to be updated, such as MetadataURL
and
MetadataFile
.
updateIdentityProvider_userPoolId :: Lens' UpdateIdentityProvider Text Source #
The user pool ID.
updateIdentityProvider_providerName :: Lens' UpdateIdentityProvider Text Source #
The identity provider name.
Destructuring the Response
data UpdateIdentityProviderResponse Source #
See: newUpdateIdentityProviderResponse
smart constructor.
UpdateIdentityProviderResponse' | |
|
Instances
Eq UpdateIdentityProviderResponse Source # | |
Read UpdateIdentityProviderResponse Source # | |
Show UpdateIdentityProviderResponse Source # | |
Generic UpdateIdentityProviderResponse Source # | |
NFData UpdateIdentityProviderResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.UpdateIdentityProvider rnf :: UpdateIdentityProviderResponse -> () # | |
type Rep UpdateIdentityProviderResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.UpdateIdentityProvider type Rep UpdateIdentityProviderResponse = D1 ('MetaData "UpdateIdentityProviderResponse" "Amazonka.CognitoIdentityProvider.UpdateIdentityProvider" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "UpdateIdentityProviderResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "identityProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IdentityProviderType))) |
newUpdateIdentityProviderResponse Source #
Create a value of UpdateIdentityProviderResponse
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:UpdateIdentityProviderResponse'
, updateIdentityProviderResponse_httpStatus
- The response's http status code.
$sel:identityProvider:UpdateIdentityProviderResponse'
, updateIdentityProviderResponse_identityProvider
- The identity provider object.
Response Lenses
updateIdentityProviderResponse_httpStatus :: Lens' UpdateIdentityProviderResponse Int Source #
The response's http status code.
updateIdentityProviderResponse_identityProvider :: Lens' UpdateIdentityProviderResponse IdentityProviderType Source #
The identity provider object.