Package-level declarations

Types

Link copied to clipboard
@JsonSerializable
data class AdminCreateUser(val Username: Username, val UserPoolId: UserPoolId, val UserAttributes: List<AttributeType>? = null, val DesiredDeliveryMediums: List<DeliveryMedium>? = null, val MessageAction: MessageAction? = null, val TemporaryPassword: String? = null, val ClientMetadata: Map<String, String>? = null, val ForceAliasCreation: Boolean? = null, val ValidationData: List<AttributeType>? = null) : CognitoAction<CreatedUser>
Link copied to clipboard
@JsonSerializable
data class AdminDeleteUser(val Username: Username, val UserPoolId: UserPoolId) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class AdminDisableUser(val Username: Username, val UserPoolId: UserPoolId) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class AdminEnableUser(val Username: Username, val UserPoolId: UserPoolId) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class AdminGetUser(val Username: Username, val UserPoolId: UserPoolId) : CognitoAction<ExistingUser>
Link copied to clipboard
@JsonSerializable
data class AdminInitiateAuth(val ClientId: ClientId, val AuthFlow: AuthFlow, val UserPoolId: UserPoolId, val AuthParameters: Map<String, String>? = null, val ClientMetadata: Map<String, String>? = null, val ContextData: ContextData? = null, val AnalyticsMetadata: AnalyticsMetadata? = null) : CognitoAction<AuthInitiated>
Link copied to clipboard
@JsonSerializable
data class AdminResetUserPassword(val Username: Username, val UserPoolId: UserPoolId, val ClientMetadata: Map<String, String> = emptyMap()) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class AdminRespondToAuthChallenge(val ChallengeName: ChallengeName, val ClientId: ClientId, val UserPoolId: UserPoolId, val Session: Session? = null, val ClientMetadata: Map<String, String>? = null, val ContextData: ContextData? = null, val ChallengeResponses: Map<String, String>? = null, val AnalyticsMetadata: AnalyticsMetadata? = null) : CognitoAction<AuthInitiated>
Link copied to clipboard
@JsonSerializable
data class AdminSetUserPassword(val Username: Username, val UserPoolId: UserPoolId, val Permanent: Boolean, val Password: Password) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class AdminUpdateUserAttributes(val Username: Username, val UserPoolId: UserPoolId, val attributes: List<AttributeType>, val ClientMetadata: Map<String, String> = emptyMap()) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class AssociateSoftwareToken(val AccessToken: AccessToken? = null, val Session: Session? = null) : CognitoAction<SoftwareTokenSecret>
Link copied to clipboard
@JsonSerializable
data class AuthInitiated(val AuthenticationResult: AuthenticationResult?, val ChallengeName: ChallengeName?, val ChallengeParameters: Map<String, String>?, val Session: Session?)
Link copied to clipboard
@JsonSerializable
data class ConfirmForgotPassword(val ClientId: ClientId, val Username: Username, val ConfirmationCode: ConfirmationCode, val Password: Password, val SecretHash: SecretHash? = null, val ClientMetadata: Map<String, String> = emptyMap(), val AnalyticsMetadata: AnalyticsMetadata? = null, val UserContextData: UserContextData? = null) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class CreatedResourceServer(val ResourceServer: ResourceServer)
Link copied to clipboard
@JsonSerializable
data class CreatedUser(val User: User)
Link copied to clipboard
@JsonSerializable
data class CreatedUserPool(val UserPool: UserPoolType)
Link copied to clipboard
@JsonSerializable
data class CreatedUserPoolClient(val UserPoolClient: UserPoolClient)
Link copied to clipboard
@JsonSerializable
data class CreatedUserPoolDomain(val CloudFrontDomain: CloudFrontDomain?)
Link copied to clipboard
@JsonSerializable
data class CreateResourceServer(val UserPoolId: UserPoolId, val Name: String, val Identifier: String, val Scopes: List<Scope>? = null) : CognitoAction<CreatedResourceServer>
Link copied to clipboard
@JsonSerializable
data class CreateUserPool(val PoolName: PoolName, val MfaConfiguration: MFAConfiguration? = null, val AccountRecoverySetting: AccountRecoverySetting? = null, val AdminCreateUserConfig: AdminCreateUserConfig? = null, val AliasAttributes: List<AliasAttribute>? = null, val AutoVerifiedAttributes: List<AutoVerifiedAttribute>? = null, val DeviceConfiguration: DeviceConfiguration? = null, val EmailConfiguration: EmailConfiguration? = null, val EmailVerificationMessage: String? = null, val EmailVerificationSubject: String? = null, val LambdaConfig: LambdaConfig? = null, val Policies: UserPoolPolicy? = null, val Schema: List<SchemaAttributeType>? = null, val SmsAuthenticationMessage: String? = null, val SmsConfiguration: SmsConfigurationType? = null, val SmsVerificationMessage: String? = null, val UsernameAttributes: List<UsernameAttribute>? = null, val UsernameConfiguration: UsernameConfigurationType? = null, val UserPoolAddOns: UserPoolAddOns? = null, val UserPoolTags: Map<String, String>? = null, val VerificationMessageTemplate: VerificationMessageTemplate? = null) : CognitoAction<CreatedUserPool>
Link copied to clipboard
@JsonSerializable
data class CreateUserPoolClient(val UserPoolId: UserPoolId, val ClientName: ClientName, val AllowedOAuthFlows: List<OAuthFlow>? = null, val AccessTokenValidity: Int? = null, val AllowedOAuthFlowsUserPoolClient: Boolean? = null, val AllowedOAuthScopes: List<String>? = null, val AnalyticsConfiguration: AnalyticsConfiguration? = null, val CallbackURLs: List<Uri>? = null, val DefaultRedirectURI: Uri? = null, val ExplicitAuthFlows: List<ExplicitAuthFlow>? = null, val GenerateSecret: Boolean? = null, val IdTokenValidity: Int? = null, val LogoutURLs: List<Uri>? = null, val PreventUserExistenceErrors: String? = null, val ReadAttributes: List<String>? = null, val RefreshTokenValidity: Int? = null, val SupportedIdentityProviders: List<String>? = null, val TokenValidityUnits: TokenValidityUnits? = null, val WriteAttributes: List<String>? = null) : CognitoAction<CreatedUserPoolClient>
Link copied to clipboard
@JsonSerializable
data class CreateUserPoolDomain(val UserPoolId: UserPoolId, val Domain: CloudFrontDomain, val CustomDomainConfig: CustomDomainConfig? = null) : CognitoAction<CreatedUserPoolDomain>
Link copied to clipboard
@JsonSerializable
data class CustomDomainConfig(val CertificateArn: ARN)
Link copied to clipboard
@JsonSerializable
data class CustomEmailSender(val LambdaArn: ARN, val LambdaVersion: String)
Link copied to clipboard
@JsonSerializable
data class CustomSMSSender(val LambdaArn: ARN, val LambdaVersion: String)
Link copied to clipboard
@JsonSerializable
data class DeleteUserPool(val UserPoolId: UserPoolId) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class DeleteUserPoolClient(val UserPoolId: UserPoolId, val ClientId: ClientId) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class DeleteUserPoolDomain(val UserPoolId: UserPoolId, val Domain: CloudFrontDomain) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class ExistingUser(val Username: Username, val Enabled: Boolean, val PreferredMfaSetting: String?, val UserCreateDate: Timestamp, val UserLastModifiedDate: Timestamp, val UserStatus: UserStatus, val UserAttributes: List<AttributeType> = emptyList(), val MFAOptions: List<MFAOptions>? = null, val UserMFASettingList: List<UserMFASetting>? = null)
Link copied to clipboard
@JsonSerializable
data class ForgotPassword(val Username: Username, val ClientId: ClientId, val AnalyticsMetadata: AnalyticsMetadata? = null, val ClientMetadata: Map<String, String>? = null, val SecretHash: SecretHash? = null, val UserContextData: UserContextData? = null) : CognitoAction<Unit>
Link copied to clipboard
@JsonSerializable
data class ForgotPasswordResponse(val CodeDeliveryDetails: CodeDeliveryDetails?)
Link copied to clipboard
@JsonSerializable
data class GetJwks(val UserPoolId: UserPoolId) : CognitoAction<Jwks>
Link copied to clipboard
@JsonSerializable
data class InitiateAuth(val ClientId: ClientId, val AuthFlow: AuthFlow, val AuthParameters: Map<String, String>? = null, val ClientMetadata: Map<String, String>? = null, val UserContextData: UserContextData? = null, val AnalyticsMetadata: AnalyticsMetadata? = null) : CognitoAction<AuthInitiated>
Link copied to clipboard
@JsonSerializable
data class LambdaConfig(val CreateAuthChallenge: String?, val CustomEmailSender: CustomEmailSender?, val CustomMessage: String?, val CustomSMSSender: CustomSMSSender?, val DefineAuthChallenge: String?, val KMSKeyID: KMSKeyId?, val PostAuthentication: String?, val PostConfirmation: String?, val PreAuthentication: String?, val PreSignUp: String?, val PreTokenGeneration: String?, val UserMigration: String?, val VerifyAuthChallengeResponse: String?)
Link copied to clipboard
@JsonSerializable
data class ListedUser(val Username: Username, val Enabled: Boolean, val UserCreateDate: Timestamp, val UserLastModifiedDate: Timestamp, val UserStatus: UserStatus, val Attributes: List<AttributeType> = emptyList(), val MFAOptions: List<MFAOptions>? = null)
Link copied to clipboard
@JsonSerializable
data class ListUserPools(val MaxResults: Int, val NextToken: String? = null) : CognitoAction<UserPools>
Link copied to clipboard
@JsonSerializable
data class ListUsers(val UserPoolId: UserPoolId, val AttributesToGet: List<String>? = null, val Limit: Int = 60, val PaginationToken: String? = null) : CognitoAction<PageOfListedUsers>
Link copied to clipboard
@JsonSerializable
data class PageOfListedUsers(val PaginationToken: String?, val Users: List<ListedUser>)
Link copied to clipboard
@JsonSerializable
data class ResourceServer(val UserPoolId: UserPoolId, val Name: String, val Identifier: String, val Scopes: List<Scope>? = null)
Link copied to clipboard
@JsonSerializable
data class RespondToAuthChallenge(val ClientId: ClientId, val ChallengeName: ChallengeName, val ChallengeResponses: Map<ChallengeName, String>? = null, val Session: Session? = null, val ClientMetadata: Map<String, String>? = null, val UserContextData: UserContextData? = null, val AnalyticsMetadata: AnalyticsMetadata? = null) : CognitoAction<AuthInitiated>
Link copied to clipboard
@JsonSerializable
data class Scope(val ScopeName: String?, val ScopeDescription: String?)
Link copied to clipboard
@JsonSerializable
data class SoftwareTokenSecret(val SecretCode: SecretCode, val Session: Session)
Link copied to clipboard
@JsonSerializable
data class UserPool(val CreationDate: Timestamp, val Id: UserPoolId, val LambdaConfig: LambdaConfig?, val LastModifiedDate: Timestamp?, val Name: PoolName, val Status: String?)
Link copied to clipboard
@JsonSerializable
data class UserPools(val NextToken: String?, val UserPools: List<UserPool>)
Link copied to clipboard
@JsonSerializable
data class VerifyResult(val Session: Session, val Status: VerifyStatus)
Link copied to clipboard
@JsonSerializable
data class VerifySoftwareToken(val UserCode: UserCode, val AccessToken: AccessToken? = null, val Session: Session? = null, val FriendlyDeviceName: String? = null) : CognitoAction<VerifyResult>