Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.CognitoIdentityProvider.UpdateIdentityProvider
Description
Updates IdP information for a user pool.
Synopsis
- data UpdateIdentityProvider = UpdateIdentityProvider' {
- attributeMapping :: Maybe (HashMap Text Text)
- idpIdentifiers :: Maybe [Text]
- providerDetails :: Maybe (HashMap Text Text)
- userPoolId :: Text
- providerName :: Text
- newUpdateIdentityProvider :: Text -> Text -> UpdateIdentityProvider
- updateIdentityProvider_attributeMapping :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text))
- updateIdentityProvider_idpIdentifiers :: Lens' UpdateIdentityProvider (Maybe [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.
Constructors
UpdateIdentityProvider' | |
Fields
|
Instances
newUpdateIdentityProvider Source #
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:
UpdateIdentityProvider
, updateIdentityProvider_attributeMapping
- The IdP attribute mapping to be changed.
UpdateIdentityProvider
, updateIdentityProvider_idpIdentifiers
- A list of IdP identifiers.
UpdateIdentityProvider
, updateIdentityProvider_providerDetails
- The IdP details to be updated, such as MetadataURL
and MetadataFile
.
UpdateIdentityProvider
, updateIdentityProvider_userPoolId
- The user pool ID.
UpdateIdentityProvider
, updateIdentityProvider_providerName
- The IdP name.
Request Lenses
updateIdentityProvider_attributeMapping :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text)) Source #
The IdP attribute mapping to be changed.
updateIdentityProvider_idpIdentifiers :: Lens' UpdateIdentityProvider (Maybe [Text]) Source #
A list of IdP identifiers.
updateIdentityProvider_providerDetails :: Lens' UpdateIdentityProvider (Maybe (HashMap Text Text)) Source #
The IdP 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 IdP name.
Destructuring the Response
data UpdateIdentityProviderResponse Source #
See: newUpdateIdentityProviderResponse
smart constructor.
Constructors
UpdateIdentityProviderResponse' | |
Fields
|
Instances
newUpdateIdentityProviderResponse Source #
Arguments
:: Int | |
-> IdentityProviderType | |
-> UpdateIdentityProviderResponse |
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 details.
Response Lenses
updateIdentityProviderResponse_httpStatus :: Lens' UpdateIdentityProviderResponse Int Source #
The response's http status code.
updateIdentityProviderResponse_identityProvider :: Lens' UpdateIdentityProviderResponse IdentityProviderType Source #
The identity provider details.