amazonka-cognito-identity 1.6.1 → 2.0
raw patch · 101 files changed
+8472/−4720 lines, 101 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok
version bump matches the API change (PVP)
Dependencies added: case-insensitive
Dependency ranges changed: amazonka-core, amazonka-test, base
API changes (from Hackage documentation)
- Network.AWS.CognitoIdentity: AccessDenied :: CognitoErrorCode
- Network.AWS.CognitoIdentity: AuthenticatedRole :: AmbiguousRoleResolutionType
- Network.AWS.CognitoIdentity: Contains :: MappingRuleMatchType
- Network.AWS.CognitoIdentity: Deny :: AmbiguousRoleResolutionType
- Network.AWS.CognitoIdentity: Equals :: MappingRuleMatchType
- Network.AWS.CognitoIdentity: InternalServerError :: CognitoErrorCode
- Network.AWS.CognitoIdentity: NotEqual :: MappingRuleMatchType
- Network.AWS.CognitoIdentity: Rules :: RoleMappingType
- Network.AWS.CognitoIdentity: StartsWith :: MappingRuleMatchType
- Network.AWS.CognitoIdentity: Token :: RoleMappingType
- Network.AWS.CognitoIdentity: _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _DeveloperUserAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _ExternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _InvalidIdentityPoolConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity: cAccessKeyId :: Lens' Credentials (Maybe Text)
- Network.AWS.CognitoIdentity: cExpiration :: Lens' Credentials (Maybe UTCTime)
- Network.AWS.CognitoIdentity: cSecretKey :: Lens' Credentials (Maybe Text)
- Network.AWS.CognitoIdentity: cSessionToken :: Lens' Credentials (Maybe Text)
- Network.AWS.CognitoIdentity: cipClientId :: Lens' CognitoIdentityProvider (Maybe Text)
- Network.AWS.CognitoIdentity: cipProviderName :: Lens' CognitoIdentityProvider (Maybe Text)
- Network.AWS.CognitoIdentity: cipServerSideTokenCheck :: Lens' CognitoIdentityProvider (Maybe Bool)
- Network.AWS.CognitoIdentity: cognitoIdentity :: Service
- Network.AWS.CognitoIdentity: cognitoIdentityProvider :: CognitoIdentityProvider
- Network.AWS.CognitoIdentity: credentials :: Credentials
- Network.AWS.CognitoIdentity: data AmbiguousRoleResolutionType
- Network.AWS.CognitoIdentity: data CognitoErrorCode
- Network.AWS.CognitoIdentity: data CognitoIdentityProvider
- Network.AWS.CognitoIdentity: data Credentials
- Network.AWS.CognitoIdentity: data IdentityDescription
- Network.AWS.CognitoIdentity: data IdentityPool
- Network.AWS.CognitoIdentity: data IdentityPoolShortDescription
- Network.AWS.CognitoIdentity: data MappingRule
- Network.AWS.CognitoIdentity: data MappingRuleMatchType
- Network.AWS.CognitoIdentity: data RoleMapping
- Network.AWS.CognitoIdentity: data RoleMappingType
- Network.AWS.CognitoIdentity: data RulesConfigurationType
- Network.AWS.CognitoIdentity: data UnprocessedIdentityId
- Network.AWS.CognitoIdentity: idCreationDate :: Lens' IdentityDescription (Maybe UTCTime)
- Network.AWS.CognitoIdentity: idIdentityId :: Lens' IdentityDescription (Maybe Text)
- Network.AWS.CognitoIdentity: idLastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)
- Network.AWS.CognitoIdentity: idLogins :: Lens' IdentityDescription [Text]
- Network.AWS.CognitoIdentity: identityDescription :: IdentityDescription
- Network.AWS.CognitoIdentity: identityPool :: Text -> Text -> Bool -> IdentityPool
- Network.AWS.CognitoIdentity: identityPoolShortDescription :: IdentityPoolShortDescription
- Network.AWS.CognitoIdentity: ipAllowUnauthenticatedIdentities :: Lens' IdentityPool Bool
- Network.AWS.CognitoIdentity: ipCognitoIdentityProviders :: Lens' IdentityPool [CognitoIdentityProvider]
- Network.AWS.CognitoIdentity: ipDeveloperProviderName :: Lens' IdentityPool (Maybe Text)
- Network.AWS.CognitoIdentity: ipIdentityPoolId :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity: ipIdentityPoolName :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity: ipOpenIdConnectProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity: ipSamlProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity: ipSupportedLoginProviders :: Lens' IdentityPool (HashMap Text Text)
- Network.AWS.CognitoIdentity: ipsdIdentityPoolId :: Lens' IdentityPoolShortDescription (Maybe Text)
- Network.AWS.CognitoIdentity: ipsdIdentityPoolName :: Lens' IdentityPoolShortDescription (Maybe Text)
- Network.AWS.CognitoIdentity: mappingRule :: Text -> MappingRuleMatchType -> Text -> Text -> MappingRule
- Network.AWS.CognitoIdentity: mrClaim :: Lens' MappingRule Text
- Network.AWS.CognitoIdentity: mrMatchType :: Lens' MappingRule MappingRuleMatchType
- Network.AWS.CognitoIdentity: mrRoleARN :: Lens' MappingRule Text
- Network.AWS.CognitoIdentity: mrValue :: Lens' MappingRule Text
- Network.AWS.CognitoIdentity: rctRules :: Lens' RulesConfigurationType (NonEmpty MappingRule)
- Network.AWS.CognitoIdentity: rmAmbiguousRoleResolution :: Lens' RoleMapping (Maybe AmbiguousRoleResolutionType)
- Network.AWS.CognitoIdentity: rmRulesConfiguration :: Lens' RoleMapping (Maybe RulesConfigurationType)
- Network.AWS.CognitoIdentity: rmType :: Lens' RoleMapping RoleMappingType
- Network.AWS.CognitoIdentity: roleMapping :: RoleMappingType -> RoleMapping
- Network.AWS.CognitoIdentity: rulesConfigurationType :: NonEmpty MappingRule -> RulesConfigurationType
- Network.AWS.CognitoIdentity: uiiErrorCode :: Lens' UnprocessedIdentityId (Maybe CognitoErrorCode)
- Network.AWS.CognitoIdentity: uiiIdentityId :: Lens' UnprocessedIdentityId (Maybe Text)
- Network.AWS.CognitoIdentity: unprocessedIdentityId :: UnprocessedIdentityId
- Network.AWS.CognitoIdentity.CreateIdentityPool: cipAllowUnauthenticatedIdentities :: Lens' CreateIdentityPool Bool
- Network.AWS.CognitoIdentity.CreateIdentityPool: cipCognitoIdentityProviders :: Lens' CreateIdentityPool [CognitoIdentityProvider]
- Network.AWS.CognitoIdentity.CreateIdentityPool: cipDeveloperProviderName :: Lens' CreateIdentityPool (Maybe Text)
- Network.AWS.CognitoIdentity.CreateIdentityPool: cipIdentityPoolName :: Lens' CreateIdentityPool Text
- Network.AWS.CognitoIdentity.CreateIdentityPool: cipOpenIdConnectProviderARNs :: Lens' CreateIdentityPool [Text]
- Network.AWS.CognitoIdentity.CreateIdentityPool: cipSamlProviderARNs :: Lens' CreateIdentityPool [Text]
- Network.AWS.CognitoIdentity.CreateIdentityPool: cipSupportedLoginProviders :: Lens' CreateIdentityPool (HashMap Text Text)
- Network.AWS.CognitoIdentity.CreateIdentityPool: createIdentityPool :: Text -> Bool -> CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: data CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: data IdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: identityPool :: Text -> Text -> Bool -> IdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance Data.Data.Data Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance GHC.Read.Read Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance GHC.Show.Show Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
- Network.AWS.CognitoIdentity.CreateIdentityPool: ipAllowUnauthenticatedIdentities :: Lens' IdentityPool Bool
- Network.AWS.CognitoIdentity.CreateIdentityPool: ipCognitoIdentityProviders :: Lens' IdentityPool [CognitoIdentityProvider]
- Network.AWS.CognitoIdentity.CreateIdentityPool: ipDeveloperProviderName :: Lens' IdentityPool (Maybe Text)
- Network.AWS.CognitoIdentity.CreateIdentityPool: ipIdentityPoolId :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity.CreateIdentityPool: ipIdentityPoolName :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity.CreateIdentityPool: ipOpenIdConnectProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity.CreateIdentityPool: ipSamlProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity.CreateIdentityPool: ipSupportedLoginProviders :: Lens' IdentityPool (HashMap Text Text)
- Network.AWS.CognitoIdentity.DeleteIdentities: data DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: data DeleteIdentitiesResponse
- Network.AWS.CognitoIdentity.DeleteIdentities: deleteIdentities :: NonEmpty Text -> DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: deleteIdentitiesResponse :: Int -> DeleteIdentitiesResponse
- Network.AWS.CognitoIdentity.DeleteIdentities: diIdentityIdsToDelete :: Lens' DeleteIdentities (NonEmpty Text)
- Network.AWS.CognitoIdentity.DeleteIdentities: dirsResponseStatus :: Lens' DeleteIdentitiesResponse Int
- Network.AWS.CognitoIdentity.DeleteIdentities: dirsUnprocessedIdentityIds :: Lens' DeleteIdentitiesResponse [UnprocessedIdentityId]
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Data.Data.Data Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Data.Data.Data Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
- Network.AWS.CognitoIdentity.DeleteIdentities: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
- Network.AWS.CognitoIdentity.DeleteIdentities: instance GHC.Read.Read Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance GHC.Read.Read Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
- Network.AWS.CognitoIdentity.DeleteIdentities: instance GHC.Show.Show Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance GHC.Show.Show Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentities: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.DeleteIdentities.DeleteIdentities
- Network.AWS.CognitoIdentity.DeleteIdentityPool: dIdentityPoolId :: Lens' DeleteIdentityPool Text
- Network.AWS.CognitoIdentity.DeleteIdentityPool: data DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: data DeleteIdentityPoolResponse
- Network.AWS.CognitoIdentity.DeleteIdentityPool: deleteIdentityPool :: Text -> DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: deleteIdentityPoolResponse :: DeleteIdentityPoolResponse
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Data.Data.Data Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Data.Data.Data Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance GHC.Read.Read Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance GHC.Read.Read Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance GHC.Show.Show Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance GHC.Show.Show Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DeleteIdentityPool: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentity: data DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: data IdentityDescription
- Network.AWS.CognitoIdentity.DescribeIdentity: describeIdentity :: Text -> DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: diIdentityId :: Lens' DescribeIdentity Text
- Network.AWS.CognitoIdentity.DescribeIdentity: idCreationDate :: Lens' IdentityDescription (Maybe UTCTime)
- Network.AWS.CognitoIdentity.DescribeIdentity: idIdentityId :: Lens' IdentityDescription (Maybe Text)
- Network.AWS.CognitoIdentity.DescribeIdentity: idLastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)
- Network.AWS.CognitoIdentity.DescribeIdentity: idLogins :: Lens' IdentityDescription [Text]
- Network.AWS.CognitoIdentity.DescribeIdentity: identityDescription :: IdentityDescription
- Network.AWS.CognitoIdentity.DescribeIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentity: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.DescribeIdentity.DescribeIdentity
- Network.AWS.CognitoIdentity.DescribeIdentityPool: data DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: data IdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: describeIdentityPool :: Text -> DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: dipIdentityPoolId :: Lens' DescribeIdentityPool Text
- Network.AWS.CognitoIdentity.DescribeIdentityPool: identityPool :: Text -> Text -> Bool -> IdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Data.Data.Data Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance GHC.Read.Read Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance GHC.Show.Show Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: ipAllowUnauthenticatedIdentities :: Lens' IdentityPool Bool
- Network.AWS.CognitoIdentity.DescribeIdentityPool: ipCognitoIdentityProviders :: Lens' IdentityPool [CognitoIdentityProvider]
- Network.AWS.CognitoIdentity.DescribeIdentityPool: ipDeveloperProviderName :: Lens' IdentityPool (Maybe Text)
- Network.AWS.CognitoIdentity.DescribeIdentityPool: ipIdentityPoolId :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity.DescribeIdentityPool: ipIdentityPoolName :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity.DescribeIdentityPool: ipOpenIdConnectProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity.DescribeIdentityPool: ipSamlProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity.DescribeIdentityPool: ipSupportedLoginProviders :: Lens' IdentityPool (HashMap Text Text)
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: data GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: data GetCredentialsForIdentityResponse
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: gcfiCustomRoleARN :: Lens' GetCredentialsForIdentity (Maybe Text)
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: gcfiIdentityId :: Lens' GetCredentialsForIdentity Text
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: gcfiLogins :: Lens' GetCredentialsForIdentity (HashMap Text Text)
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: gcfirsCredentials :: Lens' GetCredentialsForIdentityResponse (Maybe Credentials)
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: gcfirsIdentityId :: Lens' GetCredentialsForIdentityResponse (Maybe Text)
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: gcfirsResponseStatus :: Lens' GetCredentialsForIdentityResponse Int
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: getCredentialsForIdentity :: Text -> GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: getCredentialsForIdentityResponse :: Int -> GetCredentialsForIdentityResponse
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetCredentialsForIdentity: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
- Network.AWS.CognitoIdentity.GetId: data GetId
- Network.AWS.CognitoIdentity.GetId: data GetIdResponse
- Network.AWS.CognitoIdentity.GetId: getId :: Text -> GetId
- Network.AWS.CognitoIdentity.GetId: getIdResponse :: Int -> GetIdResponse
- Network.AWS.CognitoIdentity.GetId: giAccountId :: Lens' GetId (Maybe Text)
- Network.AWS.CognitoIdentity.GetId: giIdentityPoolId :: Lens' GetId Text
- Network.AWS.CognitoIdentity.GetId: giLogins :: Lens' GetId (HashMap Text Text)
- Network.AWS.CognitoIdentity.GetId: girsIdentityId :: Lens' GetIdResponse (Maybe Text)
- Network.AWS.CognitoIdentity.GetId: girsResponseStatus :: Lens' GetIdResponse Int
- Network.AWS.CognitoIdentity.GetId: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetId.GetIdResponse
- Network.AWS.CognitoIdentity.GetId: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance Data.Data.Data Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance Data.Data.Data Network.AWS.CognitoIdentity.GetId.GetIdResponse
- Network.AWS.CognitoIdentity.GetId: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetId.GetIdResponse
- Network.AWS.CognitoIdentity.GetId: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetId.GetIdResponse
- Network.AWS.CognitoIdentity.GetId: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetId.GetIdResponse
- Network.AWS.CognitoIdentity.GetId: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetId.GetIdResponse
- Network.AWS.CognitoIdentity.GetId: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetId: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.GetId.GetId
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: data GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: data GetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: getIdentityPoolRoles :: Text -> GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: getIdentityPoolRolesResponse :: Int -> GetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: giprIdentityPoolId :: Lens' GetIdentityPoolRoles Text
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: giprrsIdentityPoolId :: Lens' GetIdentityPoolRolesResponse (Maybe Text)
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: giprrsResponseStatus :: Lens' GetIdentityPoolRolesResponse Int
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: giprrsRoleMappings :: Lens' GetIdentityPoolRolesResponse (HashMap Text RoleMapping)
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: giprrsRoles :: Lens' GetIdentityPoolRolesResponse (HashMap Text Text)
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Data.Data.Data Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Data.Data.Data Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetIdentityPoolRoles: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
- Network.AWS.CognitoIdentity.GetOpenIdToken: data GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: data GetOpenIdTokenResponse
- Network.AWS.CognitoIdentity.GetOpenIdToken: getOpenIdToken :: Text -> GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: getOpenIdTokenResponse :: Int -> GetOpenIdTokenResponse
- Network.AWS.CognitoIdentity.GetOpenIdToken: goitIdentityId :: Lens' GetOpenIdToken Text
- Network.AWS.CognitoIdentity.GetOpenIdToken: goitLogins :: Lens' GetOpenIdToken (HashMap Text Text)
- Network.AWS.CognitoIdentity.GetOpenIdToken: goitrsIdentityId :: Lens' GetOpenIdTokenResponse (Maybe Text)
- Network.AWS.CognitoIdentity.GetOpenIdToken: goitrsResponseStatus :: Lens' GetOpenIdTokenResponse Int
- Network.AWS.CognitoIdentity.GetOpenIdToken: goitrsToken :: Lens' GetOpenIdTokenResponse (Maybe Text)
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Data.Data.Data Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Data.Data.Data Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdToken: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: data GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: data GetOpenIdTokenForDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentity :: Text -> GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentityResponse :: Int -> GetOpenIdTokenForDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: goitfdiIdentityId :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe Text)
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: goitfdiIdentityPoolId :: Lens' GetOpenIdTokenForDeveloperIdentity Text
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: goitfdiLogins :: Lens' GetOpenIdTokenForDeveloperIdentity (HashMap Text Text)
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: goitfdiTokenDuration :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe Natural)
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: goitfdirsIdentityId :: Lens' GetOpenIdTokenForDeveloperIdentityResponse (Maybe Text)
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: goitfdirsResponseStatus :: Lens' GetOpenIdTokenForDeveloperIdentityResponse Int
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: goitfdirsToken :: Lens' GetOpenIdTokenForDeveloperIdentityResponse (Maybe Text)
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
- Network.AWS.CognitoIdentity.ListIdentities: data ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: data ListIdentitiesResponse
- Network.AWS.CognitoIdentity.ListIdentities: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.ListIdentities.ListIdentitiesResponse
- Network.AWS.CognitoIdentity.ListIdentities: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance Data.Data.Data Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance Data.Data.Data Network.AWS.CognitoIdentity.ListIdentities.ListIdentitiesResponse
- Network.AWS.CognitoIdentity.ListIdentities: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.ListIdentities.ListIdentitiesResponse
- Network.AWS.CognitoIdentity.ListIdentities: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.ListIdentities.ListIdentitiesResponse
- Network.AWS.CognitoIdentity.ListIdentities: instance GHC.Read.Read Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance GHC.Read.Read Network.AWS.CognitoIdentity.ListIdentities.ListIdentitiesResponse
- Network.AWS.CognitoIdentity.ListIdentities: instance GHC.Show.Show Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance GHC.Show.Show Network.AWS.CognitoIdentity.ListIdentities.ListIdentitiesResponse
- Network.AWS.CognitoIdentity.ListIdentities: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.ListIdentities.ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: liHideDisabled :: Lens' ListIdentities (Maybe Bool)
- Network.AWS.CognitoIdentity.ListIdentities: liIdentityPoolId :: Lens' ListIdentities Text
- Network.AWS.CognitoIdentity.ListIdentities: liMaxResults :: Lens' ListIdentities Natural
- Network.AWS.CognitoIdentity.ListIdentities: liNextToken :: Lens' ListIdentities (Maybe Text)
- Network.AWS.CognitoIdentity.ListIdentities: lirsIdentities :: Lens' ListIdentitiesResponse [IdentityDescription]
- Network.AWS.CognitoIdentity.ListIdentities: lirsIdentityPoolId :: Lens' ListIdentitiesResponse (Maybe Text)
- Network.AWS.CognitoIdentity.ListIdentities: lirsNextToken :: Lens' ListIdentitiesResponse (Maybe Text)
- Network.AWS.CognitoIdentity.ListIdentities: lirsResponseStatus :: Lens' ListIdentitiesResponse Int
- Network.AWS.CognitoIdentity.ListIdentities: listIdentities :: Text -> Natural -> ListIdentities
- Network.AWS.CognitoIdentity.ListIdentities: listIdentitiesResponse :: Int -> ListIdentitiesResponse
- Network.AWS.CognitoIdentity.ListIdentityPools: data ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: data ListIdentityPoolsResponse
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Data.Data.Data Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Data.Data.Data Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
- Network.AWS.CognitoIdentity.ListIdentityPools: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
- Network.AWS.CognitoIdentity.ListIdentityPools: instance GHC.Read.Read Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance GHC.Read.Read Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
- Network.AWS.CognitoIdentity.ListIdentityPools: instance GHC.Show.Show Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance GHC.Show.Show Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.ListIdentityPools.ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: lipMaxResults :: Lens' ListIdentityPools Natural
- Network.AWS.CognitoIdentity.ListIdentityPools: lipNextToken :: Lens' ListIdentityPools (Maybe Text)
- Network.AWS.CognitoIdentity.ListIdentityPools: liprsIdentityPools :: Lens' ListIdentityPoolsResponse [IdentityPoolShortDescription]
- Network.AWS.CognitoIdentity.ListIdentityPools: liprsNextToken :: Lens' ListIdentityPoolsResponse (Maybe Text)
- Network.AWS.CognitoIdentity.ListIdentityPools: liprsResponseStatus :: Lens' ListIdentityPoolsResponse Int
- Network.AWS.CognitoIdentity.ListIdentityPools: listIdentityPools :: Natural -> ListIdentityPools
- Network.AWS.CognitoIdentity.ListIdentityPools: listIdentityPoolsResponse :: Int -> ListIdentityPoolsResponse
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: data LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: data LookupDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: ldiDeveloperUserIdentifier :: Lens' LookupDeveloperIdentity (Maybe Text)
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: ldiIdentityId :: Lens' LookupDeveloperIdentity (Maybe Text)
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: ldiIdentityPoolId :: Lens' LookupDeveloperIdentity Text
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: ldiMaxResults :: Lens' LookupDeveloperIdentity (Maybe Natural)
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: ldiNextToken :: Lens' LookupDeveloperIdentity (Maybe Text)
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: ldirsDeveloperUserIdentifierList :: Lens' LookupDeveloperIdentityResponse [Text]
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: ldirsIdentityId :: Lens' LookupDeveloperIdentityResponse (Maybe Text)
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: ldirsNextToken :: Lens' LookupDeveloperIdentityResponse (Maybe Text)
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: ldirsResponseStatus :: Lens' LookupDeveloperIdentityResponse Int
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentity :: Text -> LookupDeveloperIdentity
- Network.AWS.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentityResponse :: Int -> LookupDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: data MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: data MergeDeveloperIdentitiesResponse
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Data.Data.Data Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Data.Data.Data Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Read.Read Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Read.Read Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Show.Show Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Show.Show Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: mdiDestinationUserIdentifier :: Lens' MergeDeveloperIdentities Text
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: mdiDeveloperProviderName :: Lens' MergeDeveloperIdentities Text
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: mdiIdentityPoolId :: Lens' MergeDeveloperIdentities Text
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: mdiSourceUserIdentifier :: Lens' MergeDeveloperIdentities Text
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: mdirsIdentityId :: Lens' MergeDeveloperIdentitiesResponse (Maybe Text)
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: mdirsResponseStatus :: Lens' MergeDeveloperIdentitiesResponse Int
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: mergeDeveloperIdentities :: Text -> Text -> Text -> Text -> MergeDeveloperIdentities
- Network.AWS.CognitoIdentity.MergeDeveloperIdentities: mergeDeveloperIdentitiesResponse :: Int -> MergeDeveloperIdentitiesResponse
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: data SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: data SetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Data.Data.Data Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Data.Data.Data Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Read.Read Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Read.Read Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Show.Show Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Show.Show Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: setIdentityPoolRoles :: Text -> SetIdentityPoolRoles
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: setIdentityPoolRolesResponse :: SetIdentityPoolRolesResponse
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: siprIdentityPoolId :: Lens' SetIdentityPoolRoles Text
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: siprRoleMappings :: Lens' SetIdentityPoolRoles (HashMap Text RoleMapping)
- Network.AWS.CognitoIdentity.SetIdentityPoolRoles: siprRoles :: Lens' SetIdentityPoolRoles (HashMap Text Text)
- Network.AWS.CognitoIdentity.Types: AccessDenied :: CognitoErrorCode
- Network.AWS.CognitoIdentity.Types: AuthenticatedRole :: AmbiguousRoleResolutionType
- Network.AWS.CognitoIdentity.Types: Contains :: MappingRuleMatchType
- Network.AWS.CognitoIdentity.Types: Deny :: AmbiguousRoleResolutionType
- Network.AWS.CognitoIdentity.Types: Equals :: MappingRuleMatchType
- Network.AWS.CognitoIdentity.Types: InternalServerError :: CognitoErrorCode
- Network.AWS.CognitoIdentity.Types: NotEqual :: MappingRuleMatchType
- Network.AWS.CognitoIdentity.Types: Rules :: RoleMappingType
- Network.AWS.CognitoIdentity.Types: StartsWith :: MappingRuleMatchType
- Network.AWS.CognitoIdentity.Types: Token :: RoleMappingType
- Network.AWS.CognitoIdentity.Types: _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _DeveloperUserAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _ExternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _InvalidIdentityPoolConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CognitoIdentity.Types: cAccessKeyId :: Lens' Credentials (Maybe Text)
- Network.AWS.CognitoIdentity.Types: cExpiration :: Lens' Credentials (Maybe UTCTime)
- Network.AWS.CognitoIdentity.Types: cSecretKey :: Lens' Credentials (Maybe Text)
- Network.AWS.CognitoIdentity.Types: cSessionToken :: Lens' Credentials (Maybe Text)
- Network.AWS.CognitoIdentity.Types: cipClientId :: Lens' CognitoIdentityProvider (Maybe Text)
- Network.AWS.CognitoIdentity.Types: cipProviderName :: Lens' CognitoIdentityProvider (Maybe Text)
- Network.AWS.CognitoIdentity.Types: cipServerSideTokenCheck :: Lens' CognitoIdentityProvider (Maybe Bool)
- Network.AWS.CognitoIdentity.Types: cognitoIdentity :: Service
- Network.AWS.CognitoIdentity.Types: cognitoIdentityProvider :: CognitoIdentityProvider
- Network.AWS.CognitoIdentity.Types: credentials :: Credentials
- Network.AWS.CognitoIdentity.Types: data AmbiguousRoleResolutionType
- Network.AWS.CognitoIdentity.Types: data CognitoErrorCode
- Network.AWS.CognitoIdentity.Types: data CognitoIdentityProvider
- Network.AWS.CognitoIdentity.Types: data Credentials
- Network.AWS.CognitoIdentity.Types: data IdentityDescription
- Network.AWS.CognitoIdentity.Types: data IdentityPool
- Network.AWS.CognitoIdentity.Types: data IdentityPoolShortDescription
- Network.AWS.CognitoIdentity.Types: data MappingRule
- Network.AWS.CognitoIdentity.Types: data MappingRuleMatchType
- Network.AWS.CognitoIdentity.Types: data RoleMapping
- Network.AWS.CognitoIdentity.Types: data RoleMappingType
- Network.AWS.CognitoIdentity.Types: data RulesConfigurationType
- Network.AWS.CognitoIdentity.Types: data UnprocessedIdentityId
- Network.AWS.CognitoIdentity.Types: idCreationDate :: Lens' IdentityDescription (Maybe UTCTime)
- Network.AWS.CognitoIdentity.Types: idIdentityId :: Lens' IdentityDescription (Maybe Text)
- Network.AWS.CognitoIdentity.Types: idLastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)
- Network.AWS.CognitoIdentity.Types: idLogins :: Lens' IdentityDescription [Text]
- Network.AWS.CognitoIdentity.Types: identityDescription :: IdentityDescription
- Network.AWS.CognitoIdentity.Types: identityPool :: Text -> Text -> Bool -> IdentityPool
- Network.AWS.CognitoIdentity.Types: identityPoolShortDescription :: IdentityPoolShortDescription
- Network.AWS.CognitoIdentity.Types: ipAllowUnauthenticatedIdentities :: Lens' IdentityPool Bool
- Network.AWS.CognitoIdentity.Types: ipCognitoIdentityProviders :: Lens' IdentityPool [CognitoIdentityProvider]
- Network.AWS.CognitoIdentity.Types: ipDeveloperProviderName :: Lens' IdentityPool (Maybe Text)
- Network.AWS.CognitoIdentity.Types: ipIdentityPoolId :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity.Types: ipIdentityPoolName :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity.Types: ipOpenIdConnectProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity.Types: ipSamlProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity.Types: ipSupportedLoginProviders :: Lens' IdentityPool (HashMap Text Text)
- Network.AWS.CognitoIdentity.Types: ipsdIdentityPoolId :: Lens' IdentityPoolShortDescription (Maybe Text)
- Network.AWS.CognitoIdentity.Types: ipsdIdentityPoolName :: Lens' IdentityPoolShortDescription (Maybe Text)
- Network.AWS.CognitoIdentity.Types: mappingRule :: Text -> MappingRuleMatchType -> Text -> Text -> MappingRule
- Network.AWS.CognitoIdentity.Types: mrClaim :: Lens' MappingRule Text
- Network.AWS.CognitoIdentity.Types: mrMatchType :: Lens' MappingRule MappingRuleMatchType
- Network.AWS.CognitoIdentity.Types: mrRoleARN :: Lens' MappingRule Text
- Network.AWS.CognitoIdentity.Types: mrValue :: Lens' MappingRule Text
- Network.AWS.CognitoIdentity.Types: rctRules :: Lens' RulesConfigurationType (NonEmpty MappingRule)
- Network.AWS.CognitoIdentity.Types: rmAmbiguousRoleResolution :: Lens' RoleMapping (Maybe AmbiguousRoleResolutionType)
- Network.AWS.CognitoIdentity.Types: rmRulesConfiguration :: Lens' RoleMapping (Maybe RulesConfigurationType)
- Network.AWS.CognitoIdentity.Types: rmType :: Lens' RoleMapping RoleMappingType
- Network.AWS.CognitoIdentity.Types: roleMapping :: RoleMappingType -> RoleMapping
- Network.AWS.CognitoIdentity.Types: rulesConfigurationType :: NonEmpty MappingRule -> RulesConfigurationType
- Network.AWS.CognitoIdentity.Types: uiiErrorCode :: Lens' UnprocessedIdentityId (Maybe CognitoErrorCode)
- Network.AWS.CognitoIdentity.Types: uiiIdentityId :: Lens' UnprocessedIdentityId (Maybe Text)
- Network.AWS.CognitoIdentity.Types: unprocessedIdentityId :: UnprocessedIdentityId
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: data UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: data UnlinkDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: udiDeveloperProviderName :: Lens' UnlinkDeveloperIdentity Text
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: udiDeveloperUserIdentifier :: Lens' UnlinkDeveloperIdentity Text
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: udiIdentityId :: Lens' UnlinkDeveloperIdentity Text
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: udiIdentityPoolId :: Lens' UnlinkDeveloperIdentity Text
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: unlinkDeveloperIdentity :: Text -> Text -> Text -> Text -> UnlinkDeveloperIdentity
- Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity: unlinkDeveloperIdentityResponse :: UnlinkDeveloperIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkIdentity: data UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: data UnlinkIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Data.Data.Data Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance GHC.Read.Read Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance GHC.Show.Show Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: uiIdentityId :: Lens' UnlinkIdentity Text
- Network.AWS.CognitoIdentity.UnlinkIdentity: uiLogins :: Lens' UnlinkIdentity (HashMap Text Text)
- Network.AWS.CognitoIdentity.UnlinkIdentity: uiLoginsToRemove :: Lens' UnlinkIdentity [Text]
- Network.AWS.CognitoIdentity.UnlinkIdentity: unlinkIdentity :: Text -> UnlinkIdentity
- Network.AWS.CognitoIdentity.UnlinkIdentity: unlinkIdentityResponse :: UnlinkIdentityResponse
- Network.AWS.CognitoIdentity.UpdateIdentityPool: data IdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: data UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: identityPool :: Text -> Text -> Bool -> IdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Control.DeepSeq.NFData Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Data.Data.Data Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Data.Hashable.Class.Hashable Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance GHC.Classes.Eq Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance GHC.Generics.Generic Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance GHC.Read.Read Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance GHC.Show.Show Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Network.AWS.Data.Path.ToPath Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Network.AWS.Data.Query.ToQuery Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: instance Network.AWS.Types.AWSRequest Network.AWS.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: ipAllowUnauthenticatedIdentities :: Lens' IdentityPool Bool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: ipCognitoIdentityProviders :: Lens' IdentityPool [CognitoIdentityProvider]
- Network.AWS.CognitoIdentity.UpdateIdentityPool: ipDeveloperProviderName :: Lens' IdentityPool (Maybe Text)
- Network.AWS.CognitoIdentity.UpdateIdentityPool: ipIdentityPoolId :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity.UpdateIdentityPool: ipIdentityPoolName :: Lens' IdentityPool Text
- Network.AWS.CognitoIdentity.UpdateIdentityPool: ipOpenIdConnectProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity.UpdateIdentityPool: ipSamlProviderARNs :: Lens' IdentityPool [Text]
- Network.AWS.CognitoIdentity.UpdateIdentityPool: ipSupportedLoginProviders :: Lens' IdentityPool (HashMap Text Text)
- Network.AWS.CognitoIdentity.UpdateIdentityPool: uipAllowUnauthenticatedIdentities :: Lens' UpdateIdentityPool Bool
- Network.AWS.CognitoIdentity.UpdateIdentityPool: uipCognitoIdentityProviders :: Lens' UpdateIdentityPool [CognitoIdentityProvider]
- Network.AWS.CognitoIdentity.UpdateIdentityPool: uipDeveloperProviderName :: Lens' UpdateIdentityPool (Maybe Text)
- Network.AWS.CognitoIdentity.UpdateIdentityPool: uipIdentityPoolId :: Lens' UpdateIdentityPool Text
- Network.AWS.CognitoIdentity.UpdateIdentityPool: uipIdentityPoolName :: Lens' UpdateIdentityPool Text
- Network.AWS.CognitoIdentity.UpdateIdentityPool: uipOpenIdConnectProviderARNs :: Lens' UpdateIdentityPool [Text]
- Network.AWS.CognitoIdentity.UpdateIdentityPool: uipSamlProviderARNs :: Lens' UpdateIdentityPool [Text]
- Network.AWS.CognitoIdentity.UpdateIdentityPool: uipSupportedLoginProviders :: Lens' UpdateIdentityPool (HashMap Text Text)
- Network.AWS.CognitoIdentity.UpdateIdentityPool: updateIdentityPool :: Text -> Text -> Bool -> UpdateIdentityPool
+ Amazonka.CognitoIdentity: AmbiguousRoleResolutionType' :: Text -> AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity: CognitoErrorCode' :: Text -> CognitoErrorCode
+ Amazonka.CognitoIdentity: CognitoIdentityProvider' :: Maybe Text -> Maybe Text -> Maybe Bool -> CognitoIdentityProvider
+ Amazonka.CognitoIdentity: CreateIdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Bool -> CreateIdentityPool
+ Amazonka.CognitoIdentity: Credentials' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Credentials
+ Amazonka.CognitoIdentity: DeleteIdentities' :: NonEmpty Text -> DeleteIdentities
+ Amazonka.CognitoIdentity: DeleteIdentitiesResponse' :: Maybe [UnprocessedIdentityId] -> Int -> DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity: DeleteIdentityPool' :: Text -> DeleteIdentityPool
+ Amazonka.CognitoIdentity: DeleteIdentityPoolResponse' :: DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity: DescribeIdentity' :: Text -> DescribeIdentity
+ Amazonka.CognitoIdentity: DescribeIdentityPool' :: Text -> DescribeIdentityPool
+ Amazonka.CognitoIdentity: GetCredentialsForIdentity' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> GetCredentialsForIdentity
+ Amazonka.CognitoIdentity: GetCredentialsForIdentityResponse' :: Maybe Credentials -> Maybe Text -> Int -> GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity: GetId' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> GetId
+ Amazonka.CognitoIdentity: GetIdResponse' :: Maybe Text -> Int -> GetIdResponse
+ Amazonka.CognitoIdentity: GetIdentityPoolRoles' :: Text -> GetIdentityPoolRoles
+ Amazonka.CognitoIdentity: GetIdentityPoolRolesResponse' :: Maybe Text -> Maybe (HashMap Text RoleMapping) -> Maybe (HashMap Text Text) -> Int -> GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity: GetOpenIdToken' :: Maybe (HashMap Text Text) -> Text -> GetOpenIdToken
+ Amazonka.CognitoIdentity: GetOpenIdTokenForDeveloperIdentity' :: Maybe Text -> Maybe (HashMap Text Text) -> Maybe Natural -> Text -> HashMap Text Text -> GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity: GetOpenIdTokenForDeveloperIdentityResponse' :: Maybe Text -> Maybe Text -> Int -> GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity: GetOpenIdTokenResponse' :: Maybe Text -> Maybe Text -> Int -> GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity: GetPrincipalTagAttributeMap' :: Text -> Text -> GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity: GetPrincipalTagAttributeMapResponse' :: Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Bool -> Int -> GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity: IdentityDescription' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe [Text] -> IdentityDescription
+ Amazonka.CognitoIdentity: IdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity: IdentityPoolShortDescription' :: Maybe Text -> Maybe Text -> IdentityPoolShortDescription
+ Amazonka.CognitoIdentity: ListIdentities' :: Maybe Bool -> Maybe Text -> Text -> Natural -> ListIdentities
+ Amazonka.CognitoIdentity: ListIdentitiesResponse' :: Maybe [IdentityDescription] -> Maybe Text -> Maybe Text -> Int -> ListIdentitiesResponse
+ Amazonka.CognitoIdentity: ListIdentityPools' :: Maybe Text -> Natural -> ListIdentityPools
+ Amazonka.CognitoIdentity: ListIdentityPoolsResponse' :: Maybe [IdentityPoolShortDescription] -> Maybe Text -> Int -> ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.CognitoIdentity: ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse
+ Amazonka.CognitoIdentity: LookupDeveloperIdentity' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Text -> LookupDeveloperIdentity
+ Amazonka.CognitoIdentity: LookupDeveloperIdentityResponse' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Int -> LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity: MappingRule' :: Text -> MappingRuleMatchType -> Text -> Text -> MappingRule
+ Amazonka.CognitoIdentity: MappingRuleMatchType' :: Text -> MappingRuleMatchType
+ Amazonka.CognitoIdentity: MergeDeveloperIdentities' :: Text -> Text -> Text -> Text -> MergeDeveloperIdentities
+ Amazonka.CognitoIdentity: MergeDeveloperIdentitiesResponse' :: Maybe Text -> Int -> MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity: RoleMapping' :: Maybe AmbiguousRoleResolutionType -> Maybe RulesConfigurationType -> RoleMappingType -> RoleMapping
+ Amazonka.CognitoIdentity: RoleMappingType' :: Text -> RoleMappingType
+ Amazonka.CognitoIdentity: RulesConfigurationType' :: NonEmpty MappingRule -> RulesConfigurationType
+ Amazonka.CognitoIdentity: SetIdentityPoolRoles' :: Maybe (HashMap Text RoleMapping) -> Text -> HashMap Text Text -> SetIdentityPoolRoles
+ Amazonka.CognitoIdentity: SetIdentityPoolRolesResponse' :: SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity: SetPrincipalTagAttributeMap' :: Maybe (HashMap Text Text) -> Maybe Bool -> Text -> Text -> SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity: SetPrincipalTagAttributeMapResponse' :: Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Bool -> Int -> SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity: TagResource' :: Text -> HashMap Text Text -> TagResource
+ Amazonka.CognitoIdentity: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.CognitoIdentity: UnlinkDeveloperIdentity' :: Text -> Text -> Text -> Text -> UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity: UnlinkDeveloperIdentityResponse' :: UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity: UnlinkIdentity' :: Text -> HashMap Text Text -> [Text] -> UnlinkIdentity
+ Amazonka.CognitoIdentity: UnlinkIdentityResponse' :: UnlinkIdentityResponse
+ Amazonka.CognitoIdentity: UnprocessedIdentityId' :: Maybe CognitoErrorCode -> Maybe Text -> UnprocessedIdentityId
+ Amazonka.CognitoIdentity: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.CognitoIdentity: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.CognitoIdentity: UpdateIdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Bool -> UpdateIdentityPool
+ Amazonka.CognitoIdentity: [fromAmbiguousRoleResolutionType] :: AmbiguousRoleResolutionType -> Text
+ Amazonka.CognitoIdentity: [fromCognitoErrorCode] :: CognitoErrorCode -> Text
+ Amazonka.CognitoIdentity: [fromMappingRuleMatchType] :: MappingRuleMatchType -> Text
+ Amazonka.CognitoIdentity: [fromRoleMappingType] :: RoleMappingType -> Text
+ Amazonka.CognitoIdentity: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _DeveloperUserAlreadyRegisteredException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _ExternalServiceException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _InternalErrorException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _InvalidIdentityPoolConfigurationException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _InvalidParameterException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _NotAuthorizedException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _ResourceConflictException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity: data CognitoIdentityProvider
+ Amazonka.CognitoIdentity: data CreateIdentityPool
+ Amazonka.CognitoIdentity: data Credentials
+ Amazonka.CognitoIdentity: data DeleteIdentities
+ Amazonka.CognitoIdentity: data DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity: data DeleteIdentityPool
+ Amazonka.CognitoIdentity: data DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity: data DescribeIdentity
+ Amazonka.CognitoIdentity: data DescribeIdentityPool
+ Amazonka.CognitoIdentity: data GetCredentialsForIdentity
+ Amazonka.CognitoIdentity: data GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity: data GetId
+ Amazonka.CognitoIdentity: data GetIdResponse
+ Amazonka.CognitoIdentity: data GetIdentityPoolRoles
+ Amazonka.CognitoIdentity: data GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity: data GetOpenIdToken
+ Amazonka.CognitoIdentity: data GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity: data GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity: data GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity: data GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity: data GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity: data IdentityDescription
+ Amazonka.CognitoIdentity: data IdentityPool
+ Amazonka.CognitoIdentity: data IdentityPoolShortDescription
+ Amazonka.CognitoIdentity: data ListIdentities
+ Amazonka.CognitoIdentity: data ListIdentitiesResponse
+ Amazonka.CognitoIdentity: data ListIdentityPools
+ Amazonka.CognitoIdentity: data ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity: data ListTagsForResource
+ Amazonka.CognitoIdentity: data ListTagsForResourceResponse
+ Amazonka.CognitoIdentity: data LookupDeveloperIdentity
+ Amazonka.CognitoIdentity: data LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity: data MappingRule
+ Amazonka.CognitoIdentity: data MergeDeveloperIdentities
+ Amazonka.CognitoIdentity: data MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity: data RoleMapping
+ Amazonka.CognitoIdentity: data RulesConfigurationType
+ Amazonka.CognitoIdentity: data SetIdentityPoolRoles
+ Amazonka.CognitoIdentity: data SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity: data SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity: data SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity: data TagResource
+ Amazonka.CognitoIdentity: data TagResourceResponse
+ Amazonka.CognitoIdentity: data UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity: data UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity: data UnlinkIdentity
+ Amazonka.CognitoIdentity: data UnlinkIdentityResponse
+ Amazonka.CognitoIdentity: data UnprocessedIdentityId
+ Amazonka.CognitoIdentity: data UntagResource
+ Amazonka.CognitoIdentity: data UntagResourceResponse
+ Amazonka.CognitoIdentity: data UpdateIdentityPool
+ Amazonka.CognitoIdentity: defaultService :: Service
+ Amazonka.CognitoIdentity: newCognitoIdentityProvider :: CognitoIdentityProvider
+ Amazonka.CognitoIdentity: newCreateIdentityPool :: Text -> Bool -> CreateIdentityPool
+ Amazonka.CognitoIdentity: newCredentials :: Credentials
+ Amazonka.CognitoIdentity: newDeleteIdentities :: NonEmpty Text -> DeleteIdentities
+ Amazonka.CognitoIdentity: newDeleteIdentitiesResponse :: Int -> DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity: newDeleteIdentityPool :: Text -> DeleteIdentityPool
+ Amazonka.CognitoIdentity: newDeleteIdentityPoolResponse :: DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity: newDescribeIdentity :: Text -> DescribeIdentity
+ Amazonka.CognitoIdentity: newDescribeIdentityPool :: Text -> DescribeIdentityPool
+ Amazonka.CognitoIdentity: newGetCredentialsForIdentity :: Text -> GetCredentialsForIdentity
+ Amazonka.CognitoIdentity: newGetCredentialsForIdentityResponse :: Int -> GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity: newGetId :: Text -> GetId
+ Amazonka.CognitoIdentity: newGetIdResponse :: Int -> GetIdResponse
+ Amazonka.CognitoIdentity: newGetIdentityPoolRoles :: Text -> GetIdentityPoolRoles
+ Amazonka.CognitoIdentity: newGetIdentityPoolRolesResponse :: Int -> GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity: newGetOpenIdToken :: Text -> GetOpenIdToken
+ Amazonka.CognitoIdentity: newGetOpenIdTokenForDeveloperIdentity :: Text -> GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity: newGetOpenIdTokenForDeveloperIdentityResponse :: Int -> GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity: newGetOpenIdTokenResponse :: Int -> GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity: newGetPrincipalTagAttributeMap :: Text -> Text -> GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity: newGetPrincipalTagAttributeMapResponse :: Int -> GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity: newIdentityDescription :: IdentityDescription
+ Amazonka.CognitoIdentity: newIdentityPool :: Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity: newIdentityPoolShortDescription :: IdentityPoolShortDescription
+ Amazonka.CognitoIdentity: newListIdentities :: Text -> Natural -> ListIdentities
+ Amazonka.CognitoIdentity: newListIdentitiesResponse :: Int -> ListIdentitiesResponse
+ Amazonka.CognitoIdentity: newListIdentityPools :: Natural -> ListIdentityPools
+ Amazonka.CognitoIdentity: newListIdentityPoolsResponse :: Int -> ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.CognitoIdentity: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.CognitoIdentity: newLookupDeveloperIdentity :: Text -> LookupDeveloperIdentity
+ Amazonka.CognitoIdentity: newLookupDeveloperIdentityResponse :: Int -> LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity: newMappingRule :: Text -> MappingRuleMatchType -> Text -> Text -> MappingRule
+ Amazonka.CognitoIdentity: newMergeDeveloperIdentities :: Text -> Text -> Text -> Text -> MergeDeveloperIdentities
+ Amazonka.CognitoIdentity: newMergeDeveloperIdentitiesResponse :: Int -> MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity: newRoleMapping :: RoleMappingType -> RoleMapping
+ Amazonka.CognitoIdentity: newRulesConfigurationType :: NonEmpty MappingRule -> RulesConfigurationType
+ Amazonka.CognitoIdentity: newSetIdentityPoolRoles :: Text -> SetIdentityPoolRoles
+ Amazonka.CognitoIdentity: newSetIdentityPoolRolesResponse :: SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity: newSetPrincipalTagAttributeMap :: Text -> Text -> SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity: newSetPrincipalTagAttributeMapResponse :: Int -> SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity: newTagResource :: Text -> TagResource
+ Amazonka.CognitoIdentity: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.CognitoIdentity: newUnlinkDeveloperIdentity :: Text -> Text -> Text -> Text -> UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity: newUnlinkDeveloperIdentityResponse :: UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity: newUnlinkIdentity :: Text -> UnlinkIdentity
+ Amazonka.CognitoIdentity: newUnlinkIdentityResponse :: UnlinkIdentityResponse
+ Amazonka.CognitoIdentity: newUnprocessedIdentityId :: UnprocessedIdentityId
+ Amazonka.CognitoIdentity: newUntagResource :: Text -> UntagResource
+ Amazonka.CognitoIdentity: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.CognitoIdentity: newUpdateIdentityPool :: Text -> Text -> Bool -> UpdateIdentityPool
+ Amazonka.CognitoIdentity: newtype AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity: newtype CognitoErrorCode
+ Amazonka.CognitoIdentity: newtype MappingRuleMatchType
+ Amazonka.CognitoIdentity: newtype RoleMappingType
+ Amazonka.CognitoIdentity: pattern AmbiguousRoleResolutionType_AuthenticatedRole :: AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity: pattern AmbiguousRoleResolutionType_Deny :: AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity: pattern CognitoErrorCode_AccessDenied :: CognitoErrorCode
+ Amazonka.CognitoIdentity: pattern CognitoErrorCode_InternalServerError :: CognitoErrorCode
+ Amazonka.CognitoIdentity: pattern MappingRuleMatchType_Contains :: MappingRuleMatchType
+ Amazonka.CognitoIdentity: pattern MappingRuleMatchType_Equals :: MappingRuleMatchType
+ Amazonka.CognitoIdentity: pattern MappingRuleMatchType_NotEqual :: MappingRuleMatchType
+ Amazonka.CognitoIdentity: pattern MappingRuleMatchType_StartsWith :: MappingRuleMatchType
+ Amazonka.CognitoIdentity: pattern RoleMappingType_Rules :: RoleMappingType
+ Amazonka.CognitoIdentity: pattern RoleMappingType_Token :: RoleMappingType
+ Amazonka.CognitoIdentity.CreateIdentityPool: CreateIdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Bool -> CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: IdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:allowClassicFlow:CreateIdentityPool'] :: CreateIdentityPool -> Maybe Bool
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:allowClassicFlow:IdentityPool'] :: IdentityPool -> Maybe Bool
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:allowUnauthenticatedIdentities:CreateIdentityPool'] :: CreateIdentityPool -> Bool
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:allowUnauthenticatedIdentities:IdentityPool'] :: IdentityPool -> Bool
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:cognitoIdentityProviders:CreateIdentityPool'] :: CreateIdentityPool -> Maybe [CognitoIdentityProvider]
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:cognitoIdentityProviders:IdentityPool'] :: IdentityPool -> Maybe [CognitoIdentityProvider]
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:developerProviderName:CreateIdentityPool'] :: CreateIdentityPool -> Maybe Text
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:developerProviderName:IdentityPool'] :: IdentityPool -> Maybe Text
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:identityPoolId:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:identityPoolName:CreateIdentityPool'] :: CreateIdentityPool -> Text
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:identityPoolName:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:identityPoolTags:CreateIdentityPool'] :: CreateIdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:identityPoolTags:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:openIdConnectProviderARNs:CreateIdentityPool'] :: CreateIdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:openIdConnectProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:samlProviderARNs:CreateIdentityPool'] :: CreateIdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:samlProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:supportedLoginProviders:CreateIdentityPool'] :: CreateIdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.CreateIdentityPool: [$sel:supportedLoginProviders:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.CreateIdentityPool: createIdentityPool_allowClassicFlow :: Lens' CreateIdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.CreateIdentityPool: createIdentityPool_allowUnauthenticatedIdentities :: Lens' CreateIdentityPool Bool
+ Amazonka.CognitoIdentity.CreateIdentityPool: createIdentityPool_cognitoIdentityProviders :: Lens' CreateIdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.CreateIdentityPool: createIdentityPool_developerProviderName :: Lens' CreateIdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.CreateIdentityPool: createIdentityPool_identityPoolName :: Lens' CreateIdentityPool Text
+ Amazonka.CognitoIdentity.CreateIdentityPool: createIdentityPool_identityPoolTags :: Lens' CreateIdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.CreateIdentityPool: createIdentityPool_openIdConnectProviderARNs :: Lens' CreateIdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.CreateIdentityPool: createIdentityPool_samlProviderARNs :: Lens' CreateIdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.CreateIdentityPool: createIdentityPool_supportedLoginProviders :: Lens' CreateIdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.CreateIdentityPool: data CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: data IdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_allowClassicFlow :: Lens' IdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_allowUnauthenticatedIdentities :: Lens' IdentityPool Bool
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_cognitoIdentityProviders :: Lens' IdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_developerProviderName :: Lens' IdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_identityPoolId :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_identityPoolName :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_identityPoolTags :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_openIdConnectProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_samlProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.CreateIdentityPool: identityPool_supportedLoginProviders :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance GHC.Classes.Eq Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance GHC.Generics.Generic Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance GHC.Read.Read Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: instance GHC.Show.Show Amazonka.CognitoIdentity.CreateIdentityPool.CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: newCreateIdentityPool :: Text -> Bool -> CreateIdentityPool
+ Amazonka.CognitoIdentity.CreateIdentityPool: newIdentityPool :: Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentities: DeleteIdentities' :: NonEmpty Text -> DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: DeleteIdentitiesResponse' :: Maybe [UnprocessedIdentityId] -> Int -> DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity.DeleteIdentities: [$sel:httpStatus:DeleteIdentitiesResponse'] :: DeleteIdentitiesResponse -> Int
+ Amazonka.CognitoIdentity.DeleteIdentities: [$sel:identityIdsToDelete:DeleteIdentities'] :: DeleteIdentities -> NonEmpty Text
+ Amazonka.CognitoIdentity.DeleteIdentities: [$sel:unprocessedIdentityIds:DeleteIdentitiesResponse'] :: DeleteIdentitiesResponse -> Maybe [UnprocessedIdentityId]
+ Amazonka.CognitoIdentity.DeleteIdentities: data DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: data DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity.DeleteIdentities: deleteIdentitiesResponse_httpStatus :: Lens' DeleteIdentitiesResponse Int
+ Amazonka.CognitoIdentity.DeleteIdentities: deleteIdentitiesResponse_unprocessedIdentityIds :: Lens' DeleteIdentitiesResponse (Maybe [UnprocessedIdentityId])
+ Amazonka.CognitoIdentity.DeleteIdentities: deleteIdentities_identityIdsToDelete :: Lens' DeleteIdentities (NonEmpty Text)
+ Amazonka.CognitoIdentity.DeleteIdentities: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity.DeleteIdentities: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance GHC.Classes.Eq Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance GHC.Classes.Eq Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity.DeleteIdentities: instance GHC.Generics.Generic Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance GHC.Generics.Generic Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity.DeleteIdentities: instance GHC.Read.Read Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance GHC.Read.Read Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity.DeleteIdentities: instance GHC.Show.Show Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: instance GHC.Show.Show Amazonka.CognitoIdentity.DeleteIdentities.DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity.DeleteIdentities: newDeleteIdentities :: NonEmpty Text -> DeleteIdentities
+ Amazonka.CognitoIdentity.DeleteIdentities: newDeleteIdentitiesResponse :: Int -> DeleteIdentitiesResponse
+ Amazonka.CognitoIdentity.DeleteIdentityPool: DeleteIdentityPool' :: Text -> DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: DeleteIdentityPoolResponse' :: DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity.DeleteIdentityPool: [$sel:identityPoolId:DeleteIdentityPool'] :: DeleteIdentityPool -> Text
+ Amazonka.CognitoIdentity.DeleteIdentityPool: data DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: data DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity.DeleteIdentityPool: deleteIdentityPool_identityPoolId :: Lens' DeleteIdentityPool Text
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance GHC.Classes.Eq Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance GHC.Classes.Eq Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance GHC.Generics.Generic Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance GHC.Generics.Generic Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance GHC.Read.Read Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance GHC.Read.Read Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance GHC.Show.Show Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: instance GHC.Show.Show Amazonka.CognitoIdentity.DeleteIdentityPool.DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity.DeleteIdentityPool: newDeleteIdentityPool :: Text -> DeleteIdentityPool
+ Amazonka.CognitoIdentity.DeleteIdentityPool: newDeleteIdentityPoolResponse :: DeleteIdentityPoolResponse
+ Amazonka.CognitoIdentity.DescribeIdentity: DescribeIdentity' :: Text -> DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: IdentityDescription' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe [Text] -> IdentityDescription
+ Amazonka.CognitoIdentity.DescribeIdentity: [$sel:creationDate:IdentityDescription'] :: IdentityDescription -> Maybe POSIX
+ Amazonka.CognitoIdentity.DescribeIdentity: [$sel:identityId:DescribeIdentity'] :: DescribeIdentity -> Text
+ Amazonka.CognitoIdentity.DescribeIdentity: [$sel:identityId:IdentityDescription'] :: IdentityDescription -> Maybe Text
+ Amazonka.CognitoIdentity.DescribeIdentity: [$sel:lastModifiedDate:IdentityDescription'] :: IdentityDescription -> Maybe POSIX
+ Amazonka.CognitoIdentity.DescribeIdentity: [$sel:logins:IdentityDescription'] :: IdentityDescription -> Maybe [Text]
+ Amazonka.CognitoIdentity.DescribeIdentity: data DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: data IdentityDescription
+ Amazonka.CognitoIdentity.DescribeIdentity: describeIdentity_identityId :: Lens' DescribeIdentity Text
+ Amazonka.CognitoIdentity.DescribeIdentity: identityDescription_creationDate :: Lens' IdentityDescription (Maybe UTCTime)
+ Amazonka.CognitoIdentity.DescribeIdentity: identityDescription_identityId :: Lens' IdentityDescription (Maybe Text)
+ Amazonka.CognitoIdentity.DescribeIdentity: identityDescription_lastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)
+ Amazonka.CognitoIdentity.DescribeIdentity: identityDescription_logins :: Lens' IdentityDescription (Maybe [Text])
+ Amazonka.CognitoIdentity.DescribeIdentity: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.DescribeIdentity.DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: newDescribeIdentity :: Text -> DescribeIdentity
+ Amazonka.CognitoIdentity.DescribeIdentity: newIdentityDescription :: IdentityDescription
+ Amazonka.CognitoIdentity.DescribeIdentityPool: DescribeIdentityPool' :: Text -> DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: IdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:allowClassicFlow:IdentityPool'] :: IdentityPool -> Maybe Bool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:allowUnauthenticatedIdentities:IdentityPool'] :: IdentityPool -> Bool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:cognitoIdentityProviders:IdentityPool'] :: IdentityPool -> Maybe [CognitoIdentityProvider]
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:developerProviderName:IdentityPool'] :: IdentityPool -> Maybe Text
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:identityPoolId:DescribeIdentityPool'] :: DescribeIdentityPool -> Text
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:identityPoolId:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:identityPoolName:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:identityPoolTags:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:openIdConnectProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:samlProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.DescribeIdentityPool: [$sel:supportedLoginProviders:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.DescribeIdentityPool: data DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: data IdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: describeIdentityPool_identityPoolId :: Lens' DescribeIdentityPool Text
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_allowClassicFlow :: Lens' IdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_allowUnauthenticatedIdentities :: Lens' IdentityPool Bool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_cognitoIdentityProviders :: Lens' IdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_developerProviderName :: Lens' IdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_identityPoolId :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_identityPoolName :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_identityPoolTags :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_openIdConnectProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_samlProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.DescribeIdentityPool: identityPool_supportedLoginProviders :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance GHC.Classes.Eq Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance GHC.Generics.Generic Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance GHC.Read.Read Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: instance GHC.Show.Show Amazonka.CognitoIdentity.DescribeIdentityPool.DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: newDescribeIdentityPool :: Text -> DescribeIdentityPool
+ Amazonka.CognitoIdentity.DescribeIdentityPool: newIdentityPool :: Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: GetCredentialsForIdentity' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: GetCredentialsForIdentityResponse' :: Maybe Credentials -> Maybe Text -> Int -> GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: [$sel:credentials:GetCredentialsForIdentityResponse'] :: GetCredentialsForIdentityResponse -> Maybe Credentials
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: [$sel:customRoleArn:GetCredentialsForIdentity'] :: GetCredentialsForIdentity -> Maybe Text
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: [$sel:httpStatus:GetCredentialsForIdentityResponse'] :: GetCredentialsForIdentityResponse -> Int
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: [$sel:identityId:GetCredentialsForIdentity'] :: GetCredentialsForIdentity -> Text
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: [$sel:identityId:GetCredentialsForIdentityResponse'] :: GetCredentialsForIdentityResponse -> Maybe Text
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: [$sel:logins:GetCredentialsForIdentity'] :: GetCredentialsForIdentity -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: data GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: data GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: getCredentialsForIdentityResponse_credentials :: Lens' GetCredentialsForIdentityResponse (Maybe Credentials)
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: getCredentialsForIdentityResponse_httpStatus :: Lens' GetCredentialsForIdentityResponse Int
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: getCredentialsForIdentityResponse_identityId :: Lens' GetCredentialsForIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: getCredentialsForIdentity_customRoleArn :: Lens' GetCredentialsForIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: getCredentialsForIdentity_identityId :: Lens' GetCredentialsForIdentity Text
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: getCredentialsForIdentity_logins :: Lens' GetCredentialsForIdentity (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.GetCredentialsForIdentity.GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: newGetCredentialsForIdentity :: Text -> GetCredentialsForIdentity
+ Amazonka.CognitoIdentity.GetCredentialsForIdentity: newGetCredentialsForIdentityResponse :: Int -> GetCredentialsForIdentityResponse
+ Amazonka.CognitoIdentity.GetId: GetId' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> GetId
+ Amazonka.CognitoIdentity.GetId: GetIdResponse' :: Maybe Text -> Int -> GetIdResponse
+ Amazonka.CognitoIdentity.GetId: [$sel:accountId:GetId'] :: GetId -> Maybe Text
+ Amazonka.CognitoIdentity.GetId: [$sel:httpStatus:GetIdResponse'] :: GetIdResponse -> Int
+ Amazonka.CognitoIdentity.GetId: [$sel:identityId:GetIdResponse'] :: GetIdResponse -> Maybe Text
+ Amazonka.CognitoIdentity.GetId: [$sel:identityPoolId:GetId'] :: GetId -> Text
+ Amazonka.CognitoIdentity.GetId: [$sel:logins:GetId'] :: GetId -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.GetId: data GetId
+ Amazonka.CognitoIdentity.GetId: data GetIdResponse
+ Amazonka.CognitoIdentity.GetId: getIdResponse_httpStatus :: Lens' GetIdResponse Int
+ Amazonka.CognitoIdentity.GetId: getIdResponse_identityId :: Lens' GetIdResponse (Maybe Text)
+ Amazonka.CognitoIdentity.GetId: getId_accountId :: Lens' GetId (Maybe Text)
+ Amazonka.CognitoIdentity.GetId: getId_identityPoolId :: Lens' GetId Text
+ Amazonka.CognitoIdentity.GetId: getId_logins :: Lens' GetId (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.GetId: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetId.GetIdResponse
+ Amazonka.CognitoIdentity.GetId: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetId.GetIdResponse
+ Amazonka.CognitoIdentity.GetId: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetId.GetIdResponse
+ Amazonka.CognitoIdentity.GetId: instance GHC.Read.Read Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance GHC.Read.Read Amazonka.CognitoIdentity.GetId.GetIdResponse
+ Amazonka.CognitoIdentity.GetId: instance GHC.Show.Show Amazonka.CognitoIdentity.GetId.GetId
+ Amazonka.CognitoIdentity.GetId: instance GHC.Show.Show Amazonka.CognitoIdentity.GetId.GetIdResponse
+ Amazonka.CognitoIdentity.GetId: newGetId :: Text -> GetId
+ Amazonka.CognitoIdentity.GetId: newGetIdResponse :: Int -> GetIdResponse
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: GetIdentityPoolRoles' :: Text -> GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: GetIdentityPoolRolesResponse' :: Maybe Text -> Maybe (HashMap Text RoleMapping) -> Maybe (HashMap Text Text) -> Int -> GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: [$sel:httpStatus:GetIdentityPoolRolesResponse'] :: GetIdentityPoolRolesResponse -> Int
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: [$sel:identityPoolId:GetIdentityPoolRoles'] :: GetIdentityPoolRoles -> Text
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: [$sel:identityPoolId:GetIdentityPoolRolesResponse'] :: GetIdentityPoolRolesResponse -> Maybe Text
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: [$sel:roleMappings:GetIdentityPoolRolesResponse'] :: GetIdentityPoolRolesResponse -> Maybe (HashMap Text RoleMapping)
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: [$sel:roles:GetIdentityPoolRolesResponse'] :: GetIdentityPoolRolesResponse -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: data GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: data GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: getIdentityPoolRolesResponse_httpStatus :: Lens' GetIdentityPoolRolesResponse Int
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: getIdentityPoolRolesResponse_identityPoolId :: Lens' GetIdentityPoolRolesResponse (Maybe Text)
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: getIdentityPoolRolesResponse_roleMappings :: Lens' GetIdentityPoolRolesResponse (Maybe (HashMap Text RoleMapping))
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: getIdentityPoolRolesResponse_roles :: Lens' GetIdentityPoolRolesResponse (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: getIdentityPoolRoles_identityPoolId :: Lens' GetIdentityPoolRoles Text
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Read.Read Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Read.Read Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Show.Show Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: instance GHC.Show.Show Amazonka.CognitoIdentity.GetIdentityPoolRoles.GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: newGetIdentityPoolRoles :: Text -> GetIdentityPoolRoles
+ Amazonka.CognitoIdentity.GetIdentityPoolRoles: newGetIdentityPoolRolesResponse :: Int -> GetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.GetOpenIdToken: GetOpenIdToken' :: Maybe (HashMap Text Text) -> Text -> GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: GetOpenIdTokenResponse' :: Maybe Text -> Maybe Text -> Int -> GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity.GetOpenIdToken: [$sel:httpStatus:GetOpenIdTokenResponse'] :: GetOpenIdTokenResponse -> Int
+ Amazonka.CognitoIdentity.GetOpenIdToken: [$sel:identityId:GetOpenIdToken'] :: GetOpenIdToken -> Text
+ Amazonka.CognitoIdentity.GetOpenIdToken: [$sel:identityId:GetOpenIdTokenResponse'] :: GetOpenIdTokenResponse -> Maybe Text
+ Amazonka.CognitoIdentity.GetOpenIdToken: [$sel:logins:GetOpenIdToken'] :: GetOpenIdToken -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.GetOpenIdToken: [$sel:token:GetOpenIdTokenResponse'] :: GetOpenIdTokenResponse -> Maybe Text
+ Amazonka.CognitoIdentity.GetOpenIdToken: data GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: data GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity.GetOpenIdToken: getOpenIdTokenResponse_httpStatus :: Lens' GetOpenIdTokenResponse Int
+ Amazonka.CognitoIdentity.GetOpenIdToken: getOpenIdTokenResponse_identityId :: Lens' GetOpenIdTokenResponse (Maybe Text)
+ Amazonka.CognitoIdentity.GetOpenIdToken: getOpenIdTokenResponse_token :: Lens' GetOpenIdTokenResponse (Maybe Text)
+ Amazonka.CognitoIdentity.GetOpenIdToken: getOpenIdToken_identityId :: Lens' GetOpenIdToken Text
+ Amazonka.CognitoIdentity.GetOpenIdToken: getOpenIdToken_logins :: Lens' GetOpenIdToken (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance GHC.Read.Read Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance GHC.Read.Read Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance GHC.Show.Show Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: instance GHC.Show.Show Amazonka.CognitoIdentity.GetOpenIdToken.GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity.GetOpenIdToken: newGetOpenIdToken :: Text -> GetOpenIdToken
+ Amazonka.CognitoIdentity.GetOpenIdToken: newGetOpenIdTokenResponse :: Int -> GetOpenIdTokenResponse
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: GetOpenIdTokenForDeveloperIdentity' :: Maybe Text -> Maybe (HashMap Text Text) -> Maybe Natural -> Text -> HashMap Text Text -> GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: GetOpenIdTokenForDeveloperIdentityResponse' :: Maybe Text -> Maybe Text -> Int -> GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: [$sel:httpStatus:GetOpenIdTokenForDeveloperIdentityResponse'] :: GetOpenIdTokenForDeveloperIdentityResponse -> Int
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: [$sel:identityId:GetOpenIdTokenForDeveloperIdentity'] :: GetOpenIdTokenForDeveloperIdentity -> Maybe Text
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: [$sel:identityId:GetOpenIdTokenForDeveloperIdentityResponse'] :: GetOpenIdTokenForDeveloperIdentityResponse -> Maybe Text
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: [$sel:identityPoolId:GetOpenIdTokenForDeveloperIdentity'] :: GetOpenIdTokenForDeveloperIdentity -> Text
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: [$sel:logins:GetOpenIdTokenForDeveloperIdentity'] :: GetOpenIdTokenForDeveloperIdentity -> HashMap Text Text
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: [$sel:principalTags:GetOpenIdTokenForDeveloperIdentity'] :: GetOpenIdTokenForDeveloperIdentity -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: [$sel:token:GetOpenIdTokenForDeveloperIdentityResponse'] :: GetOpenIdTokenForDeveloperIdentityResponse -> Maybe Text
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: [$sel:tokenDuration:GetOpenIdTokenForDeveloperIdentity'] :: GetOpenIdTokenForDeveloperIdentity -> Maybe Natural
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: data GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: data GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentityResponse_httpStatus :: Lens' GetOpenIdTokenForDeveloperIdentityResponse Int
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentityResponse_identityId :: Lens' GetOpenIdTokenForDeveloperIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentityResponse_token :: Lens' GetOpenIdTokenForDeveloperIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentity_identityId :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentity_identityPoolId :: Lens' GetOpenIdTokenForDeveloperIdentity Text
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentity_logins :: Lens' GetOpenIdTokenForDeveloperIdentity (HashMap Text Text)
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentity_principalTags :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: getOpenIdTokenForDeveloperIdentity_tokenDuration :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe Natural)
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity.GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: newGetOpenIdTokenForDeveloperIdentity :: Text -> GetOpenIdTokenForDeveloperIdentity
+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity: newGetOpenIdTokenForDeveloperIdentityResponse :: Int -> GetOpenIdTokenForDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: GetPrincipalTagAttributeMap' :: Text -> Text -> GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: GetPrincipalTagAttributeMapResponse' :: Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Bool -> Int -> GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: [$sel:httpStatus:GetPrincipalTagAttributeMapResponse'] :: GetPrincipalTagAttributeMapResponse -> Int
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: [$sel:identityPoolId:GetPrincipalTagAttributeMap'] :: GetPrincipalTagAttributeMap -> Text
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: [$sel:identityPoolId:GetPrincipalTagAttributeMapResponse'] :: GetPrincipalTagAttributeMapResponse -> Maybe Text
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: [$sel:identityProviderName:GetPrincipalTagAttributeMap'] :: GetPrincipalTagAttributeMap -> Text
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: [$sel:identityProviderName:GetPrincipalTagAttributeMapResponse'] :: GetPrincipalTagAttributeMapResponse -> Maybe Text
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: [$sel:principalTags:GetPrincipalTagAttributeMapResponse'] :: GetPrincipalTagAttributeMapResponse -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: [$sel:useDefaults:GetPrincipalTagAttributeMapResponse'] :: GetPrincipalTagAttributeMapResponse -> Maybe Bool
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: data GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: data GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: getPrincipalTagAttributeMapResponse_httpStatus :: Lens' GetPrincipalTagAttributeMapResponse Int
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: getPrincipalTagAttributeMapResponse_identityPoolId :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Text)
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: getPrincipalTagAttributeMapResponse_identityProviderName :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Text)
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: getPrincipalTagAttributeMapResponse_principalTags :: Lens' GetPrincipalTagAttributeMapResponse (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: getPrincipalTagAttributeMapResponse_useDefaults :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Bool)
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: getPrincipalTagAttributeMap_identityPoolId :: Lens' GetPrincipalTagAttributeMap Text
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: getPrincipalTagAttributeMap_identityProviderName :: Lens' GetPrincipalTagAttributeMap Text
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance GHC.Classes.Eq Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance GHC.Generics.Generic Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance GHC.Read.Read Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance GHC.Read.Read Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance GHC.Show.Show Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: instance GHC.Show.Show Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap.GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: newGetPrincipalTagAttributeMap :: Text -> Text -> GetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap: newGetPrincipalTagAttributeMapResponse :: Int -> GetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.Lens: cognitoIdentityProvider_clientId :: Lens' CognitoIdentityProvider (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: cognitoIdentityProvider_providerName :: Lens' CognitoIdentityProvider (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: cognitoIdentityProvider_serverSideTokenCheck :: Lens' CognitoIdentityProvider (Maybe Bool)
+ Amazonka.CognitoIdentity.Lens: createIdentityPool_allowClassicFlow :: Lens' CreateIdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.Lens: createIdentityPool_allowUnauthenticatedIdentities :: Lens' CreateIdentityPool Bool
+ Amazonka.CognitoIdentity.Lens: createIdentityPool_cognitoIdentityProviders :: Lens' CreateIdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.Lens: createIdentityPool_developerProviderName :: Lens' CreateIdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: createIdentityPool_identityPoolName :: Lens' CreateIdentityPool Text
+ Amazonka.CognitoIdentity.Lens: createIdentityPool_identityPoolTags :: Lens' CreateIdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: createIdentityPool_openIdConnectProviderARNs :: Lens' CreateIdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Lens: createIdentityPool_samlProviderARNs :: Lens' CreateIdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Lens: createIdentityPool_supportedLoginProviders :: Lens' CreateIdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: credentials_accessKeyId :: Lens' Credentials (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: credentials_expiration :: Lens' Credentials (Maybe UTCTime)
+ Amazonka.CognitoIdentity.Lens: credentials_secretKey :: Lens' Credentials (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: credentials_sessionToken :: Lens' Credentials (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: deleteIdentitiesResponse_httpStatus :: Lens' DeleteIdentitiesResponse Int
+ Amazonka.CognitoIdentity.Lens: deleteIdentitiesResponse_unprocessedIdentityIds :: Lens' DeleteIdentitiesResponse (Maybe [UnprocessedIdentityId])
+ Amazonka.CognitoIdentity.Lens: deleteIdentities_identityIdsToDelete :: Lens' DeleteIdentities (NonEmpty Text)
+ Amazonka.CognitoIdentity.Lens: deleteIdentityPool_identityPoolId :: Lens' DeleteIdentityPool Text
+ Amazonka.CognitoIdentity.Lens: describeIdentityPool_identityPoolId :: Lens' DescribeIdentityPool Text
+ Amazonka.CognitoIdentity.Lens: describeIdentity_identityId :: Lens' DescribeIdentity Text
+ Amazonka.CognitoIdentity.Lens: getCredentialsForIdentityResponse_credentials :: Lens' GetCredentialsForIdentityResponse (Maybe Credentials)
+ Amazonka.CognitoIdentity.Lens: getCredentialsForIdentityResponse_httpStatus :: Lens' GetCredentialsForIdentityResponse Int
+ Amazonka.CognitoIdentity.Lens: getCredentialsForIdentityResponse_identityId :: Lens' GetCredentialsForIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getCredentialsForIdentity_customRoleArn :: Lens' GetCredentialsForIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getCredentialsForIdentity_identityId :: Lens' GetCredentialsForIdentity Text
+ Amazonka.CognitoIdentity.Lens: getCredentialsForIdentity_logins :: Lens' GetCredentialsForIdentity (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: getIdResponse_httpStatus :: Lens' GetIdResponse Int
+ Amazonka.CognitoIdentity.Lens: getIdResponse_identityId :: Lens' GetIdResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getId_accountId :: Lens' GetId (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getId_identityPoolId :: Lens' GetId Text
+ Amazonka.CognitoIdentity.Lens: getId_logins :: Lens' GetId (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: getIdentityPoolRolesResponse_httpStatus :: Lens' GetIdentityPoolRolesResponse Int
+ Amazonka.CognitoIdentity.Lens: getIdentityPoolRolesResponse_identityPoolId :: Lens' GetIdentityPoolRolesResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getIdentityPoolRolesResponse_roleMappings :: Lens' GetIdentityPoolRolesResponse (Maybe (HashMap Text RoleMapping))
+ Amazonka.CognitoIdentity.Lens: getIdentityPoolRolesResponse_roles :: Lens' GetIdentityPoolRolesResponse (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: getIdentityPoolRoles_identityPoolId :: Lens' GetIdentityPoolRoles Text
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenForDeveloperIdentityResponse_httpStatus :: Lens' GetOpenIdTokenForDeveloperIdentityResponse Int
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenForDeveloperIdentityResponse_identityId :: Lens' GetOpenIdTokenForDeveloperIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenForDeveloperIdentityResponse_token :: Lens' GetOpenIdTokenForDeveloperIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenForDeveloperIdentity_identityId :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenForDeveloperIdentity_identityPoolId :: Lens' GetOpenIdTokenForDeveloperIdentity Text
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenForDeveloperIdentity_logins :: Lens' GetOpenIdTokenForDeveloperIdentity (HashMap Text Text)
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenForDeveloperIdentity_principalTags :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenForDeveloperIdentity_tokenDuration :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe Natural)
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenResponse_httpStatus :: Lens' GetOpenIdTokenResponse Int
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenResponse_identityId :: Lens' GetOpenIdTokenResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getOpenIdTokenResponse_token :: Lens' GetOpenIdTokenResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getOpenIdToken_identityId :: Lens' GetOpenIdToken Text
+ Amazonka.CognitoIdentity.Lens: getOpenIdToken_logins :: Lens' GetOpenIdToken (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: getPrincipalTagAttributeMapResponse_httpStatus :: Lens' GetPrincipalTagAttributeMapResponse Int
+ Amazonka.CognitoIdentity.Lens: getPrincipalTagAttributeMapResponse_identityPoolId :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getPrincipalTagAttributeMapResponse_identityProviderName :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: getPrincipalTagAttributeMapResponse_principalTags :: Lens' GetPrincipalTagAttributeMapResponse (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: getPrincipalTagAttributeMapResponse_useDefaults :: Lens' GetPrincipalTagAttributeMapResponse (Maybe Bool)
+ Amazonka.CognitoIdentity.Lens: getPrincipalTagAttributeMap_identityPoolId :: Lens' GetPrincipalTagAttributeMap Text
+ Amazonka.CognitoIdentity.Lens: getPrincipalTagAttributeMap_identityProviderName :: Lens' GetPrincipalTagAttributeMap Text
+ Amazonka.CognitoIdentity.Lens: identityDescription_creationDate :: Lens' IdentityDescription (Maybe UTCTime)
+ Amazonka.CognitoIdentity.Lens: identityDescription_identityId :: Lens' IdentityDescription (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: identityDescription_lastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)
+ Amazonka.CognitoIdentity.Lens: identityDescription_logins :: Lens' IdentityDescription (Maybe [Text])
+ Amazonka.CognitoIdentity.Lens: identityPoolShortDescription_identityPoolId :: Lens' IdentityPoolShortDescription (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: identityPoolShortDescription_identityPoolName :: Lens' IdentityPoolShortDescription (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: identityPool_allowClassicFlow :: Lens' IdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.Lens: identityPool_allowUnauthenticatedIdentities :: Lens' IdentityPool Bool
+ Amazonka.CognitoIdentity.Lens: identityPool_cognitoIdentityProviders :: Lens' IdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.Lens: identityPool_developerProviderName :: Lens' IdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: identityPool_identityPoolId :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.Lens: identityPool_identityPoolName :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.Lens: identityPool_identityPoolTags :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: identityPool_openIdConnectProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Lens: identityPool_samlProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Lens: identityPool_supportedLoginProviders :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: listIdentitiesResponse_httpStatus :: Lens' ListIdentitiesResponse Int
+ Amazonka.CognitoIdentity.Lens: listIdentitiesResponse_identities :: Lens' ListIdentitiesResponse (Maybe [IdentityDescription])
+ Amazonka.CognitoIdentity.Lens: listIdentitiesResponse_identityPoolId :: Lens' ListIdentitiesResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: listIdentitiesResponse_nextToken :: Lens' ListIdentitiesResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: listIdentities_hideDisabled :: Lens' ListIdentities (Maybe Bool)
+ Amazonka.CognitoIdentity.Lens: listIdentities_identityPoolId :: Lens' ListIdentities Text
+ Amazonka.CognitoIdentity.Lens: listIdentities_maxResults :: Lens' ListIdentities Natural
+ Amazonka.CognitoIdentity.Lens: listIdentities_nextToken :: Lens' ListIdentities (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: listIdentityPoolsResponse_httpStatus :: Lens' ListIdentityPoolsResponse Int
+ Amazonka.CognitoIdentity.Lens: listIdentityPoolsResponse_identityPools :: Lens' ListIdentityPoolsResponse (Maybe [IdentityPoolShortDescription])
+ Amazonka.CognitoIdentity.Lens: listIdentityPoolsResponse_nextToken :: Lens' ListIdentityPoolsResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: listIdentityPools_maxResults :: Lens' ListIdentityPools Natural
+ Amazonka.CognitoIdentity.Lens: listIdentityPools_nextToken :: Lens' ListIdentityPools (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.CognitoIdentity.Lens: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.CognitoIdentity.Lens: lookupDeveloperIdentityResponse_developerUserIdentifierList :: Lens' LookupDeveloperIdentityResponse (Maybe [Text])
+ Amazonka.CognitoIdentity.Lens: lookupDeveloperIdentityResponse_httpStatus :: Lens' LookupDeveloperIdentityResponse Int
+ Amazonka.CognitoIdentity.Lens: lookupDeveloperIdentityResponse_identityId :: Lens' LookupDeveloperIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: lookupDeveloperIdentityResponse_nextToken :: Lens' LookupDeveloperIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: lookupDeveloperIdentity_developerUserIdentifier :: Lens' LookupDeveloperIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: lookupDeveloperIdentity_identityId :: Lens' LookupDeveloperIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: lookupDeveloperIdentity_identityPoolId :: Lens' LookupDeveloperIdentity Text
+ Amazonka.CognitoIdentity.Lens: lookupDeveloperIdentity_maxResults :: Lens' LookupDeveloperIdentity (Maybe Natural)
+ Amazonka.CognitoIdentity.Lens: lookupDeveloperIdentity_nextToken :: Lens' LookupDeveloperIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: mappingRule_claim :: Lens' MappingRule Text
+ Amazonka.CognitoIdentity.Lens: mappingRule_matchType :: Lens' MappingRule MappingRuleMatchType
+ Amazonka.CognitoIdentity.Lens: mappingRule_roleARN :: Lens' MappingRule Text
+ Amazonka.CognitoIdentity.Lens: mappingRule_value :: Lens' MappingRule Text
+ Amazonka.CognitoIdentity.Lens: mergeDeveloperIdentitiesResponse_httpStatus :: Lens' MergeDeveloperIdentitiesResponse Int
+ Amazonka.CognitoIdentity.Lens: mergeDeveloperIdentitiesResponse_identityId :: Lens' MergeDeveloperIdentitiesResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: mergeDeveloperIdentities_destinationUserIdentifier :: Lens' MergeDeveloperIdentities Text
+ Amazonka.CognitoIdentity.Lens: mergeDeveloperIdentities_developerProviderName :: Lens' MergeDeveloperIdentities Text
+ Amazonka.CognitoIdentity.Lens: mergeDeveloperIdentities_identityPoolId :: Lens' MergeDeveloperIdentities Text
+ Amazonka.CognitoIdentity.Lens: mergeDeveloperIdentities_sourceUserIdentifier :: Lens' MergeDeveloperIdentities Text
+ Amazonka.CognitoIdentity.Lens: roleMapping_ambiguousRoleResolution :: Lens' RoleMapping (Maybe AmbiguousRoleResolutionType)
+ Amazonka.CognitoIdentity.Lens: roleMapping_rulesConfiguration :: Lens' RoleMapping (Maybe RulesConfigurationType)
+ Amazonka.CognitoIdentity.Lens: roleMapping_type :: Lens' RoleMapping RoleMappingType
+ Amazonka.CognitoIdentity.Lens: rulesConfigurationType_rules :: Lens' RulesConfigurationType (NonEmpty MappingRule)
+ Amazonka.CognitoIdentity.Lens: setIdentityPoolRoles_identityPoolId :: Lens' SetIdentityPoolRoles Text
+ Amazonka.CognitoIdentity.Lens: setIdentityPoolRoles_roleMappings :: Lens' SetIdentityPoolRoles (Maybe (HashMap Text RoleMapping))
+ Amazonka.CognitoIdentity.Lens: setIdentityPoolRoles_roles :: Lens' SetIdentityPoolRoles (HashMap Text Text)
+ Amazonka.CognitoIdentity.Lens: setPrincipalTagAttributeMapResponse_httpStatus :: Lens' SetPrincipalTagAttributeMapResponse Int
+ Amazonka.CognitoIdentity.Lens: setPrincipalTagAttributeMapResponse_identityPoolId :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: setPrincipalTagAttributeMapResponse_identityProviderName :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: setPrincipalTagAttributeMapResponse_principalTags :: Lens' SetPrincipalTagAttributeMapResponse (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: setPrincipalTagAttributeMapResponse_useDefaults :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Bool)
+ Amazonka.CognitoIdentity.Lens: setPrincipalTagAttributeMap_identityPoolId :: Lens' SetPrincipalTagAttributeMap Text
+ Amazonka.CognitoIdentity.Lens: setPrincipalTagAttributeMap_identityProviderName :: Lens' SetPrincipalTagAttributeMap Text
+ Amazonka.CognitoIdentity.Lens: setPrincipalTagAttributeMap_principalTags :: Lens' SetPrincipalTagAttributeMap (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: setPrincipalTagAttributeMap_useDefaults :: Lens' SetPrincipalTagAttributeMap (Maybe Bool)
+ Amazonka.CognitoIdentity.Lens: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.CognitoIdentity.Lens: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.CognitoIdentity.Lens: tagResource_tags :: Lens' TagResource (HashMap Text Text)
+ Amazonka.CognitoIdentity.Lens: unlinkDeveloperIdentity_developerProviderName :: Lens' UnlinkDeveloperIdentity Text
+ Amazonka.CognitoIdentity.Lens: unlinkDeveloperIdentity_developerUserIdentifier :: Lens' UnlinkDeveloperIdentity Text
+ Amazonka.CognitoIdentity.Lens: unlinkDeveloperIdentity_identityId :: Lens' UnlinkDeveloperIdentity Text
+ Amazonka.CognitoIdentity.Lens: unlinkDeveloperIdentity_identityPoolId :: Lens' UnlinkDeveloperIdentity Text
+ Amazonka.CognitoIdentity.Lens: unlinkIdentity_identityId :: Lens' UnlinkIdentity Text
+ Amazonka.CognitoIdentity.Lens: unlinkIdentity_logins :: Lens' UnlinkIdentity (HashMap Text Text)
+ Amazonka.CognitoIdentity.Lens: unlinkIdentity_loginsToRemove :: Lens' UnlinkIdentity [Text]
+ Amazonka.CognitoIdentity.Lens: unprocessedIdentityId_errorCode :: Lens' UnprocessedIdentityId (Maybe CognitoErrorCode)
+ Amazonka.CognitoIdentity.Lens: unprocessedIdentityId_identityId :: Lens' UnprocessedIdentityId (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.CognitoIdentity.Lens: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.CognitoIdentity.Lens: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_allowClassicFlow :: Lens' UpdateIdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_allowUnauthenticatedIdentities :: Lens' UpdateIdentityPool Bool
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_cognitoIdentityProviders :: Lens' UpdateIdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_developerProviderName :: Lens' UpdateIdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_identityPoolId :: Lens' UpdateIdentityPool Text
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_identityPoolName :: Lens' UpdateIdentityPool Text
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_identityPoolTags :: Lens' UpdateIdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_openIdConnectProviderARNs :: Lens' UpdateIdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_samlProviderARNs :: Lens' UpdateIdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Lens: updateIdentityPool_supportedLoginProviders :: Lens' UpdateIdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.ListIdentities: ListIdentities' :: Maybe Bool -> Maybe Text -> Text -> Natural -> ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: ListIdentitiesResponse' :: Maybe [IdentityDescription] -> Maybe Text -> Maybe Text -> Int -> ListIdentitiesResponse
+ Amazonka.CognitoIdentity.ListIdentities: [$sel:hideDisabled:ListIdentities'] :: ListIdentities -> Maybe Bool
+ Amazonka.CognitoIdentity.ListIdentities: [$sel:httpStatus:ListIdentitiesResponse'] :: ListIdentitiesResponse -> Int
+ Amazonka.CognitoIdentity.ListIdentities: [$sel:identities:ListIdentitiesResponse'] :: ListIdentitiesResponse -> Maybe [IdentityDescription]
+ Amazonka.CognitoIdentity.ListIdentities: [$sel:identityPoolId:ListIdentities'] :: ListIdentities -> Text
+ Amazonka.CognitoIdentity.ListIdentities: [$sel:identityPoolId:ListIdentitiesResponse'] :: ListIdentitiesResponse -> Maybe Text
+ Amazonka.CognitoIdentity.ListIdentities: [$sel:maxResults:ListIdentities'] :: ListIdentities -> Natural
+ Amazonka.CognitoIdentity.ListIdentities: [$sel:nextToken:ListIdentities'] :: ListIdentities -> Maybe Text
+ Amazonka.CognitoIdentity.ListIdentities: [$sel:nextToken:ListIdentitiesResponse'] :: ListIdentitiesResponse -> Maybe Text
+ Amazonka.CognitoIdentity.ListIdentities: data ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: data ListIdentitiesResponse
+ Amazonka.CognitoIdentity.ListIdentities: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.ListIdentities.ListIdentitiesResponse
+ Amazonka.CognitoIdentity.ListIdentities: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance GHC.Classes.Eq Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance GHC.Classes.Eq Amazonka.CognitoIdentity.ListIdentities.ListIdentitiesResponse
+ Amazonka.CognitoIdentity.ListIdentities: instance GHC.Generics.Generic Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance GHC.Generics.Generic Amazonka.CognitoIdentity.ListIdentities.ListIdentitiesResponse
+ Amazonka.CognitoIdentity.ListIdentities: instance GHC.Read.Read Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance GHC.Read.Read Amazonka.CognitoIdentity.ListIdentities.ListIdentitiesResponse
+ Amazonka.CognitoIdentity.ListIdentities: instance GHC.Show.Show Amazonka.CognitoIdentity.ListIdentities.ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: instance GHC.Show.Show Amazonka.CognitoIdentity.ListIdentities.ListIdentitiesResponse
+ Amazonka.CognitoIdentity.ListIdentities: listIdentitiesResponse_httpStatus :: Lens' ListIdentitiesResponse Int
+ Amazonka.CognitoIdentity.ListIdentities: listIdentitiesResponse_identities :: Lens' ListIdentitiesResponse (Maybe [IdentityDescription])
+ Amazonka.CognitoIdentity.ListIdentities: listIdentitiesResponse_identityPoolId :: Lens' ListIdentitiesResponse (Maybe Text)
+ Amazonka.CognitoIdentity.ListIdentities: listIdentitiesResponse_nextToken :: Lens' ListIdentitiesResponse (Maybe Text)
+ Amazonka.CognitoIdentity.ListIdentities: listIdentities_hideDisabled :: Lens' ListIdentities (Maybe Bool)
+ Amazonka.CognitoIdentity.ListIdentities: listIdentities_identityPoolId :: Lens' ListIdentities Text
+ Amazonka.CognitoIdentity.ListIdentities: listIdentities_maxResults :: Lens' ListIdentities Natural
+ Amazonka.CognitoIdentity.ListIdentities: listIdentities_nextToken :: Lens' ListIdentities (Maybe Text)
+ Amazonka.CognitoIdentity.ListIdentities: newListIdentities :: Text -> Natural -> ListIdentities
+ Amazonka.CognitoIdentity.ListIdentities: newListIdentitiesResponse :: Int -> ListIdentitiesResponse
+ Amazonka.CognitoIdentity.ListIdentityPools: ListIdentityPools' :: Maybe Text -> Natural -> ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: ListIdentityPoolsResponse' :: Maybe [IdentityPoolShortDescription] -> Maybe Text -> Int -> ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity.ListIdentityPools: [$sel:httpStatus:ListIdentityPoolsResponse'] :: ListIdentityPoolsResponse -> Int
+ Amazonka.CognitoIdentity.ListIdentityPools: [$sel:identityPools:ListIdentityPoolsResponse'] :: ListIdentityPoolsResponse -> Maybe [IdentityPoolShortDescription]
+ Amazonka.CognitoIdentity.ListIdentityPools: [$sel:maxResults:ListIdentityPools'] :: ListIdentityPools -> Natural
+ Amazonka.CognitoIdentity.ListIdentityPools: [$sel:nextToken:ListIdentityPools'] :: ListIdentityPools -> Maybe Text
+ Amazonka.CognitoIdentity.ListIdentityPools: [$sel:nextToken:ListIdentityPoolsResponse'] :: ListIdentityPoolsResponse -> Maybe Text
+ Amazonka.CognitoIdentity.ListIdentityPools: data ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: data ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity.ListIdentityPools: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance Amazonka.Pager.AWSPager Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity.ListIdentityPools: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance GHC.Classes.Eq Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance GHC.Classes.Eq Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity.ListIdentityPools: instance GHC.Generics.Generic Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance GHC.Generics.Generic Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity.ListIdentityPools: instance GHC.Read.Read Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance GHC.Read.Read Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity.ListIdentityPools: instance GHC.Show.Show Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: instance GHC.Show.Show Amazonka.CognitoIdentity.ListIdentityPools.ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity.ListIdentityPools: listIdentityPoolsResponse_httpStatus :: Lens' ListIdentityPoolsResponse Int
+ Amazonka.CognitoIdentity.ListIdentityPools: listIdentityPoolsResponse_identityPools :: Lens' ListIdentityPoolsResponse (Maybe [IdentityPoolShortDescription])
+ Amazonka.CognitoIdentity.ListIdentityPools: listIdentityPoolsResponse_nextToken :: Lens' ListIdentityPoolsResponse (Maybe Text)
+ Amazonka.CognitoIdentity.ListIdentityPools: listIdentityPools_maxResults :: Lens' ListIdentityPools Natural
+ Amazonka.CognitoIdentity.ListIdentityPools: listIdentityPools_nextToken :: Lens' ListIdentityPools (Maybe Text)
+ Amazonka.CognitoIdentity.ListIdentityPools: newListIdentityPools :: Natural -> ListIdentityPools
+ Amazonka.CognitoIdentity.ListIdentityPools: newListIdentityPoolsResponse :: Int -> ListIdentityPoolsResponse
+ Amazonka.CognitoIdentity.ListTagsForResource: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse
+ Amazonka.CognitoIdentity.ListTagsForResource: [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
+ Amazonka.CognitoIdentity.ListTagsForResource: [$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
+ Amazonka.CognitoIdentity.ListTagsForResource: [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.ListTagsForResource: data ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: data ListTagsForResourceResponse
+ Amazonka.CognitoIdentity.ListTagsForResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CognitoIdentity.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance GHC.Classes.Eq Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance GHC.Classes.Eq Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CognitoIdentity.ListTagsForResource: instance GHC.Generics.Generic Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance GHC.Generics.Generic Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CognitoIdentity.ListTagsForResource: instance GHC.Read.Read Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance GHC.Read.Read Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CognitoIdentity.ListTagsForResource: instance GHC.Show.Show Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: instance GHC.Show.Show Amazonka.CognitoIdentity.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CognitoIdentity.ListTagsForResource: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.CognitoIdentity.ListTagsForResource: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.ListTagsForResource: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.CognitoIdentity.ListTagsForResource: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.CognitoIdentity.ListTagsForResource: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: LookupDeveloperIdentity' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Text -> LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: LookupDeveloperIdentityResponse' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Int -> LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: [$sel:developerUserIdentifier:LookupDeveloperIdentity'] :: LookupDeveloperIdentity -> Maybe Text
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: [$sel:developerUserIdentifierList:LookupDeveloperIdentityResponse'] :: LookupDeveloperIdentityResponse -> Maybe [Text]
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: [$sel:httpStatus:LookupDeveloperIdentityResponse'] :: LookupDeveloperIdentityResponse -> Int
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: [$sel:identityId:LookupDeveloperIdentity'] :: LookupDeveloperIdentity -> Maybe Text
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: [$sel:identityId:LookupDeveloperIdentityResponse'] :: LookupDeveloperIdentityResponse -> Maybe Text
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: [$sel:identityPoolId:LookupDeveloperIdentity'] :: LookupDeveloperIdentity -> Text
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: [$sel:maxResults:LookupDeveloperIdentity'] :: LookupDeveloperIdentity -> Maybe Natural
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: [$sel:nextToken:LookupDeveloperIdentity'] :: LookupDeveloperIdentity -> Maybe Text
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: [$sel:nextToken:LookupDeveloperIdentityResponse'] :: LookupDeveloperIdentityResponse -> Maybe Text
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: data LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: data LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.LookupDeveloperIdentity.LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentityResponse_developerUserIdentifierList :: Lens' LookupDeveloperIdentityResponse (Maybe [Text])
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentityResponse_httpStatus :: Lens' LookupDeveloperIdentityResponse Int
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentityResponse_identityId :: Lens' LookupDeveloperIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentityResponse_nextToken :: Lens' LookupDeveloperIdentityResponse (Maybe Text)
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentity_developerUserIdentifier :: Lens' LookupDeveloperIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentity_identityId :: Lens' LookupDeveloperIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentity_identityPoolId :: Lens' LookupDeveloperIdentity Text
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentity_maxResults :: Lens' LookupDeveloperIdentity (Maybe Natural)
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: lookupDeveloperIdentity_nextToken :: Lens' LookupDeveloperIdentity (Maybe Text)
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: newLookupDeveloperIdentity :: Text -> LookupDeveloperIdentity
+ Amazonka.CognitoIdentity.LookupDeveloperIdentity: newLookupDeveloperIdentityResponse :: Int -> LookupDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: MergeDeveloperIdentities' :: Text -> Text -> Text -> Text -> MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: MergeDeveloperIdentitiesResponse' :: Maybe Text -> Int -> MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: [$sel:destinationUserIdentifier:MergeDeveloperIdentities'] :: MergeDeveloperIdentities -> Text
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: [$sel:developerProviderName:MergeDeveloperIdentities'] :: MergeDeveloperIdentities -> Text
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: [$sel:httpStatus:MergeDeveloperIdentitiesResponse'] :: MergeDeveloperIdentitiesResponse -> Int
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: [$sel:identityId:MergeDeveloperIdentitiesResponse'] :: MergeDeveloperIdentitiesResponse -> Maybe Text
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: [$sel:identityPoolId:MergeDeveloperIdentities'] :: MergeDeveloperIdentities -> Text
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: [$sel:sourceUserIdentifier:MergeDeveloperIdentities'] :: MergeDeveloperIdentities -> Text
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: data MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: data MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Classes.Eq Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Classes.Eq Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Generics.Generic Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Generics.Generic Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Read.Read Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Read.Read Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Show.Show Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: instance GHC.Show.Show Amazonka.CognitoIdentity.MergeDeveloperIdentities.MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: mergeDeveloperIdentitiesResponse_httpStatus :: Lens' MergeDeveloperIdentitiesResponse Int
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: mergeDeveloperIdentitiesResponse_identityId :: Lens' MergeDeveloperIdentitiesResponse (Maybe Text)
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: mergeDeveloperIdentities_destinationUserIdentifier :: Lens' MergeDeveloperIdentities Text
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: mergeDeveloperIdentities_developerProviderName :: Lens' MergeDeveloperIdentities Text
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: mergeDeveloperIdentities_identityPoolId :: Lens' MergeDeveloperIdentities Text
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: mergeDeveloperIdentities_sourceUserIdentifier :: Lens' MergeDeveloperIdentities Text
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: newMergeDeveloperIdentities :: Text -> Text -> Text -> Text -> MergeDeveloperIdentities
+ Amazonka.CognitoIdentity.MergeDeveloperIdentities: newMergeDeveloperIdentitiesResponse :: Int -> MergeDeveloperIdentitiesResponse
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: SetIdentityPoolRoles' :: Maybe (HashMap Text RoleMapping) -> Text -> HashMap Text Text -> SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: SetIdentityPoolRolesResponse' :: SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: [$sel:identityPoolId:SetIdentityPoolRoles'] :: SetIdentityPoolRoles -> Text
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: [$sel:roleMappings:SetIdentityPoolRoles'] :: SetIdentityPoolRoles -> Maybe (HashMap Text RoleMapping)
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: [$sel:roles:SetIdentityPoolRoles'] :: SetIdentityPoolRoles -> HashMap Text Text
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: data SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: data SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Classes.Eq Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Classes.Eq Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Generics.Generic Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Generics.Generic Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Read.Read Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Read.Read Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Show.Show Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: instance GHC.Show.Show Amazonka.CognitoIdentity.SetIdentityPoolRoles.SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: newSetIdentityPoolRoles :: Text -> SetIdentityPoolRoles
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: newSetIdentityPoolRolesResponse :: SetIdentityPoolRolesResponse
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: setIdentityPoolRoles_identityPoolId :: Lens' SetIdentityPoolRoles Text
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: setIdentityPoolRoles_roleMappings :: Lens' SetIdentityPoolRoles (Maybe (HashMap Text RoleMapping))
+ Amazonka.CognitoIdentity.SetIdentityPoolRoles: setIdentityPoolRoles_roles :: Lens' SetIdentityPoolRoles (HashMap Text Text)
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: SetPrincipalTagAttributeMap' :: Maybe (HashMap Text Text) -> Maybe Bool -> Text -> Text -> SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: SetPrincipalTagAttributeMapResponse' :: Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Bool -> Int -> SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: [$sel:httpStatus:SetPrincipalTagAttributeMapResponse'] :: SetPrincipalTagAttributeMapResponse -> Int
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: [$sel:identityPoolId:SetPrincipalTagAttributeMap'] :: SetPrincipalTagAttributeMap -> Text
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: [$sel:identityPoolId:SetPrincipalTagAttributeMapResponse'] :: SetPrincipalTagAttributeMapResponse -> Maybe Text
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: [$sel:identityProviderName:SetPrincipalTagAttributeMap'] :: SetPrincipalTagAttributeMap -> Text
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: [$sel:identityProviderName:SetPrincipalTagAttributeMapResponse'] :: SetPrincipalTagAttributeMapResponse -> Maybe Text
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: [$sel:principalTags:SetPrincipalTagAttributeMap'] :: SetPrincipalTagAttributeMap -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: [$sel:principalTags:SetPrincipalTagAttributeMapResponse'] :: SetPrincipalTagAttributeMapResponse -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: [$sel:useDefaults:SetPrincipalTagAttributeMap'] :: SetPrincipalTagAttributeMap -> Maybe Bool
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: [$sel:useDefaults:SetPrincipalTagAttributeMapResponse'] :: SetPrincipalTagAttributeMapResponse -> Maybe Bool
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: data SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: data SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance GHC.Classes.Eq Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance GHC.Classes.Eq Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance GHC.Generics.Generic Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance GHC.Generics.Generic Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance GHC.Read.Read Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance GHC.Read.Read Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance GHC.Show.Show Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: instance GHC.Show.Show Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap.SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: newSetPrincipalTagAttributeMap :: Text -> Text -> SetPrincipalTagAttributeMap
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: newSetPrincipalTagAttributeMapResponse :: Int -> SetPrincipalTagAttributeMapResponse
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: setPrincipalTagAttributeMapResponse_httpStatus :: Lens' SetPrincipalTagAttributeMapResponse Int
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: setPrincipalTagAttributeMapResponse_identityPoolId :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Text)
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: setPrincipalTagAttributeMapResponse_identityProviderName :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Text)
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: setPrincipalTagAttributeMapResponse_principalTags :: Lens' SetPrincipalTagAttributeMapResponse (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: setPrincipalTagAttributeMapResponse_useDefaults :: Lens' SetPrincipalTagAttributeMapResponse (Maybe Bool)
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: setPrincipalTagAttributeMap_identityPoolId :: Lens' SetPrincipalTagAttributeMap Text
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: setPrincipalTagAttributeMap_identityProviderName :: Lens' SetPrincipalTagAttributeMap Text
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: setPrincipalTagAttributeMap_principalTags :: Lens' SetPrincipalTagAttributeMap (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap: setPrincipalTagAttributeMap_useDefaults :: Lens' SetPrincipalTagAttributeMap (Maybe Bool)
+ Amazonka.CognitoIdentity.TagResource: TagResource' :: Text -> HashMap Text Text -> TagResource
+ Amazonka.CognitoIdentity.TagResource: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.CognitoIdentity.TagResource: [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
+ Amazonka.CognitoIdentity.TagResource: [$sel:resourceArn:TagResource'] :: TagResource -> Text
+ Amazonka.CognitoIdentity.TagResource: [$sel:tags:TagResource'] :: TagResource -> HashMap Text Text
+ Amazonka.CognitoIdentity.TagResource: data TagResource
+ Amazonka.CognitoIdentity.TagResource: data TagResourceResponse
+ Amazonka.CognitoIdentity.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.TagResource.TagResourceResponse
+ Amazonka.CognitoIdentity.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance GHC.Classes.Eq Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance GHC.Classes.Eq Amazonka.CognitoIdentity.TagResource.TagResourceResponse
+ Amazonka.CognitoIdentity.TagResource: instance GHC.Generics.Generic Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance GHC.Generics.Generic Amazonka.CognitoIdentity.TagResource.TagResourceResponse
+ Amazonka.CognitoIdentity.TagResource: instance GHC.Read.Read Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance GHC.Read.Read Amazonka.CognitoIdentity.TagResource.TagResourceResponse
+ Amazonka.CognitoIdentity.TagResource: instance GHC.Show.Show Amazonka.CognitoIdentity.TagResource.TagResource
+ Amazonka.CognitoIdentity.TagResource: instance GHC.Show.Show Amazonka.CognitoIdentity.TagResource.TagResourceResponse
+ Amazonka.CognitoIdentity.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.CognitoIdentity.TagResource: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.CognitoIdentity.TagResource: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.CognitoIdentity.TagResource: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.CognitoIdentity.TagResource: tagResource_tags :: Lens' TagResource (HashMap Text Text)
+ Amazonka.CognitoIdentity.Types: AmbiguousRoleResolutionType' :: Text -> AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types: CognitoErrorCode' :: Text -> CognitoErrorCode
+ Amazonka.CognitoIdentity.Types: CognitoIdentityProvider' :: Maybe Text -> Maybe Text -> Maybe Bool -> CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types: Credentials' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Credentials
+ Amazonka.CognitoIdentity.Types: IdentityDescription' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe [Text] -> IdentityDescription
+ Amazonka.CognitoIdentity.Types: IdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.Types: IdentityPoolShortDescription' :: Maybe Text -> Maybe Text -> IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types: MappingRule' :: Text -> MappingRuleMatchType -> Text -> Text -> MappingRule
+ Amazonka.CognitoIdentity.Types: MappingRuleMatchType' :: Text -> MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types: RoleMapping' :: Maybe AmbiguousRoleResolutionType -> Maybe RulesConfigurationType -> RoleMappingType -> RoleMapping
+ Amazonka.CognitoIdentity.Types: RoleMappingType' :: Text -> RoleMappingType
+ Amazonka.CognitoIdentity.Types: RulesConfigurationType' :: NonEmpty MappingRule -> RulesConfigurationType
+ Amazonka.CognitoIdentity.Types: UnprocessedIdentityId' :: Maybe CognitoErrorCode -> Maybe Text -> UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types: [$sel:accessKeyId:Credentials'] :: Credentials -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:allowClassicFlow:IdentityPool'] :: IdentityPool -> Maybe Bool
+ Amazonka.CognitoIdentity.Types: [$sel:allowUnauthenticatedIdentities:IdentityPool'] :: IdentityPool -> Bool
+ Amazonka.CognitoIdentity.Types: [$sel:ambiguousRoleResolution:RoleMapping'] :: RoleMapping -> Maybe AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types: [$sel:claim:MappingRule'] :: MappingRule -> Text
+ Amazonka.CognitoIdentity.Types: [$sel:clientId:CognitoIdentityProvider'] :: CognitoIdentityProvider -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:cognitoIdentityProviders:IdentityPool'] :: IdentityPool -> Maybe [CognitoIdentityProvider]
+ Amazonka.CognitoIdentity.Types: [$sel:creationDate:IdentityDescription'] :: IdentityDescription -> Maybe POSIX
+ Amazonka.CognitoIdentity.Types: [$sel:developerProviderName:IdentityPool'] :: IdentityPool -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:errorCode:UnprocessedIdentityId'] :: UnprocessedIdentityId -> Maybe CognitoErrorCode
+ Amazonka.CognitoIdentity.Types: [$sel:expiration:Credentials'] :: Credentials -> Maybe POSIX
+ Amazonka.CognitoIdentity.Types: [$sel:identityId:IdentityDescription'] :: IdentityDescription -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:identityId:UnprocessedIdentityId'] :: UnprocessedIdentityId -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:identityPoolId:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.Types: [$sel:identityPoolId:IdentityPoolShortDescription'] :: IdentityPoolShortDescription -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:identityPoolName:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.Types: [$sel:identityPoolName:IdentityPoolShortDescription'] :: IdentityPoolShortDescription -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:identityPoolTags:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.Types: [$sel:lastModifiedDate:IdentityDescription'] :: IdentityDescription -> Maybe POSIX
+ Amazonka.CognitoIdentity.Types: [$sel:logins:IdentityDescription'] :: IdentityDescription -> Maybe [Text]
+ Amazonka.CognitoIdentity.Types: [$sel:matchType:MappingRule'] :: MappingRule -> MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types: [$sel:openIdConnectProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.Types: [$sel:providerName:CognitoIdentityProvider'] :: CognitoIdentityProvider -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:roleARN:MappingRule'] :: MappingRule -> Text
+ Amazonka.CognitoIdentity.Types: [$sel:rules:RulesConfigurationType'] :: RulesConfigurationType -> NonEmpty MappingRule
+ Amazonka.CognitoIdentity.Types: [$sel:rulesConfiguration:RoleMapping'] :: RoleMapping -> Maybe RulesConfigurationType
+ Amazonka.CognitoIdentity.Types: [$sel:samlProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.Types: [$sel:secretKey:Credentials'] :: Credentials -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:serverSideTokenCheck:CognitoIdentityProvider'] :: CognitoIdentityProvider -> Maybe Bool
+ Amazonka.CognitoIdentity.Types: [$sel:sessionToken:Credentials'] :: Credentials -> Maybe Text
+ Amazonka.CognitoIdentity.Types: [$sel:supportedLoginProviders:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.Types: [$sel:type':RoleMapping'] :: RoleMapping -> RoleMappingType
+ Amazonka.CognitoIdentity.Types: [$sel:value:MappingRule'] :: MappingRule -> Text
+ Amazonka.CognitoIdentity.Types: [fromAmbiguousRoleResolutionType] :: AmbiguousRoleResolutionType -> Text
+ Amazonka.CognitoIdentity.Types: [fromCognitoErrorCode] :: CognitoErrorCode -> Text
+ Amazonka.CognitoIdentity.Types: [fromMappingRuleMatchType] :: MappingRuleMatchType -> Text
+ Amazonka.CognitoIdentity.Types: [fromRoleMappingType] :: RoleMappingType -> Text
+ Amazonka.CognitoIdentity.Types: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _DeveloperUserAlreadyRegisteredException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _ExternalServiceException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _InternalErrorException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _InvalidIdentityPoolConfigurationException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _InvalidParameterException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _NotAuthorizedException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _ResourceConflictException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.CognitoIdentity.Types: cognitoIdentityProvider_clientId :: Lens' CognitoIdentityProvider (Maybe Text)
+ Amazonka.CognitoIdentity.Types: cognitoIdentityProvider_providerName :: Lens' CognitoIdentityProvider (Maybe Text)
+ Amazonka.CognitoIdentity.Types: cognitoIdentityProvider_serverSideTokenCheck :: Lens' CognitoIdentityProvider (Maybe Bool)
+ Amazonka.CognitoIdentity.Types: credentials_accessKeyId :: Lens' Credentials (Maybe Text)
+ Amazonka.CognitoIdentity.Types: credentials_expiration :: Lens' Credentials (Maybe UTCTime)
+ Amazonka.CognitoIdentity.Types: credentials_secretKey :: Lens' Credentials (Maybe Text)
+ Amazonka.CognitoIdentity.Types: credentials_sessionToken :: Lens' Credentials (Maybe Text)
+ Amazonka.CognitoIdentity.Types: data CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types: data Credentials
+ Amazonka.CognitoIdentity.Types: data IdentityDescription
+ Amazonka.CognitoIdentity.Types: data IdentityPool
+ Amazonka.CognitoIdentity.Types: data IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types: data MappingRule
+ Amazonka.CognitoIdentity.Types: data RoleMapping
+ Amazonka.CognitoIdentity.Types: data RulesConfigurationType
+ Amazonka.CognitoIdentity.Types: data UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types: defaultService :: Service
+ Amazonka.CognitoIdentity.Types: identityDescription_creationDate :: Lens' IdentityDescription (Maybe UTCTime)
+ Amazonka.CognitoIdentity.Types: identityDescription_identityId :: Lens' IdentityDescription (Maybe Text)
+ Amazonka.CognitoIdentity.Types: identityDescription_lastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)
+ Amazonka.CognitoIdentity.Types: identityDescription_logins :: Lens' IdentityDescription (Maybe [Text])
+ Amazonka.CognitoIdentity.Types: identityPoolShortDescription_identityPoolId :: Lens' IdentityPoolShortDescription (Maybe Text)
+ Amazonka.CognitoIdentity.Types: identityPoolShortDescription_identityPoolName :: Lens' IdentityPoolShortDescription (Maybe Text)
+ Amazonka.CognitoIdentity.Types: identityPool_allowClassicFlow :: Lens' IdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.Types: identityPool_allowUnauthenticatedIdentities :: Lens' IdentityPool Bool
+ Amazonka.CognitoIdentity.Types: identityPool_cognitoIdentityProviders :: Lens' IdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.Types: identityPool_developerProviderName :: Lens' IdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.Types: identityPool_identityPoolId :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.Types: identityPool_identityPoolName :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.Types: identityPool_identityPoolTags :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Types: identityPool_openIdConnectProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Types: identityPool_samlProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Types: identityPool_supportedLoginProviders :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Types: mappingRule_claim :: Lens' MappingRule Text
+ Amazonka.CognitoIdentity.Types: mappingRule_matchType :: Lens' MappingRule MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types: mappingRule_roleARN :: Lens' MappingRule Text
+ Amazonka.CognitoIdentity.Types: mappingRule_value :: Lens' MappingRule Text
+ Amazonka.CognitoIdentity.Types: newCognitoIdentityProvider :: CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types: newCredentials :: Credentials
+ Amazonka.CognitoIdentity.Types: newIdentityDescription :: IdentityDescription
+ Amazonka.CognitoIdentity.Types: newIdentityPool :: Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.Types: newIdentityPoolShortDescription :: IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types: newMappingRule :: Text -> MappingRuleMatchType -> Text -> Text -> MappingRule
+ Amazonka.CognitoIdentity.Types: newRoleMapping :: RoleMappingType -> RoleMapping
+ Amazonka.CognitoIdentity.Types: newRulesConfigurationType :: NonEmpty MappingRule -> RulesConfigurationType
+ Amazonka.CognitoIdentity.Types: newUnprocessedIdentityId :: UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types: newtype AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types: newtype CognitoErrorCode
+ Amazonka.CognitoIdentity.Types: newtype MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types: newtype RoleMappingType
+ Amazonka.CognitoIdentity.Types: pattern AmbiguousRoleResolutionType_AuthenticatedRole :: AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types: pattern AmbiguousRoleResolutionType_Deny :: AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types: pattern CognitoErrorCode_AccessDenied :: CognitoErrorCode
+ Amazonka.CognitoIdentity.Types: pattern CognitoErrorCode_InternalServerError :: CognitoErrorCode
+ Amazonka.CognitoIdentity.Types: pattern MappingRuleMatchType_Contains :: MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types: pattern MappingRuleMatchType_Equals :: MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types: pattern MappingRuleMatchType_NotEqual :: MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types: pattern MappingRuleMatchType_StartsWith :: MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types: pattern RoleMappingType_Rules :: RoleMappingType
+ Amazonka.CognitoIdentity.Types: pattern RoleMappingType_Token :: RoleMappingType
+ Amazonka.CognitoIdentity.Types: roleMapping_ambiguousRoleResolution :: Lens' RoleMapping (Maybe AmbiguousRoleResolutionType)
+ Amazonka.CognitoIdentity.Types: roleMapping_rulesConfiguration :: Lens' RoleMapping (Maybe RulesConfigurationType)
+ Amazonka.CognitoIdentity.Types: roleMapping_type :: Lens' RoleMapping RoleMappingType
+ Amazonka.CognitoIdentity.Types: rulesConfigurationType_rules :: Lens' RulesConfigurationType (NonEmpty MappingRule)
+ Amazonka.CognitoIdentity.Types: unprocessedIdentityId_errorCode :: Lens' UnprocessedIdentityId (Maybe CognitoErrorCode)
+ Amazonka.CognitoIdentity.Types: unprocessedIdentityId_identityId :: Lens' UnprocessedIdentityId (Maybe Text)
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: AmbiguousRoleResolutionType' :: Text -> AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: [fromAmbiguousRoleResolutionType] :: AmbiguousRoleResolutionType -> Text
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Amazonka.Data.ByteString.ToByteString Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Amazonka.Data.Headers.ToHeader Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Amazonka.Data.Log.ToLog Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Amazonka.Data.Text.FromText Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Amazonka.Data.Text.ToText Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Amazonka.Data.XML.FromXML Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Amazonka.Data.XML.ToXML Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance GHC.Classes.Ord Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType.AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: newtype AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: pattern AmbiguousRoleResolutionType_AuthenticatedRole :: AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType: pattern AmbiguousRoleResolutionType_Deny :: AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: CognitoErrorCode' :: Text -> CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: [fromCognitoErrorCode] :: CognitoErrorCode -> Text
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Amazonka.Data.Headers.ToHeader Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Amazonka.Data.Log.ToLog Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Amazonka.Data.Text.FromText Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Amazonka.Data.Text.ToText Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Amazonka.Data.XML.FromXML Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Amazonka.Data.XML.ToXML Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance GHC.Classes.Ord Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.CognitoErrorCode.CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: newtype CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: pattern CognitoErrorCode_AccessDenied :: CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoErrorCode: pattern CognitoErrorCode_InternalServerError :: CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: CognitoIdentityProvider' :: Maybe Text -> Maybe Text -> Maybe Bool -> CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: [$sel:clientId:CognitoIdentityProvider'] :: CognitoIdentityProvider -> Maybe Text
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: [$sel:providerName:CognitoIdentityProvider'] :: CognitoIdentityProvider -> Maybe Text
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: [$sel:serverSideTokenCheck:CognitoIdentityProvider'] :: CognitoIdentityProvider -> Maybe Bool
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: cognitoIdentityProvider_clientId :: Lens' CognitoIdentityProvider (Maybe Text)
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: cognitoIdentityProvider_providerName :: Lens' CognitoIdentityProvider (Maybe Text)
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: cognitoIdentityProvider_serverSideTokenCheck :: Lens' CognitoIdentityProvider (Maybe Bool)
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: data CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.CognitoIdentityProvider.CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.CognitoIdentityProvider.CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.Types.CognitoIdentityProvider.CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.CognitoIdentityProvider.CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.CognitoIdentityProvider.CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.CognitoIdentityProvider.CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.CognitoIdentityProvider.CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.CognitoIdentityProvider.CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider: newCognitoIdentityProvider :: CognitoIdentityProvider
+ Amazonka.CognitoIdentity.Types.Credentials: Credentials' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Credentials
+ Amazonka.CognitoIdentity.Types.Credentials: [$sel:accessKeyId:Credentials'] :: Credentials -> Maybe Text
+ Amazonka.CognitoIdentity.Types.Credentials: [$sel:expiration:Credentials'] :: Credentials -> Maybe POSIX
+ Amazonka.CognitoIdentity.Types.Credentials: [$sel:secretKey:Credentials'] :: Credentials -> Maybe Text
+ Amazonka.CognitoIdentity.Types.Credentials: [$sel:sessionToken:Credentials'] :: Credentials -> Maybe Text
+ Amazonka.CognitoIdentity.Types.Credentials: credentials_accessKeyId :: Lens' Credentials (Maybe Text)
+ Amazonka.CognitoIdentity.Types.Credentials: credentials_expiration :: Lens' Credentials (Maybe UTCTime)
+ Amazonka.CognitoIdentity.Types.Credentials: credentials_secretKey :: Lens' Credentials (Maybe Text)
+ Amazonka.CognitoIdentity.Types.Credentials: credentials_sessionToken :: Lens' Credentials (Maybe Text)
+ Amazonka.CognitoIdentity.Types.Credentials: data Credentials
+ Amazonka.CognitoIdentity.Types.Credentials: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.Credentials.Credentials
+ Amazonka.CognitoIdentity.Types.Credentials: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.Credentials.Credentials
+ Amazonka.CognitoIdentity.Types.Credentials: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.Credentials.Credentials
+ Amazonka.CognitoIdentity.Types.Credentials: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.Credentials.Credentials
+ Amazonka.CognitoIdentity.Types.Credentials: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.Credentials.Credentials
+ Amazonka.CognitoIdentity.Types.Credentials: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.Credentials.Credentials
+ Amazonka.CognitoIdentity.Types.Credentials: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.Credentials.Credentials
+ Amazonka.CognitoIdentity.Types.Credentials: newCredentials :: Credentials
+ Amazonka.CognitoIdentity.Types.IdentityDescription: IdentityDescription' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe [Text] -> IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityDescription: [$sel:creationDate:IdentityDescription'] :: IdentityDescription -> Maybe POSIX
+ Amazonka.CognitoIdentity.Types.IdentityDescription: [$sel:identityId:IdentityDescription'] :: IdentityDescription -> Maybe Text
+ Amazonka.CognitoIdentity.Types.IdentityDescription: [$sel:lastModifiedDate:IdentityDescription'] :: IdentityDescription -> Maybe POSIX
+ Amazonka.CognitoIdentity.Types.IdentityDescription: [$sel:logins:IdentityDescription'] :: IdentityDescription -> Maybe [Text]
+ Amazonka.CognitoIdentity.Types.IdentityDescription: data IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityDescription: identityDescription_creationDate :: Lens' IdentityDescription (Maybe UTCTime)
+ Amazonka.CognitoIdentity.Types.IdentityDescription: identityDescription_identityId :: Lens' IdentityDescription (Maybe Text)
+ Amazonka.CognitoIdentity.Types.IdentityDescription: identityDescription_lastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)
+ Amazonka.CognitoIdentity.Types.IdentityDescription: identityDescription_logins :: Lens' IdentityDescription (Maybe [Text])
+ Amazonka.CognitoIdentity.Types.IdentityDescription: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.IdentityDescription.IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityDescription: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.IdentityDescription.IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityDescription: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.IdentityDescription.IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityDescription: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.IdentityDescription.IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityDescription: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.IdentityDescription.IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityDescription: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.IdentityDescription.IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityDescription: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.IdentityDescription.IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityDescription: newIdentityDescription :: IdentityDescription
+ Amazonka.CognitoIdentity.Types.IdentityPool: IdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:allowClassicFlow:IdentityPool'] :: IdentityPool -> Maybe Bool
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:allowUnauthenticatedIdentities:IdentityPool'] :: IdentityPool -> Bool
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:cognitoIdentityProviders:IdentityPool'] :: IdentityPool -> Maybe [CognitoIdentityProvider]
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:developerProviderName:IdentityPool'] :: IdentityPool -> Maybe Text
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:identityPoolId:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:identityPoolName:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:identityPoolTags:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:openIdConnectProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:samlProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.Types.IdentityPool: [$sel:supportedLoginProviders:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.Types.IdentityPool: data IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_allowClassicFlow :: Lens' IdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_allowUnauthenticatedIdentities :: Lens' IdentityPool Bool
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_cognitoIdentityProviders :: Lens' IdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_developerProviderName :: Lens' IdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_identityPoolId :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_identityPoolName :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_identityPoolTags :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_openIdConnectProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_samlProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.Types.IdentityPool: identityPool_supportedLoginProviders :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.Types.IdentityPool: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.IdentityPool.IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.IdentityPool.IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.Types.IdentityPool.IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.IdentityPool.IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.IdentityPool.IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.IdentityPool.IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.IdentityPool.IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.IdentityPool.IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPool: newIdentityPool :: Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: IdentityPoolShortDescription' :: Maybe Text -> Maybe Text -> IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: [$sel:identityPoolId:IdentityPoolShortDescription'] :: IdentityPoolShortDescription -> Maybe Text
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: [$sel:identityPoolName:IdentityPoolShortDescription'] :: IdentityPoolShortDescription -> Maybe Text
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: data IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: identityPoolShortDescription_identityPoolId :: Lens' IdentityPoolShortDescription (Maybe Text)
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: identityPoolShortDescription_identityPoolName :: Lens' IdentityPoolShortDescription (Maybe Text)
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription.IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription.IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription.IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription.IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription.IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription.IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription.IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription: newIdentityPoolShortDescription :: IdentityPoolShortDescription
+ Amazonka.CognitoIdentity.Types.MappingRule: MappingRule' :: Text -> MappingRuleMatchType -> Text -> Text -> MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: [$sel:claim:MappingRule'] :: MappingRule -> Text
+ Amazonka.CognitoIdentity.Types.MappingRule: [$sel:matchType:MappingRule'] :: MappingRule -> MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRule: [$sel:roleARN:MappingRule'] :: MappingRule -> Text
+ Amazonka.CognitoIdentity.Types.MappingRule: [$sel:value:MappingRule'] :: MappingRule -> Text
+ Amazonka.CognitoIdentity.Types.MappingRule: data MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.MappingRule.MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.MappingRule.MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.Types.MappingRule.MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.MappingRule.MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.MappingRule.MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.MappingRule.MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.MappingRule.MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.MappingRule.MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRule: mappingRule_claim :: Lens' MappingRule Text
+ Amazonka.CognitoIdentity.Types.MappingRule: mappingRule_matchType :: Lens' MappingRule MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRule: mappingRule_roleARN :: Lens' MappingRule Text
+ Amazonka.CognitoIdentity.Types.MappingRule: mappingRule_value :: Lens' MappingRule Text
+ Amazonka.CognitoIdentity.Types.MappingRule: newMappingRule :: Text -> MappingRuleMatchType -> Text -> Text -> MappingRule
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: MappingRuleMatchType' :: Text -> MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: [fromMappingRuleMatchType] :: MappingRuleMatchType -> Text
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Amazonka.Data.ByteString.ToByteString Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Amazonka.Data.Headers.ToHeader Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Amazonka.Data.Log.ToLog Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Amazonka.Data.Text.FromText Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Amazonka.Data.Text.ToText Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Amazonka.Data.XML.FromXML Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Amazonka.Data.XML.ToXML Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance GHC.Classes.Ord Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.MappingRuleMatchType.MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: newtype MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: pattern MappingRuleMatchType_Contains :: MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: pattern MappingRuleMatchType_Equals :: MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: pattern MappingRuleMatchType_NotEqual :: MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType: pattern MappingRuleMatchType_StartsWith :: MappingRuleMatchType
+ Amazonka.CognitoIdentity.Types.RoleMapping: RoleMapping' :: Maybe AmbiguousRoleResolutionType -> Maybe RulesConfigurationType -> RoleMappingType -> RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: [$sel:ambiguousRoleResolution:RoleMapping'] :: RoleMapping -> Maybe AmbiguousRoleResolutionType
+ Amazonka.CognitoIdentity.Types.RoleMapping: [$sel:rulesConfiguration:RoleMapping'] :: RoleMapping -> Maybe RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RoleMapping: [$sel:type':RoleMapping'] :: RoleMapping -> RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMapping: data RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.RoleMapping.RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.RoleMapping.RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.Types.RoleMapping.RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.RoleMapping.RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.RoleMapping.RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.RoleMapping.RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.RoleMapping.RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.RoleMapping.RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: newRoleMapping :: RoleMappingType -> RoleMapping
+ Amazonka.CognitoIdentity.Types.RoleMapping: roleMapping_ambiguousRoleResolution :: Lens' RoleMapping (Maybe AmbiguousRoleResolutionType)
+ Amazonka.CognitoIdentity.Types.RoleMapping: roleMapping_rulesConfiguration :: Lens' RoleMapping (Maybe RulesConfigurationType)
+ Amazonka.CognitoIdentity.Types.RoleMapping: roleMapping_type :: Lens' RoleMapping RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: RoleMappingType' :: Text -> RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: [fromRoleMappingType] :: RoleMappingType -> Text
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Amazonka.Data.ByteString.ToByteString Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Amazonka.Data.Headers.ToHeader Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Amazonka.Data.Log.ToLog Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Amazonka.Data.Text.FromText Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Amazonka.Data.Text.ToText Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Amazonka.Data.XML.FromXML Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Amazonka.Data.XML.ToXML Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance GHC.Classes.Ord Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.RoleMappingType.RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: newtype RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: pattern RoleMappingType_Rules :: RoleMappingType
+ Amazonka.CognitoIdentity.Types.RoleMappingType: pattern RoleMappingType_Token :: RoleMappingType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: RulesConfigurationType' :: NonEmpty MappingRule -> RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: [$sel:rules:RulesConfigurationType'] :: RulesConfigurationType -> NonEmpty MappingRule
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: data RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.RulesConfigurationType.RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.RulesConfigurationType.RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.Types.RulesConfigurationType.RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.RulesConfigurationType.RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.RulesConfigurationType.RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.RulesConfigurationType.RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.RulesConfigurationType.RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.RulesConfigurationType.RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: newRulesConfigurationType :: NonEmpty MappingRule -> RulesConfigurationType
+ Amazonka.CognitoIdentity.Types.RulesConfigurationType: rulesConfigurationType_rules :: Lens' RulesConfigurationType (NonEmpty MappingRule)
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: UnprocessedIdentityId' :: Maybe CognitoErrorCode -> Maybe Text -> UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: [$sel:errorCode:UnprocessedIdentityId'] :: UnprocessedIdentityId -> Maybe CognitoErrorCode
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: [$sel:identityId:UnprocessedIdentityId'] :: UnprocessedIdentityId -> Maybe Text
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: data UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.Types.UnprocessedIdentityId.UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CognitoIdentity.Types.UnprocessedIdentityId.UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.Types.UnprocessedIdentityId.UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: instance GHC.Classes.Eq Amazonka.CognitoIdentity.Types.UnprocessedIdentityId.UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: instance GHC.Generics.Generic Amazonka.CognitoIdentity.Types.UnprocessedIdentityId.UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: instance GHC.Read.Read Amazonka.CognitoIdentity.Types.UnprocessedIdentityId.UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: instance GHC.Show.Show Amazonka.CognitoIdentity.Types.UnprocessedIdentityId.UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: newUnprocessedIdentityId :: UnprocessedIdentityId
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: unprocessedIdentityId_errorCode :: Lens' UnprocessedIdentityId (Maybe CognitoErrorCode)
+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId: unprocessedIdentityId_identityId :: Lens' UnprocessedIdentityId (Maybe Text)
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: UnlinkDeveloperIdentity' :: Text -> Text -> Text -> Text -> UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: UnlinkDeveloperIdentityResponse' :: UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: [$sel:developerProviderName:UnlinkDeveloperIdentity'] :: UnlinkDeveloperIdentity -> Text
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: [$sel:developerUserIdentifier:UnlinkDeveloperIdentity'] :: UnlinkDeveloperIdentity -> Text
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: [$sel:identityId:UnlinkDeveloperIdentity'] :: UnlinkDeveloperIdentity -> Text
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: [$sel:identityPoolId:UnlinkDeveloperIdentity'] :: UnlinkDeveloperIdentity -> Text
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: data UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: data UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.UnlinkDeveloperIdentity.UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: newUnlinkDeveloperIdentity :: Text -> Text -> Text -> Text -> UnlinkDeveloperIdentity
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: newUnlinkDeveloperIdentityResponse :: UnlinkDeveloperIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: unlinkDeveloperIdentity_developerProviderName :: Lens' UnlinkDeveloperIdentity Text
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: unlinkDeveloperIdentity_developerUserIdentifier :: Lens' UnlinkDeveloperIdentity Text
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: unlinkDeveloperIdentity_identityId :: Lens' UnlinkDeveloperIdentity Text
+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity: unlinkDeveloperIdentity_identityPoolId :: Lens' UnlinkDeveloperIdentity Text
+ Amazonka.CognitoIdentity.UnlinkIdentity: UnlinkIdentity' :: Text -> HashMap Text Text -> [Text] -> UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: UnlinkIdentityResponse' :: UnlinkIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkIdentity: [$sel:identityId:UnlinkIdentity'] :: UnlinkIdentity -> Text
+ Amazonka.CognitoIdentity.UnlinkIdentity: [$sel:logins:UnlinkIdentity'] :: UnlinkIdentity -> HashMap Text Text
+ Amazonka.CognitoIdentity.UnlinkIdentity: [$sel:loginsToRemove:UnlinkIdentity'] :: UnlinkIdentity -> [Text]
+ Amazonka.CognitoIdentity.UnlinkIdentity: data UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: data UnlinkIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance GHC.Classes.Eq Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance GHC.Generics.Generic Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance GHC.Read.Read Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: instance GHC.Show.Show Amazonka.CognitoIdentity.UnlinkIdentity.UnlinkIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkIdentity: newUnlinkIdentity :: Text -> UnlinkIdentity
+ Amazonka.CognitoIdentity.UnlinkIdentity: newUnlinkIdentityResponse :: UnlinkIdentityResponse
+ Amazonka.CognitoIdentity.UnlinkIdentity: unlinkIdentity_identityId :: Lens' UnlinkIdentity Text
+ Amazonka.CognitoIdentity.UnlinkIdentity: unlinkIdentity_logins :: Lens' UnlinkIdentity (HashMap Text Text)
+ Amazonka.CognitoIdentity.UnlinkIdentity: unlinkIdentity_loginsToRemove :: Lens' UnlinkIdentity [Text]
+ Amazonka.CognitoIdentity.UntagResource: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.CognitoIdentity.UntagResource: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.CognitoIdentity.UntagResource: [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
+ Amazonka.CognitoIdentity.UntagResource: [$sel:resourceArn:UntagResource'] :: UntagResource -> Text
+ Amazonka.CognitoIdentity.UntagResource: [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
+ Amazonka.CognitoIdentity.UntagResource: data UntagResource
+ Amazonka.CognitoIdentity.UntagResource: data UntagResourceResponse
+ Amazonka.CognitoIdentity.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.UntagResource.UntagResourceResponse
+ Amazonka.CognitoIdentity.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance GHC.Classes.Eq Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance GHC.Classes.Eq Amazonka.CognitoIdentity.UntagResource.UntagResourceResponse
+ Amazonka.CognitoIdentity.UntagResource: instance GHC.Generics.Generic Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance GHC.Generics.Generic Amazonka.CognitoIdentity.UntagResource.UntagResourceResponse
+ Amazonka.CognitoIdentity.UntagResource: instance GHC.Read.Read Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance GHC.Read.Read Amazonka.CognitoIdentity.UntagResource.UntagResourceResponse
+ Amazonka.CognitoIdentity.UntagResource: instance GHC.Show.Show Amazonka.CognitoIdentity.UntagResource.UntagResource
+ Amazonka.CognitoIdentity.UntagResource: instance GHC.Show.Show Amazonka.CognitoIdentity.UntagResource.UntagResourceResponse
+ Amazonka.CognitoIdentity.UntagResource: newUntagResource :: Text -> UntagResource
+ Amazonka.CognitoIdentity.UntagResource: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.CognitoIdentity.UntagResource: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.CognitoIdentity.UntagResource: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.CognitoIdentity.UntagResource: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.CognitoIdentity.UpdateIdentityPool: IdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: UpdateIdentityPool' :: Maybe Bool -> Maybe [CognitoIdentityProvider] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Bool -> UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:allowClassicFlow:IdentityPool'] :: IdentityPool -> Maybe Bool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:allowClassicFlow:UpdateIdentityPool'] :: UpdateIdentityPool -> Maybe Bool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:allowUnauthenticatedIdentities:IdentityPool'] :: IdentityPool -> Bool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:allowUnauthenticatedIdentities:UpdateIdentityPool'] :: UpdateIdentityPool -> Bool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:cognitoIdentityProviders:IdentityPool'] :: IdentityPool -> Maybe [CognitoIdentityProvider]
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:cognitoIdentityProviders:UpdateIdentityPool'] :: UpdateIdentityPool -> Maybe [CognitoIdentityProvider]
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:developerProviderName:IdentityPool'] :: IdentityPool -> Maybe Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:developerProviderName:UpdateIdentityPool'] :: UpdateIdentityPool -> Maybe Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:identityPoolId:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:identityPoolId:UpdateIdentityPool'] :: UpdateIdentityPool -> Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:identityPoolName:IdentityPool'] :: IdentityPool -> Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:identityPoolName:UpdateIdentityPool'] :: UpdateIdentityPool -> Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:identityPoolTags:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:identityPoolTags:UpdateIdentityPool'] :: UpdateIdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:openIdConnectProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:openIdConnectProviderARNs:UpdateIdentityPool'] :: UpdateIdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:samlProviderARNs:IdentityPool'] :: IdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:samlProviderARNs:UpdateIdentityPool'] :: UpdateIdentityPool -> Maybe [Text]
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:supportedLoginProviders:IdentityPool'] :: IdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.UpdateIdentityPool: [$sel:supportedLoginProviders:UpdateIdentityPool'] :: UpdateIdentityPool -> Maybe (HashMap Text Text)
+ Amazonka.CognitoIdentity.UpdateIdentityPool: data IdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: data UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_allowClassicFlow :: Lens' IdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_allowUnauthenticatedIdentities :: Lens' IdentityPool Bool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_cognitoIdentityProviders :: Lens' IdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_developerProviderName :: Lens' IdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_identityPoolId :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_identityPoolName :: Lens' IdentityPool Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_identityPoolTags :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_openIdConnectProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_samlProviderARNs :: Lens' IdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.UpdateIdentityPool: identityPool_supportedLoginProviders :: Lens' IdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance Amazonka.Data.Headers.ToHeaders Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance Amazonka.Data.Path.ToPath Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance Amazonka.Data.Query.ToQuery Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance Amazonka.Types.AWSRequest Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance Control.DeepSeq.NFData Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance Data.Hashable.Class.Hashable Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance GHC.Classes.Eq Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance GHC.Generics.Generic Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance GHC.Read.Read Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: instance GHC.Show.Show Amazonka.CognitoIdentity.UpdateIdentityPool.UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: newIdentityPool :: Text -> Text -> Bool -> IdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: newUpdateIdentityPool :: Text -> Text -> Bool -> UpdateIdentityPool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_allowClassicFlow :: Lens' UpdateIdentityPool (Maybe Bool)
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_allowUnauthenticatedIdentities :: Lens' UpdateIdentityPool Bool
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_cognitoIdentityProviders :: Lens' UpdateIdentityPool (Maybe [CognitoIdentityProvider])
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_developerProviderName :: Lens' UpdateIdentityPool (Maybe Text)
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_identityPoolId :: Lens' UpdateIdentityPool Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_identityPoolName :: Lens' UpdateIdentityPool Text
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_identityPoolTags :: Lens' UpdateIdentityPool (Maybe (HashMap Text Text))
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_openIdConnectProviderARNs :: Lens' UpdateIdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_samlProviderARNs :: Lens' UpdateIdentityPool (Maybe [Text])
+ Amazonka.CognitoIdentity.UpdateIdentityPool: updateIdentityPool_supportedLoginProviders :: Lens' UpdateIdentityPool (Maybe (HashMap Text Text))
Files
- README.md +3/−4
- Setup.hs +0/−2
- amazonka-cognito-identity.cabal +108/−92
- fixture/CreateIdentityPool.yaml +10/−0
- fixture/DeleteIdentities.yaml +10/−0
- fixture/DeleteIdentityPool.yaml +10/−0
- fixture/DescribeIdentity.yaml +10/−0
- fixture/DescribeIdentityPool.yaml +10/−0
- fixture/GetCredentialsForIdentity.yaml +10/−0
- fixture/GetId.yaml +10/−0
- fixture/GetIdentityPoolRoles.yaml +10/−0
- fixture/GetOpenIdToken.yaml +10/−0
- fixture/GetOpenIdTokenForDeveloperIdentity.yaml +10/−0
- fixture/GetPrincipalTagAttributeMap.yaml +10/−0
- fixture/GetPrincipalTagAttributeMapResponse.proto +0/−0
- fixture/ListIdentities.yaml +10/−0
- fixture/ListIdentityPools.yaml +10/−0
- fixture/ListTagsForResource.yaml +10/−0
- fixture/ListTagsForResourceResponse.proto +0/−0
- fixture/LookupDeveloperIdentity.yaml +10/−0
- fixture/MergeDeveloperIdentities.yaml +10/−0
- fixture/SetIdentityPoolRoles.yaml +10/−0
- fixture/SetPrincipalTagAttributeMap.yaml +10/−0
- fixture/SetPrincipalTagAttributeMapResponse.proto +0/−0
- fixture/TagResource.yaml +10/−0
- fixture/TagResourceResponse.proto +0/−0
- fixture/UnlinkDeveloperIdentity.yaml +10/−0
- fixture/UnlinkIdentity.yaml +10/−0
- fixture/UntagResource.yaml +10/−0
- fixture/UntagResourceResponse.proto +0/−0
- fixture/UpdateIdentityPool.yaml +10/−0
- gen/Amazonka/CognitoIdentity.hs +323/−0
- gen/Amazonka/CognitoIdentity/CreateIdentityPool.hs +307/−0
- gen/Amazonka/CognitoIdentity/DeleteIdentities.hs +187/−0
- gen/Amazonka/CognitoIdentity/DeleteIdentityPool.hs +144/−0
- gen/Amazonka/CognitoIdentity/DescribeIdentity.hs +127/−0
- gen/Amazonka/CognitoIdentity/DescribeIdentityPool.hs +137/−0
- gen/Amazonka/CognitoIdentity/GetCredentialsForIdentity.hs +267/−0
- gen/Amazonka/CognitoIdentity/GetId.hs +249/−0
- gen/Amazonka/CognitoIdentity/GetIdentityPoolRoles.hs +216/−0
- gen/Amazonka/CognitoIdentity/GetOpenIdToken.hs +223/−0
- gen/Amazonka/CognitoIdentity/GetOpenIdTokenForDeveloperIdentity.hs +348/−0
- gen/Amazonka/CognitoIdentity/GetPrincipalTagAttributeMap.hs +247/−0
- gen/Amazonka/CognitoIdentity/Lens.hs +300/−0
- gen/Amazonka/CognitoIdentity/ListIdentities.hs +251/−0
- gen/Amazonka/CognitoIdentity/ListIdentityPools.hs +228/−0
- gen/Amazonka/CognitoIdentity/ListTagsForResource.hs +178/−0
- gen/Amazonka/CognitoIdentity/LookupDeveloperIdentity.hs +322/−0
- gen/Amazonka/CognitoIdentity/MergeDeveloperIdentities.hs +276/−0
- gen/Amazonka/CognitoIdentity/SetIdentityPoolRoles.hs +192/−0
- gen/Amazonka/CognitoIdentity/SetPrincipalTagAttributeMap.hs +273/−0
- gen/Amazonka/CognitoIdentity/TagResource.hs +187/−0
- gen/Amazonka/CognitoIdentity/Types.hs +285/−0
- gen/Amazonka/CognitoIdentity/Types/AmbiguousRoleResolutionType.hs +71/−0
- gen/Amazonka/CognitoIdentity/Types/CognitoErrorCode.hs +71/−0
- gen/Amazonka/CognitoIdentity/Types/CognitoIdentityProvider.hs +138/−0
- gen/Amazonka/CognitoIdentity/Types/Credentials.hs +108/−0
- gen/Amazonka/CognitoIdentity/Types/IdentityDescription.hs +109/−0
- gen/Amazonka/CognitoIdentity/Types/IdentityPool.hs +256/−0
- gen/Amazonka/CognitoIdentity/Types/IdentityPoolShortDescription.hs +88/−0
- gen/Amazonka/CognitoIdentity/Types/MappingRule.hs +138/−0
- gen/Amazonka/CognitoIdentity/Types/MappingRuleMatchType.hs +81/−0
- gen/Amazonka/CognitoIdentity/Types/RoleMapping.hs +150/−0
- gen/Amazonka/CognitoIdentity/Types/RoleMappingType.hs +71/−0
- gen/Amazonka/CognitoIdentity/Types/RulesConfigurationType.hs +87/−0
- gen/Amazonka/CognitoIdentity/Types/UnprocessedIdentityId.hs +86/−0
- gen/Amazonka/CognitoIdentity/UnlinkDeveloperIdentity.hs +210/−0
- gen/Amazonka/CognitoIdentity/UnlinkIdentity.hs +173/−0
- gen/Amazonka/CognitoIdentity/UntagResource.hs +172/−0
- gen/Amazonka/CognitoIdentity/UpdateIdentityPool.hs +294/−0
- gen/Amazonka/CognitoIdentity/Waiters.hs +24/−0
- gen/Network/AWS/CognitoIdentity.hs +0/−258
- gen/Network/AWS/CognitoIdentity/CreateIdentityPool.hs +0/−191
- gen/Network/AWS/CognitoIdentity/DeleteIdentities.hs +0/−148
- gen/Network/AWS/CognitoIdentity/DeleteIdentityPool.hs +0/−117
- gen/Network/AWS/CognitoIdentity/DescribeIdentity.hs +0/−104
- gen/Network/AWS/CognitoIdentity/DescribeIdentityPool.hs +0/−110
- gen/Network/AWS/CognitoIdentity/GetCredentialsForIdentity.hs +0/−180
- gen/Network/AWS/CognitoIdentity/GetId.hs +0/−165
- gen/Network/AWS/CognitoIdentity/GetIdentityPoolRoles.hs +0/−168
- gen/Network/AWS/CognitoIdentity/GetOpenIdToken.hs +0/−167
- gen/Network/AWS/CognitoIdentity/GetOpenIdTokenForDeveloperIdentity.hs +0/−201
- gen/Network/AWS/CognitoIdentity/ListIdentities.hs +0/−199
- gen/Network/AWS/CognitoIdentity/ListIdentityPools.hs +0/−167
- gen/Network/AWS/CognitoIdentity/LookupDeveloperIdentity.hs +0/−210
- gen/Network/AWS/CognitoIdentity/MergeDeveloperIdentities.hs +0/−186
- gen/Network/AWS/CognitoIdentity/SetIdentityPoolRoles.hs +0/−139
- gen/Network/AWS/CognitoIdentity/Types.hs +0/−242
- gen/Network/AWS/CognitoIdentity/Types/Product.hs +0/−607
- gen/Network/AWS/CognitoIdentity/Types/Sum.hs +0/−143
- gen/Network/AWS/CognitoIdentity/UnlinkDeveloperIdentity.hs +0/−157
- gen/Network/AWS/CognitoIdentity/UnlinkIdentity.hs +0/−138
- gen/Network/AWS/CognitoIdentity/UpdateIdentityPool.hs +0/−190
- gen/Network/AWS/CognitoIdentity/Waiters.hs +0/−21
- test/Main.hs +11/−9
- test/Test/AWS/CognitoIdentity.hs +0/−26
- test/Test/AWS/CognitoIdentity/Internal.hs +0/−16
- test/Test/AWS/Gen/CognitoIdentity.hs +0/−363
- test/Test/Amazonka/CognitoIdentity.hs +20/−0
- test/Test/Amazonka/CognitoIdentity/Internal.hs +8/−0
- test/Test/Amazonka/Gen/CognitoIdentity.hs +498/−0
README.md view
@@ -7,9 +7,8 @@ ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2014-06-30@ of the AWS service descriptions, licensed under Apache 2.0. ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.CognitoIdentity](http://hackage.haskell.org/package/amazonka-cognito-identity/docs/Network-AWS-CognitoIdentity.html)+See [Amazonka.CognitoIdentity](http://hackage.haskell.org/package/amazonka-cognito-identity/docs/Amazonka-CognitoIdentity.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
amazonka-cognito-identity.cabal view
@@ -1,103 +1,119 @@-name: amazonka-cognito-identity-version: 1.6.1-synopsis: Amazon Cognito Identity SDK.-homepage: https://github.com/brendanhay/amazonka-bug-reports: https://github.com/brendanhay/amazonka/issues-license: MPL-2.0-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright: Copyright (c) 2013-2018 Brendan Hay-category: Network, AWS, Cloud, Distributed Computing-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version: 2.2+name: amazonka-cognito-identity+version: 2.0+synopsis: Amazon Cognito Identity SDK.+homepage: https://github.com/brendanhay/amazonka+bug-reports: https://github.com/brendanhay/amazonka/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright: Copyright (c) 2013-2023 Brendan Hay+category: AWS+build-type: Simple+extra-source-files:+ fixture/*.proto+ fixture/*.yaml+ README.md+ src/.gitkeep+ description:- The types from this library are intended to be used with- <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information, sending requests,- and receiving responses.- .- Lenses are used for constructing and manipulating types,- due to the depth of nesting of AWS types and transparency regarding- de/serialisation into more palatable Haskell values.- The provided lenses should be compatible with any of the major lens libraries- such as <http://hackage.haskell.org/package/lens lens> or- <http://hackage.haskell.org/package/lens-family-core lens-family-core>.- .- See "Network.AWS.CognitoIdentity" or <https://aws.amazon.com/documentation/ the AWS documentation>- to get started.+ Derived from API version @2014-06-30@ of the AWS service descriptions, licensed under Apache 2.0.+ .+ The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+ which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+ .+ It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+ .+ Generated lenses can be found in "Amazonka.CognitoIdentity.Lens" and are+ suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+ .+ See "Amazonka.CognitoIdentity" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git- subdir: amazonka-cognito-identity+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-cognito-identity library- default-language: Haskell2010- hs-source-dirs: src gen-- ghc-options:- -Wall- -fwarn-incomplete-uni-patterns- -fwarn-incomplete-record-updates- -funbox-strict-fields-- exposed-modules:- Network.AWS.CognitoIdentity- , Network.AWS.CognitoIdentity.CreateIdentityPool- , Network.AWS.CognitoIdentity.DeleteIdentities- , Network.AWS.CognitoIdentity.DeleteIdentityPool- , Network.AWS.CognitoIdentity.DescribeIdentity- , Network.AWS.CognitoIdentity.DescribeIdentityPool- , Network.AWS.CognitoIdentity.GetCredentialsForIdentity- , Network.AWS.CognitoIdentity.GetId- , Network.AWS.CognitoIdentity.GetIdentityPoolRoles- , Network.AWS.CognitoIdentity.GetOpenIdToken- , Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity- , Network.AWS.CognitoIdentity.ListIdentities- , Network.AWS.CognitoIdentity.ListIdentityPools- , Network.AWS.CognitoIdentity.LookupDeveloperIdentity- , Network.AWS.CognitoIdentity.MergeDeveloperIdentities- , Network.AWS.CognitoIdentity.SetIdentityPoolRoles- , Network.AWS.CognitoIdentity.Types- , Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity- , Network.AWS.CognitoIdentity.UnlinkIdentity- , Network.AWS.CognitoIdentity.UpdateIdentityPool- , Network.AWS.CognitoIdentity.Waiters+ default-language: Haskell2010+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields - other-modules:- Network.AWS.CognitoIdentity.Types.Product- , Network.AWS.CognitoIdentity.Types.Sum+ exposed-modules:+ Amazonka.CognitoIdentity+ Amazonka.CognitoIdentity.CreateIdentityPool+ Amazonka.CognitoIdentity.DeleteIdentities+ Amazonka.CognitoIdentity.DeleteIdentityPool+ Amazonka.CognitoIdentity.DescribeIdentity+ Amazonka.CognitoIdentity.DescribeIdentityPool+ Amazonka.CognitoIdentity.GetCredentialsForIdentity+ Amazonka.CognitoIdentity.GetId+ Amazonka.CognitoIdentity.GetIdentityPoolRoles+ Amazonka.CognitoIdentity.GetOpenIdToken+ Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity+ Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap+ Amazonka.CognitoIdentity.Lens+ Amazonka.CognitoIdentity.ListIdentities+ Amazonka.CognitoIdentity.ListIdentityPools+ Amazonka.CognitoIdentity.ListTagsForResource+ Amazonka.CognitoIdentity.LookupDeveloperIdentity+ Amazonka.CognitoIdentity.MergeDeveloperIdentities+ Amazonka.CognitoIdentity.SetIdentityPoolRoles+ Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap+ Amazonka.CognitoIdentity.TagResource+ Amazonka.CognitoIdentity.Types+ Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType+ Amazonka.CognitoIdentity.Types.CognitoErrorCode+ Amazonka.CognitoIdentity.Types.CognitoIdentityProvider+ Amazonka.CognitoIdentity.Types.Credentials+ Amazonka.CognitoIdentity.Types.IdentityDescription+ Amazonka.CognitoIdentity.Types.IdentityPool+ Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription+ Amazonka.CognitoIdentity.Types.MappingRule+ Amazonka.CognitoIdentity.Types.MappingRuleMatchType+ Amazonka.CognitoIdentity.Types.RoleMapping+ Amazonka.CognitoIdentity.Types.RoleMappingType+ Amazonka.CognitoIdentity.Types.RulesConfigurationType+ Amazonka.CognitoIdentity.Types.UnprocessedIdentityId+ Amazonka.CognitoIdentity.UnlinkDeveloperIdentity+ Amazonka.CognitoIdentity.UnlinkIdentity+ Amazonka.CognitoIdentity.UntagResource+ Amazonka.CognitoIdentity.UpdateIdentityPool+ Amazonka.CognitoIdentity.Waiters - build-depends:- amazonka-core == 1.6.1.*- , base >= 4.7 && < 5+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , base >=4.12 && <5 test-suite amazonka-cognito-identity-test- type: exitcode-stdio-1.0- default-language: Haskell2010- hs-source-dirs: test- main-is: Main.hs-- ghc-options: -Wall -threaded+ type: exitcode-stdio-1.0+ default-language: Haskell2010+ hs-source-dirs: test+ main-is: Main.hs+ ghc-options: -Wall -threaded - -- This section is encoded by the template and any modules added by- -- hand outside these namespaces will not correctly be added to the- -- distribution package.- other-modules:- Test.AWS.CognitoIdentity- , Test.AWS.Gen.CognitoIdentity- , Test.AWS.CognitoIdentity.Internal+ -- This section is encoded by the template and any modules added by+ -- hand outside these namespaces will not correctly be added to the+ -- distribution package.+ other-modules:+ Test.Amazonka.CognitoIdentity+ Test.Amazonka.CognitoIdentity.Internal+ Test.Amazonka.Gen.CognitoIdentity - build-depends:- amazonka-core == 1.6.1.*- , amazonka-test == 1.6.1.*- , amazonka-cognito-identity- , base- , bytestring- , tasty- , tasty-hunit- , text- , time- , unordered-containers+ build-depends:+ , amazonka-cognito-identity+ , amazonka-core >=2.0 && <2.1+ , amazonka-test >=2.0 && <2.1+ , base+ , bytestring+ , case-insensitive+ , tasty+ , tasty-hunit+ , text+ , time+ , unordered-containers
fixture/CreateIdentityPool.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DeleteIdentities.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DeleteIdentityPool.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DescribeIdentity.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DescribeIdentityPool.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetCredentialsForIdentity.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetId.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetIdentityPoolRoles.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetOpenIdToken.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetOpenIdTokenForDeveloperIdentity.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetPrincipalTagAttributeMap.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/GetPrincipalTagAttributeMapResponse.proto view
fixture/ListIdentities.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/ListIdentityPools.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTagsForResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTagsForResourceResponse.proto view
fixture/LookupDeveloperIdentity.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/MergeDeveloperIdentities.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/SetIdentityPoolRoles.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/SetPrincipalTagAttributeMap.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/SetPrincipalTagAttributeMapResponse.proto view
+ fixture/TagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/TagResourceResponse.proto view
fixture/UnlinkDeveloperIdentity.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/UnlinkIdentity.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UntagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UntagResourceResponse.proto view
fixture/UpdateIdentityPool.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cognito-identity/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cognito-identity.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ gen/Amazonka/CognitoIdentity.hs view
@@ -0,0 +1,323 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module : Amazonka.CognitoIdentity+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2014-06-30@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- Amazon Cognito Federated Identities+--+-- Amazon Cognito Federated Identities is a web service that delivers+-- scoped temporary credentials to mobile devices and other untrusted+-- environments. It uniquely identifies a device and supplies the user with+-- a consistent identity over the lifetime of an application.+--+-- Using Amazon Cognito Federated Identities, you can enable authentication+-- with one or more third-party identity providers (Facebook, Google, or+-- Login with Amazon) or an Amazon Cognito user pool, and you can also+-- choose to support unauthenticated access from your app. Cognito delivers+-- a unique identifier for each user and acts as an OpenID token provider+-- trusted by AWS Security Token Service (STS) to access temporary,+-- limited-privilege AWS credentials.+--+-- For a description of the authentication flow from the Amazon Cognito+-- Developer Guide see+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Authentication Flow>.+--+-- For more information see+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html Amazon Cognito Federated Identities>.+module Amazonka.CognitoIdentity+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ -- $errors++ -- ** ConcurrentModificationException+ _ConcurrentModificationException,++ -- ** DeveloperUserAlreadyRegisteredException+ _DeveloperUserAlreadyRegisteredException,++ -- ** ExternalServiceException+ _ExternalServiceException,++ -- ** InternalErrorException+ _InternalErrorException,++ -- ** InvalidIdentityPoolConfigurationException+ _InvalidIdentityPoolConfigurationException,++ -- ** InvalidParameterException+ _InvalidParameterException,++ -- ** LimitExceededException+ _LimitExceededException,++ -- ** NotAuthorizedException+ _NotAuthorizedException,++ -- ** ResourceConflictException+ _ResourceConflictException,++ -- ** ResourceNotFoundException+ _ResourceNotFoundException,++ -- ** TooManyRequestsException+ _TooManyRequestsException,++ -- * Waiters+ -- $waiters++ -- * Operations+ -- $operations++ -- ** CreateIdentityPool+ CreateIdentityPool (CreateIdentityPool'),+ newCreateIdentityPool,+ IdentityPool (IdentityPool'),+ newIdentityPool,++ -- ** DeleteIdentities+ DeleteIdentities (DeleteIdentities'),+ newDeleteIdentities,+ DeleteIdentitiesResponse (DeleteIdentitiesResponse'),+ newDeleteIdentitiesResponse,++ -- ** DeleteIdentityPool+ DeleteIdentityPool (DeleteIdentityPool'),+ newDeleteIdentityPool,+ DeleteIdentityPoolResponse (DeleteIdentityPoolResponse'),+ newDeleteIdentityPoolResponse,++ -- ** DescribeIdentity+ DescribeIdentity (DescribeIdentity'),+ newDescribeIdentity,+ IdentityDescription (IdentityDescription'),+ newIdentityDescription,++ -- ** DescribeIdentityPool+ DescribeIdentityPool (DescribeIdentityPool'),+ newDescribeIdentityPool,+ IdentityPool (IdentityPool'),+ newIdentityPool,++ -- ** GetCredentialsForIdentity+ GetCredentialsForIdentity (GetCredentialsForIdentity'),+ newGetCredentialsForIdentity,+ GetCredentialsForIdentityResponse (GetCredentialsForIdentityResponse'),+ newGetCredentialsForIdentityResponse,++ -- ** GetId+ GetId (GetId'),+ newGetId,+ GetIdResponse (GetIdResponse'),+ newGetIdResponse,++ -- ** GetIdentityPoolRoles+ GetIdentityPoolRoles (GetIdentityPoolRoles'),+ newGetIdentityPoolRoles,+ GetIdentityPoolRolesResponse (GetIdentityPoolRolesResponse'),+ newGetIdentityPoolRolesResponse,++ -- ** GetOpenIdToken+ GetOpenIdToken (GetOpenIdToken'),+ newGetOpenIdToken,+ GetOpenIdTokenResponse (GetOpenIdTokenResponse'),+ newGetOpenIdTokenResponse,++ -- ** GetOpenIdTokenForDeveloperIdentity+ GetOpenIdTokenForDeveloperIdentity (GetOpenIdTokenForDeveloperIdentity'),+ newGetOpenIdTokenForDeveloperIdentity,+ GetOpenIdTokenForDeveloperIdentityResponse (GetOpenIdTokenForDeveloperIdentityResponse'),+ newGetOpenIdTokenForDeveloperIdentityResponse,++ -- ** GetPrincipalTagAttributeMap+ GetPrincipalTagAttributeMap (GetPrincipalTagAttributeMap'),+ newGetPrincipalTagAttributeMap,+ GetPrincipalTagAttributeMapResponse (GetPrincipalTagAttributeMapResponse'),+ newGetPrincipalTagAttributeMapResponse,++ -- ** ListIdentities+ ListIdentities (ListIdentities'),+ newListIdentities,+ ListIdentitiesResponse (ListIdentitiesResponse'),+ newListIdentitiesResponse,++ -- ** ListIdentityPools (Paginated)+ ListIdentityPools (ListIdentityPools'),+ newListIdentityPools,+ ListIdentityPoolsResponse (ListIdentityPoolsResponse'),+ newListIdentityPoolsResponse,++ -- ** ListTagsForResource+ ListTagsForResource (ListTagsForResource'),+ newListTagsForResource,+ ListTagsForResourceResponse (ListTagsForResourceResponse'),+ newListTagsForResourceResponse,++ -- ** LookupDeveloperIdentity+ LookupDeveloperIdentity (LookupDeveloperIdentity'),+ newLookupDeveloperIdentity,+ LookupDeveloperIdentityResponse (LookupDeveloperIdentityResponse'),+ newLookupDeveloperIdentityResponse,++ -- ** MergeDeveloperIdentities+ MergeDeveloperIdentities (MergeDeveloperIdentities'),+ newMergeDeveloperIdentities,+ MergeDeveloperIdentitiesResponse (MergeDeveloperIdentitiesResponse'),+ newMergeDeveloperIdentitiesResponse,++ -- ** SetIdentityPoolRoles+ SetIdentityPoolRoles (SetIdentityPoolRoles'),+ newSetIdentityPoolRoles,+ SetIdentityPoolRolesResponse (SetIdentityPoolRolesResponse'),+ newSetIdentityPoolRolesResponse,++ -- ** SetPrincipalTagAttributeMap+ SetPrincipalTagAttributeMap (SetPrincipalTagAttributeMap'),+ newSetPrincipalTagAttributeMap,+ SetPrincipalTagAttributeMapResponse (SetPrincipalTagAttributeMapResponse'),+ newSetPrincipalTagAttributeMapResponse,++ -- ** TagResource+ TagResource (TagResource'),+ newTagResource,+ TagResourceResponse (TagResourceResponse'),+ newTagResourceResponse,++ -- ** UnlinkDeveloperIdentity+ UnlinkDeveloperIdentity (UnlinkDeveloperIdentity'),+ newUnlinkDeveloperIdentity,+ UnlinkDeveloperIdentityResponse (UnlinkDeveloperIdentityResponse'),+ newUnlinkDeveloperIdentityResponse,++ -- ** UnlinkIdentity+ UnlinkIdentity (UnlinkIdentity'),+ newUnlinkIdentity,+ UnlinkIdentityResponse (UnlinkIdentityResponse'),+ newUnlinkIdentityResponse,++ -- ** UntagResource+ UntagResource (UntagResource'),+ newUntagResource,+ UntagResourceResponse (UntagResourceResponse'),+ newUntagResourceResponse,++ -- ** UpdateIdentityPool+ UpdateIdentityPool (UpdateIdentityPool'),+ newUpdateIdentityPool,+ IdentityPool (IdentityPool'),+ newIdentityPool,++ -- * Types++ -- ** AmbiguousRoleResolutionType+ AmbiguousRoleResolutionType (..),++ -- ** CognitoErrorCode+ CognitoErrorCode (..),++ -- ** MappingRuleMatchType+ MappingRuleMatchType (..),++ -- ** RoleMappingType+ RoleMappingType (..),++ -- ** CognitoIdentityProvider+ CognitoIdentityProvider (CognitoIdentityProvider'),+ newCognitoIdentityProvider,++ -- ** Credentials+ Credentials (Credentials'),+ newCredentials,++ -- ** IdentityDescription+ IdentityDescription (IdentityDescription'),+ newIdentityDescription,++ -- ** IdentityPool+ IdentityPool (IdentityPool'),+ newIdentityPool,++ -- ** IdentityPoolShortDescription+ IdentityPoolShortDescription (IdentityPoolShortDescription'),+ newIdentityPoolShortDescription,++ -- ** MappingRule+ MappingRule (MappingRule'),+ newMappingRule,++ -- ** RoleMapping+ RoleMapping (RoleMapping'),+ newRoleMapping,++ -- ** RulesConfigurationType+ RulesConfigurationType (RulesConfigurationType'),+ newRulesConfigurationType,++ -- ** UnprocessedIdentityId+ UnprocessedIdentityId (UnprocessedIdentityId'),+ newUnprocessedIdentityId,+ )+where++import Amazonka.CognitoIdentity.CreateIdentityPool+import Amazonka.CognitoIdentity.DeleteIdentities+import Amazonka.CognitoIdentity.DeleteIdentityPool+import Amazonka.CognitoIdentity.DescribeIdentity+import Amazonka.CognitoIdentity.DescribeIdentityPool+import Amazonka.CognitoIdentity.GetCredentialsForIdentity+import Amazonka.CognitoIdentity.GetId+import Amazonka.CognitoIdentity.GetIdentityPoolRoles+import Amazonka.CognitoIdentity.GetOpenIdToken+import Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity+import Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap+import Amazonka.CognitoIdentity.Lens+import Amazonka.CognitoIdentity.ListIdentities+import Amazonka.CognitoIdentity.ListIdentityPools+import Amazonka.CognitoIdentity.ListTagsForResource+import Amazonka.CognitoIdentity.LookupDeveloperIdentity+import Amazonka.CognitoIdentity.MergeDeveloperIdentities+import Amazonka.CognitoIdentity.SetIdentityPoolRoles+import Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap+import Amazonka.CognitoIdentity.TagResource+import Amazonka.CognitoIdentity.Types+import Amazonka.CognitoIdentity.UnlinkDeveloperIdentity+import Amazonka.CognitoIdentity.UnlinkIdentity+import Amazonka.CognitoIdentity.UntagResource+import Amazonka.CognitoIdentity.UpdateIdentityPool+import Amazonka.CognitoIdentity.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'CognitoIdentity'.++-- $operations+-- Some AWS operations return results that are incomplete and require subsequent+-- requests in order to obtain the entire result set. The process of sending+-- subsequent requests to continue where a previous request left off is called+-- pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to+-- 1000 objects at a time, and you must send subsequent requests with the+-- appropriate Marker in order to retrieve the next page of results.+--+-- Operations that have an 'AWSPager' instance can transparently perform subsequent+-- requests, correctly setting Markers and other request facets to iterate through+-- the entire result set of a truncated API operation. Operations which support+-- this have an additional note in the documentation.+--+-- Many operations have the ability to filter results on the server side. See the+-- individual operation parameters for details.++-- $waiters+-- Waiters poll by repeatedly sending a request until some remote success condition+-- configured by the 'Wait' specification is fulfilled. The 'Wait' specification+-- determines how many attempts should be made, in addition to delay and retry strategies.
+ gen/Amazonka/CognitoIdentity/CreateIdentityPool.hs view
@@ -0,0 +1,307 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.CreateIdentityPool+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new identity pool. The identity pool is a store of user+-- identity information that is specific to your AWS account. The keys for+-- @SupportedLoginProviders@ are as follows:+--+-- - Facebook: @graph.facebook.com@+--+-- - Google: @accounts.google.com@+--+-- - Amazon: @www.amazon.com@+--+-- - Twitter: @api.twitter.com@+--+-- - Digits: @www.digits.com@+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.CreateIdentityPool+ ( -- * Creating a Request+ CreateIdentityPool (..),+ newCreateIdentityPool,++ -- * Request Lenses+ createIdentityPool_allowClassicFlow,+ createIdentityPool_cognitoIdentityProviders,+ createIdentityPool_developerProviderName,+ createIdentityPool_identityPoolTags,+ createIdentityPool_openIdConnectProviderARNs,+ createIdentityPool_samlProviderARNs,+ createIdentityPool_supportedLoginProviders,+ createIdentityPool_identityPoolName,+ createIdentityPool_allowUnauthenticatedIdentities,++ -- * Destructuring the Response+ IdentityPool (..),+ newIdentityPool,++ -- * Response Lenses+ identityPool_allowClassicFlow,+ identityPool_cognitoIdentityProviders,+ identityPool_developerProviderName,+ identityPool_identityPoolTags,+ identityPool_openIdConnectProviderARNs,+ identityPool_samlProviderARNs,+ identityPool_supportedLoginProviders,+ identityPool_identityPoolId,+ identityPool_identityPoolName,+ identityPool_allowUnauthenticatedIdentities,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the CreateIdentityPool action.+--+-- /See:/ 'newCreateIdentityPool' smart constructor.+data CreateIdentityPool = CreateIdentityPool'+ { -- | Enables or disables the Basic (Classic) authentication flow. For more+ -- information, see+ -- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Identity Pools (Federated Identities) Authentication Flow>+ -- in the /Amazon Cognito Developer Guide/.+ allowClassicFlow :: Prelude.Maybe Prelude.Bool,+ -- | An array of Amazon Cognito user pools and their client IDs.+ cognitoIdentityProviders :: Prelude.Maybe [CognitoIdentityProvider],+ -- | The \"domain\" by which Cognito will refer to your users. This name acts+ -- as a placeholder that allows your backend and the Cognito service to+ -- communicate about the developer provider. For the+ -- @DeveloperProviderName@, you can use letters as well as period (@.@),+ -- underscore (@_@), and dash (@-@).+ --+ -- Once you have set a developer provider name, you cannot change it.+ -- Please take care in setting this parameter.+ developerProviderName :: Prelude.Maybe Prelude.Text,+ -- | Tags to assign to the identity pool. A tag is a label that you can apply+ -- to identity pools to categorize and manage them in different ways, such+ -- as by purpose, owner, environment, or other criteria.+ identityPoolTags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The Amazon Resource Names (ARN) of the OpenID Connect providers.+ openIdConnectProviderARNs :: Prelude.Maybe [Prelude.Text],+ -- | An array of Amazon Resource Names (ARNs) of the SAML provider for your+ -- identity pool.+ samlProviderARNs :: Prelude.Maybe [Prelude.Text],+ -- | Optional key:value pairs mapping provider names to provider app IDs.+ supportedLoginProviders :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | A string that you provide.+ identityPoolName :: Prelude.Text,+ -- | TRUE if the identity pool supports unauthenticated logins.+ allowUnauthenticatedIdentities :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateIdentityPool' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'allowClassicFlow', 'createIdentityPool_allowClassicFlow' - Enables or disables the Basic (Classic) authentication flow. For more+-- information, see+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Identity Pools (Federated Identities) Authentication Flow>+-- in the /Amazon Cognito Developer Guide/.+--+-- 'cognitoIdentityProviders', 'createIdentityPool_cognitoIdentityProviders' - An array of Amazon Cognito user pools and their client IDs.+--+-- 'developerProviderName', 'createIdentityPool_developerProviderName' - The \"domain\" by which Cognito will refer to your users. This name acts+-- as a placeholder that allows your backend and the Cognito service to+-- communicate about the developer provider. For the+-- @DeveloperProviderName@, you can use letters as well as period (@.@),+-- underscore (@_@), and dash (@-@).+--+-- Once you have set a developer provider name, you cannot change it.+-- Please take care in setting this parameter.+--+-- 'identityPoolTags', 'createIdentityPool_identityPoolTags' - Tags to assign to the identity pool. A tag is a label that you can apply+-- to identity pools to categorize and manage them in different ways, such+-- as by purpose, owner, environment, or other criteria.+--+-- 'openIdConnectProviderARNs', 'createIdentityPool_openIdConnectProviderARNs' - The Amazon Resource Names (ARN) of the OpenID Connect providers.+--+-- 'samlProviderARNs', 'createIdentityPool_samlProviderARNs' - An array of Amazon Resource Names (ARNs) of the SAML provider for your+-- identity pool.+--+-- 'supportedLoginProviders', 'createIdentityPool_supportedLoginProviders' - Optional key:value pairs mapping provider names to provider app IDs.+--+-- 'identityPoolName', 'createIdentityPool_identityPoolName' - A string that you provide.+--+-- 'allowUnauthenticatedIdentities', 'createIdentityPool_allowUnauthenticatedIdentities' - TRUE if the identity pool supports unauthenticated logins.+newCreateIdentityPool ::+ -- | 'identityPoolName'+ Prelude.Text ->+ -- | 'allowUnauthenticatedIdentities'+ Prelude.Bool ->+ CreateIdentityPool+newCreateIdentityPool+ pIdentityPoolName_+ pAllowUnauthenticatedIdentities_ =+ CreateIdentityPool'+ { allowClassicFlow =+ Prelude.Nothing,+ cognitoIdentityProviders = Prelude.Nothing,+ developerProviderName = Prelude.Nothing,+ identityPoolTags = Prelude.Nothing,+ openIdConnectProviderARNs = Prelude.Nothing,+ samlProviderARNs = Prelude.Nothing,+ supportedLoginProviders = Prelude.Nothing,+ identityPoolName = pIdentityPoolName_,+ allowUnauthenticatedIdentities =+ pAllowUnauthenticatedIdentities_+ }++-- | Enables or disables the Basic (Classic) authentication flow. For more+-- information, see+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Identity Pools (Federated Identities) Authentication Flow>+-- in the /Amazon Cognito Developer Guide/.+createIdentityPool_allowClassicFlow :: Lens.Lens' CreateIdentityPool (Prelude.Maybe Prelude.Bool)+createIdentityPool_allowClassicFlow = Lens.lens (\CreateIdentityPool' {allowClassicFlow} -> allowClassicFlow) (\s@CreateIdentityPool' {} a -> s {allowClassicFlow = a} :: CreateIdentityPool)++-- | An array of Amazon Cognito user pools and their client IDs.+createIdentityPool_cognitoIdentityProviders :: Lens.Lens' CreateIdentityPool (Prelude.Maybe [CognitoIdentityProvider])+createIdentityPool_cognitoIdentityProviders = Lens.lens (\CreateIdentityPool' {cognitoIdentityProviders} -> cognitoIdentityProviders) (\s@CreateIdentityPool' {} a -> s {cognitoIdentityProviders = a} :: CreateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | The \"domain\" by which Cognito will refer to your users. This name acts+-- as a placeholder that allows your backend and the Cognito service to+-- communicate about the developer provider. For the+-- @DeveloperProviderName@, you can use letters as well as period (@.@),+-- underscore (@_@), and dash (@-@).+--+-- Once you have set a developer provider name, you cannot change it.+-- Please take care in setting this parameter.+createIdentityPool_developerProviderName :: Lens.Lens' CreateIdentityPool (Prelude.Maybe Prelude.Text)+createIdentityPool_developerProviderName = Lens.lens (\CreateIdentityPool' {developerProviderName} -> developerProviderName) (\s@CreateIdentityPool' {} a -> s {developerProviderName = a} :: CreateIdentityPool)++-- | Tags to assign to the identity pool. A tag is a label that you can apply+-- to identity pools to categorize and manage them in different ways, such+-- as by purpose, owner, environment, or other criteria.+createIdentityPool_identityPoolTags :: Lens.Lens' CreateIdentityPool (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createIdentityPool_identityPoolTags = Lens.lens (\CreateIdentityPool' {identityPoolTags} -> identityPoolTags) (\s@CreateIdentityPool' {} a -> s {identityPoolTags = a} :: CreateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | The Amazon Resource Names (ARN) of the OpenID Connect providers.+createIdentityPool_openIdConnectProviderARNs :: Lens.Lens' CreateIdentityPool (Prelude.Maybe [Prelude.Text])+createIdentityPool_openIdConnectProviderARNs = Lens.lens (\CreateIdentityPool' {openIdConnectProviderARNs} -> openIdConnectProviderARNs) (\s@CreateIdentityPool' {} a -> s {openIdConnectProviderARNs = a} :: CreateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | An array of Amazon Resource Names (ARNs) of the SAML provider for your+-- identity pool.+createIdentityPool_samlProviderARNs :: Lens.Lens' CreateIdentityPool (Prelude.Maybe [Prelude.Text])+createIdentityPool_samlProviderARNs = Lens.lens (\CreateIdentityPool' {samlProviderARNs} -> samlProviderARNs) (\s@CreateIdentityPool' {} a -> s {samlProviderARNs = a} :: CreateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | Optional key:value pairs mapping provider names to provider app IDs.+createIdentityPool_supportedLoginProviders :: Lens.Lens' CreateIdentityPool (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createIdentityPool_supportedLoginProviders = Lens.lens (\CreateIdentityPool' {supportedLoginProviders} -> supportedLoginProviders) (\s@CreateIdentityPool' {} a -> s {supportedLoginProviders = a} :: CreateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | A string that you provide.+createIdentityPool_identityPoolName :: Lens.Lens' CreateIdentityPool Prelude.Text+createIdentityPool_identityPoolName = Lens.lens (\CreateIdentityPool' {identityPoolName} -> identityPoolName) (\s@CreateIdentityPool' {} a -> s {identityPoolName = a} :: CreateIdentityPool)++-- | TRUE if the identity pool supports unauthenticated logins.+createIdentityPool_allowUnauthenticatedIdentities :: Lens.Lens' CreateIdentityPool Prelude.Bool+createIdentityPool_allowUnauthenticatedIdentities = Lens.lens (\CreateIdentityPool' {allowUnauthenticatedIdentities} -> allowUnauthenticatedIdentities) (\s@CreateIdentityPool' {} a -> s {allowUnauthenticatedIdentities = a} :: CreateIdentityPool)++instance Core.AWSRequest CreateIdentityPool where+ type AWSResponse CreateIdentityPool = IdentityPool+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ (\s h x -> Data.eitherParseJSON x)++instance Prelude.Hashable CreateIdentityPool where+ hashWithSalt _salt CreateIdentityPool' {..} =+ _salt+ `Prelude.hashWithSalt` allowClassicFlow+ `Prelude.hashWithSalt` cognitoIdentityProviders+ `Prelude.hashWithSalt` developerProviderName+ `Prelude.hashWithSalt` identityPoolTags+ `Prelude.hashWithSalt` openIdConnectProviderARNs+ `Prelude.hashWithSalt` samlProviderARNs+ `Prelude.hashWithSalt` supportedLoginProviders+ `Prelude.hashWithSalt` identityPoolName+ `Prelude.hashWithSalt` allowUnauthenticatedIdentities++instance Prelude.NFData CreateIdentityPool where+ rnf CreateIdentityPool' {..} =+ Prelude.rnf allowClassicFlow+ `Prelude.seq` Prelude.rnf cognitoIdentityProviders+ `Prelude.seq` Prelude.rnf developerProviderName+ `Prelude.seq` Prelude.rnf identityPoolTags+ `Prelude.seq` Prelude.rnf openIdConnectProviderARNs+ `Prelude.seq` Prelude.rnf samlProviderARNs+ `Prelude.seq` Prelude.rnf supportedLoginProviders+ `Prelude.seq` Prelude.rnf identityPoolName+ `Prelude.seq` Prelude.rnf allowUnauthenticatedIdentities++instance Data.ToHeaders CreateIdentityPool where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.CreateIdentityPool" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateIdentityPool where+ toJSON CreateIdentityPool' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AllowClassicFlow" Data..=)+ Prelude.<$> allowClassicFlow,+ ("CognitoIdentityProviders" Data..=)+ Prelude.<$> cognitoIdentityProviders,+ ("DeveloperProviderName" Data..=)+ Prelude.<$> developerProviderName,+ ("IdentityPoolTags" Data..=)+ Prelude.<$> identityPoolTags,+ ("OpenIdConnectProviderARNs" Data..=)+ Prelude.<$> openIdConnectProviderARNs,+ ("SamlProviderARNs" Data..=)+ Prelude.<$> samlProviderARNs,+ ("SupportedLoginProviders" Data..=)+ Prelude.<$> supportedLoginProviders,+ Prelude.Just+ ("IdentityPoolName" Data..= identityPoolName),+ Prelude.Just+ ( "AllowUnauthenticatedIdentities"+ Data..= allowUnauthenticatedIdentities+ )+ ]+ )++instance Data.ToPath CreateIdentityPool where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateIdentityPool where+ toQuery = Prelude.const Prelude.mempty
+ gen/Amazonka/CognitoIdentity/DeleteIdentities.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.DeleteIdentities+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes identities from an identity pool. You can specify a list of 1-60+-- identities that you want to delete.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.DeleteIdentities+ ( -- * Creating a Request+ DeleteIdentities (..),+ newDeleteIdentities,++ -- * Request Lenses+ deleteIdentities_identityIdsToDelete,++ -- * Destructuring the Response+ DeleteIdentitiesResponse (..),+ newDeleteIdentitiesResponse,++ -- * Response Lenses+ deleteIdentitiesResponse_unprocessedIdentityIds,+ deleteIdentitiesResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the @DeleteIdentities@ action.+--+-- /See:/ 'newDeleteIdentities' smart constructor.+data DeleteIdentities = DeleteIdentities'+ { -- | A list of 1-60 identities that you want to delete.+ identityIdsToDelete :: Prelude.NonEmpty Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteIdentities' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityIdsToDelete', 'deleteIdentities_identityIdsToDelete' - A list of 1-60 identities that you want to delete.+newDeleteIdentities ::+ -- | 'identityIdsToDelete'+ Prelude.NonEmpty Prelude.Text ->+ DeleteIdentities+newDeleteIdentities pIdentityIdsToDelete_ =+ DeleteIdentities'+ { identityIdsToDelete =+ Lens.coerced Lens.# pIdentityIdsToDelete_+ }++-- | A list of 1-60 identities that you want to delete.+deleteIdentities_identityIdsToDelete :: Lens.Lens' DeleteIdentities (Prelude.NonEmpty Prelude.Text)+deleteIdentities_identityIdsToDelete = Lens.lens (\DeleteIdentities' {identityIdsToDelete} -> identityIdsToDelete) (\s@DeleteIdentities' {} a -> s {identityIdsToDelete = a} :: DeleteIdentities) Prelude.. Lens.coerced++instance Core.AWSRequest DeleteIdentities where+ type+ AWSResponse DeleteIdentities =+ DeleteIdentitiesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteIdentitiesResponse'+ Prelude.<$> ( x+ Data..?> "UnprocessedIdentityIds"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteIdentities where+ hashWithSalt _salt DeleteIdentities' {..} =+ _salt `Prelude.hashWithSalt` identityIdsToDelete++instance Prelude.NFData DeleteIdentities where+ rnf DeleteIdentities' {..} =+ Prelude.rnf identityIdsToDelete++instance Data.ToHeaders DeleteIdentities where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.DeleteIdentities" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteIdentities where+ toJSON DeleteIdentities' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("IdentityIdsToDelete" Data..= identityIdsToDelete)+ ]+ )++instance Data.ToPath DeleteIdentities where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteIdentities where+ toQuery = Prelude.const Prelude.mempty++-- | Returned in response to a successful @DeleteIdentities@ operation.+--+-- /See:/ 'newDeleteIdentitiesResponse' smart constructor.+data DeleteIdentitiesResponse = DeleteIdentitiesResponse'+ { -- | An array of UnprocessedIdentityId objects, each of which contains an+ -- ErrorCode and IdentityId.+ unprocessedIdentityIds :: Prelude.Maybe [UnprocessedIdentityId],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteIdentitiesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'unprocessedIdentityIds', 'deleteIdentitiesResponse_unprocessedIdentityIds' - An array of UnprocessedIdentityId objects, each of which contains an+-- ErrorCode and IdentityId.+--+-- 'httpStatus', 'deleteIdentitiesResponse_httpStatus' - The response's http status code.+newDeleteIdentitiesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteIdentitiesResponse+newDeleteIdentitiesResponse pHttpStatus_ =+ DeleteIdentitiesResponse'+ { unprocessedIdentityIds =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | An array of UnprocessedIdentityId objects, each of which contains an+-- ErrorCode and IdentityId.+deleteIdentitiesResponse_unprocessedIdentityIds :: Lens.Lens' DeleteIdentitiesResponse (Prelude.Maybe [UnprocessedIdentityId])+deleteIdentitiesResponse_unprocessedIdentityIds = Lens.lens (\DeleteIdentitiesResponse' {unprocessedIdentityIds} -> unprocessedIdentityIds) (\s@DeleteIdentitiesResponse' {} a -> s {unprocessedIdentityIds = a} :: DeleteIdentitiesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+deleteIdentitiesResponse_httpStatus :: Lens.Lens' DeleteIdentitiesResponse Prelude.Int+deleteIdentitiesResponse_httpStatus = Lens.lens (\DeleteIdentitiesResponse' {httpStatus} -> httpStatus) (\s@DeleteIdentitiesResponse' {} a -> s {httpStatus = a} :: DeleteIdentitiesResponse)++instance Prelude.NFData DeleteIdentitiesResponse where+ rnf DeleteIdentitiesResponse' {..} =+ Prelude.rnf unprocessedIdentityIds+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/DeleteIdentityPool.hs view
@@ -0,0 +1,144 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.DeleteIdentityPool+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an identity pool. Once a pool is deleted, users will not be able+-- to authenticate with the pool.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.DeleteIdentityPool+ ( -- * Creating a Request+ DeleteIdentityPool (..),+ newDeleteIdentityPool,++ -- * Request Lenses+ deleteIdentityPool_identityPoolId,++ -- * Destructuring the Response+ DeleteIdentityPoolResponse (..),+ newDeleteIdentityPoolResponse,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the DeleteIdentityPool action.+--+-- /See:/ 'newDeleteIdentityPool' smart constructor.+data DeleteIdentityPool = DeleteIdentityPool'+ { -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteIdentityPool' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityPoolId', 'deleteIdentityPool_identityPoolId' - An identity pool ID in the format REGION:GUID.+newDeleteIdentityPool ::+ -- | 'identityPoolId'+ Prelude.Text ->+ DeleteIdentityPool+newDeleteIdentityPool pIdentityPoolId_ =+ DeleteIdentityPool'+ { identityPoolId =+ pIdentityPoolId_+ }++-- | An identity pool ID in the format REGION:GUID.+deleteIdentityPool_identityPoolId :: Lens.Lens' DeleteIdentityPool Prelude.Text+deleteIdentityPool_identityPoolId = Lens.lens (\DeleteIdentityPool' {identityPoolId} -> identityPoolId) (\s@DeleteIdentityPool' {} a -> s {identityPoolId = a} :: DeleteIdentityPool)++instance Core.AWSRequest DeleteIdentityPool where+ type+ AWSResponse DeleteIdentityPool =+ DeleteIdentityPoolResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull DeleteIdentityPoolResponse'++instance Prelude.Hashable DeleteIdentityPool where+ hashWithSalt _salt DeleteIdentityPool' {..} =+ _salt `Prelude.hashWithSalt` identityPoolId++instance Prelude.NFData DeleteIdentityPool where+ rnf DeleteIdentityPool' {..} =+ Prelude.rnf identityPoolId++instance Data.ToHeaders DeleteIdentityPool where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.DeleteIdentityPool" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteIdentityPool where+ toJSON DeleteIdentityPool' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId)+ ]+ )++instance Data.ToPath DeleteIdentityPool where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteIdentityPool where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteIdentityPoolResponse' smart constructor.+data DeleteIdentityPoolResponse = DeleteIdentityPoolResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteIdentityPoolResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteIdentityPoolResponse ::+ DeleteIdentityPoolResponse+newDeleteIdentityPoolResponse =+ DeleteIdentityPoolResponse'++instance Prelude.NFData DeleteIdentityPoolResponse where+ rnf _ = ()
+ gen/Amazonka/CognitoIdentity/DescribeIdentity.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.DescribeIdentity+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns metadata related to the given identity, including when the+-- identity was created and any associated linked logins.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.DescribeIdentity+ ( -- * Creating a Request+ DescribeIdentity (..),+ newDescribeIdentity,++ -- * Request Lenses+ describeIdentity_identityId,++ -- * Destructuring the Response+ IdentityDescription (..),+ newIdentityDescription,++ -- * Response Lenses+ identityDescription_creationDate,+ identityDescription_identityId,+ identityDescription_lastModifiedDate,+ identityDescription_logins,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the @DescribeIdentity@ action.+--+-- /See:/ 'newDescribeIdentity' smart constructor.+data DescribeIdentity = DescribeIdentity'+ { -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeIdentity' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityId', 'describeIdentity_identityId' - A unique identifier in the format REGION:GUID.+newDescribeIdentity ::+ -- | 'identityId'+ Prelude.Text ->+ DescribeIdentity+newDescribeIdentity pIdentityId_ =+ DescribeIdentity' {identityId = pIdentityId_}++-- | A unique identifier in the format REGION:GUID.+describeIdentity_identityId :: Lens.Lens' DescribeIdentity Prelude.Text+describeIdentity_identityId = Lens.lens (\DescribeIdentity' {identityId} -> identityId) (\s@DescribeIdentity' {} a -> s {identityId = a} :: DescribeIdentity)++instance Core.AWSRequest DescribeIdentity where+ type+ AWSResponse DescribeIdentity =+ IdentityDescription+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ (\s h x -> Data.eitherParseJSON x)++instance Prelude.Hashable DescribeIdentity where+ hashWithSalt _salt DescribeIdentity' {..} =+ _salt `Prelude.hashWithSalt` identityId++instance Prelude.NFData DescribeIdentity where+ rnf DescribeIdentity' {..} = Prelude.rnf identityId++instance Data.ToHeaders DescribeIdentity where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.DescribeIdentity" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeIdentity where+ toJSON DescribeIdentity' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("IdentityId" Data..= identityId)]+ )++instance Data.ToPath DescribeIdentity where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeIdentity where+ toQuery = Prelude.const Prelude.mempty
+ gen/Amazonka/CognitoIdentity/DescribeIdentityPool.hs view
@@ -0,0 +1,137 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.DescribeIdentityPool+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets details about a particular identity pool, including the pool name,+-- ID description, creation date, and current number of users.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.DescribeIdentityPool+ ( -- * Creating a Request+ DescribeIdentityPool (..),+ newDescribeIdentityPool,++ -- * Request Lenses+ describeIdentityPool_identityPoolId,++ -- * Destructuring the Response+ IdentityPool (..),+ newIdentityPool,++ -- * Response Lenses+ identityPool_allowClassicFlow,+ identityPool_cognitoIdentityProviders,+ identityPool_developerProviderName,+ identityPool_identityPoolTags,+ identityPool_openIdConnectProviderARNs,+ identityPool_samlProviderARNs,+ identityPool_supportedLoginProviders,+ identityPool_identityPoolId,+ identityPool_identityPoolName,+ identityPool_allowUnauthenticatedIdentities,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the DescribeIdentityPool action.+--+-- /See:/ 'newDescribeIdentityPool' smart constructor.+data DescribeIdentityPool = DescribeIdentityPool'+ { -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeIdentityPool' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityPoolId', 'describeIdentityPool_identityPoolId' - An identity pool ID in the format REGION:GUID.+newDescribeIdentityPool ::+ -- | 'identityPoolId'+ Prelude.Text ->+ DescribeIdentityPool+newDescribeIdentityPool pIdentityPoolId_ =+ DescribeIdentityPool'+ { identityPoolId =+ pIdentityPoolId_+ }++-- | An identity pool ID in the format REGION:GUID.+describeIdentityPool_identityPoolId :: Lens.Lens' DescribeIdentityPool Prelude.Text+describeIdentityPool_identityPoolId = Lens.lens (\DescribeIdentityPool' {identityPoolId} -> identityPoolId) (\s@DescribeIdentityPool' {} a -> s {identityPoolId = a} :: DescribeIdentityPool)++instance Core.AWSRequest DescribeIdentityPool where+ type AWSResponse DescribeIdentityPool = IdentityPool+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ (\s h x -> Data.eitherParseJSON x)++instance Prelude.Hashable DescribeIdentityPool where+ hashWithSalt _salt DescribeIdentityPool' {..} =+ _salt `Prelude.hashWithSalt` identityPoolId++instance Prelude.NFData DescribeIdentityPool where+ rnf DescribeIdentityPool' {..} =+ Prelude.rnf identityPoolId++instance Data.ToHeaders DescribeIdentityPool where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.DescribeIdentityPool" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeIdentityPool where+ toJSON DescribeIdentityPool' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId)+ ]+ )++instance Data.ToPath DescribeIdentityPool where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeIdentityPool where+ toQuery = Prelude.const Prelude.mempty
+ gen/Amazonka/CognitoIdentity/GetCredentialsForIdentity.hs view
@@ -0,0 +1,267 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.GetCredentialsForIdentity+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns credentials for the provided identity ID. Any provided logins+-- will be validated against supported login providers. If the token is for+-- cognito-identity.amazonaws.com, it will be passed through to AWS+-- Security Token Service with the appropriate role for the token.+--+-- This is a public API. You do not need any credentials to call this API.+module Amazonka.CognitoIdentity.GetCredentialsForIdentity+ ( -- * Creating a Request+ GetCredentialsForIdentity (..),+ newGetCredentialsForIdentity,++ -- * Request Lenses+ getCredentialsForIdentity_customRoleArn,+ getCredentialsForIdentity_logins,+ getCredentialsForIdentity_identityId,++ -- * Destructuring the Response+ GetCredentialsForIdentityResponse (..),+ newGetCredentialsForIdentityResponse,++ -- * Response Lenses+ getCredentialsForIdentityResponse_credentials,+ getCredentialsForIdentityResponse_identityId,+ getCredentialsForIdentityResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the @GetCredentialsForIdentity@ action.+--+-- /See:/ 'newGetCredentialsForIdentity' smart constructor.+data GetCredentialsForIdentity = GetCredentialsForIdentity'+ { -- | The Amazon Resource Name (ARN) of the role to be assumed when multiple+ -- roles were received in the token from the identity provider. For+ -- example, a SAML-based identity provider. This parameter is optional for+ -- identity providers that do not support role customization.+ customRoleArn :: Prelude.Maybe Prelude.Text,+ -- | A set of optional name-value pairs that map provider names to provider+ -- tokens. The name-value pair will follow the syntax \"provider_name\":+ -- \"provider_user_identifier\".+ --+ -- Logins should not be specified when trying to get credentials for an+ -- unauthenticated identity.+ --+ -- The Logins parameter is required when using identities associated with+ -- external identity providers such as Facebook. For examples of @Logins@+ -- maps, see the code examples in the+ -- <https://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html External Identity Providers>+ -- section of the Amazon Cognito Developer Guide.+ logins :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetCredentialsForIdentity' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'customRoleArn', 'getCredentialsForIdentity_customRoleArn' - The Amazon Resource Name (ARN) of the role to be assumed when multiple+-- roles were received in the token from the identity provider. For+-- example, a SAML-based identity provider. This parameter is optional for+-- identity providers that do not support role customization.+--+-- 'logins', 'getCredentialsForIdentity_logins' - A set of optional name-value pairs that map provider names to provider+-- tokens. The name-value pair will follow the syntax \"provider_name\":+-- \"provider_user_identifier\".+--+-- Logins should not be specified when trying to get credentials for an+-- unauthenticated identity.+--+-- The Logins parameter is required when using identities associated with+-- external identity providers such as Facebook. For examples of @Logins@+-- maps, see the code examples in the+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html External Identity Providers>+-- section of the Amazon Cognito Developer Guide.+--+-- 'identityId', 'getCredentialsForIdentity_identityId' - A unique identifier in the format REGION:GUID.+newGetCredentialsForIdentity ::+ -- | 'identityId'+ Prelude.Text ->+ GetCredentialsForIdentity+newGetCredentialsForIdentity pIdentityId_ =+ GetCredentialsForIdentity'+ { customRoleArn =+ Prelude.Nothing,+ logins = Prelude.Nothing,+ identityId = pIdentityId_+ }++-- | The Amazon Resource Name (ARN) of the role to be assumed when multiple+-- roles were received in the token from the identity provider. For+-- example, a SAML-based identity provider. This parameter is optional for+-- identity providers that do not support role customization.+getCredentialsForIdentity_customRoleArn :: Lens.Lens' GetCredentialsForIdentity (Prelude.Maybe Prelude.Text)+getCredentialsForIdentity_customRoleArn = Lens.lens (\GetCredentialsForIdentity' {customRoleArn} -> customRoleArn) (\s@GetCredentialsForIdentity' {} a -> s {customRoleArn = a} :: GetCredentialsForIdentity)++-- | A set of optional name-value pairs that map provider names to provider+-- tokens. The name-value pair will follow the syntax \"provider_name\":+-- \"provider_user_identifier\".+--+-- Logins should not be specified when trying to get credentials for an+-- unauthenticated identity.+--+-- The Logins parameter is required when using identities associated with+-- external identity providers such as Facebook. For examples of @Logins@+-- maps, see the code examples in the+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html External Identity Providers>+-- section of the Amazon Cognito Developer Guide.+getCredentialsForIdentity_logins :: Lens.Lens' GetCredentialsForIdentity (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+getCredentialsForIdentity_logins = Lens.lens (\GetCredentialsForIdentity' {logins} -> logins) (\s@GetCredentialsForIdentity' {} a -> s {logins = a} :: GetCredentialsForIdentity) Prelude.. Lens.mapping Lens.coerced++-- | A unique identifier in the format REGION:GUID.+getCredentialsForIdentity_identityId :: Lens.Lens' GetCredentialsForIdentity Prelude.Text+getCredentialsForIdentity_identityId = Lens.lens (\GetCredentialsForIdentity' {identityId} -> identityId) (\s@GetCredentialsForIdentity' {} a -> s {identityId = a} :: GetCredentialsForIdentity)++instance Core.AWSRequest GetCredentialsForIdentity where+ type+ AWSResponse GetCredentialsForIdentity =+ GetCredentialsForIdentityResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetCredentialsForIdentityResponse'+ Prelude.<$> (x Data..?> "Credentials")+ Prelude.<*> (x Data..?> "IdentityId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetCredentialsForIdentity where+ hashWithSalt _salt GetCredentialsForIdentity' {..} =+ _salt+ `Prelude.hashWithSalt` customRoleArn+ `Prelude.hashWithSalt` logins+ `Prelude.hashWithSalt` identityId++instance Prelude.NFData GetCredentialsForIdentity where+ rnf GetCredentialsForIdentity' {..} =+ Prelude.rnf customRoleArn+ `Prelude.seq` Prelude.rnf logins+ `Prelude.seq` Prelude.rnf identityId++instance Data.ToHeaders GetCredentialsForIdentity where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.GetCredentialsForIdentity" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetCredentialsForIdentity where+ toJSON GetCredentialsForIdentity' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("CustomRoleArn" Data..=) Prelude.<$> customRoleArn,+ ("Logins" Data..=) Prelude.<$> logins,+ Prelude.Just ("IdentityId" Data..= identityId)+ ]+ )++instance Data.ToPath GetCredentialsForIdentity where+ toPath = Prelude.const "/"++instance Data.ToQuery GetCredentialsForIdentity where+ toQuery = Prelude.const Prelude.mempty++-- | Returned in response to a successful @GetCredentialsForIdentity@+-- operation.+--+-- /See:/ 'newGetCredentialsForIdentityResponse' smart constructor.+data GetCredentialsForIdentityResponse = GetCredentialsForIdentityResponse'+ { -- | Credentials for the provided identity ID.+ credentials :: Prelude.Maybe Credentials,+ -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetCredentialsForIdentityResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'credentials', 'getCredentialsForIdentityResponse_credentials' - Credentials for the provided identity ID.+--+-- 'identityId', 'getCredentialsForIdentityResponse_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'httpStatus', 'getCredentialsForIdentityResponse_httpStatus' - The response's http status code.+newGetCredentialsForIdentityResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetCredentialsForIdentityResponse+newGetCredentialsForIdentityResponse pHttpStatus_ =+ GetCredentialsForIdentityResponse'+ { credentials =+ Prelude.Nothing,+ identityId = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Credentials for the provided identity ID.+getCredentialsForIdentityResponse_credentials :: Lens.Lens' GetCredentialsForIdentityResponse (Prelude.Maybe Credentials)+getCredentialsForIdentityResponse_credentials = Lens.lens (\GetCredentialsForIdentityResponse' {credentials} -> credentials) (\s@GetCredentialsForIdentityResponse' {} a -> s {credentials = a} :: GetCredentialsForIdentityResponse)++-- | A unique identifier in the format REGION:GUID.+getCredentialsForIdentityResponse_identityId :: Lens.Lens' GetCredentialsForIdentityResponse (Prelude.Maybe Prelude.Text)+getCredentialsForIdentityResponse_identityId = Lens.lens (\GetCredentialsForIdentityResponse' {identityId} -> identityId) (\s@GetCredentialsForIdentityResponse' {} a -> s {identityId = a} :: GetCredentialsForIdentityResponse)++-- | The response's http status code.+getCredentialsForIdentityResponse_httpStatus :: Lens.Lens' GetCredentialsForIdentityResponse Prelude.Int+getCredentialsForIdentityResponse_httpStatus = Lens.lens (\GetCredentialsForIdentityResponse' {httpStatus} -> httpStatus) (\s@GetCredentialsForIdentityResponse' {} a -> s {httpStatus = a} :: GetCredentialsForIdentityResponse)++instance+ Prelude.NFData+ GetCredentialsForIdentityResponse+ where+ rnf GetCredentialsForIdentityResponse' {..} =+ Prelude.rnf credentials+ `Prelude.seq` Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/GetId.hs view
@@ -0,0 +1,249 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.GetId+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Generates (or retrieves) a Cognito ID. Supplying multiple logins will+-- create an implicit linked account.+--+-- This is a public API. You do not need any credentials to call this API.+module Amazonka.CognitoIdentity.GetId+ ( -- * Creating a Request+ GetId (..),+ newGetId,++ -- * Request Lenses+ getId_accountId,+ getId_logins,+ getId_identityPoolId,++ -- * Destructuring the Response+ GetIdResponse (..),+ newGetIdResponse,++ -- * Response Lenses+ getIdResponse_identityId,+ getIdResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the GetId action.+--+-- /See:/ 'newGetId' smart constructor.+data GetId = GetId'+ { -- | A standard AWS account ID (9+ digits).+ accountId :: Prelude.Maybe Prelude.Text,+ -- | A set of optional name-value pairs that map provider names to provider+ -- tokens. The available provider names for @Logins@ are as follows:+ --+ -- - Facebook: @graph.facebook.com@+ --+ -- - Amazon Cognito user pool:+ -- @cognito-idp.\<region>.amazonaws.com\/\<YOUR_USER_POOL_ID>@, for+ -- example, @cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789@.+ --+ -- - Google: @accounts.google.com@+ --+ -- - Amazon: @www.amazon.com@+ --+ -- - Twitter: @api.twitter.com@+ --+ -- - Digits: @www.digits.com@+ logins :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetId' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accountId', 'getId_accountId' - A standard AWS account ID (9+ digits).+--+-- 'logins', 'getId_logins' - A set of optional name-value pairs that map provider names to provider+-- tokens. The available provider names for @Logins@ are as follows:+--+-- - Facebook: @graph.facebook.com@+--+-- - Amazon Cognito user pool:+-- @cognito-idp.\<region>.amazonaws.com\/\<YOUR_USER_POOL_ID>@, for+-- example, @cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789@.+--+-- - Google: @accounts.google.com@+--+-- - Amazon: @www.amazon.com@+--+-- - Twitter: @api.twitter.com@+--+-- - Digits: @www.digits.com@+--+-- 'identityPoolId', 'getId_identityPoolId' - An identity pool ID in the format REGION:GUID.+newGetId ::+ -- | 'identityPoolId'+ Prelude.Text ->+ GetId+newGetId pIdentityPoolId_ =+ GetId'+ { accountId = Prelude.Nothing,+ logins = Prelude.Nothing,+ identityPoolId = pIdentityPoolId_+ }++-- | A standard AWS account ID (9+ digits).+getId_accountId :: Lens.Lens' GetId (Prelude.Maybe Prelude.Text)+getId_accountId = Lens.lens (\GetId' {accountId} -> accountId) (\s@GetId' {} a -> s {accountId = a} :: GetId)++-- | A set of optional name-value pairs that map provider names to provider+-- tokens. The available provider names for @Logins@ are as follows:+--+-- - Facebook: @graph.facebook.com@+--+-- - Amazon Cognito user pool:+-- @cognito-idp.\<region>.amazonaws.com\/\<YOUR_USER_POOL_ID>@, for+-- example, @cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789@.+--+-- - Google: @accounts.google.com@+--+-- - Amazon: @www.amazon.com@+--+-- - Twitter: @api.twitter.com@+--+-- - Digits: @www.digits.com@+getId_logins :: Lens.Lens' GetId (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+getId_logins = Lens.lens (\GetId' {logins} -> logins) (\s@GetId' {} a -> s {logins = a} :: GetId) Prelude.. Lens.mapping Lens.coerced++-- | An identity pool ID in the format REGION:GUID.+getId_identityPoolId :: Lens.Lens' GetId Prelude.Text+getId_identityPoolId = Lens.lens (\GetId' {identityPoolId} -> identityPoolId) (\s@GetId' {} a -> s {identityPoolId = a} :: GetId)++instance Core.AWSRequest GetId where+ type AWSResponse GetId = GetIdResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetIdResponse'+ Prelude.<$> (x Data..?> "IdentityId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetId where+ hashWithSalt _salt GetId' {..} =+ _salt+ `Prelude.hashWithSalt` accountId+ `Prelude.hashWithSalt` logins+ `Prelude.hashWithSalt` identityPoolId++instance Prelude.NFData GetId where+ rnf GetId' {..} =+ Prelude.rnf accountId+ `Prelude.seq` Prelude.rnf logins+ `Prelude.seq` Prelude.rnf identityPoolId++instance Data.ToHeaders GetId where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.GetId" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetId where+ toJSON GetId' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AccountId" Data..=) Prelude.<$> accountId,+ ("Logins" Data..=) Prelude.<$> logins,+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId)+ ]+ )++instance Data.ToPath GetId where+ toPath = Prelude.const "/"++instance Data.ToQuery GetId where+ toQuery = Prelude.const Prelude.mempty++-- | Returned in response to a GetId request.+--+-- /See:/ 'newGetIdResponse' smart constructor.+data GetIdResponse = GetIdResponse'+ { -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetIdResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityId', 'getIdResponse_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'httpStatus', 'getIdResponse_httpStatus' - The response's http status code.+newGetIdResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetIdResponse+newGetIdResponse pHttpStatus_ =+ GetIdResponse'+ { identityId = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A unique identifier in the format REGION:GUID.+getIdResponse_identityId :: Lens.Lens' GetIdResponse (Prelude.Maybe Prelude.Text)+getIdResponse_identityId = Lens.lens (\GetIdResponse' {identityId} -> identityId) (\s@GetIdResponse' {} a -> s {identityId = a} :: GetIdResponse)++-- | The response's http status code.+getIdResponse_httpStatus :: Lens.Lens' GetIdResponse Prelude.Int+getIdResponse_httpStatus = Lens.lens (\GetIdResponse' {httpStatus} -> httpStatus) (\s@GetIdResponse' {} a -> s {httpStatus = a} :: GetIdResponse)++instance Prelude.NFData GetIdResponse where+ rnf GetIdResponse' {..} =+ Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/GetIdentityPoolRoles.hs view
@@ -0,0 +1,216 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.GetIdentityPoolRoles+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the roles for an identity pool.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.GetIdentityPoolRoles+ ( -- * Creating a Request+ GetIdentityPoolRoles (..),+ newGetIdentityPoolRoles,++ -- * Request Lenses+ getIdentityPoolRoles_identityPoolId,++ -- * Destructuring the Response+ GetIdentityPoolRolesResponse (..),+ newGetIdentityPoolRolesResponse,++ -- * Response Lenses+ getIdentityPoolRolesResponse_identityPoolId,+ getIdentityPoolRolesResponse_roleMappings,+ getIdentityPoolRolesResponse_roles,+ getIdentityPoolRolesResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the @GetIdentityPoolRoles@ action.+--+-- /See:/ 'newGetIdentityPoolRoles' smart constructor.+data GetIdentityPoolRoles = GetIdentityPoolRoles'+ { -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetIdentityPoolRoles' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityPoolId', 'getIdentityPoolRoles_identityPoolId' - An identity pool ID in the format REGION:GUID.+newGetIdentityPoolRoles ::+ -- | 'identityPoolId'+ Prelude.Text ->+ GetIdentityPoolRoles+newGetIdentityPoolRoles pIdentityPoolId_ =+ GetIdentityPoolRoles'+ { identityPoolId =+ pIdentityPoolId_+ }++-- | An identity pool ID in the format REGION:GUID.+getIdentityPoolRoles_identityPoolId :: Lens.Lens' GetIdentityPoolRoles Prelude.Text+getIdentityPoolRoles_identityPoolId = Lens.lens (\GetIdentityPoolRoles' {identityPoolId} -> identityPoolId) (\s@GetIdentityPoolRoles' {} a -> s {identityPoolId = a} :: GetIdentityPoolRoles)++instance Core.AWSRequest GetIdentityPoolRoles where+ type+ AWSResponse GetIdentityPoolRoles =+ GetIdentityPoolRolesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetIdentityPoolRolesResponse'+ Prelude.<$> (x Data..?> "IdentityPoolId")+ Prelude.<*> (x Data..?> "RoleMappings" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "Roles" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetIdentityPoolRoles where+ hashWithSalt _salt GetIdentityPoolRoles' {..} =+ _salt `Prelude.hashWithSalt` identityPoolId++instance Prelude.NFData GetIdentityPoolRoles where+ rnf GetIdentityPoolRoles' {..} =+ Prelude.rnf identityPoolId++instance Data.ToHeaders GetIdentityPoolRoles where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.GetIdentityPoolRoles" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetIdentityPoolRoles where+ toJSON GetIdentityPoolRoles' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId)+ ]+ )++instance Data.ToPath GetIdentityPoolRoles where+ toPath = Prelude.const "/"++instance Data.ToQuery GetIdentityPoolRoles where+ toQuery = Prelude.const Prelude.mempty++-- | Returned in response to a successful @GetIdentityPoolRoles@ operation.+--+-- /See:/ 'newGetIdentityPoolRolesResponse' smart constructor.+data GetIdentityPoolRolesResponse = GetIdentityPoolRolesResponse'+ { -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Maybe Prelude.Text,+ -- | How users for a specific identity provider are to mapped to roles. This+ -- is a String-to-RoleMapping object map. The string identifies the+ -- identity provider, for example, \"graph.facebook.com\" or+ -- \"cognito-idp.us-east-1.amazonaws.com\/us-east-1_abcdefghi:app_client_id\".+ roleMappings :: Prelude.Maybe (Prelude.HashMap Prelude.Text RoleMapping),+ -- | The map of roles associated with this pool. Currently only authenticated+ -- and unauthenticated roles are supported.+ roles :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetIdentityPoolRolesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityPoolId', 'getIdentityPoolRolesResponse_identityPoolId' - An identity pool ID in the format REGION:GUID.+--+-- 'roleMappings', 'getIdentityPoolRolesResponse_roleMappings' - How users for a specific identity provider are to mapped to roles. This+-- is a String-to-RoleMapping object map. The string identifies the+-- identity provider, for example, \"graph.facebook.com\" or+-- \"cognito-idp.us-east-1.amazonaws.com\/us-east-1_abcdefghi:app_client_id\".+--+-- 'roles', 'getIdentityPoolRolesResponse_roles' - The map of roles associated with this pool. Currently only authenticated+-- and unauthenticated roles are supported.+--+-- 'httpStatus', 'getIdentityPoolRolesResponse_httpStatus' - The response's http status code.+newGetIdentityPoolRolesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetIdentityPoolRolesResponse+newGetIdentityPoolRolesResponse pHttpStatus_ =+ GetIdentityPoolRolesResponse'+ { identityPoolId =+ Prelude.Nothing,+ roleMappings = Prelude.Nothing,+ roles = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | An identity pool ID in the format REGION:GUID.+getIdentityPoolRolesResponse_identityPoolId :: Lens.Lens' GetIdentityPoolRolesResponse (Prelude.Maybe Prelude.Text)+getIdentityPoolRolesResponse_identityPoolId = Lens.lens (\GetIdentityPoolRolesResponse' {identityPoolId} -> identityPoolId) (\s@GetIdentityPoolRolesResponse' {} a -> s {identityPoolId = a} :: GetIdentityPoolRolesResponse)++-- | How users for a specific identity provider are to mapped to roles. This+-- is a String-to-RoleMapping object map. The string identifies the+-- identity provider, for example, \"graph.facebook.com\" or+-- \"cognito-idp.us-east-1.amazonaws.com\/us-east-1_abcdefghi:app_client_id\".+getIdentityPoolRolesResponse_roleMappings :: Lens.Lens' GetIdentityPoolRolesResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text RoleMapping))+getIdentityPoolRolesResponse_roleMappings = Lens.lens (\GetIdentityPoolRolesResponse' {roleMappings} -> roleMappings) (\s@GetIdentityPoolRolesResponse' {} a -> s {roleMappings = a} :: GetIdentityPoolRolesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The map of roles associated with this pool. Currently only authenticated+-- and unauthenticated roles are supported.+getIdentityPoolRolesResponse_roles :: Lens.Lens' GetIdentityPoolRolesResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+getIdentityPoolRolesResponse_roles = Lens.lens (\GetIdentityPoolRolesResponse' {roles} -> roles) (\s@GetIdentityPoolRolesResponse' {} a -> s {roles = a} :: GetIdentityPoolRolesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+getIdentityPoolRolesResponse_httpStatus :: Lens.Lens' GetIdentityPoolRolesResponse Prelude.Int+getIdentityPoolRolesResponse_httpStatus = Lens.lens (\GetIdentityPoolRolesResponse' {httpStatus} -> httpStatus) (\s@GetIdentityPoolRolesResponse' {} a -> s {httpStatus = a} :: GetIdentityPoolRolesResponse)++instance Prelude.NFData GetIdentityPoolRolesResponse where+ rnf GetIdentityPoolRolesResponse' {..} =+ Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf roleMappings+ `Prelude.seq` Prelude.rnf roles+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/GetOpenIdToken.hs view
@@ -0,0 +1,223 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.GetOpenIdToken+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets an OpenID token, using a known Cognito ID. This known Cognito ID is+-- returned by GetId. You can optionally add additional logins for the+-- identity. Supplying multiple logins creates an implicit link.+--+-- The OpenID token is valid for 10 minutes.+--+-- This is a public API. You do not need any credentials to call this API.+module Amazonka.CognitoIdentity.GetOpenIdToken+ ( -- * Creating a Request+ GetOpenIdToken (..),+ newGetOpenIdToken,++ -- * Request Lenses+ getOpenIdToken_logins,+ getOpenIdToken_identityId,++ -- * Destructuring the Response+ GetOpenIdTokenResponse (..),+ newGetOpenIdTokenResponse,++ -- * Response Lenses+ getOpenIdTokenResponse_identityId,+ getOpenIdTokenResponse_token,+ getOpenIdTokenResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the GetOpenIdToken action.+--+-- /See:/ 'newGetOpenIdToken' smart constructor.+data GetOpenIdToken = GetOpenIdToken'+ { -- | A set of optional name-value pairs that map provider names to provider+ -- tokens. When using graph.facebook.com and www.amazon.com, supply the+ -- access_token returned from the provider\'s authflow. For+ -- accounts.google.com, an Amazon Cognito user pool provider, or any other+ -- OpenID Connect provider, always include the @id_token@.+ logins :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetOpenIdToken' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'logins', 'getOpenIdToken_logins' - A set of optional name-value pairs that map provider names to provider+-- tokens. When using graph.facebook.com and www.amazon.com, supply the+-- access_token returned from the provider\'s authflow. For+-- accounts.google.com, an Amazon Cognito user pool provider, or any other+-- OpenID Connect provider, always include the @id_token@.+--+-- 'identityId', 'getOpenIdToken_identityId' - A unique identifier in the format REGION:GUID.+newGetOpenIdToken ::+ -- | 'identityId'+ Prelude.Text ->+ GetOpenIdToken+newGetOpenIdToken pIdentityId_ =+ GetOpenIdToken'+ { logins = Prelude.Nothing,+ identityId = pIdentityId_+ }++-- | A set of optional name-value pairs that map provider names to provider+-- tokens. When using graph.facebook.com and www.amazon.com, supply the+-- access_token returned from the provider\'s authflow. For+-- accounts.google.com, an Amazon Cognito user pool provider, or any other+-- OpenID Connect provider, always include the @id_token@.+getOpenIdToken_logins :: Lens.Lens' GetOpenIdToken (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+getOpenIdToken_logins = Lens.lens (\GetOpenIdToken' {logins} -> logins) (\s@GetOpenIdToken' {} a -> s {logins = a} :: GetOpenIdToken) Prelude.. Lens.mapping Lens.coerced++-- | A unique identifier in the format REGION:GUID.+getOpenIdToken_identityId :: Lens.Lens' GetOpenIdToken Prelude.Text+getOpenIdToken_identityId = Lens.lens (\GetOpenIdToken' {identityId} -> identityId) (\s@GetOpenIdToken' {} a -> s {identityId = a} :: GetOpenIdToken)++instance Core.AWSRequest GetOpenIdToken where+ type+ AWSResponse GetOpenIdToken =+ GetOpenIdTokenResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetOpenIdTokenResponse'+ Prelude.<$> (x Data..?> "IdentityId")+ Prelude.<*> (x Data..?> "Token")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetOpenIdToken where+ hashWithSalt _salt GetOpenIdToken' {..} =+ _salt+ `Prelude.hashWithSalt` logins+ `Prelude.hashWithSalt` identityId++instance Prelude.NFData GetOpenIdToken where+ rnf GetOpenIdToken' {..} =+ Prelude.rnf logins+ `Prelude.seq` Prelude.rnf identityId++instance Data.ToHeaders GetOpenIdToken where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.GetOpenIdToken" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetOpenIdToken where+ toJSON GetOpenIdToken' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Logins" Data..=) Prelude.<$> logins,+ Prelude.Just ("IdentityId" Data..= identityId)+ ]+ )++instance Data.ToPath GetOpenIdToken where+ toPath = Prelude.const "/"++instance Data.ToQuery GetOpenIdToken where+ toQuery = Prelude.const Prelude.mempty++-- | Returned in response to a successful GetOpenIdToken request.+--+-- /See:/ 'newGetOpenIdTokenResponse' smart constructor.+data GetOpenIdTokenResponse = GetOpenIdTokenResponse'+ { -- | A unique identifier in the format REGION:GUID. Note that the IdentityId+ -- returned may not match the one passed on input.+ identityId :: Prelude.Maybe Prelude.Text,+ -- | An OpenID token, valid for 10 minutes.+ token :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetOpenIdTokenResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityId', 'getOpenIdTokenResponse_identityId' - A unique identifier in the format REGION:GUID. Note that the IdentityId+-- returned may not match the one passed on input.+--+-- 'token', 'getOpenIdTokenResponse_token' - An OpenID token, valid for 10 minutes.+--+-- 'httpStatus', 'getOpenIdTokenResponse_httpStatus' - The response's http status code.+newGetOpenIdTokenResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetOpenIdTokenResponse+newGetOpenIdTokenResponse pHttpStatus_ =+ GetOpenIdTokenResponse'+ { identityId =+ Prelude.Nothing,+ token = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A unique identifier in the format REGION:GUID. Note that the IdentityId+-- returned may not match the one passed on input.+getOpenIdTokenResponse_identityId :: Lens.Lens' GetOpenIdTokenResponse (Prelude.Maybe Prelude.Text)+getOpenIdTokenResponse_identityId = Lens.lens (\GetOpenIdTokenResponse' {identityId} -> identityId) (\s@GetOpenIdTokenResponse' {} a -> s {identityId = a} :: GetOpenIdTokenResponse)++-- | An OpenID token, valid for 10 minutes.+getOpenIdTokenResponse_token :: Lens.Lens' GetOpenIdTokenResponse (Prelude.Maybe Prelude.Text)+getOpenIdTokenResponse_token = Lens.lens (\GetOpenIdTokenResponse' {token} -> token) (\s@GetOpenIdTokenResponse' {} a -> s {token = a} :: GetOpenIdTokenResponse)++-- | The response's http status code.+getOpenIdTokenResponse_httpStatus :: Lens.Lens' GetOpenIdTokenResponse Prelude.Int+getOpenIdTokenResponse_httpStatus = Lens.lens (\GetOpenIdTokenResponse' {httpStatus} -> httpStatus) (\s@GetOpenIdTokenResponse' {} a -> s {httpStatus = a} :: GetOpenIdTokenResponse)++instance Prelude.NFData GetOpenIdTokenResponse where+ rnf GetOpenIdTokenResponse' {..} =+ Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf token+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/GetOpenIdTokenForDeveloperIdentity.hs view
@@ -0,0 +1,348 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Registers (or retrieves) a Cognito @IdentityId@ and an OpenID Connect+-- token for a user authenticated by your backend authentication process.+-- Supplying multiple logins will create an implicit linked account. You+-- can only specify one developer provider as part of the @Logins@ map,+-- which is linked to the identity pool. The developer provider is the+-- \"domain\" by which Cognito will refer to your users.+--+-- You can use @GetOpenIdTokenForDeveloperIdentity@ to create a new+-- identity and to link new logins (that is, user credentials issued by a+-- public provider or developer provider) to an existing identity. When you+-- want to create a new identity, the @IdentityId@ should be null. When you+-- want to associate a new login with an existing+-- authenticated\/unauthenticated identity, you can do so by providing the+-- existing @IdentityId@. This API will create the identity in the+-- specified @IdentityPoolId@.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity+ ( -- * Creating a Request+ GetOpenIdTokenForDeveloperIdentity (..),+ newGetOpenIdTokenForDeveloperIdentity,++ -- * Request Lenses+ getOpenIdTokenForDeveloperIdentity_identityId,+ getOpenIdTokenForDeveloperIdentity_principalTags,+ getOpenIdTokenForDeveloperIdentity_tokenDuration,+ getOpenIdTokenForDeveloperIdentity_identityPoolId,+ getOpenIdTokenForDeveloperIdentity_logins,++ -- * Destructuring the Response+ GetOpenIdTokenForDeveloperIdentityResponse (..),+ newGetOpenIdTokenForDeveloperIdentityResponse,++ -- * Response Lenses+ getOpenIdTokenForDeveloperIdentityResponse_identityId,+ getOpenIdTokenForDeveloperIdentityResponse_token,+ getOpenIdTokenForDeveloperIdentityResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the @GetOpenIdTokenForDeveloperIdentity@ action.+--+-- /See:/ 'newGetOpenIdTokenForDeveloperIdentity' smart constructor.+data GetOpenIdTokenForDeveloperIdentity = GetOpenIdTokenForDeveloperIdentity'+ { -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Maybe Prelude.Text,+ -- | Use this operation to configure attribute mappings for custom providers.+ principalTags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The expiration time of the token, in seconds. You can specify a custom+ -- expiration time for the token so that you can cache it. If you don\'t+ -- provide an expiration time, the token is valid for 15 minutes. You can+ -- exchange the token with Amazon STS for temporary AWS credentials, which+ -- are valid for a maximum of one hour. The maximum token duration you can+ -- set is 24 hours. You should take care in setting the expiration time for+ -- a token, as there are significant security implications: an attacker+ -- could use a leaked token to access your AWS resources for the token\'s+ -- duration.+ --+ -- Please provide for a small grace period, usually no more than 5 minutes,+ -- to account for clock skew.+ tokenDuration :: Prelude.Maybe Prelude.Natural,+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text,+ -- | A set of optional name-value pairs that map provider names to provider+ -- tokens. Each name-value pair represents a user from a public provider or+ -- developer provider. If the user is from a developer provider, the+ -- name-value pair will follow the syntax+ -- @\"developer_provider_name\": \"developer_user_identifier\"@. The+ -- developer provider is the \"domain\" by which Cognito will refer to your+ -- users; you provided this domain while creating\/updating the identity+ -- pool. The developer user identifier is an identifier from your backend+ -- that uniquely identifies a user. When you create an identity pool, you+ -- can specify the supported logins.+ logins :: Prelude.HashMap Prelude.Text Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetOpenIdTokenForDeveloperIdentity' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityId', 'getOpenIdTokenForDeveloperIdentity_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'principalTags', 'getOpenIdTokenForDeveloperIdentity_principalTags' - Use this operation to configure attribute mappings for custom providers.+--+-- 'tokenDuration', 'getOpenIdTokenForDeveloperIdentity_tokenDuration' - The expiration time of the token, in seconds. You can specify a custom+-- expiration time for the token so that you can cache it. If you don\'t+-- provide an expiration time, the token is valid for 15 minutes. You can+-- exchange the token with Amazon STS for temporary AWS credentials, which+-- are valid for a maximum of one hour. The maximum token duration you can+-- set is 24 hours. You should take care in setting the expiration time for+-- a token, as there are significant security implications: an attacker+-- could use a leaked token to access your AWS resources for the token\'s+-- duration.+--+-- Please provide for a small grace period, usually no more than 5 minutes,+-- to account for clock skew.+--+-- 'identityPoolId', 'getOpenIdTokenForDeveloperIdentity_identityPoolId' - An identity pool ID in the format REGION:GUID.+--+-- 'logins', 'getOpenIdTokenForDeveloperIdentity_logins' - A set of optional name-value pairs that map provider names to provider+-- tokens. Each name-value pair represents a user from a public provider or+-- developer provider. If the user is from a developer provider, the+-- name-value pair will follow the syntax+-- @\"developer_provider_name\": \"developer_user_identifier\"@. The+-- developer provider is the \"domain\" by which Cognito will refer to your+-- users; you provided this domain while creating\/updating the identity+-- pool. The developer user identifier is an identifier from your backend+-- that uniquely identifies a user. When you create an identity pool, you+-- can specify the supported logins.+newGetOpenIdTokenForDeveloperIdentity ::+ -- | 'identityPoolId'+ Prelude.Text ->+ GetOpenIdTokenForDeveloperIdentity+newGetOpenIdTokenForDeveloperIdentity+ pIdentityPoolId_ =+ GetOpenIdTokenForDeveloperIdentity'+ { identityId =+ Prelude.Nothing,+ principalTags = Prelude.Nothing,+ tokenDuration = Prelude.Nothing,+ identityPoolId = pIdentityPoolId_,+ logins = Prelude.mempty+ }++-- | A unique identifier in the format REGION:GUID.+getOpenIdTokenForDeveloperIdentity_identityId :: Lens.Lens' GetOpenIdTokenForDeveloperIdentity (Prelude.Maybe Prelude.Text)+getOpenIdTokenForDeveloperIdentity_identityId = Lens.lens (\GetOpenIdTokenForDeveloperIdentity' {identityId} -> identityId) (\s@GetOpenIdTokenForDeveloperIdentity' {} a -> s {identityId = a} :: GetOpenIdTokenForDeveloperIdentity)++-- | Use this operation to configure attribute mappings for custom providers.+getOpenIdTokenForDeveloperIdentity_principalTags :: Lens.Lens' GetOpenIdTokenForDeveloperIdentity (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+getOpenIdTokenForDeveloperIdentity_principalTags = Lens.lens (\GetOpenIdTokenForDeveloperIdentity' {principalTags} -> principalTags) (\s@GetOpenIdTokenForDeveloperIdentity' {} a -> s {principalTags = a} :: GetOpenIdTokenForDeveloperIdentity) Prelude.. Lens.mapping Lens.coerced++-- | The expiration time of the token, in seconds. You can specify a custom+-- expiration time for the token so that you can cache it. If you don\'t+-- provide an expiration time, the token is valid for 15 minutes. You can+-- exchange the token with Amazon STS for temporary AWS credentials, which+-- are valid for a maximum of one hour. The maximum token duration you can+-- set is 24 hours. You should take care in setting the expiration time for+-- a token, as there are significant security implications: an attacker+-- could use a leaked token to access your AWS resources for the token\'s+-- duration.+--+-- Please provide for a small grace period, usually no more than 5 minutes,+-- to account for clock skew.+getOpenIdTokenForDeveloperIdentity_tokenDuration :: Lens.Lens' GetOpenIdTokenForDeveloperIdentity (Prelude.Maybe Prelude.Natural)+getOpenIdTokenForDeveloperIdentity_tokenDuration = Lens.lens (\GetOpenIdTokenForDeveloperIdentity' {tokenDuration} -> tokenDuration) (\s@GetOpenIdTokenForDeveloperIdentity' {} a -> s {tokenDuration = a} :: GetOpenIdTokenForDeveloperIdentity)++-- | An identity pool ID in the format REGION:GUID.+getOpenIdTokenForDeveloperIdentity_identityPoolId :: Lens.Lens' GetOpenIdTokenForDeveloperIdentity Prelude.Text+getOpenIdTokenForDeveloperIdentity_identityPoolId = Lens.lens (\GetOpenIdTokenForDeveloperIdentity' {identityPoolId} -> identityPoolId) (\s@GetOpenIdTokenForDeveloperIdentity' {} a -> s {identityPoolId = a} :: GetOpenIdTokenForDeveloperIdentity)++-- | A set of optional name-value pairs that map provider names to provider+-- tokens. Each name-value pair represents a user from a public provider or+-- developer provider. If the user is from a developer provider, the+-- name-value pair will follow the syntax+-- @\"developer_provider_name\": \"developer_user_identifier\"@. The+-- developer provider is the \"domain\" by which Cognito will refer to your+-- users; you provided this domain while creating\/updating the identity+-- pool. The developer user identifier is an identifier from your backend+-- that uniquely identifies a user. When you create an identity pool, you+-- can specify the supported logins.+getOpenIdTokenForDeveloperIdentity_logins :: Lens.Lens' GetOpenIdTokenForDeveloperIdentity (Prelude.HashMap Prelude.Text Prelude.Text)+getOpenIdTokenForDeveloperIdentity_logins = Lens.lens (\GetOpenIdTokenForDeveloperIdentity' {logins} -> logins) (\s@GetOpenIdTokenForDeveloperIdentity' {} a -> s {logins = a} :: GetOpenIdTokenForDeveloperIdentity) Prelude.. Lens.coerced++instance+ Core.AWSRequest+ GetOpenIdTokenForDeveloperIdentity+ where+ type+ AWSResponse GetOpenIdTokenForDeveloperIdentity =+ GetOpenIdTokenForDeveloperIdentityResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetOpenIdTokenForDeveloperIdentityResponse'+ Prelude.<$> (x Data..?> "IdentityId")+ Prelude.<*> (x Data..?> "Token")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ GetOpenIdTokenForDeveloperIdentity+ where+ hashWithSalt+ _salt+ GetOpenIdTokenForDeveloperIdentity' {..} =+ _salt+ `Prelude.hashWithSalt` identityId+ `Prelude.hashWithSalt` principalTags+ `Prelude.hashWithSalt` tokenDuration+ `Prelude.hashWithSalt` identityPoolId+ `Prelude.hashWithSalt` logins++instance+ Prelude.NFData+ GetOpenIdTokenForDeveloperIdentity+ where+ rnf GetOpenIdTokenForDeveloperIdentity' {..} =+ Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf principalTags+ `Prelude.seq` Prelude.rnf tokenDuration+ `Prelude.seq` Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf logins++instance+ Data.ToHeaders+ GetOpenIdTokenForDeveloperIdentity+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.GetOpenIdTokenForDeveloperIdentity" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance+ Data.ToJSON+ GetOpenIdTokenForDeveloperIdentity+ where+ toJSON GetOpenIdTokenForDeveloperIdentity' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("IdentityId" Data..=) Prelude.<$> identityId,+ ("PrincipalTags" Data..=) Prelude.<$> principalTags,+ ("TokenDuration" Data..=) Prelude.<$> tokenDuration,+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId),+ Prelude.Just ("Logins" Data..= logins)+ ]+ )++instance+ Data.ToPath+ GetOpenIdTokenForDeveloperIdentity+ where+ toPath = Prelude.const "/"++instance+ Data.ToQuery+ GetOpenIdTokenForDeveloperIdentity+ where+ toQuery = Prelude.const Prelude.mempty++-- | Returned in response to a successful+-- @GetOpenIdTokenForDeveloperIdentity@ request.+--+-- /See:/ 'newGetOpenIdTokenForDeveloperIdentityResponse' smart constructor.+data GetOpenIdTokenForDeveloperIdentityResponse = GetOpenIdTokenForDeveloperIdentityResponse'+ { -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Maybe Prelude.Text,+ -- | An OpenID token.+ token :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetOpenIdTokenForDeveloperIdentityResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityId', 'getOpenIdTokenForDeveloperIdentityResponse_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'token', 'getOpenIdTokenForDeveloperIdentityResponse_token' - An OpenID token.+--+-- 'httpStatus', 'getOpenIdTokenForDeveloperIdentityResponse_httpStatus' - The response's http status code.+newGetOpenIdTokenForDeveloperIdentityResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetOpenIdTokenForDeveloperIdentityResponse+newGetOpenIdTokenForDeveloperIdentityResponse+ pHttpStatus_ =+ GetOpenIdTokenForDeveloperIdentityResponse'+ { identityId =+ Prelude.Nothing,+ token = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A unique identifier in the format REGION:GUID.+getOpenIdTokenForDeveloperIdentityResponse_identityId :: Lens.Lens' GetOpenIdTokenForDeveloperIdentityResponse (Prelude.Maybe Prelude.Text)+getOpenIdTokenForDeveloperIdentityResponse_identityId = Lens.lens (\GetOpenIdTokenForDeveloperIdentityResponse' {identityId} -> identityId) (\s@GetOpenIdTokenForDeveloperIdentityResponse' {} a -> s {identityId = a} :: GetOpenIdTokenForDeveloperIdentityResponse)++-- | An OpenID token.+getOpenIdTokenForDeveloperIdentityResponse_token :: Lens.Lens' GetOpenIdTokenForDeveloperIdentityResponse (Prelude.Maybe Prelude.Text)+getOpenIdTokenForDeveloperIdentityResponse_token = Lens.lens (\GetOpenIdTokenForDeveloperIdentityResponse' {token} -> token) (\s@GetOpenIdTokenForDeveloperIdentityResponse' {} a -> s {token = a} :: GetOpenIdTokenForDeveloperIdentityResponse)++-- | The response's http status code.+getOpenIdTokenForDeveloperIdentityResponse_httpStatus :: Lens.Lens' GetOpenIdTokenForDeveloperIdentityResponse Prelude.Int+getOpenIdTokenForDeveloperIdentityResponse_httpStatus = Lens.lens (\GetOpenIdTokenForDeveloperIdentityResponse' {httpStatus} -> httpStatus) (\s@GetOpenIdTokenForDeveloperIdentityResponse' {} a -> s {httpStatus = a} :: GetOpenIdTokenForDeveloperIdentityResponse)++instance+ Prelude.NFData+ GetOpenIdTokenForDeveloperIdentityResponse+ where+ rnf GetOpenIdTokenForDeveloperIdentityResponse' {..} =+ Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf token+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/GetPrincipalTagAttributeMap.hs view
@@ -0,0 +1,247 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Use @GetPrincipalTagAttributeMap@ to list all mappings between+-- @PrincipalTags@ and user attributes.+module Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap+ ( -- * Creating a Request+ GetPrincipalTagAttributeMap (..),+ newGetPrincipalTagAttributeMap,++ -- * Request Lenses+ getPrincipalTagAttributeMap_identityPoolId,+ getPrincipalTagAttributeMap_identityProviderName,++ -- * Destructuring the Response+ GetPrincipalTagAttributeMapResponse (..),+ newGetPrincipalTagAttributeMapResponse,++ -- * Response Lenses+ getPrincipalTagAttributeMapResponse_identityPoolId,+ getPrincipalTagAttributeMapResponse_identityProviderName,+ getPrincipalTagAttributeMapResponse_principalTags,+ getPrincipalTagAttributeMapResponse_useDefaults,+ getPrincipalTagAttributeMapResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetPrincipalTagAttributeMap' smart constructor.+data GetPrincipalTagAttributeMap = GetPrincipalTagAttributeMap'+ { -- | You can use this operation to get the ID of the Identity Pool you setup+ -- attribute mappings for.+ identityPoolId :: Prelude.Text,+ -- | You can use this operation to get the provider name.+ identityProviderName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetPrincipalTagAttributeMap' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityPoolId', 'getPrincipalTagAttributeMap_identityPoolId' - You can use this operation to get the ID of the Identity Pool you setup+-- attribute mappings for.+--+-- 'identityProviderName', 'getPrincipalTagAttributeMap_identityProviderName' - You can use this operation to get the provider name.+newGetPrincipalTagAttributeMap ::+ -- | 'identityPoolId'+ Prelude.Text ->+ -- | 'identityProviderName'+ Prelude.Text ->+ GetPrincipalTagAttributeMap+newGetPrincipalTagAttributeMap+ pIdentityPoolId_+ pIdentityProviderName_ =+ GetPrincipalTagAttributeMap'+ { identityPoolId =+ pIdentityPoolId_,+ identityProviderName = pIdentityProviderName_+ }++-- | You can use this operation to get the ID of the Identity Pool you setup+-- attribute mappings for.+getPrincipalTagAttributeMap_identityPoolId :: Lens.Lens' GetPrincipalTagAttributeMap Prelude.Text+getPrincipalTagAttributeMap_identityPoolId = Lens.lens (\GetPrincipalTagAttributeMap' {identityPoolId} -> identityPoolId) (\s@GetPrincipalTagAttributeMap' {} a -> s {identityPoolId = a} :: GetPrincipalTagAttributeMap)++-- | You can use this operation to get the provider name.+getPrincipalTagAttributeMap_identityProviderName :: Lens.Lens' GetPrincipalTagAttributeMap Prelude.Text+getPrincipalTagAttributeMap_identityProviderName = Lens.lens (\GetPrincipalTagAttributeMap' {identityProviderName} -> identityProviderName) (\s@GetPrincipalTagAttributeMap' {} a -> s {identityProviderName = a} :: GetPrincipalTagAttributeMap)++instance Core.AWSRequest GetPrincipalTagAttributeMap where+ type+ AWSResponse GetPrincipalTagAttributeMap =+ GetPrincipalTagAttributeMapResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetPrincipalTagAttributeMapResponse'+ Prelude.<$> (x Data..?> "IdentityPoolId")+ Prelude.<*> (x Data..?> "IdentityProviderName")+ Prelude.<*> (x Data..?> "PrincipalTags" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "UseDefaults")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetPrincipalTagAttributeMap where+ hashWithSalt _salt GetPrincipalTagAttributeMap' {..} =+ _salt+ `Prelude.hashWithSalt` identityPoolId+ `Prelude.hashWithSalt` identityProviderName++instance Prelude.NFData GetPrincipalTagAttributeMap where+ rnf GetPrincipalTagAttributeMap' {..} =+ Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf identityProviderName++instance Data.ToHeaders GetPrincipalTagAttributeMap where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.GetPrincipalTagAttributeMap" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetPrincipalTagAttributeMap where+ toJSON GetPrincipalTagAttributeMap' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId),+ Prelude.Just+ ( "IdentityProviderName"+ Data..= identityProviderName+ )+ ]+ )++instance Data.ToPath GetPrincipalTagAttributeMap where+ toPath = Prelude.const "/"++instance Data.ToQuery GetPrincipalTagAttributeMap where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetPrincipalTagAttributeMapResponse' smart constructor.+data GetPrincipalTagAttributeMapResponse = GetPrincipalTagAttributeMapResponse'+ { -- | You can use this operation to get the ID of the Identity Pool you setup+ -- attribute mappings for.+ identityPoolId :: Prelude.Maybe Prelude.Text,+ -- | You can use this operation to get the provider name.+ identityProviderName :: Prelude.Maybe Prelude.Text,+ -- | You can use this operation to add principal tags. The+ -- @PrincipalTags@operation enables you to reference user attributes in+ -- your IAM permissions policy.+ principalTags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | You can use this operation to list+ useDefaults :: Prelude.Maybe Prelude.Bool,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetPrincipalTagAttributeMapResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityPoolId', 'getPrincipalTagAttributeMapResponse_identityPoolId' - You can use this operation to get the ID of the Identity Pool you setup+-- attribute mappings for.+--+-- 'identityProviderName', 'getPrincipalTagAttributeMapResponse_identityProviderName' - You can use this operation to get the provider name.+--+-- 'principalTags', 'getPrincipalTagAttributeMapResponse_principalTags' - You can use this operation to add principal tags. The+-- @PrincipalTags@operation enables you to reference user attributes in+-- your IAM permissions policy.+--+-- 'useDefaults', 'getPrincipalTagAttributeMapResponse_useDefaults' - You can use this operation to list+--+-- 'httpStatus', 'getPrincipalTagAttributeMapResponse_httpStatus' - The response's http status code.+newGetPrincipalTagAttributeMapResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetPrincipalTagAttributeMapResponse+newGetPrincipalTagAttributeMapResponse pHttpStatus_ =+ GetPrincipalTagAttributeMapResponse'+ { identityPoolId =+ Prelude.Nothing,+ identityProviderName = Prelude.Nothing,+ principalTags = Prelude.Nothing,+ useDefaults = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | You can use this operation to get the ID of the Identity Pool you setup+-- attribute mappings for.+getPrincipalTagAttributeMapResponse_identityPoolId :: Lens.Lens' GetPrincipalTagAttributeMapResponse (Prelude.Maybe Prelude.Text)+getPrincipalTagAttributeMapResponse_identityPoolId = Lens.lens (\GetPrincipalTagAttributeMapResponse' {identityPoolId} -> identityPoolId) (\s@GetPrincipalTagAttributeMapResponse' {} a -> s {identityPoolId = a} :: GetPrincipalTagAttributeMapResponse)++-- | You can use this operation to get the provider name.+getPrincipalTagAttributeMapResponse_identityProviderName :: Lens.Lens' GetPrincipalTagAttributeMapResponse (Prelude.Maybe Prelude.Text)+getPrincipalTagAttributeMapResponse_identityProviderName = Lens.lens (\GetPrincipalTagAttributeMapResponse' {identityProviderName} -> identityProviderName) (\s@GetPrincipalTagAttributeMapResponse' {} a -> s {identityProviderName = a} :: GetPrincipalTagAttributeMapResponse)++-- | You can use this operation to add principal tags. The+-- @PrincipalTags@operation enables you to reference user attributes in+-- your IAM permissions policy.+getPrincipalTagAttributeMapResponse_principalTags :: Lens.Lens' GetPrincipalTagAttributeMapResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+getPrincipalTagAttributeMapResponse_principalTags = Lens.lens (\GetPrincipalTagAttributeMapResponse' {principalTags} -> principalTags) (\s@GetPrincipalTagAttributeMapResponse' {} a -> s {principalTags = a} :: GetPrincipalTagAttributeMapResponse) Prelude.. Lens.mapping Lens.coerced++-- | You can use this operation to list+getPrincipalTagAttributeMapResponse_useDefaults :: Lens.Lens' GetPrincipalTagAttributeMapResponse (Prelude.Maybe Prelude.Bool)+getPrincipalTagAttributeMapResponse_useDefaults = Lens.lens (\GetPrincipalTagAttributeMapResponse' {useDefaults} -> useDefaults) (\s@GetPrincipalTagAttributeMapResponse' {} a -> s {useDefaults = a} :: GetPrincipalTagAttributeMapResponse)++-- | The response's http status code.+getPrincipalTagAttributeMapResponse_httpStatus :: Lens.Lens' GetPrincipalTagAttributeMapResponse Prelude.Int+getPrincipalTagAttributeMapResponse_httpStatus = Lens.lens (\GetPrincipalTagAttributeMapResponse' {httpStatus} -> httpStatus) (\s@GetPrincipalTagAttributeMapResponse' {} a -> s {httpStatus = a} :: GetPrincipalTagAttributeMapResponse)++instance+ Prelude.NFData+ GetPrincipalTagAttributeMapResponse+ where+ rnf GetPrincipalTagAttributeMapResponse' {..} =+ Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf identityProviderName+ `Prelude.seq` Prelude.rnf principalTags+ `Prelude.seq` Prelude.rnf useDefaults+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/Lens.hs view
@@ -0,0 +1,300 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Lens+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Lens+ ( -- * Operations++ -- ** CreateIdentityPool+ createIdentityPool_allowClassicFlow,+ createIdentityPool_cognitoIdentityProviders,+ createIdentityPool_developerProviderName,+ createIdentityPool_identityPoolTags,+ createIdentityPool_openIdConnectProviderARNs,+ createIdentityPool_samlProviderARNs,+ createIdentityPool_supportedLoginProviders,+ createIdentityPool_identityPoolName,+ createIdentityPool_allowUnauthenticatedIdentities,+ identityPool_allowClassicFlow,+ identityPool_cognitoIdentityProviders,+ identityPool_developerProviderName,+ identityPool_identityPoolTags,+ identityPool_openIdConnectProviderARNs,+ identityPool_samlProviderARNs,+ identityPool_supportedLoginProviders,+ identityPool_identityPoolId,+ identityPool_identityPoolName,+ identityPool_allowUnauthenticatedIdentities,++ -- ** DeleteIdentities+ deleteIdentities_identityIdsToDelete,+ deleteIdentitiesResponse_unprocessedIdentityIds,+ deleteIdentitiesResponse_httpStatus,++ -- ** DeleteIdentityPool+ deleteIdentityPool_identityPoolId,++ -- ** DescribeIdentity+ describeIdentity_identityId,+ identityDescription_creationDate,+ identityDescription_identityId,+ identityDescription_lastModifiedDate,+ identityDescription_logins,++ -- ** DescribeIdentityPool+ describeIdentityPool_identityPoolId,+ identityPool_allowClassicFlow,+ identityPool_cognitoIdentityProviders,+ identityPool_developerProviderName,+ identityPool_identityPoolTags,+ identityPool_openIdConnectProviderARNs,+ identityPool_samlProviderARNs,+ identityPool_supportedLoginProviders,+ identityPool_identityPoolId,+ identityPool_identityPoolName,+ identityPool_allowUnauthenticatedIdentities,++ -- ** GetCredentialsForIdentity+ getCredentialsForIdentity_customRoleArn,+ getCredentialsForIdentity_logins,+ getCredentialsForIdentity_identityId,+ getCredentialsForIdentityResponse_credentials,+ getCredentialsForIdentityResponse_identityId,+ getCredentialsForIdentityResponse_httpStatus,++ -- ** GetId+ getId_accountId,+ getId_logins,+ getId_identityPoolId,+ getIdResponse_identityId,+ getIdResponse_httpStatus,++ -- ** GetIdentityPoolRoles+ getIdentityPoolRoles_identityPoolId,+ getIdentityPoolRolesResponse_identityPoolId,+ getIdentityPoolRolesResponse_roleMappings,+ getIdentityPoolRolesResponse_roles,+ getIdentityPoolRolesResponse_httpStatus,++ -- ** GetOpenIdToken+ getOpenIdToken_logins,+ getOpenIdToken_identityId,+ getOpenIdTokenResponse_identityId,+ getOpenIdTokenResponse_token,+ getOpenIdTokenResponse_httpStatus,++ -- ** GetOpenIdTokenForDeveloperIdentity+ getOpenIdTokenForDeveloperIdentity_identityId,+ getOpenIdTokenForDeveloperIdentity_principalTags,+ getOpenIdTokenForDeveloperIdentity_tokenDuration,+ getOpenIdTokenForDeveloperIdentity_identityPoolId,+ getOpenIdTokenForDeveloperIdentity_logins,+ getOpenIdTokenForDeveloperIdentityResponse_identityId,+ getOpenIdTokenForDeveloperIdentityResponse_token,+ getOpenIdTokenForDeveloperIdentityResponse_httpStatus,++ -- ** GetPrincipalTagAttributeMap+ getPrincipalTagAttributeMap_identityPoolId,+ getPrincipalTagAttributeMap_identityProviderName,+ getPrincipalTagAttributeMapResponse_identityPoolId,+ getPrincipalTagAttributeMapResponse_identityProviderName,+ getPrincipalTagAttributeMapResponse_principalTags,+ getPrincipalTagAttributeMapResponse_useDefaults,+ getPrincipalTagAttributeMapResponse_httpStatus,++ -- ** ListIdentities+ listIdentities_hideDisabled,+ listIdentities_nextToken,+ listIdentities_identityPoolId,+ listIdentities_maxResults,+ listIdentitiesResponse_identities,+ listIdentitiesResponse_identityPoolId,+ listIdentitiesResponse_nextToken,+ listIdentitiesResponse_httpStatus,++ -- ** ListIdentityPools+ listIdentityPools_nextToken,+ listIdentityPools_maxResults,+ listIdentityPoolsResponse_identityPools,+ listIdentityPoolsResponse_nextToken,+ listIdentityPoolsResponse_httpStatus,++ -- ** ListTagsForResource+ listTagsForResource_resourceArn,+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,++ -- ** LookupDeveloperIdentity+ lookupDeveloperIdentity_developerUserIdentifier,+ lookupDeveloperIdentity_identityId,+ lookupDeveloperIdentity_maxResults,+ lookupDeveloperIdentity_nextToken,+ lookupDeveloperIdentity_identityPoolId,+ lookupDeveloperIdentityResponse_developerUserIdentifierList,+ lookupDeveloperIdentityResponse_identityId,+ lookupDeveloperIdentityResponse_nextToken,+ lookupDeveloperIdentityResponse_httpStatus,++ -- ** MergeDeveloperIdentities+ mergeDeveloperIdentities_sourceUserIdentifier,+ mergeDeveloperIdentities_destinationUserIdentifier,+ mergeDeveloperIdentities_developerProviderName,+ mergeDeveloperIdentities_identityPoolId,+ mergeDeveloperIdentitiesResponse_identityId,+ mergeDeveloperIdentitiesResponse_httpStatus,++ -- ** SetIdentityPoolRoles+ setIdentityPoolRoles_roleMappings,+ setIdentityPoolRoles_identityPoolId,+ setIdentityPoolRoles_roles,++ -- ** SetPrincipalTagAttributeMap+ setPrincipalTagAttributeMap_principalTags,+ setPrincipalTagAttributeMap_useDefaults,+ setPrincipalTagAttributeMap_identityPoolId,+ setPrincipalTagAttributeMap_identityProviderName,+ setPrincipalTagAttributeMapResponse_identityPoolId,+ setPrincipalTagAttributeMapResponse_identityProviderName,+ setPrincipalTagAttributeMapResponse_principalTags,+ setPrincipalTagAttributeMapResponse_useDefaults,+ setPrincipalTagAttributeMapResponse_httpStatus,++ -- ** TagResource+ tagResource_resourceArn,+ tagResource_tags,+ tagResourceResponse_httpStatus,++ -- ** UnlinkDeveloperIdentity+ unlinkDeveloperIdentity_identityId,+ unlinkDeveloperIdentity_identityPoolId,+ unlinkDeveloperIdentity_developerProviderName,+ unlinkDeveloperIdentity_developerUserIdentifier,++ -- ** UnlinkIdentity+ unlinkIdentity_identityId,+ unlinkIdentity_logins,+ unlinkIdentity_loginsToRemove,++ -- ** UntagResource+ untagResource_resourceArn,+ untagResource_tagKeys,+ untagResourceResponse_httpStatus,++ -- ** UpdateIdentityPool+ updateIdentityPool_allowClassicFlow,+ updateIdentityPool_cognitoIdentityProviders,+ updateIdentityPool_developerProviderName,+ updateIdentityPool_identityPoolTags,+ updateIdentityPool_openIdConnectProviderARNs,+ updateIdentityPool_samlProviderARNs,+ updateIdentityPool_supportedLoginProviders,+ updateIdentityPool_identityPoolId,+ updateIdentityPool_identityPoolName,+ updateIdentityPool_allowUnauthenticatedIdentities,+ identityPool_allowClassicFlow,+ identityPool_cognitoIdentityProviders,+ identityPool_developerProviderName,+ identityPool_identityPoolTags,+ identityPool_openIdConnectProviderARNs,+ identityPool_samlProviderARNs,+ identityPool_supportedLoginProviders,+ identityPool_identityPoolId,+ identityPool_identityPoolName,+ identityPool_allowUnauthenticatedIdentities,++ -- * Types++ -- ** CognitoIdentityProvider+ cognitoIdentityProvider_clientId,+ cognitoIdentityProvider_providerName,+ cognitoIdentityProvider_serverSideTokenCheck,++ -- ** Credentials+ credentials_accessKeyId,+ credentials_expiration,+ credentials_secretKey,+ credentials_sessionToken,++ -- ** IdentityDescription+ identityDescription_creationDate,+ identityDescription_identityId,+ identityDescription_lastModifiedDate,+ identityDescription_logins,++ -- ** IdentityPool+ identityPool_allowClassicFlow,+ identityPool_cognitoIdentityProviders,+ identityPool_developerProviderName,+ identityPool_identityPoolTags,+ identityPool_openIdConnectProviderARNs,+ identityPool_samlProviderARNs,+ identityPool_supportedLoginProviders,+ identityPool_identityPoolId,+ identityPool_identityPoolName,+ identityPool_allowUnauthenticatedIdentities,++ -- ** IdentityPoolShortDescription+ identityPoolShortDescription_identityPoolId,+ identityPoolShortDescription_identityPoolName,++ -- ** MappingRule+ mappingRule_claim,+ mappingRule_matchType,+ mappingRule_value,+ mappingRule_roleARN,++ -- ** RoleMapping+ roleMapping_ambiguousRoleResolution,+ roleMapping_rulesConfiguration,+ roleMapping_type,++ -- ** RulesConfigurationType+ rulesConfigurationType_rules,++ -- ** UnprocessedIdentityId+ unprocessedIdentityId_errorCode,+ unprocessedIdentityId_identityId,+ )+where++import Amazonka.CognitoIdentity.CreateIdentityPool+import Amazonka.CognitoIdentity.DeleteIdentities+import Amazonka.CognitoIdentity.DeleteIdentityPool+import Amazonka.CognitoIdentity.DescribeIdentity+import Amazonka.CognitoIdentity.DescribeIdentityPool+import Amazonka.CognitoIdentity.GetCredentialsForIdentity+import Amazonka.CognitoIdentity.GetId+import Amazonka.CognitoIdentity.GetIdentityPoolRoles+import Amazonka.CognitoIdentity.GetOpenIdToken+import Amazonka.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity+import Amazonka.CognitoIdentity.GetPrincipalTagAttributeMap+import Amazonka.CognitoIdentity.ListIdentities+import Amazonka.CognitoIdentity.ListIdentityPools+import Amazonka.CognitoIdentity.ListTagsForResource+import Amazonka.CognitoIdentity.LookupDeveloperIdentity+import Amazonka.CognitoIdentity.MergeDeveloperIdentities+import Amazonka.CognitoIdentity.SetIdentityPoolRoles+import Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap+import Amazonka.CognitoIdentity.TagResource+import Amazonka.CognitoIdentity.Types.CognitoIdentityProvider+import Amazonka.CognitoIdentity.Types.Credentials+import Amazonka.CognitoIdentity.Types.IdentityDescription+import Amazonka.CognitoIdentity.Types.IdentityPool+import Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription+import Amazonka.CognitoIdentity.Types.MappingRule+import Amazonka.CognitoIdentity.Types.RoleMapping+import Amazonka.CognitoIdentity.Types.RulesConfigurationType+import Amazonka.CognitoIdentity.Types.UnprocessedIdentityId+import Amazonka.CognitoIdentity.UnlinkDeveloperIdentity+import Amazonka.CognitoIdentity.UnlinkIdentity+import Amazonka.CognitoIdentity.UntagResource+import Amazonka.CognitoIdentity.UpdateIdentityPool
+ gen/Amazonka/CognitoIdentity/ListIdentities.hs view
@@ -0,0 +1,251 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.ListIdentities+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the identities in an identity pool.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.ListIdentities+ ( -- * Creating a Request+ ListIdentities (..),+ newListIdentities,++ -- * Request Lenses+ listIdentities_hideDisabled,+ listIdentities_nextToken,+ listIdentities_identityPoolId,+ listIdentities_maxResults,++ -- * Destructuring the Response+ ListIdentitiesResponse (..),+ newListIdentitiesResponse,++ -- * Response Lenses+ listIdentitiesResponse_identities,+ listIdentitiesResponse_identityPoolId,+ listIdentitiesResponse_nextToken,+ listIdentitiesResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the ListIdentities action.+--+-- /See:/ 'newListIdentities' smart constructor.+data ListIdentities = ListIdentities'+ { -- | An optional boolean parameter that allows you to hide disabled+ -- identities. If omitted, the ListIdentities API will include disabled+ -- identities in the response.+ hideDisabled :: Prelude.Maybe Prelude.Bool,+ -- | A pagination token.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text,+ -- | The maximum number of identities to return.+ maxResults :: Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListIdentities' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'hideDisabled', 'listIdentities_hideDisabled' - An optional boolean parameter that allows you to hide disabled+-- identities. If omitted, the ListIdentities API will include disabled+-- identities in the response.+--+-- 'nextToken', 'listIdentities_nextToken' - A pagination token.+--+-- 'identityPoolId', 'listIdentities_identityPoolId' - An identity pool ID in the format REGION:GUID.+--+-- 'maxResults', 'listIdentities_maxResults' - The maximum number of identities to return.+newListIdentities ::+ -- | 'identityPoolId'+ Prelude.Text ->+ -- | 'maxResults'+ Prelude.Natural ->+ ListIdentities+newListIdentities pIdentityPoolId_ pMaxResults_ =+ ListIdentities'+ { hideDisabled = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ identityPoolId = pIdentityPoolId_,+ maxResults = pMaxResults_+ }++-- | An optional boolean parameter that allows you to hide disabled+-- identities. If omitted, the ListIdentities API will include disabled+-- identities in the response.+listIdentities_hideDisabled :: Lens.Lens' ListIdentities (Prelude.Maybe Prelude.Bool)+listIdentities_hideDisabled = Lens.lens (\ListIdentities' {hideDisabled} -> hideDisabled) (\s@ListIdentities' {} a -> s {hideDisabled = a} :: ListIdentities)++-- | A pagination token.+listIdentities_nextToken :: Lens.Lens' ListIdentities (Prelude.Maybe Prelude.Text)+listIdentities_nextToken = Lens.lens (\ListIdentities' {nextToken} -> nextToken) (\s@ListIdentities' {} a -> s {nextToken = a} :: ListIdentities)++-- | An identity pool ID in the format REGION:GUID.+listIdentities_identityPoolId :: Lens.Lens' ListIdentities Prelude.Text+listIdentities_identityPoolId = Lens.lens (\ListIdentities' {identityPoolId} -> identityPoolId) (\s@ListIdentities' {} a -> s {identityPoolId = a} :: ListIdentities)++-- | The maximum number of identities to return.+listIdentities_maxResults :: Lens.Lens' ListIdentities Prelude.Natural+listIdentities_maxResults = Lens.lens (\ListIdentities' {maxResults} -> maxResults) (\s@ListIdentities' {} a -> s {maxResults = a} :: ListIdentities)++instance Core.AWSRequest ListIdentities where+ type+ AWSResponse ListIdentities =+ ListIdentitiesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListIdentitiesResponse'+ Prelude.<$> (x Data..?> "Identities" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "IdentityPoolId")+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListIdentities where+ hashWithSalt _salt ListIdentities' {..} =+ _salt+ `Prelude.hashWithSalt` hideDisabled+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` identityPoolId+ `Prelude.hashWithSalt` maxResults++instance Prelude.NFData ListIdentities where+ rnf ListIdentities' {..} =+ Prelude.rnf hideDisabled+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf maxResults++instance Data.ToHeaders ListIdentities where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.ListIdentities" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListIdentities where+ toJSON ListIdentities' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("HideDisabled" Data..=) Prelude.<$> hideDisabled,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId),+ Prelude.Just ("MaxResults" Data..= maxResults)+ ]+ )++instance Data.ToPath ListIdentities where+ toPath = Prelude.const "/"++instance Data.ToQuery ListIdentities where+ toQuery = Prelude.const Prelude.mempty++-- | The response to a ListIdentities request.+--+-- /See:/ 'newListIdentitiesResponse' smart constructor.+data ListIdentitiesResponse = ListIdentitiesResponse'+ { -- | An object containing a set of identities and associated mappings.+ identities :: Prelude.Maybe [IdentityDescription],+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Maybe Prelude.Text,+ -- | A pagination token.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListIdentitiesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identities', 'listIdentitiesResponse_identities' - An object containing a set of identities and associated mappings.+--+-- 'identityPoolId', 'listIdentitiesResponse_identityPoolId' - An identity pool ID in the format REGION:GUID.+--+-- 'nextToken', 'listIdentitiesResponse_nextToken' - A pagination token.+--+-- 'httpStatus', 'listIdentitiesResponse_httpStatus' - The response's http status code.+newListIdentitiesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListIdentitiesResponse+newListIdentitiesResponse pHttpStatus_ =+ ListIdentitiesResponse'+ { identities =+ Prelude.Nothing,+ identityPoolId = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | An object containing a set of identities and associated mappings.+listIdentitiesResponse_identities :: Lens.Lens' ListIdentitiesResponse (Prelude.Maybe [IdentityDescription])+listIdentitiesResponse_identities = Lens.lens (\ListIdentitiesResponse' {identities} -> identities) (\s@ListIdentitiesResponse' {} a -> s {identities = a} :: ListIdentitiesResponse) Prelude.. Lens.mapping Lens.coerced++-- | An identity pool ID in the format REGION:GUID.+listIdentitiesResponse_identityPoolId :: Lens.Lens' ListIdentitiesResponse (Prelude.Maybe Prelude.Text)+listIdentitiesResponse_identityPoolId = Lens.lens (\ListIdentitiesResponse' {identityPoolId} -> identityPoolId) (\s@ListIdentitiesResponse' {} a -> s {identityPoolId = a} :: ListIdentitiesResponse)++-- | A pagination token.+listIdentitiesResponse_nextToken :: Lens.Lens' ListIdentitiesResponse (Prelude.Maybe Prelude.Text)+listIdentitiesResponse_nextToken = Lens.lens (\ListIdentitiesResponse' {nextToken} -> nextToken) (\s@ListIdentitiesResponse' {} a -> s {nextToken = a} :: ListIdentitiesResponse)++-- | The response's http status code.+listIdentitiesResponse_httpStatus :: Lens.Lens' ListIdentitiesResponse Prelude.Int+listIdentitiesResponse_httpStatus = Lens.lens (\ListIdentitiesResponse' {httpStatus} -> httpStatus) (\s@ListIdentitiesResponse' {} a -> s {httpStatus = a} :: ListIdentitiesResponse)++instance Prelude.NFData ListIdentitiesResponse where+ rnf ListIdentitiesResponse' {..} =+ Prelude.rnf identities+ `Prelude.seq` Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/ListIdentityPools.hs view
@@ -0,0 +1,228 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.ListIdentityPools+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all of the Cognito identity pools registered for your account.+--+-- You must use AWS Developer credentials to call this API.+--+-- This operation returns paginated results.+module Amazonka.CognitoIdentity.ListIdentityPools+ ( -- * Creating a Request+ ListIdentityPools (..),+ newListIdentityPools,++ -- * Request Lenses+ listIdentityPools_nextToken,+ listIdentityPools_maxResults,++ -- * Destructuring the Response+ ListIdentityPoolsResponse (..),+ newListIdentityPoolsResponse,++ -- * Response Lenses+ listIdentityPoolsResponse_identityPools,+ listIdentityPoolsResponse_nextToken,+ listIdentityPoolsResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the ListIdentityPools action.+--+-- /See:/ 'newListIdentityPools' smart constructor.+data ListIdentityPools = ListIdentityPools'+ { -- | A pagination token.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of identities to return.+ maxResults :: Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListIdentityPools' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listIdentityPools_nextToken' - A pagination token.+--+-- 'maxResults', 'listIdentityPools_maxResults' - The maximum number of identities to return.+newListIdentityPools ::+ -- | 'maxResults'+ Prelude.Natural ->+ ListIdentityPools+newListIdentityPools pMaxResults_ =+ ListIdentityPools'+ { nextToken = Prelude.Nothing,+ maxResults = pMaxResults_+ }++-- | A pagination token.+listIdentityPools_nextToken :: Lens.Lens' ListIdentityPools (Prelude.Maybe Prelude.Text)+listIdentityPools_nextToken = Lens.lens (\ListIdentityPools' {nextToken} -> nextToken) (\s@ListIdentityPools' {} a -> s {nextToken = a} :: ListIdentityPools)++-- | The maximum number of identities to return.+listIdentityPools_maxResults :: Lens.Lens' ListIdentityPools Prelude.Natural+listIdentityPools_maxResults = Lens.lens (\ListIdentityPools' {maxResults} -> maxResults) (\s@ListIdentityPools' {} a -> s {maxResults = a} :: ListIdentityPools)++instance Core.AWSPager ListIdentityPools where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listIdentityPoolsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listIdentityPoolsResponse_identityPools+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listIdentityPools_nextToken+ Lens..~ rs+ Lens.^? listIdentityPoolsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListIdentityPools where+ type+ AWSResponse ListIdentityPools =+ ListIdentityPoolsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListIdentityPoolsResponse'+ Prelude.<$> (x Data..?> "IdentityPools" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListIdentityPools where+ hashWithSalt _salt ListIdentityPools' {..} =+ _salt+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` maxResults++instance Prelude.NFData ListIdentityPools where+ rnf ListIdentityPools' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf maxResults++instance Data.ToHeaders ListIdentityPools where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.ListIdentityPools" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListIdentityPools where+ toJSON ListIdentityPools' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("MaxResults" Data..= maxResults)+ ]+ )++instance Data.ToPath ListIdentityPools where+ toPath = Prelude.const "/"++instance Data.ToQuery ListIdentityPools where+ toQuery = Prelude.const Prelude.mempty++-- | The result of a successful ListIdentityPools action.+--+-- /See:/ 'newListIdentityPoolsResponse' smart constructor.+data ListIdentityPoolsResponse = ListIdentityPoolsResponse'+ { -- | The identity pools returned by the ListIdentityPools action.+ identityPools :: Prelude.Maybe [IdentityPoolShortDescription],+ -- | A pagination token.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListIdentityPoolsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityPools', 'listIdentityPoolsResponse_identityPools' - The identity pools returned by the ListIdentityPools action.+--+-- 'nextToken', 'listIdentityPoolsResponse_nextToken' - A pagination token.+--+-- 'httpStatus', 'listIdentityPoolsResponse_httpStatus' - The response's http status code.+newListIdentityPoolsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListIdentityPoolsResponse+newListIdentityPoolsResponse pHttpStatus_ =+ ListIdentityPoolsResponse'+ { identityPools =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The identity pools returned by the ListIdentityPools action.+listIdentityPoolsResponse_identityPools :: Lens.Lens' ListIdentityPoolsResponse (Prelude.Maybe [IdentityPoolShortDescription])+listIdentityPoolsResponse_identityPools = Lens.lens (\ListIdentityPoolsResponse' {identityPools} -> identityPools) (\s@ListIdentityPoolsResponse' {} a -> s {identityPools = a} :: ListIdentityPoolsResponse) Prelude.. Lens.mapping Lens.coerced++-- | A pagination token.+listIdentityPoolsResponse_nextToken :: Lens.Lens' ListIdentityPoolsResponse (Prelude.Maybe Prelude.Text)+listIdentityPoolsResponse_nextToken = Lens.lens (\ListIdentityPoolsResponse' {nextToken} -> nextToken) (\s@ListIdentityPoolsResponse' {} a -> s {nextToken = a} :: ListIdentityPoolsResponse)++-- | The response's http status code.+listIdentityPoolsResponse_httpStatus :: Lens.Lens' ListIdentityPoolsResponse Prelude.Int+listIdentityPoolsResponse_httpStatus = Lens.lens (\ListIdentityPoolsResponse' {httpStatus} -> httpStatus) (\s@ListIdentityPoolsResponse' {} a -> s {httpStatus = a} :: ListIdentityPoolsResponse)++instance Prelude.NFData ListIdentityPoolsResponse where+ rnf ListIdentityPoolsResponse' {..} =+ Prelude.rnf identityPools+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/ListTagsForResource.hs view
@@ -0,0 +1,178 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.ListTagsForResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the tags that are assigned to an Amazon Cognito identity pool.+--+-- A tag is a label that you can apply to identity pools to categorize and+-- manage them in different ways, such as by purpose, owner, environment,+-- or other criteria.+--+-- You can use this action up to 10 times per second, per account.+module Amazonka.CognitoIdentity.ListTagsForResource+ ( -- * Creating a Request+ ListTagsForResource (..),+ newListTagsForResource,++ -- * Request Lenses+ listTagsForResource_resourceArn,++ -- * Destructuring the Response+ ListTagsForResourceResponse (..),+ newListTagsForResourceResponse,++ -- * Response Lenses+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTagsForResource' smart constructor.+data ListTagsForResource = ListTagsForResource'+ { -- | The Amazon Resource Name (ARN) of the identity pool that the tags are+ -- assigned to.+ resourceArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'listTagsForResource_resourceArn' - The Amazon Resource Name (ARN) of the identity pool that the tags are+-- assigned to.+newListTagsForResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ ListTagsForResource+newListTagsForResource pResourceArn_ =+ ListTagsForResource' {resourceArn = pResourceArn_}++-- | The Amazon Resource Name (ARN) of the identity pool that the tags are+-- assigned to.+listTagsForResource_resourceArn :: Lens.Lens' ListTagsForResource Prelude.Text+listTagsForResource_resourceArn = Lens.lens (\ListTagsForResource' {resourceArn} -> resourceArn) (\s@ListTagsForResource' {} a -> s {resourceArn = a} :: ListTagsForResource)++instance Core.AWSRequest ListTagsForResource where+ type+ AWSResponse ListTagsForResource =+ ListTagsForResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTagsForResourceResponse'+ Prelude.<$> (x Data..?> "Tags" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTagsForResource where+ hashWithSalt _salt ListTagsForResource' {..} =+ _salt `Prelude.hashWithSalt` resourceArn++instance Prelude.NFData ListTagsForResource where+ rnf ListTagsForResource' {..} =+ Prelude.rnf resourceArn++instance Data.ToHeaders ListTagsForResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.ListTagsForResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTagsForResource where+ toJSON ListTagsForResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("ResourceArn" Data..= resourceArn)]+ )++instance Data.ToPath ListTagsForResource where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTagsForResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTagsForResourceResponse' smart constructor.+data ListTagsForResourceResponse = ListTagsForResourceResponse'+ { -- | The tags that are assigned to the identity pool.+ tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'listTagsForResourceResponse_tags' - The tags that are assigned to the identity pool.+--+-- 'httpStatus', 'listTagsForResourceResponse_httpStatus' - The response's http status code.+newListTagsForResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTagsForResourceResponse+newListTagsForResourceResponse pHttpStatus_ =+ ListTagsForResourceResponse'+ { tags =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The tags that are assigned to the identity pool.+listTagsForResourceResponse_tags :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+listTagsForResourceResponse_tags = Lens.lens (\ListTagsForResourceResponse' {tags} -> tags) (\s@ListTagsForResourceResponse' {} a -> s {tags = a} :: ListTagsForResourceResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTagsForResourceResponse_httpStatus :: Lens.Lens' ListTagsForResourceResponse Prelude.Int+listTagsForResourceResponse_httpStatus = Lens.lens (\ListTagsForResourceResponse' {httpStatus} -> httpStatus) (\s@ListTagsForResourceResponse' {} a -> s {httpStatus = a} :: ListTagsForResourceResponse)++instance Prelude.NFData ListTagsForResourceResponse where+ rnf ListTagsForResourceResponse' {..} =+ Prelude.rnf tags+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/LookupDeveloperIdentity.hs view
@@ -0,0 +1,322 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.LookupDeveloperIdentity+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves the @IdentityID@ associated with a @DeveloperUserIdentifier@+-- or the list of @DeveloperUserIdentifier@ values associated with an+-- @IdentityId@ for an existing identity. Either @IdentityID@ or+-- @DeveloperUserIdentifier@ must not be null. If you supply only one of+-- these values, the other value will be searched in the database and+-- returned as a part of the response. If you supply both,+-- @DeveloperUserIdentifier@ will be matched against @IdentityID@. If the+-- values are verified against the database, the response returns both+-- values and is the same as the request. Otherwise a+-- @ResourceConflictException@ is thrown.+--+-- @LookupDeveloperIdentity@ is intended for low-throughput control plane+-- operations: for example, to enable customer service to locate an+-- identity ID by username. If you are using it for higher-volume+-- operations such as user authentication, your requests are likely to be+-- throttled. GetOpenIdTokenForDeveloperIdentity is a better option for+-- higher-volume operations for user authentication.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.LookupDeveloperIdentity+ ( -- * Creating a Request+ LookupDeveloperIdentity (..),+ newLookupDeveloperIdentity,++ -- * Request Lenses+ lookupDeveloperIdentity_developerUserIdentifier,+ lookupDeveloperIdentity_identityId,+ lookupDeveloperIdentity_maxResults,+ lookupDeveloperIdentity_nextToken,+ lookupDeveloperIdentity_identityPoolId,++ -- * Destructuring the Response+ LookupDeveloperIdentityResponse (..),+ newLookupDeveloperIdentityResponse,++ -- * Response Lenses+ lookupDeveloperIdentityResponse_developerUserIdentifierList,+ lookupDeveloperIdentityResponse_identityId,+ lookupDeveloperIdentityResponse_nextToken,+ lookupDeveloperIdentityResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the @LookupDeveloperIdentityInput@ action.+--+-- /See:/ 'newLookupDeveloperIdentity' smart constructor.+data LookupDeveloperIdentity = LookupDeveloperIdentity'+ { -- | A unique ID used by your backend authentication process to identify a+ -- user. Typically, a developer identity provider would issue many+ -- developer user identifiers, in keeping with the number of users.+ developerUserIdentifier :: Prelude.Maybe Prelude.Text,+ -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of identities to return.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A pagination token. The first call you make will have @NextToken@ set to+ -- null. After that the service will return @NextToken@ values as needed.+ -- For example, let\'s say you make a request with @MaxResults@ set to 10,+ -- and there are 20 matches in the database. The service will return a+ -- pagination token as a part of the response. This token can be used to+ -- call the API again and get results starting from the 11th match.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LookupDeveloperIdentity' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'developerUserIdentifier', 'lookupDeveloperIdentity_developerUserIdentifier' - A unique ID used by your backend authentication process to identify a+-- user. Typically, a developer identity provider would issue many+-- developer user identifiers, in keeping with the number of users.+--+-- 'identityId', 'lookupDeveloperIdentity_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'maxResults', 'lookupDeveloperIdentity_maxResults' - The maximum number of identities to return.+--+-- 'nextToken', 'lookupDeveloperIdentity_nextToken' - A pagination token. The first call you make will have @NextToken@ set to+-- null. After that the service will return @NextToken@ values as needed.+-- For example, let\'s say you make a request with @MaxResults@ set to 10,+-- and there are 20 matches in the database. The service will return a+-- pagination token as a part of the response. This token can be used to+-- call the API again and get results starting from the 11th match.+--+-- 'identityPoolId', 'lookupDeveloperIdentity_identityPoolId' - An identity pool ID in the format REGION:GUID.+newLookupDeveloperIdentity ::+ -- | 'identityPoolId'+ Prelude.Text ->+ LookupDeveloperIdentity+newLookupDeveloperIdentity pIdentityPoolId_ =+ LookupDeveloperIdentity'+ { developerUserIdentifier =+ Prelude.Nothing,+ identityId = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ identityPoolId = pIdentityPoolId_+ }++-- | A unique ID used by your backend authentication process to identify a+-- user. Typically, a developer identity provider would issue many+-- developer user identifiers, in keeping with the number of users.+lookupDeveloperIdentity_developerUserIdentifier :: Lens.Lens' LookupDeveloperIdentity (Prelude.Maybe Prelude.Text)+lookupDeveloperIdentity_developerUserIdentifier = Lens.lens (\LookupDeveloperIdentity' {developerUserIdentifier} -> developerUserIdentifier) (\s@LookupDeveloperIdentity' {} a -> s {developerUserIdentifier = a} :: LookupDeveloperIdentity)++-- | A unique identifier in the format REGION:GUID.+lookupDeveloperIdentity_identityId :: Lens.Lens' LookupDeveloperIdentity (Prelude.Maybe Prelude.Text)+lookupDeveloperIdentity_identityId = Lens.lens (\LookupDeveloperIdentity' {identityId} -> identityId) (\s@LookupDeveloperIdentity' {} a -> s {identityId = a} :: LookupDeveloperIdentity)++-- | The maximum number of identities to return.+lookupDeveloperIdentity_maxResults :: Lens.Lens' LookupDeveloperIdentity (Prelude.Maybe Prelude.Natural)+lookupDeveloperIdentity_maxResults = Lens.lens (\LookupDeveloperIdentity' {maxResults} -> maxResults) (\s@LookupDeveloperIdentity' {} a -> s {maxResults = a} :: LookupDeveloperIdentity)++-- | A pagination token. The first call you make will have @NextToken@ set to+-- null. After that the service will return @NextToken@ values as needed.+-- For example, let\'s say you make a request with @MaxResults@ set to 10,+-- and there are 20 matches in the database. The service will return a+-- pagination token as a part of the response. This token can be used to+-- call the API again and get results starting from the 11th match.+lookupDeveloperIdentity_nextToken :: Lens.Lens' LookupDeveloperIdentity (Prelude.Maybe Prelude.Text)+lookupDeveloperIdentity_nextToken = Lens.lens (\LookupDeveloperIdentity' {nextToken} -> nextToken) (\s@LookupDeveloperIdentity' {} a -> s {nextToken = a} :: LookupDeveloperIdentity)++-- | An identity pool ID in the format REGION:GUID.+lookupDeveloperIdentity_identityPoolId :: Lens.Lens' LookupDeveloperIdentity Prelude.Text+lookupDeveloperIdentity_identityPoolId = Lens.lens (\LookupDeveloperIdentity' {identityPoolId} -> identityPoolId) (\s@LookupDeveloperIdentity' {} a -> s {identityPoolId = a} :: LookupDeveloperIdentity)++instance Core.AWSRequest LookupDeveloperIdentity where+ type+ AWSResponse LookupDeveloperIdentity =+ LookupDeveloperIdentityResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ LookupDeveloperIdentityResponse'+ Prelude.<$> ( x+ Data..?> "DeveloperUserIdentifierList"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "IdentityId")+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable LookupDeveloperIdentity where+ hashWithSalt _salt LookupDeveloperIdentity' {..} =+ _salt+ `Prelude.hashWithSalt` developerUserIdentifier+ `Prelude.hashWithSalt` identityId+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` identityPoolId++instance Prelude.NFData LookupDeveloperIdentity where+ rnf LookupDeveloperIdentity' {..} =+ Prelude.rnf developerUserIdentifier+ `Prelude.seq` Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf identityPoolId++instance Data.ToHeaders LookupDeveloperIdentity where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.LookupDeveloperIdentity" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON LookupDeveloperIdentity where+ toJSON LookupDeveloperIdentity' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("DeveloperUserIdentifier" Data..=)+ Prelude.<$> developerUserIdentifier,+ ("IdentityId" Data..=) Prelude.<$> identityId,+ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId)+ ]+ )++instance Data.ToPath LookupDeveloperIdentity where+ toPath = Prelude.const "/"++instance Data.ToQuery LookupDeveloperIdentity where+ toQuery = Prelude.const Prelude.mempty++-- | Returned in response to a successful @LookupDeveloperIdentity@ action.+--+-- /See:/ 'newLookupDeveloperIdentityResponse' smart constructor.+data LookupDeveloperIdentityResponse = LookupDeveloperIdentityResponse'+ { -- | This is the list of developer user identifiers associated with an+ -- identity ID. Cognito supports the association of multiple developer user+ -- identifiers with an identity ID.+ developerUserIdentifierList :: Prelude.Maybe [Prelude.Text],+ -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Maybe Prelude.Text,+ -- | A pagination token. The first call you make will have @NextToken@ set to+ -- null. After that the service will return @NextToken@ values as needed.+ -- For example, let\'s say you make a request with @MaxResults@ set to 10,+ -- and there are 20 matches in the database. The service will return a+ -- pagination token as a part of the response. This token can be used to+ -- call the API again and get results starting from the 11th match.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'LookupDeveloperIdentityResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'developerUserIdentifierList', 'lookupDeveloperIdentityResponse_developerUserIdentifierList' - This is the list of developer user identifiers associated with an+-- identity ID. Cognito supports the association of multiple developer user+-- identifiers with an identity ID.+--+-- 'identityId', 'lookupDeveloperIdentityResponse_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'nextToken', 'lookupDeveloperIdentityResponse_nextToken' - A pagination token. The first call you make will have @NextToken@ set to+-- null. After that the service will return @NextToken@ values as needed.+-- For example, let\'s say you make a request with @MaxResults@ set to 10,+-- and there are 20 matches in the database. The service will return a+-- pagination token as a part of the response. This token can be used to+-- call the API again and get results starting from the 11th match.+--+-- 'httpStatus', 'lookupDeveloperIdentityResponse_httpStatus' - The response's http status code.+newLookupDeveloperIdentityResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ LookupDeveloperIdentityResponse+newLookupDeveloperIdentityResponse pHttpStatus_ =+ LookupDeveloperIdentityResponse'+ { developerUserIdentifierList =+ Prelude.Nothing,+ identityId = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | This is the list of developer user identifiers associated with an+-- identity ID. Cognito supports the association of multiple developer user+-- identifiers with an identity ID.+lookupDeveloperIdentityResponse_developerUserIdentifierList :: Lens.Lens' LookupDeveloperIdentityResponse (Prelude.Maybe [Prelude.Text])+lookupDeveloperIdentityResponse_developerUserIdentifierList = Lens.lens (\LookupDeveloperIdentityResponse' {developerUserIdentifierList} -> developerUserIdentifierList) (\s@LookupDeveloperIdentityResponse' {} a -> s {developerUserIdentifierList = a} :: LookupDeveloperIdentityResponse) Prelude.. Lens.mapping Lens.coerced++-- | A unique identifier in the format REGION:GUID.+lookupDeveloperIdentityResponse_identityId :: Lens.Lens' LookupDeveloperIdentityResponse (Prelude.Maybe Prelude.Text)+lookupDeveloperIdentityResponse_identityId = Lens.lens (\LookupDeveloperIdentityResponse' {identityId} -> identityId) (\s@LookupDeveloperIdentityResponse' {} a -> s {identityId = a} :: LookupDeveloperIdentityResponse)++-- | A pagination token. The first call you make will have @NextToken@ set to+-- null. After that the service will return @NextToken@ values as needed.+-- For example, let\'s say you make a request with @MaxResults@ set to 10,+-- and there are 20 matches in the database. The service will return a+-- pagination token as a part of the response. This token can be used to+-- call the API again and get results starting from the 11th match.+lookupDeveloperIdentityResponse_nextToken :: Lens.Lens' LookupDeveloperIdentityResponse (Prelude.Maybe Prelude.Text)+lookupDeveloperIdentityResponse_nextToken = Lens.lens (\LookupDeveloperIdentityResponse' {nextToken} -> nextToken) (\s@LookupDeveloperIdentityResponse' {} a -> s {nextToken = a} :: LookupDeveloperIdentityResponse)++-- | The response's http status code.+lookupDeveloperIdentityResponse_httpStatus :: Lens.Lens' LookupDeveloperIdentityResponse Prelude.Int+lookupDeveloperIdentityResponse_httpStatus = Lens.lens (\LookupDeveloperIdentityResponse' {httpStatus} -> httpStatus) (\s@LookupDeveloperIdentityResponse' {} a -> s {httpStatus = a} :: LookupDeveloperIdentityResponse)++instance+ Prelude.NFData+ LookupDeveloperIdentityResponse+ where+ rnf LookupDeveloperIdentityResponse' {..} =+ Prelude.rnf developerUserIdentifierList+ `Prelude.seq` Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/MergeDeveloperIdentities.hs view
@@ -0,0 +1,276 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.MergeDeveloperIdentities+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Merges two users having different @IdentityId@s, existing in the same+-- identity pool, and identified by the same developer provider. You can+-- use this action to request that discrete users be merged and identified+-- as a single user in the Cognito environment. Cognito associates the+-- given source user (@SourceUserIdentifier@) with the @IdentityId@ of the+-- @DestinationUserIdentifier@. Only developer-authenticated users can be+-- merged. If the users to be merged are associated with the same public+-- provider, but as two different users, an exception will be thrown.+--+-- The number of linked logins is limited to 20. So, the number of linked+-- logins for the source user, @SourceUserIdentifier@, and the destination+-- user, @DestinationUserIdentifier@, together should not be larger than+-- 20. Otherwise, an exception will be thrown.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.MergeDeveloperIdentities+ ( -- * Creating a Request+ MergeDeveloperIdentities (..),+ newMergeDeveloperIdentities,++ -- * Request Lenses+ mergeDeveloperIdentities_sourceUserIdentifier,+ mergeDeveloperIdentities_destinationUserIdentifier,+ mergeDeveloperIdentities_developerProviderName,+ mergeDeveloperIdentities_identityPoolId,++ -- * Destructuring the Response+ MergeDeveloperIdentitiesResponse (..),+ newMergeDeveloperIdentitiesResponse,++ -- * Response Lenses+ mergeDeveloperIdentitiesResponse_identityId,+ mergeDeveloperIdentitiesResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the @MergeDeveloperIdentities@ action.+--+-- /See:/ 'newMergeDeveloperIdentities' smart constructor.+data MergeDeveloperIdentities = MergeDeveloperIdentities'+ { -- | User identifier for the source user. The value should be a+ -- @DeveloperUserIdentifier@.+ sourceUserIdentifier :: Prelude.Text,+ -- | User identifier for the destination user. The value should be a+ -- @DeveloperUserIdentifier@.+ destinationUserIdentifier :: Prelude.Text,+ -- | The \"domain\" by which Cognito will refer to your users. This is a+ -- (pseudo) domain name that you provide while creating an identity pool.+ -- This name acts as a placeholder that allows your backend and the Cognito+ -- service to communicate about the developer provider. For the+ -- @DeveloperProviderName@, you can use letters as well as period (.),+ -- underscore (_), and dash (-).+ developerProviderName :: Prelude.Text,+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MergeDeveloperIdentities' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sourceUserIdentifier', 'mergeDeveloperIdentities_sourceUserIdentifier' - User identifier for the source user. The value should be a+-- @DeveloperUserIdentifier@.+--+-- 'destinationUserIdentifier', 'mergeDeveloperIdentities_destinationUserIdentifier' - User identifier for the destination user. The value should be a+-- @DeveloperUserIdentifier@.+--+-- 'developerProviderName', 'mergeDeveloperIdentities_developerProviderName' - The \"domain\" by which Cognito will refer to your users. This is a+-- (pseudo) domain name that you provide while creating an identity pool.+-- This name acts as a placeholder that allows your backend and the Cognito+-- service to communicate about the developer provider. For the+-- @DeveloperProviderName@, you can use letters as well as period (.),+-- underscore (_), and dash (-).+--+-- 'identityPoolId', 'mergeDeveloperIdentities_identityPoolId' - An identity pool ID in the format REGION:GUID.+newMergeDeveloperIdentities ::+ -- | 'sourceUserIdentifier'+ Prelude.Text ->+ -- | 'destinationUserIdentifier'+ Prelude.Text ->+ -- | 'developerProviderName'+ Prelude.Text ->+ -- | 'identityPoolId'+ Prelude.Text ->+ MergeDeveloperIdentities+newMergeDeveloperIdentities+ pSourceUserIdentifier_+ pDestinationUserIdentifier_+ pDeveloperProviderName_+ pIdentityPoolId_ =+ MergeDeveloperIdentities'+ { sourceUserIdentifier =+ pSourceUserIdentifier_,+ destinationUserIdentifier =+ pDestinationUserIdentifier_,+ developerProviderName = pDeveloperProviderName_,+ identityPoolId = pIdentityPoolId_+ }++-- | User identifier for the source user. The value should be a+-- @DeveloperUserIdentifier@.+mergeDeveloperIdentities_sourceUserIdentifier :: Lens.Lens' MergeDeveloperIdentities Prelude.Text+mergeDeveloperIdentities_sourceUserIdentifier = Lens.lens (\MergeDeveloperIdentities' {sourceUserIdentifier} -> sourceUserIdentifier) (\s@MergeDeveloperIdentities' {} a -> s {sourceUserIdentifier = a} :: MergeDeveloperIdentities)++-- | User identifier for the destination user. The value should be a+-- @DeveloperUserIdentifier@.+mergeDeveloperIdentities_destinationUserIdentifier :: Lens.Lens' MergeDeveloperIdentities Prelude.Text+mergeDeveloperIdentities_destinationUserIdentifier = Lens.lens (\MergeDeveloperIdentities' {destinationUserIdentifier} -> destinationUserIdentifier) (\s@MergeDeveloperIdentities' {} a -> s {destinationUserIdentifier = a} :: MergeDeveloperIdentities)++-- | The \"domain\" by which Cognito will refer to your users. This is a+-- (pseudo) domain name that you provide while creating an identity pool.+-- This name acts as a placeholder that allows your backend and the Cognito+-- service to communicate about the developer provider. For the+-- @DeveloperProviderName@, you can use letters as well as period (.),+-- underscore (_), and dash (-).+mergeDeveloperIdentities_developerProviderName :: Lens.Lens' MergeDeveloperIdentities Prelude.Text+mergeDeveloperIdentities_developerProviderName = Lens.lens (\MergeDeveloperIdentities' {developerProviderName} -> developerProviderName) (\s@MergeDeveloperIdentities' {} a -> s {developerProviderName = a} :: MergeDeveloperIdentities)++-- | An identity pool ID in the format REGION:GUID.+mergeDeveloperIdentities_identityPoolId :: Lens.Lens' MergeDeveloperIdentities Prelude.Text+mergeDeveloperIdentities_identityPoolId = Lens.lens (\MergeDeveloperIdentities' {identityPoolId} -> identityPoolId) (\s@MergeDeveloperIdentities' {} a -> s {identityPoolId = a} :: MergeDeveloperIdentities)++instance Core.AWSRequest MergeDeveloperIdentities where+ type+ AWSResponse MergeDeveloperIdentities =+ MergeDeveloperIdentitiesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ MergeDeveloperIdentitiesResponse'+ Prelude.<$> (x Data..?> "IdentityId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable MergeDeveloperIdentities where+ hashWithSalt _salt MergeDeveloperIdentities' {..} =+ _salt+ `Prelude.hashWithSalt` sourceUserIdentifier+ `Prelude.hashWithSalt` destinationUserIdentifier+ `Prelude.hashWithSalt` developerProviderName+ `Prelude.hashWithSalt` identityPoolId++instance Prelude.NFData MergeDeveloperIdentities where+ rnf MergeDeveloperIdentities' {..} =+ Prelude.rnf sourceUserIdentifier+ `Prelude.seq` Prelude.rnf destinationUserIdentifier+ `Prelude.seq` Prelude.rnf developerProviderName+ `Prelude.seq` Prelude.rnf identityPoolId++instance Data.ToHeaders MergeDeveloperIdentities where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.MergeDeveloperIdentities" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON MergeDeveloperIdentities where+ toJSON MergeDeveloperIdentities' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ( "SourceUserIdentifier"+ Data..= sourceUserIdentifier+ ),+ Prelude.Just+ ( "DestinationUserIdentifier"+ Data..= destinationUserIdentifier+ ),+ Prelude.Just+ ( "DeveloperProviderName"+ Data..= developerProviderName+ ),+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId)+ ]+ )++instance Data.ToPath MergeDeveloperIdentities where+ toPath = Prelude.const "/"++instance Data.ToQuery MergeDeveloperIdentities where+ toQuery = Prelude.const Prelude.mempty++-- | Returned in response to a successful @MergeDeveloperIdentities@ action.+--+-- /See:/ 'newMergeDeveloperIdentitiesResponse' smart constructor.+data MergeDeveloperIdentitiesResponse = MergeDeveloperIdentitiesResponse'+ { -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MergeDeveloperIdentitiesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityId', 'mergeDeveloperIdentitiesResponse_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'httpStatus', 'mergeDeveloperIdentitiesResponse_httpStatus' - The response's http status code.+newMergeDeveloperIdentitiesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ MergeDeveloperIdentitiesResponse+newMergeDeveloperIdentitiesResponse pHttpStatus_ =+ MergeDeveloperIdentitiesResponse'+ { identityId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A unique identifier in the format REGION:GUID.+mergeDeveloperIdentitiesResponse_identityId :: Lens.Lens' MergeDeveloperIdentitiesResponse (Prelude.Maybe Prelude.Text)+mergeDeveloperIdentitiesResponse_identityId = Lens.lens (\MergeDeveloperIdentitiesResponse' {identityId} -> identityId) (\s@MergeDeveloperIdentitiesResponse' {} a -> s {identityId = a} :: MergeDeveloperIdentitiesResponse)++-- | The response's http status code.+mergeDeveloperIdentitiesResponse_httpStatus :: Lens.Lens' MergeDeveloperIdentitiesResponse Prelude.Int+mergeDeveloperIdentitiesResponse_httpStatus = Lens.lens (\MergeDeveloperIdentitiesResponse' {httpStatus} -> httpStatus) (\s@MergeDeveloperIdentitiesResponse' {} a -> s {httpStatus = a} :: MergeDeveloperIdentitiesResponse)++instance+ Prelude.NFData+ MergeDeveloperIdentitiesResponse+ where+ rnf MergeDeveloperIdentitiesResponse' {..} =+ Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/SetIdentityPoolRoles.hs view
@@ -0,0 +1,192 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.SetIdentityPoolRoles+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sets the roles for an identity pool. These roles are used when making+-- calls to GetCredentialsForIdentity action.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.SetIdentityPoolRoles+ ( -- * Creating a Request+ SetIdentityPoolRoles (..),+ newSetIdentityPoolRoles,++ -- * Request Lenses+ setIdentityPoolRoles_roleMappings,+ setIdentityPoolRoles_identityPoolId,+ setIdentityPoolRoles_roles,++ -- * Destructuring the Response+ SetIdentityPoolRolesResponse (..),+ newSetIdentityPoolRolesResponse,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the @SetIdentityPoolRoles@ action.+--+-- /See:/ 'newSetIdentityPoolRoles' smart constructor.+data SetIdentityPoolRoles = SetIdentityPoolRoles'+ { -- | How users for a specific identity provider are to mapped to roles. This+ -- is a string to RoleMapping object map. The string identifies the+ -- identity provider, for example, \"graph.facebook.com\" or+ -- \"cognito-idp.us-east-1.amazonaws.com\/us-east-1_abcdefghi:app_client_id\".+ --+ -- Up to 25 rules can be specified per identity provider.+ roleMappings :: Prelude.Maybe (Prelude.HashMap Prelude.Text RoleMapping),+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text,+ -- | The map of roles associated with this pool. For a given role, the key+ -- will be either \"authenticated\" or \"unauthenticated\" and the value+ -- will be the Role ARN.+ roles :: Prelude.HashMap Prelude.Text Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SetIdentityPoolRoles' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'roleMappings', 'setIdentityPoolRoles_roleMappings' - How users for a specific identity provider are to mapped to roles. This+-- is a string to RoleMapping object map. The string identifies the+-- identity provider, for example, \"graph.facebook.com\" or+-- \"cognito-idp.us-east-1.amazonaws.com\/us-east-1_abcdefghi:app_client_id\".+--+-- Up to 25 rules can be specified per identity provider.+--+-- 'identityPoolId', 'setIdentityPoolRoles_identityPoolId' - An identity pool ID in the format REGION:GUID.+--+-- 'roles', 'setIdentityPoolRoles_roles' - The map of roles associated with this pool. For a given role, the key+-- will be either \"authenticated\" or \"unauthenticated\" and the value+-- will be the Role ARN.+newSetIdentityPoolRoles ::+ -- | 'identityPoolId'+ Prelude.Text ->+ SetIdentityPoolRoles+newSetIdentityPoolRoles pIdentityPoolId_ =+ SetIdentityPoolRoles'+ { roleMappings =+ Prelude.Nothing,+ identityPoolId = pIdentityPoolId_,+ roles = Prelude.mempty+ }++-- | How users for a specific identity provider are to mapped to roles. This+-- is a string to RoleMapping object map. The string identifies the+-- identity provider, for example, \"graph.facebook.com\" or+-- \"cognito-idp.us-east-1.amazonaws.com\/us-east-1_abcdefghi:app_client_id\".+--+-- Up to 25 rules can be specified per identity provider.+setIdentityPoolRoles_roleMappings :: Lens.Lens' SetIdentityPoolRoles (Prelude.Maybe (Prelude.HashMap Prelude.Text RoleMapping))+setIdentityPoolRoles_roleMappings = Lens.lens (\SetIdentityPoolRoles' {roleMappings} -> roleMappings) (\s@SetIdentityPoolRoles' {} a -> s {roleMappings = a} :: SetIdentityPoolRoles) Prelude.. Lens.mapping Lens.coerced++-- | An identity pool ID in the format REGION:GUID.+setIdentityPoolRoles_identityPoolId :: Lens.Lens' SetIdentityPoolRoles Prelude.Text+setIdentityPoolRoles_identityPoolId = Lens.lens (\SetIdentityPoolRoles' {identityPoolId} -> identityPoolId) (\s@SetIdentityPoolRoles' {} a -> s {identityPoolId = a} :: SetIdentityPoolRoles)++-- | The map of roles associated with this pool. For a given role, the key+-- will be either \"authenticated\" or \"unauthenticated\" and the value+-- will be the Role ARN.+setIdentityPoolRoles_roles :: Lens.Lens' SetIdentityPoolRoles (Prelude.HashMap Prelude.Text Prelude.Text)+setIdentityPoolRoles_roles = Lens.lens (\SetIdentityPoolRoles' {roles} -> roles) (\s@SetIdentityPoolRoles' {} a -> s {roles = a} :: SetIdentityPoolRoles) Prelude.. Lens.coerced++instance Core.AWSRequest SetIdentityPoolRoles where+ type+ AWSResponse SetIdentityPoolRoles =+ SetIdentityPoolRolesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull SetIdentityPoolRolesResponse'++instance Prelude.Hashable SetIdentityPoolRoles where+ hashWithSalt _salt SetIdentityPoolRoles' {..} =+ _salt+ `Prelude.hashWithSalt` roleMappings+ `Prelude.hashWithSalt` identityPoolId+ `Prelude.hashWithSalt` roles++instance Prelude.NFData SetIdentityPoolRoles where+ rnf SetIdentityPoolRoles' {..} =+ Prelude.rnf roleMappings+ `Prelude.seq` Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf roles++instance Data.ToHeaders SetIdentityPoolRoles where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.SetIdentityPoolRoles" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON SetIdentityPoolRoles where+ toJSON SetIdentityPoolRoles' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("RoleMappings" Data..=) Prelude.<$> roleMappings,+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId),+ Prelude.Just ("Roles" Data..= roles)+ ]+ )++instance Data.ToPath SetIdentityPoolRoles where+ toPath = Prelude.const "/"++instance Data.ToQuery SetIdentityPoolRoles where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newSetIdentityPoolRolesResponse' smart constructor.+data SetIdentityPoolRolesResponse = SetIdentityPoolRolesResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SetIdentityPoolRolesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newSetIdentityPoolRolesResponse ::+ SetIdentityPoolRolesResponse+newSetIdentityPoolRolesResponse =+ SetIdentityPoolRolesResponse'++instance Prelude.NFData SetIdentityPoolRolesResponse where+ rnf _ = ()
+ gen/Amazonka/CognitoIdentity/SetPrincipalTagAttributeMap.hs view
@@ -0,0 +1,273 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- You can use this operation to use default (username and clientID)+-- attribute or custom attribute mappings.+module Amazonka.CognitoIdentity.SetPrincipalTagAttributeMap+ ( -- * Creating a Request+ SetPrincipalTagAttributeMap (..),+ newSetPrincipalTagAttributeMap,++ -- * Request Lenses+ setPrincipalTagAttributeMap_principalTags,+ setPrincipalTagAttributeMap_useDefaults,+ setPrincipalTagAttributeMap_identityPoolId,+ setPrincipalTagAttributeMap_identityProviderName,++ -- * Destructuring the Response+ SetPrincipalTagAttributeMapResponse (..),+ newSetPrincipalTagAttributeMapResponse,++ -- * Response Lenses+ setPrincipalTagAttributeMapResponse_identityPoolId,+ setPrincipalTagAttributeMapResponse_identityProviderName,+ setPrincipalTagAttributeMapResponse_principalTags,+ setPrincipalTagAttributeMapResponse_useDefaults,+ setPrincipalTagAttributeMapResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newSetPrincipalTagAttributeMap' smart constructor.+data SetPrincipalTagAttributeMap = SetPrincipalTagAttributeMap'+ { -- | You can use this operation to add principal tags.+ principalTags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | You can use this operation to use default (username and clientID)+ -- attribute mappings.+ useDefaults :: Prelude.Maybe Prelude.Bool,+ -- | The ID of the Identity Pool you want to set attribute mappings for.+ identityPoolId :: Prelude.Text,+ -- | The provider name you want to use for attribute mappings.+ identityProviderName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SetPrincipalTagAttributeMap' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'principalTags', 'setPrincipalTagAttributeMap_principalTags' - You can use this operation to add principal tags.+--+-- 'useDefaults', 'setPrincipalTagAttributeMap_useDefaults' - You can use this operation to use default (username and clientID)+-- attribute mappings.+--+-- 'identityPoolId', 'setPrincipalTagAttributeMap_identityPoolId' - The ID of the Identity Pool you want to set attribute mappings for.+--+-- 'identityProviderName', 'setPrincipalTagAttributeMap_identityProviderName' - The provider name you want to use for attribute mappings.+newSetPrincipalTagAttributeMap ::+ -- | 'identityPoolId'+ Prelude.Text ->+ -- | 'identityProviderName'+ Prelude.Text ->+ SetPrincipalTagAttributeMap+newSetPrincipalTagAttributeMap+ pIdentityPoolId_+ pIdentityProviderName_ =+ SetPrincipalTagAttributeMap'+ { principalTags =+ Prelude.Nothing,+ useDefaults = Prelude.Nothing,+ identityPoolId = pIdentityPoolId_,+ identityProviderName = pIdentityProviderName_+ }++-- | You can use this operation to add principal tags.+setPrincipalTagAttributeMap_principalTags :: Lens.Lens' SetPrincipalTagAttributeMap (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+setPrincipalTagAttributeMap_principalTags = Lens.lens (\SetPrincipalTagAttributeMap' {principalTags} -> principalTags) (\s@SetPrincipalTagAttributeMap' {} a -> s {principalTags = a} :: SetPrincipalTagAttributeMap) Prelude.. Lens.mapping Lens.coerced++-- | You can use this operation to use default (username and clientID)+-- attribute mappings.+setPrincipalTagAttributeMap_useDefaults :: Lens.Lens' SetPrincipalTagAttributeMap (Prelude.Maybe Prelude.Bool)+setPrincipalTagAttributeMap_useDefaults = Lens.lens (\SetPrincipalTagAttributeMap' {useDefaults} -> useDefaults) (\s@SetPrincipalTagAttributeMap' {} a -> s {useDefaults = a} :: SetPrincipalTagAttributeMap)++-- | The ID of the Identity Pool you want to set attribute mappings for.+setPrincipalTagAttributeMap_identityPoolId :: Lens.Lens' SetPrincipalTagAttributeMap Prelude.Text+setPrincipalTagAttributeMap_identityPoolId = Lens.lens (\SetPrincipalTagAttributeMap' {identityPoolId} -> identityPoolId) (\s@SetPrincipalTagAttributeMap' {} a -> s {identityPoolId = a} :: SetPrincipalTagAttributeMap)++-- | The provider name you want to use for attribute mappings.+setPrincipalTagAttributeMap_identityProviderName :: Lens.Lens' SetPrincipalTagAttributeMap Prelude.Text+setPrincipalTagAttributeMap_identityProviderName = Lens.lens (\SetPrincipalTagAttributeMap' {identityProviderName} -> identityProviderName) (\s@SetPrincipalTagAttributeMap' {} a -> s {identityProviderName = a} :: SetPrincipalTagAttributeMap)++instance Core.AWSRequest SetPrincipalTagAttributeMap where+ type+ AWSResponse SetPrincipalTagAttributeMap =+ SetPrincipalTagAttributeMapResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ SetPrincipalTagAttributeMapResponse'+ Prelude.<$> (x Data..?> "IdentityPoolId")+ Prelude.<*> (x Data..?> "IdentityProviderName")+ Prelude.<*> (x Data..?> "PrincipalTags" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "UseDefaults")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable SetPrincipalTagAttributeMap where+ hashWithSalt _salt SetPrincipalTagAttributeMap' {..} =+ _salt+ `Prelude.hashWithSalt` principalTags+ `Prelude.hashWithSalt` useDefaults+ `Prelude.hashWithSalt` identityPoolId+ `Prelude.hashWithSalt` identityProviderName++instance Prelude.NFData SetPrincipalTagAttributeMap where+ rnf SetPrincipalTagAttributeMap' {..} =+ Prelude.rnf principalTags+ `Prelude.seq` Prelude.rnf useDefaults+ `Prelude.seq` Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf identityProviderName++instance Data.ToHeaders SetPrincipalTagAttributeMap where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.SetPrincipalTagAttributeMap" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON SetPrincipalTagAttributeMap where+ toJSON SetPrincipalTagAttributeMap' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("PrincipalTags" Data..=) Prelude.<$> principalTags,+ ("UseDefaults" Data..=) Prelude.<$> useDefaults,+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId),+ Prelude.Just+ ( "IdentityProviderName"+ Data..= identityProviderName+ )+ ]+ )++instance Data.ToPath SetPrincipalTagAttributeMap where+ toPath = Prelude.const "/"++instance Data.ToQuery SetPrincipalTagAttributeMap where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newSetPrincipalTagAttributeMapResponse' smart constructor.+data SetPrincipalTagAttributeMapResponse = SetPrincipalTagAttributeMapResponse'+ { -- | The ID of the Identity Pool you want to set attribute mappings for.+ identityPoolId :: Prelude.Maybe Prelude.Text,+ -- | The provider name you want to use for attribute mappings.+ identityProviderName :: Prelude.Maybe Prelude.Text,+ -- | You can use this operation to add principal tags. The+ -- @PrincipalTags@operation enables you to reference user attributes in+ -- your IAM permissions policy.+ principalTags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | You can use this operation to select default (username and clientID)+ -- attribute mappings.+ useDefaults :: Prelude.Maybe Prelude.Bool,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SetPrincipalTagAttributeMapResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityPoolId', 'setPrincipalTagAttributeMapResponse_identityPoolId' - The ID of the Identity Pool you want to set attribute mappings for.+--+-- 'identityProviderName', 'setPrincipalTagAttributeMapResponse_identityProviderName' - The provider name you want to use for attribute mappings.+--+-- 'principalTags', 'setPrincipalTagAttributeMapResponse_principalTags' - You can use this operation to add principal tags. The+-- @PrincipalTags@operation enables you to reference user attributes in+-- your IAM permissions policy.+--+-- 'useDefaults', 'setPrincipalTagAttributeMapResponse_useDefaults' - You can use this operation to select default (username and clientID)+-- attribute mappings.+--+-- 'httpStatus', 'setPrincipalTagAttributeMapResponse_httpStatus' - The response's http status code.+newSetPrincipalTagAttributeMapResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ SetPrincipalTagAttributeMapResponse+newSetPrincipalTagAttributeMapResponse pHttpStatus_ =+ SetPrincipalTagAttributeMapResponse'+ { identityPoolId =+ Prelude.Nothing,+ identityProviderName = Prelude.Nothing,+ principalTags = Prelude.Nothing,+ useDefaults = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID of the Identity Pool you want to set attribute mappings for.+setPrincipalTagAttributeMapResponse_identityPoolId :: Lens.Lens' SetPrincipalTagAttributeMapResponse (Prelude.Maybe Prelude.Text)+setPrincipalTagAttributeMapResponse_identityPoolId = Lens.lens (\SetPrincipalTagAttributeMapResponse' {identityPoolId} -> identityPoolId) (\s@SetPrincipalTagAttributeMapResponse' {} a -> s {identityPoolId = a} :: SetPrincipalTagAttributeMapResponse)++-- | The provider name you want to use for attribute mappings.+setPrincipalTagAttributeMapResponse_identityProviderName :: Lens.Lens' SetPrincipalTagAttributeMapResponse (Prelude.Maybe Prelude.Text)+setPrincipalTagAttributeMapResponse_identityProviderName = Lens.lens (\SetPrincipalTagAttributeMapResponse' {identityProviderName} -> identityProviderName) (\s@SetPrincipalTagAttributeMapResponse' {} a -> s {identityProviderName = a} :: SetPrincipalTagAttributeMapResponse)++-- | You can use this operation to add principal tags. The+-- @PrincipalTags@operation enables you to reference user attributes in+-- your IAM permissions policy.+setPrincipalTagAttributeMapResponse_principalTags :: Lens.Lens' SetPrincipalTagAttributeMapResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+setPrincipalTagAttributeMapResponse_principalTags = Lens.lens (\SetPrincipalTagAttributeMapResponse' {principalTags} -> principalTags) (\s@SetPrincipalTagAttributeMapResponse' {} a -> s {principalTags = a} :: SetPrincipalTagAttributeMapResponse) Prelude.. Lens.mapping Lens.coerced++-- | You can use this operation to select default (username and clientID)+-- attribute mappings.+setPrincipalTagAttributeMapResponse_useDefaults :: Lens.Lens' SetPrincipalTagAttributeMapResponse (Prelude.Maybe Prelude.Bool)+setPrincipalTagAttributeMapResponse_useDefaults = Lens.lens (\SetPrincipalTagAttributeMapResponse' {useDefaults} -> useDefaults) (\s@SetPrincipalTagAttributeMapResponse' {} a -> s {useDefaults = a} :: SetPrincipalTagAttributeMapResponse)++-- | The response's http status code.+setPrincipalTagAttributeMapResponse_httpStatus :: Lens.Lens' SetPrincipalTagAttributeMapResponse Prelude.Int+setPrincipalTagAttributeMapResponse_httpStatus = Lens.lens (\SetPrincipalTagAttributeMapResponse' {httpStatus} -> httpStatus) (\s@SetPrincipalTagAttributeMapResponse' {} a -> s {httpStatus = a} :: SetPrincipalTagAttributeMapResponse)++instance+ Prelude.NFData+ SetPrincipalTagAttributeMapResponse+ where+ rnf SetPrincipalTagAttributeMapResponse' {..} =+ Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf identityProviderName+ `Prelude.seq` Prelude.rnf principalTags+ `Prelude.seq` Prelude.rnf useDefaults+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/TagResource.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.TagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Assigns a set of tags to the specified Amazon Cognito identity pool. A+-- tag is a label that you can use to categorize and manage identity pools+-- in different ways, such as by purpose, owner, environment, or other+-- criteria.+--+-- Each tag consists of a key and value, both of which you define. A key is+-- a general category for more specific values. For example, if you have+-- two versions of an identity pool, one for testing and another for+-- production, you might assign an @Environment@ tag key to both identity+-- pools. The value of this key might be @Test@ for one identity pool and+-- @Production@ for the other.+--+-- Tags are useful for cost tracking and access control. You can activate+-- your tags so that they appear on the Billing and Cost Management+-- console, where you can track the costs associated with your identity+-- pools. In an IAM policy, you can constrain permissions for identity+-- pools based on specific tags or tag values.+--+-- You can use this action up to 5 times per second, per account. An+-- identity pool can have as many as 50 tags.+module Amazonka.CognitoIdentity.TagResource+ ( -- * Creating a Request+ TagResource (..),+ newTagResource,++ -- * Request Lenses+ tagResource_resourceArn,+ tagResource_tags,++ -- * Destructuring the Response+ TagResourceResponse (..),+ newTagResourceResponse,++ -- * Response Lenses+ tagResourceResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newTagResource' smart constructor.+data TagResource = TagResource'+ { -- | The Amazon Resource Name (ARN) of the identity pool.+ resourceArn :: Prelude.Text,+ -- | The tags to assign to the identity pool.+ tags :: Prelude.HashMap Prelude.Text Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'tagResource_resourceArn' - The Amazon Resource Name (ARN) of the identity pool.+--+-- 'tags', 'tagResource_tags' - The tags to assign to the identity pool.+newTagResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ TagResource+newTagResource pResourceArn_ =+ TagResource'+ { resourceArn = pResourceArn_,+ tags = Prelude.mempty+ }++-- | The Amazon Resource Name (ARN) of the identity pool.+tagResource_resourceArn :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceArn = Lens.lens (\TagResource' {resourceArn} -> resourceArn) (\s@TagResource' {} a -> s {resourceArn = a} :: TagResource)++-- | The tags to assign to the identity pool.+tagResource_tags :: Lens.Lens' TagResource (Prelude.HashMap Prelude.Text Prelude.Text)+tagResource_tags = Lens.lens (\TagResource' {tags} -> tags) (\s@TagResource' {} a -> s {tags = a} :: TagResource) Prelude.. Lens.coerced++instance Core.AWSRequest TagResource where+ type AWSResponse TagResource = TagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ TagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable TagResource where+ hashWithSalt _salt TagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceArn+ `Prelude.hashWithSalt` tags++instance Prelude.NFData TagResource where+ rnf TagResource' {..} =+ Prelude.rnf resourceArn+ `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders TagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.TagResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TagResource where+ toJSON TagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceArn" Data..= resourceArn),+ Prelude.Just ("Tags" Data..= tags)+ ]+ )++instance Data.ToPath TagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery TagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResourceResponse' smart constructor.+data TagResourceResponse = TagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'tagResourceResponse_httpStatus' - The response's http status code.+newTagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TagResourceResponse+newTagResourceResponse pHttpStatus_ =+ TagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+tagResourceResponse_httpStatus :: Lens.Lens' TagResourceResponse Prelude.Int+tagResourceResponse_httpStatus = Lens.lens (\TagResourceResponse' {httpStatus} -> httpStatus) (\s@TagResourceResponse' {} a -> s {httpStatus = a} :: TagResourceResponse)++instance Prelude.NFData TagResourceResponse where+ rnf TagResourceResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/Types.hs view
@@ -0,0 +1,285 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ _ConcurrentModificationException,+ _DeveloperUserAlreadyRegisteredException,+ _ExternalServiceException,+ _InternalErrorException,+ _InvalidIdentityPoolConfigurationException,+ _InvalidParameterException,+ _LimitExceededException,+ _NotAuthorizedException,+ _ResourceConflictException,+ _ResourceNotFoundException,+ _TooManyRequestsException,++ -- * AmbiguousRoleResolutionType+ AmbiguousRoleResolutionType (..),++ -- * CognitoErrorCode+ CognitoErrorCode (..),++ -- * MappingRuleMatchType+ MappingRuleMatchType (..),++ -- * RoleMappingType+ RoleMappingType (..),++ -- * CognitoIdentityProvider+ CognitoIdentityProvider (..),+ newCognitoIdentityProvider,+ cognitoIdentityProvider_clientId,+ cognitoIdentityProvider_providerName,+ cognitoIdentityProvider_serverSideTokenCheck,++ -- * Credentials+ Credentials (..),+ newCredentials,+ credentials_accessKeyId,+ credentials_expiration,+ credentials_secretKey,+ credentials_sessionToken,++ -- * IdentityDescription+ IdentityDescription (..),+ newIdentityDescription,+ identityDescription_creationDate,+ identityDescription_identityId,+ identityDescription_lastModifiedDate,+ identityDescription_logins,++ -- * IdentityPool+ IdentityPool (..),+ newIdentityPool,+ identityPool_allowClassicFlow,+ identityPool_cognitoIdentityProviders,+ identityPool_developerProviderName,+ identityPool_identityPoolTags,+ identityPool_openIdConnectProviderARNs,+ identityPool_samlProviderARNs,+ identityPool_supportedLoginProviders,+ identityPool_identityPoolId,+ identityPool_identityPoolName,+ identityPool_allowUnauthenticatedIdentities,++ -- * IdentityPoolShortDescription+ IdentityPoolShortDescription (..),+ newIdentityPoolShortDescription,+ identityPoolShortDescription_identityPoolId,+ identityPoolShortDescription_identityPoolName,++ -- * MappingRule+ MappingRule (..),+ newMappingRule,+ mappingRule_claim,+ mappingRule_matchType,+ mappingRule_value,+ mappingRule_roleARN,++ -- * RoleMapping+ RoleMapping (..),+ newRoleMapping,+ roleMapping_ambiguousRoleResolution,+ roleMapping_rulesConfiguration,+ roleMapping_type,++ -- * RulesConfigurationType+ RulesConfigurationType (..),+ newRulesConfigurationType,+ rulesConfigurationType_rules,++ -- * UnprocessedIdentityId+ UnprocessedIdentityId (..),+ newUnprocessedIdentityId,+ unprocessedIdentityId_errorCode,+ unprocessedIdentityId_identityId,+ )+where++import Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType+import Amazonka.CognitoIdentity.Types.CognitoErrorCode+import Amazonka.CognitoIdentity.Types.CognitoIdentityProvider+import Amazonka.CognitoIdentity.Types.Credentials+import Amazonka.CognitoIdentity.Types.IdentityDescription+import Amazonka.CognitoIdentity.Types.IdentityPool+import Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription+import Amazonka.CognitoIdentity.Types.MappingRule+import Amazonka.CognitoIdentity.Types.MappingRuleMatchType+import Amazonka.CognitoIdentity.Types.RoleMapping+import Amazonka.CognitoIdentity.Types.RoleMappingType+import Amazonka.CognitoIdentity.Types.RulesConfigurationType+import Amazonka.CognitoIdentity.Types.UnprocessedIdentityId+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2014-06-30@ of the Amazon Cognito Identity SDK configuration.+defaultService :: Core.Service+defaultService =+ Core.Service+ { Core.abbrev = "CognitoIdentity",+ Core.signer = Sign.v4,+ Core.endpointPrefix = "cognito-identity",+ Core.signingName = "cognito-identity",+ Core.version = "2014-06-30",+ Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+ Core.endpoint = Core.defaultEndpoint defaultService,+ Core.timeout = Prelude.Just 70,+ Core.check = Core.statusSuccess,+ Core.error = Core.parseJSONError "CognitoIdentity",+ Core.retry = retry+ }+ where+ retry =+ Core.Exponential+ { Core.base = 5.0e-2,+ Core.growth = 2,+ Core.attempts = 5,+ Core.check = check+ }+ check e+ | Lens.has (Core.hasStatus 502) e =+ Prelude.Just "bad_gateway"+ | Lens.has (Core.hasStatus 504) e =+ Prelude.Just "gateway_timeout"+ | Lens.has (Core.hasStatus 500) e =+ Prelude.Just "general_server_error"+ | Lens.has (Core.hasStatus 509) e =+ Prelude.Just "limit_exceeded"+ | Lens.has+ ( Core.hasCode "RequestThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "request_throttled_exception"+ | Lens.has (Core.hasStatus 503) e =+ Prelude.Just "service_unavailable"+ | Lens.has+ ( Core.hasCode "ThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttled_exception"+ | Lens.has+ ( Core.hasCode "Throttling"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling"+ | Lens.has+ ( Core.hasCode "ThrottlingException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling_exception"+ | Lens.has+ ( Core.hasCode+ "ProvisionedThroughputExceededException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throughput_exceeded"+ | Lens.has (Core.hasStatus 429) e =+ Prelude.Just "too_many_requests"+ | Prelude.otherwise = Prelude.Nothing++-- | Thrown if there are parallel requests to modify a resource.+_ConcurrentModificationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConcurrentModificationException =+ Core._MatchServiceError+ defaultService+ "ConcurrentModificationException"++-- | The provided developer user identifier is already registered with+-- Cognito under a different identity ID.+_DeveloperUserAlreadyRegisteredException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DeveloperUserAlreadyRegisteredException =+ Core._MatchServiceError+ defaultService+ "DeveloperUserAlreadyRegisteredException"++-- | An exception thrown when a dependent service such as Facebook or Twitter+-- is not responding+_ExternalServiceException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ExternalServiceException =+ Core._MatchServiceError+ defaultService+ "ExternalServiceException"++-- | Thrown when the service encounters an error during processing the+-- request.+_InternalErrorException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InternalErrorException =+ Core._MatchServiceError+ defaultService+ "InternalErrorException"++-- | Thrown if the identity pool has no role associated for the given auth+-- type (auth\/unauth) or if the AssumeRole fails.+_InvalidIdentityPoolConfigurationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidIdentityPoolConfigurationException =+ Core._MatchServiceError+ defaultService+ "InvalidIdentityPoolConfigurationException"++-- | Thrown for missing or bad input parameter(s).+_InvalidParameterException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidParameterException =+ Core._MatchServiceError+ defaultService+ "InvalidParameterException"++-- | Thrown when the total number of user pools has exceeded a preset limit.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+ Core._MatchServiceError+ defaultService+ "LimitExceededException"++-- | Thrown when a user is not authorized to access the requested resource.+_NotAuthorizedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_NotAuthorizedException =+ Core._MatchServiceError+ defaultService+ "NotAuthorizedException"++-- | Thrown when a user tries to use a login which is already linked to+-- another account.+_ResourceConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceConflictException =+ Core._MatchServiceError+ defaultService+ "ResourceConflictException"++-- | Thrown when the requested resource (for example, a dataset or record)+-- does not exist.+_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceNotFoundException =+ Core._MatchServiceError+ defaultService+ "ResourceNotFoundException"++-- | Thrown when a request is throttled.+_TooManyRequestsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TooManyRequestsException =+ Core._MatchServiceError+ defaultService+ "TooManyRequestsException"
+ gen/Amazonka/CognitoIdentity/Types/AmbiguousRoleResolutionType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType+ ( AmbiguousRoleResolutionType+ ( ..,+ AmbiguousRoleResolutionType_AuthenticatedRole,+ AmbiguousRoleResolutionType_Deny+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AmbiguousRoleResolutionType = AmbiguousRoleResolutionType'+ { fromAmbiguousRoleResolutionType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern AmbiguousRoleResolutionType_AuthenticatedRole :: AmbiguousRoleResolutionType+pattern AmbiguousRoleResolutionType_AuthenticatedRole = AmbiguousRoleResolutionType' "AuthenticatedRole"++pattern AmbiguousRoleResolutionType_Deny :: AmbiguousRoleResolutionType+pattern AmbiguousRoleResolutionType_Deny = AmbiguousRoleResolutionType' "Deny"++{-# COMPLETE+ AmbiguousRoleResolutionType_AuthenticatedRole,+ AmbiguousRoleResolutionType_Deny,+ AmbiguousRoleResolutionType'+ #-}
+ gen/Amazonka/CognitoIdentity/Types/CognitoErrorCode.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.CognitoErrorCode+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.CognitoErrorCode+ ( CognitoErrorCode+ ( ..,+ CognitoErrorCode_AccessDenied,+ CognitoErrorCode_InternalServerError+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype CognitoErrorCode = CognitoErrorCode'+ { fromCognitoErrorCode ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern CognitoErrorCode_AccessDenied :: CognitoErrorCode+pattern CognitoErrorCode_AccessDenied = CognitoErrorCode' "AccessDenied"++pattern CognitoErrorCode_InternalServerError :: CognitoErrorCode+pattern CognitoErrorCode_InternalServerError = CognitoErrorCode' "InternalServerError"++{-# COMPLETE+ CognitoErrorCode_AccessDenied,+ CognitoErrorCode_InternalServerError,+ CognitoErrorCode'+ #-}
+ gen/Amazonka/CognitoIdentity/Types/CognitoIdentityProvider.hs view
@@ -0,0 +1,138 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.CognitoIdentityProvider+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.CognitoIdentityProvider where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A provider representing an Amazon Cognito user pool and its client ID.+--+-- /See:/ 'newCognitoIdentityProvider' smart constructor.+data CognitoIdentityProvider = CognitoIdentityProvider'+ { -- | The client ID for the Amazon Cognito user pool.+ clientId :: Prelude.Maybe Prelude.Text,+ -- | The provider name for an Amazon Cognito user pool. For example,+ -- @cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789@.+ providerName :: Prelude.Maybe Prelude.Text,+ -- | TRUE if server-side token validation is enabled for the identity+ -- provider’s token.+ --+ -- Once you set @ServerSideTokenCheck@ to TRUE for an identity pool, that+ -- identity pool will check with the integrated user pools to make sure+ -- that the user has not been globally signed out or deleted before the+ -- identity pool provides an OIDC token or AWS credentials for the user.+ --+ -- If the user is signed out or deleted, the identity pool will return a+ -- 400 Not Authorized error.+ serverSideTokenCheck :: Prelude.Maybe Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CognitoIdentityProvider' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientId', 'cognitoIdentityProvider_clientId' - The client ID for the Amazon Cognito user pool.+--+-- 'providerName', 'cognitoIdentityProvider_providerName' - The provider name for an Amazon Cognito user pool. For example,+-- @cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789@.+--+-- 'serverSideTokenCheck', 'cognitoIdentityProvider_serverSideTokenCheck' - TRUE if server-side token validation is enabled for the identity+-- provider’s token.+--+-- Once you set @ServerSideTokenCheck@ to TRUE for an identity pool, that+-- identity pool will check with the integrated user pools to make sure+-- that the user has not been globally signed out or deleted before the+-- identity pool provides an OIDC token or AWS credentials for the user.+--+-- If the user is signed out or deleted, the identity pool will return a+-- 400 Not Authorized error.+newCognitoIdentityProvider ::+ CognitoIdentityProvider+newCognitoIdentityProvider =+ CognitoIdentityProvider'+ { clientId =+ Prelude.Nothing,+ providerName = Prelude.Nothing,+ serverSideTokenCheck = Prelude.Nothing+ }++-- | The client ID for the Amazon Cognito user pool.+cognitoIdentityProvider_clientId :: Lens.Lens' CognitoIdentityProvider (Prelude.Maybe Prelude.Text)+cognitoIdentityProvider_clientId = Lens.lens (\CognitoIdentityProvider' {clientId} -> clientId) (\s@CognitoIdentityProvider' {} a -> s {clientId = a} :: CognitoIdentityProvider)++-- | The provider name for an Amazon Cognito user pool. For example,+-- @cognito-idp.us-east-1.amazonaws.com\/us-east-1_123456789@.+cognitoIdentityProvider_providerName :: Lens.Lens' CognitoIdentityProvider (Prelude.Maybe Prelude.Text)+cognitoIdentityProvider_providerName = Lens.lens (\CognitoIdentityProvider' {providerName} -> providerName) (\s@CognitoIdentityProvider' {} a -> s {providerName = a} :: CognitoIdentityProvider)++-- | TRUE if server-side token validation is enabled for the identity+-- provider’s token.+--+-- Once you set @ServerSideTokenCheck@ to TRUE for an identity pool, that+-- identity pool will check with the integrated user pools to make sure+-- that the user has not been globally signed out or deleted before the+-- identity pool provides an OIDC token or AWS credentials for the user.+--+-- If the user is signed out or deleted, the identity pool will return a+-- 400 Not Authorized error.+cognitoIdentityProvider_serverSideTokenCheck :: Lens.Lens' CognitoIdentityProvider (Prelude.Maybe Prelude.Bool)+cognitoIdentityProvider_serverSideTokenCheck = Lens.lens (\CognitoIdentityProvider' {serverSideTokenCheck} -> serverSideTokenCheck) (\s@CognitoIdentityProvider' {} a -> s {serverSideTokenCheck = a} :: CognitoIdentityProvider)++instance Data.FromJSON CognitoIdentityProvider where+ parseJSON =+ Data.withObject+ "CognitoIdentityProvider"+ ( \x ->+ CognitoIdentityProvider'+ Prelude.<$> (x Data..:? "ClientId")+ Prelude.<*> (x Data..:? "ProviderName")+ Prelude.<*> (x Data..:? "ServerSideTokenCheck")+ )++instance Prelude.Hashable CognitoIdentityProvider where+ hashWithSalt _salt CognitoIdentityProvider' {..} =+ _salt+ `Prelude.hashWithSalt` clientId+ `Prelude.hashWithSalt` providerName+ `Prelude.hashWithSalt` serverSideTokenCheck++instance Prelude.NFData CognitoIdentityProvider where+ rnf CognitoIdentityProvider' {..} =+ Prelude.rnf clientId+ `Prelude.seq` Prelude.rnf providerName+ `Prelude.seq` Prelude.rnf serverSideTokenCheck++instance Data.ToJSON CognitoIdentityProvider where+ toJSON CognitoIdentityProvider' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientId" Data..=) Prelude.<$> clientId,+ ("ProviderName" Data..=) Prelude.<$> providerName,+ ("ServerSideTokenCheck" Data..=)+ Prelude.<$> serverSideTokenCheck+ ]+ )
+ gen/Amazonka/CognitoIdentity/Types/Credentials.hs view
@@ -0,0 +1,108 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.Credentials+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.Credentials where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Credentials for the provided identity ID.+--+-- /See:/ 'newCredentials' smart constructor.+data Credentials = Credentials'+ { -- | The Access Key portion of the credentials.+ accessKeyId :: Prelude.Maybe Prelude.Text,+ -- | The date at which these credentials will expire.+ expiration :: Prelude.Maybe Data.POSIX,+ -- | The Secret Access Key portion of the credentials+ secretKey :: Prelude.Maybe Prelude.Text,+ -- | The Session Token portion of the credentials+ sessionToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Credentials' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'accessKeyId', 'credentials_accessKeyId' - The Access Key portion of the credentials.+--+-- 'expiration', 'credentials_expiration' - The date at which these credentials will expire.+--+-- 'secretKey', 'credentials_secretKey' - The Secret Access Key portion of the credentials+--+-- 'sessionToken', 'credentials_sessionToken' - The Session Token portion of the credentials+newCredentials ::+ Credentials+newCredentials =+ Credentials'+ { accessKeyId = Prelude.Nothing,+ expiration = Prelude.Nothing,+ secretKey = Prelude.Nothing,+ sessionToken = Prelude.Nothing+ }++-- | The Access Key portion of the credentials.+credentials_accessKeyId :: Lens.Lens' Credentials (Prelude.Maybe Prelude.Text)+credentials_accessKeyId = Lens.lens (\Credentials' {accessKeyId} -> accessKeyId) (\s@Credentials' {} a -> s {accessKeyId = a} :: Credentials)++-- | The date at which these credentials will expire.+credentials_expiration :: Lens.Lens' Credentials (Prelude.Maybe Prelude.UTCTime)+credentials_expiration = Lens.lens (\Credentials' {expiration} -> expiration) (\s@Credentials' {} a -> s {expiration = a} :: Credentials) Prelude.. Lens.mapping Data._Time++-- | The Secret Access Key portion of the credentials+credentials_secretKey :: Lens.Lens' Credentials (Prelude.Maybe Prelude.Text)+credentials_secretKey = Lens.lens (\Credentials' {secretKey} -> secretKey) (\s@Credentials' {} a -> s {secretKey = a} :: Credentials)++-- | The Session Token portion of the credentials+credentials_sessionToken :: Lens.Lens' Credentials (Prelude.Maybe Prelude.Text)+credentials_sessionToken = Lens.lens (\Credentials' {sessionToken} -> sessionToken) (\s@Credentials' {} a -> s {sessionToken = a} :: Credentials)++instance Data.FromJSON Credentials where+ parseJSON =+ Data.withObject+ "Credentials"+ ( \x ->+ Credentials'+ Prelude.<$> (x Data..:? "AccessKeyId")+ Prelude.<*> (x Data..:? "Expiration")+ Prelude.<*> (x Data..:? "SecretKey")+ Prelude.<*> (x Data..:? "SessionToken")+ )++instance Prelude.Hashable Credentials where+ hashWithSalt _salt Credentials' {..} =+ _salt+ `Prelude.hashWithSalt` accessKeyId+ `Prelude.hashWithSalt` expiration+ `Prelude.hashWithSalt` secretKey+ `Prelude.hashWithSalt` sessionToken++instance Prelude.NFData Credentials where+ rnf Credentials' {..} =+ Prelude.rnf accessKeyId+ `Prelude.seq` Prelude.rnf expiration+ `Prelude.seq` Prelude.rnf secretKey+ `Prelude.seq` Prelude.rnf sessionToken
+ gen/Amazonka/CognitoIdentity/Types/IdentityDescription.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.IdentityDescription+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.IdentityDescription where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A description of the identity.+--+-- /See:/ 'newIdentityDescription' smart constructor.+data IdentityDescription = IdentityDescription'+ { -- | Date on which the identity was created.+ creationDate :: Prelude.Maybe Data.POSIX,+ -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Maybe Prelude.Text,+ -- | Date on which the identity was last modified.+ lastModifiedDate :: Prelude.Maybe Data.POSIX,+ -- | The provider names.+ logins :: Prelude.Maybe [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'IdentityDescription' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'creationDate', 'identityDescription_creationDate' - Date on which the identity was created.+--+-- 'identityId', 'identityDescription_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'lastModifiedDate', 'identityDescription_lastModifiedDate' - Date on which the identity was last modified.+--+-- 'logins', 'identityDescription_logins' - The provider names.+newIdentityDescription ::+ IdentityDescription+newIdentityDescription =+ IdentityDescription'+ { creationDate =+ Prelude.Nothing,+ identityId = Prelude.Nothing,+ lastModifiedDate = Prelude.Nothing,+ logins = Prelude.Nothing+ }++-- | Date on which the identity was created.+identityDescription_creationDate :: Lens.Lens' IdentityDescription (Prelude.Maybe Prelude.UTCTime)+identityDescription_creationDate = Lens.lens (\IdentityDescription' {creationDate} -> creationDate) (\s@IdentityDescription' {} a -> s {creationDate = a} :: IdentityDescription) Prelude.. Lens.mapping Data._Time++-- | A unique identifier in the format REGION:GUID.+identityDescription_identityId :: Lens.Lens' IdentityDescription (Prelude.Maybe Prelude.Text)+identityDescription_identityId = Lens.lens (\IdentityDescription' {identityId} -> identityId) (\s@IdentityDescription' {} a -> s {identityId = a} :: IdentityDescription)++-- | Date on which the identity was last modified.+identityDescription_lastModifiedDate :: Lens.Lens' IdentityDescription (Prelude.Maybe Prelude.UTCTime)+identityDescription_lastModifiedDate = Lens.lens (\IdentityDescription' {lastModifiedDate} -> lastModifiedDate) (\s@IdentityDescription' {} a -> s {lastModifiedDate = a} :: IdentityDescription) Prelude.. Lens.mapping Data._Time++-- | The provider names.+identityDescription_logins :: Lens.Lens' IdentityDescription (Prelude.Maybe [Prelude.Text])+identityDescription_logins = Lens.lens (\IdentityDescription' {logins} -> logins) (\s@IdentityDescription' {} a -> s {logins = a} :: IdentityDescription) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON IdentityDescription where+ parseJSON =+ Data.withObject+ "IdentityDescription"+ ( \x ->+ IdentityDescription'+ Prelude.<$> (x Data..:? "CreationDate")+ Prelude.<*> (x Data..:? "IdentityId")+ Prelude.<*> (x Data..:? "LastModifiedDate")+ Prelude.<*> (x Data..:? "Logins" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable IdentityDescription where+ hashWithSalt _salt IdentityDescription' {..} =+ _salt+ `Prelude.hashWithSalt` creationDate+ `Prelude.hashWithSalt` identityId+ `Prelude.hashWithSalt` lastModifiedDate+ `Prelude.hashWithSalt` logins++instance Prelude.NFData IdentityDescription where+ rnf IdentityDescription' {..} =+ Prelude.rnf creationDate+ `Prelude.seq` Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf lastModifiedDate+ `Prelude.seq` Prelude.rnf logins
+ gen/Amazonka/CognitoIdentity/Types/IdentityPool.hs view
@@ -0,0 +1,256 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.IdentityPool+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.IdentityPool where++import Amazonka.CognitoIdentity.Types.CognitoIdentityProvider+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object representing an Amazon Cognito identity pool.+--+-- /See:/ 'newIdentityPool' smart constructor.+data IdentityPool = IdentityPool'+ { -- | Enables or disables the Basic (Classic) authentication flow. For more+ -- information, see+ -- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Identity Pools (Federated Identities) Authentication Flow>+ -- in the /Amazon Cognito Developer Guide/.+ allowClassicFlow :: Prelude.Maybe Prelude.Bool,+ -- | A list representing an Amazon Cognito user pool and its client ID.+ cognitoIdentityProviders :: Prelude.Maybe [CognitoIdentityProvider],+ -- | The \"domain\" by which Cognito will refer to your users.+ developerProviderName :: Prelude.Maybe Prelude.Text,+ -- | The tags that are assigned to the identity pool. A tag is a label that+ -- you can apply to identity pools to categorize and manage them in+ -- different ways, such as by purpose, owner, environment, or other+ -- criteria.+ identityPoolTags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The ARNs of the OpenID Connect providers.+ openIdConnectProviderARNs :: Prelude.Maybe [Prelude.Text],+ -- | An array of Amazon Resource Names (ARNs) of the SAML provider for your+ -- identity pool.+ samlProviderARNs :: Prelude.Maybe [Prelude.Text],+ -- | Optional key:value pairs mapping provider names to provider app IDs.+ supportedLoginProviders :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text,+ -- | A string that you provide.+ identityPoolName :: Prelude.Text,+ -- | TRUE if the identity pool supports unauthenticated logins.+ allowUnauthenticatedIdentities :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'IdentityPool' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'allowClassicFlow', 'identityPool_allowClassicFlow' - Enables or disables the Basic (Classic) authentication flow. For more+-- information, see+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Identity Pools (Federated Identities) Authentication Flow>+-- in the /Amazon Cognito Developer Guide/.+--+-- 'cognitoIdentityProviders', 'identityPool_cognitoIdentityProviders' - A list representing an Amazon Cognito user pool and its client ID.+--+-- 'developerProviderName', 'identityPool_developerProviderName' - The \"domain\" by which Cognito will refer to your users.+--+-- 'identityPoolTags', 'identityPool_identityPoolTags' - The tags that are assigned to the identity pool. A tag is a label that+-- you can apply to identity pools to categorize and manage them in+-- different ways, such as by purpose, owner, environment, or other+-- criteria.+--+-- 'openIdConnectProviderARNs', 'identityPool_openIdConnectProviderARNs' - The ARNs of the OpenID Connect providers.+--+-- 'samlProviderARNs', 'identityPool_samlProviderARNs' - An array of Amazon Resource Names (ARNs) of the SAML provider for your+-- identity pool.+--+-- 'supportedLoginProviders', 'identityPool_supportedLoginProviders' - Optional key:value pairs mapping provider names to provider app IDs.+--+-- 'identityPoolId', 'identityPool_identityPoolId' - An identity pool ID in the format REGION:GUID.+--+-- 'identityPoolName', 'identityPool_identityPoolName' - A string that you provide.+--+-- 'allowUnauthenticatedIdentities', 'identityPool_allowUnauthenticatedIdentities' - TRUE if the identity pool supports unauthenticated logins.+newIdentityPool ::+ -- | 'identityPoolId'+ Prelude.Text ->+ -- | 'identityPoolName'+ Prelude.Text ->+ -- | 'allowUnauthenticatedIdentities'+ Prelude.Bool ->+ IdentityPool+newIdentityPool+ pIdentityPoolId_+ pIdentityPoolName_+ pAllowUnauthenticatedIdentities_ =+ IdentityPool'+ { allowClassicFlow = Prelude.Nothing,+ cognitoIdentityProviders = Prelude.Nothing,+ developerProviderName = Prelude.Nothing,+ identityPoolTags = Prelude.Nothing,+ openIdConnectProviderARNs = Prelude.Nothing,+ samlProviderARNs = Prelude.Nothing,+ supportedLoginProviders = Prelude.Nothing,+ identityPoolId = pIdentityPoolId_,+ identityPoolName = pIdentityPoolName_,+ allowUnauthenticatedIdentities =+ pAllowUnauthenticatedIdentities_+ }++-- | Enables or disables the Basic (Classic) authentication flow. For more+-- information, see+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Identity Pools (Federated Identities) Authentication Flow>+-- in the /Amazon Cognito Developer Guide/.+identityPool_allowClassicFlow :: Lens.Lens' IdentityPool (Prelude.Maybe Prelude.Bool)+identityPool_allowClassicFlow = Lens.lens (\IdentityPool' {allowClassicFlow} -> allowClassicFlow) (\s@IdentityPool' {} a -> s {allowClassicFlow = a} :: IdentityPool)++-- | A list representing an Amazon Cognito user pool and its client ID.+identityPool_cognitoIdentityProviders :: Lens.Lens' IdentityPool (Prelude.Maybe [CognitoIdentityProvider])+identityPool_cognitoIdentityProviders = Lens.lens (\IdentityPool' {cognitoIdentityProviders} -> cognitoIdentityProviders) (\s@IdentityPool' {} a -> s {cognitoIdentityProviders = a} :: IdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | The \"domain\" by which Cognito will refer to your users.+identityPool_developerProviderName :: Lens.Lens' IdentityPool (Prelude.Maybe Prelude.Text)+identityPool_developerProviderName = Lens.lens (\IdentityPool' {developerProviderName} -> developerProviderName) (\s@IdentityPool' {} a -> s {developerProviderName = a} :: IdentityPool)++-- | The tags that are assigned to the identity pool. A tag is a label that+-- you can apply to identity pools to categorize and manage them in+-- different ways, such as by purpose, owner, environment, or other+-- criteria.+identityPool_identityPoolTags :: Lens.Lens' IdentityPool (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+identityPool_identityPoolTags = Lens.lens (\IdentityPool' {identityPoolTags} -> identityPoolTags) (\s@IdentityPool' {} a -> s {identityPoolTags = a} :: IdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | The ARNs of the OpenID Connect providers.+identityPool_openIdConnectProviderARNs :: Lens.Lens' IdentityPool (Prelude.Maybe [Prelude.Text])+identityPool_openIdConnectProviderARNs = Lens.lens (\IdentityPool' {openIdConnectProviderARNs} -> openIdConnectProviderARNs) (\s@IdentityPool' {} a -> s {openIdConnectProviderARNs = a} :: IdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | An array of Amazon Resource Names (ARNs) of the SAML provider for your+-- identity pool.+identityPool_samlProviderARNs :: Lens.Lens' IdentityPool (Prelude.Maybe [Prelude.Text])+identityPool_samlProviderARNs = Lens.lens (\IdentityPool' {samlProviderARNs} -> samlProviderARNs) (\s@IdentityPool' {} a -> s {samlProviderARNs = a} :: IdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | Optional key:value pairs mapping provider names to provider app IDs.+identityPool_supportedLoginProviders :: Lens.Lens' IdentityPool (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+identityPool_supportedLoginProviders = Lens.lens (\IdentityPool' {supportedLoginProviders} -> supportedLoginProviders) (\s@IdentityPool' {} a -> s {supportedLoginProviders = a} :: IdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | An identity pool ID in the format REGION:GUID.+identityPool_identityPoolId :: Lens.Lens' IdentityPool Prelude.Text+identityPool_identityPoolId = Lens.lens (\IdentityPool' {identityPoolId} -> identityPoolId) (\s@IdentityPool' {} a -> s {identityPoolId = a} :: IdentityPool)++-- | A string that you provide.+identityPool_identityPoolName :: Lens.Lens' IdentityPool Prelude.Text+identityPool_identityPoolName = Lens.lens (\IdentityPool' {identityPoolName} -> identityPoolName) (\s@IdentityPool' {} a -> s {identityPoolName = a} :: IdentityPool)++-- | TRUE if the identity pool supports unauthenticated logins.+identityPool_allowUnauthenticatedIdentities :: Lens.Lens' IdentityPool Prelude.Bool+identityPool_allowUnauthenticatedIdentities = Lens.lens (\IdentityPool' {allowUnauthenticatedIdentities} -> allowUnauthenticatedIdentities) (\s@IdentityPool' {} a -> s {allowUnauthenticatedIdentities = a} :: IdentityPool)++instance Data.FromJSON IdentityPool where+ parseJSON =+ Data.withObject+ "IdentityPool"+ ( \x ->+ IdentityPool'+ Prelude.<$> (x Data..:? "AllowClassicFlow")+ Prelude.<*> ( x+ Data..:? "CognitoIdentityProviders"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "DeveloperProviderName")+ Prelude.<*> ( x+ Data..:? "IdentityPoolTags"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "OpenIdConnectProviderARNs"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "SamlProviderARNs"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "SupportedLoginProviders"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..: "IdentityPoolId")+ Prelude.<*> (x Data..: "IdentityPoolName")+ Prelude.<*> (x Data..: "AllowUnauthenticatedIdentities")+ )++instance Prelude.Hashable IdentityPool where+ hashWithSalt _salt IdentityPool' {..} =+ _salt+ `Prelude.hashWithSalt` allowClassicFlow+ `Prelude.hashWithSalt` cognitoIdentityProviders+ `Prelude.hashWithSalt` developerProviderName+ `Prelude.hashWithSalt` identityPoolTags+ `Prelude.hashWithSalt` openIdConnectProviderARNs+ `Prelude.hashWithSalt` samlProviderARNs+ `Prelude.hashWithSalt` supportedLoginProviders+ `Prelude.hashWithSalt` identityPoolId+ `Prelude.hashWithSalt` identityPoolName+ `Prelude.hashWithSalt` allowUnauthenticatedIdentities++instance Prelude.NFData IdentityPool where+ rnf IdentityPool' {..} =+ Prelude.rnf allowClassicFlow+ `Prelude.seq` Prelude.rnf cognitoIdentityProviders+ `Prelude.seq` Prelude.rnf developerProviderName+ `Prelude.seq` Prelude.rnf identityPoolTags+ `Prelude.seq` Prelude.rnf openIdConnectProviderARNs+ `Prelude.seq` Prelude.rnf samlProviderARNs+ `Prelude.seq` Prelude.rnf supportedLoginProviders+ `Prelude.seq` Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf identityPoolName+ `Prelude.seq` Prelude.rnf allowUnauthenticatedIdentities++instance Data.ToJSON IdentityPool where+ toJSON IdentityPool' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AllowClassicFlow" Data..=)+ Prelude.<$> allowClassicFlow,+ ("CognitoIdentityProviders" Data..=)+ Prelude.<$> cognitoIdentityProviders,+ ("DeveloperProviderName" Data..=)+ Prelude.<$> developerProviderName,+ ("IdentityPoolTags" Data..=)+ Prelude.<$> identityPoolTags,+ ("OpenIdConnectProviderARNs" Data..=)+ Prelude.<$> openIdConnectProviderARNs,+ ("SamlProviderARNs" Data..=)+ Prelude.<$> samlProviderARNs,+ ("SupportedLoginProviders" Data..=)+ Prelude.<$> supportedLoginProviders,+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId),+ Prelude.Just+ ("IdentityPoolName" Data..= identityPoolName),+ Prelude.Just+ ( "AllowUnauthenticatedIdentities"+ Data..= allowUnauthenticatedIdentities+ )+ ]+ )
+ gen/Amazonka/CognitoIdentity/Types/IdentityPoolShortDescription.hs view
@@ -0,0 +1,88 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.IdentityPoolShortDescription where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A description of the identity pool.+--+-- /See:/ 'newIdentityPoolShortDescription' smart constructor.+data IdentityPoolShortDescription = IdentityPoolShortDescription'+ { -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Maybe Prelude.Text,+ -- | A string that you provide.+ identityPoolName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'IdentityPoolShortDescription' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityPoolId', 'identityPoolShortDescription_identityPoolId' - An identity pool ID in the format REGION:GUID.+--+-- 'identityPoolName', 'identityPoolShortDescription_identityPoolName' - A string that you provide.+newIdentityPoolShortDescription ::+ IdentityPoolShortDescription+newIdentityPoolShortDescription =+ IdentityPoolShortDescription'+ { identityPoolId =+ Prelude.Nothing,+ identityPoolName = Prelude.Nothing+ }++-- | An identity pool ID in the format REGION:GUID.+identityPoolShortDescription_identityPoolId :: Lens.Lens' IdentityPoolShortDescription (Prelude.Maybe Prelude.Text)+identityPoolShortDescription_identityPoolId = Lens.lens (\IdentityPoolShortDescription' {identityPoolId} -> identityPoolId) (\s@IdentityPoolShortDescription' {} a -> s {identityPoolId = a} :: IdentityPoolShortDescription)++-- | A string that you provide.+identityPoolShortDescription_identityPoolName :: Lens.Lens' IdentityPoolShortDescription (Prelude.Maybe Prelude.Text)+identityPoolShortDescription_identityPoolName = Lens.lens (\IdentityPoolShortDescription' {identityPoolName} -> identityPoolName) (\s@IdentityPoolShortDescription' {} a -> s {identityPoolName = a} :: IdentityPoolShortDescription)++instance Data.FromJSON IdentityPoolShortDescription where+ parseJSON =+ Data.withObject+ "IdentityPoolShortDescription"+ ( \x ->+ IdentityPoolShortDescription'+ Prelude.<$> (x Data..:? "IdentityPoolId")+ Prelude.<*> (x Data..:? "IdentityPoolName")+ )++instance+ Prelude.Hashable+ IdentityPoolShortDescription+ where+ hashWithSalt _salt IdentityPoolShortDescription' {..} =+ _salt+ `Prelude.hashWithSalt` identityPoolId+ `Prelude.hashWithSalt` identityPoolName++instance Prelude.NFData IdentityPoolShortDescription where+ rnf IdentityPoolShortDescription' {..} =+ Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf identityPoolName
+ gen/Amazonka/CognitoIdentity/Types/MappingRule.hs view
@@ -0,0 +1,138 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.MappingRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.MappingRule where++import Amazonka.CognitoIdentity.Types.MappingRuleMatchType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A rule that maps a claim name, a claim value, and a match type to a role+-- ARN.+--+-- /See:/ 'newMappingRule' smart constructor.+data MappingRule = MappingRule'+ { -- | The claim name that must be present in the token, for example,+ -- \"isAdmin\" or \"paid\".+ claim :: Prelude.Text,+ -- | The match condition that specifies how closely the claim value in the+ -- IdP token must match @Value@.+ matchType :: MappingRuleMatchType,+ -- | A brief string that the claim must match, for example, \"paid\" or+ -- \"yes\".+ value :: Prelude.Text,+ -- | The role ARN.+ roleARN :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MappingRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'claim', 'mappingRule_claim' - The claim name that must be present in the token, for example,+-- \"isAdmin\" or \"paid\".+--+-- 'matchType', 'mappingRule_matchType' - The match condition that specifies how closely the claim value in the+-- IdP token must match @Value@.+--+-- 'value', 'mappingRule_value' - A brief string that the claim must match, for example, \"paid\" or+-- \"yes\".+--+-- 'roleARN', 'mappingRule_roleARN' - The role ARN.+newMappingRule ::+ -- | 'claim'+ Prelude.Text ->+ -- | 'matchType'+ MappingRuleMatchType ->+ -- | 'value'+ Prelude.Text ->+ -- | 'roleARN'+ Prelude.Text ->+ MappingRule+newMappingRule pClaim_ pMatchType_ pValue_ pRoleARN_ =+ MappingRule'+ { claim = pClaim_,+ matchType = pMatchType_,+ value = pValue_,+ roleARN = pRoleARN_+ }++-- | The claim name that must be present in the token, for example,+-- \"isAdmin\" or \"paid\".+mappingRule_claim :: Lens.Lens' MappingRule Prelude.Text+mappingRule_claim = Lens.lens (\MappingRule' {claim} -> claim) (\s@MappingRule' {} a -> s {claim = a} :: MappingRule)++-- | The match condition that specifies how closely the claim value in the+-- IdP token must match @Value@.+mappingRule_matchType :: Lens.Lens' MappingRule MappingRuleMatchType+mappingRule_matchType = Lens.lens (\MappingRule' {matchType} -> matchType) (\s@MappingRule' {} a -> s {matchType = a} :: MappingRule)++-- | A brief string that the claim must match, for example, \"paid\" or+-- \"yes\".+mappingRule_value :: Lens.Lens' MappingRule Prelude.Text+mappingRule_value = Lens.lens (\MappingRule' {value} -> value) (\s@MappingRule' {} a -> s {value = a} :: MappingRule)++-- | The role ARN.+mappingRule_roleARN :: Lens.Lens' MappingRule Prelude.Text+mappingRule_roleARN = Lens.lens (\MappingRule' {roleARN} -> roleARN) (\s@MappingRule' {} a -> s {roleARN = a} :: MappingRule)++instance Data.FromJSON MappingRule where+ parseJSON =+ Data.withObject+ "MappingRule"+ ( \x ->+ MappingRule'+ Prelude.<$> (x Data..: "Claim")+ Prelude.<*> (x Data..: "MatchType")+ Prelude.<*> (x Data..: "Value")+ Prelude.<*> (x Data..: "RoleARN")+ )++instance Prelude.Hashable MappingRule where+ hashWithSalt _salt MappingRule' {..} =+ _salt+ `Prelude.hashWithSalt` claim+ `Prelude.hashWithSalt` matchType+ `Prelude.hashWithSalt` value+ `Prelude.hashWithSalt` roleARN++instance Prelude.NFData MappingRule where+ rnf MappingRule' {..} =+ Prelude.rnf claim+ `Prelude.seq` Prelude.rnf matchType+ `Prelude.seq` Prelude.rnf value+ `Prelude.seq` Prelude.rnf roleARN++instance Data.ToJSON MappingRule where+ toJSON MappingRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Claim" Data..= claim),+ Prelude.Just ("MatchType" Data..= matchType),+ Prelude.Just ("Value" Data..= value),+ Prelude.Just ("RoleARN" Data..= roleARN)+ ]+ )
+ gen/Amazonka/CognitoIdentity/Types/MappingRuleMatchType.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.MappingRuleMatchType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.MappingRuleMatchType+ ( MappingRuleMatchType+ ( ..,+ MappingRuleMatchType_Contains,+ MappingRuleMatchType_Equals,+ MappingRuleMatchType_NotEqual,+ MappingRuleMatchType_StartsWith+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MappingRuleMatchType = MappingRuleMatchType'+ { fromMappingRuleMatchType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern MappingRuleMatchType_Contains :: MappingRuleMatchType+pattern MappingRuleMatchType_Contains = MappingRuleMatchType' "Contains"++pattern MappingRuleMatchType_Equals :: MappingRuleMatchType+pattern MappingRuleMatchType_Equals = MappingRuleMatchType' "Equals"++pattern MappingRuleMatchType_NotEqual :: MappingRuleMatchType+pattern MappingRuleMatchType_NotEqual = MappingRuleMatchType' "NotEqual"++pattern MappingRuleMatchType_StartsWith :: MappingRuleMatchType+pattern MappingRuleMatchType_StartsWith = MappingRuleMatchType' "StartsWith"++{-# COMPLETE+ MappingRuleMatchType_Contains,+ MappingRuleMatchType_Equals,+ MappingRuleMatchType_NotEqual,+ MappingRuleMatchType_StartsWith,+ MappingRuleMatchType'+ #-}
+ gen/Amazonka/CognitoIdentity/Types/RoleMapping.hs view
@@ -0,0 +1,150 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.RoleMapping+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.RoleMapping where++import Amazonka.CognitoIdentity.Types.AmbiguousRoleResolutionType+import Amazonka.CognitoIdentity.Types.RoleMappingType+import Amazonka.CognitoIdentity.Types.RulesConfigurationType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A role mapping.+--+-- /See:/ 'newRoleMapping' smart constructor.+data RoleMapping = RoleMapping'+ { -- | If you specify Token or Rules as the @Type@, @AmbiguousRoleResolution@+ -- is required.+ --+ -- Specifies the action to be taken if either no rules match the claim+ -- value for the @Rules@ type, or there is no @cognito:preferred_role@+ -- claim and there are multiple @cognito:roles@ matches for the @Token@+ -- type.+ ambiguousRoleResolution :: Prelude.Maybe AmbiguousRoleResolutionType,+ -- | The rules to be used for mapping users to roles.+ --+ -- If you specify Rules as the role mapping type, @RulesConfiguration@ is+ -- required.+ rulesConfiguration :: Prelude.Maybe RulesConfigurationType,+ -- | The role mapping type. Token will use @cognito:roles@ and+ -- @cognito:preferred_role@ claims from the Cognito identity provider token+ -- to map groups to roles. Rules will attempt to match claims from the+ -- token to map to a role.+ type' :: RoleMappingType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RoleMapping' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'ambiguousRoleResolution', 'roleMapping_ambiguousRoleResolution' - If you specify Token or Rules as the @Type@, @AmbiguousRoleResolution@+-- is required.+--+-- Specifies the action to be taken if either no rules match the claim+-- value for the @Rules@ type, or there is no @cognito:preferred_role@+-- claim and there are multiple @cognito:roles@ matches for the @Token@+-- type.+--+-- 'rulesConfiguration', 'roleMapping_rulesConfiguration' - The rules to be used for mapping users to roles.+--+-- If you specify Rules as the role mapping type, @RulesConfiguration@ is+-- required.+--+-- 'type'', 'roleMapping_type' - The role mapping type. Token will use @cognito:roles@ and+-- @cognito:preferred_role@ claims from the Cognito identity provider token+-- to map groups to roles. Rules will attempt to match claims from the+-- token to map to a role.+newRoleMapping ::+ -- | 'type''+ RoleMappingType ->+ RoleMapping+newRoleMapping pType_ =+ RoleMapping'+ { ambiguousRoleResolution =+ Prelude.Nothing,+ rulesConfiguration = Prelude.Nothing,+ type' = pType_+ }++-- | If you specify Token or Rules as the @Type@, @AmbiguousRoleResolution@+-- is required.+--+-- Specifies the action to be taken if either no rules match the claim+-- value for the @Rules@ type, or there is no @cognito:preferred_role@+-- claim and there are multiple @cognito:roles@ matches for the @Token@+-- type.+roleMapping_ambiguousRoleResolution :: Lens.Lens' RoleMapping (Prelude.Maybe AmbiguousRoleResolutionType)+roleMapping_ambiguousRoleResolution = Lens.lens (\RoleMapping' {ambiguousRoleResolution} -> ambiguousRoleResolution) (\s@RoleMapping' {} a -> s {ambiguousRoleResolution = a} :: RoleMapping)++-- | The rules to be used for mapping users to roles.+--+-- If you specify Rules as the role mapping type, @RulesConfiguration@ is+-- required.+roleMapping_rulesConfiguration :: Lens.Lens' RoleMapping (Prelude.Maybe RulesConfigurationType)+roleMapping_rulesConfiguration = Lens.lens (\RoleMapping' {rulesConfiguration} -> rulesConfiguration) (\s@RoleMapping' {} a -> s {rulesConfiguration = a} :: RoleMapping)++-- | The role mapping type. Token will use @cognito:roles@ and+-- @cognito:preferred_role@ claims from the Cognito identity provider token+-- to map groups to roles. Rules will attempt to match claims from the+-- token to map to a role.+roleMapping_type :: Lens.Lens' RoleMapping RoleMappingType+roleMapping_type = Lens.lens (\RoleMapping' {type'} -> type') (\s@RoleMapping' {} a -> s {type' = a} :: RoleMapping)++instance Data.FromJSON RoleMapping where+ parseJSON =+ Data.withObject+ "RoleMapping"+ ( \x ->+ RoleMapping'+ Prelude.<$> (x Data..:? "AmbiguousRoleResolution")+ Prelude.<*> (x Data..:? "RulesConfiguration")+ Prelude.<*> (x Data..: "Type")+ )++instance Prelude.Hashable RoleMapping where+ hashWithSalt _salt RoleMapping' {..} =+ _salt+ `Prelude.hashWithSalt` ambiguousRoleResolution+ `Prelude.hashWithSalt` rulesConfiguration+ `Prelude.hashWithSalt` type'++instance Prelude.NFData RoleMapping where+ rnf RoleMapping' {..} =+ Prelude.rnf ambiguousRoleResolution+ `Prelude.seq` Prelude.rnf rulesConfiguration+ `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON RoleMapping where+ toJSON RoleMapping' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AmbiguousRoleResolution" Data..=)+ Prelude.<$> ambiguousRoleResolution,+ ("RulesConfiguration" Data..=)+ Prelude.<$> rulesConfiguration,+ Prelude.Just ("Type" Data..= type')+ ]+ )
+ gen/Amazonka/CognitoIdentity/Types/RoleMappingType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.RoleMappingType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.RoleMappingType+ ( RoleMappingType+ ( ..,+ RoleMappingType_Rules,+ RoleMappingType_Token+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype RoleMappingType = RoleMappingType'+ { fromRoleMappingType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern RoleMappingType_Rules :: RoleMappingType+pattern RoleMappingType_Rules = RoleMappingType' "Rules"++pattern RoleMappingType_Token :: RoleMappingType+pattern RoleMappingType_Token = RoleMappingType' "Token"++{-# COMPLETE+ RoleMappingType_Rules,+ RoleMappingType_Token,+ RoleMappingType'+ #-}
+ gen/Amazonka/CognitoIdentity/Types/RulesConfigurationType.hs view
@@ -0,0 +1,87 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.RulesConfigurationType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.RulesConfigurationType where++import Amazonka.CognitoIdentity.Types.MappingRule+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A container for rules.+--+-- /See:/ 'newRulesConfigurationType' smart constructor.+data RulesConfigurationType = RulesConfigurationType'+ { -- | An array of rules. You can specify up to 25 rules per identity provider.+ --+ -- Rules are evaluated in order. The first one to match specifies the role.+ rules :: Prelude.NonEmpty MappingRule+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RulesConfigurationType' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'rules', 'rulesConfigurationType_rules' - An array of rules. You can specify up to 25 rules per identity provider.+--+-- Rules are evaluated in order. The first one to match specifies the role.+newRulesConfigurationType ::+ -- | 'rules'+ Prelude.NonEmpty MappingRule ->+ RulesConfigurationType+newRulesConfigurationType pRules_ =+ RulesConfigurationType'+ { rules =+ Lens.coerced Lens.# pRules_+ }++-- | An array of rules. You can specify up to 25 rules per identity provider.+--+-- Rules are evaluated in order. The first one to match specifies the role.+rulesConfigurationType_rules :: Lens.Lens' RulesConfigurationType (Prelude.NonEmpty MappingRule)+rulesConfigurationType_rules = Lens.lens (\RulesConfigurationType' {rules} -> rules) (\s@RulesConfigurationType' {} a -> s {rules = a} :: RulesConfigurationType) Prelude.. Lens.coerced++instance Data.FromJSON RulesConfigurationType where+ parseJSON =+ Data.withObject+ "RulesConfigurationType"+ ( \x ->+ RulesConfigurationType'+ Prelude.<$> (x Data..: "Rules")+ )++instance Prelude.Hashable RulesConfigurationType where+ hashWithSalt _salt RulesConfigurationType' {..} =+ _salt `Prelude.hashWithSalt` rules++instance Prelude.NFData RulesConfigurationType where+ rnf RulesConfigurationType' {..} = Prelude.rnf rules++instance Data.ToJSON RulesConfigurationType where+ toJSON RulesConfigurationType' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Rules" Data..= rules)]+ )
+ gen/Amazonka/CognitoIdentity/Types/UnprocessedIdentityId.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Types.UnprocessedIdentityId+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Types.UnprocessedIdentityId where++import Amazonka.CognitoIdentity.Types.CognitoErrorCode+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An array of UnprocessedIdentityId objects, each of which contains an+-- ErrorCode and IdentityId.+--+-- /See:/ 'newUnprocessedIdentityId' smart constructor.+data UnprocessedIdentityId = UnprocessedIdentityId'+ { -- | The error code indicating the type of error that occurred.+ errorCode :: Prelude.Maybe CognitoErrorCode,+ -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UnprocessedIdentityId' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'unprocessedIdentityId_errorCode' - The error code indicating the type of error that occurred.+--+-- 'identityId', 'unprocessedIdentityId_identityId' - A unique identifier in the format REGION:GUID.+newUnprocessedIdentityId ::+ UnprocessedIdentityId+newUnprocessedIdentityId =+ UnprocessedIdentityId'+ { errorCode = Prelude.Nothing,+ identityId = Prelude.Nothing+ }++-- | The error code indicating the type of error that occurred.+unprocessedIdentityId_errorCode :: Lens.Lens' UnprocessedIdentityId (Prelude.Maybe CognitoErrorCode)+unprocessedIdentityId_errorCode = Lens.lens (\UnprocessedIdentityId' {errorCode} -> errorCode) (\s@UnprocessedIdentityId' {} a -> s {errorCode = a} :: UnprocessedIdentityId)++-- | A unique identifier in the format REGION:GUID.+unprocessedIdentityId_identityId :: Lens.Lens' UnprocessedIdentityId (Prelude.Maybe Prelude.Text)+unprocessedIdentityId_identityId = Lens.lens (\UnprocessedIdentityId' {identityId} -> identityId) (\s@UnprocessedIdentityId' {} a -> s {identityId = a} :: UnprocessedIdentityId)++instance Data.FromJSON UnprocessedIdentityId where+ parseJSON =+ Data.withObject+ "UnprocessedIdentityId"+ ( \x ->+ UnprocessedIdentityId'+ Prelude.<$> (x Data..:? "ErrorCode")+ Prelude.<*> (x Data..:? "IdentityId")+ )++instance Prelude.Hashable UnprocessedIdentityId where+ hashWithSalt _salt UnprocessedIdentityId' {..} =+ _salt+ `Prelude.hashWithSalt` errorCode+ `Prelude.hashWithSalt` identityId++instance Prelude.NFData UnprocessedIdentityId where+ rnf UnprocessedIdentityId' {..} =+ Prelude.rnf errorCode+ `Prelude.seq` Prelude.rnf identityId
+ gen/Amazonka/CognitoIdentity/UnlinkDeveloperIdentity.hs view
@@ -0,0 +1,210 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.UnlinkDeveloperIdentity+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Unlinks a @DeveloperUserIdentifier@ from an existing identity. Unlinked+-- developer users will be considered new identities next time they are+-- seen. If, for a given Cognito identity, you remove all federated+-- identities as well as the developer user identifier, the Cognito+-- identity becomes inaccessible.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.UnlinkDeveloperIdentity+ ( -- * Creating a Request+ UnlinkDeveloperIdentity (..),+ newUnlinkDeveloperIdentity,++ -- * Request Lenses+ unlinkDeveloperIdentity_identityId,+ unlinkDeveloperIdentity_identityPoolId,+ unlinkDeveloperIdentity_developerProviderName,+ unlinkDeveloperIdentity_developerUserIdentifier,++ -- * Destructuring the Response+ UnlinkDeveloperIdentityResponse (..),+ newUnlinkDeveloperIdentityResponse,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the @UnlinkDeveloperIdentity@ action.+--+-- /See:/ 'newUnlinkDeveloperIdentity' smart constructor.+data UnlinkDeveloperIdentity = UnlinkDeveloperIdentity'+ { -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Text,+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text,+ -- | The \"domain\" by which Cognito will refer to your users.+ developerProviderName :: Prelude.Text,+ -- | A unique ID used by your backend authentication process to identify a+ -- user.+ developerUserIdentifier :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UnlinkDeveloperIdentity' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityId', 'unlinkDeveloperIdentity_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'identityPoolId', 'unlinkDeveloperIdentity_identityPoolId' - An identity pool ID in the format REGION:GUID.+--+-- 'developerProviderName', 'unlinkDeveloperIdentity_developerProviderName' - The \"domain\" by which Cognito will refer to your users.+--+-- 'developerUserIdentifier', 'unlinkDeveloperIdentity_developerUserIdentifier' - A unique ID used by your backend authentication process to identify a+-- user.+newUnlinkDeveloperIdentity ::+ -- | 'identityId'+ Prelude.Text ->+ -- | 'identityPoolId'+ Prelude.Text ->+ -- | 'developerProviderName'+ Prelude.Text ->+ -- | 'developerUserIdentifier'+ Prelude.Text ->+ UnlinkDeveloperIdentity+newUnlinkDeveloperIdentity+ pIdentityId_+ pIdentityPoolId_+ pDeveloperProviderName_+ pDeveloperUserIdentifier_ =+ UnlinkDeveloperIdentity'+ { identityId = pIdentityId_,+ identityPoolId = pIdentityPoolId_,+ developerProviderName = pDeveloperProviderName_,+ developerUserIdentifier =+ pDeveloperUserIdentifier_+ }++-- | A unique identifier in the format REGION:GUID.+unlinkDeveloperIdentity_identityId :: Lens.Lens' UnlinkDeveloperIdentity Prelude.Text+unlinkDeveloperIdentity_identityId = Lens.lens (\UnlinkDeveloperIdentity' {identityId} -> identityId) (\s@UnlinkDeveloperIdentity' {} a -> s {identityId = a} :: UnlinkDeveloperIdentity)++-- | An identity pool ID in the format REGION:GUID.+unlinkDeveloperIdentity_identityPoolId :: Lens.Lens' UnlinkDeveloperIdentity Prelude.Text+unlinkDeveloperIdentity_identityPoolId = Lens.lens (\UnlinkDeveloperIdentity' {identityPoolId} -> identityPoolId) (\s@UnlinkDeveloperIdentity' {} a -> s {identityPoolId = a} :: UnlinkDeveloperIdentity)++-- | The \"domain\" by which Cognito will refer to your users.+unlinkDeveloperIdentity_developerProviderName :: Lens.Lens' UnlinkDeveloperIdentity Prelude.Text+unlinkDeveloperIdentity_developerProviderName = Lens.lens (\UnlinkDeveloperIdentity' {developerProviderName} -> developerProviderName) (\s@UnlinkDeveloperIdentity' {} a -> s {developerProviderName = a} :: UnlinkDeveloperIdentity)++-- | A unique ID used by your backend authentication process to identify a+-- user.+unlinkDeveloperIdentity_developerUserIdentifier :: Lens.Lens' UnlinkDeveloperIdentity Prelude.Text+unlinkDeveloperIdentity_developerUserIdentifier = Lens.lens (\UnlinkDeveloperIdentity' {developerUserIdentifier} -> developerUserIdentifier) (\s@UnlinkDeveloperIdentity' {} a -> s {developerUserIdentifier = a} :: UnlinkDeveloperIdentity)++instance Core.AWSRequest UnlinkDeveloperIdentity where+ type+ AWSResponse UnlinkDeveloperIdentity =+ UnlinkDeveloperIdentityResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull+ UnlinkDeveloperIdentityResponse'++instance Prelude.Hashable UnlinkDeveloperIdentity where+ hashWithSalt _salt UnlinkDeveloperIdentity' {..} =+ _salt+ `Prelude.hashWithSalt` identityId+ `Prelude.hashWithSalt` identityPoolId+ `Prelude.hashWithSalt` developerProviderName+ `Prelude.hashWithSalt` developerUserIdentifier++instance Prelude.NFData UnlinkDeveloperIdentity where+ rnf UnlinkDeveloperIdentity' {..} =+ Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf developerProviderName+ `Prelude.seq` Prelude.rnf developerUserIdentifier++instance Data.ToHeaders UnlinkDeveloperIdentity where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.UnlinkDeveloperIdentity" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UnlinkDeveloperIdentity where+ toJSON UnlinkDeveloperIdentity' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("IdentityId" Data..= identityId),+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId),+ Prelude.Just+ ( "DeveloperProviderName"+ Data..= developerProviderName+ ),+ Prelude.Just+ ( "DeveloperUserIdentifier"+ Data..= developerUserIdentifier+ )+ ]+ )++instance Data.ToPath UnlinkDeveloperIdentity where+ toPath = Prelude.const "/"++instance Data.ToQuery UnlinkDeveloperIdentity where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUnlinkDeveloperIdentityResponse' smart constructor.+data UnlinkDeveloperIdentityResponse = UnlinkDeveloperIdentityResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UnlinkDeveloperIdentityResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newUnlinkDeveloperIdentityResponse ::+ UnlinkDeveloperIdentityResponse+newUnlinkDeveloperIdentityResponse =+ UnlinkDeveloperIdentityResponse'++instance+ Prelude.NFData+ UnlinkDeveloperIdentityResponse+ where+ rnf _ = ()
+ gen/Amazonka/CognitoIdentity/UnlinkIdentity.hs view
@@ -0,0 +1,173 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.UnlinkIdentity+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Unlinks a federated identity from an existing account. Unlinked logins+-- will be considered new identities next time they are seen. Removing the+-- last linked login will make this identity inaccessible.+--+-- This is a public API. You do not need any credentials to call this API.+module Amazonka.CognitoIdentity.UnlinkIdentity+ ( -- * Creating a Request+ UnlinkIdentity (..),+ newUnlinkIdentity,++ -- * Request Lenses+ unlinkIdentity_identityId,+ unlinkIdentity_logins,+ unlinkIdentity_loginsToRemove,++ -- * Destructuring the Response+ UnlinkIdentityResponse (..),+ newUnlinkIdentityResponse,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | Input to the UnlinkIdentity action.+--+-- /See:/ 'newUnlinkIdentity' smart constructor.+data UnlinkIdentity = UnlinkIdentity'+ { -- | A unique identifier in the format REGION:GUID.+ identityId :: Prelude.Text,+ -- | A set of optional name-value pairs that map provider names to provider+ -- tokens.+ logins :: Prelude.HashMap Prelude.Text Prelude.Text,+ -- | Provider names to unlink from this identity.+ loginsToRemove :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UnlinkIdentity' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identityId', 'unlinkIdentity_identityId' - A unique identifier in the format REGION:GUID.+--+-- 'logins', 'unlinkIdentity_logins' - A set of optional name-value pairs that map provider names to provider+-- tokens.+--+-- 'loginsToRemove', 'unlinkIdentity_loginsToRemove' - Provider names to unlink from this identity.+newUnlinkIdentity ::+ -- | 'identityId'+ Prelude.Text ->+ UnlinkIdentity+newUnlinkIdentity pIdentityId_ =+ UnlinkIdentity'+ { identityId = pIdentityId_,+ logins = Prelude.mempty,+ loginsToRemove = Prelude.mempty+ }++-- | A unique identifier in the format REGION:GUID.+unlinkIdentity_identityId :: Lens.Lens' UnlinkIdentity Prelude.Text+unlinkIdentity_identityId = Lens.lens (\UnlinkIdentity' {identityId} -> identityId) (\s@UnlinkIdentity' {} a -> s {identityId = a} :: UnlinkIdentity)++-- | A set of optional name-value pairs that map provider names to provider+-- tokens.+unlinkIdentity_logins :: Lens.Lens' UnlinkIdentity (Prelude.HashMap Prelude.Text Prelude.Text)+unlinkIdentity_logins = Lens.lens (\UnlinkIdentity' {logins} -> logins) (\s@UnlinkIdentity' {} a -> s {logins = a} :: UnlinkIdentity) Prelude.. Lens.coerced++-- | Provider names to unlink from this identity.+unlinkIdentity_loginsToRemove :: Lens.Lens' UnlinkIdentity [Prelude.Text]+unlinkIdentity_loginsToRemove = Lens.lens (\UnlinkIdentity' {loginsToRemove} -> loginsToRemove) (\s@UnlinkIdentity' {} a -> s {loginsToRemove = a} :: UnlinkIdentity) Prelude.. Lens.coerced++instance Core.AWSRequest UnlinkIdentity where+ type+ AWSResponse UnlinkIdentity =+ UnlinkIdentityResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull UnlinkIdentityResponse'++instance Prelude.Hashable UnlinkIdentity where+ hashWithSalt _salt UnlinkIdentity' {..} =+ _salt+ `Prelude.hashWithSalt` identityId+ `Prelude.hashWithSalt` logins+ `Prelude.hashWithSalt` loginsToRemove++instance Prelude.NFData UnlinkIdentity where+ rnf UnlinkIdentity' {..} =+ Prelude.rnf identityId+ `Prelude.seq` Prelude.rnf logins+ `Prelude.seq` Prelude.rnf loginsToRemove++instance Data.ToHeaders UnlinkIdentity where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.UnlinkIdentity" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UnlinkIdentity where+ toJSON UnlinkIdentity' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("IdentityId" Data..= identityId),+ Prelude.Just ("Logins" Data..= logins),+ Prelude.Just+ ("LoginsToRemove" Data..= loginsToRemove)+ ]+ )++instance Data.ToPath UnlinkIdentity where+ toPath = Prelude.const "/"++instance Data.ToQuery UnlinkIdentity where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUnlinkIdentityResponse' smart constructor.+data UnlinkIdentityResponse = UnlinkIdentityResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UnlinkIdentityResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newUnlinkIdentityResponse ::+ UnlinkIdentityResponse+newUnlinkIdentityResponse = UnlinkIdentityResponse'++instance Prelude.NFData UnlinkIdentityResponse where+ rnf _ = ()
+ gen/Amazonka/CognitoIdentity/UntagResource.hs view
@@ -0,0 +1,172 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.UntagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes the specified tags from the specified Amazon Cognito identity+-- pool. You can use this action up to 5 times per second, per account+module Amazonka.CognitoIdentity.UntagResource+ ( -- * Creating a Request+ UntagResource (..),+ newUntagResource,++ -- * Request Lenses+ untagResource_resourceArn,+ untagResource_tagKeys,++ -- * Destructuring the Response+ UntagResourceResponse (..),+ newUntagResourceResponse,++ -- * Response Lenses+ untagResourceResponse_httpStatus,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUntagResource' smart constructor.+data UntagResource = UntagResource'+ { -- | The Amazon Resource Name (ARN) of the identity pool.+ resourceArn :: Prelude.Text,+ -- | The keys of the tags to remove from the user pool.+ tagKeys :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'untagResource_resourceArn' - The Amazon Resource Name (ARN) of the identity pool.+--+-- 'tagKeys', 'untagResource_tagKeys' - The keys of the tags to remove from the user pool.+newUntagResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ UntagResource+newUntagResource pResourceArn_ =+ UntagResource'+ { resourceArn = pResourceArn_,+ tagKeys = Prelude.mempty+ }++-- | The Amazon Resource Name (ARN) of the identity pool.+untagResource_resourceArn :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceArn = Lens.lens (\UntagResource' {resourceArn} -> resourceArn) (\s@UntagResource' {} a -> s {resourceArn = a} :: UntagResource)++-- | The keys of the tags to remove from the user pool.+untagResource_tagKeys :: Lens.Lens' UntagResource [Prelude.Text]+untagResource_tagKeys = Lens.lens (\UntagResource' {tagKeys} -> tagKeys) (\s@UntagResource' {} a -> s {tagKeys = a} :: UntagResource) Prelude.. Lens.coerced++instance Core.AWSRequest UntagResource where+ type+ AWSResponse UntagResource =+ UntagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UntagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UntagResource where+ hashWithSalt _salt UntagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceArn+ `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData UntagResource where+ rnf UntagResource' {..} =+ Prelude.rnf resourceArn+ `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders UntagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.UntagResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UntagResource where+ toJSON UntagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceArn" Data..= resourceArn),+ Prelude.Just ("TagKeys" Data..= tagKeys)+ ]+ )++instance Data.ToPath UntagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery UntagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUntagResourceResponse' smart constructor.+data UntagResourceResponse = UntagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'untagResourceResponse_httpStatus' - The response's http status code.+newUntagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UntagResourceResponse+newUntagResourceResponse pHttpStatus_ =+ UntagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+untagResourceResponse_httpStatus :: Lens.Lens' UntagResourceResponse Prelude.Int+untagResourceResponse_httpStatus = Lens.lens (\UntagResourceResponse' {httpStatus} -> httpStatus) (\s@UntagResourceResponse' {} a -> s {httpStatus = a} :: UntagResourceResponse)++instance Prelude.NFData UntagResourceResponse where+ rnf UntagResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/CognitoIdentity/UpdateIdentityPool.hs view
@@ -0,0 +1,294 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.UpdateIdentityPool+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates an identity pool.+--+-- You must use AWS Developer credentials to call this API.+module Amazonka.CognitoIdentity.UpdateIdentityPool+ ( -- * Creating a Request+ UpdateIdentityPool (..),+ newUpdateIdentityPool,++ -- * Request Lenses+ updateIdentityPool_allowClassicFlow,+ updateIdentityPool_cognitoIdentityProviders,+ updateIdentityPool_developerProviderName,+ updateIdentityPool_identityPoolTags,+ updateIdentityPool_openIdConnectProviderARNs,+ updateIdentityPool_samlProviderARNs,+ updateIdentityPool_supportedLoginProviders,+ updateIdentityPool_identityPoolId,+ updateIdentityPool_identityPoolName,+ updateIdentityPool_allowUnauthenticatedIdentities,++ -- * Destructuring the Response+ IdentityPool (..),+ newIdentityPool,++ -- * Response Lenses+ identityPool_allowClassicFlow,+ identityPool_cognitoIdentityProviders,+ identityPool_developerProviderName,+ identityPool_identityPoolTags,+ identityPool_openIdConnectProviderARNs,+ identityPool_samlProviderARNs,+ identityPool_supportedLoginProviders,+ identityPool_identityPoolId,+ identityPool_identityPoolName,+ identityPool_allowUnauthenticatedIdentities,+ )+where++import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | An object representing an Amazon Cognito identity pool.+--+-- /See:/ 'newUpdateIdentityPool' smart constructor.+data UpdateIdentityPool = UpdateIdentityPool'+ { -- | Enables or disables the Basic (Classic) authentication flow. For more+ -- information, see+ -- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Identity Pools (Federated Identities) Authentication Flow>+ -- in the /Amazon Cognito Developer Guide/.+ allowClassicFlow :: Prelude.Maybe Prelude.Bool,+ -- | A list representing an Amazon Cognito user pool and its client ID.+ cognitoIdentityProviders :: Prelude.Maybe [CognitoIdentityProvider],+ -- | The \"domain\" by which Cognito will refer to your users.+ developerProviderName :: Prelude.Maybe Prelude.Text,+ -- | The tags that are assigned to the identity pool. A tag is a label that+ -- you can apply to identity pools to categorize and manage them in+ -- different ways, such as by purpose, owner, environment, or other+ -- criteria.+ identityPoolTags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The ARNs of the OpenID Connect providers.+ openIdConnectProviderARNs :: Prelude.Maybe [Prelude.Text],+ -- | An array of Amazon Resource Names (ARNs) of the SAML provider for your+ -- identity pool.+ samlProviderARNs :: Prelude.Maybe [Prelude.Text],+ -- | Optional key:value pairs mapping provider names to provider app IDs.+ supportedLoginProviders :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | An identity pool ID in the format REGION:GUID.+ identityPoolId :: Prelude.Text,+ -- | A string that you provide.+ identityPoolName :: Prelude.Text,+ -- | TRUE if the identity pool supports unauthenticated logins.+ allowUnauthenticatedIdentities :: Prelude.Bool+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateIdentityPool' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'allowClassicFlow', 'updateIdentityPool_allowClassicFlow' - Enables or disables the Basic (Classic) authentication flow. For more+-- information, see+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Identity Pools (Federated Identities) Authentication Flow>+-- in the /Amazon Cognito Developer Guide/.+--+-- 'cognitoIdentityProviders', 'updateIdentityPool_cognitoIdentityProviders' - A list representing an Amazon Cognito user pool and its client ID.+--+-- 'developerProviderName', 'updateIdentityPool_developerProviderName' - The \"domain\" by which Cognito will refer to your users.+--+-- 'identityPoolTags', 'updateIdentityPool_identityPoolTags' - The tags that are assigned to the identity pool. A tag is a label that+-- you can apply to identity pools to categorize and manage them in+-- different ways, such as by purpose, owner, environment, or other+-- criteria.+--+-- 'openIdConnectProviderARNs', 'updateIdentityPool_openIdConnectProviderARNs' - The ARNs of the OpenID Connect providers.+--+-- 'samlProviderARNs', 'updateIdentityPool_samlProviderARNs' - An array of Amazon Resource Names (ARNs) of the SAML provider for your+-- identity pool.+--+-- 'supportedLoginProviders', 'updateIdentityPool_supportedLoginProviders' - Optional key:value pairs mapping provider names to provider app IDs.+--+-- 'identityPoolId', 'updateIdentityPool_identityPoolId' - An identity pool ID in the format REGION:GUID.+--+-- 'identityPoolName', 'updateIdentityPool_identityPoolName' - A string that you provide.+--+-- 'allowUnauthenticatedIdentities', 'updateIdentityPool_allowUnauthenticatedIdentities' - TRUE if the identity pool supports unauthenticated logins.+newUpdateIdentityPool ::+ -- | 'identityPoolId'+ Prelude.Text ->+ -- | 'identityPoolName'+ Prelude.Text ->+ -- | 'allowUnauthenticatedIdentities'+ Prelude.Bool ->+ UpdateIdentityPool+newUpdateIdentityPool+ pIdentityPoolId_+ pIdentityPoolName_+ pAllowUnauthenticatedIdentities_ =+ UpdateIdentityPool'+ { allowClassicFlow =+ Prelude.Nothing,+ cognitoIdentityProviders = Prelude.Nothing,+ developerProviderName = Prelude.Nothing,+ identityPoolTags = Prelude.Nothing,+ openIdConnectProviderARNs = Prelude.Nothing,+ samlProviderARNs = Prelude.Nothing,+ supportedLoginProviders = Prelude.Nothing,+ identityPoolId = pIdentityPoolId_,+ identityPoolName = pIdentityPoolName_,+ allowUnauthenticatedIdentities =+ pAllowUnauthenticatedIdentities_+ }++-- | Enables or disables the Basic (Classic) authentication flow. For more+-- information, see+-- <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html Identity Pools (Federated Identities) Authentication Flow>+-- in the /Amazon Cognito Developer Guide/.+updateIdentityPool_allowClassicFlow :: Lens.Lens' UpdateIdentityPool (Prelude.Maybe Prelude.Bool)+updateIdentityPool_allowClassicFlow = Lens.lens (\UpdateIdentityPool' {allowClassicFlow} -> allowClassicFlow) (\s@UpdateIdentityPool' {} a -> s {allowClassicFlow = a} :: UpdateIdentityPool)++-- | A list representing an Amazon Cognito user pool and its client ID.+updateIdentityPool_cognitoIdentityProviders :: Lens.Lens' UpdateIdentityPool (Prelude.Maybe [CognitoIdentityProvider])+updateIdentityPool_cognitoIdentityProviders = Lens.lens (\UpdateIdentityPool' {cognitoIdentityProviders} -> cognitoIdentityProviders) (\s@UpdateIdentityPool' {} a -> s {cognitoIdentityProviders = a} :: UpdateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | The \"domain\" by which Cognito will refer to your users.+updateIdentityPool_developerProviderName :: Lens.Lens' UpdateIdentityPool (Prelude.Maybe Prelude.Text)+updateIdentityPool_developerProviderName = Lens.lens (\UpdateIdentityPool' {developerProviderName} -> developerProviderName) (\s@UpdateIdentityPool' {} a -> s {developerProviderName = a} :: UpdateIdentityPool)++-- | The tags that are assigned to the identity pool. A tag is a label that+-- you can apply to identity pools to categorize and manage them in+-- different ways, such as by purpose, owner, environment, or other+-- criteria.+updateIdentityPool_identityPoolTags :: Lens.Lens' UpdateIdentityPool (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+updateIdentityPool_identityPoolTags = Lens.lens (\UpdateIdentityPool' {identityPoolTags} -> identityPoolTags) (\s@UpdateIdentityPool' {} a -> s {identityPoolTags = a} :: UpdateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | The ARNs of the OpenID Connect providers.+updateIdentityPool_openIdConnectProviderARNs :: Lens.Lens' UpdateIdentityPool (Prelude.Maybe [Prelude.Text])+updateIdentityPool_openIdConnectProviderARNs = Lens.lens (\UpdateIdentityPool' {openIdConnectProviderARNs} -> openIdConnectProviderARNs) (\s@UpdateIdentityPool' {} a -> s {openIdConnectProviderARNs = a} :: UpdateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | An array of Amazon Resource Names (ARNs) of the SAML provider for your+-- identity pool.+updateIdentityPool_samlProviderARNs :: Lens.Lens' UpdateIdentityPool (Prelude.Maybe [Prelude.Text])+updateIdentityPool_samlProviderARNs = Lens.lens (\UpdateIdentityPool' {samlProviderARNs} -> samlProviderARNs) (\s@UpdateIdentityPool' {} a -> s {samlProviderARNs = a} :: UpdateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | Optional key:value pairs mapping provider names to provider app IDs.+updateIdentityPool_supportedLoginProviders :: Lens.Lens' UpdateIdentityPool (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+updateIdentityPool_supportedLoginProviders = Lens.lens (\UpdateIdentityPool' {supportedLoginProviders} -> supportedLoginProviders) (\s@UpdateIdentityPool' {} a -> s {supportedLoginProviders = a} :: UpdateIdentityPool) Prelude.. Lens.mapping Lens.coerced++-- | An identity pool ID in the format REGION:GUID.+updateIdentityPool_identityPoolId :: Lens.Lens' UpdateIdentityPool Prelude.Text+updateIdentityPool_identityPoolId = Lens.lens (\UpdateIdentityPool' {identityPoolId} -> identityPoolId) (\s@UpdateIdentityPool' {} a -> s {identityPoolId = a} :: UpdateIdentityPool)++-- | A string that you provide.+updateIdentityPool_identityPoolName :: Lens.Lens' UpdateIdentityPool Prelude.Text+updateIdentityPool_identityPoolName = Lens.lens (\UpdateIdentityPool' {identityPoolName} -> identityPoolName) (\s@UpdateIdentityPool' {} a -> s {identityPoolName = a} :: UpdateIdentityPool)++-- | TRUE if the identity pool supports unauthenticated logins.+updateIdentityPool_allowUnauthenticatedIdentities :: Lens.Lens' UpdateIdentityPool Prelude.Bool+updateIdentityPool_allowUnauthenticatedIdentities = Lens.lens (\UpdateIdentityPool' {allowUnauthenticatedIdentities} -> allowUnauthenticatedIdentities) (\s@UpdateIdentityPool' {} a -> s {allowUnauthenticatedIdentities = a} :: UpdateIdentityPool)++instance Core.AWSRequest UpdateIdentityPool where+ type AWSResponse UpdateIdentityPool = IdentityPool+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ (\s h x -> Data.eitherParseJSON x)++instance Prelude.Hashable UpdateIdentityPool where+ hashWithSalt _salt UpdateIdentityPool' {..} =+ _salt+ `Prelude.hashWithSalt` allowClassicFlow+ `Prelude.hashWithSalt` cognitoIdentityProviders+ `Prelude.hashWithSalt` developerProviderName+ `Prelude.hashWithSalt` identityPoolTags+ `Prelude.hashWithSalt` openIdConnectProviderARNs+ `Prelude.hashWithSalt` samlProviderARNs+ `Prelude.hashWithSalt` supportedLoginProviders+ `Prelude.hashWithSalt` identityPoolId+ `Prelude.hashWithSalt` identityPoolName+ `Prelude.hashWithSalt` allowUnauthenticatedIdentities++instance Prelude.NFData UpdateIdentityPool where+ rnf UpdateIdentityPool' {..} =+ Prelude.rnf allowClassicFlow+ `Prelude.seq` Prelude.rnf cognitoIdentityProviders+ `Prelude.seq` Prelude.rnf developerProviderName+ `Prelude.seq` Prelude.rnf identityPoolTags+ `Prelude.seq` Prelude.rnf openIdConnectProviderARNs+ `Prelude.seq` Prelude.rnf samlProviderARNs+ `Prelude.seq` Prelude.rnf supportedLoginProviders+ `Prelude.seq` Prelude.rnf identityPoolId+ `Prelude.seq` Prelude.rnf identityPoolName+ `Prelude.seq` Prelude.rnf allowUnauthenticatedIdentities++instance Data.ToHeaders UpdateIdentityPool where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSCognitoIdentityService.UpdateIdentityPool" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateIdentityPool where+ toJSON UpdateIdentityPool' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AllowClassicFlow" Data..=)+ Prelude.<$> allowClassicFlow,+ ("CognitoIdentityProviders" Data..=)+ Prelude.<$> cognitoIdentityProviders,+ ("DeveloperProviderName" Data..=)+ Prelude.<$> developerProviderName,+ ("IdentityPoolTags" Data..=)+ Prelude.<$> identityPoolTags,+ ("OpenIdConnectProviderARNs" Data..=)+ Prelude.<$> openIdConnectProviderARNs,+ ("SamlProviderARNs" Data..=)+ Prelude.<$> samlProviderARNs,+ ("SupportedLoginProviders" Data..=)+ Prelude.<$> supportedLoginProviders,+ Prelude.Just+ ("IdentityPoolId" Data..= identityPoolId),+ Prelude.Just+ ("IdentityPoolName" Data..= identityPoolName),+ Prelude.Just+ ( "AllowUnauthenticatedIdentities"+ Data..= allowUnauthenticatedIdentities+ )+ ]+ )++instance Data.ToPath UpdateIdentityPool where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateIdentityPool where+ toQuery = Prelude.const Prelude.mempty
+ gen/Amazonka/CognitoIdentity/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CognitoIdentity.Waiters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CognitoIdentity.Waiters where++import Amazonka.CognitoIdentity.Lens+import Amazonka.CognitoIdentity.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude
− gen/Network/AWS/CognitoIdentity.hs
@@ -1,258 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity--- 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)------ __Amazon Cognito__------ Amazon Cognito is a web service that delivers scoped temporary credentials to mobile devices and other untrusted environments. Amazon Cognito uniquely identifies a device and supplies the user with a consistent identity over the lifetime of an application.------ Using Amazon Cognito, you can enable authentication with one or more third-party identity providers (Facebook, Google, or Login with Amazon), and you can also choose to support unauthenticated access from your app. Cognito delivers a unique identifier for each user and acts as an OpenID token provider trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS credentials.------ To provide end-user credentials, first make an unsigned call to 'GetId' . If the end user is authenticated with one of the supported identity providers, set the @Logins@ map with the identity provider token. @GetId@ returns a unique identifier for the user.------ Next, make an unsigned call to 'GetCredentialsForIdentity' . This call expects the same @Logins@ map as the @GetId@ call, as well as the @IdentityID@ originally returned by @GetId@ . Assuming your identity pool has been configured via the 'SetIdentityPoolRoles' operation, @GetCredentialsForIdentity@ will return AWS credentials for your use. If your pool has not been configured with @SetIdentityPoolRoles@ , or if you want to follow legacy flow, make an unsigned call to 'GetOpenIdToken' , which returns the OpenID token necessary to call STS and retrieve AWS credentials. This call expects the same @Logins@ map as the @GetId@ call, as well as the @IdentityID@ originally returned by @GetId@ . The token returned by @GetOpenIdToken@ can be passed to the STS operation <http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html AssumeRoleWithWebIdentity> to retrieve AWS credentials.------ If you want to use Amazon Cognito in an Android, iOS, or Unity application, you will probably want to make API calls via the AWS Mobile SDK. To learn more, see the <http://docs.aws.amazon.com/mobile/index.html AWS Mobile SDK Developer Guide> .----module Network.AWS.CognitoIdentity- (- -- * Service Configuration- cognitoIdentity-- -- * Errors- -- $errors-- -- ** InvalidIdentityPoolConfigurationException- , _InvalidIdentityPoolConfigurationException-- -- ** InvalidParameterException- , _InvalidParameterException-- -- ** NotAuthorizedException- , _NotAuthorizedException-- -- ** InternalErrorException- , _InternalErrorException-- -- ** ExternalServiceException- , _ExternalServiceException-- -- ** TooManyRequestsException- , _TooManyRequestsException-- -- ** ConcurrentModificationException- , _ConcurrentModificationException-- -- ** ResourceConflictException- , _ResourceConflictException-- -- ** DeveloperUserAlreadyRegisteredException- , _DeveloperUserAlreadyRegisteredException-- -- ** ResourceNotFoundException- , _ResourceNotFoundException-- -- ** LimitExceededException- , _LimitExceededException-- -- * Waiters- -- $waiters-- -- * Operations- -- $operations-- -- ** GetOpenIdToken- , module Network.AWS.CognitoIdentity.GetOpenIdToken-- -- ** GetOpenIdTokenForDeveloperIdentity- , module Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity-- -- ** DescribeIdentityPool- , module Network.AWS.CognitoIdentity.DescribeIdentityPool-- -- ** GetId- , module Network.AWS.CognitoIdentity.GetId-- -- ** DeleteIdentityPool- , module Network.AWS.CognitoIdentity.DeleteIdentityPool-- -- ** UpdateIdentityPool- , module Network.AWS.CognitoIdentity.UpdateIdentityPool-- -- ** UnlinkDeveloperIdentity- , module Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity-- -- ** GetIdentityPoolRoles- , module Network.AWS.CognitoIdentity.GetIdentityPoolRoles-- -- ** ListIdentityPools- , module Network.AWS.CognitoIdentity.ListIdentityPools-- -- ** GetCredentialsForIdentity- , module Network.AWS.CognitoIdentity.GetCredentialsForIdentity-- -- ** DeleteIdentities- , module Network.AWS.CognitoIdentity.DeleteIdentities-- -- ** SetIdentityPoolRoles- , module Network.AWS.CognitoIdentity.SetIdentityPoolRoles-- -- ** ListIdentities- , module Network.AWS.CognitoIdentity.ListIdentities-- -- ** LookupDeveloperIdentity- , module Network.AWS.CognitoIdentity.LookupDeveloperIdentity-- -- ** UnlinkIdentity- , module Network.AWS.CognitoIdentity.UnlinkIdentity-- -- ** DescribeIdentity- , module Network.AWS.CognitoIdentity.DescribeIdentity-- -- ** CreateIdentityPool- , module Network.AWS.CognitoIdentity.CreateIdentityPool-- -- ** MergeDeveloperIdentities- , module Network.AWS.CognitoIdentity.MergeDeveloperIdentities-- -- * Types-- -- ** AmbiguousRoleResolutionType- , AmbiguousRoleResolutionType (..)-- -- ** CognitoErrorCode- , CognitoErrorCode (..)-- -- ** MappingRuleMatchType- , MappingRuleMatchType (..)-- -- ** RoleMappingType- , RoleMappingType (..)-- -- ** CognitoIdentityProvider- , CognitoIdentityProvider- , cognitoIdentityProvider- , cipClientId- , cipServerSideTokenCheck- , cipProviderName-- -- ** Credentials- , Credentials- , credentials- , cSessionToken- , cExpiration- , cSecretKey- , cAccessKeyId-- -- ** IdentityDescription- , IdentityDescription- , identityDescription- , idLastModifiedDate- , idCreationDate- , idLogins- , idIdentityId-- -- ** IdentityPool- , IdentityPool- , identityPool- , ipSamlProviderARNs- , ipSupportedLoginProviders- , ipDeveloperProviderName- , ipOpenIdConnectProviderARNs- , ipCognitoIdentityProviders- , ipIdentityPoolId- , ipIdentityPoolName- , ipAllowUnauthenticatedIdentities-- -- ** IdentityPoolShortDescription- , IdentityPoolShortDescription- , identityPoolShortDescription- , ipsdIdentityPoolId- , ipsdIdentityPoolName-- -- ** MappingRule- , MappingRule- , mappingRule- , mrClaim- , mrMatchType- , mrValue- , mrRoleARN-- -- ** RoleMapping- , RoleMapping- , roleMapping- , rmRulesConfiguration- , rmAmbiguousRoleResolution- , rmType-- -- ** RulesConfigurationType- , RulesConfigurationType- , rulesConfigurationType- , rctRules-- -- ** UnprocessedIdentityId- , UnprocessedIdentityId- , unprocessedIdentityId- , uiiErrorCode- , uiiIdentityId- ) where--import Network.AWS.CognitoIdentity.CreateIdentityPool-import Network.AWS.CognitoIdentity.DeleteIdentities-import Network.AWS.CognitoIdentity.DeleteIdentityPool-import Network.AWS.CognitoIdentity.DescribeIdentity-import Network.AWS.CognitoIdentity.DescribeIdentityPool-import Network.AWS.CognitoIdentity.GetCredentialsForIdentity-import Network.AWS.CognitoIdentity.GetId-import Network.AWS.CognitoIdentity.GetIdentityPoolRoles-import Network.AWS.CognitoIdentity.GetOpenIdToken-import Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity-import Network.AWS.CognitoIdentity.ListIdentities-import Network.AWS.CognitoIdentity.ListIdentityPools-import Network.AWS.CognitoIdentity.LookupDeveloperIdentity-import Network.AWS.CognitoIdentity.MergeDeveloperIdentities-import Network.AWS.CognitoIdentity.SetIdentityPoolRoles-import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity-import Network.AWS.CognitoIdentity.UnlinkIdentity-import Network.AWS.CognitoIdentity.UpdateIdentityPool-import Network.AWS.CognitoIdentity.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'CognitoIdentity'.--}--{- $operations-Some AWS operations return results that are incomplete and require subsequent-requests in order to obtain the entire result set. The process of sending-subsequent requests to continue where a previous request left off is called-pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to-1000 objects at a time, and you must send subsequent requests with the-appropriate Marker in order to retrieve the next page of results.--Operations that have an 'AWSPager' instance can transparently perform subsequent-requests, correctly setting Markers and other request facets to iterate through-the entire result set of a truncated API operation. Operations which support-this have an additional note in the documentation.--Many operations have the ability to filter results on the server side. See the-individual operation parameters for details.--}--{- $waiters-Waiters poll by repeatedly sending a request until some remote success condition-configured by the 'Wait' specification is fulfilled. The 'Wait' specification-determines how many attempts should be made, in addition to delay and retry strategies.--}
− gen/Network/AWS/CognitoIdentity/CreateIdentityPool.hs
@@ -1,191 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.CreateIdentityPool--- 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)------ Creates a new identity pool. The identity pool is a store of user identity information that is specific to your AWS account. The limit on identity pools is 60 per account. The keys for @SupportedLoginProviders@ are as follows:--------- * Facebook: @graph.facebook.com@------ * Google: @accounts.google.com@------ * Amazon: @www.amazon.com@------ * Twitter: @api.twitter.com@------ * Digits: @www.digits.com@------------ You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.CreateIdentityPool- (- -- * Creating a Request- createIdentityPool- , CreateIdentityPool- -- * Request Lenses- , cipSamlProviderARNs- , cipSupportedLoginProviders- , cipDeveloperProviderName- , cipOpenIdConnectProviderARNs- , cipCognitoIdentityProviders- , cipIdentityPoolName- , cipAllowUnauthenticatedIdentities-- -- * Destructuring the Response- , identityPool- , IdentityPool- -- * Response Lenses- , ipSamlProviderARNs- , ipSupportedLoginProviders- , ipDeveloperProviderName- , ipOpenIdConnectProviderARNs- , ipCognitoIdentityProviders- , ipIdentityPoolId- , ipIdentityPoolName- , ipAllowUnauthenticatedIdentities- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the CreateIdentityPool action.------------ /See:/ 'createIdentityPool' smart constructor.-data CreateIdentityPool = CreateIdentityPool'- { _cipSamlProviderARNs :: !(Maybe [Text])- , _cipSupportedLoginProviders :: !(Maybe (Map Text Text))- , _cipDeveloperProviderName :: !(Maybe Text)- , _cipOpenIdConnectProviderARNs :: !(Maybe [Text])- , _cipCognitoIdentityProviders :: !(Maybe [CognitoIdentityProvider])- , _cipIdentityPoolName :: !Text- , _cipAllowUnauthenticatedIdentities :: !Bool- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateIdentityPool' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cipSamlProviderARNs' - An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.------ * 'cipSupportedLoginProviders' - Optional key:value pairs mapping provider names to provider app IDs.------ * 'cipDeveloperProviderName' - The "domain" by which Cognito will refer to your users. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the @DeveloperProviderName@ , you can use letters as well as period (@.@ ), underscore (@_@ ), and dash (@-@ ). Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.------ * 'cipOpenIdConnectProviderARNs' - A list of OpendID Connect provider ARNs.------ * 'cipCognitoIdentityProviders' - An array of Amazon Cognito Identity user pools and their client IDs.------ * 'cipIdentityPoolName' - A string that you provide.------ * 'cipAllowUnauthenticatedIdentities' - TRUE if the identity pool supports unauthenticated logins.-createIdentityPool- :: Text -- ^ 'cipIdentityPoolName'- -> Bool -- ^ 'cipAllowUnauthenticatedIdentities'- -> CreateIdentityPool-createIdentityPool pIdentityPoolName_ pAllowUnauthenticatedIdentities_ =- CreateIdentityPool'- { _cipSamlProviderARNs = Nothing- , _cipSupportedLoginProviders = Nothing- , _cipDeveloperProviderName = Nothing- , _cipOpenIdConnectProviderARNs = Nothing- , _cipCognitoIdentityProviders = Nothing- , _cipIdentityPoolName = pIdentityPoolName_- , _cipAllowUnauthenticatedIdentities = pAllowUnauthenticatedIdentities_- }----- | An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.-cipSamlProviderARNs :: Lens' CreateIdentityPool [Text]-cipSamlProviderARNs = lens _cipSamlProviderARNs (\ s a -> s{_cipSamlProviderARNs = a}) . _Default . _Coerce---- | Optional key:value pairs mapping provider names to provider app IDs.-cipSupportedLoginProviders :: Lens' CreateIdentityPool (HashMap Text Text)-cipSupportedLoginProviders = lens _cipSupportedLoginProviders (\ s a -> s{_cipSupportedLoginProviders = a}) . _Default . _Map---- | The "domain" by which Cognito will refer to your users. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the @DeveloperProviderName@ , you can use letters as well as period (@.@ ), underscore (@_@ ), and dash (@-@ ). Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.-cipDeveloperProviderName :: Lens' CreateIdentityPool (Maybe Text)-cipDeveloperProviderName = lens _cipDeveloperProviderName (\ s a -> s{_cipDeveloperProviderName = a})---- | A list of OpendID Connect provider ARNs.-cipOpenIdConnectProviderARNs :: Lens' CreateIdentityPool [Text]-cipOpenIdConnectProviderARNs = lens _cipOpenIdConnectProviderARNs (\ s a -> s{_cipOpenIdConnectProviderARNs = a}) . _Default . _Coerce---- | An array of Amazon Cognito Identity user pools and their client IDs.-cipCognitoIdentityProviders :: Lens' CreateIdentityPool [CognitoIdentityProvider]-cipCognitoIdentityProviders = lens _cipCognitoIdentityProviders (\ s a -> s{_cipCognitoIdentityProviders = a}) . _Default . _Coerce---- | A string that you provide.-cipIdentityPoolName :: Lens' CreateIdentityPool Text-cipIdentityPoolName = lens _cipIdentityPoolName (\ s a -> s{_cipIdentityPoolName = a})---- | TRUE if the identity pool supports unauthenticated logins.-cipAllowUnauthenticatedIdentities :: Lens' CreateIdentityPool Bool-cipAllowUnauthenticatedIdentities = lens _cipAllowUnauthenticatedIdentities (\ s a -> s{_cipAllowUnauthenticatedIdentities = a})--instance AWSRequest CreateIdentityPool where- type Rs CreateIdentityPool = IdentityPool- request = postJSON cognitoIdentity- response = receiveJSON (\ s h x -> eitherParseJSON x)--instance Hashable CreateIdentityPool where--instance NFData CreateIdentityPool where--instance ToHeaders CreateIdentityPool where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.CreateIdentityPool" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateIdentityPool where- toJSON CreateIdentityPool'{..}- = object- (catMaybes- [("SamlProviderARNs" .=) <$> _cipSamlProviderARNs,- ("SupportedLoginProviders" .=) <$>- _cipSupportedLoginProviders,- ("DeveloperProviderName" .=) <$>- _cipDeveloperProviderName,- ("OpenIdConnectProviderARNs" .=) <$>- _cipOpenIdConnectProviderARNs,- ("CognitoIdentityProviders" .=) <$>- _cipCognitoIdentityProviders,- Just ("IdentityPoolName" .= _cipIdentityPoolName),- Just- ("AllowUnauthenticatedIdentities" .=- _cipAllowUnauthenticatedIdentities)])--instance ToPath CreateIdentityPool where- toPath = const "/"--instance ToQuery CreateIdentityPool where- toQuery = const mempty
− gen/Network/AWS/CognitoIdentity/DeleteIdentities.hs
@@ -1,148 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.DeleteIdentities--- 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)------ Deletes identities from an identity pool. You can specify a list of 1-60 identities that you want to delete.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.DeleteIdentities- (- -- * Creating a Request- deleteIdentities- , DeleteIdentities- -- * Request Lenses- , diIdentityIdsToDelete-- -- * Destructuring the Response- , deleteIdentitiesResponse- , DeleteIdentitiesResponse- -- * Response Lenses- , dirsUnprocessedIdentityIds- , dirsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the @DeleteIdentities@ action.------------ /See:/ 'deleteIdentities' smart constructor.-newtype DeleteIdentities = DeleteIdentities'- { _diIdentityIdsToDelete :: List1 Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteIdentities' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'diIdentityIdsToDelete' - A list of 1-60 identities that you want to delete.-deleteIdentities- :: NonEmpty Text -- ^ 'diIdentityIdsToDelete'- -> DeleteIdentities-deleteIdentities pIdentityIdsToDelete_ =- DeleteIdentities' {_diIdentityIdsToDelete = _List1 # pIdentityIdsToDelete_}----- | A list of 1-60 identities that you want to delete.-diIdentityIdsToDelete :: Lens' DeleteIdentities (NonEmpty Text)-diIdentityIdsToDelete = lens _diIdentityIdsToDelete (\ s a -> s{_diIdentityIdsToDelete = a}) . _List1--instance AWSRequest DeleteIdentities where- type Rs DeleteIdentities = DeleteIdentitiesResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- DeleteIdentitiesResponse' <$>- (x .?> "UnprocessedIdentityIds" .!@ mempty) <*>- (pure (fromEnum s)))--instance Hashable DeleteIdentities where--instance NFData DeleteIdentities where--instance ToHeaders DeleteIdentities where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.DeleteIdentities" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteIdentities where- toJSON DeleteIdentities'{..}- = object- (catMaybes- [Just- ("IdentityIdsToDelete" .= _diIdentityIdsToDelete)])--instance ToPath DeleteIdentities where- toPath = const "/"--instance ToQuery DeleteIdentities where- toQuery = const mempty---- | Returned in response to a successful @DeleteIdentities@ operation.------------ /See:/ 'deleteIdentitiesResponse' smart constructor.-data DeleteIdentitiesResponse = DeleteIdentitiesResponse'- { _dirsUnprocessedIdentityIds :: !(Maybe [UnprocessedIdentityId])- , _dirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteIdentitiesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dirsUnprocessedIdentityIds' - An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId.------ * 'dirsResponseStatus' - -- | The response status code.-deleteIdentitiesResponse- :: Int -- ^ 'dirsResponseStatus'- -> DeleteIdentitiesResponse-deleteIdentitiesResponse pResponseStatus_ =- DeleteIdentitiesResponse'- { _dirsUnprocessedIdentityIds = Nothing- , _dirsResponseStatus = pResponseStatus_- }----- | An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId.-dirsUnprocessedIdentityIds :: Lens' DeleteIdentitiesResponse [UnprocessedIdentityId]-dirsUnprocessedIdentityIds = lens _dirsUnprocessedIdentityIds (\ s a -> s{_dirsUnprocessedIdentityIds = a}) . _Default . _Coerce---- | -- | The response status code.-dirsResponseStatus :: Lens' DeleteIdentitiesResponse Int-dirsResponseStatus = lens _dirsResponseStatus (\ s a -> s{_dirsResponseStatus = a})--instance NFData DeleteIdentitiesResponse where
− gen/Network/AWS/CognitoIdentity/DeleteIdentityPool.hs
@@ -1,117 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.DeleteIdentityPool--- 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)------ Deletes a user pool. Once a pool is deleted, users will not be able to authenticate with the pool.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.DeleteIdentityPool- (- -- * Creating a Request- deleteIdentityPool- , DeleteIdentityPool- -- * Request Lenses- , dIdentityPoolId-- -- * Destructuring the Response- , deleteIdentityPoolResponse- , DeleteIdentityPoolResponse- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the DeleteIdentityPool action.------------ /See:/ 'deleteIdentityPool' smart constructor.-newtype DeleteIdentityPool = DeleteIdentityPool'- { _dIdentityPoolId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteIdentityPool' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dIdentityPoolId' - An identity pool ID in the format REGION:GUID.-deleteIdentityPool- :: Text -- ^ 'dIdentityPoolId'- -> DeleteIdentityPool-deleteIdentityPool pIdentityPoolId_ =- DeleteIdentityPool' {_dIdentityPoolId = pIdentityPoolId_}----- | An identity pool ID in the format REGION:GUID.-dIdentityPoolId :: Lens' DeleteIdentityPool Text-dIdentityPoolId = lens _dIdentityPoolId (\ s a -> s{_dIdentityPoolId = a})--instance AWSRequest DeleteIdentityPool where- type Rs DeleteIdentityPool =- DeleteIdentityPoolResponse- request = postJSON cognitoIdentity- response = receiveNull DeleteIdentityPoolResponse'--instance Hashable DeleteIdentityPool where--instance NFData DeleteIdentityPool where--instance ToHeaders DeleteIdentityPool where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.DeleteIdentityPool" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteIdentityPool where- toJSON DeleteIdentityPool'{..}- = object- (catMaybes- [Just ("IdentityPoolId" .= _dIdentityPoolId)])--instance ToPath DeleteIdentityPool where- toPath = const "/"--instance ToQuery DeleteIdentityPool where- toQuery = const mempty---- | /See:/ 'deleteIdentityPoolResponse' smart constructor.-data DeleteIdentityPoolResponse =- DeleteIdentityPoolResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteIdentityPoolResponse' with the minimum fields required to make a request.----deleteIdentityPoolResponse- :: DeleteIdentityPoolResponse-deleteIdentityPoolResponse = DeleteIdentityPoolResponse'---instance NFData DeleteIdentityPoolResponse where
− gen/Network/AWS/CognitoIdentity/DescribeIdentity.hs
@@ -1,104 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.DescribeIdentity--- 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)------ Returns metadata related to the given identity, including when the identity was created and any associated linked logins.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.DescribeIdentity- (- -- * Creating a Request- describeIdentity- , DescribeIdentity- -- * Request Lenses- , diIdentityId-- -- * Destructuring the Response- , identityDescription- , IdentityDescription- -- * Response Lenses- , idLastModifiedDate- , idCreationDate- , idLogins- , idIdentityId- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the @DescribeIdentity@ action.------------ /See:/ 'describeIdentity' smart constructor.-newtype DescribeIdentity = DescribeIdentity'- { _diIdentityId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeIdentity' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'diIdentityId' - A unique identifier in the format REGION:GUID.-describeIdentity- :: Text -- ^ 'diIdentityId'- -> DescribeIdentity-describeIdentity pIdentityId_ = DescribeIdentity' {_diIdentityId = pIdentityId_}----- | A unique identifier in the format REGION:GUID.-diIdentityId :: Lens' DescribeIdentity Text-diIdentityId = lens _diIdentityId (\ s a -> s{_diIdentityId = a})--instance AWSRequest DescribeIdentity where- type Rs DescribeIdentity = IdentityDescription- request = postJSON cognitoIdentity- response = receiveJSON (\ s h x -> eitherParseJSON x)--instance Hashable DescribeIdentity where--instance NFData DescribeIdentity where--instance ToHeaders DescribeIdentity where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.DescribeIdentity" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeIdentity where- toJSON DescribeIdentity'{..}- = object- (catMaybes [Just ("IdentityId" .= _diIdentityId)])--instance ToPath DescribeIdentity where- toPath = const "/"--instance ToQuery DescribeIdentity where- toQuery = const mempty
− gen/Network/AWS/CognitoIdentity/DescribeIdentityPool.hs
@@ -1,110 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.DescribeIdentityPool--- 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)------ Gets details about a particular identity pool, including the pool name, ID description, creation date, and current number of users.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.DescribeIdentityPool- (- -- * Creating a Request- describeIdentityPool- , DescribeIdentityPool- -- * Request Lenses- , dipIdentityPoolId-- -- * Destructuring the Response- , identityPool- , IdentityPool- -- * Response Lenses- , ipSamlProviderARNs- , ipSupportedLoginProviders- , ipDeveloperProviderName- , ipOpenIdConnectProviderARNs- , ipCognitoIdentityProviders- , ipIdentityPoolId- , ipIdentityPoolName- , ipAllowUnauthenticatedIdentities- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the DescribeIdentityPool action.------------ /See:/ 'describeIdentityPool' smart constructor.-newtype DescribeIdentityPool = DescribeIdentityPool'- { _dipIdentityPoolId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeIdentityPool' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dipIdentityPoolId' - An identity pool ID in the format REGION:GUID.-describeIdentityPool- :: Text -- ^ 'dipIdentityPoolId'- -> DescribeIdentityPool-describeIdentityPool pIdentityPoolId_ =- DescribeIdentityPool' {_dipIdentityPoolId = pIdentityPoolId_}----- | An identity pool ID in the format REGION:GUID.-dipIdentityPoolId :: Lens' DescribeIdentityPool Text-dipIdentityPoolId = lens _dipIdentityPoolId (\ s a -> s{_dipIdentityPoolId = a})--instance AWSRequest DescribeIdentityPool where- type Rs DescribeIdentityPool = IdentityPool- request = postJSON cognitoIdentity- response = receiveJSON (\ s h x -> eitherParseJSON x)--instance Hashable DescribeIdentityPool where--instance NFData DescribeIdentityPool where--instance ToHeaders DescribeIdentityPool where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.DescribeIdentityPool" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeIdentityPool where- toJSON DescribeIdentityPool'{..}- = object- (catMaybes- [Just ("IdentityPoolId" .= _dipIdentityPoolId)])--instance ToPath DescribeIdentityPool where- toPath = const "/"--instance ToQuery DescribeIdentityPool where- toQuery = const mempty
− gen/Network/AWS/CognitoIdentity/GetCredentialsForIdentity.hs
@@ -1,180 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.GetCredentialsForIdentity--- 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)------ Returns credentials for the provided identity ID. Any provided logins will be validated against supported login providers. If the token is for cognito-identity.amazonaws.com, it will be passed through to AWS Security Token Service with the appropriate role for the token.--------- This is a public API. You do not need any credentials to call this API.----module Network.AWS.CognitoIdentity.GetCredentialsForIdentity- (- -- * Creating a Request- getCredentialsForIdentity- , GetCredentialsForIdentity- -- * Request Lenses- , gcfiCustomRoleARN- , gcfiLogins- , gcfiIdentityId-- -- * Destructuring the Response- , getCredentialsForIdentityResponse- , GetCredentialsForIdentityResponse- -- * Response Lenses- , gcfirsCredentials- , gcfirsIdentityId- , gcfirsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the @GetCredentialsForIdentity@ action.------------ /See:/ 'getCredentialsForIdentity' smart constructor.-data GetCredentialsForIdentity = GetCredentialsForIdentity'- { _gcfiCustomRoleARN :: !(Maybe Text)- , _gcfiLogins :: !(Maybe (Map Text Text))- , _gcfiIdentityId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetCredentialsForIdentity' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gcfiCustomRoleARN' - The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.------ * 'gcfiLogins' - A set of optional name-value pairs that map provider names to provider tokens.------ * 'gcfiIdentityId' - A unique identifier in the format REGION:GUID.-getCredentialsForIdentity- :: Text -- ^ 'gcfiIdentityId'- -> GetCredentialsForIdentity-getCredentialsForIdentity pIdentityId_ =- GetCredentialsForIdentity'- { _gcfiCustomRoleARN = Nothing- , _gcfiLogins = Nothing- , _gcfiIdentityId = pIdentityId_- }----- | The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.-gcfiCustomRoleARN :: Lens' GetCredentialsForIdentity (Maybe Text)-gcfiCustomRoleARN = lens _gcfiCustomRoleARN (\ s a -> s{_gcfiCustomRoleARN = a})---- | A set of optional name-value pairs that map provider names to provider tokens.-gcfiLogins :: Lens' GetCredentialsForIdentity (HashMap Text Text)-gcfiLogins = lens _gcfiLogins (\ s a -> s{_gcfiLogins = a}) . _Default . _Map---- | A unique identifier in the format REGION:GUID.-gcfiIdentityId :: Lens' GetCredentialsForIdentity Text-gcfiIdentityId = lens _gcfiIdentityId (\ s a -> s{_gcfiIdentityId = a})--instance AWSRequest GetCredentialsForIdentity where- type Rs GetCredentialsForIdentity =- GetCredentialsForIdentityResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- GetCredentialsForIdentityResponse' <$>- (x .?> "Credentials") <*> (x .?> "IdentityId") <*>- (pure (fromEnum s)))--instance Hashable GetCredentialsForIdentity where--instance NFData GetCredentialsForIdentity where--instance ToHeaders GetCredentialsForIdentity where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.GetCredentialsForIdentity"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetCredentialsForIdentity where- toJSON GetCredentialsForIdentity'{..}- = object- (catMaybes- [("CustomRoleArn" .=) <$> _gcfiCustomRoleARN,- ("Logins" .=) <$> _gcfiLogins,- Just ("IdentityId" .= _gcfiIdentityId)])--instance ToPath GetCredentialsForIdentity where- toPath = const "/"--instance ToQuery GetCredentialsForIdentity where- toQuery = const mempty---- | Returned in response to a successful @GetCredentialsForIdentity@ operation.------------ /See:/ 'getCredentialsForIdentityResponse' smart constructor.-data GetCredentialsForIdentityResponse = GetCredentialsForIdentityResponse'- { _gcfirsCredentials :: !(Maybe Credentials)- , _gcfirsIdentityId :: !(Maybe Text)- , _gcfirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetCredentialsForIdentityResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gcfirsCredentials' - Credentials for the provided identity ID.------ * 'gcfirsIdentityId' - A unique identifier in the format REGION:GUID.------ * 'gcfirsResponseStatus' - -- | The response status code.-getCredentialsForIdentityResponse- :: Int -- ^ 'gcfirsResponseStatus'- -> GetCredentialsForIdentityResponse-getCredentialsForIdentityResponse pResponseStatus_ =- GetCredentialsForIdentityResponse'- { _gcfirsCredentials = Nothing- , _gcfirsIdentityId = Nothing- , _gcfirsResponseStatus = pResponseStatus_- }----- | Credentials for the provided identity ID.-gcfirsCredentials :: Lens' GetCredentialsForIdentityResponse (Maybe Credentials)-gcfirsCredentials = lens _gcfirsCredentials (\ s a -> s{_gcfirsCredentials = a})---- | A unique identifier in the format REGION:GUID.-gcfirsIdentityId :: Lens' GetCredentialsForIdentityResponse (Maybe Text)-gcfirsIdentityId = lens _gcfirsIdentityId (\ s a -> s{_gcfirsIdentityId = a})---- | -- | The response status code.-gcfirsResponseStatus :: Lens' GetCredentialsForIdentityResponse Int-gcfirsResponseStatus = lens _gcfirsResponseStatus (\ s a -> s{_gcfirsResponseStatus = a})--instance NFData GetCredentialsForIdentityResponse- where
− gen/Network/AWS/CognitoIdentity/GetId.hs
@@ -1,165 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.GetId--- 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)------ Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an implicit linked account.--------- This is a public API. You do not need any credentials to call this API.----module Network.AWS.CognitoIdentity.GetId- (- -- * Creating a Request- getId- , GetId- -- * Request Lenses- , giAccountId- , giLogins- , giIdentityPoolId-- -- * Destructuring the Response- , getIdResponse- , GetIdResponse- -- * Response Lenses- , girsIdentityId- , girsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the GetId action.------------ /See:/ 'getId' smart constructor.-data GetId = GetId'- { _giAccountId :: !(Maybe Text)- , _giLogins :: !(Maybe (Map Text Text))- , _giIdentityPoolId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetId' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'giAccountId' - A standard AWS account ID (9+ digits).------ * 'giLogins' - A set of optional name-value pairs that map provider names to provider tokens. The available provider names for @Logins@ are as follows: * Facebook: @graph.facebook.com@ * Amazon Cognito Identity Provider: @cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789@ * Google: @accounts.google.com@ * Amazon: @www.amazon.com@ * Twitter: @api.twitter.com@ * Digits: @www.digits.com@------ * 'giIdentityPoolId' - An identity pool ID in the format REGION:GUID.-getId- :: Text -- ^ 'giIdentityPoolId'- -> GetId-getId pIdentityPoolId_ =- GetId'- { _giAccountId = Nothing- , _giLogins = Nothing- , _giIdentityPoolId = pIdentityPoolId_- }----- | A standard AWS account ID (9+ digits).-giAccountId :: Lens' GetId (Maybe Text)-giAccountId = lens _giAccountId (\ s a -> s{_giAccountId = a})---- | A set of optional name-value pairs that map provider names to provider tokens. The available provider names for @Logins@ are as follows: * Facebook: @graph.facebook.com@ * Amazon Cognito Identity Provider: @cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789@ * Google: @accounts.google.com@ * Amazon: @www.amazon.com@ * Twitter: @api.twitter.com@ * Digits: @www.digits.com@-giLogins :: Lens' GetId (HashMap Text Text)-giLogins = lens _giLogins (\ s a -> s{_giLogins = a}) . _Default . _Map---- | An identity pool ID in the format REGION:GUID.-giIdentityPoolId :: Lens' GetId Text-giIdentityPoolId = lens _giIdentityPoolId (\ s a -> s{_giIdentityPoolId = a})--instance AWSRequest GetId where- type Rs GetId = GetIdResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- GetIdResponse' <$>- (x .?> "IdentityId") <*> (pure (fromEnum s)))--instance Hashable GetId where--instance NFData GetId where--instance ToHeaders GetId where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.GetId" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetId where- toJSON GetId'{..}- = object- (catMaybes- [("AccountId" .=) <$> _giAccountId,- ("Logins" .=) <$> _giLogins,- Just ("IdentityPoolId" .= _giIdentityPoolId)])--instance ToPath GetId where- toPath = const "/"--instance ToQuery GetId where- toQuery = const mempty---- | Returned in response to a GetId request.------------ /See:/ 'getIdResponse' smart constructor.-data GetIdResponse = GetIdResponse'- { _girsIdentityId :: !(Maybe Text)- , _girsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetIdResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'girsIdentityId' - A unique identifier in the format REGION:GUID.------ * 'girsResponseStatus' - -- | The response status code.-getIdResponse- :: Int -- ^ 'girsResponseStatus'- -> GetIdResponse-getIdResponse pResponseStatus_ =- GetIdResponse'- {_girsIdentityId = Nothing, _girsResponseStatus = pResponseStatus_}----- | A unique identifier in the format REGION:GUID.-girsIdentityId :: Lens' GetIdResponse (Maybe Text)-girsIdentityId = lens _girsIdentityId (\ s a -> s{_girsIdentityId = a})---- | -- | The response status code.-girsResponseStatus :: Lens' GetIdResponse Int-girsResponseStatus = lens _girsResponseStatus (\ s a -> s{_girsResponseStatus = a})--instance NFData GetIdResponse where
− gen/Network/AWS/CognitoIdentity/GetIdentityPoolRoles.hs
@@ -1,168 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.GetIdentityPoolRoles--- 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)------ Gets the roles for an identity pool.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.GetIdentityPoolRoles- (- -- * Creating a Request- getIdentityPoolRoles- , GetIdentityPoolRoles- -- * Request Lenses- , giprIdentityPoolId-- -- * Destructuring the Response- , getIdentityPoolRolesResponse- , GetIdentityPoolRolesResponse- -- * Response Lenses- , giprrsRoles- , giprrsIdentityPoolId- , giprrsRoleMappings- , giprrsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the @GetIdentityPoolRoles@ action.------------ /See:/ 'getIdentityPoolRoles' smart constructor.-newtype GetIdentityPoolRoles = GetIdentityPoolRoles'- { _giprIdentityPoolId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetIdentityPoolRoles' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'giprIdentityPoolId' - An identity pool ID in the format REGION:GUID.-getIdentityPoolRoles- :: Text -- ^ 'giprIdentityPoolId'- -> GetIdentityPoolRoles-getIdentityPoolRoles pIdentityPoolId_ =- GetIdentityPoolRoles' {_giprIdentityPoolId = pIdentityPoolId_}----- | An identity pool ID in the format REGION:GUID.-giprIdentityPoolId :: Lens' GetIdentityPoolRoles Text-giprIdentityPoolId = lens _giprIdentityPoolId (\ s a -> s{_giprIdentityPoolId = a})--instance AWSRequest GetIdentityPoolRoles where- type Rs GetIdentityPoolRoles =- GetIdentityPoolRolesResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- GetIdentityPoolRolesResponse' <$>- (x .?> "Roles" .!@ mempty) <*>- (x .?> "IdentityPoolId")- <*> (x .?> "RoleMappings" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable GetIdentityPoolRoles where--instance NFData GetIdentityPoolRoles where--instance ToHeaders GetIdentityPoolRoles where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.GetIdentityPoolRoles" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetIdentityPoolRoles where- toJSON GetIdentityPoolRoles'{..}- = object- (catMaybes- [Just ("IdentityPoolId" .= _giprIdentityPoolId)])--instance ToPath GetIdentityPoolRoles where- toPath = const "/"--instance ToQuery GetIdentityPoolRoles where- toQuery = const mempty---- | Returned in response to a successful @GetIdentityPoolRoles@ operation.------------ /See:/ 'getIdentityPoolRolesResponse' smart constructor.-data GetIdentityPoolRolesResponse = GetIdentityPoolRolesResponse'- { _giprrsRoles :: !(Maybe (Map Text Text))- , _giprrsIdentityPoolId :: !(Maybe Text)- , _giprrsRoleMappings :: !(Maybe (Map Text RoleMapping))- , _giprrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetIdentityPoolRolesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'giprrsRoles' - The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.------ * 'giprrsIdentityPoolId' - An identity pool ID in the format REGION:GUID.------ * 'giprrsRoleMappings' - How users for a specific identity provider are to mapped to roles. This is a String-to-'RoleMapping' object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".------ * 'giprrsResponseStatus' - -- | The response status code.-getIdentityPoolRolesResponse- :: Int -- ^ 'giprrsResponseStatus'- -> GetIdentityPoolRolesResponse-getIdentityPoolRolesResponse pResponseStatus_ =- GetIdentityPoolRolesResponse'- { _giprrsRoles = Nothing- , _giprrsIdentityPoolId = Nothing- , _giprrsRoleMappings = Nothing- , _giprrsResponseStatus = pResponseStatus_- }----- | The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.-giprrsRoles :: Lens' GetIdentityPoolRolesResponse (HashMap Text Text)-giprrsRoles = lens _giprrsRoles (\ s a -> s{_giprrsRoles = a}) . _Default . _Map---- | An identity pool ID in the format REGION:GUID.-giprrsIdentityPoolId :: Lens' GetIdentityPoolRolesResponse (Maybe Text)-giprrsIdentityPoolId = lens _giprrsIdentityPoolId (\ s a -> s{_giprrsIdentityPoolId = a})---- | How users for a specific identity provider are to mapped to roles. This is a String-to-'RoleMapping' object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".-giprrsRoleMappings :: Lens' GetIdentityPoolRolesResponse (HashMap Text RoleMapping)-giprrsRoleMappings = lens _giprrsRoleMappings (\ s a -> s{_giprrsRoleMappings = a}) . _Default . _Map---- | -- | The response status code.-giprrsResponseStatus :: Lens' GetIdentityPoolRolesResponse Int-giprrsResponseStatus = lens _giprrsResponseStatus (\ s a -> s{_giprrsResponseStatus = a})--instance NFData GetIdentityPoolRolesResponse where
− gen/Network/AWS/CognitoIdentity/GetOpenIdToken.hs
@@ -1,167 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.GetOpenIdToken--- 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)------ Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by 'GetId' . You can optionally add additional logins for the identity. Supplying multiple logins creates an implicit link.--------- The OpenId token is valid for 15 minutes.------ This is a public API. You do not need any credentials to call this API.----module Network.AWS.CognitoIdentity.GetOpenIdToken- (- -- * Creating a Request- getOpenIdToken- , GetOpenIdToken- -- * Request Lenses- , goitLogins- , goitIdentityId-- -- * Destructuring the Response- , getOpenIdTokenResponse- , GetOpenIdTokenResponse- -- * Response Lenses- , goitrsToken- , goitrsIdentityId- , goitrsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the GetOpenIdToken action.------------ /See:/ 'getOpenIdToken' smart constructor.-data GetOpenIdToken = GetOpenIdToken'- { _goitLogins :: !(Maybe (Map Text Text))- , _goitIdentityId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetOpenIdToken' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'goitLogins' - A set of optional name-value pairs that map provider names to provider tokens. When using graph.facebook.com and www.amazon.com, supply the access_token returned from the provider's authflow. For accounts.google.com, an Amazon Cognito Identity Provider, or any other OpenId Connect provider, always include the @id_token@ .------ * 'goitIdentityId' - A unique identifier in the format REGION:GUID.-getOpenIdToken- :: Text -- ^ 'goitIdentityId'- -> GetOpenIdToken-getOpenIdToken pIdentityId_ =- GetOpenIdToken' {_goitLogins = Nothing, _goitIdentityId = pIdentityId_}----- | A set of optional name-value pairs that map provider names to provider tokens. When using graph.facebook.com and www.amazon.com, supply the access_token returned from the provider's authflow. For accounts.google.com, an Amazon Cognito Identity Provider, or any other OpenId Connect provider, always include the @id_token@ .-goitLogins :: Lens' GetOpenIdToken (HashMap Text Text)-goitLogins = lens _goitLogins (\ s a -> s{_goitLogins = a}) . _Default . _Map---- | A unique identifier in the format REGION:GUID.-goitIdentityId :: Lens' GetOpenIdToken Text-goitIdentityId = lens _goitIdentityId (\ s a -> s{_goitIdentityId = a})--instance AWSRequest GetOpenIdToken where- type Rs GetOpenIdToken = GetOpenIdTokenResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- GetOpenIdTokenResponse' <$>- (x .?> "Token") <*> (x .?> "IdentityId") <*>- (pure (fromEnum s)))--instance Hashable GetOpenIdToken where--instance NFData GetOpenIdToken where--instance ToHeaders GetOpenIdToken where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.GetOpenIdToken" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetOpenIdToken where- toJSON GetOpenIdToken'{..}- = object- (catMaybes- [("Logins" .=) <$> _goitLogins,- Just ("IdentityId" .= _goitIdentityId)])--instance ToPath GetOpenIdToken where- toPath = const "/"--instance ToQuery GetOpenIdToken where- toQuery = const mempty---- | Returned in response to a successful GetOpenIdToken request.------------ /See:/ 'getOpenIdTokenResponse' smart constructor.-data GetOpenIdTokenResponse = GetOpenIdTokenResponse'- { _goitrsToken :: !(Maybe Text)- , _goitrsIdentityId :: !(Maybe Text)- , _goitrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetOpenIdTokenResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'goitrsToken' - An OpenID token, valid for 15 minutes.------ * 'goitrsIdentityId' - A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.------ * 'goitrsResponseStatus' - -- | The response status code.-getOpenIdTokenResponse- :: Int -- ^ 'goitrsResponseStatus'- -> GetOpenIdTokenResponse-getOpenIdTokenResponse pResponseStatus_ =- GetOpenIdTokenResponse'- { _goitrsToken = Nothing- , _goitrsIdentityId = Nothing- , _goitrsResponseStatus = pResponseStatus_- }----- | An OpenID token, valid for 15 minutes.-goitrsToken :: Lens' GetOpenIdTokenResponse (Maybe Text)-goitrsToken = lens _goitrsToken (\ s a -> s{_goitrsToken = a})---- | A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.-goitrsIdentityId :: Lens' GetOpenIdTokenResponse (Maybe Text)-goitrsIdentityId = lens _goitrsIdentityId (\ s a -> s{_goitrsIdentityId = a})---- | -- | The response status code.-goitrsResponseStatus :: Lens' GetOpenIdTokenResponse Int-goitrsResponseStatus = lens _goitrsResponseStatus (\ s a -> s{_goitrsResponseStatus = a})--instance NFData GetOpenIdTokenResponse where
− gen/Network/AWS/CognitoIdentity/GetOpenIdTokenForDeveloperIdentity.hs
@@ -1,201 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity--- 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)------ Registers (or retrieves) a Cognito @IdentityId@ and an OpenID Connect token for a user authenticated by your backend authentication process. Supplying multiple logins will create an implicit linked account. You can only specify one developer provider as part of the @Logins@ map, which is linked to the identity pool. The developer provider is the "domain" by which Cognito will refer to your users.--------- You can use @GetOpenIdTokenForDeveloperIdentity@ to create a new identity and to link new logins (that is, user credentials issued by a public provider or developer provider) to an existing identity. When you want to create a new identity, the @IdentityId@ should be null. When you want to associate a new login with an existing authenticated/unauthenticated identity, you can do so by providing the existing @IdentityId@ . This API will create the identity in the specified @IdentityPoolId@ .------ You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.GetOpenIdTokenForDeveloperIdentity- (- -- * Creating a Request- getOpenIdTokenForDeveloperIdentity- , GetOpenIdTokenForDeveloperIdentity- -- * Request Lenses- , goitfdiTokenDuration- , goitfdiIdentityId- , goitfdiIdentityPoolId- , goitfdiLogins-- -- * Destructuring the Response- , getOpenIdTokenForDeveloperIdentityResponse- , GetOpenIdTokenForDeveloperIdentityResponse- -- * Response Lenses- , goitfdirsToken- , goitfdirsIdentityId- , goitfdirsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the @GetOpenIdTokenForDeveloperIdentity@ action.------------ /See:/ 'getOpenIdTokenForDeveloperIdentity' smart constructor.-data GetOpenIdTokenForDeveloperIdentity = GetOpenIdTokenForDeveloperIdentity'- { _goitfdiTokenDuration :: !(Maybe Nat)- , _goitfdiIdentityId :: !(Maybe Text)- , _goitfdiIdentityPoolId :: !Text- , _goitfdiLogins :: !(Map Text Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetOpenIdTokenForDeveloperIdentity' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'goitfdiTokenDuration' - The expiration time of the token, in seconds. You can specify a custom expiration time for the token so that you can cache it. If you don't provide an expiration time, the token is valid for 15 minutes. You can exchange the token with Amazon STS for temporary AWS credentials, which are valid for a maximum of one hour. The maximum token duration you can set is 24 hours. You should take care in setting the expiration time for a token, as there are significant security implications: an attacker could use a leaked token to access your AWS resources for the token's duration.------ * 'goitfdiIdentityId' - A unique identifier in the format REGION:GUID.------ * 'goitfdiIdentityPoolId' - An identity pool ID in the format REGION:GUID.------ * 'goitfdiLogins' - A set of optional name-value pairs that map provider names to provider tokens. Each name-value pair represents a user from a public provider or developer provider. If the user is from a developer provider, the name-value pair will follow the syntax @"developer_provider_name": "developer_user_identifier"@ . The developer provider is the "domain" by which Cognito will refer to your users; you provided this domain while creating/updating the identity pool. The developer user identifier is an identifier from your backend that uniquely identifies a user. When you create an identity pool, you can specify the supported logins.-getOpenIdTokenForDeveloperIdentity- :: Text -- ^ 'goitfdiIdentityPoolId'- -> GetOpenIdTokenForDeveloperIdentity-getOpenIdTokenForDeveloperIdentity pIdentityPoolId_ =- GetOpenIdTokenForDeveloperIdentity'- { _goitfdiTokenDuration = Nothing- , _goitfdiIdentityId = Nothing- , _goitfdiIdentityPoolId = pIdentityPoolId_- , _goitfdiLogins = mempty- }----- | The expiration time of the token, in seconds. You can specify a custom expiration time for the token so that you can cache it. If you don't provide an expiration time, the token is valid for 15 minutes. You can exchange the token with Amazon STS for temporary AWS credentials, which are valid for a maximum of one hour. The maximum token duration you can set is 24 hours. You should take care in setting the expiration time for a token, as there are significant security implications: an attacker could use a leaked token to access your AWS resources for the token's duration.-goitfdiTokenDuration :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe Natural)-goitfdiTokenDuration = lens _goitfdiTokenDuration (\ s a -> s{_goitfdiTokenDuration = a}) . mapping _Nat---- | A unique identifier in the format REGION:GUID.-goitfdiIdentityId :: Lens' GetOpenIdTokenForDeveloperIdentity (Maybe Text)-goitfdiIdentityId = lens _goitfdiIdentityId (\ s a -> s{_goitfdiIdentityId = a})---- | An identity pool ID in the format REGION:GUID.-goitfdiIdentityPoolId :: Lens' GetOpenIdTokenForDeveloperIdentity Text-goitfdiIdentityPoolId = lens _goitfdiIdentityPoolId (\ s a -> s{_goitfdiIdentityPoolId = a})---- | A set of optional name-value pairs that map provider names to provider tokens. Each name-value pair represents a user from a public provider or developer provider. If the user is from a developer provider, the name-value pair will follow the syntax @"developer_provider_name": "developer_user_identifier"@ . The developer provider is the "domain" by which Cognito will refer to your users; you provided this domain while creating/updating the identity pool. The developer user identifier is an identifier from your backend that uniquely identifies a user. When you create an identity pool, you can specify the supported logins.-goitfdiLogins :: Lens' GetOpenIdTokenForDeveloperIdentity (HashMap Text Text)-goitfdiLogins = lens _goitfdiLogins (\ s a -> s{_goitfdiLogins = a}) . _Map--instance AWSRequest- GetOpenIdTokenForDeveloperIdentity- where- type Rs GetOpenIdTokenForDeveloperIdentity =- GetOpenIdTokenForDeveloperIdentityResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- GetOpenIdTokenForDeveloperIdentityResponse' <$>- (x .?> "Token") <*> (x .?> "IdentityId") <*>- (pure (fromEnum s)))--instance Hashable GetOpenIdTokenForDeveloperIdentity- where--instance NFData GetOpenIdTokenForDeveloperIdentity- where--instance ToHeaders GetOpenIdTokenForDeveloperIdentity- where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.GetOpenIdTokenForDeveloperIdentity"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetOpenIdTokenForDeveloperIdentity- where- toJSON GetOpenIdTokenForDeveloperIdentity'{..}- = object- (catMaybes- [("TokenDuration" .=) <$> _goitfdiTokenDuration,- ("IdentityId" .=) <$> _goitfdiIdentityId,- Just ("IdentityPoolId" .= _goitfdiIdentityPoolId),- Just ("Logins" .= _goitfdiLogins)])--instance ToPath GetOpenIdTokenForDeveloperIdentity- where- toPath = const "/"--instance ToQuery GetOpenIdTokenForDeveloperIdentity- where- toQuery = const mempty---- | Returned in response to a successful @GetOpenIdTokenForDeveloperIdentity@ request.------------ /See:/ 'getOpenIdTokenForDeveloperIdentityResponse' smart constructor.-data GetOpenIdTokenForDeveloperIdentityResponse = GetOpenIdTokenForDeveloperIdentityResponse'- { _goitfdirsToken :: !(Maybe Text)- , _goitfdirsIdentityId :: !(Maybe Text)- , _goitfdirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetOpenIdTokenForDeveloperIdentityResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'goitfdirsToken' - An OpenID token.------ * 'goitfdirsIdentityId' - A unique identifier in the format REGION:GUID.------ * 'goitfdirsResponseStatus' - -- | The response status code.-getOpenIdTokenForDeveloperIdentityResponse- :: Int -- ^ 'goitfdirsResponseStatus'- -> GetOpenIdTokenForDeveloperIdentityResponse-getOpenIdTokenForDeveloperIdentityResponse pResponseStatus_ =- GetOpenIdTokenForDeveloperIdentityResponse'- { _goitfdirsToken = Nothing- , _goitfdirsIdentityId = Nothing- , _goitfdirsResponseStatus = pResponseStatus_- }----- | An OpenID token.-goitfdirsToken :: Lens' GetOpenIdTokenForDeveloperIdentityResponse (Maybe Text)-goitfdirsToken = lens _goitfdirsToken (\ s a -> s{_goitfdirsToken = a})---- | A unique identifier in the format REGION:GUID.-goitfdirsIdentityId :: Lens' GetOpenIdTokenForDeveloperIdentityResponse (Maybe Text)-goitfdirsIdentityId = lens _goitfdirsIdentityId (\ s a -> s{_goitfdirsIdentityId = a})---- | -- | The response status code.-goitfdirsResponseStatus :: Lens' GetOpenIdTokenForDeveloperIdentityResponse Int-goitfdirsResponseStatus = lens _goitfdirsResponseStatus (\ s a -> s{_goitfdirsResponseStatus = a})--instance NFData- GetOpenIdTokenForDeveloperIdentityResponse- where
− gen/Network/AWS/CognitoIdentity/ListIdentities.hs
@@ -1,199 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.ListIdentities--- 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)------ Lists the identities in a pool.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.ListIdentities- (- -- * Creating a Request- listIdentities- , ListIdentities- -- * Request Lenses- , liHideDisabled- , liNextToken- , liIdentityPoolId- , liMaxResults-- -- * Destructuring the Response- , listIdentitiesResponse- , ListIdentitiesResponse- -- * Response Lenses- , lirsIdentityPoolId- , lirsNextToken- , lirsIdentities- , lirsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the ListIdentities action.------------ /See:/ 'listIdentities' smart constructor.-data ListIdentities = ListIdentities'- { _liHideDisabled :: !(Maybe Bool)- , _liNextToken :: !(Maybe Text)- , _liIdentityPoolId :: !Text- , _liMaxResults :: !Nat- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListIdentities' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'liHideDisabled' - An optional boolean parameter that allows you to hide disabled identities. If omitted, the ListIdentities API will include disabled identities in the response.------ * 'liNextToken' - A pagination token.------ * 'liIdentityPoolId' - An identity pool ID in the format REGION:GUID.------ * 'liMaxResults' - The maximum number of identities to return.-listIdentities- :: Text -- ^ 'liIdentityPoolId'- -> Natural -- ^ 'liMaxResults'- -> ListIdentities-listIdentities pIdentityPoolId_ pMaxResults_ =- ListIdentities'- { _liHideDisabled = Nothing- , _liNextToken = Nothing- , _liIdentityPoolId = pIdentityPoolId_- , _liMaxResults = _Nat # pMaxResults_- }----- | An optional boolean parameter that allows you to hide disabled identities. If omitted, the ListIdentities API will include disabled identities in the response.-liHideDisabled :: Lens' ListIdentities (Maybe Bool)-liHideDisabled = lens _liHideDisabled (\ s a -> s{_liHideDisabled = a})---- | A pagination token.-liNextToken :: Lens' ListIdentities (Maybe Text)-liNextToken = lens _liNextToken (\ s a -> s{_liNextToken = a})---- | An identity pool ID in the format REGION:GUID.-liIdentityPoolId :: Lens' ListIdentities Text-liIdentityPoolId = lens _liIdentityPoolId (\ s a -> s{_liIdentityPoolId = a})---- | The maximum number of identities to return.-liMaxResults :: Lens' ListIdentities Natural-liMaxResults = lens _liMaxResults (\ s a -> s{_liMaxResults = a}) . _Nat--instance AWSRequest ListIdentities where- type Rs ListIdentities = ListIdentitiesResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- ListIdentitiesResponse' <$>- (x .?> "IdentityPoolId") <*> (x .?> "NextToken") <*>- (x .?> "Identities" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable ListIdentities where--instance NFData ListIdentities where--instance ToHeaders ListIdentities where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.ListIdentities" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListIdentities where- toJSON ListIdentities'{..}- = object- (catMaybes- [("HideDisabled" .=) <$> _liHideDisabled,- ("NextToken" .=) <$> _liNextToken,- Just ("IdentityPoolId" .= _liIdentityPoolId),- Just ("MaxResults" .= _liMaxResults)])--instance ToPath ListIdentities where- toPath = const "/"--instance ToQuery ListIdentities where- toQuery = const mempty---- | The response to a ListIdentities request.------------ /See:/ 'listIdentitiesResponse' smart constructor.-data ListIdentitiesResponse = ListIdentitiesResponse'- { _lirsIdentityPoolId :: !(Maybe Text)- , _lirsNextToken :: !(Maybe Text)- , _lirsIdentities :: !(Maybe [IdentityDescription])- , _lirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListIdentitiesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lirsIdentityPoolId' - An identity pool ID in the format REGION:GUID.------ * 'lirsNextToken' - A pagination token.------ * 'lirsIdentities' - An object containing a set of identities and associated mappings.------ * 'lirsResponseStatus' - -- | The response status code.-listIdentitiesResponse- :: Int -- ^ 'lirsResponseStatus'- -> ListIdentitiesResponse-listIdentitiesResponse pResponseStatus_ =- ListIdentitiesResponse'- { _lirsIdentityPoolId = Nothing- , _lirsNextToken = Nothing- , _lirsIdentities = Nothing- , _lirsResponseStatus = pResponseStatus_- }----- | An identity pool ID in the format REGION:GUID.-lirsIdentityPoolId :: Lens' ListIdentitiesResponse (Maybe Text)-lirsIdentityPoolId = lens _lirsIdentityPoolId (\ s a -> s{_lirsIdentityPoolId = a})---- | A pagination token.-lirsNextToken :: Lens' ListIdentitiesResponse (Maybe Text)-lirsNextToken = lens _lirsNextToken (\ s a -> s{_lirsNextToken = a})---- | An object containing a set of identities and associated mappings.-lirsIdentities :: Lens' ListIdentitiesResponse [IdentityDescription]-lirsIdentities = lens _lirsIdentities (\ s a -> s{_lirsIdentities = a}) . _Default . _Coerce---- | -- | The response status code.-lirsResponseStatus :: Lens' ListIdentitiesResponse Int-lirsResponseStatus = lens _lirsResponseStatus (\ s a -> s{_lirsResponseStatus = a})--instance NFData ListIdentitiesResponse where
− gen/Network/AWS/CognitoIdentity/ListIdentityPools.hs
@@ -1,167 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.ListIdentityPools--- 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)------ Lists all of the Cognito identity pools registered for your account.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.ListIdentityPools- (- -- * Creating a Request- listIdentityPools- , ListIdentityPools- -- * Request Lenses- , lipNextToken- , lipMaxResults-- -- * Destructuring the Response- , listIdentityPoolsResponse- , ListIdentityPoolsResponse- -- * Response Lenses- , liprsIdentityPools- , liprsNextToken- , liprsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the ListIdentityPools action.------------ /See:/ 'listIdentityPools' smart constructor.-data ListIdentityPools = ListIdentityPools'- { _lipNextToken :: !(Maybe Text)- , _lipMaxResults :: !Nat- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListIdentityPools' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lipNextToken' - A pagination token.------ * 'lipMaxResults' - The maximum number of identities to return.-listIdentityPools- :: Natural -- ^ 'lipMaxResults'- -> ListIdentityPools-listIdentityPools pMaxResults_ =- ListIdentityPools'- {_lipNextToken = Nothing, _lipMaxResults = _Nat # pMaxResults_}----- | A pagination token.-lipNextToken :: Lens' ListIdentityPools (Maybe Text)-lipNextToken = lens _lipNextToken (\ s a -> s{_lipNextToken = a})---- | The maximum number of identities to return.-lipMaxResults :: Lens' ListIdentityPools Natural-lipMaxResults = lens _lipMaxResults (\ s a -> s{_lipMaxResults = a}) . _Nat--instance AWSRequest ListIdentityPools where- type Rs ListIdentityPools = ListIdentityPoolsResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- ListIdentityPoolsResponse' <$>- (x .?> "IdentityPools" .!@ mempty) <*>- (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListIdentityPools where--instance NFData ListIdentityPools where--instance ToHeaders ListIdentityPools where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.ListIdentityPools" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListIdentityPools where- toJSON ListIdentityPools'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lipNextToken,- Just ("MaxResults" .= _lipMaxResults)])--instance ToPath ListIdentityPools where- toPath = const "/"--instance ToQuery ListIdentityPools where- toQuery = const mempty---- | The result of a successful ListIdentityPools action.------------ /See:/ 'listIdentityPoolsResponse' smart constructor.-data ListIdentityPoolsResponse = ListIdentityPoolsResponse'- { _liprsIdentityPools :: !(Maybe [IdentityPoolShortDescription])- , _liprsNextToken :: !(Maybe Text)- , _liprsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListIdentityPoolsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'liprsIdentityPools' - The identity pools returned by the ListIdentityPools action.------ * 'liprsNextToken' - A pagination token.------ * 'liprsResponseStatus' - -- | The response status code.-listIdentityPoolsResponse- :: Int -- ^ 'liprsResponseStatus'- -> ListIdentityPoolsResponse-listIdentityPoolsResponse pResponseStatus_ =- ListIdentityPoolsResponse'- { _liprsIdentityPools = Nothing- , _liprsNextToken = Nothing- , _liprsResponseStatus = pResponseStatus_- }----- | The identity pools returned by the ListIdentityPools action.-liprsIdentityPools :: Lens' ListIdentityPoolsResponse [IdentityPoolShortDescription]-liprsIdentityPools = lens _liprsIdentityPools (\ s a -> s{_liprsIdentityPools = a}) . _Default . _Coerce---- | A pagination token.-liprsNextToken :: Lens' ListIdentityPoolsResponse (Maybe Text)-liprsNextToken = lens _liprsNextToken (\ s a -> s{_liprsNextToken = a})---- | -- | The response status code.-liprsResponseStatus :: Lens' ListIdentityPoolsResponse Int-liprsResponseStatus = lens _liprsResponseStatus (\ s a -> s{_liprsResponseStatus = a})--instance NFData ListIdentityPoolsResponse where
− gen/Network/AWS/CognitoIdentity/LookupDeveloperIdentity.hs
@@ -1,210 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.LookupDeveloperIdentity--- 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)------ Retrieves the @IdentityID@ associated with a @DeveloperUserIdentifier@ or the list of @DeveloperUserIdentifier@ s associated with an @IdentityId@ for an existing identity. Either @IdentityID@ or @DeveloperUserIdentifier@ must not be null. If you supply only one of these values, the other value will be searched in the database and returned as a part of the response. If you supply both, @DeveloperUserIdentifier@ will be matched against @IdentityID@ . If the values are verified against the database, the response returns both values and is the same as the request. Otherwise a @ResourceConflictException@ is thrown.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.LookupDeveloperIdentity- (- -- * Creating a Request- lookupDeveloperIdentity- , LookupDeveloperIdentity- -- * Request Lenses- , ldiDeveloperUserIdentifier- , ldiNextToken- , ldiIdentityId- , ldiMaxResults- , ldiIdentityPoolId-- -- * Destructuring the Response- , lookupDeveloperIdentityResponse- , LookupDeveloperIdentityResponse- -- * Response Lenses- , ldirsNextToken- , ldirsIdentityId- , ldirsDeveloperUserIdentifierList- , ldirsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the @LookupDeveloperIdentityInput@ action.------------ /See:/ 'lookupDeveloperIdentity' smart constructor.-data LookupDeveloperIdentity = LookupDeveloperIdentity'- { _ldiDeveloperUserIdentifier :: !(Maybe Text)- , _ldiNextToken :: !(Maybe Text)- , _ldiIdentityId :: !(Maybe Text)- , _ldiMaxResults :: !(Maybe Nat)- , _ldiIdentityPoolId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'LookupDeveloperIdentity' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ldiDeveloperUserIdentifier' - A unique ID used by your backend authentication process to identify a user. Typically, a developer identity provider would issue many developer user identifiers, in keeping with the number of users.------ * 'ldiNextToken' - A pagination token. The first call you make will have @NextToken@ set to null. After that the service will return @NextToken@ values as needed. For example, let's say you make a request with @MaxResults@ set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match.------ * 'ldiIdentityId' - A unique identifier in the format REGION:GUID.------ * 'ldiMaxResults' - The maximum number of identities to return.------ * 'ldiIdentityPoolId' - An identity pool ID in the format REGION:GUID.-lookupDeveloperIdentity- :: Text -- ^ 'ldiIdentityPoolId'- -> LookupDeveloperIdentity-lookupDeveloperIdentity pIdentityPoolId_ =- LookupDeveloperIdentity'- { _ldiDeveloperUserIdentifier = Nothing- , _ldiNextToken = Nothing- , _ldiIdentityId = Nothing- , _ldiMaxResults = Nothing- , _ldiIdentityPoolId = pIdentityPoolId_- }----- | A unique ID used by your backend authentication process to identify a user. Typically, a developer identity provider would issue many developer user identifiers, in keeping with the number of users.-ldiDeveloperUserIdentifier :: Lens' LookupDeveloperIdentity (Maybe Text)-ldiDeveloperUserIdentifier = lens _ldiDeveloperUserIdentifier (\ s a -> s{_ldiDeveloperUserIdentifier = a})---- | A pagination token. The first call you make will have @NextToken@ set to null. After that the service will return @NextToken@ values as needed. For example, let's say you make a request with @MaxResults@ set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match.-ldiNextToken :: Lens' LookupDeveloperIdentity (Maybe Text)-ldiNextToken = lens _ldiNextToken (\ s a -> s{_ldiNextToken = a})---- | A unique identifier in the format REGION:GUID.-ldiIdentityId :: Lens' LookupDeveloperIdentity (Maybe Text)-ldiIdentityId = lens _ldiIdentityId (\ s a -> s{_ldiIdentityId = a})---- | The maximum number of identities to return.-ldiMaxResults :: Lens' LookupDeveloperIdentity (Maybe Natural)-ldiMaxResults = lens _ldiMaxResults (\ s a -> s{_ldiMaxResults = a}) . mapping _Nat---- | An identity pool ID in the format REGION:GUID.-ldiIdentityPoolId :: Lens' LookupDeveloperIdentity Text-ldiIdentityPoolId = lens _ldiIdentityPoolId (\ s a -> s{_ldiIdentityPoolId = a})--instance AWSRequest LookupDeveloperIdentity where- type Rs LookupDeveloperIdentity =- LookupDeveloperIdentityResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- LookupDeveloperIdentityResponse' <$>- (x .?> "NextToken") <*> (x .?> "IdentityId") <*>- (x .?> "DeveloperUserIdentifierList" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable LookupDeveloperIdentity where--instance NFData LookupDeveloperIdentity where--instance ToHeaders LookupDeveloperIdentity where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.LookupDeveloperIdentity"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON LookupDeveloperIdentity where- toJSON LookupDeveloperIdentity'{..}- = object- (catMaybes- [("DeveloperUserIdentifier" .=) <$>- _ldiDeveloperUserIdentifier,- ("NextToken" .=) <$> _ldiNextToken,- ("IdentityId" .=) <$> _ldiIdentityId,- ("MaxResults" .=) <$> _ldiMaxResults,- Just ("IdentityPoolId" .= _ldiIdentityPoolId)])--instance ToPath LookupDeveloperIdentity where- toPath = const "/"--instance ToQuery LookupDeveloperIdentity where- toQuery = const mempty---- | Returned in response to a successful @LookupDeveloperIdentity@ action.------------ /See:/ 'lookupDeveloperIdentityResponse' smart constructor.-data LookupDeveloperIdentityResponse = LookupDeveloperIdentityResponse'- { _ldirsNextToken :: !(Maybe Text)- , _ldirsIdentityId :: !(Maybe Text)- , _ldirsDeveloperUserIdentifierList :: !(Maybe [Text])- , _ldirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'LookupDeveloperIdentityResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ldirsNextToken' - A pagination token. The first call you make will have @NextToken@ set to null. After that the service will return @NextToken@ values as needed. For example, let's say you make a request with @MaxResults@ set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match.------ * 'ldirsIdentityId' - A unique identifier in the format REGION:GUID.------ * 'ldirsDeveloperUserIdentifierList' - This is the list of developer user identifiers associated with an identity ID. Cognito supports the association of multiple developer user identifiers with an identity ID.------ * 'ldirsResponseStatus' - -- | The response status code.-lookupDeveloperIdentityResponse- :: Int -- ^ 'ldirsResponseStatus'- -> LookupDeveloperIdentityResponse-lookupDeveloperIdentityResponse pResponseStatus_ =- LookupDeveloperIdentityResponse'- { _ldirsNextToken = Nothing- , _ldirsIdentityId = Nothing- , _ldirsDeveloperUserIdentifierList = Nothing- , _ldirsResponseStatus = pResponseStatus_- }----- | A pagination token. The first call you make will have @NextToken@ set to null. After that the service will return @NextToken@ values as needed. For example, let's say you make a request with @MaxResults@ set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match.-ldirsNextToken :: Lens' LookupDeveloperIdentityResponse (Maybe Text)-ldirsNextToken = lens _ldirsNextToken (\ s a -> s{_ldirsNextToken = a})---- | A unique identifier in the format REGION:GUID.-ldirsIdentityId :: Lens' LookupDeveloperIdentityResponse (Maybe Text)-ldirsIdentityId = lens _ldirsIdentityId (\ s a -> s{_ldirsIdentityId = a})---- | This is the list of developer user identifiers associated with an identity ID. Cognito supports the association of multiple developer user identifiers with an identity ID.-ldirsDeveloperUserIdentifierList :: Lens' LookupDeveloperIdentityResponse [Text]-ldirsDeveloperUserIdentifierList = lens _ldirsDeveloperUserIdentifierList (\ s a -> s{_ldirsDeveloperUserIdentifierList = a}) . _Default . _Coerce---- | -- | The response status code.-ldirsResponseStatus :: Lens' LookupDeveloperIdentityResponse Int-ldirsResponseStatus = lens _ldirsResponseStatus (\ s a -> s{_ldirsResponseStatus = a})--instance NFData LookupDeveloperIdentityResponse where
− gen/Network/AWS/CognitoIdentity/MergeDeveloperIdentities.hs
@@ -1,186 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.MergeDeveloperIdentities--- 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)------ Merges two users having different @IdentityId@ s, existing in the same identity pool, and identified by the same developer provider. You can use this action to request that discrete users be merged and identified as a single user in the Cognito environment. Cognito associates the given source user (@SourceUserIdentifier@ ) with the @IdentityId@ of the @DestinationUserIdentifier@ . Only developer-authenticated users can be merged. If the users to be merged are associated with the same public provider, but as two different users, an exception will be thrown.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.MergeDeveloperIdentities- (- -- * Creating a Request- mergeDeveloperIdentities- , MergeDeveloperIdentities- -- * Request Lenses- , mdiSourceUserIdentifier- , mdiDestinationUserIdentifier- , mdiDeveloperProviderName- , mdiIdentityPoolId-- -- * Destructuring the Response- , mergeDeveloperIdentitiesResponse- , MergeDeveloperIdentitiesResponse- -- * Response Lenses- , mdirsIdentityId- , mdirsResponseStatus- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the @MergeDeveloperIdentities@ action.------------ /See:/ 'mergeDeveloperIdentities' smart constructor.-data MergeDeveloperIdentities = MergeDeveloperIdentities'- { _mdiSourceUserIdentifier :: !Text- , _mdiDestinationUserIdentifier :: !Text- , _mdiDeveloperProviderName :: !Text- , _mdiIdentityPoolId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MergeDeveloperIdentities' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mdiSourceUserIdentifier' - User identifier for the source user. The value should be a @DeveloperUserIdentifier@ .------ * 'mdiDestinationUserIdentifier' - User identifier for the destination user. The value should be a @DeveloperUserIdentifier@ .------ * 'mdiDeveloperProviderName' - The "domain" by which Cognito will refer to your users. This is a (pseudo) domain name that you provide while creating an identity pool. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the @DeveloperProviderName@ , you can use letters as well as period (.), underscore (_), and dash (-).------ * 'mdiIdentityPoolId' - An identity pool ID in the format REGION:GUID.-mergeDeveloperIdentities- :: Text -- ^ 'mdiSourceUserIdentifier'- -> Text -- ^ 'mdiDestinationUserIdentifier'- -> Text -- ^ 'mdiDeveloperProviderName'- -> Text -- ^ 'mdiIdentityPoolId'- -> MergeDeveloperIdentities-mergeDeveloperIdentities pSourceUserIdentifier_ pDestinationUserIdentifier_ pDeveloperProviderName_ pIdentityPoolId_ =- MergeDeveloperIdentities'- { _mdiSourceUserIdentifier = pSourceUserIdentifier_- , _mdiDestinationUserIdentifier = pDestinationUserIdentifier_- , _mdiDeveloperProviderName = pDeveloperProviderName_- , _mdiIdentityPoolId = pIdentityPoolId_- }----- | User identifier for the source user. The value should be a @DeveloperUserIdentifier@ .-mdiSourceUserIdentifier :: Lens' MergeDeveloperIdentities Text-mdiSourceUserIdentifier = lens _mdiSourceUserIdentifier (\ s a -> s{_mdiSourceUserIdentifier = a})---- | User identifier for the destination user. The value should be a @DeveloperUserIdentifier@ .-mdiDestinationUserIdentifier :: Lens' MergeDeveloperIdentities Text-mdiDestinationUserIdentifier = lens _mdiDestinationUserIdentifier (\ s a -> s{_mdiDestinationUserIdentifier = a})---- | The "domain" by which Cognito will refer to your users. This is a (pseudo) domain name that you provide while creating an identity pool. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the @DeveloperProviderName@ , you can use letters as well as period (.), underscore (_), and dash (-).-mdiDeveloperProviderName :: Lens' MergeDeveloperIdentities Text-mdiDeveloperProviderName = lens _mdiDeveloperProviderName (\ s a -> s{_mdiDeveloperProviderName = a})---- | An identity pool ID in the format REGION:GUID.-mdiIdentityPoolId :: Lens' MergeDeveloperIdentities Text-mdiIdentityPoolId = lens _mdiIdentityPoolId (\ s a -> s{_mdiIdentityPoolId = a})--instance AWSRequest MergeDeveloperIdentities where- type Rs MergeDeveloperIdentities =- MergeDeveloperIdentitiesResponse- request = postJSON cognitoIdentity- response- = receiveJSON- (\ s h x ->- MergeDeveloperIdentitiesResponse' <$>- (x .?> "IdentityId") <*> (pure (fromEnum s)))--instance Hashable MergeDeveloperIdentities where--instance NFData MergeDeveloperIdentities where--instance ToHeaders MergeDeveloperIdentities where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.MergeDeveloperIdentities"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON MergeDeveloperIdentities where- toJSON MergeDeveloperIdentities'{..}- = object- (catMaybes- [Just- ("SourceUserIdentifier" .= _mdiSourceUserIdentifier),- Just- ("DestinationUserIdentifier" .=- _mdiDestinationUserIdentifier),- Just- ("DeveloperProviderName" .=- _mdiDeveloperProviderName),- Just ("IdentityPoolId" .= _mdiIdentityPoolId)])--instance ToPath MergeDeveloperIdentities where- toPath = const "/"--instance ToQuery MergeDeveloperIdentities where- toQuery = const mempty---- | Returned in response to a successful @MergeDeveloperIdentities@ action.------------ /See:/ 'mergeDeveloperIdentitiesResponse' smart constructor.-data MergeDeveloperIdentitiesResponse = MergeDeveloperIdentitiesResponse'- { _mdirsIdentityId :: !(Maybe Text)- , _mdirsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MergeDeveloperIdentitiesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mdirsIdentityId' - A unique identifier in the format REGION:GUID.------ * 'mdirsResponseStatus' - -- | The response status code.-mergeDeveloperIdentitiesResponse- :: Int -- ^ 'mdirsResponseStatus'- -> MergeDeveloperIdentitiesResponse-mergeDeveloperIdentitiesResponse pResponseStatus_ =- MergeDeveloperIdentitiesResponse'- {_mdirsIdentityId = Nothing, _mdirsResponseStatus = pResponseStatus_}----- | A unique identifier in the format REGION:GUID.-mdirsIdentityId :: Lens' MergeDeveloperIdentitiesResponse (Maybe Text)-mdirsIdentityId = lens _mdirsIdentityId (\ s a -> s{_mdirsIdentityId = a})---- | -- | The response status code.-mdirsResponseStatus :: Lens' MergeDeveloperIdentitiesResponse Int-mdirsResponseStatus = lens _mdirsResponseStatus (\ s a -> s{_mdirsResponseStatus = a})--instance NFData MergeDeveloperIdentitiesResponse- where
− gen/Network/AWS/CognitoIdentity/SetIdentityPoolRoles.hs
@@ -1,139 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.SetIdentityPoolRoles--- 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)------ Sets the roles for an identity pool. These roles are used when making calls to 'GetCredentialsForIdentity' action.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.SetIdentityPoolRoles- (- -- * Creating a Request- setIdentityPoolRoles- , SetIdentityPoolRoles- -- * Request Lenses- , siprRoleMappings- , siprIdentityPoolId- , siprRoles-- -- * Destructuring the Response- , setIdentityPoolRolesResponse- , SetIdentityPoolRolesResponse- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the @SetIdentityPoolRoles@ action.------------ /See:/ 'setIdentityPoolRoles' smart constructor.-data SetIdentityPoolRoles = SetIdentityPoolRoles'- { _siprRoleMappings :: !(Maybe (Map Text RoleMapping))- , _siprIdentityPoolId :: !Text- , _siprRoles :: !(Map Text Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SetIdentityPoolRoles' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'siprRoleMappings' - How users for a specific identity provider are to mapped to roles. This is a string to 'RoleMapping' object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id". Up to 25 rules can be specified per identity provider.------ * 'siprIdentityPoolId' - An identity pool ID in the format REGION:GUID.------ * 'siprRoles' - The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.-setIdentityPoolRoles- :: Text -- ^ 'siprIdentityPoolId'- -> SetIdentityPoolRoles-setIdentityPoolRoles pIdentityPoolId_ =- SetIdentityPoolRoles'- { _siprRoleMappings = Nothing- , _siprIdentityPoolId = pIdentityPoolId_- , _siprRoles = mempty- }----- | How users for a specific identity provider are to mapped to roles. This is a string to 'RoleMapping' object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id". Up to 25 rules can be specified per identity provider.-siprRoleMappings :: Lens' SetIdentityPoolRoles (HashMap Text RoleMapping)-siprRoleMappings = lens _siprRoleMappings (\ s a -> s{_siprRoleMappings = a}) . _Default . _Map---- | An identity pool ID in the format REGION:GUID.-siprIdentityPoolId :: Lens' SetIdentityPoolRoles Text-siprIdentityPoolId = lens _siprIdentityPoolId (\ s a -> s{_siprIdentityPoolId = a})---- | The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.-siprRoles :: Lens' SetIdentityPoolRoles (HashMap Text Text)-siprRoles = lens _siprRoles (\ s a -> s{_siprRoles = a}) . _Map--instance AWSRequest SetIdentityPoolRoles where- type Rs SetIdentityPoolRoles =- SetIdentityPoolRolesResponse- request = postJSON cognitoIdentity- response = receiveNull SetIdentityPoolRolesResponse'--instance Hashable SetIdentityPoolRoles where--instance NFData SetIdentityPoolRoles where--instance ToHeaders SetIdentityPoolRoles where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.SetIdentityPoolRoles" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON SetIdentityPoolRoles where- toJSON SetIdentityPoolRoles'{..}- = object- (catMaybes- [("RoleMappings" .=) <$> _siprRoleMappings,- Just ("IdentityPoolId" .= _siprIdentityPoolId),- Just ("Roles" .= _siprRoles)])--instance ToPath SetIdentityPoolRoles where- toPath = const "/"--instance ToQuery SetIdentityPoolRoles where- toQuery = const mempty---- | /See:/ 'setIdentityPoolRolesResponse' smart constructor.-data SetIdentityPoolRolesResponse =- SetIdentityPoolRolesResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SetIdentityPoolRolesResponse' with the minimum fields required to make a request.----setIdentityPoolRolesResponse- :: SetIdentityPoolRolesResponse-setIdentityPoolRolesResponse = SetIdentityPoolRolesResponse'---instance NFData SetIdentityPoolRolesResponse where
− gen/Network/AWS/CognitoIdentity/Types.hs
@@ -1,242 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.Types--- 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)----module Network.AWS.CognitoIdentity.Types- (- -- * Service Configuration- cognitoIdentity-- -- * Errors- , _InvalidIdentityPoolConfigurationException- , _InvalidParameterException- , _NotAuthorizedException- , _InternalErrorException- , _ExternalServiceException- , _TooManyRequestsException- , _ConcurrentModificationException- , _ResourceConflictException- , _DeveloperUserAlreadyRegisteredException- , _ResourceNotFoundException- , _LimitExceededException-- -- * AmbiguousRoleResolutionType- , AmbiguousRoleResolutionType (..)-- -- * CognitoErrorCode- , CognitoErrorCode (..)-- -- * MappingRuleMatchType- , MappingRuleMatchType (..)-- -- * RoleMappingType- , RoleMappingType (..)-- -- * CognitoIdentityProvider- , CognitoIdentityProvider- , cognitoIdentityProvider- , cipClientId- , cipServerSideTokenCheck- , cipProviderName-- -- * Credentials- , Credentials- , credentials- , cSessionToken- , cExpiration- , cSecretKey- , cAccessKeyId-- -- * IdentityDescription- , IdentityDescription- , identityDescription- , idLastModifiedDate- , idCreationDate- , idLogins- , idIdentityId-- -- * IdentityPool- , IdentityPool- , identityPool- , ipSamlProviderARNs- , ipSupportedLoginProviders- , ipDeveloperProviderName- , ipOpenIdConnectProviderARNs- , ipCognitoIdentityProviders- , ipIdentityPoolId- , ipIdentityPoolName- , ipAllowUnauthenticatedIdentities-- -- * IdentityPoolShortDescription- , IdentityPoolShortDescription- , identityPoolShortDescription- , ipsdIdentityPoolId- , ipsdIdentityPoolName-- -- * MappingRule- , MappingRule- , mappingRule- , mrClaim- , mrMatchType- , mrValue- , mrRoleARN-- -- * RoleMapping- , RoleMapping- , roleMapping- , rmRulesConfiguration- , rmAmbiguousRoleResolution- , rmType-- -- * RulesConfigurationType- , RulesConfigurationType- , rulesConfigurationType- , rctRules-- -- * UnprocessedIdentityId- , UnprocessedIdentityId- , unprocessedIdentityId- , uiiErrorCode- , uiiIdentityId- ) where--import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.CognitoIdentity.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2014-06-30@ of the Amazon Cognito Identity SDK configuration.-cognitoIdentity :: Service-cognitoIdentity =- Service- { _svcAbbrev = "CognitoIdentity"- , _svcSigner = v4- , _svcPrefix = "cognito-identity"- , _svcVersion = "2014-06-30"- , _svcEndpoint = defaultEndpoint cognitoIdentity- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "CognitoIdentity"- , _svcRetry = retry- }- where- retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }- check e- | has (hasCode "ThrottledException" . hasStatus 400) e =- Just "throttled_exception"- | has (hasStatus 429) e = Just "too_many_requests"- | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"- | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"- | has (hasStatus 504) e = Just "gateway_timeout"- | has (hasCode "RequestThrottledException" . hasStatus 400) e =- Just "request_throttled_exception"- | has (hasStatus 502) e = Just "bad_gateway"- | has (hasStatus 503) e = Just "service_unavailable"- | has (hasStatus 500) e = Just "general_server_error"- | has (hasStatus 509) e = Just "limit_exceeded"- | otherwise = Nothing----- | Thrown if the identity pool has no role associated for the given auth type (auth/unauth) or if the AssumeRole fails.-------_InvalidIdentityPoolConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidIdentityPoolConfigurationException =- _MatchServiceError cognitoIdentity "InvalidIdentityPoolConfigurationException"----- | Thrown for missing or bad input parameter(s).-------_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidParameterException =- _MatchServiceError cognitoIdentity "InvalidParameterException"----- | Thrown when a user is not authorized to access the requested resource.-------_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError-_NotAuthorizedException =- _MatchServiceError cognitoIdentity "NotAuthorizedException"----- | Thrown when the service encounters an error during processing the request.-------_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError-_InternalErrorException =- _MatchServiceError cognitoIdentity "InternalErrorException"----- | An exception thrown when a dependent service such as Facebook or Twitter is not responding-------_ExternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError-_ExternalServiceException =- _MatchServiceError cognitoIdentity "ExternalServiceException"----- | Thrown when a request is throttled.-------_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError-_TooManyRequestsException =- _MatchServiceError cognitoIdentity "TooManyRequestsException"----- | Thrown if there are parallel requests to modify a resource.-------_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError-_ConcurrentModificationException =- _MatchServiceError cognitoIdentity "ConcurrentModificationException"----- | Thrown when a user tries to use a login which is already linked to another account.-------_ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError-_ResourceConflictException =- _MatchServiceError cognitoIdentity "ResourceConflictException"----- | The provided developer user identifier is already registered with Cognito under a different identity ID.-------_DeveloperUserAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError-_DeveloperUserAlreadyRegisteredException =- _MatchServiceError cognitoIdentity "DeveloperUserAlreadyRegisteredException"----- | Thrown when the requested resource (for example, a dataset or record) does not exist.-------_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ResourceNotFoundException =- _MatchServiceError cognitoIdentity "ResourceNotFoundException"----- | Thrown when the total number of user pools has exceeded a preset limit.-------_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_LimitExceededException =- _MatchServiceError cognitoIdentity "LimitExceededException"-
− gen/Network/AWS/CognitoIdentity/Types/Product.hs
@@ -1,607 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.Types.Product--- 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)----module Network.AWS.CognitoIdentity.Types.Product where--import Network.AWS.CognitoIdentity.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | A provider representing an Amazon Cognito Identity User Pool and its client ID.------------ /See:/ 'cognitoIdentityProvider' smart constructor.-data CognitoIdentityProvider = CognitoIdentityProvider'- { _cipClientId :: !(Maybe Text)- , _cipServerSideTokenCheck :: !(Maybe Bool)- , _cipProviderName :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CognitoIdentityProvider' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cipClientId' - The client ID for the Amazon Cognito Identity User Pool.------ * 'cipServerSideTokenCheck' - TRUE if server-side token validation is enabled for the identity provider’s token.------ * 'cipProviderName' - The provider name for an Amazon Cognito Identity User Pool. For example, @cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789@ .-cognitoIdentityProvider- :: CognitoIdentityProvider-cognitoIdentityProvider =- CognitoIdentityProvider'- { _cipClientId = Nothing- , _cipServerSideTokenCheck = Nothing- , _cipProviderName = Nothing- }----- | The client ID for the Amazon Cognito Identity User Pool.-cipClientId :: Lens' CognitoIdentityProvider (Maybe Text)-cipClientId = lens _cipClientId (\ s a -> s{_cipClientId = a})---- | TRUE if server-side token validation is enabled for the identity provider’s token.-cipServerSideTokenCheck :: Lens' CognitoIdentityProvider (Maybe Bool)-cipServerSideTokenCheck = lens _cipServerSideTokenCheck (\ s a -> s{_cipServerSideTokenCheck = a})---- | The provider name for an Amazon Cognito Identity User Pool. For example, @cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789@ .-cipProviderName :: Lens' CognitoIdentityProvider (Maybe Text)-cipProviderName = lens _cipProviderName (\ s a -> s{_cipProviderName = a})--instance FromJSON CognitoIdentityProvider where- parseJSON- = withObject "CognitoIdentityProvider"- (\ x ->- CognitoIdentityProvider' <$>- (x .:? "ClientId") <*> (x .:? "ServerSideTokenCheck")- <*> (x .:? "ProviderName"))--instance Hashable CognitoIdentityProvider where--instance NFData CognitoIdentityProvider where--instance ToJSON CognitoIdentityProvider where- toJSON CognitoIdentityProvider'{..}- = object- (catMaybes- [("ClientId" .=) <$> _cipClientId,- ("ServerSideTokenCheck" .=) <$>- _cipServerSideTokenCheck,- ("ProviderName" .=) <$> _cipProviderName])---- | Credentials for the provided identity ID.------------ /See:/ 'credentials' smart constructor.-data Credentials = Credentials'- { _cSessionToken :: !(Maybe Text)- , _cExpiration :: !(Maybe POSIX)- , _cSecretKey :: !(Maybe Text)- , _cAccessKeyId :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Credentials' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cSessionToken' - The Session Token portion of the credentials------ * 'cExpiration' - The date at which these credentials will expire.------ * 'cSecretKey' - The Secret Access Key portion of the credentials------ * 'cAccessKeyId' - The Access Key portion of the credentials.-credentials- :: Credentials-credentials =- Credentials'- { _cSessionToken = Nothing- , _cExpiration = Nothing- , _cSecretKey = Nothing- , _cAccessKeyId = Nothing- }----- | The Session Token portion of the credentials-cSessionToken :: Lens' Credentials (Maybe Text)-cSessionToken = lens _cSessionToken (\ s a -> s{_cSessionToken = a})---- | The date at which these credentials will expire.-cExpiration :: Lens' Credentials (Maybe UTCTime)-cExpiration = lens _cExpiration (\ s a -> s{_cExpiration = a}) . mapping _Time---- | The Secret Access Key portion of the credentials-cSecretKey :: Lens' Credentials (Maybe Text)-cSecretKey = lens _cSecretKey (\ s a -> s{_cSecretKey = a})---- | The Access Key portion of the credentials.-cAccessKeyId :: Lens' Credentials (Maybe Text)-cAccessKeyId = lens _cAccessKeyId (\ s a -> s{_cAccessKeyId = a})--instance FromJSON Credentials where- parseJSON- = withObject "Credentials"- (\ x ->- Credentials' <$>- (x .:? "SessionToken") <*> (x .:? "Expiration") <*>- (x .:? "SecretKey")- <*> (x .:? "AccessKeyId"))--instance Hashable Credentials where--instance NFData Credentials where---- | A description of the identity.------------ /See:/ 'identityDescription' smart constructor.-data IdentityDescription = IdentityDescription'- { _idLastModifiedDate :: !(Maybe POSIX)- , _idCreationDate :: !(Maybe POSIX)- , _idLogins :: !(Maybe [Text])- , _idIdentityId :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'IdentityDescription' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'idLastModifiedDate' - Date on which the identity was last modified.------ * 'idCreationDate' - Date on which the identity was created.------ * 'idLogins' - A set of optional name-value pairs that map provider names to provider tokens.------ * 'idIdentityId' - A unique identifier in the format REGION:GUID.-identityDescription- :: IdentityDescription-identityDescription =- IdentityDescription'- { _idLastModifiedDate = Nothing- , _idCreationDate = Nothing- , _idLogins = Nothing- , _idIdentityId = Nothing- }----- | Date on which the identity was last modified.-idLastModifiedDate :: Lens' IdentityDescription (Maybe UTCTime)-idLastModifiedDate = lens _idLastModifiedDate (\ s a -> s{_idLastModifiedDate = a}) . mapping _Time---- | Date on which the identity was created.-idCreationDate :: Lens' IdentityDescription (Maybe UTCTime)-idCreationDate = lens _idCreationDate (\ s a -> s{_idCreationDate = a}) . mapping _Time---- | A set of optional name-value pairs that map provider names to provider tokens.-idLogins :: Lens' IdentityDescription [Text]-idLogins = lens _idLogins (\ s a -> s{_idLogins = a}) . _Default . _Coerce---- | A unique identifier in the format REGION:GUID.-idIdentityId :: Lens' IdentityDescription (Maybe Text)-idIdentityId = lens _idIdentityId (\ s a -> s{_idIdentityId = a})--instance FromJSON IdentityDescription where- parseJSON- = withObject "IdentityDescription"- (\ x ->- IdentityDescription' <$>- (x .:? "LastModifiedDate") <*> (x .:? "CreationDate")- <*> (x .:? "Logins" .!= mempty)- <*> (x .:? "IdentityId"))--instance Hashable IdentityDescription where--instance NFData IdentityDescription where---- | An object representing an Amazon Cognito identity pool.------------ /See:/ 'identityPool' smart constructor.-data IdentityPool = IdentityPool'- { _ipSamlProviderARNs :: !(Maybe [Text])- , _ipSupportedLoginProviders :: !(Maybe (Map Text Text))- , _ipDeveloperProviderName :: !(Maybe Text)- , _ipOpenIdConnectProviderARNs :: !(Maybe [Text])- , _ipCognitoIdentityProviders :: !(Maybe [CognitoIdentityProvider])- , _ipIdentityPoolId :: !Text- , _ipIdentityPoolName :: !Text- , _ipAllowUnauthenticatedIdentities :: !Bool- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'IdentityPool' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ipSamlProviderARNs' - An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.------ * 'ipSupportedLoginProviders' - Optional key:value pairs mapping provider names to provider app IDs.------ * 'ipDeveloperProviderName' - The "domain" by which Cognito will refer to your users.------ * 'ipOpenIdConnectProviderARNs' - A list of OpendID Connect provider ARNs.------ * 'ipCognitoIdentityProviders' - A list representing an Amazon Cognito Identity User Pool and its client ID.------ * 'ipIdentityPoolId' - An identity pool ID in the format REGION:GUID.------ * 'ipIdentityPoolName' - A string that you provide.------ * 'ipAllowUnauthenticatedIdentities' - TRUE if the identity pool supports unauthenticated logins.-identityPool- :: Text -- ^ 'ipIdentityPoolId'- -> Text -- ^ 'ipIdentityPoolName'- -> Bool -- ^ 'ipAllowUnauthenticatedIdentities'- -> IdentityPool-identityPool pIdentityPoolId_ pIdentityPoolName_ pAllowUnauthenticatedIdentities_ =- IdentityPool'- { _ipSamlProviderARNs = Nothing- , _ipSupportedLoginProviders = Nothing- , _ipDeveloperProviderName = Nothing- , _ipOpenIdConnectProviderARNs = Nothing- , _ipCognitoIdentityProviders = Nothing- , _ipIdentityPoolId = pIdentityPoolId_- , _ipIdentityPoolName = pIdentityPoolName_- , _ipAllowUnauthenticatedIdentities = pAllowUnauthenticatedIdentities_- }----- | An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.-ipSamlProviderARNs :: Lens' IdentityPool [Text]-ipSamlProviderARNs = lens _ipSamlProviderARNs (\ s a -> s{_ipSamlProviderARNs = a}) . _Default . _Coerce---- | Optional key:value pairs mapping provider names to provider app IDs.-ipSupportedLoginProviders :: Lens' IdentityPool (HashMap Text Text)-ipSupportedLoginProviders = lens _ipSupportedLoginProviders (\ s a -> s{_ipSupportedLoginProviders = a}) . _Default . _Map---- | The "domain" by which Cognito will refer to your users.-ipDeveloperProviderName :: Lens' IdentityPool (Maybe Text)-ipDeveloperProviderName = lens _ipDeveloperProviderName (\ s a -> s{_ipDeveloperProviderName = a})---- | A list of OpendID Connect provider ARNs.-ipOpenIdConnectProviderARNs :: Lens' IdentityPool [Text]-ipOpenIdConnectProviderARNs = lens _ipOpenIdConnectProviderARNs (\ s a -> s{_ipOpenIdConnectProviderARNs = a}) . _Default . _Coerce---- | A list representing an Amazon Cognito Identity User Pool and its client ID.-ipCognitoIdentityProviders :: Lens' IdentityPool [CognitoIdentityProvider]-ipCognitoIdentityProviders = lens _ipCognitoIdentityProviders (\ s a -> s{_ipCognitoIdentityProviders = a}) . _Default . _Coerce---- | An identity pool ID in the format REGION:GUID.-ipIdentityPoolId :: Lens' IdentityPool Text-ipIdentityPoolId = lens _ipIdentityPoolId (\ s a -> s{_ipIdentityPoolId = a})---- | A string that you provide.-ipIdentityPoolName :: Lens' IdentityPool Text-ipIdentityPoolName = lens _ipIdentityPoolName (\ s a -> s{_ipIdentityPoolName = a})---- | TRUE if the identity pool supports unauthenticated logins.-ipAllowUnauthenticatedIdentities :: Lens' IdentityPool Bool-ipAllowUnauthenticatedIdentities = lens _ipAllowUnauthenticatedIdentities (\ s a -> s{_ipAllowUnauthenticatedIdentities = a})--instance FromJSON IdentityPool where- parseJSON- = withObject "IdentityPool"- (\ x ->- IdentityPool' <$>- (x .:? "SamlProviderARNs" .!= mempty) <*>- (x .:? "SupportedLoginProviders" .!= mempty)- <*> (x .:? "DeveloperProviderName")- <*> (x .:? "OpenIdConnectProviderARNs" .!= mempty)- <*> (x .:? "CognitoIdentityProviders" .!= mempty)- <*> (x .: "IdentityPoolId")- <*> (x .: "IdentityPoolName")- <*> (x .: "AllowUnauthenticatedIdentities"))--instance Hashable IdentityPool where--instance NFData IdentityPool where--instance ToJSON IdentityPool where- toJSON IdentityPool'{..}- = object- (catMaybes- [("SamlProviderARNs" .=) <$> _ipSamlProviderARNs,- ("SupportedLoginProviders" .=) <$>- _ipSupportedLoginProviders,- ("DeveloperProviderName" .=) <$>- _ipDeveloperProviderName,- ("OpenIdConnectProviderARNs" .=) <$>- _ipOpenIdConnectProviderARNs,- ("CognitoIdentityProviders" .=) <$>- _ipCognitoIdentityProviders,- Just ("IdentityPoolId" .= _ipIdentityPoolId),- Just ("IdentityPoolName" .= _ipIdentityPoolName),- Just- ("AllowUnauthenticatedIdentities" .=- _ipAllowUnauthenticatedIdentities)])---- | A description of the identity pool.------------ /See:/ 'identityPoolShortDescription' smart constructor.-data IdentityPoolShortDescription = IdentityPoolShortDescription'- { _ipsdIdentityPoolId :: !(Maybe Text)- , _ipsdIdentityPoolName :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'IdentityPoolShortDescription' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ipsdIdentityPoolId' - An identity pool ID in the format REGION:GUID.------ * 'ipsdIdentityPoolName' - A string that you provide.-identityPoolShortDescription- :: IdentityPoolShortDescription-identityPoolShortDescription =- IdentityPoolShortDescription'- {_ipsdIdentityPoolId = Nothing, _ipsdIdentityPoolName = Nothing}----- | An identity pool ID in the format REGION:GUID.-ipsdIdentityPoolId :: Lens' IdentityPoolShortDescription (Maybe Text)-ipsdIdentityPoolId = lens _ipsdIdentityPoolId (\ s a -> s{_ipsdIdentityPoolId = a})---- | A string that you provide.-ipsdIdentityPoolName :: Lens' IdentityPoolShortDescription (Maybe Text)-ipsdIdentityPoolName = lens _ipsdIdentityPoolName (\ s a -> s{_ipsdIdentityPoolName = a})--instance FromJSON IdentityPoolShortDescription where- parseJSON- = withObject "IdentityPoolShortDescription"- (\ x ->- IdentityPoolShortDescription' <$>- (x .:? "IdentityPoolId") <*>- (x .:? "IdentityPoolName"))--instance Hashable IdentityPoolShortDescription where--instance NFData IdentityPoolShortDescription where---- | A rule that maps a claim name, a claim value, and a match type to a role ARN.------------ /See:/ 'mappingRule' smart constructor.-data MappingRule = MappingRule'- { _mrClaim :: !Text- , _mrMatchType :: !MappingRuleMatchType- , _mrValue :: !Text- , _mrRoleARN :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MappingRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mrClaim' - The claim name that must be present in the token, for example, "isAdmin" or "paid".------ * 'mrMatchType' - The match condition that specifies how closely the claim value in the IdP token must match @Value@ .------ * 'mrValue' - A brief string that the claim must match, for example, "paid" or "yes".------ * 'mrRoleARN' - The role ARN.-mappingRule- :: Text -- ^ 'mrClaim'- -> MappingRuleMatchType -- ^ 'mrMatchType'- -> Text -- ^ 'mrValue'- -> Text -- ^ 'mrRoleARN'- -> MappingRule-mappingRule pClaim_ pMatchType_ pValue_ pRoleARN_ =- MappingRule'- { _mrClaim = pClaim_- , _mrMatchType = pMatchType_- , _mrValue = pValue_- , _mrRoleARN = pRoleARN_- }----- | The claim name that must be present in the token, for example, "isAdmin" or "paid".-mrClaim :: Lens' MappingRule Text-mrClaim = lens _mrClaim (\ s a -> s{_mrClaim = a})---- | The match condition that specifies how closely the claim value in the IdP token must match @Value@ .-mrMatchType :: Lens' MappingRule MappingRuleMatchType-mrMatchType = lens _mrMatchType (\ s a -> s{_mrMatchType = a})---- | A brief string that the claim must match, for example, "paid" or "yes".-mrValue :: Lens' MappingRule Text-mrValue = lens _mrValue (\ s a -> s{_mrValue = a})---- | The role ARN.-mrRoleARN :: Lens' MappingRule Text-mrRoleARN = lens _mrRoleARN (\ s a -> s{_mrRoleARN = a})--instance FromJSON MappingRule where- parseJSON- = withObject "MappingRule"- (\ x ->- MappingRule' <$>- (x .: "Claim") <*> (x .: "MatchType") <*>- (x .: "Value")- <*> (x .: "RoleARN"))--instance Hashable MappingRule where--instance NFData MappingRule where--instance ToJSON MappingRule where- toJSON MappingRule'{..}- = object- (catMaybes- [Just ("Claim" .= _mrClaim),- Just ("MatchType" .= _mrMatchType),- Just ("Value" .= _mrValue),- Just ("RoleARN" .= _mrRoleARN)])---- | A role mapping.------------ /See:/ 'roleMapping' smart constructor.-data RoleMapping = RoleMapping'- { _rmRulesConfiguration :: !(Maybe RulesConfigurationType)- , _rmAmbiguousRoleResolution :: !(Maybe AmbiguousRoleResolutionType)- , _rmType :: !RoleMappingType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RoleMapping' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rmRulesConfiguration' - The rules to be used for mapping users to roles. If you specify Rules as the role mapping type, @RulesConfiguration@ is required.------ * 'rmAmbiguousRoleResolution' - If you specify Token or Rules as the @Type@ , @AmbiguousRoleResolution@ is required. Specifies the action to be taken if either no rules match the claim value for the @Rules@ type, or there is no @cognito:preferred_role@ claim and there are multiple @cognito:roles@ matches for the @Token@ type.------ * 'rmType' - The role mapping type. Token will use @cognito:roles@ and @cognito:preferred_role@ claims from the Cognito identity provider token to map groups to roles. Rules will attempt to match claims from the token to map to a role.-roleMapping- :: RoleMappingType -- ^ 'rmType'- -> RoleMapping-roleMapping pType_ =- RoleMapping'- { _rmRulesConfiguration = Nothing- , _rmAmbiguousRoleResolution = Nothing- , _rmType = pType_- }----- | The rules to be used for mapping users to roles. If you specify Rules as the role mapping type, @RulesConfiguration@ is required.-rmRulesConfiguration :: Lens' RoleMapping (Maybe RulesConfigurationType)-rmRulesConfiguration = lens _rmRulesConfiguration (\ s a -> s{_rmRulesConfiguration = a})---- | If you specify Token or Rules as the @Type@ , @AmbiguousRoleResolution@ is required. Specifies the action to be taken if either no rules match the claim value for the @Rules@ type, or there is no @cognito:preferred_role@ claim and there are multiple @cognito:roles@ matches for the @Token@ type.-rmAmbiguousRoleResolution :: Lens' RoleMapping (Maybe AmbiguousRoleResolutionType)-rmAmbiguousRoleResolution = lens _rmAmbiguousRoleResolution (\ s a -> s{_rmAmbiguousRoleResolution = a})---- | The role mapping type. Token will use @cognito:roles@ and @cognito:preferred_role@ claims from the Cognito identity provider token to map groups to roles. Rules will attempt to match claims from the token to map to a role.-rmType :: Lens' RoleMapping RoleMappingType-rmType = lens _rmType (\ s a -> s{_rmType = a})--instance FromJSON RoleMapping where- parseJSON- = withObject "RoleMapping"- (\ x ->- RoleMapping' <$>- (x .:? "RulesConfiguration") <*>- (x .:? "AmbiguousRoleResolution")- <*> (x .: "Type"))--instance Hashable RoleMapping where--instance NFData RoleMapping where--instance ToJSON RoleMapping where- toJSON RoleMapping'{..}- = object- (catMaybes- [("RulesConfiguration" .=) <$> _rmRulesConfiguration,- ("AmbiguousRoleResolution" .=) <$>- _rmAmbiguousRoleResolution,- Just ("Type" .= _rmType)])---- | A container for rules.------------ /See:/ 'rulesConfigurationType' smart constructor.-newtype RulesConfigurationType = RulesConfigurationType'- { _rctRules :: List1 MappingRule- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RulesConfigurationType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rctRules' - An array of rules. You can specify up to 25 rules per identity provider. Rules are evaluated in order. The first one to match specifies the role.-rulesConfigurationType- :: NonEmpty MappingRule -- ^ 'rctRules'- -> RulesConfigurationType-rulesConfigurationType pRules_ =- RulesConfigurationType' {_rctRules = _List1 # pRules_}----- | An array of rules. You can specify up to 25 rules per identity provider. Rules are evaluated in order. The first one to match specifies the role.-rctRules :: Lens' RulesConfigurationType (NonEmpty MappingRule)-rctRules = lens _rctRules (\ s a -> s{_rctRules = a}) . _List1--instance FromJSON RulesConfigurationType where- parseJSON- = withObject "RulesConfigurationType"- (\ x -> RulesConfigurationType' <$> (x .: "Rules"))--instance Hashable RulesConfigurationType where--instance NFData RulesConfigurationType where--instance ToJSON RulesConfigurationType where- toJSON RulesConfigurationType'{..}- = object (catMaybes [Just ("Rules" .= _rctRules)])---- | An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId.------------ /See:/ 'unprocessedIdentityId' smart constructor.-data UnprocessedIdentityId = UnprocessedIdentityId'- { _uiiErrorCode :: !(Maybe CognitoErrorCode)- , _uiiIdentityId :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UnprocessedIdentityId' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uiiErrorCode' - The error code indicating the type of error that occurred.------ * 'uiiIdentityId' - A unique identifier in the format REGION:GUID.-unprocessedIdentityId- :: UnprocessedIdentityId-unprocessedIdentityId =- UnprocessedIdentityId' {_uiiErrorCode = Nothing, _uiiIdentityId = Nothing}----- | The error code indicating the type of error that occurred.-uiiErrorCode :: Lens' UnprocessedIdentityId (Maybe CognitoErrorCode)-uiiErrorCode = lens _uiiErrorCode (\ s a -> s{_uiiErrorCode = a})---- | A unique identifier in the format REGION:GUID.-uiiIdentityId :: Lens' UnprocessedIdentityId (Maybe Text)-uiiIdentityId = lens _uiiIdentityId (\ s a -> s{_uiiIdentityId = a})--instance FromJSON UnprocessedIdentityId where- parseJSON- = withObject "UnprocessedIdentityId"- (\ x ->- UnprocessedIdentityId' <$>- (x .:? "ErrorCode") <*> (x .:? "IdentityId"))--instance Hashable UnprocessedIdentityId where--instance NFData UnprocessedIdentityId where
− gen/Network/AWS/CognitoIdentity/Types/Sum.hs
@@ -1,143 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.Types.Sum--- 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)----module Network.AWS.CognitoIdentity.Types.Sum where--import Network.AWS.Prelude--data AmbiguousRoleResolutionType- = AuthenticatedRole- | Deny- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText AmbiguousRoleResolutionType where- parser = takeLowerText >>= \case- "authenticatedrole" -> pure AuthenticatedRole- "deny" -> pure Deny- e -> fromTextError $ "Failure parsing AmbiguousRoleResolutionType from value: '" <> e- <> "'. Accepted values: authenticatedrole, deny"--instance ToText AmbiguousRoleResolutionType where- toText = \case- AuthenticatedRole -> "AuthenticatedRole"- Deny -> "Deny"--instance Hashable AmbiguousRoleResolutionType-instance NFData AmbiguousRoleResolutionType-instance ToByteString AmbiguousRoleResolutionType-instance ToQuery AmbiguousRoleResolutionType-instance ToHeader AmbiguousRoleResolutionType--instance ToJSON AmbiguousRoleResolutionType where- toJSON = toJSONText--instance FromJSON AmbiguousRoleResolutionType where- parseJSON = parseJSONText "AmbiguousRoleResolutionType"--data CognitoErrorCode- = AccessDenied- | InternalServerError- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText CognitoErrorCode where- parser = takeLowerText >>= \case- "accessdenied" -> pure AccessDenied- "internalservererror" -> pure InternalServerError- e -> fromTextError $ "Failure parsing CognitoErrorCode from value: '" <> e- <> "'. Accepted values: accessdenied, internalservererror"--instance ToText CognitoErrorCode where- toText = \case- AccessDenied -> "AccessDenied"- InternalServerError -> "InternalServerError"--instance Hashable CognitoErrorCode-instance NFData CognitoErrorCode-instance ToByteString CognitoErrorCode-instance ToQuery CognitoErrorCode-instance ToHeader CognitoErrorCode--instance FromJSON CognitoErrorCode where- parseJSON = parseJSONText "CognitoErrorCode"--data MappingRuleMatchType- = Contains- | Equals- | NotEqual- | StartsWith- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MappingRuleMatchType where- parser = takeLowerText >>= \case- "contains" -> pure Contains- "equals" -> pure Equals- "notequal" -> pure NotEqual- "startswith" -> pure StartsWith- e -> fromTextError $ "Failure parsing MappingRuleMatchType from value: '" <> e- <> "'. Accepted values: contains, equals, notequal, startswith"--instance ToText MappingRuleMatchType where- toText = \case- Contains -> "Contains"- Equals -> "Equals"- NotEqual -> "NotEqual"- StartsWith -> "StartsWith"--instance Hashable MappingRuleMatchType-instance NFData MappingRuleMatchType-instance ToByteString MappingRuleMatchType-instance ToQuery MappingRuleMatchType-instance ToHeader MappingRuleMatchType--instance ToJSON MappingRuleMatchType where- toJSON = toJSONText--instance FromJSON MappingRuleMatchType where- parseJSON = parseJSONText "MappingRuleMatchType"--data RoleMappingType- = Rules- | Token- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText RoleMappingType where- parser = takeLowerText >>= \case- "rules" -> pure Rules- "token" -> pure Token- e -> fromTextError $ "Failure parsing RoleMappingType from value: '" <> e- <> "'. Accepted values: rules, token"--instance ToText RoleMappingType where- toText = \case- Rules -> "Rules"- Token -> "Token"--instance Hashable RoleMappingType-instance NFData RoleMappingType-instance ToByteString RoleMappingType-instance ToQuery RoleMappingType-instance ToHeader RoleMappingType--instance ToJSON RoleMappingType where- toJSON = toJSONText--instance FromJSON RoleMappingType where- parseJSON = parseJSONText "RoleMappingType"
− gen/Network/AWS/CognitoIdentity/UnlinkDeveloperIdentity.hs
@@ -1,157 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity--- 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)------ Unlinks a @DeveloperUserIdentifier@ from an existing identity. Unlinked developer users will be considered new identities next time they are seen. If, for a given Cognito identity, you remove all federated identities as well as the developer user identifier, the Cognito identity becomes inaccessible.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.UnlinkDeveloperIdentity- (- -- * Creating a Request- unlinkDeveloperIdentity- , UnlinkDeveloperIdentity- -- * Request Lenses- , udiIdentityId- , udiIdentityPoolId- , udiDeveloperProviderName- , udiDeveloperUserIdentifier-- -- * Destructuring the Response- , unlinkDeveloperIdentityResponse- , UnlinkDeveloperIdentityResponse- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the @UnlinkDeveloperIdentity@ action.------------ /See:/ 'unlinkDeveloperIdentity' smart constructor.-data UnlinkDeveloperIdentity = UnlinkDeveloperIdentity'- { _udiIdentityId :: !Text- , _udiIdentityPoolId :: !Text- , _udiDeveloperProviderName :: !Text- , _udiDeveloperUserIdentifier :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UnlinkDeveloperIdentity' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'udiIdentityId' - A unique identifier in the format REGION:GUID.------ * 'udiIdentityPoolId' - An identity pool ID in the format REGION:GUID.------ * 'udiDeveloperProviderName' - The "domain" by which Cognito will refer to your users.------ * 'udiDeveloperUserIdentifier' - A unique ID used by your backend authentication process to identify a user.-unlinkDeveloperIdentity- :: Text -- ^ 'udiIdentityId'- -> Text -- ^ 'udiIdentityPoolId'- -> Text -- ^ 'udiDeveloperProviderName'- -> Text -- ^ 'udiDeveloperUserIdentifier'- -> UnlinkDeveloperIdentity-unlinkDeveloperIdentity pIdentityId_ pIdentityPoolId_ pDeveloperProviderName_ pDeveloperUserIdentifier_ =- UnlinkDeveloperIdentity'- { _udiIdentityId = pIdentityId_- , _udiIdentityPoolId = pIdentityPoolId_- , _udiDeveloperProviderName = pDeveloperProviderName_- , _udiDeveloperUserIdentifier = pDeveloperUserIdentifier_- }----- | A unique identifier in the format REGION:GUID.-udiIdentityId :: Lens' UnlinkDeveloperIdentity Text-udiIdentityId = lens _udiIdentityId (\ s a -> s{_udiIdentityId = a})---- | An identity pool ID in the format REGION:GUID.-udiIdentityPoolId :: Lens' UnlinkDeveloperIdentity Text-udiIdentityPoolId = lens _udiIdentityPoolId (\ s a -> s{_udiIdentityPoolId = a})---- | The "domain" by which Cognito will refer to your users.-udiDeveloperProviderName :: Lens' UnlinkDeveloperIdentity Text-udiDeveloperProviderName = lens _udiDeveloperProviderName (\ s a -> s{_udiDeveloperProviderName = a})---- | A unique ID used by your backend authentication process to identify a user.-udiDeveloperUserIdentifier :: Lens' UnlinkDeveloperIdentity Text-udiDeveloperUserIdentifier = lens _udiDeveloperUserIdentifier (\ s a -> s{_udiDeveloperUserIdentifier = a})--instance AWSRequest UnlinkDeveloperIdentity where- type Rs UnlinkDeveloperIdentity =- UnlinkDeveloperIdentityResponse- request = postJSON cognitoIdentity- response- = receiveNull UnlinkDeveloperIdentityResponse'--instance Hashable UnlinkDeveloperIdentity where--instance NFData UnlinkDeveloperIdentity where--instance ToHeaders UnlinkDeveloperIdentity where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.UnlinkDeveloperIdentity"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UnlinkDeveloperIdentity where- toJSON UnlinkDeveloperIdentity'{..}- = object- (catMaybes- [Just ("IdentityId" .= _udiIdentityId),- Just ("IdentityPoolId" .= _udiIdentityPoolId),- Just- ("DeveloperProviderName" .=- _udiDeveloperProviderName),- Just- ("DeveloperUserIdentifier" .=- _udiDeveloperUserIdentifier)])--instance ToPath UnlinkDeveloperIdentity where- toPath = const "/"--instance ToQuery UnlinkDeveloperIdentity where- toQuery = const mempty---- | /See:/ 'unlinkDeveloperIdentityResponse' smart constructor.-data UnlinkDeveloperIdentityResponse =- UnlinkDeveloperIdentityResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UnlinkDeveloperIdentityResponse' with the minimum fields required to make a request.----unlinkDeveloperIdentityResponse- :: UnlinkDeveloperIdentityResponse-unlinkDeveloperIdentityResponse = UnlinkDeveloperIdentityResponse'---instance NFData UnlinkDeveloperIdentityResponse where
− gen/Network/AWS/CognitoIdentity/UnlinkIdentity.hs
@@ -1,138 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.UnlinkIdentity--- 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)------ Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible.--------- This is a public API. You do not need any credentials to call this API.----module Network.AWS.CognitoIdentity.UnlinkIdentity- (- -- * Creating a Request- unlinkIdentity- , UnlinkIdentity- -- * Request Lenses- , uiIdentityId- , uiLogins- , uiLoginsToRemove-- -- * Destructuring the Response- , unlinkIdentityResponse- , UnlinkIdentityResponse- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | Input to the UnlinkIdentity action.------------ /See:/ 'unlinkIdentity' smart constructor.-data UnlinkIdentity = UnlinkIdentity'- { _uiIdentityId :: !Text- , _uiLogins :: !(Map Text Text)- , _uiLoginsToRemove :: ![Text]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UnlinkIdentity' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uiIdentityId' - A unique identifier in the format REGION:GUID.------ * 'uiLogins' - A set of optional name-value pairs that map provider names to provider tokens.------ * 'uiLoginsToRemove' - Provider names to unlink from this identity.-unlinkIdentity- :: Text -- ^ 'uiIdentityId'- -> UnlinkIdentity-unlinkIdentity pIdentityId_ =- UnlinkIdentity'- { _uiIdentityId = pIdentityId_- , _uiLogins = mempty- , _uiLoginsToRemove = mempty- }----- | A unique identifier in the format REGION:GUID.-uiIdentityId :: Lens' UnlinkIdentity Text-uiIdentityId = lens _uiIdentityId (\ s a -> s{_uiIdentityId = a})---- | A set of optional name-value pairs that map provider names to provider tokens.-uiLogins :: Lens' UnlinkIdentity (HashMap Text Text)-uiLogins = lens _uiLogins (\ s a -> s{_uiLogins = a}) . _Map---- | Provider names to unlink from this identity.-uiLoginsToRemove :: Lens' UnlinkIdentity [Text]-uiLoginsToRemove = lens _uiLoginsToRemove (\ s a -> s{_uiLoginsToRemove = a}) . _Coerce--instance AWSRequest UnlinkIdentity where- type Rs UnlinkIdentity = UnlinkIdentityResponse- request = postJSON cognitoIdentity- response = receiveNull UnlinkIdentityResponse'--instance Hashable UnlinkIdentity where--instance NFData UnlinkIdentity where--instance ToHeaders UnlinkIdentity where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.UnlinkIdentity" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UnlinkIdentity where- toJSON UnlinkIdentity'{..}- = object- (catMaybes- [Just ("IdentityId" .= _uiIdentityId),- Just ("Logins" .= _uiLogins),- Just ("LoginsToRemove" .= _uiLoginsToRemove)])--instance ToPath UnlinkIdentity where- toPath = const "/"--instance ToQuery UnlinkIdentity where- toQuery = const mempty---- | /See:/ 'unlinkIdentityResponse' smart constructor.-data UnlinkIdentityResponse =- UnlinkIdentityResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UnlinkIdentityResponse' with the minimum fields required to make a request.----unlinkIdentityResponse- :: UnlinkIdentityResponse-unlinkIdentityResponse = UnlinkIdentityResponse'---instance NFData UnlinkIdentityResponse where
− gen/Network/AWS/CognitoIdentity/UpdateIdentityPool.hs
@@ -1,190 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.UpdateIdentityPool--- 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)------ Updates a user pool.--------- You must use AWS Developer credentials to call this API.----module Network.AWS.CognitoIdentity.UpdateIdentityPool- (- -- * Creating a Request- updateIdentityPool- , UpdateIdentityPool- -- * Request Lenses- , uipSamlProviderARNs- , uipSupportedLoginProviders- , uipDeveloperProviderName- , uipOpenIdConnectProviderARNs- , uipCognitoIdentityProviders- , uipIdentityPoolId- , uipIdentityPoolName- , uipAllowUnauthenticatedIdentities-- -- * Destructuring the Response- , identityPool- , IdentityPool- -- * Response Lenses- , ipSamlProviderARNs- , ipSupportedLoginProviders- , ipDeveloperProviderName- , ipOpenIdConnectProviderARNs- , ipCognitoIdentityProviders- , ipIdentityPoolId- , ipIdentityPoolName- , ipAllowUnauthenticatedIdentities- ) where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.CognitoIdentity.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | An object representing an Amazon Cognito identity pool.------------ /See:/ 'updateIdentityPool' smart constructor.-data UpdateIdentityPool = UpdateIdentityPool'- { _uipSamlProviderARNs :: !(Maybe [Text])- , _uipSupportedLoginProviders :: !(Maybe (Map Text Text))- , _uipDeveloperProviderName :: !(Maybe Text)- , _uipOpenIdConnectProviderARNs :: !(Maybe [Text])- , _uipCognitoIdentityProviders :: !(Maybe [CognitoIdentityProvider])- , _uipIdentityPoolId :: !Text- , _uipIdentityPoolName :: !Text- , _uipAllowUnauthenticatedIdentities :: !Bool- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateIdentityPool' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uipSamlProviderARNs' - An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.------ * 'uipSupportedLoginProviders' - Optional key:value pairs mapping provider names to provider app IDs.------ * 'uipDeveloperProviderName' - The "domain" by which Cognito will refer to your users.------ * 'uipOpenIdConnectProviderARNs' - A list of OpendID Connect provider ARNs.------ * 'uipCognitoIdentityProviders' - A list representing an Amazon Cognito Identity User Pool and its client ID.------ * 'uipIdentityPoolId' - An identity pool ID in the format REGION:GUID.------ * 'uipIdentityPoolName' - A string that you provide.------ * 'uipAllowUnauthenticatedIdentities' - TRUE if the identity pool supports unauthenticated logins.-updateIdentityPool- :: Text -- ^ 'uipIdentityPoolId'- -> Text -- ^ 'uipIdentityPoolName'- -> Bool -- ^ 'uipAllowUnauthenticatedIdentities'- -> UpdateIdentityPool-updateIdentityPool pIdentityPoolId_ pIdentityPoolName_ pAllowUnauthenticatedIdentities_ =- UpdateIdentityPool'- { _uipSamlProviderARNs = Nothing- , _uipSupportedLoginProviders = Nothing- , _uipDeveloperProviderName = Nothing- , _uipOpenIdConnectProviderARNs = Nothing- , _uipCognitoIdentityProviders = Nothing- , _uipIdentityPoolId = pIdentityPoolId_- , _uipIdentityPoolName = pIdentityPoolName_- , _uipAllowUnauthenticatedIdentities = pAllowUnauthenticatedIdentities_- }----- | An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.-uipSamlProviderARNs :: Lens' UpdateIdentityPool [Text]-uipSamlProviderARNs = lens _uipSamlProviderARNs (\ s a -> s{_uipSamlProviderARNs = a}) . _Default . _Coerce---- | Optional key:value pairs mapping provider names to provider app IDs.-uipSupportedLoginProviders :: Lens' UpdateIdentityPool (HashMap Text Text)-uipSupportedLoginProviders = lens _uipSupportedLoginProviders (\ s a -> s{_uipSupportedLoginProviders = a}) . _Default . _Map---- | The "domain" by which Cognito will refer to your users.-uipDeveloperProviderName :: Lens' UpdateIdentityPool (Maybe Text)-uipDeveloperProviderName = lens _uipDeveloperProviderName (\ s a -> s{_uipDeveloperProviderName = a})---- | A list of OpendID Connect provider ARNs.-uipOpenIdConnectProviderARNs :: Lens' UpdateIdentityPool [Text]-uipOpenIdConnectProviderARNs = lens _uipOpenIdConnectProviderARNs (\ s a -> s{_uipOpenIdConnectProviderARNs = a}) . _Default . _Coerce---- | A list representing an Amazon Cognito Identity User Pool and its client ID.-uipCognitoIdentityProviders :: Lens' UpdateIdentityPool [CognitoIdentityProvider]-uipCognitoIdentityProviders = lens _uipCognitoIdentityProviders (\ s a -> s{_uipCognitoIdentityProviders = a}) . _Default . _Coerce---- | An identity pool ID in the format REGION:GUID.-uipIdentityPoolId :: Lens' UpdateIdentityPool Text-uipIdentityPoolId = lens _uipIdentityPoolId (\ s a -> s{_uipIdentityPoolId = a})---- | A string that you provide.-uipIdentityPoolName :: Lens' UpdateIdentityPool Text-uipIdentityPoolName = lens _uipIdentityPoolName (\ s a -> s{_uipIdentityPoolName = a})---- | TRUE if the identity pool supports unauthenticated logins.-uipAllowUnauthenticatedIdentities :: Lens' UpdateIdentityPool Bool-uipAllowUnauthenticatedIdentities = lens _uipAllowUnauthenticatedIdentities (\ s a -> s{_uipAllowUnauthenticatedIdentities = a})--instance AWSRequest UpdateIdentityPool where- type Rs UpdateIdentityPool = IdentityPool- request = postJSON cognitoIdentity- response = receiveJSON (\ s h x -> eitherParseJSON x)--instance Hashable UpdateIdentityPool where--instance NFData UpdateIdentityPool where--instance ToHeaders UpdateIdentityPool where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSCognitoIdentityService.UpdateIdentityPool" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateIdentityPool where- toJSON UpdateIdentityPool'{..}- = object- (catMaybes- [("SamlProviderARNs" .=) <$> _uipSamlProviderARNs,- ("SupportedLoginProviders" .=) <$>- _uipSupportedLoginProviders,- ("DeveloperProviderName" .=) <$>- _uipDeveloperProviderName,- ("OpenIdConnectProviderARNs" .=) <$>- _uipOpenIdConnectProviderARNs,- ("CognitoIdentityProviders" .=) <$>- _uipCognitoIdentityProviders,- Just ("IdentityPoolId" .= _uipIdentityPoolId),- Just ("IdentityPoolName" .= _uipIdentityPoolName),- Just- ("AllowUnauthenticatedIdentities" .=- _uipAllowUnauthenticatedIdentities)])--instance ToPath UpdateIdentityPool where- toPath = const "/"--instance ToQuery UpdateIdentityPool where- toQuery = const mempty
− gen/Network/AWS/CognitoIdentity/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CognitoIdentity.Waiters--- 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)----module Network.AWS.CognitoIdentity.Waiters where--import Network.AWS.CognitoIdentity.Types-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@ -- | -- Module : Main--- Copyright : (c) 2013-2018 Brendan Hay+-- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.CognitoIdentity+import Test.Amazonka.CognitoIdentity.Internal import Test.Tasty-import Test.AWS.CognitoIdentity-import Test.AWS.CognitoIdentity.Internal main :: IO ()-main = defaultMain $ testGroup "CognitoIdentity"- [ testGroup "tests" tests- , testGroup "fixtures" fixtures- ]+main =+ defaultMain $+ testGroup+ "CognitoIdentity"+ [ testGroup "tests" tests,+ testGroup "fixtures" fixtures+ ]
− test/Test/AWS/CognitoIdentity.hs
@@ -1,26 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Module : Test.AWS.CognitoIdentity--- Copyright : (c) 2013-2018 Brendan Hay--- License : This Source Code Form is subject to the terms of--- the Mozilla Public License, v. 2.0.--- A copy of the MPL can be found in the LICENSE file or--- you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.CognitoIdentity- ( tests- , fixtures- ) where--import Network.AWS.CognitoIdentity-import Test.AWS.Gen.CognitoIdentity-import Test.Tasty--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/CognitoIdentity/Internal.hs
@@ -1,16 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Module : Test.AWS.CognitoIdentity.Internal--- Copyright : (c) 2013-2018 Brendan Hay--- License : This Source Code Form is subject to the terms of--- the Mozilla Public License, v. 2.0.--- A copy of the MPL can be found in the LICENSE file or--- you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.CognitoIdentity.Internal where--import Test.AWS.Prelude
− test/Test/AWS/Gen/CognitoIdentity.hs
@@ -1,363 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Test.AWS.Gen.CognitoIdentity--- 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)----module Test.AWS.Gen.CognitoIdentity where--import Data.Proxy-import Network.AWS.CognitoIdentity-import Test.AWS.CognitoIdentity.Internal-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =--- [ testGroup "request"--- [ requestGetOpenIdToken $--- getOpenIdToken------ , requestGetOpenIdTokenForDeveloperIdentity $--- getOpenIdTokenForDeveloperIdentity------ , requestDescribeIdentityPool $--- describeIdentityPool------ , requestGetId $--- getId------ , requestDeleteIdentityPool $--- deleteIdentityPool------ , requestUpdateIdentityPool $--- updateIdentityPool------ , requestUnlinkDeveloperIdentity $--- unlinkDeveloperIdentity------ , requestGetIdentityPoolRoles $--- getIdentityPoolRoles------ , requestListIdentityPools $--- listIdentityPools------ , requestGetCredentialsForIdentity $--- getCredentialsForIdentity------ , requestDeleteIdentities $--- deleteIdentities------ , requestSetIdentityPoolRoles $--- setIdentityPoolRoles------ , requestListIdentities $--- listIdentities------ , requestLookupDeveloperIdentity $--- lookupDeveloperIdentity------ , requestUnlinkIdentity $--- unlinkIdentity------ , requestDescribeIdentity $--- describeIdentity------ , requestCreateIdentityPool $--- createIdentityPool------ , requestMergeDeveloperIdentities $--- mergeDeveloperIdentities------ ]---- , testGroup "response"--- [ responseGetOpenIdToken $--- getOpenIdTokenResponse------ , responseGetOpenIdTokenForDeveloperIdentity $--- getOpenIdTokenForDeveloperIdentityResponse------ , responseDescribeIdentityPool $--- identityPool------ , responseGetId $--- getIdResponse------ , responseDeleteIdentityPool $--- deleteIdentityPoolResponse------ , responseUpdateIdentityPool $--- identityPool------ , responseUnlinkDeveloperIdentity $--- unlinkDeveloperIdentityResponse------ , responseGetIdentityPoolRoles $--- getIdentityPoolRolesResponse------ , responseListIdentityPools $--- listIdentityPoolsResponse------ , responseGetCredentialsForIdentity $--- getCredentialsForIdentityResponse------ , responseDeleteIdentities $--- deleteIdentitiesResponse------ , responseSetIdentityPoolRoles $--- setIdentityPoolRolesResponse------ , responseListIdentities $--- listIdentitiesResponse------ , responseLookupDeveloperIdentity $--- lookupDeveloperIdentityResponse------ , responseUnlinkIdentity $--- unlinkIdentityResponse------ , responseDescribeIdentity $--- identityDescription------ , responseCreateIdentityPool $--- identityPool------ , responseMergeDeveloperIdentities $--- mergeDeveloperIdentitiesResponse------ ]--- ]---- Requests--requestGetOpenIdToken :: GetOpenIdToken -> TestTree-requestGetOpenIdToken = req- "GetOpenIdToken"- "fixture/GetOpenIdToken.yaml"--requestGetOpenIdTokenForDeveloperIdentity :: GetOpenIdTokenForDeveloperIdentity -> TestTree-requestGetOpenIdTokenForDeveloperIdentity = req- "GetOpenIdTokenForDeveloperIdentity"- "fixture/GetOpenIdTokenForDeveloperIdentity.yaml"--requestDescribeIdentityPool :: DescribeIdentityPool -> TestTree-requestDescribeIdentityPool = req- "DescribeIdentityPool"- "fixture/DescribeIdentityPool.yaml"--requestGetId :: GetId -> TestTree-requestGetId = req- "GetId"- "fixture/GetId.yaml"--requestDeleteIdentityPool :: DeleteIdentityPool -> TestTree-requestDeleteIdentityPool = req- "DeleteIdentityPool"- "fixture/DeleteIdentityPool.yaml"--requestUpdateIdentityPool :: UpdateIdentityPool -> TestTree-requestUpdateIdentityPool = req- "UpdateIdentityPool"- "fixture/UpdateIdentityPool.yaml"--requestUnlinkDeveloperIdentity :: UnlinkDeveloperIdentity -> TestTree-requestUnlinkDeveloperIdentity = req- "UnlinkDeveloperIdentity"- "fixture/UnlinkDeveloperIdentity.yaml"--requestGetIdentityPoolRoles :: GetIdentityPoolRoles -> TestTree-requestGetIdentityPoolRoles = req- "GetIdentityPoolRoles"- "fixture/GetIdentityPoolRoles.yaml"--requestListIdentityPools :: ListIdentityPools -> TestTree-requestListIdentityPools = req- "ListIdentityPools"- "fixture/ListIdentityPools.yaml"--requestGetCredentialsForIdentity :: GetCredentialsForIdentity -> TestTree-requestGetCredentialsForIdentity = req- "GetCredentialsForIdentity"- "fixture/GetCredentialsForIdentity.yaml"--requestDeleteIdentities :: DeleteIdentities -> TestTree-requestDeleteIdentities = req- "DeleteIdentities"- "fixture/DeleteIdentities.yaml"--requestSetIdentityPoolRoles :: SetIdentityPoolRoles -> TestTree-requestSetIdentityPoolRoles = req- "SetIdentityPoolRoles"- "fixture/SetIdentityPoolRoles.yaml"--requestListIdentities :: ListIdentities -> TestTree-requestListIdentities = req- "ListIdentities"- "fixture/ListIdentities.yaml"--requestLookupDeveloperIdentity :: LookupDeveloperIdentity -> TestTree-requestLookupDeveloperIdentity = req- "LookupDeveloperIdentity"- "fixture/LookupDeveloperIdentity.yaml"--requestUnlinkIdentity :: UnlinkIdentity -> TestTree-requestUnlinkIdentity = req- "UnlinkIdentity"- "fixture/UnlinkIdentity.yaml"--requestDescribeIdentity :: DescribeIdentity -> TestTree-requestDescribeIdentity = req- "DescribeIdentity"- "fixture/DescribeIdentity.yaml"--requestCreateIdentityPool :: CreateIdentityPool -> TestTree-requestCreateIdentityPool = req- "CreateIdentityPool"- "fixture/CreateIdentityPool.yaml"--requestMergeDeveloperIdentities :: MergeDeveloperIdentities -> TestTree-requestMergeDeveloperIdentities = req- "MergeDeveloperIdentities"- "fixture/MergeDeveloperIdentities.yaml"---- Responses--responseGetOpenIdToken :: GetOpenIdTokenResponse -> TestTree-responseGetOpenIdToken = res- "GetOpenIdTokenResponse"- "fixture/GetOpenIdTokenResponse.proto"- cognitoIdentity- (Proxy :: Proxy GetOpenIdToken)--responseGetOpenIdTokenForDeveloperIdentity :: GetOpenIdTokenForDeveloperIdentityResponse -> TestTree-responseGetOpenIdTokenForDeveloperIdentity = res- "GetOpenIdTokenForDeveloperIdentityResponse"- "fixture/GetOpenIdTokenForDeveloperIdentityResponse.proto"- cognitoIdentity- (Proxy :: Proxy GetOpenIdTokenForDeveloperIdentity)--responseDescribeIdentityPool :: IdentityPool -> TestTree-responseDescribeIdentityPool = res- "DescribeIdentityPoolResponse"- "fixture/DescribeIdentityPoolResponse.proto"- cognitoIdentity- (Proxy :: Proxy DescribeIdentityPool)--responseGetId :: GetIdResponse -> TestTree-responseGetId = res- "GetIdResponse"- "fixture/GetIdResponse.proto"- cognitoIdentity- (Proxy :: Proxy GetId)--responseDeleteIdentityPool :: DeleteIdentityPoolResponse -> TestTree-responseDeleteIdentityPool = res- "DeleteIdentityPoolResponse"- "fixture/DeleteIdentityPoolResponse.proto"- cognitoIdentity- (Proxy :: Proxy DeleteIdentityPool)--responseUpdateIdentityPool :: IdentityPool -> TestTree-responseUpdateIdentityPool = res- "UpdateIdentityPoolResponse"- "fixture/UpdateIdentityPoolResponse.proto"- cognitoIdentity- (Proxy :: Proxy UpdateIdentityPool)--responseUnlinkDeveloperIdentity :: UnlinkDeveloperIdentityResponse -> TestTree-responseUnlinkDeveloperIdentity = res- "UnlinkDeveloperIdentityResponse"- "fixture/UnlinkDeveloperIdentityResponse.proto"- cognitoIdentity- (Proxy :: Proxy UnlinkDeveloperIdentity)--responseGetIdentityPoolRoles :: GetIdentityPoolRolesResponse -> TestTree-responseGetIdentityPoolRoles = res- "GetIdentityPoolRolesResponse"- "fixture/GetIdentityPoolRolesResponse.proto"- cognitoIdentity- (Proxy :: Proxy GetIdentityPoolRoles)--responseListIdentityPools :: ListIdentityPoolsResponse -> TestTree-responseListIdentityPools = res- "ListIdentityPoolsResponse"- "fixture/ListIdentityPoolsResponse.proto"- cognitoIdentity- (Proxy :: Proxy ListIdentityPools)--responseGetCredentialsForIdentity :: GetCredentialsForIdentityResponse -> TestTree-responseGetCredentialsForIdentity = res- "GetCredentialsForIdentityResponse"- "fixture/GetCredentialsForIdentityResponse.proto"- cognitoIdentity- (Proxy :: Proxy GetCredentialsForIdentity)--responseDeleteIdentities :: DeleteIdentitiesResponse -> TestTree-responseDeleteIdentities = res- "DeleteIdentitiesResponse"- "fixture/DeleteIdentitiesResponse.proto"- cognitoIdentity- (Proxy :: Proxy DeleteIdentities)--responseSetIdentityPoolRoles :: SetIdentityPoolRolesResponse -> TestTree-responseSetIdentityPoolRoles = res- "SetIdentityPoolRolesResponse"- "fixture/SetIdentityPoolRolesResponse.proto"- cognitoIdentity- (Proxy :: Proxy SetIdentityPoolRoles)--responseListIdentities :: ListIdentitiesResponse -> TestTree-responseListIdentities = res- "ListIdentitiesResponse"- "fixture/ListIdentitiesResponse.proto"- cognitoIdentity- (Proxy :: Proxy ListIdentities)--responseLookupDeveloperIdentity :: LookupDeveloperIdentityResponse -> TestTree-responseLookupDeveloperIdentity = res- "LookupDeveloperIdentityResponse"- "fixture/LookupDeveloperIdentityResponse.proto"- cognitoIdentity- (Proxy :: Proxy LookupDeveloperIdentity)--responseUnlinkIdentity :: UnlinkIdentityResponse -> TestTree-responseUnlinkIdentity = res- "UnlinkIdentityResponse"- "fixture/UnlinkIdentityResponse.proto"- cognitoIdentity- (Proxy :: Proxy UnlinkIdentity)--responseDescribeIdentity :: IdentityDescription -> TestTree-responseDescribeIdentity = res- "DescribeIdentityResponse"- "fixture/DescribeIdentityResponse.proto"- cognitoIdentity- (Proxy :: Proxy DescribeIdentity)--responseCreateIdentityPool :: IdentityPool -> TestTree-responseCreateIdentityPool = res- "CreateIdentityPoolResponse"- "fixture/CreateIdentityPoolResponse.proto"- cognitoIdentity- (Proxy :: Proxy CreateIdentityPool)--responseMergeDeveloperIdentities :: MergeDeveloperIdentitiesResponse -> TestTree-responseMergeDeveloperIdentities = res- "MergeDeveloperIdentitiesResponse"- "fixture/MergeDeveloperIdentitiesResponse.proto"- cognitoIdentity- (Proxy :: Proxy MergeDeveloperIdentities)
+ test/Test/Amazonka/CognitoIdentity.hs view
@@ -0,0 +1,20 @@+-- |+-- Module : Test.Amazonka.CognitoIdentity+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.CognitoIdentity+ ( tests,+ fixtures,+ )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/CognitoIdentity/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module : Test.Amazonka.CognitoIdentity.Internal+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.CognitoIdentity.Internal where
+ test/Test/Amazonka/Gen/CognitoIdentity.hs view
@@ -0,0 +1,498 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Test.Amazonka.Gen.CognitoIdentity+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.CognitoIdentity where++import Amazonka.CognitoIdentity+import qualified Data.Proxy as Proxy+import Test.Amazonka.CognitoIdentity.Internal+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+-- [ testGroup "request"+-- [ requestCreateIdentityPool $+-- newCreateIdentityPool+--+-- , requestDeleteIdentities $+-- newDeleteIdentities+--+-- , requestDeleteIdentityPool $+-- newDeleteIdentityPool+--+-- , requestDescribeIdentity $+-- newDescribeIdentity+--+-- , requestDescribeIdentityPool $+-- newDescribeIdentityPool+--+-- , requestGetCredentialsForIdentity $+-- newGetCredentialsForIdentity+--+-- , requestGetId $+-- newGetId+--+-- , requestGetIdentityPoolRoles $+-- newGetIdentityPoolRoles+--+-- , requestGetOpenIdToken $+-- newGetOpenIdToken+--+-- , requestGetOpenIdTokenForDeveloperIdentity $+-- newGetOpenIdTokenForDeveloperIdentity+--+-- , requestGetPrincipalTagAttributeMap $+-- newGetPrincipalTagAttributeMap+--+-- , requestListIdentities $+-- newListIdentities+--+-- , requestListIdentityPools $+-- newListIdentityPools+--+-- , requestListTagsForResource $+-- newListTagsForResource+--+-- , requestLookupDeveloperIdentity $+-- newLookupDeveloperIdentity+--+-- , requestMergeDeveloperIdentities $+-- newMergeDeveloperIdentities+--+-- , requestSetIdentityPoolRoles $+-- newSetIdentityPoolRoles+--+-- , requestSetPrincipalTagAttributeMap $+-- newSetPrincipalTagAttributeMap+--+-- , requestTagResource $+-- newTagResource+--+-- , requestUnlinkDeveloperIdentity $+-- newUnlinkDeveloperIdentity+--+-- , requestUnlinkIdentity $+-- newUnlinkIdentity+--+-- , requestUntagResource $+-- newUntagResource+--+-- , requestUpdateIdentityPool $+-- newUpdateIdentityPool+--+-- ]++-- , testGroup "response"+-- [ responseCreateIdentityPool $+-- newIdentityPool+--+-- , responseDeleteIdentities $+-- newDeleteIdentitiesResponse+--+-- , responseDeleteIdentityPool $+-- newDeleteIdentityPoolResponse+--+-- , responseDescribeIdentity $+-- newIdentityDescription+--+-- , responseDescribeIdentityPool $+-- newIdentityPool+--+-- , responseGetCredentialsForIdentity $+-- newGetCredentialsForIdentityResponse+--+-- , responseGetId $+-- newGetIdResponse+--+-- , responseGetIdentityPoolRoles $+-- newGetIdentityPoolRolesResponse+--+-- , responseGetOpenIdToken $+-- newGetOpenIdTokenResponse+--+-- , responseGetOpenIdTokenForDeveloperIdentity $+-- newGetOpenIdTokenForDeveloperIdentityResponse+--+-- , responseGetPrincipalTagAttributeMap $+-- newGetPrincipalTagAttributeMapResponse+--+-- , responseListIdentities $+-- newListIdentitiesResponse+--+-- , responseListIdentityPools $+-- newListIdentityPoolsResponse+--+-- , responseListTagsForResource $+-- newListTagsForResourceResponse+--+-- , responseLookupDeveloperIdentity $+-- newLookupDeveloperIdentityResponse+--+-- , responseMergeDeveloperIdentities $+-- newMergeDeveloperIdentitiesResponse+--+-- , responseSetIdentityPoolRoles $+-- newSetIdentityPoolRolesResponse+--+-- , responseSetPrincipalTagAttributeMap $+-- newSetPrincipalTagAttributeMapResponse+--+-- , responseTagResource $+-- newTagResourceResponse+--+-- , responseUnlinkDeveloperIdentity $+-- newUnlinkDeveloperIdentityResponse+--+-- , responseUnlinkIdentity $+-- newUnlinkIdentityResponse+--+-- , responseUntagResource $+-- newUntagResourceResponse+--+-- , responseUpdateIdentityPool $+-- newIdentityPool+--+-- ]+-- ]++-- Requests++requestCreateIdentityPool :: CreateIdentityPool -> TestTree+requestCreateIdentityPool =+ req+ "CreateIdentityPool"+ "fixture/CreateIdentityPool.yaml"++requestDeleteIdentities :: DeleteIdentities -> TestTree+requestDeleteIdentities =+ req+ "DeleteIdentities"+ "fixture/DeleteIdentities.yaml"++requestDeleteIdentityPool :: DeleteIdentityPool -> TestTree+requestDeleteIdentityPool =+ req+ "DeleteIdentityPool"+ "fixture/DeleteIdentityPool.yaml"++requestDescribeIdentity :: DescribeIdentity -> TestTree+requestDescribeIdentity =+ req+ "DescribeIdentity"+ "fixture/DescribeIdentity.yaml"++requestDescribeIdentityPool :: DescribeIdentityPool -> TestTree+requestDescribeIdentityPool =+ req+ "DescribeIdentityPool"+ "fixture/DescribeIdentityPool.yaml"++requestGetCredentialsForIdentity :: GetCredentialsForIdentity -> TestTree+requestGetCredentialsForIdentity =+ req+ "GetCredentialsForIdentity"+ "fixture/GetCredentialsForIdentity.yaml"++requestGetId :: GetId -> TestTree+requestGetId =+ req+ "GetId"+ "fixture/GetId.yaml"++requestGetIdentityPoolRoles :: GetIdentityPoolRoles -> TestTree+requestGetIdentityPoolRoles =+ req+ "GetIdentityPoolRoles"+ "fixture/GetIdentityPoolRoles.yaml"++requestGetOpenIdToken :: GetOpenIdToken -> TestTree+requestGetOpenIdToken =+ req+ "GetOpenIdToken"+ "fixture/GetOpenIdToken.yaml"++requestGetOpenIdTokenForDeveloperIdentity :: GetOpenIdTokenForDeveloperIdentity -> TestTree+requestGetOpenIdTokenForDeveloperIdentity =+ req+ "GetOpenIdTokenForDeveloperIdentity"+ "fixture/GetOpenIdTokenForDeveloperIdentity.yaml"++requestGetPrincipalTagAttributeMap :: GetPrincipalTagAttributeMap -> TestTree+requestGetPrincipalTagAttributeMap =+ req+ "GetPrincipalTagAttributeMap"+ "fixture/GetPrincipalTagAttributeMap.yaml"++requestListIdentities :: ListIdentities -> TestTree+requestListIdentities =+ req+ "ListIdentities"+ "fixture/ListIdentities.yaml"++requestListIdentityPools :: ListIdentityPools -> TestTree+requestListIdentityPools =+ req+ "ListIdentityPools"+ "fixture/ListIdentityPools.yaml"++requestListTagsForResource :: ListTagsForResource -> TestTree+requestListTagsForResource =+ req+ "ListTagsForResource"+ "fixture/ListTagsForResource.yaml"++requestLookupDeveloperIdentity :: LookupDeveloperIdentity -> TestTree+requestLookupDeveloperIdentity =+ req+ "LookupDeveloperIdentity"+ "fixture/LookupDeveloperIdentity.yaml"++requestMergeDeveloperIdentities :: MergeDeveloperIdentities -> TestTree+requestMergeDeveloperIdentities =+ req+ "MergeDeveloperIdentities"+ "fixture/MergeDeveloperIdentities.yaml"++requestSetIdentityPoolRoles :: SetIdentityPoolRoles -> TestTree+requestSetIdentityPoolRoles =+ req+ "SetIdentityPoolRoles"+ "fixture/SetIdentityPoolRoles.yaml"++requestSetPrincipalTagAttributeMap :: SetPrincipalTagAttributeMap -> TestTree+requestSetPrincipalTagAttributeMap =+ req+ "SetPrincipalTagAttributeMap"+ "fixture/SetPrincipalTagAttributeMap.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+ req+ "TagResource"+ "fixture/TagResource.yaml"++requestUnlinkDeveloperIdentity :: UnlinkDeveloperIdentity -> TestTree+requestUnlinkDeveloperIdentity =+ req+ "UnlinkDeveloperIdentity"+ "fixture/UnlinkDeveloperIdentity.yaml"++requestUnlinkIdentity :: UnlinkIdentity -> TestTree+requestUnlinkIdentity =+ req+ "UnlinkIdentity"+ "fixture/UnlinkIdentity.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+ req+ "UntagResource"+ "fixture/UntagResource.yaml"++requestUpdateIdentityPool :: UpdateIdentityPool -> TestTree+requestUpdateIdentityPool =+ req+ "UpdateIdentityPool"+ "fixture/UpdateIdentityPool.yaml"++-- Responses++responseCreateIdentityPool :: IdentityPool -> TestTree+responseCreateIdentityPool =+ res+ "CreateIdentityPoolResponse"+ "fixture/CreateIdentityPoolResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateIdentityPool)++responseDeleteIdentities :: DeleteIdentitiesResponse -> TestTree+responseDeleteIdentities =+ res+ "DeleteIdentitiesResponse"+ "fixture/DeleteIdentitiesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteIdentities)++responseDeleteIdentityPool :: DeleteIdentityPoolResponse -> TestTree+responseDeleteIdentityPool =+ res+ "DeleteIdentityPoolResponse"+ "fixture/DeleteIdentityPoolResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteIdentityPool)++responseDescribeIdentity :: IdentityDescription -> TestTree+responseDescribeIdentity =+ res+ "DescribeIdentityResponse"+ "fixture/DescribeIdentityResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeIdentity)++responseDescribeIdentityPool :: IdentityPool -> TestTree+responseDescribeIdentityPool =+ res+ "DescribeIdentityPoolResponse"+ "fixture/DescribeIdentityPoolResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeIdentityPool)++responseGetCredentialsForIdentity :: GetCredentialsForIdentityResponse -> TestTree+responseGetCredentialsForIdentity =+ res+ "GetCredentialsForIdentityResponse"+ "fixture/GetCredentialsForIdentityResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetCredentialsForIdentity)++responseGetId :: GetIdResponse -> TestTree+responseGetId =+ res+ "GetIdResponse"+ "fixture/GetIdResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetId)++responseGetIdentityPoolRoles :: GetIdentityPoolRolesResponse -> TestTree+responseGetIdentityPoolRoles =+ res+ "GetIdentityPoolRolesResponse"+ "fixture/GetIdentityPoolRolesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetIdentityPoolRoles)++responseGetOpenIdToken :: GetOpenIdTokenResponse -> TestTree+responseGetOpenIdToken =+ res+ "GetOpenIdTokenResponse"+ "fixture/GetOpenIdTokenResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetOpenIdToken)++responseGetOpenIdTokenForDeveloperIdentity :: GetOpenIdTokenForDeveloperIdentityResponse -> TestTree+responseGetOpenIdTokenForDeveloperIdentity =+ res+ "GetOpenIdTokenForDeveloperIdentityResponse"+ "fixture/GetOpenIdTokenForDeveloperIdentityResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetOpenIdTokenForDeveloperIdentity)++responseGetPrincipalTagAttributeMap :: GetPrincipalTagAttributeMapResponse -> TestTree+responseGetPrincipalTagAttributeMap =+ res+ "GetPrincipalTagAttributeMapResponse"+ "fixture/GetPrincipalTagAttributeMapResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetPrincipalTagAttributeMap)++responseListIdentities :: ListIdentitiesResponse -> TestTree+responseListIdentities =+ res+ "ListIdentitiesResponse"+ "fixture/ListIdentitiesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListIdentities)++responseListIdentityPools :: ListIdentityPoolsResponse -> TestTree+responseListIdentityPools =+ res+ "ListIdentityPoolsResponse"+ "fixture/ListIdentityPoolsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListIdentityPools)++responseListTagsForResource :: ListTagsForResourceResponse -> TestTree+responseListTagsForResource =+ res+ "ListTagsForResourceResponse"+ "fixture/ListTagsForResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTagsForResource)++responseLookupDeveloperIdentity :: LookupDeveloperIdentityResponse -> TestTree+responseLookupDeveloperIdentity =+ res+ "LookupDeveloperIdentityResponse"+ "fixture/LookupDeveloperIdentityResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy LookupDeveloperIdentity)++responseMergeDeveloperIdentities :: MergeDeveloperIdentitiesResponse -> TestTree+responseMergeDeveloperIdentities =+ res+ "MergeDeveloperIdentitiesResponse"+ "fixture/MergeDeveloperIdentitiesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy MergeDeveloperIdentities)++responseSetIdentityPoolRoles :: SetIdentityPoolRolesResponse -> TestTree+responseSetIdentityPoolRoles =+ res+ "SetIdentityPoolRolesResponse"+ "fixture/SetIdentityPoolRolesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy SetIdentityPoolRoles)++responseSetPrincipalTagAttributeMap :: SetPrincipalTagAttributeMapResponse -> TestTree+responseSetPrincipalTagAttributeMap =+ res+ "SetPrincipalTagAttributeMapResponse"+ "fixture/SetPrincipalTagAttributeMapResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy SetPrincipalTagAttributeMap)++responseTagResource :: TagResourceResponse -> TestTree+responseTagResource =+ res+ "TagResourceResponse"+ "fixture/TagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TagResource)++responseUnlinkDeveloperIdentity :: UnlinkDeveloperIdentityResponse -> TestTree+responseUnlinkDeveloperIdentity =+ res+ "UnlinkDeveloperIdentityResponse"+ "fixture/UnlinkDeveloperIdentityResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UnlinkDeveloperIdentity)++responseUnlinkIdentity :: UnlinkIdentityResponse -> TestTree+responseUnlinkIdentity =+ res+ "UnlinkIdentityResponse"+ "fixture/UnlinkIdentityResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UnlinkIdentity)++responseUntagResource :: UntagResourceResponse -> TestTree+responseUntagResource =+ res+ "UntagResourceResponse"+ "fixture/UntagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UntagResource)++responseUpdateIdentityPool :: IdentityPool -> TestTree+responseUpdateIdentityPool =+ res+ "UpdateIdentityPoolResponse"+ "fixture/UpdateIdentityPoolResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateIdentityPool)