Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates an identity provider for a user pool.
- createIdentityProvider :: Text -> Text -> IdentityProviderTypeType -> CreateIdentityProvider
- data CreateIdentityProvider
- cipIdpIdentifiers :: Lens' CreateIdentityProvider [Text]
- cipAttributeMapping :: Lens' CreateIdentityProvider (HashMap Text Text)
- cipUserPoolId :: Lens' CreateIdentityProvider Text
- cipProviderName :: Lens' CreateIdentityProvider Text
- cipProviderType :: Lens' CreateIdentityProvider IdentityProviderTypeType
- cipProviderDetails :: Lens' CreateIdentityProvider (HashMap Text Text)
- createIdentityProviderResponse :: Int -> IdentityProviderType -> CreateIdentityProviderResponse
- data CreateIdentityProviderResponse
- ciprsResponseStatus :: Lens' CreateIdentityProviderResponse Int
- ciprsIdentityProvider :: Lens' CreateIdentityProviderResponse IdentityProviderType
Creating a Request
createIdentityProvider Source #
Creates a value of CreateIdentityProvider
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cipIdpIdentifiers
- A list of identity provider identifiers.cipAttributeMapping
- A mapping of identity provider attributes to standard and custom user pool attributes.cipUserPoolId
- The user pool ID.cipProviderName
- The identity provider name.cipProviderType
- The identity provider type.cipProviderDetails
- The identity provider details, such asMetadataURL
andMetadataFile
.
data CreateIdentityProvider Source #
See: createIdentityProvider
smart constructor.
Request Lenses
cipIdpIdentifiers :: Lens' CreateIdentityProvider [Text] Source #
A list of identity provider identifiers.
cipAttributeMapping :: Lens' CreateIdentityProvider (HashMap Text Text) Source #
A mapping of identity provider attributes to standard and custom user pool attributes.
cipUserPoolId :: Lens' CreateIdentityProvider Text Source #
The user pool ID.
cipProviderName :: Lens' CreateIdentityProvider Text Source #
The identity provider name.
cipProviderType :: Lens' CreateIdentityProvider IdentityProviderTypeType Source #
The identity provider type.
cipProviderDetails :: Lens' CreateIdentityProvider (HashMap Text Text) Source #
The identity provider details, such as MetadataURL
and MetadataFile
.
Destructuring the Response
createIdentityProviderResponse Source #
Creates a value of CreateIdentityProviderResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ciprsResponseStatus
- -- | The response status code.ciprsIdentityProvider
- The newly created identity provider object.
data CreateIdentityProviderResponse Source #
See: createIdentityProviderResponse
smart constructor.
Response Lenses
ciprsResponseStatus :: Lens' CreateIdentityProviderResponse Int Source #
- - | The response status code.
ciprsIdentityProvider :: Lens' CreateIdentityProviderResponse IdentityProviderType Source #
The newly created identity provider object.