From 835fe0847a125c61c19fa4fac25ec2eeefc79501 Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Fri, 11 Aug 2023 14:18:53 -0300 Subject: [PATCH] feat(aws-android-sdk-cognitoidentityprovider): update models to latest (#3376) --- .../AmazonCognitoIdentityProvider.java | 1974 +++++++++++++++- .../AmazonCognitoIdentityProviderClient.java | 2010 ++++++++++++++++- .../model/AccountRecoverySettingType.java | 2 +- .../model/AccountTakeoverActionType.java | 2 +- .../model/AccountTakeoverActionsType.java | 2 +- .../model/AccountTakeoverEventActionType.java | 2 +- .../AccountTakeoverRiskConfigurationType.java | 2 +- .../model/AddCustomAttributesRequest.java | 29 +- .../model/AddCustomAttributesResult.java | 2 +- .../model/AdminAddUserToGroupRequest.java | 28 +- .../model/AdminConfirmSignUpRequest.java | 28 +- .../model/AdminConfirmSignUpResult.java | 2 +- .../model/AdminCreateUserConfigType.java | 2 +- .../model/AdminCreateUserRequest.java | 83 +- .../model/AdminCreateUserResult.java | 2 +- .../AdminDeleteUserAttributesRequest.java | 28 +- .../AdminDeleteUserAttributesResult.java | 2 +- .../model/AdminDeleteUserRequest.java | 28 +- .../AdminDisableProviderForUserRequest.java | 45 +- .../AdminDisableProviderForUserResult.java | 2 +- .../model/AdminDisableUserRequest.java | 29 +- .../model/AdminDisableUserResult.java | 2 +- .../model/AdminEnableUserRequest.java | 28 +- .../model/AdminEnableUserResult.java | 2 +- .../model/AdminForgetDeviceRequest.java | 28 +- .../model/AdminGetDeviceRequest.java | 28 +- .../model/AdminGetDeviceResult.java | 2 +- .../model/AdminGetUserRequest.java | 28 +- .../model/AdminGetUserResult.java | 114 +- .../model/AdminInitiateAuthRequest.java | 210 +- .../model/AdminInitiateAuthResult.java | 2 +- .../AdminLinkProviderForUserRequest.java | 246 +- .../model/AdminLinkProviderForUserResult.java | 2 +- .../model/AdminListDevicesRequest.java | 28 +- .../model/AdminListDevicesResult.java | 2 +- .../model/AdminListGroupsForUserRequest.java | 28 +- .../model/AdminListGroupsForUserResult.java | 2 +- .../model/AdminListUserAuthEventsRequest.java | 29 +- .../model/AdminListUserAuthEventsResult.java | 2 +- .../AdminRemoveUserFromGroupRequest.java | 28 +- .../model/AdminResetUserPasswordRequest.java | 51 +- .../model/AdminResetUserPasswordResult.java | 2 +- .../AdminRespondToAuthChallengeRequest.java | 97 +- .../AdminRespondToAuthChallengeResult.java | 2 +- .../AdminSetUserMFAPreferenceRequest.java | 29 +- .../AdminSetUserMFAPreferenceResult.java | 2 +- .../model/AdminSetUserPasswordRequest.java | 44 +- .../model/AdminSetUserPasswordResult.java | 2 +- .../model/AdminSetUserSettingsRequest.java | 29 +- .../model/AdminSetUserSettingsResult.java | 2 +- .../AdminUpdateAuthEventFeedbackRequest.java | 122 +- .../AdminUpdateAuthEventFeedbackResult.java | 2 +- .../model/AdminUpdateDeviceStatusRequest.java | 28 +- .../model/AdminUpdateDeviceStatusResult.java | 2 +- .../AdminUpdateUserAttributesRequest.java | 54 +- .../AdminUpdateUserAttributesResult.java | 2 +- .../model/AdminUserGlobalSignOutRequest.java | 45 +- .../model/AdminUserGlobalSignOutResult.java | 2 +- .../model/AdvancedSecurityModeType.java | 2 +- .../model/AliasAttributeType.java | 2 +- .../model/AliasExistsException.java | 2 +- .../model/AnalyticsConfigurationType.java | 16 +- .../model/AnalyticsMetadataType.java | 14 +- .../model/AssociateSoftwareTokenRequest.java | 12 +- .../model/AssociateSoftwareTokenResult.java | 2 +- .../model/AttributeDataType.java | 2 +- .../model/AttributeType.java | 2 +- .../model/AuthEventType.java | 42 +- .../model/AuthFlowType.java | 2 +- .../model/AuthenticationResultType.java | 14 +- .../model/ChallengeName.java | 2 +- .../model/ChallengeNameType.java | 2 +- .../model/ChallengeResponse.java | 2 +- .../model/ChallengeResponseType.java | 2 +- .../model/ChangePasswordRequest.java | 13 +- .../model/ChangePasswordResult.java | 2 +- .../CloudWatchLogsConfigurationType.java | 169 ++ .../model/CodeDeliveryDetailsType.java | 14 +- .../model/CodeDeliveryFailureException.java | 2 +- .../model/CodeMismatchException.java | 2 +- .../CompromisedCredentialsActionsType.java | 2 +- ...CompromisedCredentialsEventActionType.java | 2 +- ...misedCredentialsRiskConfigurationType.java | 2 +- .../ConcurrentModificationException.java | 2 +- .../model/ConfirmDeviceRequest.java | 13 +- .../model/ConfirmDeviceResult.java | 2 +- .../model/ConfirmForgotPasswordRequest.java | 44 +- .../model/ConfirmForgotPasswordResult.java | 2 +- .../model/ConfirmSignUpRequest.java | 13 +- .../model/ConfirmSignUpResult.java | 2 +- .../model/ContextDataType.java | 50 +- .../model/CreateGroupRequest.java | 28 +- .../model/CreateGroupResult.java | 2 +- .../model/CreateIdentityProviderRequest.java | 29 +- .../model/CreateIdentityProviderResult.java | 2 +- .../model/CreateResourceServerRequest.java | 29 +- .../model/CreateResourceServerResult.java | 2 +- .../model/CreateUserImportJobRequest.java | 31 +- .../model/CreateUserImportJobResult.java | 2 +- .../model/CreateUserPoolClientRequest.java | 427 +++- .../model/CreateUserPoolClientResult.java | 2 +- .../model/CreateUserPoolDomainRequest.java | 29 +- .../model/CreateUserPoolDomainResult.java | 2 +- .../model/CreateUserPoolRequest.java | 246 +- .../model/CreateUserPoolResult.java | 2 +- .../model/CustomDomainConfigType.java | 2 +- .../CustomEmailLambdaVersionConfigType.java | 2 +- .../CustomEmailSenderLambdaVersionType.java | 2 +- .../CustomSMSLambdaVersionConfigType.java | 2 +- .../CustomSMSSenderLambdaVersionType.java | 2 +- .../model/DefaultEmailOptionType.java | 2 +- .../model/DeleteGroupRequest.java | 2 +- .../model/DeleteIdentityProviderRequest.java | 2 +- .../model/DeleteResourceServerRequest.java | 2 +- .../model/DeleteUserAttributesRequest.java | 13 +- .../model/DeleteUserAttributesResult.java | 2 +- .../model/DeleteUserPoolClientRequest.java | 2 +- .../model/DeleteUserPoolDomainRequest.java | 2 +- .../model/DeleteUserPoolDomainResult.java | 2 +- .../model/DeleteUserPoolRequest.java | 2 +- .../model/DeleteUserRequest.java | 15 +- .../model/DeletionProtectionType.java | 2 +- .../model/DeliveryMediumType.java | 2 +- .../DescribeIdentityProviderRequest.java | 2 +- .../model/DescribeIdentityProviderResult.java | 2 +- .../model/DescribeResourceServerRequest.java | 2 +- .../model/DescribeResourceServerResult.java | 2 +- .../DescribeRiskConfigurationRequest.java | 2 +- .../DescribeRiskConfigurationResult.java | 2 +- .../model/DescribeUserImportJobRequest.java | 2 +- .../model/DescribeUserImportJobResult.java | 2 +- .../model/DescribeUserPoolClientRequest.java | 29 +- .../model/DescribeUserPoolClientResult.java | 2 +- .../model/DescribeUserPoolDomainRequest.java | 2 +- .../model/DescribeUserPoolDomainResult.java | 2 +- .../model/DescribeUserPoolRequest.java | 29 +- .../model/DescribeUserPoolResult.java | 2 +- .../model/DeviceConfigurationType.java | 2 +- .../model/DeviceRememberedStatusType.java | 2 +- .../model/DeviceSecretVerifierConfigType.java | 26 +- .../model/DeviceType.java | 30 +- .../model/DomainDescriptionType.java | 57 +- .../model/DomainStatusType.java | 2 +- .../model/DuplicateProviderException.java | 2 +- .../model/EmailConfigurationType.java | 88 +- .../model/EmailSendingAccountType.java | 2 +- .../EnableSoftwareTokenMFAException.java | 2 +- .../model/EventContextDataType.java | 62 +- .../model/EventFeedbackType.java | 107 +- .../model/EventFilterType.java | 2 +- .../model/EventResponseType.java | 2 +- .../model/EventRiskType.java | 2 +- .../model/EventSourceName.java | 60 + .../model/EventType.java | 2 +- .../model/ExpiredCodeException.java | 2 +- .../model/ExplicitAuthFlowsType.java | 2 +- .../model/FeedbackValueType.java | 2 +- .../model/ForbiddenException.java | 2 +- .../model/ForgetDeviceRequest.java | 13 +- .../model/ForgotPasswordRequest.java | 24 +- .../model/ForgotPasswordResult.java | 2 +- .../model/GetCSVHeaderRequest.java | 2 +- .../model/GetCSVHeaderResult.java | 2 +- .../model/GetDeviceRequest.java | 13 +- .../model/GetDeviceResult.java | 2 +- .../model/GetGroupRequest.java | 2 +- .../model/GetGroupResult.java | 2 +- ...etIdentityProviderByIdentifierRequest.java | 2 +- ...GetIdentityProviderByIdentifierResult.java | 2 +- .../GetLogDeliveryConfigurationRequest.java | 148 ++ .../GetLogDeliveryConfigurationResult.java | 125 + .../model/GetSigningCertificateRequest.java | 2 +- .../model/GetSigningCertificateResult.java | 14 +- .../model/GetUICustomizationRequest.java | 2 +- .../model/GetUICustomizationResult.java | 2 +- ...tUserAttributeVerificationCodeRequest.java | 14 +- ...etUserAttributeVerificationCodeResult.java | 2 +- .../model/GetUserPoolMfaConfigRequest.java | 2 +- .../model/GetUserPoolMfaConfigResult.java | 2 +- .../model/GetUserRequest.java | 13 +- .../model/GetUserResult.java | 31 +- .../model/GlobalSignOutRequest.java | 26 +- .../model/GlobalSignOutResult.java | 2 +- .../model/GroupExistsException.java | 2 +- .../model/GroupType.java | 58 +- .../model/HttpHeader.java | 26 +- .../model/IdentityProviderType.java | 58 +- .../model/IdentityProviderTypeType.java | 2 +- .../model/InitiateAuthRequest.java | 144 +- .../model/InitiateAuthResult.java | 2 +- .../model/InternalErrorException.java | 2 +- ...InvalidEmailRoleAccessPolicyException.java | 2 +- .../model/InvalidLambdaResponseException.java | 2 +- .../model/InvalidOAuthFlowException.java | 2 +- .../model/InvalidParameterException.java | 2 +- .../model/InvalidPasswordException.java | 2 +- .../InvalidSmsRoleAccessPolicyException.java | 2 +- ...alidSmsRoleTrustRelationshipException.java | 2 +- ...InvalidUserPoolConfigurationException.java | 2 +- .../model/LambdaConfigType.java | 2 +- .../model/LimitExceededException.java | 2 +- .../model/ListDevicesRequest.java | 13 +- .../model/ListDevicesResult.java | 2 +- .../model/ListGroupsRequest.java | 28 +- .../model/ListGroupsResult.java | 2 +- .../model/ListIdentityProvidersRequest.java | 29 +- .../model/ListIdentityProvidersResult.java | 2 +- .../model/ListResourceServersRequest.java | 29 +- .../model/ListResourceServersResult.java | 2 +- .../model/ListTagsForResourceRequest.java | 2 +- .../model/ListTagsForResourceResult.java | 2 +- .../model/ListUserImportJobsRequest.java | 31 +- .../model/ListUserImportJobsResult.java | 2 +- .../model/ListUserPoolClientsRequest.java | 29 +- .../model/ListUserPoolClientsResult.java | 2 +- .../model/ListUserPoolsRequest.java | 29 +- .../model/ListUserPoolsResult.java | 2 +- .../model/ListUsersInGroupRequest.java | 28 +- .../model/ListUsersInGroupResult.java | 2 +- .../model/ListUsersRequest.java | 98 +- .../model/ListUsersResult.java | 150 +- .../model/LogConfigurationType.java | 381 ++++ .../model/LogDeliveryConfigurationType.java | 234 ++ .../model/LogLevel.java | 60 + .../model/MFAMethodNotFoundException.java | 2 +- .../model/MFAOptionType.java | 2 +- .../model/MessageActionType.java | 2 +- .../model/MessageTemplateType.java | 2 +- .../model/NewDeviceMetadataType.java | 14 +- .../model/NotAuthorizedException.java | 2 +- .../model/NotifyConfigurationType.java | 26 +- .../model/NotifyEmailType.java | 2 +- .../model/NumberAttributeConstraintsType.java | 26 +- .../model/OAuthFlowType.java | 2 +- .../model/PasswordPolicyType.java | 2 +- .../model/PasswordResetRequiredException.java | 2 +- .../model/PreconditionNotMetException.java | 2 +- .../model/PreventUserExistenceErrorTypes.java | 2 +- .../model/ProviderDescription.java | 30 +- .../model/ProviderUserIdentifierType.java | 26 +- .../model/RecoveryOptionNameType.java | 2 +- .../model/RecoveryOptionType.java | 2 +- .../model/ResendConfirmationCodeRequest.java | 14 +- .../model/ResendConfirmationCodeResult.java | 2 +- .../model/ResourceNotFoundException.java | 2 +- .../model/ResourceServerScopeType.java | 2 +- .../model/ResourceServerType.java | 2 +- .../model/RespondToAuthChallengeRequest.java | 80 +- .../model/RespondToAuthChallengeResult.java | 2 +- .../model/RevokeTokenRequest.java | 13 +- .../model/RevokeTokenResult.java | 2 +- .../model/RiskConfigurationType.java | 30 +- .../model/RiskDecisionType.java | 2 +- .../model/RiskExceptionConfigurationType.java | 2 +- .../model/RiskLevelType.java | 2 +- .../model/SMSMfaSettingsType.java | 2 +- .../model/SchemaAttributeType.java | 158 +- .../model/ScopeDoesNotExistException.java | 2 +- .../SetLogDeliveryConfigurationRequest.java | 251 ++ .../SetLogDeliveryConfigurationResult.java | 129 ++ .../model/SetRiskConfigurationRequest.java | 2 +- .../model/SetRiskConfigurationResult.java | 2 +- .../model/SetUICustomizationRequest.java | 26 +- .../model/SetUICustomizationResult.java | 2 +- .../model/SetUserMFAPreferenceRequest.java | 13 +- .../model/SetUserMFAPreferenceResult.java | 2 +- .../model/SetUserPoolMfaConfigRequest.java | 4 +- .../model/SetUserPoolMfaConfigResult.java | 2 +- .../model/SetUserSettingsRequest.java | 13 +- .../model/SetUserSettingsResult.java | 2 +- .../model/SignUpRequest.java | 14 +- .../model/SignUpResult.java | 14 +- .../model/SmsConfigurationType.java | 14 +- .../model/SmsMfaConfigType.java | 2 +- .../SoftwareTokenMFANotFoundException.java | 2 +- .../model/SoftwareTokenMfaConfigType.java | 2 +- .../model/SoftwareTokenMfaSettingsType.java | 2 +- .../model/StartUserImportJobRequest.java | 2 +- .../model/StartUserImportJobResult.java | 2 +- .../model/StatusType.java | 2 +- .../model/StopUserImportJobRequest.java | 2 +- .../model/StopUserImportJobResult.java | 2 +- .../model/StringAttributeConstraintsType.java | 26 +- .../model/TagResourceRequest.java | 2 +- .../model/TagResourceResult.java | 2 +- .../model/TimeUnitsType.java | 2 +- .../model/TokenValidityUnitsType.java | 72 +- .../model/TooManyFailedAttemptsException.java | 2 +- .../model/TooManyRequestsException.java | 2 +- .../model/UICustomizationType.java | 70 +- .../model/UnauthorizedException.java | 2 +- .../model/UnexpectedLambdaException.java | 2 +- .../UnsupportedIdentityProviderException.java | 2 +- .../model/UnsupportedOperationException.java | 2 +- .../model/UnsupportedTokenTypeException.java | 2 +- .../model/UnsupportedUserStateException.java | 2 +- .../model/UntagResourceRequest.java | 2 +- .../model/UntagResourceResult.java | 2 +- .../model/UpdateAuthEventFeedbackRequest.java | 106 +- .../model/UpdateAuthEventFeedbackResult.java | 2 +- .../model/UpdateDeviceStatusRequest.java | 13 +- .../model/UpdateDeviceStatusResult.java | 2 +- .../model/UpdateGroupRequest.java | 28 +- .../model/UpdateGroupResult.java | 2 +- .../model/UpdateIdentityProviderRequest.java | 29 +- .../model/UpdateIdentityProviderResult.java | 2 +- .../model/UpdateResourceServerRequest.java | 30 +- .../model/UpdateResourceServerResult.java | 2 +- .../model/UpdateUserAttributesRequest.java | 14 +- .../model/UpdateUserAttributesResult.java | 2 +- .../model/UpdateUserPoolClientRequest.java | 468 +++- .../model/UpdateUserPoolClientResult.java | 2 +- .../model/UpdateUserPoolDomainRequest.java | 29 +- .../model/UpdateUserPoolDomainResult.java | 2 +- .../model/UpdateUserPoolRequest.java | 129 +- .../model/UpdateUserPoolResult.java | 2 +- .../UserAttributeUpdateSettingsType.java | 20 +- .../model/UserContextDataType.java | 26 +- .../model/UserImportInProgressException.java | 2 +- .../model/UserImportJobStatusType.java | 2 +- .../model/UserImportJobType.java | 30 +- .../model/UserLambdaValidationException.java | 2 +- .../model/UserNotConfirmedException.java | 2 +- .../model/UserNotFoundException.java | 2 +- .../UserPoolAddOnNotEnabledException.java | 2 +- .../model/UserPoolAddOnsType.java | 39 +- .../model/UserPoolClientDescription.java | 2 +- .../model/UserPoolClientType.java | 451 +++- .../model/UserPoolDescriptionType.java | 58 +- .../model/UserPoolMfaType.java | 2 +- .../model/UserPoolPolicyType.java | 2 +- .../model/UserPoolTaggingException.java | 2 +- .../model/UserPoolType.java | 320 ++- .../model/UserStatusType.java | 2 +- .../model/UserType.java | 85 +- .../model/UsernameAttributeType.java | 2 +- .../model/UsernameConfigurationType.java | 133 +- .../model/UsernameExistsException.java | 2 +- .../VerificationMessageTemplateType.java | 2 +- .../model/VerifiedAttributeType.java | 2 +- .../model/VerifySoftwareTokenRequest.java | 25 +- .../VerifySoftwareTokenResponseType.java | 2 +- .../model/VerifySoftwareTokenResult.java | 2 +- .../model/VerifyUserAttributeRequest.java | 13 +- .../model/VerifyUserAttributeResult.java | 2 +- ...ountRecoverySettingTypeJsonMarshaller.java | 2 +- ...ntRecoverySettingTypeJsonUnmarshaller.java | 2 +- ...countTakeoverActionTypeJsonMarshaller.java | 2 +- ...untTakeoverActionTypeJsonUnmarshaller.java | 2 +- ...ountTakeoverActionsTypeJsonMarshaller.java | 2 +- ...ntTakeoverActionsTypeJsonUnmarshaller.java | 2 +- ...erRiskConfigurationTypeJsonMarshaller.java | 2 +- ...RiskConfigurationTypeJsonUnmarshaller.java | 2 +- .../AddCustomAttributesRequestMarshaller.java | 2 +- ...ustomAttributesResultJsonUnmarshaller.java | 2 +- .../AdminAddUserToGroupRequestMarshaller.java | 2 +- .../AdminConfirmSignUpRequestMarshaller.java | 2 +- ...inConfirmSignUpResultJsonUnmarshaller.java | 2 +- ...minCreateUserConfigTypeJsonMarshaller.java | 2 +- ...nCreateUserConfigTypeJsonUnmarshaller.java | 2 +- .../AdminCreateUserRequestMarshaller.java | 2 +- ...AdminCreateUserResultJsonUnmarshaller.java | 2 +- ...DeleteUserAttributesRequestMarshaller.java | 2 +- ...eUserAttributesResultJsonUnmarshaller.java | 2 +- .../AdminDeleteUserRequestMarshaller.java | 2 +- ...sableProviderForUserRequestMarshaller.java | 2 +- ...ProviderForUserResultJsonUnmarshaller.java | 2 +- .../AdminDisableUserRequestMarshaller.java | 2 +- ...dminDisableUserResultJsonUnmarshaller.java | 2 +- .../AdminEnableUserRequestMarshaller.java | 2 +- ...AdminEnableUserResultJsonUnmarshaller.java | 2 +- .../AdminForgetDeviceRequestMarshaller.java | 2 +- .../AdminGetDeviceRequestMarshaller.java | 2 +- .../AdminGetDeviceResultJsonUnmarshaller.java | 2 +- .../AdminGetUserRequestMarshaller.java | 2 +- .../AdminGetUserResultJsonUnmarshaller.java | 2 +- .../AdminInitiateAuthRequestMarshaller.java | 2 +- ...minInitiateAuthResultJsonUnmarshaller.java | 2 +- ...nLinkProviderForUserRequestMarshaller.java | 2 +- ...ProviderForUserResultJsonUnmarshaller.java | 2 +- .../AdminListDevicesRequestMarshaller.java | 2 +- ...dminListDevicesResultJsonUnmarshaller.java | 2 +- ...minListGroupsForUserRequestMarshaller.java | 2 +- ...stGroupsForUserResultJsonUnmarshaller.java | 2 +- ...inListUserAuthEventsRequestMarshaller.java | 2 +- ...tUserAuthEventsResultJsonUnmarshaller.java | 2 +- ...nRemoveUserFromGroupRequestMarshaller.java | 2 +- ...minResetUserPasswordRequestMarshaller.java | 2 +- ...setUserPasswordResultJsonUnmarshaller.java | 2 +- ...spondToAuthChallengeRequestMarshaller.java | 2 +- ...ToAuthChallengeResultJsonUnmarshaller.java | 2 +- ...SetUserMFAPreferenceRequestMarshaller.java | 2 +- ...erMFAPreferenceResultJsonUnmarshaller.java | 2 +- ...AdminSetUserPasswordRequestMarshaller.java | 2 +- ...SetUserPasswordResultJsonUnmarshaller.java | 2 +- ...AdminSetUserSettingsRequestMarshaller.java | 2 +- ...SetUserSettingsResultJsonUnmarshaller.java | 2 +- ...ateAuthEventFeedbackRequestMarshaller.java | 2 +- ...thEventFeedbackResultJsonUnmarshaller.java | 2 +- ...inUpdateDeviceStatusRequestMarshaller.java | 2 +- ...ateDeviceStatusResultJsonUnmarshaller.java | 2 +- ...UpdateUserAttributesRequestMarshaller.java | 2 +- ...eUserAttributesResultJsonUnmarshaller.java | 2 +- ...minUserGlobalSignOutRequestMarshaller.java | 2 +- ...erGlobalSignOutResultJsonUnmarshaller.java | 2 +- .../AliasExistsExceptionUnmarshaller.java | 2 +- ...lyticsConfigurationTypeJsonMarshaller.java | 2 +- ...ticsConfigurationTypeJsonUnmarshaller.java | 2 +- .../AnalyticsMetadataTypeJsonMarshaller.java | 2 +- ...AnalyticsMetadataTypeJsonUnmarshaller.java | 2 +- ...sociateSoftwareTokenRequestMarshaller.java | 2 +- ...teSoftwareTokenResultJsonUnmarshaller.java | 2 +- .../AttributeTypeJsonMarshaller.java | 2 +- .../AttributeTypeJsonUnmarshaller.java | 2 +- .../AuthEventTypeJsonMarshaller.java | 2 +- .../AuthEventTypeJsonUnmarshaller.java | 2 +- ...uthenticationResultTypeJsonMarshaller.java | 2 +- ...henticationResultTypeJsonUnmarshaller.java | 2 +- .../ChallengeResponseTypeJsonMarshaller.java | 2 +- ...ChallengeResponseTypeJsonUnmarshaller.java | 2 +- .../ChangePasswordRequestMarshaller.java | 2 +- .../ChangePasswordResultJsonUnmarshaller.java | 2 +- ...chLogsConfigurationTypeJsonMarshaller.java | 45 + ...LogsConfigurationTypeJsonUnmarshaller.java | 58 + ...CodeDeliveryDetailsTypeJsonMarshaller.java | 2 +- ...deDeliveryDetailsTypeJsonUnmarshaller.java | 2 +- ...eDeliveryFailureExceptionUnmarshaller.java | 2 +- .../CodeMismatchExceptionUnmarshaller.java | 2 +- ...dCredentialsActionsTypeJsonMarshaller.java | 2 +- ...redentialsActionsTypeJsonUnmarshaller.java | 2 +- ...lsRiskConfigurationTypeJsonMarshaller.java | 2 +- ...RiskConfigurationTypeJsonUnmarshaller.java | 2 +- ...rentModificationExceptionUnmarshaller.java | 2 +- .../ConfirmDeviceRequestMarshaller.java | 2 +- .../ConfirmDeviceResultJsonUnmarshaller.java | 2 +- ...onfirmForgotPasswordRequestMarshaller.java | 2 +- ...mForgotPasswordResultJsonUnmarshaller.java | 2 +- .../ConfirmSignUpRequestMarshaller.java | 2 +- .../ConfirmSignUpResultJsonUnmarshaller.java | 2 +- .../ContextDataTypeJsonMarshaller.java | 2 +- .../ContextDataTypeJsonUnmarshaller.java | 2 +- .../CreateGroupRequestMarshaller.java | 2 +- .../CreateGroupResultJsonUnmarshaller.java | 2 +- ...eateIdentityProviderRequestMarshaller.java | 2 +- ...dentityProviderResultJsonUnmarshaller.java | 2 +- ...CreateResourceServerRequestMarshaller.java | 2 +- ...eResourceServerResultJsonUnmarshaller.java | 2 +- .../CreateUserImportJobRequestMarshaller.java | 2 +- ...teUserImportJobResultJsonUnmarshaller.java | 2 +- ...CreateUserPoolClientRequestMarshaller.java | 2 +- ...eUserPoolClientResultJsonUnmarshaller.java | 2 +- ...CreateUserPoolDomainRequestMarshaller.java | 2 +- ...eUserPoolDomainResultJsonUnmarshaller.java | 2 +- .../CreateUserPoolRequestMarshaller.java | 2 +- .../CreateUserPoolResultJsonUnmarshaller.java | 2 +- .../CustomDomainConfigTypeJsonMarshaller.java | 2 +- ...ustomDomainConfigTypeJsonUnmarshaller.java | 2 +- ...LambdaVersionConfigTypeJsonMarshaller.java | 2 +- ...mbdaVersionConfigTypeJsonUnmarshaller.java | 2 +- ...LambdaVersionConfigTypeJsonMarshaller.java | 2 +- ...mbdaVersionConfigTypeJsonUnmarshaller.java | 2 +- .../DeleteGroupRequestMarshaller.java | 2 +- ...leteIdentityProviderRequestMarshaller.java | 2 +- ...DeleteResourceServerRequestMarshaller.java | 2 +- ...DeleteUserAttributesRequestMarshaller.java | 2 +- ...eUserAttributesResultJsonUnmarshaller.java | 2 +- ...DeleteUserPoolClientRequestMarshaller.java | 2 +- ...DeleteUserPoolDomainRequestMarshaller.java | 2 +- ...eUserPoolDomainResultJsonUnmarshaller.java | 2 +- .../DeleteUserPoolRequestMarshaller.java | 2 +- .../DeleteUserRequestMarshaller.java | 2 +- ...ribeIdentityProviderRequestMarshaller.java | 2 +- ...dentityProviderResultJsonUnmarshaller.java | 2 +- ...scribeResourceServerRequestMarshaller.java | 2 +- ...eResourceServerResultJsonUnmarshaller.java | 2 +- ...ibeRiskConfigurationRequestMarshaller.java | 2 +- ...skConfigurationResultJsonUnmarshaller.java | 2 +- ...escribeUserImportJobRequestMarshaller.java | 2 +- ...beUserImportJobResultJsonUnmarshaller.java | 2 +- ...scribeUserPoolClientRequestMarshaller.java | 2 +- ...eUserPoolClientResultJsonUnmarshaller.java | 2 +- ...scribeUserPoolDomainRequestMarshaller.java | 2 +- ...eUserPoolDomainResultJsonUnmarshaller.java | 2 +- .../DescribeUserPoolRequestMarshaller.java | 2 +- ...escribeUserPoolResultJsonUnmarshaller.java | 2 +- ...DeviceConfigurationTypeJsonMarshaller.java | 2 +- ...viceConfigurationTypeJsonUnmarshaller.java | 2 +- ...ecretVerifierConfigTypeJsonMarshaller.java | 2 +- ...retVerifierConfigTypeJsonUnmarshaller.java | 2 +- .../transform/DeviceTypeJsonMarshaller.java | 2 +- .../transform/DeviceTypeJsonUnmarshaller.java | 2 +- .../DomainDescriptionTypeJsonMarshaller.java | 2 +- ...DomainDescriptionTypeJsonUnmarshaller.java | 2 +- ...uplicateProviderExceptionUnmarshaller.java | 2 +- .../EmailConfigurationTypeJsonMarshaller.java | 2 +- ...mailConfigurationTypeJsonUnmarshaller.java | 2 +- ...SoftwareTokenMFAExceptionUnmarshaller.java | 2 +- .../EventContextDataTypeJsonMarshaller.java | 2 +- .../EventContextDataTypeJsonUnmarshaller.java | 2 +- .../EventFeedbackTypeJsonMarshaller.java | 2 +- .../EventFeedbackTypeJsonUnmarshaller.java | 2 +- .../EventRiskTypeJsonMarshaller.java | 2 +- .../EventRiskTypeJsonUnmarshaller.java | 2 +- .../ExpiredCodeExceptionUnmarshaller.java | 2 +- .../ForbiddenExceptionUnmarshaller.java | 2 +- .../ForgetDeviceRequestMarshaller.java | 2 +- .../ForgotPasswordRequestMarshaller.java | 2 +- .../ForgotPasswordResultJsonUnmarshaller.java | 2 +- .../GetCSVHeaderRequestMarshaller.java | 2 +- .../GetCSVHeaderResultJsonUnmarshaller.java | 2 +- .../transform/GetDeviceRequestMarshaller.java | 2 +- .../GetDeviceResultJsonUnmarshaller.java | 2 +- .../transform/GetGroupRequestMarshaller.java | 2 +- .../GetGroupResultJsonUnmarshaller.java | 2 +- ...ProviderByIdentifierRequestMarshaller.java | 2 +- ...derByIdentifierResultJsonUnmarshaller.java | 2 +- ...eliveryConfigurationRequestMarshaller.java | 88 + ...ryConfigurationResultJsonUnmarshaller.java | 58 + ...etSigningCertificateRequestMarshaller.java | 2 +- ...ningCertificateResultJsonUnmarshaller.java | 2 +- .../GetUICustomizationRequestMarshaller.java | 2 +- ...UICustomizationResultJsonUnmarshaller.java | 2 +- ...buteVerificationCodeRequestMarshaller.java | 2 +- ...erificationCodeResultJsonUnmarshaller.java | 2 +- ...GetUserPoolMfaConfigRequestMarshaller.java | 2 +- ...erPoolMfaConfigResultJsonUnmarshaller.java | 2 +- .../transform/GetUserRequestMarshaller.java | 2 +- .../GetUserResultJsonUnmarshaller.java | 2 +- .../GlobalSignOutRequestMarshaller.java | 2 +- .../GlobalSignOutResultJsonUnmarshaller.java | 2 +- .../GroupExistsExceptionUnmarshaller.java | 2 +- .../transform/GroupTypeJsonMarshaller.java | 2 +- .../transform/GroupTypeJsonUnmarshaller.java | 2 +- .../transform/HttpHeaderJsonMarshaller.java | 2 +- .../transform/HttpHeaderJsonUnmarshaller.java | 2 +- .../IdentityProviderTypeJsonMarshaller.java | 2 +- .../IdentityProviderTypeJsonUnmarshaller.java | 2 +- .../InitiateAuthRequestMarshaller.java | 2 +- .../InitiateAuthResultJsonUnmarshaller.java | 2 +- .../InternalErrorExceptionUnmarshaller.java | 2 +- ...RoleAccessPolicyExceptionUnmarshaller.java | 2 +- ...idLambdaResponseExceptionUnmarshaller.java | 2 +- ...InvalidOAuthFlowExceptionUnmarshaller.java | 2 +- ...InvalidParameterExceptionUnmarshaller.java | 2 +- .../InvalidPasswordExceptionUnmarshaller.java | 2 +- ...RoleAccessPolicyExceptionUnmarshaller.java | 2 +- ...rustRelationshipExceptionUnmarshaller.java | 2 +- ...oolConfigurationExceptionUnmarshaller.java | 2 +- .../LambdaConfigTypeJsonMarshaller.java | 2 +- .../LambdaConfigTypeJsonUnmarshaller.java | 2 +- .../LimitExceededExceptionUnmarshaller.java | 2 +- .../ListDevicesRequestMarshaller.java | 2 +- .../ListDevicesResultJsonUnmarshaller.java | 2 +- .../ListGroupsRequestMarshaller.java | 2 +- .../ListGroupsResultJsonUnmarshaller.java | 2 +- ...istIdentityProvidersRequestMarshaller.java | 2 +- ...entityProvidersResultJsonUnmarshaller.java | 2 +- .../ListResourceServersRequestMarshaller.java | 2 +- ...ResourceServersResultJsonUnmarshaller.java | 2 +- .../ListTagsForResourceRequestMarshaller.java | 2 +- ...TagsForResourceResultJsonUnmarshaller.java | 2 +- .../ListUserImportJobsRequestMarshaller.java | 2 +- ...tUserImportJobsResultJsonUnmarshaller.java | 2 +- .../ListUserPoolClientsRequestMarshaller.java | 2 +- ...UserPoolClientsResultJsonUnmarshaller.java | 2 +- .../ListUserPoolsRequestMarshaller.java | 2 +- .../ListUserPoolsResultJsonUnmarshaller.java | 2 +- .../ListUsersInGroupRequestMarshaller.java | 2 +- ...istUsersInGroupResultJsonUnmarshaller.java | 2 +- .../transform/ListUsersRequestMarshaller.java | 2 +- .../ListUsersResultJsonUnmarshaller.java | 2 +- .../LogConfigurationTypeJsonMarshaller.java | 57 + .../LogConfigurationTypeJsonUnmarshaller.java | 65 + ...liveryConfigurationTypeJsonMarshaller.java | 58 + ...veryConfigurationTypeJsonUnmarshaller.java | 64 + ...FAMethodNotFoundExceptionUnmarshaller.java | 2 +- .../MFAOptionTypeJsonMarshaller.java | 2 +- .../MFAOptionTypeJsonUnmarshaller.java | 2 +- .../MessageTemplateTypeJsonMarshaller.java | 2 +- .../MessageTemplateTypeJsonUnmarshaller.java | 2 +- .../NewDeviceMetadataTypeJsonMarshaller.java | 2 +- ...NewDeviceMetadataTypeJsonUnmarshaller.java | 2 +- .../NotAuthorizedExceptionUnmarshaller.java | 2 +- ...NotifyConfigurationTypeJsonMarshaller.java | 2 +- ...tifyConfigurationTypeJsonUnmarshaller.java | 2 +- .../NotifyEmailTypeJsonMarshaller.java | 2 +- .../NotifyEmailTypeJsonUnmarshaller.java | 2 +- ...ttributeConstraintsTypeJsonMarshaller.java | 2 +- ...ributeConstraintsTypeJsonUnmarshaller.java | 2 +- .../PasswordPolicyTypeJsonMarshaller.java | 2 +- .../PasswordPolicyTypeJsonUnmarshaller.java | 2 +- ...ordResetRequiredExceptionUnmarshaller.java | 2 +- ...econditionNotMetExceptionUnmarshaller.java | 2 +- .../ProviderDescriptionJsonMarshaller.java | 2 +- .../ProviderDescriptionJsonUnmarshaller.java | 2 +- ...viderUserIdentifierTypeJsonMarshaller.java | 2 +- ...derUserIdentifierTypeJsonUnmarshaller.java | 2 +- .../RecoveryOptionTypeJsonMarshaller.java | 2 +- .../RecoveryOptionTypeJsonUnmarshaller.java | 2 +- ...sendConfirmationCodeRequestMarshaller.java | 2 +- ...onfirmationCodeResultJsonUnmarshaller.java | 2 +- ...ResourceNotFoundExceptionUnmarshaller.java | 2 +- ...ResourceServerScopeTypeJsonMarshaller.java | 2 +- ...sourceServerScopeTypeJsonUnmarshaller.java | 2 +- .../ResourceServerTypeJsonMarshaller.java | 2 +- .../ResourceServerTypeJsonUnmarshaller.java | 2 +- ...spondToAuthChallengeRequestMarshaller.java | 2 +- ...ToAuthChallengeResultJsonUnmarshaller.java | 2 +- .../RevokeTokenRequestMarshaller.java | 2 +- .../RevokeTokenResultJsonUnmarshaller.java | 2 +- .../RiskConfigurationTypeJsonMarshaller.java | 2 +- ...RiskConfigurationTypeJsonUnmarshaller.java | 2 +- ...eptionConfigurationTypeJsonMarshaller.java | 2 +- ...tionConfigurationTypeJsonUnmarshaller.java | 2 +- .../SMSMfaSettingsTypeJsonMarshaller.java | 2 +- .../SMSMfaSettingsTypeJsonUnmarshaller.java | 2 +- .../SchemaAttributeTypeJsonMarshaller.java | 2 +- .../SchemaAttributeTypeJsonUnmarshaller.java | 2 +- ...copeDoesNotExistExceptionUnmarshaller.java | 2 +- ...eliveryConfigurationRequestMarshaller.java | 101 + ...ryConfigurationResultJsonUnmarshaller.java | 58 + ...SetRiskConfigurationRequestMarshaller.java | 2 +- ...skConfigurationResultJsonUnmarshaller.java | 2 +- .../SetUICustomizationRequestMarshaller.java | 2 +- ...UICustomizationResultJsonUnmarshaller.java | 2 +- ...SetUserMFAPreferenceRequestMarshaller.java | 2 +- ...erMFAPreferenceResultJsonUnmarshaller.java | 2 +- ...SetUserPoolMfaConfigRequestMarshaller.java | 2 +- ...erPoolMfaConfigResultJsonUnmarshaller.java | 2 +- .../SetUserSettingsRequestMarshaller.java | 2 +- ...SetUserSettingsResultJsonUnmarshaller.java | 2 +- .../transform/SignUpRequestMarshaller.java | 2 +- .../SignUpResultJsonUnmarshaller.java | 2 +- .../SmsConfigurationTypeJsonMarshaller.java | 2 +- .../SmsConfigurationTypeJsonUnmarshaller.java | 2 +- .../SmsMfaConfigTypeJsonMarshaller.java | 2 +- .../SmsMfaConfigTypeJsonUnmarshaller.java | 2 +- ...TokenMFANotFoundExceptionUnmarshaller.java | 2 +- ...twareTokenMfaConfigTypeJsonMarshaller.java | 2 +- ...areTokenMfaConfigTypeJsonUnmarshaller.java | 2 +- ...areTokenMfaSettingsTypeJsonMarshaller.java | 2 +- ...eTokenMfaSettingsTypeJsonUnmarshaller.java | 2 +- .../StartUserImportJobRequestMarshaller.java | 2 +- ...rtUserImportJobResultJsonUnmarshaller.java | 2 +- .../StopUserImportJobRequestMarshaller.java | 2 +- ...opUserImportJobResultJsonUnmarshaller.java | 2 +- ...ttributeConstraintsTypeJsonMarshaller.java | 2 +- ...ributeConstraintsTypeJsonUnmarshaller.java | 2 +- .../TagResourceRequestMarshaller.java | 2 +- .../TagResourceResultJsonUnmarshaller.java | 2 +- .../TokenValidityUnitsTypeJsonMarshaller.java | 2 +- ...okenValidityUnitsTypeJsonUnmarshaller.java | 2 +- ...nyFailedAttemptsExceptionUnmarshaller.java | 2 +- .../TooManyRequestsExceptionUnmarshaller.java | 2 +- .../UICustomizationTypeJsonMarshaller.java | 2 +- .../UICustomizationTypeJsonUnmarshaller.java | 2 +- .../UnauthorizedExceptionUnmarshaller.java | 2 +- ...UnexpectedLambdaExceptionUnmarshaller.java | 2 +- ...IdentityProviderExceptionUnmarshaller.java | 2 +- ...pportedOperationExceptionUnmarshaller.java | 2 +- ...pportedTokenTypeExceptionUnmarshaller.java | 2 +- ...pportedUserStateExceptionUnmarshaller.java | 2 +- .../UntagResourceRequestMarshaller.java | 2 +- .../UntagResourceResultJsonUnmarshaller.java | 2 +- ...ateAuthEventFeedbackRequestMarshaller.java | 2 +- ...thEventFeedbackResultJsonUnmarshaller.java | 2 +- .../UpdateDeviceStatusRequestMarshaller.java | 2 +- ...ateDeviceStatusResultJsonUnmarshaller.java | 2 +- .../UpdateGroupRequestMarshaller.java | 2 +- .../UpdateGroupResultJsonUnmarshaller.java | 2 +- ...dateIdentityProviderRequestMarshaller.java | 2 +- ...dentityProviderResultJsonUnmarshaller.java | 2 +- ...UpdateResourceServerRequestMarshaller.java | 2 +- ...eResourceServerResultJsonUnmarshaller.java | 2 +- ...UpdateUserAttributesRequestMarshaller.java | 2 +- ...eUserAttributesResultJsonUnmarshaller.java | 2 +- ...UpdateUserPoolClientRequestMarshaller.java | 2 +- ...eUserPoolClientResultJsonUnmarshaller.java | 2 +- ...UpdateUserPoolDomainRequestMarshaller.java | 2 +- ...eUserPoolDomainResultJsonUnmarshaller.java | 2 +- .../UpdateUserPoolRequestMarshaller.java | 2 +- .../UpdateUserPoolResultJsonUnmarshaller.java | 2 +- ...ibuteUpdateSettingsTypeJsonMarshaller.java | 2 +- ...uteUpdateSettingsTypeJsonUnmarshaller.java | 2 +- .../UserContextDataTypeJsonMarshaller.java | 2 +- .../UserContextDataTypeJsonUnmarshaller.java | 2 +- ...ImportInProgressExceptionUnmarshaller.java | 2 +- .../UserImportJobTypeJsonMarshaller.java | 2 +- .../UserImportJobTypeJsonUnmarshaller.java | 2 +- ...LambdaValidationExceptionUnmarshaller.java | 2 +- ...UserNotConfirmedExceptionUnmarshaller.java | 2 +- .../UserNotFoundExceptionUnmarshaller.java | 2 +- ...lAddOnNotEnabledExceptionUnmarshaller.java | 2 +- .../UserPoolAddOnsTypeJsonMarshaller.java | 2 +- .../UserPoolAddOnsTypeJsonUnmarshaller.java | 2 +- ...erPoolClientDescriptionJsonMarshaller.java | 2 +- ...PoolClientDescriptionJsonUnmarshaller.java | 2 +- .../UserPoolClientTypeJsonMarshaller.java | 2 +- .../UserPoolClientTypeJsonUnmarshaller.java | 2 +- ...UserPoolDescriptionTypeJsonMarshaller.java | 2 +- ...erPoolDescriptionTypeJsonUnmarshaller.java | 2 +- .../UserPoolPolicyTypeJsonMarshaller.java | 2 +- .../UserPoolPolicyTypeJsonUnmarshaller.java | 2 +- .../UserPoolTaggingExceptionUnmarshaller.java | 2 +- .../transform/UserPoolTypeJsonMarshaller.java | 2 +- .../UserPoolTypeJsonUnmarshaller.java | 2 +- .../transform/UserTypeJsonMarshaller.java | 2 +- .../transform/UserTypeJsonUnmarshaller.java | 2 +- ...ernameConfigurationTypeJsonMarshaller.java | 2 +- ...nameConfigurationTypeJsonUnmarshaller.java | 2 +- .../UsernameExistsExceptionUnmarshaller.java | 2 +- ...tionMessageTemplateTypeJsonMarshaller.java | 2 +- ...onMessageTemplateTypeJsonUnmarshaller.java | 2 +- .../VerifySoftwareTokenRequestMarshaller.java | 2 +- ...fySoftwareTokenResultJsonUnmarshaller.java | 2 +- .../VerifyUserAttributeRequestMarshaller.java | 2 +- ...fyUserAttributeResultJsonUnmarshaller.java | 2 +- .../cognitoidentityprovider/package-info.java | 2 +- 718 files changed, 12187 insertions(+), 1903 deletions(-) create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CloudWatchLogsConfigurationType.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventSourceName.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetLogDeliveryConfigurationRequest.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetLogDeliveryConfigurationResult.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LogConfigurationType.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LogDeliveryConfigurationType.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LogLevel.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetLogDeliveryConfigurationRequest.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetLogDeliveryConfigurationResult.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/CloudWatchLogsConfigurationTypeJsonMarshaller.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/CloudWatchLogsConfigurationTypeJsonUnmarshaller.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/GetLogDeliveryConfigurationRequestMarshaller.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/GetLogDeliveryConfigurationResultJsonUnmarshaller.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/LogConfigurationTypeJsonMarshaller.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/LogConfigurationTypeJsonUnmarshaller.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/LogDeliveryConfigurationTypeJsonMarshaller.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/LogDeliveryConfigurationTypeJsonUnmarshaller.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/SetLogDeliveryConfigurationRequestMarshaller.java create mode 100644 aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/transform/SetLogDeliveryConfigurationResultJsonUnmarshaller.java diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProvider.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProvider.java index 22dc95c9bd..cbd286f2e1 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProvider.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,18 +22,105 @@ /** * Interface for accessing Amazon Cognito Your User Pool *
- * Using the Amazon Cognito user pools API, you can create a user pool to manage - * directories and users. You can authenticate a user to obtain tokens related - * to user identity and access policies. + * With the Amazon Cognito user pools API, you can set up user pools and app + * clients, and authenticate users. To authenticate users from third-party + * identity providers (IdPs) in this API, you can link IdP users to native user profiles. Learn more about the + * authentication and authorization of federated users in the Using the Amazon Cognito user pools API and user pool endpoints. *
*- * This API reference provides information about user pools in Amazon Cognito - * user pools. + * This API reference provides detailed information about API operations and + * object types in Amazon Cognito. At the bottom of the page for each API + * operation and object, under See Also, you can learn how to use it in + * an Amazon Web Services SDK in the language of your choice. *
*- * For more information, see the Amazon Cognito Documentation. + * Along with resource management operations, the Amazon Cognito user pools API + * includes classes of operations and authorization models for client-side and + * server-side user operations. For more information, see Using the Amazon Cognito native and OIDC APIs in the Amazon Cognito + * Developer Guide. + *
+ *
+ * You can also start reading about the CognitoIdentityProvider
+ * client in the following SDK guides.
+ *
+ * Amazon Web Services SDK for .NET + *
+ *+ * Amazon Web Services SDK for C++ + *
+ *+ * Amazon Web Services SDK for Go + *
+ *+ * To get started with an Amazon Web Services SDK, see Tools to Build on Amazon Web + * Services. For example actions and scenarios, see Code examples for Amazon Cognito Identity Provider using Amazon Web Services + * SDKs. *
**/ public interface AmazonCognitoIdentityProvider { @@ -101,6 +188,33 @@ public interface AmazonCognitoIdentityProvider { ** Adds additional user attributes to the user pool schema. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to add custom attributes. @@ -130,9 +244,33 @@ AddCustomAttributesResult addCustomAttributes( *
* Adds the specified user to the specified group. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Represents the request to confirm user registration. + * Confirm a user's registration as a user pool administrator. *
* @return adminConfirmSignUpResult The response from the AdminConfirmSignUp * service method, as returned by Amazon Cognito Your User Pool. @@ -216,7 +378,7 @@ AdminConfirmSignUpResult adminConfirmSignUp(AdminConfirmSignUpRequest adminConfi * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. * @@ -236,9 +398,33 @@ AdminConfirmSignUpResult adminConfirmSignUp(AdminConfirmSignUpRequest adminConfi *FORCE_CHANGE_PASSWORD
state until they sign in and change
* their password.
*
+ *
- * AdminCreateUser
requires developer credentials.
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
*
+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to create a user in the specified user @@ -277,9 +463,33 @@ AdminCreateUserResult adminCreateUser(AdminCreateUserRequest adminCreateUserRequ *
* Deletes a user as an administrator. Works on any user. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *- * Calling this action requires developer credentials. + * Signing Amazon Web Services API Requests + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to delete a user as an administrator. @@ -306,9 +516,33 @@ void adminDeleteUser(AdminDeleteUserRequest adminDeleteUserRequest) * Deletes the user attributes in a user pool as an administrator. Works on * any user. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to delete user attributes as an @@ -349,10 +583,6 @@ AdminDeleteUserAttributesResult adminDeleteUserAttributes( * >AdminLinkProviderForUser. *
*- * This action is enabled only for admin access and requires developer - * credentials. - *
- *
* The ProviderName
must match the value specified when
* creating an IdP for the pool.
*
Cognito_Subject
and ProviderAttributeValue
* must be the subject of the SAML assertion.
*
+ * + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *GetUser
and ListUsers
API requests.
*
+ * + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *
- * You must make this API request with Amazon Web Services credentials that
- * have cognito-idp:AdminDisableUser
permissions.
+ * Signing Amazon Web Services API Requests
+ *
+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to disable the user as an @@ -444,9 +724,33 @@ AdminDisableUserResult adminDisableUser(AdminDisableUserRequest adminDisableUser *
* Enables the specified user as an administrator. Works on any user. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request that enables the user as an @@ -475,9 +779,33 @@ AdminEnableUserResult adminEnableUser(AdminEnableUserRequest adminEnableUserRequ *
* Forgets the device, as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Sends the forgot device request, as an administrator. @@ -504,9 +832,33 @@ void adminForgetDevice(AdminForgetDeviceRequest adminForgetDeviceRequest) *
* Gets the device, as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to get the device, as an administrator. @@ -535,9 +887,33 @@ AdminGetDeviceResult adminGetDevice(AdminGetDeviceRequest adminGetDeviceRequest) * Gets the specified user by user name in a user pool as an administrator. * Works on any user. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to get the specified user as an @@ -586,14 +962,37 @@ AdminGetUserResult adminGetUser(AdminGetUserRequest adminGetUserRequest) * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
- * + *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Initiates the authorization request, as an administrator. @@ -653,10 +1052,33 @@ AdminInitiateAuthResult adminInitiateAuth(AdminInitiateAuthRequest adminInitiate * be used with external IdPs and provider attributes that have been trusted * by the application owner. *
- * + *- * This action is administrative and requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Lists devices, as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to list devices, as an administrator. @@ -716,9 +1162,33 @@ AdminListDevicesResult adminListDevices(AdminListDevicesRequest adminListDevices *
* Lists the groups that the user belongs to. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Removes the specified user from the specified group. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * When a developer calls this API, the current password is invalidated, so - * it must be changed. If a user tries to sign in after the API is called, - * the app will get a PasswordResetRequiredException exception back and - * should direct the user down the flow to reset the password, which is the - * same as the forgot password flow. In addition, if the user pool has phone - * verification selected and a verified phone number exists for the user, or - * if email verification is selected and a verified email exists for the - * user, calling this API will also result in sending a message to the end - * user with the code to change their password. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -833,14 +1343,49 @@ void adminRemoveUserFromGroup(AdminRemoveUserFromGroupRequest adminRemoveUserFro * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*
- * Calling this action requires developer credentials.
+ * Deactivates a user's password, requiring them to change it. If a user
+ * tries to sign in after the API is called, Amazon Cognito responds with a
+ * PasswordResetRequiredException
error. Your app must then
+ * perform the actions that reset your user's password: the forgot-password
+ * flow. In addition, if the user pool has phone verification selected and a
+ * verified phone number exists for the user, or if email verification is
+ * selected and a verified email exists for the user, calling this API will
+ * also result in sending a message to the end user with the code to change
+ * their password.
+ *
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to reset a user's password as an @@ -898,14 +1443,37 @@ AdminResetUserPasswordResult adminResetUserPassword( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
- * + *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** The request to respond to the authentication challenge, as an @@ -955,6 +1523,33 @@ AdminRespondToAuthChallengeResult adminRespondToAuthChallenge( * options are activated and no preference is set, a challenge to choose an * MFA option will be returned during sign-in. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *Confirmed
.
*
+ *
+ * AdminSetUserPassword
can set a password for the user profile
+ * that Amazon Cognito creates for third-party federated users. When you set
+ * a password, the federated user's status changes from
+ * EXTERNAL_PROVIDER
to CONFIRMED
. A user in this
+ * state can sign in as a federated user, and initiate authentication flows
+ * in the API like a linked native user. They can also modify their password
+ * and attributes in token-authenticated API requests like
+ * ChangePassword
and UpdateUserAttributes
. As a
+ * best security practice and to keep users in sync with your external IdP,
+ * don't set passwords on federated user profiles. To set up a federated
+ * user for native sign-in with a linked native user, refer to Linking federated users to an existing user profile.
+ *
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** You can use this parameter to set an MFA configuration that @@ -1059,6 +1723,33 @@ AdminSetUserSettingsResult adminSetUserSettings( * valid user. This feedback is used for improving the risk evaluation * decision for the user pool as part of Amazon Cognito advanced security. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Updates the device status as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** The request to update the device status, as an administrator. @@ -1117,18 +1832,6 @@ AdminUpdateDeviceStatusResult adminUpdateDeviceStatus( throws AmazonClientException, AmazonServiceException; /** - *
- * Updates the specified user's attributes, including developer attributes, - * as an administrator. Works on any user. - *
- *
- * For custom attributes, you must prepend the custom:
prefix
- * to the attribute name.
- *
- * In addition to updating user attributes, this API can also be used to - * mark phone and email as verified. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -1149,14 +1852,50 @@ AdminUpdateDeviceStatusResult adminUpdateDeviceStatus( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*- * Calling this action requires developer credentials. + * Updates the specified user's attributes, including developer attributes, + * as an administrator. Works on any user. + *
+ *
+ * For custom attributes, you must prepend the custom:
prefix
+ * to the attribute name.
+ *
+ * In addition to updating user attributes, this API can also be used to + * mark phone and email as verified. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to update the user's attributes as an @@ -1192,17 +1931,44 @@ AdminUpdateUserAttributesResult adminUpdateUserAttributes( /** *
- * Signs out a user from all devices. You must sign
- * AdminUserGlobalSignOut
requests with Amazon Web Services
- * credentials. It also invalidates all refresh tokens that Amazon Cognito
- * has issued to a user. The user's current access and ID tokens remain
- * valid until they expire. By default, access and ID tokens expire one hour
- * after they're issued. A user can still use a hosted UI cookie to retrieve
- * new tokens for the duration of the cookie validity period of 1 hour.
+ * Signs out a user from all devices. AdminUserGlobalSignOut
+ * invalidates all identity, access and refresh tokens that Amazon Cognito
+ * has issued to a user. A user can still use a hosted UI cookie to retrieve
+ * new tokens for the duration of the 1-hour cookie validity period.
*
- * Calling this action requires developer credentials.
+ * Your app isn't aware that a user's access token is revoked unless it
+ * attempts to authorize a user pools API request with an access token that
+ * contains the scope aws.cognito.signin.user.admin
. Your app
+ * might otherwise accept access tokens until they expire.
+ *
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ *
* The request to sign out of all devices, as an administrator.
@@ -1255,6 +2021,16 @@ AdminUserGlobalSignOutResult adminUserGlobalSignOut(
* generates a SOFTWARE_TOKEN_MFA
challenge when they
* authenticate. Respond to this challenge with your user's TOTP.
*
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
** Changes the password for a specified user in a user pool. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to change a user password. @@ -1317,6 +2104,17 @@ ChangePasswordResult changePassword(ChangePasswordRequest changePasswordRequest) * Confirms tracking of the device. This API call is the call that begins * device tracking. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Confirms the device request. @@ -1351,6 +2149,17 @@ ConfirmDeviceResult confirmDevice(ConfirmDeviceRequest confirmDeviceRequest) *
* Allows a user to enter a confirmation code to reset a forgotten password. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** The request representing the confirmation for a password @@ -1391,6 +2200,17 @@ ConfirmForgotPasswordResult confirmForgotPassword( *
* Confirms registration of a new user. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to confirm registration of a user. @@ -1427,9 +2247,33 @@ ConfirmSignUpResult confirmSignUp(ConfirmSignUpRequest confirmSignUpRequest) *
* Creates a new group in the specified user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *- * Calling this action requires developer credentials. + * Signing Amazon Web Services API Requests + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Creates an IdP for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Creates the user import job. + * Creates a user import job. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to create the user import job. @@ -1539,10 +2464,6 @@ CreateUserImportJobResult createUserImportJob( AmazonServiceException; /** - *
- * Creates a new Amazon Cognito user pool and sets the password policy for - * the pool. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -1563,11 +2484,47 @@ CreateUserImportJobResult createUserImportJob( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*+ * Creates a new Amazon Cognito user pool and sets the password policy for + * the pool. + *
+ *+ * If you don't provide a value for an attribute, Amazon Cognito sets it to + * its default value. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to create a user pool. @@ -1604,6 +2561,38 @@ CreateUserPoolResult createUserPool(CreateUserPoolRequest createUserPoolRequest) * "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html" * >RevokeToken. *
+ *+ * If you don't provide a value for an attribute, Amazon Cognito sets it to + * its default value. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to create a user pool client. @@ -1635,6 +2624,33 @@ CreateUserPoolClientResult createUserPoolClient( *
* Creates a new domain for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Allows a user to delete himself or herself. + * Allows a user to delete their own user profile. + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. *
+ ** Represents the request to delete a user. @@ -1760,6 +2787,17 @@ void deleteUser(DeleteUserRequest deleteUserRequest) throws AmazonClientExceptio *
* Deletes the attributes for a user. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to delete user attributes. @@ -1975,6 +3013,33 @@ DescribeUserImportJobResult describeUserImportJob( * Returns the configuration information and metadata of the specified user * pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to describe the user pool. @@ -2003,6 +3068,33 @@ DescribeUserPoolResult describeUserPool(DescribeUserPoolRequest describeUserPool * Client method for returning the configuration information and metadata of * the specified user pool app client. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to describe a user pool client. @@ -2056,6 +3148,17 @@ DescribeUserPoolDomainResult describeUserPoolDomain( *
* Forgets the specified device. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ *
* Represents the request to forget the device.
@@ -2090,14 +3193,29 @@ void forgetDevice(ForgetDeviceRequest forgetDeviceRequest) throws AmazonClientEx
* specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer
- * Guide. If neither a verified phone number nor a verified email
- * exists, an InvalidParameterException
is thrown. To use the
- * confirmation code for resetting the password, call . To use the confirmation code for resetting the password, call
+ * ConfirmForgotPassword.
*
+ * If neither a verified phone number nor a verified email exists, this API
+ * returns InvalidParameterException
. If your app client has a
+ * client secret and you don't provide a SECRET_HASH
parameter,
+ * this API returns NotAuthorizedException
.
+ *
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -2116,7 +3234,7 @@ void forgetDevice(ForgetDeviceRequest forgetDeviceRequest) throws AmazonClientEx * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -2185,6 +3303,17 @@ GetCSVHeaderResult getCSVHeader(GetCSVHeaderRequest getCSVHeaderRequest) ** Gets the device. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to get the device. @@ -2241,18 +3370,44 @@ GetGroupResult getGroup(GetGroupRequest getGroupRequest) throws AmazonClientExce /** *
- * Gets the specified IdP. + * Gets the specified IdP. + *
+ * + * @param getIdentityProviderByIdentifierRequest + * @return getIdentityProviderByIdentifierResult The response from the + * GetIdentityProviderByIdentifier service method, as returned by + * Amazon Cognito Your User Pool. + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws NotAuthorizedException + * @throws TooManyRequestsException + * @throws InternalErrorException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Cognito Your User Pool indicating either a problem with the + * data in the request, or a server side issue. + */ + GetIdentityProviderByIdentifierResult getIdentityProviderByIdentifier( + GetIdentityProviderByIdentifierRequest getIdentityProviderByIdentifierRequest) + throws AmazonClientException, AmazonServiceException; + + /** + *+ * Gets the detailed activity logging configuration for a user pool. *
* - * @param getIdentityProviderByIdentifierRequest - * @return getIdentityProviderByIdentifierResult The response from the - * GetIdentityProviderByIdentifier service method, as returned by - * Amazon Cognito Your User Pool. + * @param getLogDeliveryConfigurationRequest + * @return getLogDeliveryConfigurationResult The response from the + * GetLogDeliveryConfiguration service method, as returned by Amazon + * Cognito Your User Pool. * @throws InvalidParameterException - * @throws ResourceNotFoundException - * @throws NotAuthorizedException - * @throws TooManyRequestsException * @throws InternalErrorException + * @throws TooManyRequestsException + * @throws NotAuthorizedException + * @throws ResourceNotFoundException * @throws AmazonClientException If any internal errors are encountered * inside the client while attempting to make the request or * handle the response. For example if a network connection is @@ -2261,8 +3416,8 @@ GetGroupResult getGroup(GetGroupRequest getGroupRequest) throws AmazonClientExce * Cognito Your User Pool indicating either a problem with the * data in the request, or a server side issue. */ - GetIdentityProviderByIdentifierResult getIdentityProviderByIdentifier( - GetIdentityProviderByIdentifierRequest getIdentityProviderByIdentifierRequest) + GetLogDeliveryConfigurationResult getLogDeliveryConfiguration( + GetLogDeliveryConfigurationRequest getLogDeliveryConfigurationRequest) throws AmazonClientException, AmazonServiceException; /** @@ -2331,6 +3486,17 @@ GetUICustomizationResult getUICustomization(GetUICustomizationRequest getUICusto ** Gets the user attributes and metadata for a user. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to get information about the user. @@ -2365,6 +3531,16 @@ GetUserResult getUser(GetUserRequest getUserRequest) throws AmazonClientExceptio *
*+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -2383,7 +3559,7 @@ GetUserResult getUser(GetUserRequest getUserRequest) throws AmazonClientExceptio * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -2452,11 +3628,28 @@ GetUserPoolMfaConfigResult getUserPoolMfaConfig( /** *
- * Signs out users from all devices. It also invalidates all refresh tokens
- * that Amazon Cognito has issued to a user. A user can still use a hosted
- * UI cookie to retrieve new tokens for the duration of the 1-hour cookie
- * validity period.
+ * Signs out a user from all devices. GlobalSignOut
invalidates
+ * all identity, access and refresh tokens that Amazon Cognito has issued to
+ * a user. A user can still use a hosted UI cookie to retrieve new tokens
+ * for the duration of the 1-hour cookie validity period.
*
+ * Your app isn't aware that a user's access token is revoked unless it
+ * attempts to authorize a user pools API request with an access token that
+ * contains the scope aws.cognito.signin.user.admin
. Your app
+ * might otherwise accept access tokens until they expire.
+ *
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to sign out all devices. @@ -2492,6 +3685,16 @@ GlobalSignOutResult globalSignOut(GlobalSignOutRequest globalSignOutRequest) *
*+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -2510,7 +3713,7 @@ GlobalSignOutResult globalSignOut(GlobalSignOutRequest globalSignOutRequest) * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -2552,6 +3755,17 @@ InitiateAuthResult initiateAuth(InitiateAuthRequest initiateAuthRequest) * Lists the sign-in devices that Amazon Cognito has registered to the * current user. * + *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to list the devices. @@ -2583,9 +3797,33 @@ ListDevicesResult listDevices(ListDevicesRequest listDevicesRequest) *
* Lists the groups associated with a user pool. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Lists information about all IdPs for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Lists the resource servers for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Lists the user import jobs. + * Lists user import jobs for a user pool. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to list the user import jobs. @@ -2722,6 +4041,33 @@ ListUserImportJobsResult listUserImportJobs(ListUserImportJobsRequest listUserIm *
* Lists the clients that have been created for the specified user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to list the user pool clients. @@ -2750,6 +4096,33 @@ ListUserPoolClientsResult listUserPoolClients( *
* Lists the user pools associated with an Amazon Web Services account. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to list user pools. @@ -2773,8 +4146,35 @@ ListUserPoolsResult listUserPools(ListUserPoolsRequest listUserPoolsRequest) /** *
- * Lists the users in the Amazon Cognito user pool. + * Lists users and their basic details in a user pool. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to list users. @@ -2801,9 +4201,33 @@ ListUsersResult listUsers(ListUsersRequest listUsersRequest) throws AmazonClient *
* Lists the users in the specified group. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -2849,7 +4283,7 @@ ListUsersInGroupResult listUsersInGroup(ListUsersInGroupRequest listUsersInGroup * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -2894,6 +4328,16 @@ ResendConfirmationCodeResult resendConfirmationCode( * *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -2912,7 +4356,7 @@ ResendConfirmationCodeResult resendConfirmationCode( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -2964,6 +4408,17 @@ RespondToAuthChallengeResult respondToAuthChallenge( * revoked token to access Amazon Cognito user APIs, or to authorize access * to your resource server. * + *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Sets up or modifies the detailed activity logging configuration of a user + * pool. + *
+ * + * @param setLogDeliveryConfigurationRequest + * @return setLogDeliveryConfigurationResult The response from the + * SetLogDeliveryConfiguration service method, as returned by Amazon + * Cognito Your User Pool. + * @throws InvalidParameterException + * @throws InternalErrorException + * @throws TooManyRequestsException + * @throws NotAuthorizedException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Cognito Your User Pool indicating either a problem with the + * data in the request, or a server side issue. + */ + SetLogDeliveryConfigurationResult setLogDeliveryConfiguration( + SetLogDeliveryConfigurationRequest setLogDeliveryConfigurationRequest) + throws AmazonClientException, AmazonServiceException; + /** ** Configures actions on detected risks. To delete the risk configuration @@ -3077,6 +4559,17 @@ SetUICustomizationResult setUICustomization(SetUICustomizationRequest setUICusto * of sign-in attempts, deactivate MFA for users and turn on Adaptive * Authentication for the user pool. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to set user settings. @@ -3195,6 +4699,16 @@ SetUserSettingsResult setUserSettings(SetUserSettingsRequest setUserSettingsRequ *
*+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -3213,7 +4727,7 @@ SetUserSettingsResult setUserSettings(SetUserSettingsRequest setUserSettingsRequ * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -3381,6 +4895,17 @@ UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest) * evaluation decision for the user pool as part of Amazon Cognito advanced * security. * + *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Updates the device status. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to update the device status. @@ -3440,9 +4976,33 @@ UpdateDeviceStatusResult updateDeviceStatus(UpdateDeviceStatusRequest updateDevi *
* Updates the specified group with the specified attributes. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Updates IdP information for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -3548,7 +5171,7 @@ UpdateResourceServerResult updateResourceServer( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -3592,13 +5215,6 @@ UpdateUserAttributesResult updateUserAttributes( AmazonServiceException; /** - *- * Updates the specified user pool with the specified attributes. You can - * get a list of the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it - * will be set to the default value. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -3619,11 +5235,49 @@ UpdateUserAttributesResult updateUserAttributes( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*+ * Updates the specified user pool with the specified attributes. You can + * get a list of the current user pool settings using DescribeUserPool. + *
+ *+ * If you don't provide a value for an attribute, Amazon Cognito sets it to + * its default value. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to update the user pool. @@ -3662,8 +5316,8 @@ UpdateUserPoolResult updateUserPool(UpdateUserPoolRequest updateUserPoolRequest) *
*- * If you don't provide a value for an attribute, it will be set to the - * default value. + * If you don't provide a value for an attribute, Amazon Cognito sets it to + * its default value. *
*@@ -3672,6 +5326,33 @@ UpdateUserPoolResult updateUserPool(UpdateUserPoolRequest updateUserPoolRequest) * "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html" * >RevokeToken. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to update the user pool client. @@ -3741,6 +5422,33 @@ UpdateUserPoolClientResult updateUserPoolClient( * "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html" * >Using Your Own Domain for the Hosted UI. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** The UpdateUserPoolDomain request input. @@ -3772,6 +5480,17 @@ UpdateUserPoolDomainResult updateUserPoolDomain( * if successful. The request takes an access token or a session string, but * not both. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to verify user attributes. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProviderClient.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProviderClient.java index 63512ee1ed..5e5f443ca9 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProviderClient.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/AmazonCognitoIdentityProviderClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -36,18 +36,105 @@ * completes. *
*
- * Using the Amazon Cognito user pools API, you can create a user pool to manage - * directories and users. You can authenticate a user to obtain tokens related - * to user identity and access policies. + * With the Amazon Cognito user pools API, you can set up user pools and app + * clients, and authenticate users. To authenticate users from third-party + * identity providers (IdPs) in this API, you can link IdP users to native user profiles. Learn more about the + * authentication and authorization of federated users in the Using the Amazon Cognito user pools API and user pool endpoints. *
*- * This API reference provides information about user pools in Amazon Cognito - * user pools. + * This API reference provides detailed information about API operations and + * object types in Amazon Cognito. At the bottom of the page for each API + * operation and object, under See Also, you can learn how to use it in + * an Amazon Web Services SDK in the language of your choice. *
*- * For more information, see the Amazon Cognito Documentation. + * Along with resource management operations, the Amazon Cognito user pools API + * includes classes of operations and authorization models for client-side and + * server-side user operations. For more information, see Using the Amazon Cognito native and OIDC APIs in the Amazon Cognito + * Developer Guide. + *
+ *
+ * You can also start reading about the CognitoIdentityProvider
+ * client in the following SDK guides.
+ *
+ * Amazon Web Services SDK for .NET + *
+ *+ * Amazon Web Services SDK for C++ + *
+ *+ * Amazon Web Services SDK for Go + *
+ *+ * To get started with an Amazon Web Services SDK, see Tools to Build on Amazon Web + * Services. For example actions and scenarios, see Code examples for Amazon Cognito Identity Provider using Amazon Web Services + * SDKs. *
*/ public class AmazonCognitoIdentityProviderClient extends AmazonWebServiceClient implements @@ -409,6 +496,33 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration ** Adds additional user attributes to the user pool schema. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to add custom attributes. @@ -465,9 +579,33 @@ public AddCustomAttributesResult addCustomAttributes( *
* Adds the specified user to the specified group. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ *- * Represents the request to confirm user registration. + * Confirm a user's registration as a user pool administrator. *
* @return adminConfirmSignUpResult The response from the AdminConfirmSignUp * service method, as returned by Amazon Cognito Your User Pool. @@ -601,7 +763,7 @@ public AdminConfirmSignUpResult adminConfirmSignUp( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. * @@ -621,9 +783,33 @@ public AdminConfirmSignUpResult adminConfirmSignUp( *FORCE_CHANGE_PASSWORD
state until they sign in and change
* their password.
*
+ * + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *
- * AdminCreateUser
requires developer credentials.
+ * Signing Amazon Web Services API Requests
*
+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to create a user in the specified user @@ -688,9 +874,33 @@ public AdminCreateUserResult adminCreateUser(AdminCreateUserRequest adminCreateU *
* Deletes a user as an administrator. Works on any user. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to delete a user as an administrator. @@ -738,9 +948,33 @@ public void adminDeleteUser(AdminDeleteUserRequest adminDeleteUserRequest) * Deletes the user attributes in a user pool as an administrator. Works on * any user. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to delete user attributes as an @@ -808,10 +1042,6 @@ public AdminDeleteUserAttributesResult adminDeleteUserAttributes( * >AdminLinkProviderForUser. *
*- * This action is enabled only for admin access and requires developer - * credentials. - *
- *
* The ProviderName
must match the value specified when
* creating an IdP for the pool.
*
Cognito_Subject
and ProviderAttributeValue
* must be the subject of the SAML assertion.
*
+ * + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *GetUser
and ListUsers
API requests.
*
+ * + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *
- * You must make this API request with Amazon Web Services credentials that
- * have cognito-idp:AdminDisableUser
permissions.
+ * Using the Amazon Cognito user pools API and user pool endpoints
*
* Represents the request to disable the user as an @@ -956,9 +1236,33 @@ public AdminDisableUserResult adminDisableUser(AdminDisableUserRequest adminDisa *
* Enables the specified user as an administrator. Works on any user. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *- * Calling this action requires developer credentials. + * Signing Amazon Web Services API Requests *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request that enables the user as an @@ -1013,9 +1317,33 @@ public AdminEnableUserResult adminEnableUser(AdminEnableUserRequest adminEnableU *
* Forgets the device, as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Sends the forgot device request, as an administrator. @@ -1064,9 +1392,33 @@ public void adminForgetDevice(AdminForgetDeviceRequest adminForgetDeviceRequest) *
* Gets the device, as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to get the device, as an administrator. @@ -1121,9 +1473,33 @@ public AdminGetDeviceResult adminGetDevice(AdminGetDeviceRequest adminGetDeviceR * Gets the specified user by user name in a user pool as an administrator. * Works on any user. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to get the specified user as an @@ -1198,14 +1574,37 @@ public AdminGetUserResult adminGetUser(AdminGetUserRequest adminGetUserRequest) * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
- *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Initiates the authorization request, as an administrator. @@ -1293,10 +1692,33 @@ public AdminInitiateAuthResult adminInitiateAuth( * be used with external IdPs and provider attributes that have been trusted * by the application owner. *
- * + *- * This action is administrative and requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Lists devices, as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to list devices, as an administrator. @@ -1409,9 +1855,33 @@ public AdminListDevicesResult adminListDevices(AdminListDevicesRequest adminList *
* Lists the groups that the user belongs to. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Removes the specified user from the specified group. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * When a developer calls this API, the current password is invalidated, so - * it must be changed. If a user tries to sign in after the API is called, - * the app will get a PasswordResetRequiredException exception back and - * should direct the user down the flow to reset the password, which is the - * same as the forgot password flow. In addition, if the user pool has phone - * verification selected and a verified phone number exists for the user, or - * if email verification is selected and a verified email exists for the - * user, calling this API will also result in sending a message to the end - * user with the code to change their password. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -1603,14 +2113,49 @@ public void adminRemoveUserFromGroup( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*
- * Calling this action requires developer credentials.
+ * Deactivates a user's password, requiring them to change it. If a user
+ * tries to sign in after the API is called, Amazon Cognito responds with a
+ * PasswordResetRequiredException
error. Your app must then
+ * perform the actions that reset your user's password: the forgot-password
+ * flow. In addition, if the user pool has phone verification selected and a
+ * verified phone number exists for the user, or if email verification is
+ * selected and a verified email exists for the user, calling this API will
+ * also result in sending a message to the end user with the code to change
+ * their password.
+ *
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to reset a user's password as an @@ -1695,14 +2240,37 @@ public AdminResetUserPasswordResult adminResetUserPassword( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
- *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** The request to respond to the authentication challenge, as an @@ -1779,6 +2347,33 @@ public AdminRespondToAuthChallengeResult adminRespondToAuthChallenge( * options are activated and no preference is set, a challenge to choose an * MFA option will be returned during sign-in. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *Confirmed
.
*
+ *
+ * AdminSetUserPassword
can set a password for the user profile
+ * that Amazon Cognito creates for third-party federated users. When you set
+ * a password, the federated user's status changes from
+ * EXTERNAL_PROVIDER
to CONFIRMED
. A user in this
+ * state can sign in as a federated user, and initiate authentication flows
+ * in the API like a linked native user. They can also modify their password
+ * and attributes in token-authenticated API requests like
+ * ChangePassword
and UpdateUserAttributes
. As a
+ * best security practice and to keep users in sync with your external IdP,
+ * don't set passwords on federated user profiles. To set up a federated
+ * user for native sign-in with a linked native user, refer to Linking federated users to an existing user profile.
+ *
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** You can use this parameter to set an MFA configuration that @@ -1964,6 +2628,33 @@ public AdminSetUserSettingsResult adminSetUserSettings( * valid user. This feedback is used for improving the risk evaluation * decision for the user pool as part of Amazon Cognito advanced security. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Updates the device status as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** The request to update the device status, as an administrator. @@ -2076,18 +2791,6 @@ public AdminUpdateDeviceStatusResult adminUpdateDeviceStatus( } /** - *
- * Updates the specified user's attributes, including developer attributes, - * as an administrator. Works on any user. - *
- *
- * For custom attributes, you must prepend the custom:
prefix
- * to the attribute name.
- *
- * In addition to updating user attributes, this API can also be used to - * mark phone and email as verified. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -2108,14 +2811,50 @@ public AdminUpdateDeviceStatusResult adminUpdateDeviceStatus( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
- *+ * Updates the specified user's attributes, including developer attributes, + * as an administrator. Works on any user. + *
+ *
+ * For custom attributes, you must prepend the custom:
prefix
+ * to the attribute name.
+ *
+ * In addition to updating user attributes, this API can also be used to + * mark phone and email as verified. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *- * Calling this action requires developer credentials. + * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to update the user's attributes as an @@ -2178,17 +2917,44 @@ public AdminUpdateUserAttributesResult adminUpdateUserAttributes( /** *
- * Signs out a user from all devices. You must sign
- * AdminUserGlobalSignOut
requests with Amazon Web Services
- * credentials. It also invalidates all refresh tokens that Amazon Cognito
- * has issued to a user. The user's current access and ID tokens remain
- * valid until they expire. By default, access and ID tokens expire one hour
- * after they're issued. A user can still use a hosted UI cookie to retrieve
- * new tokens for the duration of the cookie validity period of 1 hour.
+ * Signs out a user from all devices. AdminUserGlobalSignOut
+ * invalidates all identity, access and refresh tokens that Amazon Cognito
+ * has issued to a user. A user can still use a hosted UI cookie to retrieve
+ * new tokens for the duration of the 1-hour cookie validity period.
*
- * Calling this action requires developer credentials.
+ * Your app isn't aware that a user's access token is revoked unless it
+ * attempts to authorize a user pools API request with an access token that
+ * contains the scope aws.cognito.signin.user.admin
. Your app
+ * might otherwise accept access tokens until they expire.
+ *
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ *
* The request to sign out of all devices, as an administrator.
@@ -2268,6 +3034,16 @@ public AdminUserGlobalSignOutResult adminUserGlobalSignOut(
* generates a SOFTWARE_TOKEN_MFA
challenge when they
* authenticate. Respond to this challenge with your user's TOTP.
*
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
** Changes the password for a specified user in a user pool. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to change a user password. @@ -2383,6 +3170,17 @@ public ChangePasswordResult changePassword(ChangePasswordRequest changePasswordR * Confirms tracking of the device. This API call is the call that begins * device tracking. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Confirms the device request. @@ -2443,6 +3241,17 @@ public ConfirmDeviceResult confirmDevice(ConfirmDeviceRequest confirmDeviceReque *
* Allows a user to enter a confirmation code to reset a forgotten password. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** The request representing the confirmation for a password @@ -2510,6 +3319,17 @@ public ConfirmForgotPasswordResult confirmForgotPassword( *
* Confirms registration of a new user. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to confirm registration of a user. @@ -2572,9 +3392,33 @@ public ConfirmSignUpResult confirmSignUp(ConfirmSignUpRequest confirmSignUpReque *
* Creates a new group in the specified user pool. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Creates an IdP for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Creates the user import job. + * Creates a user import job. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to create the user import job. @@ -2791,10 +3716,6 @@ public CreateUserImportJobResult createUserImportJob( } /** - *
- * Creates a new Amazon Cognito user pool and sets the password policy for - * the pool. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -2815,11 +3736,47 @@ public CreateUserImportJobResult createUserImportJob( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*+ * Creates a new Amazon Cognito user pool and sets the password policy for + * the pool. + *
+ *+ * If you don't provide a value for an attribute, Amazon Cognito sets it to + * its default value. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to create a user pool. @@ -2882,6 +3839,38 @@ public CreateUserPoolResult createUserPool(CreateUserPoolRequest createUserPoolR * "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html" * >RevokeToken. *
+ *+ * If you don't provide a value for an attribute, Amazon Cognito sets it to + * its default value. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to create a user pool client. @@ -2940,6 +3929,33 @@ public CreateUserPoolClientResult createUserPoolClient( *
* Creates a new domain for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Allows a user to delete himself or herself. + * Allows a user to delete their own user profile. + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. *
+ ** Represents the request to delete a user. @@ -3178,6 +4205,17 @@ public void deleteUser(DeleteUserRequest deleteUserRequest) *
* Deletes the attributes for a user. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to delete user attributes. @@ -3598,6 +4636,33 @@ public DescribeUserImportJobResult describeUserImportJob( * Returns the configuration information and metadata of the specified user * pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to describe the user pool. @@ -3652,6 +4717,33 @@ public DescribeUserPoolResult describeUserPool(DescribeUserPoolRequest describeU * Client method for returning the configuration information and metadata of * the specified user pool app client. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to describe a user pool client. @@ -3759,6 +4851,17 @@ public DescribeUserPoolDomainResult describeUserPoolDomain( *
* Forgets the specified device. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ *
* Represents the request to forget the device.
@@ -3814,14 +4917,29 @@ public void forgetDevice(ForgetDeviceRequest forgetDeviceRequest)
* specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer
- * Guide. If neither a verified phone number nor a verified email
- * exists, an InvalidParameterException
is thrown. To use the
- * confirmation code for resetting the password, call . To use the confirmation code for resetting the password, call
+ * ConfirmForgotPassword.
*
+ * If neither a verified phone number nor a verified email exists, this API
+ * returns InvalidParameterException
. If your app client has a
+ * client secret and you don't provide a SECRET_HASH
parameter,
+ * this API returns NotAuthorizedException
.
+ *
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -3840,7 +4958,7 @@ public void forgetDevice(ForgetDeviceRequest forgetDeviceRequest) * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -3961,6 +5079,17 @@ public GetCSVHeaderResult getCSVHeader(GetCSVHeaderRequest getCSVHeaderRequest) ** Gets the device. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to get the device. @@ -4120,6 +5249,59 @@ public GetIdentityProviderByIdentifierResult getIdentityProviderByIdentifier( } } + /** + *
+ * Gets the detailed activity logging configuration for a user pool. + *
+ * + * @param getLogDeliveryConfigurationRequest + * @return getLogDeliveryConfigurationResult The response from the + * GetLogDeliveryConfiguration service method, as returned by Amazon + * Cognito Your User Pool. + * @throws InvalidParameterException + * @throws InternalErrorException + * @throws TooManyRequestsException + * @throws NotAuthorizedException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Cognito Your User Pool indicating either a problem with the + * data in the request, or a server side issue. + */ + public GetLogDeliveryConfigurationResult getLogDeliveryConfiguration( + GetLogDeliveryConfigurationRequest getLogDeliveryConfigurationRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(getLogDeliveryConfigurationRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request* This method takes a user pool ID, and returns the signing certificate. @@ -4241,6 +5423,17 @@ public GetUICustomizationResult getUICustomization( *
* Gets the user attributes and metadata for a user. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to get information about the user. @@ -4301,6 +5494,16 @@ public GetUserResult getUser(GetUserRequest getUserRequest) *
*+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -4319,7 +5522,7 @@ public GetUserResult getUser(GetUserRequest getUserRequest) * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -4442,11 +5645,28 @@ public GetUserPoolMfaConfigResult getUserPoolMfaConfig( /** *
- * Signs out users from all devices. It also invalidates all refresh tokens
- * that Amazon Cognito has issued to a user. A user can still use a hosted
- * UI cookie to retrieve new tokens for the duration of the 1-hour cookie
- * validity period.
+ * Signs out a user from all devices. GlobalSignOut
invalidates
+ * all identity, access and refresh tokens that Amazon Cognito has issued to
+ * a user. A user can still use a hosted UI cookie to retrieve new tokens
+ * for the duration of the 1-hour cookie validity period.
*
+ * Your app isn't aware that a user's access token is revoked unless it
+ * attempts to authorize a user pools API request with an access token that
+ * contains the scope aws.cognito.signin.user.admin
. Your app
+ * might otherwise accept access tokens until they expire.
+ *
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to sign out all devices. @@ -4508,6 +5728,16 @@ public GlobalSignOutResult globalSignOut(GlobalSignOutRequest globalSignOutReque *
*+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -4526,7 +5756,7 @@ public GlobalSignOutResult globalSignOut(GlobalSignOutRequest globalSignOutReque * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -4594,6 +5824,17 @@ public InitiateAuthResult initiateAuth(InitiateAuthRequest initiateAuthRequest) * Lists the sign-in devices that Amazon Cognito has registered to the * current user. * + *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to list the devices. @@ -4651,9 +5892,33 @@ public ListDevicesResult listDevices(ListDevicesRequest listDevicesRequest) *
* Lists the groups associated with a user pool. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Lists information about all IdPs for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Lists the resource servers for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Lists the user import jobs. + * Lists user import jobs for a user pool. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to list the user import jobs. @@ -4925,6 +6271,33 @@ public ListUserImportJobsResult listUserImportJobs( *
* Lists the clients that have been created for the specified user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to list the user pool clients. @@ -4980,6 +6353,33 @@ public ListUserPoolClientsResult listUserPoolClients( *
* Lists the user pools associated with an Amazon Web Services account. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to list user pools. @@ -5029,8 +6429,35 @@ public ListUserPoolsResult listUserPools(ListUserPoolsRequest listUserPoolsReque /** *
- * Lists the users in the Amazon Cognito user pool. + * Lists users and their basic details in a user pool. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints *
+ ** Represents the request to list users. @@ -5083,9 +6510,33 @@ public ListUsersResult listUsers(ListUsersRequest listUsersRequest) *
* Lists the users in the specified group. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -5157,7 +6618,7 @@ public ListUsersInGroupResult listUsersInGroup(ListUsersInGroupRequest listUsers * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -5229,6 +6690,16 @@ public ResendConfirmationCodeResult resendConfirmationCode( * *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -5247,7 +6718,7 @@ public ResendConfirmationCodeResult resendConfirmationCode( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -5326,6 +6797,17 @@ public RespondToAuthChallengeResult respondToAuthChallenge( * revoked token to access Amazon Cognito user APIs, or to authorize access * to your resource server. * + *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Sets up or modifies the detailed activity logging configuration of a user + * pool. + *
+ * + * @param setLogDeliveryConfigurationRequest + * @return setLogDeliveryConfigurationResult The response from the + * SetLogDeliveryConfiguration service method, as returned by Amazon + * Cognito Your User Pool. + * @throws InvalidParameterException + * @throws InternalErrorException + * @throws TooManyRequestsException + * @throws NotAuthorizedException + * @throws ResourceNotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Cognito Your User Pool indicating either a problem with the + * data in the request, or a server side issue. + */ + public SetLogDeliveryConfigurationResult setLogDeliveryConfiguration( + SetLogDeliveryConfigurationRequest setLogDeliveryConfigurationRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(setLogDeliveryConfigurationRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request* Configures actions on detected risks. To delete the risk configuration @@ -5520,6 +7056,17 @@ public SetUICustomizationResult setUICustomization( * of sign-in attempts, deactivate MFA for users and turn on Adaptive * Authentication for the user pool. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to set user settings. @@ -5718,6 +7276,16 @@ public SetUserSettingsResult setUserSettings(SetUserSettingsRequest setUserSetti *
*+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -5736,7 +7304,7 @@ public SetUserSettingsResult setUserSettings(SetUserSettingsRequest setUserSetti * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -6038,6 +7606,17 @@ public UntagResourceResult untagResource(UntagResourceRequest untagResourceReque * evaluation decision for the user pool as part of Amazon Cognito advanced * security. * + *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Updates the device status. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to update the device status. @@ -6152,9 +7742,33 @@ public UpdateDeviceStatusResult updateDeviceStatus( *
* Updates the specified group with the specified attributes. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Updates IdP information for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number * before you can send SMS messages to US phone numbers. If you use SMS text @@ -6340,7 +8017,7 @@ public UpdateResourceServerResult updateResourceServer( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -6411,13 +8088,6 @@ public UpdateUserAttributesResult updateUserAttributes( } /** - *- * Updates the specified user pool with the specified attributes. You can - * get a list of the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it - * will be set to the default value. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -6438,11 +8108,49 @@ public UpdateUserAttributesResult updateUserAttributes( * numbers. After you test your app while in the sandbox environment, you * can move out of the sandbox and into production. For more information, * see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*+ * Updates the specified user pool with the specified attributes. You can + * get a list of the current user pool settings using DescribeUserPool. + *
+ *+ * If you don't provide a value for an attribute, Amazon Cognito sets it to + * its default value. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to update the user pool. @@ -6507,8 +8215,8 @@ public UpdateUserPoolResult updateUserPool(UpdateUserPoolRequest updateUserPoolR *
*- * If you don't provide a value for an attribute, it will be set to the - * default value. + * If you don't provide a value for an attribute, Amazon Cognito sets it to + * its default value. *
*@@ -6517,6 +8225,33 @@ public UpdateUserPoolResult updateUserPool(UpdateUserPoolRequest updateUserPoolR * "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html" * >RevokeToken. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Represents the request to update the user pool client. @@ -6613,6 +8348,33 @@ public UpdateUserPoolClientResult updateUserPoolClient( * "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html" * >Using Your Own Domain for the Hosted UI. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** The UpdateUserPoolDomain request input. @@ -6671,6 +8433,17 @@ public UpdateUserPoolDomainResult updateUserPoolDomain( * if successful. The request takes an access token or a session string, but * not both. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) + * policies in requests for this API operation. For this operation, you + * can't use IAM credentials to authorize requests, and you can't grant IAM + * permissions in policies. For more information about authorization models + * in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Represents the request to verify user attributes. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountRecoverySettingType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountRecoverySettingType.java index 3f12cb4710..8dfff02362 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountRecoverySettingType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountRecoverySettingType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverActionType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverActionType.java index fe14ad6cfc..987f56c00a 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverActionType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverActionType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverActionsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverActionsType.java index 53d57fd93b..5f139dd810 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverActionsType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverActionsType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverEventActionType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverEventActionType.java index 9c28b15e12..f3b7ccae27 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverEventActionType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverEventActionType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverRiskConfigurationType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverRiskConfigurationType.java index d750ba0bea..9bb8874bd7 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverRiskConfigurationType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AccountTakeoverRiskConfigurationType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AddCustomAttributesRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AddCustomAttributesRequest.java index 4329a3e3d5..8a9e59df23 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AddCustomAttributesRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AddCustomAttributesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,6 +23,33 @@ *
* Adds additional user attributes to the user pool schema. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Adds the specified user to the specified group. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *FORCE_CHANGE_PASSWORD
* state until they sign in and change their password.
*
+ * + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *
- * AdminCreateUser
requires developer credentials.
+ * Signing Amazon Web Services API Requests
*
+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *
* The temporary password can only be used until the user account expiration
- * limit that you specified when you created the user pool. To reset the
- * account after that time limit, you must call AdminCreateUser
- * again, specifying "RESEND"
for the
- * MessageAction
parameter.
+ * limit that you set for your user pool. To reset the account after that
+ * time limit, you must call AdminCreateUser
again and specify
+ * RESEND
for the MessageAction
parameter.
*
* Constraints:
@@ -1059,10 +1082,9 @@ public AdminCreateUserRequest withValidationData(
*
* The temporary password can only be used until the user account expiration
- * limit that you specified when you created the user pool. To reset the
- * account after that time limit, you must call AdminCreateUser
- * again, specifying "RESEND"
for the
- * MessageAction
parameter.
+ * limit that you set for your user pool. To reset the account after that
+ * time limit, you must call AdminCreateUser
again and specify
+ * RESEND
for the MessageAction
parameter.
*
* Constraints:
@@ -1086,11 +1108,10 @@ public AdminCreateUserRequest withValidationData(
*
* The temporary password can only be used until the user account
- * expiration limit that you specified when you created the user
- * pool. To reset the account after that time limit, you must call
- * AdminCreateUser
again, specifying
- * "RESEND"
for the MessageAction
- * parameter.
+ * expiration limit that you set for your user pool. To reset the
+ * account after that time limit, you must call
+ * AdminCreateUser
again and specify
+ * RESEND
for the MessageAction
parameter.
*
* The temporary password can only be used until the user account expiration
- * limit that you specified when you created the user pool. To reset the
- * account after that time limit, you must call AdminCreateUser
- * again, specifying "RESEND"
for the
- * MessageAction
parameter.
+ * limit that you set for your user pool. To reset the account after that
+ * time limit, you must call AdminCreateUser
again and specify
+ * RESEND
for the MessageAction
parameter.
*
* Constraints:
@@ -1140,10 +1160,10 @@ public String getTemporaryPassword() {
*
* The temporary password can only be used until the user account
- * expiration limit that you specified when you created the user
- * pool. To reset the account after that time limit, you must
- * call AdminCreateUser
again, specifying
- * "RESEND"
for the MessageAction
+ * expiration limit that you set for your user pool. To reset the
+ * account after that time limit, you must call
+ * AdminCreateUser
again and specify
+ * RESEND
for the MessageAction
* parameter.
*
* The temporary password can only be used until the user account expiration
- * limit that you specified when you created the user pool. To reset the
- * account after that time limit, you must call AdminCreateUser
- * again, specifying "RESEND"
for the
- * MessageAction
parameter.
+ * limit that you set for your user pool. To reset the account after that
+ * time limit, you must call AdminCreateUser
again and specify
+ * RESEND
for the MessageAction
parameter.
*
* Returns a reference to this object so that method calls can be chained @@ -1197,10 +1216,10 @@ public void setTemporaryPassword(String temporaryPassword) { *
*
* The temporary password can only be used until the user account
- * expiration limit that you specified when you created the user
- * pool. To reset the account after that time limit, you must
- * call AdminCreateUser
again, specifying
- * "RESEND"
for the MessageAction
+ * expiration limit that you set for your user pool. To reset the
+ * account after that time limit, you must call
+ * AdminCreateUser
again and specify
+ * RESEND
for the MessageAction
* parameter.
*
- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Deletes a user as an administrator. Works on any user. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * This action is enabled only for admin access and requires developer - * credentials. - *
- *
* The ProviderName
must match the value specified when creating an
* IdP for the pool.
*
ProviderAttributeValue
must be the subject of the SAML
* assertion.
*
+ * + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** The user pool ID for the user pool. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String userPoolId;
@@ -87,6 +113,9 @@ public class AdminDisableProviderForUserRequest extends AmazonWebServiceRequest
*
* The user pool ID for the user pool. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The user pool ID for the user pool. @@ -100,6 +129,9 @@ public String getUserPoolId() { *
* The user pool ID for the user pool. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param userPoolId
* The user pool ID for the user pool. @@ -116,6 +148,9 @@ public void setUserPoolId(String userPoolId) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param userPoolId
* The user pool ID for the user pool.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminDisableProviderForUserResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminDisableProviderForUserResult.java
index f1af1049e7..a86ca84a9b 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminDisableProviderForUserResult.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminDisableProviderForUserResult.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminDisableUserRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminDisableUserRequest.java
index 19f65ee38c..98a01c74e8 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminDisableUserRequest.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminDisableUserRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -25,10 +25,33 @@
* user can't sign in, but still appears in the responses to
* GetUser
and ListUsers
API requests.
*
- * You must make this API request with Amazon Web Services credentials that have
- * cognito-idp:AdminDisableUser
permissions.
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
*
+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Enables the specified user as an administrator. Works on any user. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Forgets the device, as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Gets the device, as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * The user name of the user about whom you're receiving information. + * The username of the user that you requested. *
*
* Constraints:
@@ -51,7 +51,9 @@ public class AdminGetUserResult implements Serializable {
/**
*
- * The date the user was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ private java.util.Date userLastModifiedDate; @@ -80,11 +82,6 @@ public class AdminGetUserResult implements Serializable { * *- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
** The user's preferred MFA setting. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String preferredMfaSetting;
@@ -137,7 +137,7 @@ public class AdminGetUserResult implements Serializable {
/**
*
- * The user name of the user about whom you're receiving information. + * The username of the user that you requested. *
*
* Constraints:
@@ -145,8 +145,7 @@ public class AdminGetUserResult implements Serializable {
* Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
*
* @return
- * The user name of the user about whom you're receiving - * information. + * The username of the user that you requested. *
*/ public String getUsername() { @@ -155,7 +154,7 @@ public String getUsername() { /** *- * The user name of the user about whom you're receiving information. + * The username of the user that you requested. *
*
* Constraints:
@@ -163,8 +162,7 @@ public String getUsername() {
* Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
*
* @param username
- * The user name of the user about whom you're receiving - * information. + * The username of the user that you requested. *
*/ public void setUsername(String username) { @@ -173,7 +171,7 @@ public void setUsername(String username) { /** *- * The user name of the user about whom you're receiving information. + * The username of the user that you requested. *
*
* Returns a reference to this object so that method calls can be chained
@@ -184,8 +182,7 @@ public void setUsername(String username) {
* Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
*
* @param username
- * The user name of the user about whom you're receiving - * information. + * The username of the user that you requested. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -316,11 +313,15 @@ public AdminGetUserResult withUserCreateDate(java.util.Date userCreateDate) { /** *- * The date the user was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @return- * The date the user was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public java.util.Date getUserLastModifiedDate() { @@ -329,11 +330,15 @@ public java.util.Date getUserLastModifiedDate() { /** *- * The date the user was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @param userLastModifiedDate- * The date the user was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public void setUserLastModifiedDate(java.util.Date userLastModifiedDate) { @@ -342,14 +347,18 @@ public void setUserLastModifiedDate(java.util.Date userLastModifiedDate) { /** *- * The date the user was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
** Returns a reference to this object so that method calls can be chained * together. * * @param userLastModifiedDate
- * The date the user was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -434,11 +443,6 @@ public AdminGetUserResult withEnabled(Boolean enabled) { * *- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
*- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
*- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
*- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
*- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
*- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
*- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
*- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
*- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
*- * ARCHIVED - User is no longer active. - *
- ** UNKNOWN - User status isn't known. *
** The user's preferred MFA setting. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The user's preferred MFA setting. @@ -1001,6 +963,9 @@ public String getPreferredMfaSetting() { *
* The user's preferred MFA setting. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param preferredMfaSetting
* The user's preferred MFA setting. @@ -1017,6 +982,9 @@ public void setPreferredMfaSetting(String preferredMfaSetting) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param preferredMfaSetting
* The user's preferred MFA setting. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminInitiateAuthRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminInitiateAuthRequest.java index 96df3a2215..7a94c4f302 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminInitiateAuthRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminInitiateAuthRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -42,14 +42,37 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
- *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *- * Calling this action requires developer credentials. + * Using the Amazon Cognito user pools API and user pool endpoints *
+ *
- * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
- * REFRESH_TOKEN
(required), SECRET_HASH
(required
- * if the app client is configured with a client secret),
+ * For ADMIN_USER_PASSWORD_AUTH
: USERNAME
+ * (required), PASSWORD
(required), SECRET_HASH
+ * (required if the app client is configured with a client secret),
* DEVICE_KEY
.
*
- * For ADMIN_NO_SRP_AUTH
: USERNAME
(required),
- * SECRET_HASH
(if app client is configured with client
- * secret), PASSWORD
(required), DEVICE_KEY
.
+ * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
+ * REFRESH_TOKEN
(required), SECRET_HASH
(required
+ * if the app client is configured with a client secret),
+ * DEVICE_KEY
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
- * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
- * REFRESH_TOKEN
(required), SECRET_HASH
(required
- * if the app client is configured with a client secret),
+ * For ADMIN_USER_PASSWORD_AUTH
: USERNAME
+ * (required), PASSWORD
(required), SECRET_HASH
+ * (required if the app client is configured with a client secret),
* DEVICE_KEY
.
*
- * For ADMIN_NO_SRP_AUTH
: USERNAME
(required),
- * SECRET_HASH
(if app client is configured with client
- * secret), PASSWORD
(required), DEVICE_KEY
.
+ * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
+ * REFRESH_TOKEN
(required), SECRET_HASH
(required
+ * if the app client is configured with a client secret),
+ * DEVICE_KEY
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The authentication parameters. These are inputs corresponding to @@ -1208,17 +1249,17 @@ public AdminInitiateAuthRequest withAuthFlow(AuthFlowType authFlow) { * *
- * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
- * REFRESH_TOKEN
(required), SECRET_HASH
- * (required if the app client is configured with a client secret),
- * DEVICE_KEY
.
+ * For ADMIN_USER_PASSWORD_AUTH
: USERNAME
+ * (required), PASSWORD
(required),
+ * SECRET_HASH
(required if the app client is
+ * configured with a client secret), DEVICE_KEY
.
*
- * For ADMIN_NO_SRP_AUTH
: USERNAME
- * (required), SECRET_HASH
(if app client is configured
- * with client secret), PASSWORD
(required),
+ * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
+ * REFRESH_TOKEN
(required), SECRET_HASH
+ * (required if the app client is configured with a client secret),
* DEVICE_KEY
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
- * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
- * REFRESH_TOKEN
(required), SECRET_HASH
(required
- * if the app client is configured with a client secret),
+ * For ADMIN_USER_PASSWORD_AUTH
: USERNAME
+ * (required), PASSWORD
(required), SECRET_HASH
+ * (required if the app client is configured with a client secret),
* DEVICE_KEY
.
*
- * For ADMIN_NO_SRP_AUTH
: USERNAME
(required),
- * SECRET_HASH
(if app client is configured with client
- * secret), PASSWORD
(required), DEVICE_KEY
.
+ * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
+ * REFRESH_TOKEN
(required), SECRET_HASH
(required
+ * if the app client is configured with a client secret),
+ * DEVICE_KEY
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The authentication parameters. These are inputs corresponding
@@ -1294,18 +1352,19 @@ public java.util.Map
- * For
- * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
- * REFRESH_TOKEN
(required),
- * SECRET_HASH
(required if the app client is
- * configured with a client secret), DEVICE_KEY
.
+ * For ADMIN_USER_PASSWORD_AUTH
:
+ * USERNAME
(required), PASSWORD
+ * (required), SECRET_HASH
(required if the app
+ * client is configured with a client secret),
+ * DEVICE_KEY
.
* ADMIN_NO_SRP_AUTH
: USERNAME
- * (required), SECRET_HASH
(if app client is
- * configured with client secret), PASSWORD
- * (required), DEVICE_KEY
.
+ * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
+ * REFRESH_TOKEN
(required),
+ * SECRET_HASH
(required if the app client is
+ * configured with a client secret), DEVICE_KEY
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
- * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
- * REFRESH_TOKEN
(required), SECRET_HASH
(required
- * if the app client is configured with a client secret),
+ * For ADMIN_USER_PASSWORD_AUTH
: USERNAME
+ * (required), PASSWORD
(required), SECRET_HASH
+ * (required if the app client is configured with a client secret),
* DEVICE_KEY
.
*
- * For ADMIN_NO_SRP_AUTH
: USERNAME
(required),
- * SECRET_HASH
(if app client is configured with client
- * secret), PASSWORD
(required), DEVICE_KEY
.
+ * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
+ * REFRESH_TOKEN
(required), SECRET_HASH
(required
+ * if the app client is configured with a client secret),
+ * DEVICE_KEY
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* Returns a reference to this object so that method calls can be chained
* together.
*
@@ -1383,18 +1460,19 @@ public void setAuthParameters(java.util.Map
- * For
- * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
- * REFRESH_TOKEN
(required),
- * SECRET_HASH
(required if the app client is
- * configured with a client secret), DEVICE_KEY
.
+ * For ADMIN_USER_PASSWORD_AUTH
:
+ * USERNAME
(required), PASSWORD
+ * (required), SECRET_HASH
(required if the app
+ * client is configured with a client secret),
+ * DEVICE_KEY
.
* ADMIN_NO_SRP_AUTH
: USERNAME
- * (required), SECRET_HASH
(if app client is
- * configured with client secret), PASSWORD
- * (required), DEVICE_KEY
.
+ * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
+ * REFRESH_TOKEN
(required),
+ * SECRET_HASH
(required if the app client is
+ * configured with a client secret), DEVICE_KEY
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
- * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
- * REFRESH_TOKEN
(required), SECRET_HASH
(required
- * if the app client is configured with a client secret),
+ * For ADMIN_USER_PASSWORD_AUTH
: USERNAME
+ * (required), PASSWORD
(required), SECRET_HASH
+ * (required if the app client is configured with a client secret),
* DEVICE_KEY
.
*
- * For ADMIN_NO_SRP_AUTH
: USERNAME
(required),
- * SECRET_HASH
(if app client is configured with client
- * secret), PASSWORD
(required), DEVICE_KEY
.
+ * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
+ * REFRESH_TOKEN
(required), SECRET_HASH
(required
+ * if the app client is configured with a client secret),
+ * DEVICE_KEY
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The method adds a new key-value pair into AuthParameters parameter, and * returns a reference to this object so that method calls can be chained * together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminInitiateAuthResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminInitiateAuthResult.java index edee9c8bff..961bb217d9 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminInitiateAuthResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminInitiateAuthResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminLinkProviderForUserRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminLinkProviderForUserRequest.java index 37f6c9509e..f27da334a9 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminLinkProviderForUserRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminLinkProviderForUserRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -44,10 +44,33 @@ * with external IdPs and provider attributes that have been trusted by the * application owner. *
- * + *- * This action is administrative and requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** The user pool ID for the user pool. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String userPoolId;
/**
*
* The existing user in the user pool that you want to assign to the - * external IdP user account. This user can be a native (Username + - * Password) Amazon Cognito user pools user or a federated user (for - * example, a SAML or Facebook user). If the user doesn't exist, Amazon - * Cognito generates an exception. Amazon Cognito returns this user when the - * new user (with the linked IdP attribute) signs in. + * external IdP user account. This user can be a local (Username + Password) + * Amazon Cognito user pools user or a federated user (for example, a SAML + * or Facebook user). If the user doesn't exist, Amazon Cognito generates an + * exception. Amazon Cognito returns this user when the new user (with the + * linked IdP attribute) signs in. *
** For a native username + password user, the @@ -111,14 +137,26 @@ public class AdminLinkProviderForUserRequest extends AmazonWebServiceRequest imp *
* *
+ * For OIDC, the ProviderAttributeName
can be any value that
+ * matches a claim in the ID token, or that your app retrieves from the
+ * userInfo
endpoint. You must map the claim to a user pool
+ * attribute in your IdP configuration, and set the user pool attribute name
+ * as the value of ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
* For SAML, the ProviderAttributeName
can be any value that
- * matches a claim in the SAML assertion. If you want to link SAML users
- * based on the subject of the SAML assertion, you should map the subject to
- * a claim through the SAML IdP and submit that claim name as the
- * ProviderAttributeName
. If you set
+ * matches a claim in the SAML assertion. To link SAML users based on the
+ * subject of the SAML assertion, map the subject to a claim through the
+ * SAML IdP and set that claim name as the value of
+ * ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
+ * For both OIDC and SAML users, when you set
* ProviderAttributeName
to Cognito_Subject
,
* Amazon Cognito will automatically parse the default unique identifier
- * found in the subject from the SAML token.
+ * found in the subject from the IdP token.
*
* The user pool ID for the user pool. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The user pool ID for the user pool. @@ -140,6 +181,9 @@ public String getUserPoolId() { *
* The user pool ID for the user pool. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param userPoolId
* The user pool ID for the user pool. @@ -156,6 +200,9 @@ public void setUserPoolId(String userPoolId) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param userPoolId
* The user pool ID for the user pool. @@ -171,11 +218,11 @@ public AdminLinkProviderForUserRequest withUserPoolId(String userPoolId) { /** *
* The existing user in the user pool that you want to assign to the - * external IdP user account. This user can be a native (Username + - * Password) Amazon Cognito user pools user or a federated user (for - * example, a SAML or Facebook user). If the user doesn't exist, Amazon - * Cognito generates an exception. Amazon Cognito returns this user when the - * new user (with the linked IdP attribute) signs in. + * external IdP user account. This user can be a local (Username + Password) + * Amazon Cognito user pools user or a federated user (for example, a SAML + * or Facebook user). If the user doesn't exist, Amazon Cognito generates an + * exception. Amazon Cognito returns this user when the new user (with the + * linked IdP attribute) signs in. *
** For a native username + password user, the @@ -201,7 +248,7 @@ public AdminLinkProviderForUserRequest withUserPoolId(String userPoolId) { * * @return
* The existing user in the user pool that you want to assign to the - * external IdP user account. This user can be a native (Username + + * external IdP user account. This user can be a local (Username + * Password) Amazon Cognito user pools user or a federated user (for * example, a SAML or Facebook user). If the user doesn't exist, * Amazon Cognito generates an exception. Amazon Cognito returns @@ -238,11 +285,11 @@ public ProviderUserIdentifierType getDestinationUser() { /** *
* The existing user in the user pool that you want to assign to the - * external IdP user account. This user can be a native (Username + - * Password) Amazon Cognito user pools user or a federated user (for - * example, a SAML or Facebook user). If the user doesn't exist, Amazon - * Cognito generates an exception. Amazon Cognito returns this user when the - * new user (with the linked IdP attribute) signs in. + * external IdP user account. This user can be a local (Username + Password) + * Amazon Cognito user pools user or a federated user (for example, a SAML + * or Facebook user). If the user doesn't exist, Amazon Cognito generates an + * exception. Amazon Cognito returns this user when the new user (with the + * linked IdP attribute) signs in. *
** For a native username + password user, the @@ -268,7 +315,7 @@ public ProviderUserIdentifierType getDestinationUser() { * * @param destinationUser
* The existing user in the user pool that you want to assign to - * the external IdP user account. This user can be a native + * the external IdP user account. This user can be a local * (Username + Password) Amazon Cognito user pools user or a * federated user (for example, a SAML or Facebook user). If the * user doesn't exist, Amazon Cognito generates an exception. @@ -305,11 +352,11 @@ public void setDestinationUser(ProviderUserIdentifierType destinationUser) { /** *
* The existing user in the user pool that you want to assign to the - * external IdP user account. This user can be a native (Username + - * Password) Amazon Cognito user pools user or a federated user (for - * example, a SAML or Facebook user). If the user doesn't exist, Amazon - * Cognito generates an exception. Amazon Cognito returns this user when the - * new user (with the linked IdP attribute) signs in. + * external IdP user account. This user can be a local (Username + Password) + * Amazon Cognito user pools user or a federated user (for example, a SAML + * or Facebook user). If the user doesn't exist, Amazon Cognito generates an + * exception. Amazon Cognito returns this user when the new user (with the + * linked IdP attribute) signs in. *
** For a native username + password user, the @@ -338,7 +385,7 @@ public void setDestinationUser(ProviderUserIdentifierType destinationUser) { * * @param destinationUser
* The existing user in the user pool that you want to assign to - * the external IdP user account. This user can be a native + * the external IdP user account. This user can be a local * (Username + Password) Amazon Cognito user pools user or a * federated user (for example, a SAML or Facebook user). If the * user doesn't exist, Amazon Cognito generates an exception. @@ -396,14 +443,26 @@ public AdminLinkProviderForUserRequest withDestinationUser( *
* *
+ * For OIDC, the ProviderAttributeName
can be any value that
+ * matches a claim in the ID token, or that your app retrieves from the
+ * userInfo
endpoint. You must map the claim to a user pool
+ * attribute in your IdP configuration, and set the user pool attribute name
+ * as the value of ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
* For SAML, the ProviderAttributeName
can be any value that
- * matches a claim in the SAML assertion. If you want to link SAML users
- * based on the subject of the SAML assertion, you should map the subject to
- * a claim through the SAML IdP and submit that claim name as the
- * ProviderAttributeName
. If you set
+ * matches a claim in the SAML assertion. To link SAML users based on the
+ * subject of the SAML assertion, map the subject to a claim through the
+ * SAML IdP and set that claim name as the value of
+ * ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
+ * For both OIDC and SAML users, when you set
* ProviderAttributeName
to Cognito_Subject
,
* Amazon Cognito will automatically parse the default unique identifier
- * found in the subject from the SAML token.
+ * found in the subject from the IdP token.
*
@@ -427,15 +486,28 @@ public AdminLinkProviderForUserRequest withDestinationUser( *
* *
+ * For OIDC, the ProviderAttributeName
can be any value
+ * that matches a claim in the ID token, or that your app retrieves
+ * from the userInfo
endpoint. You must map the claim
+ * to a user pool attribute in your IdP configuration, and set the
+ * user pool attribute name as the value of
+ * ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
* For SAML, the ProviderAttributeName
can be any value
- * that matches a claim in the SAML assertion. If you want to link
- * SAML users based on the subject of the SAML assertion, you should
- * map the subject to a claim through the SAML IdP and submit that
- * claim name as the ProviderAttributeName
. If you set
+ * that matches a claim in the SAML assertion. To link SAML users
+ * based on the subject of the SAML assertion, map the subject to a
+ * claim through the SAML IdP and set that claim name as the value
+ * of ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
+ * For both OIDC and SAML users, when you set
* ProviderAttributeName
to
* Cognito_Subject
, Amazon Cognito will automatically
* parse the default unique identifier found in the subject from the
- * SAML token.
+ * IdP token.
*
+ * For OIDC, the ProviderAttributeName
can be any value that
+ * matches a claim in the ID token, or that your app retrieves from the
+ * userInfo
endpoint. You must map the claim to a user pool
+ * attribute in your IdP configuration, and set the user pool attribute name
+ * as the value of ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
* For SAML, the ProviderAttributeName
can be any value that
- * matches a claim in the SAML assertion. If you want to link SAML users
- * based on the subject of the SAML assertion, you should map the subject to
- * a claim through the SAML IdP and submit that claim name as the
- * ProviderAttributeName
. If you set
+ * matches a claim in the SAML assertion. To link SAML users based on the
+ * subject of the SAML assertion, map the subject to a claim through the
+ * SAML IdP and set that claim name as the value of
+ * ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
+ * For both OIDC and SAML users, when you set
* ProviderAttributeName
to Cognito_Subject
,
* Amazon Cognito will automatically parse the default unique identifier
- * found in the subject from the SAML token.
+ * found in the subject from the IdP token.
*
@@ -493,16 +577,28 @@ public ProviderUserIdentifierType getSourceUser() { *
* *
+ * For OIDC, the ProviderAttributeName
can be any
+ * value that matches a claim in the ID token, or that your app
+ * retrieves from the userInfo
endpoint. You must
+ * map the claim to a user pool attribute in your IdP
+ * configuration, and set the user pool attribute name as the
+ * value of ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
* For SAML, the ProviderAttributeName
can be any
- * value that matches a claim in the SAML assertion. If you want
- * to link SAML users based on the subject of the SAML assertion,
- * you should map the subject to a claim through the SAML IdP and
- * submit that claim name as the
- * ProviderAttributeName
. If you set
+ * value that matches a claim in the SAML assertion. To link SAML
+ * users based on the subject of the SAML assertion, map the
+ * subject to a claim through the SAML IdP and set that claim
+ * name as the value of ProviderAttributeName
in
+ * your AdminLinkProviderForUser
request.
+ *
+ * For both OIDC and SAML users, when you set
* ProviderAttributeName
to
* Cognito_Subject
, Amazon Cognito will
* automatically parse the default unique identifier found in the
- * subject from the SAML token.
+ * subject from the IdP token.
*
+ * For OIDC, the ProviderAttributeName
can be any value that
+ * matches a claim in the ID token, or that your app retrieves from the
+ * userInfo
endpoint. You must map the claim to a user pool
+ * attribute in your IdP configuration, and set the user pool attribute name
+ * as the value of ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
* For SAML, the ProviderAttributeName
can be any value that
- * matches a claim in the SAML assertion. If you want to link SAML users
- * based on the subject of the SAML assertion, you should map the subject to
- * a claim through the SAML IdP and submit that claim name as the
- * ProviderAttributeName
. If you set
+ * matches a claim in the SAML assertion. To link SAML users based on the
+ * subject of the SAML assertion, map the subject to a claim through the
+ * SAML IdP and set that claim name as the value of
+ * ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
+ * For both OIDC and SAML users, when you set
* ProviderAttributeName
to Cognito_Subject
,
* Amazon Cognito will automatically parse the default unique identifier
- * found in the subject from the SAML token.
+ * found in the subject from the IdP token.
*
* Returns a reference to this object so that method calls can be chained @@ -563,16 +671,28 @@ public void setSourceUser(ProviderUserIdentifierType sourceUser) { *
* *
+ * For OIDC, the ProviderAttributeName
can be any
+ * value that matches a claim in the ID token, or that your app
+ * retrieves from the userInfo
endpoint. You must
+ * map the claim to a user pool attribute in your IdP
+ * configuration, and set the user pool attribute name as the
+ * value of ProviderAttributeName
in your
+ * AdminLinkProviderForUser
request.
+ *
* For SAML, the ProviderAttributeName
can be any
- * value that matches a claim in the SAML assertion. If you want
- * to link SAML users based on the subject of the SAML assertion,
- * you should map the subject to a claim through the SAML IdP and
- * submit that claim name as the
- * ProviderAttributeName
. If you set
+ * value that matches a claim in the SAML assertion. To link SAML
+ * users based on the subject of the SAML assertion, map the
+ * subject to a claim through the SAML IdP and set that claim
+ * name as the value of ProviderAttributeName
in
+ * your AdminLinkProviderForUser
request.
+ *
+ * For both OIDC and SAML users, when you set
* ProviderAttributeName
to
* Cognito_Subject
, Amazon Cognito will
* automatically parse the default unique identifier found in the
- * subject from the SAML token.
+ * subject from the IdP token.
*
* Lists devices, as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Lists the groups that the user belongs to. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Removes the specified user from the specified group. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * When a developer calls this API, the current password is invalidated, so it - * must be changed. If a user tries to sign in after the API is called, the app - * will get a PasswordResetRequiredException exception back and should direct - * the user down the flow to reset the password, which is the same as the forgot - * password flow. In addition, if the user pool has phone verification selected - * and a verified phone number exists for the user, or if email verification is - * selected and a verified email exists for the user, calling this API will also - * result in sending a message to the end user with the code to change their - * password. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -54,14 +43,48 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*
- * Calling this action requires developer credentials.
+ * Deactivates a user's password, requiring them to change it. If a user tries
+ * to sign in after the API is called, Amazon Cognito responds with a
+ * PasswordResetRequiredException
error. Your app must then perform
+ * the actions that reset your user's password: the forgot-password flow. In
+ * addition, if the user pool has phone verification selected and a verified
+ * phone number exists for the user, or if email verification is selected and a
+ * verified email exists for the user, calling this API will also result in
+ * sending a message to the end user with the code to change their password.
+ *
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *- * Calling this action requires developer credentials. + * Using the Amazon Cognito user pools API and user pool endpoints *
+ *USERNAMEUSER_ID_FOR_SRP
attribute. This happens even if you
* specified an alias in your call to AdminInitiateAuth
.
*
+ *
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
USERNAMEUSER_ID_FOR_SRP
attribute. This happens even if you
* specified an alias in your call to AdminInitiateAuth
.
*
+ *
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The challenge responses. These are inputs corresponding to the
@@ -678,6 +717,14 @@ public AdminRespondToAuthChallengeRequest withChallengeName(ChallengeNameType ch
* attribute. This happens even if you specified an alias in your
* call to AdminInitiateAuth
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
USERNAMEUSER_ID_FOR_SRP
attribute. This happens even if you
* specified an alias in your call to AdminInitiateAuth
.
*
+ *
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The challenge responses. These are inputs corresponding to the
@@ -830,6 +885,15 @@ public java.util.MapAdminInitiateAuth
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
AdminInitiateAuth
.
*
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* Returns a reference to this object so that method calls can be chained
* together.
*
@@ -985,6 +1057,15 @@ public void setChallengeResponses(java.util.MapAdminInitiateAuth
.
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
AdminInitiateAuth
.
*
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The method adds a new key-value pair into ChallengeResponses parameter, * and returns a reference to this object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminRespondToAuthChallengeResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminRespondToAuthChallengeResult.java index bc509f14a6..0e27498080 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminRespondToAuthChallengeResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminRespondToAuthChallengeResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminSetUserMFAPreferenceRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminSetUserMFAPreferenceRequest.java index 9395d12b79..276da0feb5 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminSetUserMFAPreferenceRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AdminSetUserMFAPreferenceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -28,6 +28,33 @@ * preference is set, a challenge to choose an MFA option will be returned * during sign-in. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *Confirmed
.
*
+ *
+ * AdminSetUserPassword
can set a password for the user profile
+ * that Amazon Cognito creates for third-party federated users. When you set a
+ * password, the federated user's status changes from
+ * EXTERNAL_PROVIDER
to CONFIRMED
. A user in this
+ * state can sign in as a federated user, and initiate authentication flows in
+ * the API like a linked native user. They can also modify their password and
+ * attributes in token-authenticated API requests like
+ * ChangePassword
and UpdateUserAttributes
. As a best
+ * security practice and to keep users in sync with your external IdP, don't set
+ * passwords on federated user profiles. To set up a federated user for native
+ * sign-in with a linked native user, refer to Linking federated users to an existing user profile.
+ *
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
@@ -244,14 +277,27 @@ public AdminUpdateAuthEventFeedbackRequest withEventId(String eventId) {
/**
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
* Allowed Values: Valid, Invalid
*
* @return
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell
+ * Amazon Cognito that you trust a user session where Amazon Cognito
+ * has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or you
+ * don't believe that Amazon Cognito evaluated a high-enough risk
+ * level.
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
* Allowed Values: Valid, Invalid
*
* @param feedbackValue
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Returns a reference to this object so that method calls can be chained @@ -288,7 +353,14 @@ public void setFeedbackValue(String feedbackValue) { * Allowed Values: Valid, Invalid * * @param feedbackValue
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
* Allowed Values: Valid, Invalid
*
* @param feedbackValue
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Returns a reference to this object so that method calls can be chained @@ -328,7 +419,14 @@ public void setFeedbackValue(FeedbackValueType feedbackValue) { * Allowed Values: Valid, Invalid * * @param feedbackValue
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
* Updates the device status as an administrator. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Updates the specified user's attributes, including developer attributes, as - * an administrator. Works on any user. - *
- *
- * For custom attributes, you must prepend the custom:
prefix to
- * the attribute name.
- *
- * In addition to updating user attributes, this API can also be used to mark - * phone and email as verified. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -51,14 +39,50 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*- * Calling this action requires developer credentials. + * Updates the specified user's attributes, including developer attributes, as + * an administrator. Works on any user. *
+ *
+ * For custom attributes, you must prepend the custom:
prefix to
+ * the attribute name.
+ *
+ * In addition to updating user attributes, this API can also be used to mark + * phone and email as verified. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *
- * Signs out a user from all devices. You must sign
- * AdminUserGlobalSignOut
requests with Amazon Web Services
- * credentials. It also invalidates all refresh tokens that Amazon Cognito has
- * issued to a user. The user's current access and ID tokens remain valid until
- * they expire. By default, access and ID tokens expire one hour after they're
- * issued. A user can still use a hosted UI cookie to retrieve new tokens for
- * the duration of the cookie validity period of 1 hour.
+ * Signs out a user from all devices. AdminUserGlobalSignOut
+ * invalidates all identity, access and refresh tokens that Amazon Cognito has
+ * issued to a user. A user can still use a hosted UI cookie to retrieve new
+ * tokens for the duration of the 1-hour cookie validity period.
*
- * Calling this action requires developer credentials.
+ * Your app isn't aware that a user's access token is revoked unless it attempts
+ * to authorize a user pools API request with an access token that contains the
+ * scope aws.cognito.signin.user.admin
. Your app might otherwise
+ * accept access tokens until they expire.
*
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * In Regions where Amazon Pinpointisn't available, user pools only support + * In Regions where Amazon Pinpoint isn't available, user pools only support * sending events to Amazon Pinpoint projects in us-east-1. In Regions where * Amazon Pinpoint is available, user pools support sending events to Amazon * Pinpoint projects within that same Region. @@ -76,6 +76,9 @@ public class AnalyticsConfigurationType implements Serializable { *
* The external ID. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String externalId;
@@ -298,6 +301,9 @@ public AnalyticsConfigurationType withRoleArn(String roleArn) {
*
* The external ID. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The external ID. @@ -311,6 +317,9 @@ public String getExternalId() { *
* The external ID. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param externalId
* The external ID. @@ -327,6 +336,9 @@ public void setExternalId(String externalId) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param externalId
* The external ID. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AnalyticsMetadataType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AnalyticsMetadataType.java index 3b995b7673..d2ca6a1959 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AnalyticsMetadataType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AnalyticsMetadataType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -35,6 +35,9 @@ public class AnalyticsMetadataType implements Serializable { *
* The endpoint ID. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String analyticsEndpointId;
@@ -42,6 +45,9 @@ public class AnalyticsMetadataType implements Serializable {
*
* The endpoint ID. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The endpoint ID. @@ -55,6 +61,9 @@ public String getAnalyticsEndpointId() { *
* The endpoint ID. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param analyticsEndpointId
* The endpoint ID. @@ -71,6 +80,9 @@ public void setAnalyticsEndpointId(String analyticsEndpointId) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param analyticsEndpointId
* The endpoint ID.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AssociateSoftwareTokenRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AssociateSoftwareTokenRequest.java
index 3cfc155df4..55ed09ff8e 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AssociateSoftwareTokenRequest.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AssociateSoftwareTokenRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -46,6 +46,16 @@
* SOFTWARE_TOKEN_MFA
challenge when they authenticate. Respond to
* this challenge with your user's TOTP.
*
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
** The event ID. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String eventId;
@@ -43,7 +46,9 @@ public class AuthEventType implements Serializable {
/**
*
- * The creation date + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ private java.util.Date creationDate; @@ -93,6 +98,9 @@ public class AuthEventType implements Serializable { ** The event ID. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The event ID. @@ -106,6 +114,9 @@ public String getEventId() { *
* The event ID. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param eventId
* The event ID. @@ -122,6 +133,9 @@ public void setEventId(String eventId) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param eventId
* The event ID. @@ -238,11 +252,15 @@ public AuthEventType withEventType(EventType eventType) { /** *
- * The creation date + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @return- * The creation date + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public java.util.Date getCreationDate() { @@ -251,11 +269,15 @@ public java.util.Date getCreationDate() { /** *- * The creation date + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @param creationDate- * The creation date + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public void setCreationDate(java.util.Date creationDate) { @@ -264,14 +286,18 @@ public void setCreationDate(java.util.Date creationDate) { /** *- * The creation date + * The date and time, in ISO + * 8601 format, when the item was created. *
** Returns a reference to this object so that method calls can be chained * together. * * @param creationDate
- * The creation date + * The date and time, in ISO + * 8601 format, when the item was created. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AuthFlowType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AuthFlowType.java index 3d1809e3ca..76a501a29a 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AuthFlowType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AuthFlowType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AuthenticationResultType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AuthenticationResultType.java index c7a23f77fb..8ed44b71b6 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AuthenticationResultType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AuthenticationResultType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -45,6 +45,9 @@ public class AuthenticationResultType implements Serializable { ** The token type. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String tokenType;
@@ -184,6 +187,9 @@ public AuthenticationResultType withExpiresIn(Integer expiresIn) {
*
* The token type. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The token type. @@ -197,6 +203,9 @@ public String getTokenType() { *
* The token type. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param tokenType
* The token type. @@ -213,6 +222,9 @@ public void setTokenType(String tokenType) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param tokenType
* The token type. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeName.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeName.java index 31771c539a..454bd18d51 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeName.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeName.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeNameType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeNameType.java index 8d63421fae..5b0f876669 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeNameType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeNameType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeResponse.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeResponse.java index 4642ea43ee..d819618d49 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeResponse.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeResponseType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeResponseType.java index 7ea5c45cb8..55caf9d77c 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeResponseType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChallengeResponseType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChangePasswordRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChangePasswordRequest.java index 0b8397d8af..c71c2fe9e9 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChangePasswordRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ChangePasswordRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,6 +23,17 @@ *
* Changes the password for a specified user in a user pool. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * The CloudWatch logging destination of a user pool detailed activity logging + * configuration. + *
+ */ +public class CloudWatchLogsConfigurationType implements Serializable { + /** + *+ * The Amazon Resource Name (arn) of a CloudWatch Logs log group where your + * user pool sends logs. The log group must not be encrypted with Key + * Management Service and must be in the same Amazon Web Services account as + * your user pool. + *
+ *
+ * Constraints:
+ * Length: 20 - 2048
+ * Pattern:
+ * arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
+ * /,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
+ */
+ private String logGroupArn;
+
+ /**
+ *
+ * The Amazon Resource Name (arn) of a CloudWatch Logs log group where your + * user pool sends logs. The log group must not be encrypted with Key + * Management Service and must be in the same Amazon Web Services account as + * your user pool. + *
+ *
+ * Constraints:
+ * Length: 20 - 2048
+ * Pattern:
+ * arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
+ * /,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
+ *
+ * @return
+ * The Amazon Resource Name (arn) of a CloudWatch Logs log group + * where your user pool sends logs. The log group must not be + * encrypted with Key Management Service and must be in the same + * Amazon Web Services account as your user pool. + *
+ */ + public String getLogGroupArn() { + return logGroupArn; + } + + /** + *+ * The Amazon Resource Name (arn) of a CloudWatch Logs log group where your + * user pool sends logs. The log group must not be encrypted with Key + * Management Service and must be in the same Amazon Web Services account as + * your user pool. + *
+ *
+ * Constraints:
+ * Length: 20 - 2048
+ * Pattern:
+ * arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
+ * /,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
+ *
+ * @param logGroupArn
+ * The Amazon Resource Name (arn) of a CloudWatch Logs log group + * where your user pool sends logs. The log group must not be + * encrypted with Key Management Service and must be in the same + * Amazon Web Services account as your user pool. + *
+ */ + public void setLogGroupArn(String logGroupArn) { + this.logGroupArn = logGroupArn; + } + + /** + *+ * The Amazon Resource Name (arn) of a CloudWatch Logs log group where your + * user pool sends logs. The log group must not be encrypted with Key + * Management Service and must be in the same Amazon Web Services account as + * your user pool. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Length: 20 - 2048
+ * Pattern:
+ * arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
+ * /,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
+ *
+ * @param logGroupArn
+ * The Amazon Resource Name (arn) of a CloudWatch Logs log group + * where your user pool sends logs. The log group must not be + * encrypted with Key Management Service and must be in the same + * Amazon Web Services account as your user pool. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CloudWatchLogsConfigurationType withLogGroupArn(String logGroupArn) { + this.logGroupArn = logGroupArn; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getLogGroupArn() != null) + sb.append("LogGroupArn: " + getLogGroupArn()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getLogGroupArn() == null) ? 0 : getLogGroupArn().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof CloudWatchLogsConfigurationType == false) + return false; + CloudWatchLogsConfigurationType other = (CloudWatchLogsConfigurationType) obj; + + if (other.getLogGroupArn() == null ^ this.getLogGroupArn() == null) + return false; + if (other.getLogGroupArn() != null + && other.getLogGroupArn().equals(this.getLogGroupArn()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeDeliveryDetailsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeDeliveryDetailsType.java index af2259859a..259c60d3b6 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeDeliveryDetailsType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeDeliveryDetailsType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -29,6 +29,9 @@ public class CodeDeliveryDetailsType implements Serializable { * The email address or phone number destination where Amazon Cognito sent * the code. * + *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String destination;
@@ -58,6 +61,9 @@ public class CodeDeliveryDetailsType implements Serializable {
* The email address or phone number destination where Amazon Cognito sent
* the code.
*
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The email address or phone number destination where Amazon @@ -73,6 +79,9 @@ public String getDestination() { * The email address or phone number destination where Amazon Cognito sent * the code. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param destination
* The email address or phone number destination where Amazon @@ -91,6 +100,9 @@ public void setDestination(String destination) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param destination
* The email address or phone number destination where Amazon diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeDeliveryFailureException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeDeliveryFailureException.java index 07278dc5d6..004c600131 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeDeliveryFailureException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeDeliveryFailureException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeMismatchException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeMismatchException.java index df4e831e17..518fd4dd0b 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeMismatchException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CodeMismatchException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsActionsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsActionsType.java index 3202598242..8eec44257f 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsActionsType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsActionsType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsEventActionType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsEventActionType.java index 8a371b8719..a2e9a70bda 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsEventActionType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsEventActionType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsRiskConfigurationType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsRiskConfigurationType.java index f1840cf08d..83c1135110 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsRiskConfigurationType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CompromisedCredentialsRiskConfigurationType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ConcurrentModificationException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ConcurrentModificationException.java index 5dab8ac961..be80919b3f 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ConcurrentModificationException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ConcurrentModificationException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ConfirmDeviceRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ConfirmDeviceRequest.java index 5d837b08ee..1c646d21f8 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ConfirmDeviceRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ConfirmDeviceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -24,6 +24,17 @@ * Confirms tracking of the device. This API call is the call that begins device * tracking. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Allows a user to enter a confirmation code to reset a forgotten password. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *
* A keyed-hash message authentication code (HMAC) calculated using the
* secret key of a user pool client and username plus the client ID in the
- * message.
+ * message. For more information about SecretHash
, see Computing secret hash values.
*
* Constraints:
@@ -218,7 +231,9 @@ public ConfirmForgotPasswordRequest withClientId(String clientId) {
*
* A keyed-hash message authentication code (HMAC) calculated using the
* secret key of a user pool client and username plus the client ID in the
- * message.
+ * message. For more information about SecretHash
, see Computing secret hash values.
*
* Constraints:
@@ -228,7 +243,10 @@ public ConfirmForgotPasswordRequest withClientId(String clientId) {
* @return
* A keyed-hash message authentication code (HMAC) calculated using
* the secret key of a user pool client and username plus the client
- * ID in the message.
+ * ID in the message. For more information about
+ * SecretHash
, see Computing secret hash values.
*
* A keyed-hash message authentication code (HMAC) calculated using the
* secret key of a user pool client and username plus the client ID in the
- * message.
+ * message. For more information about SecretHash
, see Computing secret hash values.
*
* Constraints:
@@ -249,7 +269,10 @@ public String getSecretHash() {
* @param secretHash
* A keyed-hash message authentication code (HMAC) calculated
* using the secret key of a user pool client and username plus
- * the client ID in the message.
+ * the client ID in the message. For more information about
+ * SecretHash
, see Computing secret hash values.
*
* A keyed-hash message authentication code (HMAC) calculated using the
* secret key of a user pool client and username plus the client ID in the
- * message.
+ * message. For more information about SecretHash
, see Computing secret hash values.
*
* Returns a reference to this object so that method calls can be chained @@ -273,7 +298,10 @@ public void setSecretHash(String secretHash) { * @param secretHash
* A keyed-hash message authentication code (HMAC) calculated
* using the secret key of a user pool client and username plus
- * the client ID in the message.
+ * the client ID in the message. For more information about
+ * SecretHash
, see Computing secret hash values.
*
* Confirms registration of a new user. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** The source IP address of your user's device. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String ipAddress;
@@ -35,6 +38,9 @@ public class ContextDataType implements Serializable {
*
* Your server endpoint where this API is invoked. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String serverName;
@@ -42,6 +48,9 @@ public class ContextDataType implements Serializable {
*
* Your server path where this API is invoked. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String serverPath;
@@ -60,6 +69,9 @@ public class ContextDataType implements Serializable {
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint"
* >Adding user device and session data to API requests.
*
+ * Constraints:
+ * Length: 0 - 131072
*/
private String encodedData;
@@ -67,6 +79,9 @@ public class ContextDataType implements Serializable {
*
* The source IP address of your user's device. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The source IP address of your user's device. @@ -80,6 +95,9 @@ public String getIpAddress() { *
* The source IP address of your user's device. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param ipAddress
* The source IP address of your user's device. @@ -96,6 +114,9 @@ public void setIpAddress(String ipAddress) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param ipAddress
* The source IP address of your user's device. @@ -112,6 +133,9 @@ public ContextDataType withIpAddress(String ipAddress) { *
* Your server endpoint where this API is invoked. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* Your server endpoint where this API is invoked. @@ -125,6 +149,9 @@ public String getServerName() { *
* Your server endpoint where this API is invoked. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param serverName
* Your server endpoint where this API is invoked. @@ -141,6 +168,9 @@ public void setServerName(String serverName) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param serverName
* Your server endpoint where this API is invoked. @@ -157,6 +187,9 @@ public ContextDataType withServerName(String serverName) { *
* Your server path where this API is invoked. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* Your server path where this API is invoked. @@ -170,6 +203,9 @@ public String getServerPath() { *
* Your server path where this API is invoked. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param serverPath
* Your server path where this API is invoked. @@ -186,6 +222,9 @@ public void setServerPath(String serverPath) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param serverPath
* Your server path where this API is invoked.
@@ -280,6 +319,9 @@ public ContextDataType withHttpHeaders(java.util.Collection
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* Encoded device-fingerprint details that your app collected with @@ -301,6 +343,9 @@ public String getEncodedData() { * "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint" * >Adding user device and session data to API requests. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param encodedData
* Encoded device-fingerprint details that your app collected @@ -325,6 +370,9 @@ public void setEncodedData(String encodedData) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param encodedData
* Encoded device-fingerprint details that your app collected diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CreateGroupRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CreateGroupRequest.java index 3d8d4a0ea7..a07e59f38b 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CreateGroupRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CreateGroupRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,9 +23,33 @@ *
* Creates a new group in the specified user pool. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Creates an IdP for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Creates a new OAuth2.0 resource server and defines custom scopes within it. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Creates the user import job. + * Creates a user import job. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * If you don't provide a value for an attribute, Amazon Cognito sets it to its + * default value. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -387,8 +419,43 @@ public class CreateUserPoolClientRequest extends AmazonWebServiceRequest impleme /** *
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -1056,8 +1123,8 @@ public CreateUserPoolClientRequest withAccessTokenValidity(Integer accessTokenVa * their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in an
- * API request is hours. Valid range is displayed below in
+ * The default time unit for IdTokenValidity
in an API
+ * request is hours. Valid range is displayed below in
* seconds.
*
@@ -1083,8 +1150,8 @@ public Integer getIdTokenValidity() { * authenticate their session with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -1109,9 +1176,9 @@ public Integer getIdTokenValidity() { * with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in
- * an API request is hours. Valid range is displayed below
- * in seconds.
+ * The default time unit for IdTokenValidity
in an
+ * API request is hours. Valid range is displayed below in
+ * seconds.
*
* If you don't specify otherwise in the configuration of your @@ -1136,8 +1203,8 @@ public void setIdTokenValidity(Integer idTokenValidity) { * authenticate their session with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -1165,9 +1232,9 @@ public void setIdTokenValidity(Integer idTokenValidity) { * with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in
- * an API request is hours. Valid range is displayed below
- * in seconds.
+ * The default time unit for IdTokenValidity
in an
+ * API request is hours. Valid range is displayed below in
+ * seconds.
*
* If you don't specify otherwise in the configuration of your @@ -3201,13 +3268,85 @@ public CreateUserPoolClientRequest withAllowedOAuthScopes( /** *
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol
- * when interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user
+ * pool app client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following features
+ * in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code,
+ * implicit, and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the
+ * Amazon Cognito console or set
+ * AllowedOAuthFlowsUserPoolClient
to true
+ * in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a
+ * value for AllowedOAuthFlowsUserPoolClient
in a
+ * request with the CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol
- * when interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user
+ * pool app client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following features
+ * in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code,
+ * implicit, and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the
+ * Amazon Cognito console or set
+ * AllowedOAuthFlowsUserPoolClient
to true
+ * in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a
+ * value for AllowedOAuthFlowsUserPoolClient
in a
+ * request with the CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth
- * protocol when interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your
+ * user pool app client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following
+ * features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization
+ * code, implicit, and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in
+ * the Amazon Cognito console or set
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't
+ * set a value for AllowedOAuthFlowsUserPoolClient
+ * in a request with the CLI or SDKs, it defaults to
+ * false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param allowedOAuthFlowsUserPoolClient
- * Set to true if the client is allowed to follow the OAuth
- * protocol when interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your
+ * user pool app client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following
+ * features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization
+ * code, implicit, and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in
+ * the Amazon Cognito console or set
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't
+ * set a value for AllowedOAuthFlowsUserPoolClient
+ * in a request with the CLI or SDKs, it defaults to
+ * false
.
*
* Creates a new domain for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Creates a new Amazon Cognito user pool and sets the password policy for the - * pool. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -43,11 +39,47 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*+ * Creates a new Amazon Cognito user pool and sets the password policy for the + * pool. + *
+ *+ * If you don't provide a value for an attribute, Amazon Cognito sets it to its + * default value. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
*/ private UserPoolAddOnsType userPoolAddOns; @@ -291,9 +330,19 @@ public class CreateUserPoolRequest extends AmazonWebServiceRequest implements Se /** *
* Case sensitivity on the username input for the selected sign-in option.
- * For example, when case sensitivity is set to False
, users
- * can sign in using either "username" or "Username". This configuration is
- * immutable once it has been set. For more information, see False (case insensitive),
+ * users can sign in with any combination of capital and lowercase letters.
+ * For example, username
, USERNAME
, or
+ * UserName
, or for email, email@example.com
or
+ * EMaiL@eXamplE.Com
. For most use cases, set case sensitivity
+ * to False
(case insensitive) as a best practice. When
+ * usernames and email addresses are case insensitive, Amazon Cognito treats
+ * any variation in case as the same user, and prevents a case variation
+ * from being assigned to the same attribute for a different user.
+ *
+ * This configuration is immutable after you set it. For more information, + * see UsernameConfigurationType. *
@@ -2005,13 +2054,28 @@ public CreateUserPoolRequest withSchema(java.util.CollectionAdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ *
+ * + * For more information, see Adding advanced security to a user pool. *
* * @return
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced
+ * security features. To log user security information but take no
+ * action, set to AUDIT
. To configure automatic
+ * security responses to risky traffic to your user pool, set to
+ * ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
*/ public UserPoolAddOnsType getUserPoolAddOns() { @@ -2020,13 +2084,28 @@ public UserPoolAddOnsType getUserPoolAddOns() { /** *
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
* * @param userPoolAddOns
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of
+ * advanced security features. To log user security information
+ * but take no action, set to AUDIT
. To configure
+ * automatic security responses to risky traffic to your user
+ * pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
*/ public void setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns) { @@ -2035,16 +2114,31 @@ public void setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns) { /** *
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
** Returns a reference to this object so that method calls can be chained * together. * * @param userPoolAddOns
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of
+ * advanced security features. To log user security information
+ * but take no action, set to AUDIT
. To configure
+ * automatic security responses to risky traffic to your user
+ * pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -2057,19 +2151,39 @@ public CreateUserPoolRequest withUserPoolAddOns(UserPoolAddOnsType userPoolAddOn /** *
* Case sensitivity on the username input for the selected sign-in option.
- * For example, when case sensitivity is set to False
, users
- * can sign in using either "username" or "Username". This configuration is
- * immutable once it has been set. For more information, see False (case insensitive),
+ * users can sign in with any combination of capital and lowercase letters.
+ * For example, username
, USERNAME
, or
+ * UserName
, or for email, email@example.com
or
+ * EMaiL@eXamplE.Com
. For most use cases, set case sensitivity
+ * to False
(case insensitive) as a best practice. When
+ * usernames and email addresses are case insensitive, Amazon Cognito treats
+ * any variation in case as the same user, and prevents a case variation
+ * from being assigned to the same attribute for a different user.
+ *
+ * This configuration is immutable after you set it. For more information, + * see UsernameConfigurationType. *
* * @return
* Case sensitivity on the username input for the selected sign-in
- * option. For example, when case sensitivity is set to
- * False
, users can sign in using either "username" or
- * "Username". This configuration is immutable once it has been set.
- * For more information, see False (case
+ * insensitive), users can sign in with any combination of capital
+ * and lowercase letters. For example, username
,
+ * USERNAME
, or UserName
, or for email,
+ * email@example.com
or EMaiL@eXamplE.Com
.
+ * For most use cases, set case sensitivity to False
+ * (case insensitive) as a best practice. When usernames and email
+ * addresses are case insensitive, Amazon Cognito treats any
+ * variation in case as the same user, and prevents a case variation
+ * from being assigned to the same attribute for a different user.
+ *
+ * This configuration is immutable after you set it. For more + * information, see UsernameConfigurationType. *
@@ -2081,19 +2195,41 @@ public UsernameConfigurationType getUsernameConfiguration() { /** *
* Case sensitivity on the username input for the selected sign-in option.
- * For example, when case sensitivity is set to False
, users
- * can sign in using either "username" or "Username". This configuration is
- * immutable once it has been set. For more information, see False (case insensitive),
+ * users can sign in with any combination of capital and lowercase letters.
+ * For example, username
, USERNAME
, or
+ * UserName
, or for email, email@example.com
or
+ * EMaiL@eXamplE.Com
. For most use cases, set case sensitivity
+ * to False
(case insensitive) as a best practice. When
+ * usernames and email addresses are case insensitive, Amazon Cognito treats
+ * any variation in case as the same user, and prevents a case variation
+ * from being assigned to the same attribute for a different user.
+ *
+ * This configuration is immutable after you set it. For more information, + * see UsernameConfigurationType. *
* * @param usernameConfiguration
* Case sensitivity on the username input for the selected
- * sign-in option. For example, when case sensitivity is set to
- * False
, users can sign in using either "username"
- * or "Username". This configuration is immutable once it has
- * been set. For more information, see False (case insensitive), users can sign in with
+ * any combination of capital and lowercase letters. For example,
+ * username
, USERNAME
, or
+ * UserName
, or for email,
+ * email@example.com
or
+ * EMaiL@eXamplE.Com
. For most use cases, set case
+ * sensitivity to False
(case insensitive) as a best
+ * practice. When usernames and email addresses are case
+ * insensitive, Amazon Cognito treats any variation in case as
+ * the same user, and prevents a case variation from being
+ * assigned to the same attribute for a different user.
+ *
+ * This configuration is immutable after you set it. For more + * information, see UsernameConfigurationType. *
@@ -2105,9 +2241,19 @@ public void setUsernameConfiguration(UsernameConfigurationType usernameConfigura /** *
* Case sensitivity on the username input for the selected sign-in option.
- * For example, when case sensitivity is set to False
, users
- * can sign in using either "username" or "Username". This configuration is
- * immutable once it has been set. For more information, see False (case insensitive),
+ * users can sign in with any combination of capital and lowercase letters.
+ * For example, username
, USERNAME
, or
+ * UserName
, or for email, email@example.com
or
+ * EMaiL@eXamplE.Com
. For most use cases, set case sensitivity
+ * to False
(case insensitive) as a best practice. When
+ * usernames and email addresses are case insensitive, Amazon Cognito treats
+ * any variation in case as the same user, and prevents a case variation
+ * from being assigned to the same attribute for a different user.
+ *
+ * This configuration is immutable after you set it. For more information, + * see UsernameConfigurationType. *
@@ -2117,10 +2263,22 @@ public void setUsernameConfiguration(UsernameConfigurationType usernameConfigura * * @param usernameConfiguration
* Case sensitivity on the username input for the selected
- * sign-in option. For example, when case sensitivity is set to
- * False
, users can sign in using either "username"
- * or "Username". This configuration is immutable once it has
- * been set. For more information, see False (case insensitive), users can sign in with
+ * any combination of capital and lowercase letters. For example,
+ * username
, USERNAME
, or
+ * UserName
, or for email,
+ * email@example.com
or
+ * EMaiL@eXamplE.Com
. For most use cases, set case
+ * sensitivity to False
(case insensitive) as a best
+ * practice. When usernames and email addresses are case
+ * insensitive, Amazon Cognito treats any variation in case as
+ * the same user, and prevents a case variation from being
+ * assigned to the same attribute for a different user.
+ *
+ * This configuration is immutable after you set it. For more + * information, see UsernameConfigurationType. *
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CreateUserPoolResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CreateUserPoolResult.java index cab4866ad7..851ca4114f 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CreateUserPoolResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CreateUserPoolResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomDomainConfigType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomDomainConfigType.java index 4af2b89f1e..a7f8e1958c 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomDomainConfigType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomDomainConfigType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomEmailLambdaVersionConfigType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomEmailLambdaVersionConfigType.java index 1a58f135d4..e519a0d50a 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomEmailLambdaVersionConfigType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomEmailLambdaVersionConfigType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomEmailSenderLambdaVersionType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomEmailSenderLambdaVersionType.java index 0e70b7fe64..6545dbaccc 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomEmailSenderLambdaVersionType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomEmailSenderLambdaVersionType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomSMSLambdaVersionConfigType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomSMSLambdaVersionConfigType.java index 51451deb9d..645f60fe8f 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomSMSLambdaVersionConfigType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomSMSLambdaVersionConfigType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomSMSSenderLambdaVersionType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomSMSSenderLambdaVersionType.java index 52b13bbe53..5d8054b1c0 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomSMSSenderLambdaVersionType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/CustomSMSSenderLambdaVersionType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DefaultEmailOptionType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DefaultEmailOptionType.java index 9553a1e8f8..f3b28dd268 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DefaultEmailOptionType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DefaultEmailOptionType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteGroupRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteGroupRequest.java index 5d3f2a8aa0..0c3ad2eb1f 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteGroupRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteGroupRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteIdentityProviderRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteIdentityProviderRequest.java index 712abce669..5ecca8fe47 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteIdentityProviderRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteIdentityProviderRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteResourceServerRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteResourceServerRequest.java index faab792a7b..e176a49009 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteResourceServerRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteResourceServerRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteUserAttributesRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteUserAttributesRequest.java index 2ac2db1fd1..640c90cc53 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteUserAttributesRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/DeleteUserAttributesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,6 +23,17 @@ ** Deletes the attributes for a user. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *- * Allows a user to delete himself or herself. + * Allows a user to delete their own user profile. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** The password verifier. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String passwordVerifier;
@@ -34,6 +37,9 @@ public class DeviceSecretVerifierConfigType implements Serializable {
*
* The salt *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String salt;
@@ -41,6 +47,9 @@ public class DeviceSecretVerifierConfigType implements Serializable {
*
* The password verifier. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The password verifier. @@ -54,6 +63,9 @@ public String getPasswordVerifier() { *
* The password verifier. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param passwordVerifier
* The password verifier. @@ -70,6 +82,9 @@ public void setPasswordVerifier(String passwordVerifier) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param passwordVerifier
* The password verifier. @@ -86,6 +101,9 @@ public DeviceSecretVerifierConfigType withPasswordVerifier(String passwordVerifi *
* The salt *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
+ * Constraints:
+ * Length: 0 - 131072
*
* @param salt
* The
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* The
- * The last modified date of the device.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The last modified date of the device.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The last modified date of the device.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The last modified date of the device.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The last modified date of the device.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The last modified date of the device.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param deviceLastModifiedDate
- * The last modified date of the device.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
* The Amazon Web Services ID for the user pool owner.
*
+ * Constraints:
- * The Amazon Resource Name (ARN) of the Amazon CloudFront distribution.
+ * The Amazon CloudFront endpoint that you use as the target of the alias
+ * that you set up with your Domain Name Service (DNS) provider.
*
+ * Constraints:
* The Amazon Web Services ID for the user pool owner.
*
+ * Constraints:
* The Amazon Web Services ID for the user pool owner.
@@ -174,6 +186,10 @@ public String getAWSAccountId() {
*
* The Amazon Web Services ID for the user pool owner.
*
+ * Constraints:
* The Amazon Web Services ID for the user pool owner.
@@ -190,6 +206,10 @@ public void setAWSAccountId(String aWSAccountId) {
*
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* The Amazon Web Services ID for the user pool owner.
@@ -336,12 +356,17 @@ public DomainDescriptionType withS3Bucket(String s3Bucket) {
/**
*
- * The Amazon Resource Name (ARN) of the Amazon CloudFront distribution.
+ * The Amazon CloudFront endpoint that you use as the target of the alias
+ * that you set up with your Domain Name Service (DNS) provider.
*
+ * Constraints:
- * The Amazon Resource Name (ARN) of the Amazon CloudFront
- * distribution.
+ * The Amazon CloudFront endpoint that you use as the target of the
+ * alias that you set up with your Domain Name Service (DNS)
+ * provider.
*
- * The Amazon Resource Name (ARN) of the Amazon CloudFront distribution.
+ * The Amazon CloudFront endpoint that you use as the target of the alias
+ * that you set up with your Domain Name Service (DNS) provider.
*
+ * Constraints:
- * The Amazon Resource Name (ARN) of the Amazon CloudFront
- * distribution.
+ * The Amazon CloudFront endpoint that you use as the target of
+ * the alias that you set up with your Domain Name Service (DNS)
+ * provider.
*
- * The Amazon Resource Name (ARN) of the Amazon CloudFront distribution.
+ * The Amazon CloudFront endpoint that you use as the target of the alias
+ * that you set up with your Domain Name Service (DNS) provider.
*
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
- * The Amazon Resource Name (ARN) of the Amazon CloudFront
- * distribution.
+ * The Amazon CloudFront endpoint that you use as the target of
+ * the alias that you set up with your Domain Name Service (DNS)
+ * provider.
*
- * The ARN of a verified email address in Amazon SES. Amazon Cognito uses
- * this email address in one of the following ways, depending on the value
- * that you specify for the
+ * Length: 0 - 131072
*
* @param salt
+ * Length: - 12
+ * Pattern: [0-9]+
*/
private String aWSAccountId;
@@ -67,8 +71,12 @@ public class DomainDescriptionType implements Serializable {
/**
*
+ * Length: 0 - 131072
*/
private String cloudFrontDistribution;
@@ -161,6 +169,10 @@ public DomainDescriptionType withUserPoolId(String userPoolId) {
*
+ * Length: - 12
+ * Pattern: [0-9]+
*
* @return
+ * Length: - 12
+ * Pattern: [0-9]+
*
* @param aWSAccountId
+ * Length: - 12
+ * Pattern: [0-9]+
*
* @param aWSAccountId
+ * Length: 0 - 131072
*
* @return
+ * Length: 0 - 131072
*
* @param cloudFrontDistribution
+ * Length: 0 - 131072
*
* @param cloudFrontDistribution EmailSendingAccount
parameter:
+ * The ARN of a verified email address or an address from a verified domain
+ * in Amazon SES. You can set a SourceArn
email from a verified
+ * domain only with an API request. You can set a verified email address,
+ * but not an address in a verified domain, in the Amazon Cognito console.
+ * Amazon Cognito uses the email address that you provide in one of the
+ * following ways, depending on the value that you specify for the
+ * EmailSendingAccount
parameter:
*
*
Test User <testuser@example.com>
. This address appears
* before the body of the email.
*
+ * Constraints:
+ * Length: 0 - 131072
*/
private String from;
@@ -195,9 +202,13 @@ public class EmailConfigurationType implements Serializable {
/**
*
- * The ARN of a verified email address in Amazon SES. Amazon Cognito uses
- * this email address in one of the following ways, depending on the value
- * that you specify for the EmailSendingAccount
parameter:
+ * The ARN of a verified email address or an address from a verified domain
+ * in Amazon SES. You can set a SourceArn
email from a verified
+ * domain only with an API request. You can set a verified email address,
+ * but not an address in a verified domain, in the Amazon Cognito console.
+ * Amazon Cognito uses the email address that you provide in one of the
+ * following ways, depending on the value that you specify for the
+ * EmailSendingAccount
parameter:
*
- * The ARN of a verified email address in Amazon SES. Amazon Cognito
- * uses this email address in one of the following ways, depending
+ * The ARN of a verified email address or an address from a verified
+ * domain in Amazon SES. You can set a SourceArn
email
+ * from a verified domain only with an API request. You can set a
+ * verified email address, but not an address in a verified domain,
+ * in the Amazon Cognito console. Amazon Cognito uses the email
+ * address that you provide in one of the following ways, depending
* on the value that you specify for the
* EmailSendingAccount
parameter:
*
- * The ARN of a verified email address in Amazon SES. Amazon Cognito uses
- * this email address in one of the following ways, depending on the value
- * that you specify for the EmailSendingAccount
parameter:
+ * The ARN of a verified email address or an address from a verified domain
+ * in Amazon SES. You can set a SourceArn
email from a verified
+ * domain only with an API request. You can set a verified email address,
+ * but not an address in a verified domain, in the Amazon Cognito console.
+ * Amazon Cognito uses the email address that you provide in one of the
+ * following ways, depending on the value that you specify for the
+ * EmailSendingAccount
parameter:
*
- * The ARN of a verified email address in Amazon SES. Amazon
- * Cognito uses this email address in one of the following ways,
- * depending on the value that you specify for the
- * EmailSendingAccount
parameter:
+ * The ARN of a verified email address or an address from a
+ * verified domain in Amazon SES. You can set a
+ * SourceArn
email from a verified domain only with
+ * an API request. You can set a verified email address, but not
+ * an address in a verified domain, in the Amazon Cognito
+ * console. Amazon Cognito uses the email address that you
+ * provide in one of the following ways, depending on the value
+ * that you specify for the EmailSendingAccount
+ * parameter:
*
- * The ARN of a verified email address in Amazon SES. Amazon Cognito uses
- * this email address in one of the following ways, depending on the value
- * that you specify for the EmailSendingAccount
parameter:
+ * The ARN of a verified email address or an address from a verified domain
+ * in Amazon SES. You can set a SourceArn
email from a verified
+ * domain only with an API request. You can set a verified email address,
+ * but not an address in a verified domain, in the Amazon Cognito console.
+ * Amazon Cognito uses the email address that you provide in one of the
+ * following ways, depending on the value that you specify for the
+ * EmailSendingAccount
parameter:
*
- * The ARN of a verified email address in Amazon SES. Amazon
- * Cognito uses this email address in one of the following ways,
- * depending on the value that you specify for the
- * EmailSendingAccount
parameter:
+ * The ARN of a verified email address or an address from a
+ * verified domain in Amazon SES. You can set a
+ * SourceArn
email from a verified domain only with
+ * an API request. You can set a verified email address, but not
+ * an address in a verified domain, in the Amazon Cognito
+ * console. Amazon Cognito uses the email address that you
+ * provide in one of the following ways, depending on the value
+ * that you specify for the EmailSendingAccount
+ * parameter:
*
Test User <testuser@example.com>
. This address appears
* before the body of the email.
*
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* Either the sender’s email address or the sender’s name with their
@@ -1166,6 +1202,9 @@ public String getFrom() {
* Test User <testuser@example.com>
. This address appears
* before the body of the email.
*
+ * Constraints:
+ * Length: 0 - 131072
*
* @param from
* Either the sender’s email address or the sender’s name with @@ -1189,6 +1228,9 @@ public void setFrom(String from) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param from
* Either the sender’s email address or the sender’s name with diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EmailSendingAccountType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EmailSendingAccountType.java index f3dfe808fd..620cab0bb6 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EmailSendingAccountType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EmailSendingAccountType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EnableSoftwareTokenMFAException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EnableSoftwareTokenMFAException.java index b0729f8926..9846ef9488 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EnableSoftwareTokenMFAException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EnableSoftwareTokenMFAException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventContextDataType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventContextDataType.java index 47aa1178ba..36461c413e 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventContextDataType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventContextDataType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -27,6 +27,9 @@ public class EventContextDataType implements Serializable { *
* The source IP address of your user's device. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String ipAddress;
@@ -34,6 +37,9 @@ public class EventContextDataType implements Serializable {
*
* The user's device name. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String deviceName;
@@ -41,6 +47,9 @@ public class EventContextDataType implements Serializable {
*
* The user's time zone. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String timezone;
@@ -48,6 +57,9 @@ public class EventContextDataType implements Serializable {
*
* The user's city. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String city;
@@ -55,6 +67,9 @@ public class EventContextDataType implements Serializable {
*
* The user's country. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String country;
@@ -62,6 +77,9 @@ public class EventContextDataType implements Serializable {
*
* The source IP address of your user's device. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The source IP address of your user's device. @@ -75,6 +93,9 @@ public String getIpAddress() { *
* The source IP address of your user's device. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param ipAddress
* The source IP address of your user's device. @@ -91,6 +112,9 @@ public void setIpAddress(String ipAddress) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param ipAddress
* The source IP address of your user's device. @@ -107,6 +131,9 @@ public EventContextDataType withIpAddress(String ipAddress) { *
* The user's device name. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The user's device name. @@ -120,6 +147,9 @@ public String getDeviceName() { *
* The user's device name. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param deviceName
* The user's device name. @@ -136,6 +166,9 @@ public void setDeviceName(String deviceName) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param deviceName
* The user's device name. @@ -152,6 +185,9 @@ public EventContextDataType withDeviceName(String deviceName) { *
* The user's time zone. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The user's time zone. @@ -165,6 +201,9 @@ public String getTimezone() { *
* The user's time zone. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param timezone
* The user's time zone. @@ -181,6 +220,9 @@ public void setTimezone(String timezone) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param timezone
* The user's time zone. @@ -197,6 +239,9 @@ public EventContextDataType withTimezone(String timezone) { *
* The user's city. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The user's city. @@ -210,6 +255,9 @@ public String getCity() { *
* The user's city. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param city
* The user's city. @@ -226,6 +274,9 @@ public void setCity(String city) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param city
* The user's city. @@ -242,6 +293,9 @@ public EventContextDataType withCity(String city) { *
* The user's country. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The user's country. @@ -255,6 +309,9 @@ public String getCountry() { *
* The user's country. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param country
* The user's country. @@ -271,6 +328,9 @@ public void setCountry(String country) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param country
* The user's country. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventFeedbackType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventFeedbackType.java index 02b3430950..e08a04def5 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventFeedbackType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventFeedbackType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -25,7 +25,13 @@ public class EventFeedbackType implements Serializable { /** *
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
@@ -37,6 +43,9 @@ public class EventFeedbackType implements Serializable {
*
* The provider. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String provider;
@@ -49,14 +58,27 @@ public class EventFeedbackType implements Serializable {
/**
*
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
* Allowed Values: Valid, Invalid
*
* @return
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell
+ * Amazon Cognito that you trust a user session where Amazon Cognito
+ * has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or you
+ * don't believe that Amazon Cognito evaluated a high-enough risk
+ * level.
*
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
* Allowed Values: Valid, Invalid
*
* @param feedbackValue
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Returns a reference to this object so that method calls can be chained @@ -93,7 +134,14 @@ public void setFeedbackValue(String feedbackValue) { * Allowed Values: Valid, Invalid * * @param feedbackValue
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
* Allowed Values: Valid, Invalid
*
* @param feedbackValue
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Returns a reference to this object so that method calls can be chained @@ -133,7 +200,14 @@ public void setFeedbackValue(FeedbackValueType feedbackValue) { * Allowed Values: Valid, Invalid * * @param feedbackValue
- * The event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
* The provider. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The provider. @@ -161,6 +238,9 @@ public String getProvider() { *
* The provider. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param provider
* The provider. @@ -177,6 +257,9 @@ public void setProvider(String provider) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param provider
* The provider.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventFilterType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventFilterType.java
index 1e90a151e2..474f9420e5 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventFilterType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventFilterType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventResponseType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventResponseType.java
index 0a791477e7..aa6df8800e 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventResponseType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventResponseType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventRiskType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventRiskType.java
index 818284bec1..f8cae6c9a9 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventRiskType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventRiskType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventSourceName.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventSourceName.java
new file mode 100644
index 0000000000..e4b08167db
--- /dev/null
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventSourceName.java
@@ -0,0 +1,60 @@
+/*
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+package com.amazonaws.services.cognitoidentityprovider.model;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Event Source Name
+ */
+public enum EventSourceName {
+
+ UserNotification("userNotification");
+
+ private String value;
+
+ private EventSourceName(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return value;
+ }
+
+ private static final Map
* Forgets the specified device.
*
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies
+ * in requests for this API operation. For this operation, you can't use IAM
+ * credentials to authorize requests, and you can't grant IAM permissions in
+ * policies. For more information about authorization models in Amazon Cognito,
+ * see Using the Amazon Cognito native and OIDC APIs.
+ * InvalidParameterException
is thrown. To use the confirmation
- * code for resetting the password, call ConfirmForgotPassword.
*
+ * If neither a verified phone number nor a verified email exists, this API
+ * returns InvalidParameterException
. If your app client has a
+ * client secret and you don't provide a SECRET_HASH
parameter,
+ * this API returns NotAuthorizedException
.
+ *
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number before * you can send SMS messages to US phone numbers. If you use SMS text messages @@ -53,7 +67,7 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ForgotPasswordResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ForgotPasswordResult.java index d2d221967b..244459e456 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ForgotPasswordResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ForgotPasswordResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetCSVHeaderRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetCSVHeaderRequest.java index d350d97657..7564253c0d 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetCSVHeaderRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetCSVHeaderRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetCSVHeaderResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetCSVHeaderResult.java index a9d5cfc2c8..4147ea1536 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetCSVHeaderResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetCSVHeaderResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetDeviceRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetDeviceRequest.java index 09af3c817b..633f97634e 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetDeviceRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetDeviceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,6 +23,17 @@ ** Gets the device. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Gets the detailed activity logging configuration for a user pool. + *
+ */ +public class GetLogDeliveryConfigurationRequest extends AmazonWebServiceRequest implements + Serializable { + /** + *+ * The ID of the user pool where you want to view detailed activity logging + * configuration. + *
+ *
+ * Constraints:
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ */
+ private String userPoolId;
+
+ /**
+ *
+ * The ID of the user pool where you want to view detailed activity logging + * configuration. + *
+ *
+ * Constraints:
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ *
+ * @return
+ * The ID of the user pool where you want to view detailed activity + * logging configuration. + *
+ */ + public String getUserPoolId() { + return userPoolId; + } + + /** + *+ * The ID of the user pool where you want to view detailed activity logging + * configuration. + *
+ *
+ * Constraints:
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ *
+ * @param userPoolId
+ * The ID of the user pool where you want to view detailed + * activity logging configuration. + *
+ */ + public void setUserPoolId(String userPoolId) { + this.userPoolId = userPoolId; + } + + /** + *+ * The ID of the user pool where you want to view detailed activity logging + * configuration. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ *
+ * @param userPoolId
+ * The ID of the user pool where you want to view detailed + * activity logging configuration. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetLogDeliveryConfigurationRequest withUserPoolId(String userPoolId) { + this.userPoolId = userPoolId; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getUserPoolId() != null) + sb.append("UserPoolId: " + getUserPoolId()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getUserPoolId() == null) ? 0 : getUserPoolId().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof GetLogDeliveryConfigurationRequest == false) + return false; + GetLogDeliveryConfigurationRequest other = (GetLogDeliveryConfigurationRequest) obj; + + if (other.getUserPoolId() == null ^ this.getUserPoolId() == null) + return false; + if (other.getUserPoolId() != null + && other.getUserPoolId().equals(this.getUserPoolId()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetLogDeliveryConfigurationResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetLogDeliveryConfigurationResult.java new file mode 100644 index 0000000000..d76a51530f --- /dev/null +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetLogDeliveryConfigurationResult.java @@ -0,0 +1,125 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.cognitoidentityprovider.model; + +import java.io.Serializable; + +public class GetLogDeliveryConfigurationResult implements Serializable { + /** + *+ * The detailed activity logging configuration of the requested user pool. + *
+ */ + private LogDeliveryConfigurationType logDeliveryConfiguration; + + /** + *+ * The detailed activity logging configuration of the requested user pool. + *
+ * + * @return+ * The detailed activity logging configuration of the requested user + * pool. + *
+ */ + public LogDeliveryConfigurationType getLogDeliveryConfiguration() { + return logDeliveryConfiguration; + } + + /** + *+ * The detailed activity logging configuration of the requested user pool. + *
+ * + * @param logDeliveryConfiguration+ * The detailed activity logging configuration of the requested + * user pool. + *
+ */ + public void setLogDeliveryConfiguration(LogDeliveryConfigurationType logDeliveryConfiguration) { + this.logDeliveryConfiguration = logDeliveryConfiguration; + } + + /** + *+ * The detailed activity logging configuration of the requested user pool. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param logDeliveryConfiguration
+ * The detailed activity logging configuration of the requested + * user pool. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetLogDeliveryConfigurationResult withLogDeliveryConfiguration( + LogDeliveryConfigurationType logDeliveryConfiguration) { + this.logDeliveryConfiguration = logDeliveryConfiguration; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getLogDeliveryConfiguration() != null) + sb.append("LogDeliveryConfiguration: " + getLogDeliveryConfiguration()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime + * hashCode + + ((getLogDeliveryConfiguration() == null) ? 0 : getLogDeliveryConfiguration() + .hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof GetLogDeliveryConfigurationResult == false) + return false; + GetLogDeliveryConfigurationResult other = (GetLogDeliveryConfigurationResult) obj; + + if (other.getLogDeliveryConfiguration() == null + ^ this.getLogDeliveryConfiguration() == null) + return false; + if (other.getLogDeliveryConfiguration() != null + && other.getLogDeliveryConfiguration().equals(this.getLogDeliveryConfiguration()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetSigningCertificateRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetSigningCertificateRequest.java index 034611ab42..02027e12f8 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetSigningCertificateRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetSigningCertificateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetSigningCertificateResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetSigningCertificateResult.java index a40e5cdb8e..bdf9f9d855 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetSigningCertificateResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetSigningCertificateResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -27,6 +27,9 @@ public class GetSigningCertificateResult implements Serializable { ** The signing certificate. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String certificate;
@@ -34,6 +37,9 @@ public class GetSigningCertificateResult implements Serializable {
*
* The signing certificate. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The signing certificate. @@ -47,6 +53,9 @@ public String getCertificate() { *
* The signing certificate. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param certificate
* The signing certificate. @@ -63,6 +72,9 @@ public void setCertificate(String certificate) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param certificate
* The signing certificate. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUICustomizationRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUICustomizationRequest.java index c3cfc86046..ecef73dfc5 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUICustomizationRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUICustomizationRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUICustomizationResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUICustomizationResult.java index df702b0462..8309134be9 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUICustomizationResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUICustomizationResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserAttributeVerificationCodeRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserAttributeVerificationCodeRequest.java index 5ce27d81f8..18add12664 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserAttributeVerificationCodeRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserAttributeVerificationCodeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -27,6 +27,16 @@ *
*+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number before * you can send SMS messages to US phone numbers. If you use SMS text messages @@ -44,7 +54,7 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserAttributeVerificationCodeResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserAttributeVerificationCodeResult.java index 6e6d4e517d..8f7876383e 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserAttributeVerificationCodeResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserAttributeVerificationCodeResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserPoolMfaConfigRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserPoolMfaConfigRequest.java index 76a7dc9550..00ab3888d0 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserPoolMfaConfigRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserPoolMfaConfigRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserPoolMfaConfigResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserPoolMfaConfigResult.java index b479d09efa..dfbfa31fdf 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserPoolMfaConfigResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserPoolMfaConfigResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserRequest.java index 94e31ea760..46690ab998 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GetUserRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,6 +23,17 @@ ** Gets the user attributes and metadata for a user. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *- * The user name of the user you want to retrieve from the get user request. + * The username of the user that you requested. *
*
* Constraints:
@@ -61,6 +61,9 @@ public class GetUserResult implements Serializable {
*
* The user's preferred MFA setting. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String preferredMfaSetting;
@@ -74,7 +77,7 @@ public class GetUserResult implements Serializable {
/**
*
- * The user name of the user you want to retrieve from the get user request. + * The username of the user that you requested. *
*
* Constraints:
@@ -82,8 +85,7 @@ public class GetUserResult implements Serializable {
* Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
*
* @return
- * The user name of the user you want to retrieve from the get user - * request. + * The username of the user that you requested. *
*/ public String getUsername() { @@ -92,7 +94,7 @@ public String getUsername() { /** *- * The user name of the user you want to retrieve from the get user request. + * The username of the user that you requested. *
*
* Constraints:
@@ -100,8 +102,7 @@ public String getUsername() {
* Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
*
* @param username
- * The user name of the user you want to retrieve from the get - * user request. + * The username of the user that you requested. *
*/ public void setUsername(String username) { @@ -110,7 +111,7 @@ public void setUsername(String username) { /** *- * The user name of the user you want to retrieve from the get user request. + * The username of the user that you requested. *
*
* Returns a reference to this object so that method calls can be chained
@@ -121,8 +122,7 @@ public void setUsername(String username) {
* Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
*
* @param username
- * The user name of the user you want to retrieve from the get - * user request. + * The username of the user that you requested. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -352,6 +352,9 @@ public GetUserResult withMFAOptions(java.util.Collection* The user's preferred MFA setting. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The user's preferred MFA setting. @@ -365,6 +368,9 @@ public String getPreferredMfaSetting() { *
* The user's preferred MFA setting. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param preferredMfaSetting
* The user's preferred MFA setting. @@ -381,6 +387,9 @@ public void setPreferredMfaSetting(String preferredMfaSetting) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param preferredMfaSetting
* The user's preferred MFA setting. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GlobalSignOutRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GlobalSignOutRequest.java index caafffcbbb..33fdf6eb42 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GlobalSignOutRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/GlobalSignOutRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,10 +21,28 @@ /** *
- * Signs out users from all devices. It also invalidates all refresh tokens that
- * Amazon Cognito has issued to a user. A user can still use a hosted UI cookie
- * to retrieve new tokens for the duration of the 1-hour cookie validity period.
+ * Signs out a user from all devices. GlobalSignOut
invalidates all
+ * identity, access and refresh tokens that Amazon Cognito has issued to a user.
+ * A user can still use a hosted UI cookie to retrieve new tokens for the
+ * duration of the 1-hour cookie validity period.
*
+ * Your app isn't aware that a user's access token is revoked unless it attempts
+ * to authorize a user pools API request with an access token that contains the
+ * scope aws.cognito.signin.user.admin
. Your app might otherwise
+ * accept access tokens until they expire.
+ *
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *- * The date the group was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ private java.util.Date lastModifiedDate; /** *- * The date the group was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ private java.util.Date creationDate; @@ -516,11 +520,15 @@ public GroupType withPrecedence(Integer precedence) { /** *- * The date the group was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @return- * The date the group was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public java.util.Date getLastModifiedDate() { @@ -529,11 +537,15 @@ public java.util.Date getLastModifiedDate() { /** *- * The date the group was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @param lastModifiedDate- * The date the group was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public void setLastModifiedDate(java.util.Date lastModifiedDate) { @@ -542,14 +554,18 @@ public void setLastModifiedDate(java.util.Date lastModifiedDate) { /** *- * The date the group was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
** Returns a reference to this object so that method calls can be chained * together. * * @param lastModifiedDate
- * The date the group was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -561,11 +577,15 @@ public GroupType withLastModifiedDate(java.util.Date lastModifiedDate) { /** *- * The date the group was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @return- * The date the group was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public java.util.Date getCreationDate() { @@ -574,11 +594,15 @@ public java.util.Date getCreationDate() { /** *- * The date the group was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @param creationDate- * The date the group was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public void setCreationDate(java.util.Date creationDate) { @@ -587,14 +611,18 @@ public void setCreationDate(java.util.Date creationDate) { /** *- * The date the group was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
** Returns a reference to this object so that method calls can be chained * together. * * @param creationDate
- * The date the group was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/HttpHeader.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/HttpHeader.java index 028559e4e6..ced84fadc5 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/HttpHeader.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/HttpHeader.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -27,6 +27,9 @@ public class HttpHeader implements Serializable { ** The header name. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String headerName;
@@ -34,6 +37,9 @@ public class HttpHeader implements Serializable {
*
* The header value. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String headerValue;
@@ -41,6 +47,9 @@ public class HttpHeader implements Serializable {
*
* The header name. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The header name. @@ -54,6 +63,9 @@ public String getHeaderName() { *
* The header name. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param headerName
* The header name. @@ -70,6 +82,9 @@ public void setHeaderName(String headerName) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param headerName
* The header name. @@ -86,6 +101,9 @@ public HttpHeader withHeaderName(String headerName) { *
* The header value. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The header value. @@ -99,6 +117,9 @@ public String getHeaderValue() { *
* The header value. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param headerValue
* The header value. @@ -115,6 +136,9 @@ public void setHeaderValue(String headerValue) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param headerValue
* The header value. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/IdentityProviderType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/IdentityProviderType.java index 359bbe531c..cd79bce66f 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/IdentityProviderType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/IdentityProviderType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -257,14 +257,18 @@ public class IdentityProviderType implements Serializable { /** *
- * The date the IdP was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ private java.util.Date lastModifiedDate; /** *- * The date the IdP was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ private java.util.Date creationDate; @@ -1974,11 +1978,15 @@ public IdentityProviderType withIdpIdentifiers(java.util.Collection- * The date the IdP was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @return- * The date the IdP was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public java.util.Date getLastModifiedDate() { @@ -1987,11 +1995,15 @@ public java.util.Date getLastModifiedDate() { /** *- * The date the IdP was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @param lastModifiedDate- * The date the IdP was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public void setLastModifiedDate(java.util.Date lastModifiedDate) { @@ -2000,14 +2012,18 @@ public void setLastModifiedDate(java.util.Date lastModifiedDate) { /** *- * The date the IdP was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
** Returns a reference to this object so that method calls can be chained * together. * * @param lastModifiedDate
- * The date the IdP was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -2019,11 +2035,15 @@ public IdentityProviderType withLastModifiedDate(java.util.Date lastModifiedDate /** *- * The date the IdP was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @return- * The date the IdP was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public java.util.Date getCreationDate() { @@ -2032,11 +2052,15 @@ public java.util.Date getCreationDate() { /** *- * The date the IdP was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @param creationDate- * The date the IdP was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public void setCreationDate(java.util.Date creationDate) { @@ -2045,14 +2069,18 @@ public void setCreationDate(java.util.Date creationDate) { /** *- * The date the IdP was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
** Returns a reference to this object so that method calls can be chained * together. * * @param creationDate
- * The date the IdP was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/IdentityProviderTypeType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/IdentityProviderTypeType.java index 6aeb16d8f5..7c19437f3a 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/IdentityProviderTypeType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/IdentityProviderTypeType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InitiateAuthRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InitiateAuthRequest.java index aa8aed2783..57a3dff14b 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InitiateAuthRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InitiateAuthRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -29,6 +29,16 @@ * *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number before * you can send SMS messages to US phone numbers. If you use SMS text messages @@ -46,7 +56,7 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -137,6 +147,14 @@ public class InitiateAuthRequest extends AmazonWebServiceRequest implements Seri *
+ * For USER_PASSWORD_AUTH
: USERNAME
(required),
+ * PASSWORD
(required), SECRET_HASH
(required if
+ * the app client is configured with a client secret),
+ * DEVICE_KEY
.
+ *
* For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
* REFRESH_TOKEN
(required), SECRET_HASH
(required
* if the app client is configured with a client secret),
@@ -153,6 +171,14 @@ public class InitiateAuthRequest extends AmazonWebServiceRequest implements Seri
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
+ * For USER_PASSWORD_AUTH
: USERNAME
(required),
+ * PASSWORD
(required), SECRET_HASH
(required if
+ * the app client is configured with a client secret),
+ * DEVICE_KEY
.
+ *
* For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
* REFRESH_TOKEN
(required), SECRET_HASH
(required
* if the app client is configured with a client secret),
@@ -1004,6 +1038,14 @@ public InitiateAuthRequest withAuthFlow(AuthFlowType authFlow) {
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The authentication parameters. These are inputs corresponding to @@ -1021,6 +1063,14 @@ public InitiateAuthRequest withAuthFlow(AuthFlowType authFlow) { *
+ * For USER_PASSWORD_AUTH
: USERNAME
+ * (required), PASSWORD
(required),
+ * SECRET_HASH
(required if the app client is
+ * configured with a client secret), DEVICE_KEY
.
+ *
* For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
* REFRESH_TOKEN
(required), SECRET_HASH
* (required if the app client is configured with a client secret),
@@ -1038,6 +1088,14 @@ public InitiateAuthRequest withAuthFlow(AuthFlowType authFlow) {
*
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
+ * For USER_PASSWORD_AUTH
: USERNAME
(required),
+ * PASSWORD
(required), SECRET_HASH
(required if
+ * the app client is configured with a client secret),
+ * DEVICE_KEY
.
+ *
* For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
* REFRESH_TOKEN
(required), SECRET_HASH
(required
* if the app client is configured with a client secret),
@@ -1075,6 +1141,14 @@ public java.util.Map
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The authentication parameters. These are inputs corresponding
@@ -1092,6 +1166,14 @@ public java.util.Map
+ * For USER_PASSWORD_AUTH
: USERNAME
+ * (required), PASSWORD
(required),
+ * SECRET_HASH
(required if the app client is
+ * configured with a client secret), DEVICE_KEY
.
+ *
* For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
* REFRESH_TOKEN
(required),
* SECRET_HASH
(required if the app client is
@@ -1109,6 +1191,15 @@ public java.util.Map
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
+ * For USER_PASSWORD_AUTH
: USERNAME
(required),
+ * PASSWORD
(required), SECRET_HASH
(required if
+ * the app client is configured with a client secret),
+ * DEVICE_KEY
.
+ *
* For REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
* REFRESH_TOKEN
(required), SECRET_HASH
(required
* if the app client is configured with a client secret),
@@ -1147,6 +1246,14 @@ public void setAuthParameters(java.util.Map
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* Returns a reference to this object so that method calls can be chained
* together.
*
@@ -1166,6 +1273,14 @@ public void setAuthParameters(java.util.Map
+ * For
* For
+ * For more information about
+ * For
* For
+ * For more information about
* The method adds a new key-value pair into AuthParameters parameter, and
* returns a reference to this object so that method calls can be chained
* together.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InitiateAuthResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InitiateAuthResult.java
index dd92a77f4f..722a1f4392 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InitiateAuthResult.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InitiateAuthResult.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InternalErrorException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InternalErrorException.java
index 061e86532a..e698f38f6c 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InternalErrorException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InternalErrorException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidEmailRoleAccessPolicyException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidEmailRoleAccessPolicyException.java
index a255d19a02..ade3ebd7bf 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidEmailRoleAccessPolicyException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidEmailRoleAccessPolicyException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidLambdaResponseException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidLambdaResponseException.java
index 19b5a8a8f8..4e1159651f 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidLambdaResponseException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidLambdaResponseException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidOAuthFlowException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidOAuthFlowException.java
index 45b77d8f02..3c0cde360e 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidOAuthFlowException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidOAuthFlowException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidParameterException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidParameterException.java
index c695f35e28..6819aec1b7 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidParameterException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidParameterException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidPasswordException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidPasswordException.java
index a7a5d853f9..8be8af4c69 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidPasswordException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidPasswordException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidSmsRoleAccessPolicyException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidSmsRoleAccessPolicyException.java
index 146c0f8edc..7f6c7a1eda 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidSmsRoleAccessPolicyException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidSmsRoleAccessPolicyException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidSmsRoleTrustRelationshipException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidSmsRoleTrustRelationshipException.java
index bb90887fd5..c400e4c834 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidSmsRoleTrustRelationshipException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidSmsRoleTrustRelationshipException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidUserPoolConfigurationException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidUserPoolConfigurationException.java
index 224ebc5b7f..b6e7b23a85 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidUserPoolConfigurationException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/InvalidUserPoolConfigurationException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LambdaConfigType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LambdaConfigType.java
index e7c90c2c93..ab2af8d60d 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LambdaConfigType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LambdaConfigType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LimitExceededException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LimitExceededException.java
index 62c8736673..b353a1c3fe 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LimitExceededException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/LimitExceededException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ListDevicesRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ListDevicesRequest.java
index b50625742b..98c7e34e93 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ListDevicesRequest.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ListDevicesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -24,6 +24,17 @@
* Lists the sign-in devices that Amazon Cognito has registered to the current
* user.
*
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies
+ * in requests for this API operation. For this operation, you can't use IAM
+ * credentials to authorize requests, and you can't grant IAM permissions in
+ * policies. For more information about authorization models in Amazon Cognito,
+ * see Using the Amazon Cognito native and OIDC APIs.
+ *
* Lists the groups associated with a user pool.
*
- * Calling this action requires developer credentials.
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
*
+ * Learn more
+ *
+ * Using the Amazon Cognito user pools API and user pool endpoints
+ *
* Lists information about all IdPs for a user pool.
*
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
+ *
+ * Learn more
+ *
+ * Using the Amazon Cognito user pools API and user pool endpoints
+ *
* Lists the resource servers for a user pool.
*
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
+ *
+ * Learn more
+ *
+ * Using the Amazon Cognito user pools API and user pool endpoints
+ *
- * Lists the user import jobs.
+ * Lists user import jobs for a user pool.
*
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
+ *
+ * Learn more
+ *
+ * Using the Amazon Cognito user pools API and user pool endpoints
+ *
* Lists the clients that have been created for the specified user pool.
*
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
+ *
+ * Learn more
+ *
+ * Using the Amazon Cognito user pools API and user pool endpoints
+ *
* Lists the user pools associated with an Amazon Web Services account.
*
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
+ *
+ * Learn more
+ *
+ * Using the Amazon Cognito user pools API and user pool endpoints
+ *
* Lists the users in the specified group.
*
- * Calling this action requires developer credentials.
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
*
+ * Learn more
+ *
+ * Using the Amazon Cognito user pools API and user pool endpoints
+ *
- * Lists the users in the Amazon Cognito user pool.
+ * Lists users and their basic details in a user pool.
*
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in
+ * requests for this API operation. For this operation, you must use IAM
+ * credentials to authorize requests, and you must grant yourself the
+ * corresponding IAM permission in a policy.
+ *
+ * Learn more
+ *
+ * Using the Amazon Cognito user pools API and user pool endpoints
+ *
- * An array of strings, where each string is the name of a user attribute to
- * be returned for each user in the search results. If the array is null,
- * all attributes are returned.
+ * A JSON array of user attribute names, for example
- * An array of strings, where each string is the name of a user attribute to
- * be returned for each user in the search results. If the array is null,
- * all attributes are returned.
+ * A JSON array of user attribute names, for example
- * An array of strings, where each string is the name of a user
- * attribute to be returned for each user in the search results. If
- * the array is null, all attributes are returned.
+ * A JSON array of user attribute names, for example
+ *
- * An array of strings, where each string is the name of a user attribute to
- * be returned for each user in the search results. If the array is null,
- * all attributes are returned.
+ * A JSON array of user attribute names, for example
- * An array of strings, where each string is the name of a user
- * attribute to be returned for each user in the search results.
- * If the array is null, all attributes are returned.
+ * A JSON array of user attribute names, for example
+ *
- * An array of strings, where each string is the name of a user attribute to
- * be returned for each user in the search results. If the array is null,
- * all attributes are returned.
+ * A JSON array of user attribute names, for example
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param attributesToGet
- * An array of strings, where each string is the name of a user
- * attribute to be returned for each user in the search results.
- * If the array is null, all attributes are returned.
+ * A JSON array of user attribute names, for example
+ *
- * An array of strings, where each string is the name of a user attribute to
- * be returned for each user in the search results. If the array is null,
- * all attributes are returned.
+ * A JSON array of user attribute names, for example
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param attributesToGet
- * An array of strings, where each string is the name of a user
- * attribute to be returned for each user in the search results.
- * If the array is null, all attributes are returned.
+ * A JSON array of user attribute names, for example
+ *
- * The users returned in the request to list users.
+ * A list of the user pool users, and their attributes, that match your
+ * query.
*
+ * Amazon Cognito creates a profile in your user pool for each native user
+ * in your user pool, and each unique user ID from your third-party identity
+ * providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
+ *
- * The users returned in the request to list users.
+ * A list of the user pool users, and their attributes, that match your
+ * query.
+ *
+ * Amazon Cognito creates a profile in your user pool for each native user
+ * in your user pool, and each unique user ID from your third-party identity
+ * providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
+ *
- * The users returned in the request to list users.
+ * A list of the user pool users, and their attributes, that match
+ * your query.
*
+ * Amazon Cognito creates a profile in your user pool for each
+ * native user in your user pool, and each unique user ID from your
+ * third-party identity providers (IdPs). When you link users with
+ * the AdminLinkProviderForUser API operation, the output of
+ *
- * The users returned in the request to list users.
+ * A list of the user pool users, and their attributes, that match your
+ * query.
+ *
+ * Amazon Cognito creates a profile in your user pool for each native user
+ * in your user pool, and each unique user ID from your third-party identity
+ * providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
+ *
- * The users returned in the request to list users.
+ * A list of the user pool users, and their attributes, that
+ * match your query.
*
+ * Amazon Cognito creates a profile in your user pool for each
+ * native user in your user pool, and each unique user ID from
+ * your third-party identity providers (IdPs). When you link
+ * users with the AdminLinkProviderForUser API operation, the output of
+ *
- * The users returned in the request to list users.
+ * A list of the user pool users, and their attributes, that match your
+ * query.
+ *
+ * Amazon Cognito creates a profile in your user pool for each native user
+ * in your user pool, and each unique user ID from your third-party identity
+ * providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
+ *
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param users
- * The users returned in the request to list users.
+ * A list of the user pool users, and their attributes, that
+ * match your query.
+ *
+ * Amazon Cognito creates a profile in your user pool for each
+ * native user in your user pool, and each unique user ID from
+ * your third-party identity providers (IdPs). When you link
+ * users with the AdminLinkProviderForUser API operation, the output of
+ *
- * The users returned in the request to list users.
+ * A list of the user pool users, and their attributes, that match your
+ * query.
*
+ * Amazon Cognito creates a profile in your user pool for each native user
+ * in your user pool, and each unique user ID from your third-party identity
+ * providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
+ *
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param users
- * The users returned in the request to list users.
+ * A list of the user pool users, and their attributes, that
+ * match your query.
+ *
+ * Amazon Cognito creates a profile in your user pool for each
+ * native user in your user pool, and each unique user ID from
+ * your third-party identity providers (IdPs). When you link
+ * users with the AdminLinkProviderForUser API operation, the output of
+ *
+ * The logging parameters of a user pool.
+ *
+ * The
+ * Constraints:
+ * The source of events that your user pool sends for detailed activity
+ * logging.
+ *
+ * Constraints:
+ * The CloudWatch logging destination of a user pool.
+ *
+ * The
+ * Constraints:
+ * The
+ * The
+ * Constraints:
+ * The
+ * The
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The
+ * The
+ * Constraints:
+ * The
+ * The
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The
+ * The source of events that your user pool sends for detailed activity
+ * logging.
+ *
+ * Constraints:
+ * The source of events that your user pool sends for detailed
+ * activity logging.
+ *
+ * The source of events that your user pool sends for detailed activity
+ * logging.
+ *
+ * Constraints:
+ * The source of events that your user pool sends for detailed
+ * activity logging.
+ *
+ * The source of events that your user pool sends for detailed activity
+ * logging.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The source of events that your user pool sends for detailed
+ * activity logging.
+ *
+ * The source of events that your user pool sends for detailed activity
+ * logging.
+ *
+ * Constraints:
+ * The source of events that your user pool sends for detailed
+ * activity logging.
+ *
+ * The source of events that your user pool sends for detailed activity
+ * logging.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The source of events that your user pool sends for detailed
+ * activity logging.
+ *
+ * The CloudWatch logging destination of a user pool.
+ *
+ * The CloudWatch logging destination of a user pool.
+ *
+ * The CloudWatch logging destination of a user pool.
+ *
+ * The CloudWatch logging destination of a user pool.
+ *
+ * The CloudWatch logging destination of a user pool.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param cloudWatchLogsConfiguration
+ * The CloudWatch logging destination of a user pool.
+ *
+ * The logging parameters of a user pool.
+ *
+ * The ID of the user pool where you configured detailed activity logging.
+ *
+ * Constraints:
+ * The detailed activity logging destination of a user pool.
+ *
+ * The ID of the user pool where you configured detailed activity logging.
+ *
+ * Constraints:
+ * The ID of the user pool where you configured detailed activity
+ * logging.
+ *
+ * The ID of the user pool where you configured detailed activity logging.
+ *
+ * Constraints:
+ * The ID of the user pool where you configured detailed activity
+ * logging.
+ *
+ * The ID of the user pool where you configured detailed activity logging.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The ID of the user pool where you configured detailed activity
+ * logging.
+ *
+ * The detailed activity logging destination of a user pool.
+ *
+ * The detailed activity logging destination of a user pool.
+ *
+ * The detailed activity logging destination of a user pool.
+ *
+ * The detailed activity logging destination of a user pool.
+ *
+ * The detailed activity logging destination of a user pool.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param logConfigurations
+ * The detailed activity logging destination of a user pool.
+ *
+ * The detailed activity logging destination of a user pool.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param logConfigurations
+ * The detailed activity logging destination of a user pool.
+ *
* The device group key.
*
+ * Constraints:
* The device group key.
*
+ * Constraints:
* The device group key.
@@ -115,6 +121,9 @@ public String getDeviceGroupKey() {
*
* The device group key.
*
+ * Constraints:
* The device group key.
@@ -131,6 +140,9 @@ public void setDeviceGroupKey(String deviceGroupKey) {
*
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* The device group key.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotAuthorizedException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotAuthorizedException.java
index 104e3f756e..8d9176b0de 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotAuthorizedException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotAuthorizedException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotifyConfigurationType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotifyConfigurationType.java
index a8ded52bbb..7f50e2ac82 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotifyConfigurationType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotifyConfigurationType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -29,6 +29,9 @@ public class NotifyConfigurationType implements Serializable {
* individually verified with Amazon Simple Email Service, or from a domain
* that has been verified with Amazon SES.
*
+ * Constraints:
* The destination to which the receiver of an email should reply to.
*
+ * Constraints:
+ * Constraints:
* The email address that is sending the email. The address must be
@@ -99,6 +108,9 @@ public String getFrom() {
* individually verified with Amazon Simple Email Service, or from a domain
* that has been verified with Amazon SES.
*
+ * Constraints:
* The email address that is sending the email. The address must
@@ -120,6 +132,9 @@ public void setFrom(String from) {
*
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* The email address that is sending the email. The address must
@@ -139,6 +154,9 @@ public NotifyConfigurationType withFrom(String from) {
*
* The destination to which the receiver of an email should reply to.
*
+ * Constraints:
* The destination to which the receiver of an email should reply
@@ -153,6 +171,9 @@ public String getReplyTo() {
*
* The destination to which the receiver of an email should reply to.
*
+ * Constraints:
* The destination to which the receiver of an email should reply
@@ -170,6 +191,9 @@ public void setReplyTo(String replyTo) {
*
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* The destination to which the receiver of an email should reply
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotifyEmailType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotifyEmailType.java
index ae39a0bff8..98e35cb1e1 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotifyEmailType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NotifyEmailType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NumberAttributeConstraintsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NumberAttributeConstraintsType.java
index 21922c8321..f67017d05c 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NumberAttributeConstraintsType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/NumberAttributeConstraintsType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -28,6 +28,9 @@ public class NumberAttributeConstraintsType implements Serializable {
*
* The minimum value of an attribute that is of the number data type.
*
+ * Constraints:
* The maximum value of an attribute that is of the number data type.
*
+ * Constraints:
* The minimum value of an attribute that is of the number data type.
*
+ * Constraints:
* The minimum value of an attribute that is of the number data
@@ -56,6 +65,9 @@ public String getMinValue() {
*
* The minimum value of an attribute that is of the number data type.
*
+ * Constraints:
* The minimum value of an attribute that is of the number data
@@ -73,6 +85,9 @@ public void setMinValue(String minValue) {
*
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* The minimum value of an attribute that is of the number data
@@ -90,6 +105,9 @@ public NumberAttributeConstraintsType withMinValue(String minValue) {
*
* The maximum value of an attribute that is of the number data type.
*
+ * Constraints:
* The maximum value of an attribute that is of the number data
@@ -104,6 +122,9 @@ public String getMaxValue() {
*
* The maximum value of an attribute that is of the number data type.
*
+ * Constraints:
* The maximum value of an attribute that is of the number data
@@ -121,6 +142,9 @@ public void setMaxValue(String maxValue) {
*
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* The maximum value of an attribute that is of the number data
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/OAuthFlowType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/OAuthFlowType.java
index eff843af84..e925a8f99a 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/OAuthFlowType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/OAuthFlowType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PasswordPolicyType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PasswordPolicyType.java
index 3398682837..21b081d339 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PasswordPolicyType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PasswordPolicyType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PasswordResetRequiredException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PasswordResetRequiredException.java
index b8793383f9..528010c08c 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PasswordResetRequiredException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PasswordResetRequiredException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PreconditionNotMetException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PreconditionNotMetException.java
index cb01024145..3b3d764848 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PreconditionNotMetException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PreconditionNotMetException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PreventUserExistenceErrorTypes.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PreventUserExistenceErrorTypes.java
index 84ebc08de1..7f2029d87f 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PreventUserExistenceErrorTypes.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/PreventUserExistenceErrorTypes.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ProviderDescription.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ProviderDescription.java
index 0850ef8db1..4fe39e929e 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ProviderDescription.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ProviderDescription.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -54,7 +54,9 @@ public class ProviderDescription implements Serializable {
/**
*
- * The date the provider was added to the user pool.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the provider was added to the user pool.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the provider was added to the user pool.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the provider was added to the user pool.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the provider was added to the user pool.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the provider was added to the user pool.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param creationDate
- * The date the provider was added to the user pool.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
* USER_PASSWORD_AUTH
: USERNAME
+ * (required), PASSWORD
(required),
+ * SECRET_HASH
(required if the app client is
+ * configured with a client secret), DEVICE_KEY
.
+ * REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
* REFRESH_TOKEN
(required),
* SECRET_HASH
(required if the app client is
@@ -1183,6 +1298,15 @@ public void setAuthParameters(java.util.MapSECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ * USER_PASSWORD_AUTH
: USERNAME
(required),
+ * PASSWORD
(required), SECRET_HASH
(required if
+ * the app client is configured with a client secret),
+ * DEVICE_KEY
.
+ * REFRESH_TOKEN_AUTH/REFRESH_TOKEN
:
* REFRESH_TOKEN
(required), SECRET_HASH
(required
* if the app client is configured with a client secret),
@@ -1224,6 +1356,14 @@ public InitiateAuthRequest withAuthParameters(java.util.MapSECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ * given_name
+ * , that you want Amazon Cognito to include in the response for each user.
+ * When you don't provide an AttributesToGet
parameter, Amazon
+ * Cognito returns all attributes for each user.
* given_name
+ * , that you want Amazon Cognito to include in the response for each user.
+ * When you don't provide an AttributesToGet
parameter, Amazon
+ * Cognito returns all attributes for each user.
* given_name
, that you want Amazon Cognito to include
+ * in the response for each user. When you don't provide an
+ * AttributesToGet
parameter, Amazon Cognito returns
+ * all attributes for each user.
* given_name
+ * , that you want Amazon Cognito to include in the response for each user.
+ * When you don't provide an AttributesToGet
parameter, Amazon
+ * Cognito returns all attributes for each user.
* given_name
, that you want Amazon Cognito to
+ * include in the response for each user. When you don't provide
+ * an AttributesToGet
parameter, Amazon Cognito
+ * returns all attributes for each user.
* given_name
+ * , that you want Amazon Cognito to include in the response for each user.
+ * When you don't provide an AttributesToGet
parameter, Amazon
+ * Cognito returns all attributes for each user.
* given_name
, that you want Amazon Cognito to
+ * include in the response for each user. When you don't provide
+ * an AttributesToGet
parameter, Amazon Cognito
+ * returns all attributes for each user.
* given_name
+ * , that you want Amazon Cognito to include in the response for each user.
+ * When you don't provide an AttributesToGet
parameter, Amazon
+ * Cognito returns all attributes for each user.
* given_name
, that you want Amazon Cognito to
+ * include in the response for each user. When you don't provide
+ * an AttributesToGet
parameter, Amazon Cognito
+ * returns all attributes for each user.
* ListUsers
displays both the IdP user and the native user
+ * that you linked. You can identify IdP users in the Users
+ * object of this API response by the IdP prefix that Amazon Cognito appends
+ * to Username
.
+ * ListUsers
displays both the IdP user and the native user
+ * that you linked. You can identify IdP users in the Users
+ * object of this API response by the IdP prefix that Amazon Cognito appends
+ * to Username
.
* ListUsers
displays both the IdP user and the native
+ * user that you linked. You can identify IdP users in the
+ * Users
object of this API response by the IdP prefix
+ * that Amazon Cognito appends to Username
.
+ * ListUsers
displays both the IdP user and the native user
+ * that you linked. You can identify IdP users in the Users
+ * object of this API response by the IdP prefix that Amazon Cognito appends
+ * to Username
.
* ListUsers
displays both the IdP user and the
+ * native user that you linked. You can identify IdP users in the
+ * Users
object of this API response by the IdP
+ * prefix that Amazon Cognito appends to Username
.
+ * ListUsers
displays both the IdP user and the native user
+ * that you linked. You can identify IdP users in the Users
+ * object of this API response by the IdP prefix that Amazon Cognito appends
+ * to Username
.
* ListUsers
displays both the IdP user and the
+ * native user that you linked. You can identify IdP users in the
+ * Users
object of this API response by the IdP
+ * prefix that Amazon Cognito appends to Username
.
* ListUsers
displays both the IdP user and the native user
+ * that you linked. You can identify IdP users in the Users
+ * object of this API response by the IdP prefix that Amazon Cognito appends
+ * to Username
.
+ * ListUsers
displays both the IdP user and the
+ * native user that you linked. You can identify IdP users in the
+ * Users
object of this API response by the IdP
+ * prefix that Amazon Cognito appends to Username
.
* errorlevel
selection of logs that a user pool sends for
+ * detailed activity logging.
+ *
+ * Allowed Values: ERROR
+ */
+ private String logLevel;
+
+ /**
+ *
+ * Allowed Values: userNotification
+ */
+ private String eventSource;
+
+ /**
+ * errorlevel
selection of logs that a user pool sends for
+ * detailed activity logging.
+ *
+ * Allowed Values: ERROR
+ *
+ * @return errorlevel
selection of logs that a user pool
+ * sends for detailed activity logging.
+ * errorlevel
selection of logs that a user pool sends for
+ * detailed activity logging.
+ *
+ * Allowed Values: ERROR
+ *
+ * @param logLevel errorlevel
selection of logs that a user pool
+ * sends for detailed activity logging.
+ * errorlevel
selection of logs that a user pool sends for
+ * detailed activity logging.
+ *
+ * Allowed Values: ERROR
+ *
+ * @param logLevel errorlevel
selection of logs that a user pool
+ * sends for detailed activity logging.
+ * errorlevel
selection of logs that a user pool sends for
+ * detailed activity logging.
+ *
+ * Allowed Values: ERROR
+ *
+ * @param logLevel errorlevel
selection of logs that a user pool
+ * sends for detailed activity logging.
+ * errorlevel
selection of logs that a user pool sends for
+ * detailed activity logging.
+ *
+ * Allowed Values: ERROR
+ *
+ * @param logLevel errorlevel
selection of logs that a user pool
+ * sends for detailed activity logging.
+ *
+ * Allowed Values: userNotification
+ *
+ * @return
+ * Allowed Values: userNotification
+ *
+ * @param eventSource
+ * Allowed Values: userNotification
+ *
+ * @param eventSource
+ * Allowed Values: userNotification
+ *
+ * @param eventSource
+ * Allowed Values: userNotification
+ *
+ * @param eventSource
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ */
+ private String userPoolId;
+
+ /**
+ *
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ *
+ * @return
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ *
+ * @param userPoolId
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ *
+ * @param userPoolId
+ * Length: 0 - 131072
*/
private String deviceGroupKey;
@@ -102,6 +105,9 @@ public NewDeviceMetadataType withDeviceKey(String deviceKey) {
*
+ * Length: 0 - 131072
*
* @return
+ * Length: 0 - 131072
*
* @param deviceGroupKey
+ * Length: 0 - 131072
*
* @param deviceGroupKey
+ * Length: 0 - 131072
*/
private String from;
@@ -36,6 +39,9 @@ public class NotifyConfigurationType implements Serializable {
*
+ * Length: 0 - 131072
*/
private String replyTo;
@@ -82,6 +88,9 @@ public class NotifyConfigurationType implements Serializable {
* individually verified with Amazon Simple Email Service, or from a domain
* that has been verified with Amazon SES.
*
+ * Length: 0 - 131072
*
* @return
+ * Length: 0 - 131072
*
* @param from
+ * Length: 0 - 131072
*
* @param from
+ * Length: 0 - 131072
*
* @return
+ * Length: 0 - 131072
*
* @param replyTo
+ * Length: 0 - 131072
*
* @param replyTo
+ * Length: 0 - 131072
*/
private String minValue;
@@ -35,6 +38,9 @@ public class NumberAttributeConstraintsType implements Serializable {
*
+ * Length: 0 - 131072
*/
private String maxValue;
@@ -42,6 +48,9 @@ public class NumberAttributeConstraintsType implements Serializable {
*
+ * Length: 0 - 131072
*
* @return
+ * Length: 0 - 131072
*
* @param minValue
+ * Length: 0 - 131072
*
* @param minValue
+ * Length: 0 - 131072
*
* @return
+ * Length: 0 - 131072
*
* @param maxValue
+ * Length: 0 - 131072
*
* @param maxValue NameID
.
*
+ * Constraints:
+ * Length: 0 - 131072
*/
private String providerAttributeName;
@@ -47,6 +50,9 @@ public class ProviderUserIdentifierType implements Serializable {
* The value of the provider attribute to link to, such as
* xxxxx_account
.
*
+ * Constraints:
+ * Length: 0 - 131072
*/
private String providerAttributeValue;
@@ -115,6 +121,9 @@ public ProviderUserIdentifierType withProviderName(String providerName) {
* The name of the provider attribute to link to, such as
* NameID
.
*
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The name of the provider attribute to link to, such as
@@ -130,6 +139,9 @@ public String getProviderAttributeName() {
* The name of the provider attribute to link to, such as
* NameID
.
*
+ * Constraints:
+ * Length: 0 - 131072
*
* @param providerAttributeName
* The name of the provider attribute to link to, such as @@ -148,6 +160,9 @@ public void setProviderAttributeName(String providerAttributeName) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param providerAttributeName
* The name of the provider attribute to link to, such as
@@ -166,6 +181,9 @@ public ProviderUserIdentifierType withProviderAttributeName(String providerAttri
* The value of the provider attribute to link to, such as
* xxxxx_account
.
*
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The value of the provider attribute to link to, such as
@@ -181,6 +199,9 @@ public String getProviderAttributeValue() {
* The value of the provider attribute to link to, such as
* xxxxx_account
.
*
+ * Constraints:
+ * Length: 0 - 131072
*
* @param providerAttributeValue
* The value of the provider attribute to link to, such as @@ -199,6 +220,9 @@ public void setProviderAttributeValue(String providerAttributeValue) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param providerAttributeValue
* The value of the provider attribute to link to, such as diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RecoveryOptionNameType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RecoveryOptionNameType.java index 1d7148129d..e4340bc955 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RecoveryOptionNameType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RecoveryOptionNameType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RecoveryOptionType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RecoveryOptionType.java index 726201fa8e..91d31b7924 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RecoveryOptionType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RecoveryOptionType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResendConfirmationCodeRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResendConfirmationCodeRequest.java index 49fcf56684..b86a73b6fc 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResendConfirmationCodeRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResendConfirmationCodeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -26,6 +26,16 @@ *
*+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number before * you can send SMS messages to US phone numbers. If you use SMS text messages @@ -43,7 +53,7 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResendConfirmationCodeResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResendConfirmationCodeResult.java index 5da50114c6..b1db6c4965 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResendConfirmationCodeResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResendConfirmationCodeResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceNotFoundException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceNotFoundException.java index 1a08319a6b..1d22d4f829 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceNotFoundException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceServerScopeType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceServerScopeType.java index 05dbb40fb0..b7b3517537 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceServerScopeType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceServerScopeType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceServerType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceServerType.java index 0bf7db1953..be98084ff0 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceServerType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ResourceServerType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RespondToAuthChallengeRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RespondToAuthChallengeRequest.java index 37f70c5acb..304644bff0 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RespondToAuthChallengeRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RespondToAuthChallengeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -25,6 +25,16 @@ * *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number before * you can send SMS messages to US phone numbers. If you use SMS text messages @@ -42,7 +52,7 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
@@ -170,6 +180,14 @@ public class RespondToAuthChallengeRequest extends AmazonWebServiceRequest imple * * * + *
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The challenge responses. These are inputs corresponding to the @@ -709,6 +735,14 @@ public RespondToAuthChallengeRequest withSession(String session) { *
* * + *
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The challenge responses. These are inputs corresponding to the
@@ -877,6 +919,15 @@ public java.util.Map
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* Returns a reference to this object so that method calls can be chained
* together.
*
@@ -1048,6 +1107,15 @@ public void setChallengeResponses(java.util.Map
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
+ * For more information about SECRET_HASH
, see Computing secret hash values. For information about
+ * DEVICE_KEY
, see Working with user devices in your user pool.
+ *
* The method adds a new key-value pair into ChallengeResponses parameter, * and returns a reference to this object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RespondToAuthChallengeResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RespondToAuthChallengeResult.java index 91d9ff5a88..1f0d058b82 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RespondToAuthChallengeResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RespondToAuthChallengeResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RevokeTokenRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RevokeTokenRequest.java index f041bd4bc2..5c89db2496 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RevokeTokenRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RevokeTokenRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -26,6 +26,17 @@ * token to access Amazon Cognito user APIs, or to authorize access to your * resource server. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *- * The last modified date. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ private java.util.Date lastModifiedDate; @@ -353,11 +355,15 @@ public RiskConfigurationType withRiskExceptionConfiguration( /** *- * The last modified date. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @return- * The last modified date. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public java.util.Date getLastModifiedDate() { @@ -366,11 +372,15 @@ public java.util.Date getLastModifiedDate() { /** *- * The last modified date. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @param lastModifiedDate- * The last modified date. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public void setLastModifiedDate(java.util.Date lastModifiedDate) { @@ -379,14 +389,18 @@ public void setLastModifiedDate(java.util.Date lastModifiedDate) { /** *- * The last modified date. + * The date and time, in ISO + * 8601 format, when the item was modified. *
** Returns a reference to this object so that method calls can be chained * together. * * @param lastModifiedDate
- * The last modified date. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskDecisionType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskDecisionType.java index 66e67cab5b..2cfc76c275 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskDecisionType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskDecisionType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskExceptionConfigurationType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskExceptionConfigurationType.java index e1ecfb7ea3..110a789c96 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskExceptionConfigurationType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskExceptionConfigurationType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskLevelType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskLevelType.java index fff645f091..7cc90f7d1b 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskLevelType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/RiskLevelType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SMSMfaSettingsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SMSMfaSettingsType.java index 5c7bb6da14..e2c826c466 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SMSMfaSettingsType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SMSMfaSettingsType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SchemaAttributeType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SchemaAttributeType.java index 61f454b7fc..0b3fa451a5 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SchemaAttributeType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SchemaAttributeType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,13 +19,25 @@ /** *
- * Contains information about the schema attribute.
+ * A list of the user attributes and their properties in your user pool. The
+ * attribute schema contains standard attributes, custom attributes with a
+ * custom:
prefix, and developer attributes with a
+ * dev:
prefix. For more information, see User pool attributes.
+ *
+ * Developer-only attributes are a legacy feature of user pools, are read-only + * to all app clients. You can create and update developer-only attributes only + * with IAM-authenticated API operations. Use app client read/write permissions + * instead. *
*/ public class SchemaAttributeType implements Serializable { /** *
- * A schema attribute of the name type.
+ * The name of your user pool attribute, for example username
+ * or custom:costcenter
.
*
* Constraints:
@@ -36,7 +48,7 @@ public class SchemaAttributeType implements Serializable {
/**
*
- * The attribute data type. + * The data format of the values for your attribute. *
*
* Constraints:
@@ -70,11 +82,11 @@ public class SchemaAttributeType implements Serializable {
* Specifies whether the value of the attribute can be changed.
*
- * For any user pool attribute that is mapped to an IdP attribute, you must
- * set this parameter to true
. Amazon Cognito updates mapped
- * attributes when users sign in to your application through an IdP. If an
- * attribute is immutable, Amazon Cognito throws an error when it attempts
- * to update the attribute. For more information, see true. Amazon Cognito
+ * updates mapped attributes when users sign in to your application through
+ * an IdP. If an attribute is immutable, Amazon Cognito throws an error when
+ * it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
*
- * A schema attribute of the name type.
+ * The name of your user pool attribute, for example username
+ * or custom:costcenter
.
*
* Constraints:
@@ -114,7 +127,8 @@ public class SchemaAttributeType implements Serializable {
* Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
*
* @return
- * A schema attribute of the name type.
+ * The name of your user pool attribute, for example
+ * username
or custom:costcenter
.
*
- * A schema attribute of the name type.
+ * The name of your user pool attribute, for example username
+ * or custom:costcenter
.
*
* Constraints:
@@ -131,7 +146,8 @@ public String getName() {
* Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
*
* @param name
- * A schema attribute of the name type.
+ * The name of your user pool attribute, for example
+ * username
or custom:costcenter
.
*
- * A schema attribute of the name type.
+ * The name of your user pool attribute, for example username
+ * or custom:costcenter
.
*
* Returns a reference to this object so that method calls can be chained
@@ -151,7 +168,8 @@ public void setName(String name) {
* Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
*
* @param name
- * A schema attribute of the name type.
+ * The name of your user pool attribute, for example
+ * username
or custom:costcenter
.
*
- * The attribute data type. + * The data format of the values for your attribute. *
*
* Constraints:
* Allowed Values: String, Number, DateTime, Boolean
*
* @return
- * The attribute data type. + * The data format of the values for your attribute. *
* @see AttributeDataType */ @@ -180,14 +198,14 @@ public String getAttributeDataType() { /** *- * The attribute data type. + * The data format of the values for your attribute. *
*
* Constraints:
* Allowed Values: String, Number, DateTime, Boolean
*
* @param attributeDataType
- * The attribute data type. + * The data format of the values for your attribute. *
* @see AttributeDataType */ @@ -197,7 +215,7 @@ public void setAttributeDataType(String attributeDataType) { /** *- * The attribute data type. + * The data format of the values for your attribute. *
** Returns a reference to this object so that method calls can be chained @@ -207,7 +225,7 @@ public void setAttributeDataType(String attributeDataType) { * Allowed Values: String, Number, DateTime, Boolean * * @param attributeDataType
- * The attribute data type. + * The data format of the values for your attribute. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -220,14 +238,14 @@ public SchemaAttributeType withAttributeDataType(String attributeDataType) { /** *- * The attribute data type. + * The data format of the values for your attribute. *
*
* Constraints:
* Allowed Values: String, Number, DateTime, Boolean
*
* @param attributeDataType
- * The attribute data type. + * The data format of the values for your attribute. *
* @see AttributeDataType */ @@ -237,7 +255,7 @@ public void setAttributeDataType(AttributeDataType attributeDataType) { /** *- * The attribute data type. + * The data format of the values for your attribute. *
** Returns a reference to this object so that method calls can be chained @@ -247,7 +265,7 @@ public void setAttributeDataType(AttributeDataType attributeDataType) { * Allowed Values: String, Number, DateTime, Boolean * * @param attributeDataType
- * The attribute data type. + * The data format of the values for your attribute. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -433,11 +451,11 @@ public SchemaAttributeType withDeveloperOnlyAttribute(Boolean developerOnlyAttri * Specifies whether the value of the attribute can be changed. * *
- * For any user pool attribute that is mapped to an IdP attribute, you must
- * set this parameter to true
. Amazon Cognito updates mapped
- * attributes when users sign in to your application through an IdP. If an
- * attribute is immutable, Amazon Cognito throws an error when it attempts
- * to update the attribute. For more information, see true. Amazon Cognito
+ * updates mapped attributes when users sign in to your application through
+ * an IdP. If an attribute is immutable, Amazon Cognito throws an error when
+ * it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
*
- * For any user pool attribute that is mapped to an IdP attribute,
- * you must set this parameter to true
. Amazon Cognito
- * updates mapped attributes when users sign in to your application
- * through an IdP. If an attribute is immutable, Amazon Cognito
- * throws an error when it attempts to update the attribute. For
- * more information, see true.
+ * Amazon Cognito updates mapped attributes when users sign in to
+ * your application through an IdP. If an attribute is immutable,
+ * Amazon Cognito throws an error when it attempts to update the
+ * attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User
* Pool.
@@ -466,11 +484,11 @@ public Boolean isMutable() {
* Specifies whether the value of the attribute can be changed.
*
- * For any user pool attribute that is mapped to an IdP attribute, you must
- * set this parameter to true
. Amazon Cognito updates mapped
- * attributes when users sign in to your application through an IdP. If an
- * attribute is immutable, Amazon Cognito throws an error when it attempts
- * to update the attribute. For more information, see true. Amazon Cognito
+ * updates mapped attributes when users sign in to your application through
+ * an IdP. If an attribute is immutable, Amazon Cognito throws an error when
+ * it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
*
- * For any user pool attribute that is mapped to an IdP attribute,
- * you must set this parameter to true
. Amazon Cognito
- * updates mapped attributes when users sign in to your application
- * through an IdP. If an attribute is immutable, Amazon Cognito
- * throws an error when it attempts to update the attribute. For
- * more information, see true.
+ * Amazon Cognito updates mapped attributes when users sign in to
+ * your application through an IdP. If an attribute is immutable,
+ * Amazon Cognito throws an error when it attempts to update the
+ * attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User
* Pool.
@@ -499,11 +517,11 @@ public Boolean getMutable() {
* Specifies whether the value of the attribute can be changed.
*
- * For any user pool attribute that is mapped to an IdP attribute, you must
- * set this parameter to true
. Amazon Cognito updates mapped
- * attributes when users sign in to your application through an IdP. If an
- * attribute is immutable, Amazon Cognito throws an error when it attempts
- * to update the attribute. For more information, see true. Amazon Cognito
+ * updates mapped attributes when users sign in to your application through
+ * an IdP. If an attribute is immutable, Amazon Cognito throws an error when
+ * it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
*
- * For any user pool attribute that is mapped to an IdP
- * attribute, you must set this parameter to true
.
- * Amazon Cognito updates mapped attributes when users sign in to
- * your application through an IdP. If an attribute is immutable,
- * Amazon Cognito throws an error when it attempts to update the
- * attribute. For more information, see true. Amazon Cognito updates mapped attributes
+ * when users sign in to your application through an IdP. If an
+ * attribute is immutable, Amazon Cognito throws an error when it
+ * attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User
* Pool.
@@ -532,11 +551,11 @@ public void setMutable(Boolean mutable) {
* Specifies whether the value of the attribute can be changed.
*
- * For any user pool attribute that is mapped to an IdP attribute, you must
- * set this parameter to true
. Amazon Cognito updates mapped
- * attributes when users sign in to your application through an IdP. If an
- * attribute is immutable, Amazon Cognito throws an error when it attempts
- * to update the attribute. For more information, see true. Amazon Cognito
+ * updates mapped attributes when users sign in to your application through
+ * an IdP. If an attribute is immutable, Amazon Cognito throws an error when
+ * it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
*
- * For any user pool attribute that is mapped to an IdP
- * attribute, you must set this parameter to true
.
- * Amazon Cognito updates mapped attributes when users sign in to
- * your application through an IdP. If an attribute is immutable,
- * Amazon Cognito throws an error when it attempts to update the
- * attribute. For more information, see true. Amazon Cognito updates mapped attributes
+ * when users sign in to your application through an IdP. If an
+ * attribute is immutable, Amazon Cognito throws an error when it
+ * attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User
* Pool.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ScopeDoesNotExistException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ScopeDoesNotExistException.java
index 811c70206f..b038849b70 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ScopeDoesNotExistException.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/ScopeDoesNotExistException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetLogDeliveryConfigurationRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetLogDeliveryConfigurationRequest.java
new file mode 100644
index 0000000000..6ef767c888
--- /dev/null
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetLogDeliveryConfigurationRequest.java
@@ -0,0 +1,251 @@
+/*
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+package com.amazonaws.services.cognitoidentityprovider.model;
+
+import java.io.Serializable;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * Sets up or modifies the detailed activity logging configuration of a user + * pool. + *
+ */ +public class SetLogDeliveryConfigurationRequest extends AmazonWebServiceRequest implements + Serializable { + /** + *+ * The ID of the user pool where you want to configure detailed activity + * logging . + *
+ *
+ * Constraints:
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ */
+ private String userPoolId;
+
+ /**
+ *
+ * A collection of all of the detailed activity logging configurations for a + * user pool. + *
+ */ + private java.util.List+ * The ID of the user pool where you want to configure detailed activity + * logging . + *
+ *
+ * Constraints:
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ *
+ * @return
+ * The ID of the user pool where you want to configure detailed + * activity logging . + *
+ */ + public String getUserPoolId() { + return userPoolId; + } + + /** + *+ * The ID of the user pool where you want to configure detailed activity + * logging . + *
+ *
+ * Constraints:
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ *
+ * @param userPoolId
+ * The ID of the user pool where you want to configure detailed + * activity logging . + *
+ */ + public void setUserPoolId(String userPoolId) { + this.userPoolId = userPoolId; + } + + /** + *+ * The ID of the user pool where you want to configure detailed activity + * logging . + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Length: 1 - 55
+ * Pattern: [\w-]+_[0-9a-zA-Z]+
+ *
+ * @param userPoolId
+ * The ID of the user pool where you want to configure detailed + * activity logging . + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public SetLogDeliveryConfigurationRequest withUserPoolId(String userPoolId) { + this.userPoolId = userPoolId; + return this; + } + + /** + *+ * A collection of all of the detailed activity logging configurations for a + * user pool. + *
+ * + * @return+ * A collection of all of the detailed activity logging + * configurations for a user pool. + *
+ */ + public java.util.List+ * A collection of all of the detailed activity logging configurations for a + * user pool. + *
+ * + * @param logConfigurations+ * A collection of all of the detailed activity logging + * configurations for a user pool. + *
+ */ + public void setLogConfigurations(java.util.Collection+ * A collection of all of the detailed activity logging configurations for a + * user pool. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param logConfigurations
+ * A collection of all of the detailed activity logging + * configurations for a user pool. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public SetLogDeliveryConfigurationRequest withLogConfigurations( + LogConfigurationType... logConfigurations) { + if (getLogConfigurations() == null) { + this.logConfigurations = new java.util.ArrayList+ * A collection of all of the detailed activity logging configurations for a + * user pool. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param logConfigurations
+ * A collection of all of the detailed activity logging + * configurations for a user pool. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public SetLogDeliveryConfigurationRequest withLogConfigurations( + java.util.Collection+ * The detailed activity logging configuration that you applied to the + * requested user pool. + *
+ */ + private LogDeliveryConfigurationType logDeliveryConfiguration; + + /** + *+ * The detailed activity logging configuration that you applied to the + * requested user pool. + *
+ * + * @return+ * The detailed activity logging configuration that you applied to + * the requested user pool. + *
+ */ + public LogDeliveryConfigurationType getLogDeliveryConfiguration() { + return logDeliveryConfiguration; + } + + /** + *+ * The detailed activity logging configuration that you applied to the + * requested user pool. + *
+ * + * @param logDeliveryConfiguration+ * The detailed activity logging configuration that you applied + * to the requested user pool. + *
+ */ + public void setLogDeliveryConfiguration(LogDeliveryConfigurationType logDeliveryConfiguration) { + this.logDeliveryConfiguration = logDeliveryConfiguration; + } + + /** + *+ * The detailed activity logging configuration that you applied to the + * requested user pool. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param logDeliveryConfiguration
+ * The detailed activity logging configuration that you applied + * to the requested user pool. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public SetLogDeliveryConfigurationResult withLogDeliveryConfiguration( + LogDeliveryConfigurationType logDeliveryConfiguration) { + this.logDeliveryConfiguration = logDeliveryConfiguration; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getLogDeliveryConfiguration() != null) + sb.append("LogDeliveryConfiguration: " + getLogDeliveryConfiguration()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime + * hashCode + + ((getLogDeliveryConfiguration() == null) ? 0 : getLogDeliveryConfiguration() + .hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof SetLogDeliveryConfigurationResult == false) + return false; + SetLogDeliveryConfigurationResult other = (SetLogDeliveryConfigurationResult) obj; + + if (other.getLogDeliveryConfiguration() == null + ^ this.getLogDeliveryConfiguration() == null) + return false; + if (other.getLogDeliveryConfiguration() != null + && other.getLogDeliveryConfiguration().equals(this.getLogDeliveryConfiguration()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetRiskConfigurationRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetRiskConfigurationRequest.java index 58112dc754..a96fe2a5f9 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetRiskConfigurationRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetRiskConfigurationRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetRiskConfigurationResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetRiskConfigurationResult.java index 90151c7568..704a0c4de7 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetRiskConfigurationResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetRiskConfigurationResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUICustomizationRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUICustomizationRequest.java index 5fb2bde860..ffa47e898d 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUICustomizationRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUICustomizationRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -67,6 +67,9 @@ public class SetUICustomizationRequest extends AmazonWebServiceRequest implement ** The CSS values in the UI customization. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String cSS;
@@ -74,6 +77,9 @@ public class SetUICustomizationRequest extends AmazonWebServiceRequest implement
*
* The uploaded logo image for the UI customization. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private java.nio.ByteBuffer imageFile;
@@ -195,6 +201,9 @@ public SetUICustomizationRequest withClientId(String clientId) {
*
* The CSS values in the UI customization. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The CSS values in the UI customization. @@ -208,6 +217,9 @@ public String getCSS() { *
* The CSS values in the UI customization. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param cSS
* The CSS values in the UI customization. @@ -224,6 +236,9 @@ public void setCSS(String cSS) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param cSS
* The CSS values in the UI customization. @@ -240,6 +255,9 @@ public SetUICustomizationRequest withCSS(String cSS) { *
* The uploaded logo image for the UI customization. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The uploaded logo image for the UI customization. @@ -253,6 +271,9 @@ public java.nio.ByteBuffer getImageFile() { *
* The uploaded logo image for the UI customization. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param imageFile
* The uploaded logo image for the UI customization. @@ -269,6 +290,9 @@ public void setImageFile(java.nio.ByteBuffer imageFile) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param imageFile
* The uploaded logo image for the UI customization. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUICustomizationResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUICustomizationResult.java index 8165bf2510..6252548f2b 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUICustomizationResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUICustomizationResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUserMFAPreferenceRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUserMFAPreferenceRequest.java index 305b196fe9..5bda3cfd66 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUserMFAPreferenceRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SetUserMFAPreferenceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -32,6 +32,17 @@ * based on the assessed risk level of sign-in attempts, deactivate MFA for * users and turn on Adaptive Authentication for the user pool. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number before * you can send SMS messages to US phone numbers. If you use SMS text messages @@ -43,7 +53,7 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SignUpResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SignUpResult.java index abd835a31b..37bb14fe29 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SignUpResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SignUpResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -44,6 +44,9 @@ public class SignUpResult implements Serializable { * The UUID of the authenticated user. This isn't the same as *username
.
*
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String userSub;
@@ -169,6 +172,9 @@ public SignUpResult withCodeDeliveryDetails(CodeDeliveryDetailsType codeDelivery
* The UUID of the authenticated user. This isn't the same as
* username
.
*
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The UUID of the authenticated user. This isn't the same as
@@ -184,6 +190,9 @@ public String getUserSub() {
* The UUID of the authenticated user. This isn't the same as
* username
.
*
+ * Constraints:
+ * Length: 0 - 131072
*
* @param userSub
* The UUID of the authenticated user. This isn't the same as @@ -202,6 +211,9 @@ public void setUserSub(String userSub) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param userSub
* The UUID of the authenticated user. This isn't the same as diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SmsConfigurationType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SmsConfigurationType.java index 62b7584cd2..5c2d5c4db0 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SmsConfigurationType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SmsConfigurationType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -65,6 +65,9 @@ public class SmsConfigurationType implements Serializable { * >How to use an external ID when granting access to your Amazon Web * Services resources to a third party *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String externalId;
@@ -197,6 +200,9 @@ public SmsConfigurationType withSnsCallerArn(String snsCallerArn) {
* >How to use an external ID when granting access to your Amazon Web
* Services resources to a third party
*
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The external ID provides additional security for your IAM role. @@ -243,6 +249,9 @@ public String getExternalId() { * >How to use an external ID when granting access to your Amazon Web * Services resources to a third party *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param externalId
* The external ID provides additional security for your IAM @@ -293,6 +302,9 @@ public void setExternalId(String externalId) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param externalId
* The external ID provides additional security for your IAM diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SmsMfaConfigType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SmsMfaConfigType.java index fb260c7cc2..8f16698e6d 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SmsMfaConfigType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SmsMfaConfigType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMFANotFoundException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMFANotFoundException.java index 0a87aa3286..1cbf0a91bc 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMFANotFoundException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMFANotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMfaConfigType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMfaConfigType.java index f1bd7a24e7..1f4ab690a0 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMfaConfigType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMfaConfigType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMfaSettingsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMfaSettingsType.java index 8f888c518e..1ca193bb7b 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMfaSettingsType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/SoftwareTokenMfaSettingsType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StartUserImportJobRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StartUserImportJobRequest.java index 4eeeb0011a..dfbfc25867 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StartUserImportJobRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StartUserImportJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StartUserImportJobResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StartUserImportJobResult.java index 2361c73128..b46c604530 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StartUserImportJobResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StartUserImportJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StatusType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StatusType.java index a71a9836a0..81c3efa30d 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StatusType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StatusType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StopUserImportJobRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StopUserImportJobRequest.java index 4d12564492..2f0b913b28 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StopUserImportJobRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StopUserImportJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StopUserImportJobResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StopUserImportJobResult.java index 0358666c10..7556bd17b9 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StopUserImportJobResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StopUserImportJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StringAttributeConstraintsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StringAttributeConstraintsType.java index bb96c4681d..499428ad52 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StringAttributeConstraintsType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/StringAttributeConstraintsType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -27,6 +27,9 @@ public class StringAttributeConstraintsType implements Serializable { *
* The minimum length. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String minLength;
@@ -34,6 +37,9 @@ public class StringAttributeConstraintsType implements Serializable {
*
* The maximum length. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String maxLength;
@@ -41,6 +47,9 @@ public class StringAttributeConstraintsType implements Serializable {
*
* The minimum length. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The minimum length. @@ -54,6 +63,9 @@ public String getMinLength() { *
* The minimum length. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param minLength
* The minimum length. @@ -70,6 +82,9 @@ public void setMinLength(String minLength) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param minLength
* The minimum length. @@ -86,6 +101,9 @@ public StringAttributeConstraintsType withMinLength(String minLength) { *
* The maximum length. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The maximum length. @@ -99,6 +117,9 @@ public String getMaxLength() { *
* The maximum length. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param maxLength
* The maximum length. @@ -115,6 +136,9 @@ public void setMaxLength(String maxLength) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param maxLength
* The maximum length.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TagResourceRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TagResourceRequest.java
index 48775e7489..2bb2deae87 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TagResourceRequest.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TagResourceRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TagResourceResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TagResourceResult.java
index 9ba01724ae..440fc0135f 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TagResourceResult.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TagResourceResult.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TimeUnitsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TimeUnitsType.java
index 607b20f11e..378d73288a 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TimeUnitsType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TimeUnitsType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TokenValidityUnitsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TokenValidityUnitsType.java
index 267cf039c2..2bc2871356 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TokenValidityUnitsType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/TokenValidityUnitsType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -30,6 +30,8 @@ public class TokenValidityUnitsType implements Serializable {
* hours
, or days
for the value that you set in
* the AccessTokenValidity
parameter. The default
* AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five minutes to
+ * one day.
*
* Constraints:
@@ -43,6 +45,8 @@ public class TokenValidityUnitsType implements Serializable {
* hours
, or days
for the value that you set in
* the IdTokenValidity
parameter. The default
* IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five minutes to one
+ * day.
*
* Constraints:
@@ -56,6 +60,8 @@ public class TokenValidityUnitsType implements Serializable {
* hours
, or days
for the value that you set in
* the RefreshTokenValidity
parameter. The default
* RefreshTokenValidity
time unit is days.
+ * RefreshTokenValidity
duration can range from 60 minutes to
+ * 10 years.
*
* Constraints:
@@ -69,6 +75,8 @@ public class TokenValidityUnitsType implements Serializable {
* hours
, or days
for the value that you set in
* the AccessTokenValidity
parameter. The default
* AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five minutes to
+ * one day.
*
* Constraints:
@@ -79,6 +87,8 @@ public class TokenValidityUnitsType implements Serializable {
* hours
, or days
for the value that you
* set in the AccessTokenValidity
parameter. The
* default AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five
+ * minutes to one day.
*
hours
, or days
for the value that you set in
* the AccessTokenValidity
parameter. The default
* AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five minutes to
+ * one day.
*
*
* Constraints:
@@ -102,6 +114,8 @@ public String getAccessToken() {
* hours
, or days
for the value that
* you set in the AccessTokenValidity
parameter. The
* default AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five
+ * minutes to one day.
*
hours
, or days
for the value that you set in
* the AccessTokenValidity
parameter. The default
* AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five minutes to
+ * one day.
*
*
* Returns a reference to this object so that method calls can be chained
@@ -128,6 +144,8 @@ public void setAccessToken(String accessToken) {
* hours
, or days
for the value that
* you set in the AccessTokenValidity
parameter. The
* default AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five
+ * minutes to one day.
*
hours
, or days
for the value that you set in
* the AccessTokenValidity
parameter. The default
* AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five minutes to
+ * one day.
*
*
* Constraints:
@@ -154,6 +174,8 @@ public TokenValidityUnitsType withAccessToken(String accessToken) {
* hours
, or days
for the value that
* you set in the AccessTokenValidity
parameter. The
* default AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five
+ * minutes to one day.
*
hours
, or days
for the value that you set in
* the AccessTokenValidity
parameter. The default
* AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five minutes to
+ * one day.
*
*
* Returns a reference to this object so that method calls can be chained
@@ -180,6 +204,8 @@ public void setAccessToken(TimeUnitsType accessToken) {
* hours
, or days
for the value that
* you set in the AccessTokenValidity
parameter. The
* default AccessTokenValidity
time unit is hours.
+ * AccessTokenValidity
duration can range from five
+ * minutes to one day.
*
hours
, or days
for the value that you set in
* the IdTokenValidity
parameter. The default
* IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five minutes to one
+ * day.
*
*
* Constraints:
@@ -206,6 +234,8 @@ public TokenValidityUnitsType withAccessToken(TimeUnitsType accessToken) {
* hours
, or days
for the value that you
* set in the IdTokenValidity
parameter. The default
* IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five minutes
+ * to one day.
*
hours
, or days
for the value that you set in
* the IdTokenValidity
parameter. The default
* IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five minutes to one
+ * day.
*
*
* Constraints:
@@ -229,6 +261,8 @@ public String getIdToken() {
* hours
, or days
for the value that
* you set in the IdTokenValidity
parameter. The
* default IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five
+ * minutes to one day.
*
hours
, or days
for the value that you set in
* the IdTokenValidity
parameter. The default
* IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five minutes to one
+ * day.
*
*
* Returns a reference to this object so that method calls can be chained
@@ -255,6 +291,8 @@ public void setIdToken(String idToken) {
* hours
, or days
for the value that
* you set in the IdTokenValidity
parameter. The
* default IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five
+ * minutes to one day.
*
hours
, or days
for the value that you set in
* the IdTokenValidity
parameter. The default
* IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five minutes to one
+ * day.
*
*
* Constraints:
@@ -281,6 +321,8 @@ public TokenValidityUnitsType withIdToken(String idToken) {
* hours
, or days
for the value that
* you set in the IdTokenValidity
parameter. The
* default IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five
+ * minutes to one day.
*
hours
, or days
for the value that you set in
* the IdTokenValidity
parameter. The default
* IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five minutes to one
+ * day.
*
*
* Returns a reference to this object so that method calls can be chained
@@ -307,6 +351,8 @@ public void setIdToken(TimeUnitsType idToken) {
* hours
, or days
for the value that
* you set in the IdTokenValidity
parameter. The
* default IdTokenValidity
time unit is hours.
+ * IdTokenValidity
duration can range from five
+ * minutes to one day.
*
hours
, or days
for the value that you set in
* the RefreshTokenValidity
parameter. The default
* RefreshTokenValidity
time unit is days.
+ * RefreshTokenValidity
duration can range from 60 minutes to
+ * 10 years.
*
*
* Constraints:
@@ -333,6 +381,8 @@ public TokenValidityUnitsType withIdToken(TimeUnitsType idToken) {
* hours
, or days
for the value that you
* set in the RefreshTokenValidity
parameter. The
* default RefreshTokenValidity
time unit is days.
+ * RefreshTokenValidity
duration can range from 60
+ * minutes to 10 years.
*
hours
, or days
for the value that you set in
* the RefreshTokenValidity
parameter. The default
* RefreshTokenValidity
time unit is days.
+ * RefreshTokenValidity
duration can range from 60 minutes to
+ * 10 years.
*
*
* Constraints:
@@ -356,7 +408,8 @@ public String getRefreshToken() {
* hours
, or days
for the value that
* you set in the RefreshTokenValidity
parameter.
* The default RefreshTokenValidity
time unit is
- * days.
+ * days. RefreshTokenValidity
duration can range
+ * from 60 minutes to 10 years.
*
hours
, or days
for the value that you set in
* the RefreshTokenValidity
parameter. The default
* RefreshTokenValidity
time unit is days.
+ * RefreshTokenValidity
duration can range from 60 minutes to
+ * 10 years.
*
*
* Returns a reference to this object so that method calls can be chained
@@ -383,7 +438,8 @@ public void setRefreshToken(String refreshToken) {
* hours
, or days
for the value that
* you set in the RefreshTokenValidity
parameter.
* The default RefreshTokenValidity
time unit is
- * days.
+ * days. RefreshTokenValidity
duration can range
+ * from 60 minutes to 10 years.
*
hours
, or days
for the value that you set in
* the RefreshTokenValidity
parameter. The default
* RefreshTokenValidity
time unit is days.
+ * RefreshTokenValidity
duration can range from 60 minutes to
+ * 10 years.
*
*
* Constraints:
@@ -410,7 +468,8 @@ public TokenValidityUnitsType withRefreshToken(String refreshToken) {
* hours
, or days
for the value that
* you set in the RefreshTokenValidity
parameter.
* The default RefreshTokenValidity
time unit is
- * days.
+ * days. RefreshTokenValidity
duration can range
+ * from 60 minutes to 10 years.
*
hours
, or days
for the value that you set in
* the RefreshTokenValidity
parameter. The default
* RefreshTokenValidity
time unit is days.
+ * RefreshTokenValidity
duration can range from 60 minutes to
+ * 10 years.
*
*
* Returns a reference to this object so that method calls can be chained
@@ -437,7 +498,8 @@ public void setRefreshToken(TimeUnitsType refreshToken) {
* hours
, or days
for the value that
* you set in the RefreshTokenValidity
parameter.
* The default RefreshTokenValidity
time unit is
- * days.
+ * days. RefreshTokenValidity
duration can range
+ * from 60 minutes to 10 years.
*
* The CSS values in the UI customization. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String cSS;
@@ -69,14 +72,18 @@ public class UICustomizationType implements Serializable {
/**
*
- * The last-modified date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ private java.util.Date lastModifiedDate; /** *- * The creation date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ private java.util.Date creationDate; @@ -244,6 +251,9 @@ public UICustomizationType withImageUrl(String imageUrl) { ** The CSS values in the UI customization. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The CSS values in the UI customization. @@ -257,6 +267,9 @@ public String getCSS() { *
* The CSS values in the UI customization. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param cSS
* The CSS values in the UI customization. @@ -273,6 +286,9 @@ public void setCSS(String cSS) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param cSS
* The CSS values in the UI customization. @@ -332,11 +348,15 @@ public UICustomizationType withCSSVersion(String cSSVersion) { /** *
- * The last-modified date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @return- * The last-modified date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public java.util.Date getLastModifiedDate() { @@ -345,11 +365,15 @@ public java.util.Date getLastModifiedDate() { /** *- * The last-modified date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @param lastModifiedDate- * The last-modified date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public void setLastModifiedDate(java.util.Date lastModifiedDate) { @@ -358,14 +382,18 @@ public void setLastModifiedDate(java.util.Date lastModifiedDate) { /** *- * The last-modified date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was modified. *
** Returns a reference to this object so that method calls can be chained * together. * * @param lastModifiedDate
- * The last-modified date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -377,11 +405,15 @@ public UICustomizationType withLastModifiedDate(java.util.Date lastModifiedDate) /** *- * The creation date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @return- * The creation date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public java.util.Date getCreationDate() { @@ -390,11 +422,15 @@ public java.util.Date getCreationDate() { /** *- * The creation date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @param creationDate- * The creation date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public void setCreationDate(java.util.Date creationDate) { @@ -403,14 +439,18 @@ public void setCreationDate(java.util.Date creationDate) { /** *- * The creation date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was created. *
** Returns a reference to this object so that method calls can be chained * together. * * @param creationDate
- * The creation date for the UI customization. + * The date and time, in ISO + * 8601 format, when the item was created. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnauthorizedException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnauthorizedException.java index 7598ef9e32..93dbcd7446 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnauthorizedException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnauthorizedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnexpectedLambdaException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnexpectedLambdaException.java index cc1ddd8f95..d7389fa807 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnexpectedLambdaException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnexpectedLambdaException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedIdentityProviderException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedIdentityProviderException.java index 9e0d734e9d..dc5f7ab620 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedIdentityProviderException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedIdentityProviderException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedOperationException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedOperationException.java index 2a04b78458..8bbb9a471c 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedOperationException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedOperationException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedTokenTypeException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedTokenTypeException.java index 9a166f0608..056edf8903 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedTokenTypeException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedTokenTypeException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedUserStateException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedUserStateException.java index 50ebf9921e..a0fa9311e0 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedUserStateException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UnsupportedUserStateException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UntagResourceRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UntagResourceRequest.java index bffa320b75..38104e68f8 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UntagResourceRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UntagResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UntagResourceResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UntagResourceResult.java index d312b53156..4a769edc00 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UntagResourceResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UntagResourceResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateAuthEventFeedbackRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateAuthEventFeedbackRequest.java index 65e0dff51d..95e4efdc5a 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateAuthEventFeedbackRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateAuthEventFeedbackRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -25,6 +25,17 @@ * valid user or not. This feedback is used for improving the risk evaluation * decision for the user pool as part of Amazon Cognito advanced security. * + *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ *
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
@@ -307,14 +324,27 @@ public UpdateAuthEventFeedbackRequest withFeedbackToken(String feedbackToken) {
/**
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
* Allowed Values: Valid, Invalid
*
* @return
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell
+ * Amazon Cognito that you trust a user session where Amazon Cognito
+ * has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or you
+ * don't believe that Amazon Cognito evaluated a high-enough risk
+ * level.
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
* Allowed Values: Valid, Invalid
*
* @param feedbackValue
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Returns a reference to this object so that method calls can be chained @@ -351,7 +400,14 @@ public void setFeedbackValue(String feedbackValue) { * Allowed Values: Valid, Invalid * * @param feedbackValue
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Constraints:
* Allowed Values: Valid, Invalid
*
* @param feedbackValue
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you tell Amazon
+ * Cognito that you trust a user session where Amazon Cognito has evaluated
+ * some level of risk. When you provide a FeedbackValue
value
+ * of invalid
, you tell Amazon Cognito that you don't trust a
+ * user session, or you don't believe that Amazon Cognito evaluated a
+ * high-enough risk level.
*
* Returns a reference to this object so that method calls can be chained @@ -391,7 +466,14 @@ public void setFeedbackValue(FeedbackValueType feedbackValue) { * Allowed Values: Valid, Invalid * * @param feedbackValue
- * The authentication event feedback value.
+ * The authentication event feedback value. When you provide a
+ * FeedbackValue
value of valid
, you
+ * tell Amazon Cognito that you trust a user session where Amazon
+ * Cognito has evaluated some level of risk. When you provide a
+ * FeedbackValue
value of invalid
, you
+ * tell Amazon Cognito that you don't trust a user session, or
+ * you don't believe that Amazon Cognito evaluated a high-enough
+ * risk level.
*
* Updates the device status. *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** Updates the specified group with the specified attributes. *
+ *- * Calling this action requires developer credentials. + * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ ** Updates IdP information for a user pool. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies + * in requests for this API operation. For this operation, you can't use IAM + * credentials to authorize requests, and you can't grant IAM permissions in + * policies. For more information about authorization models in Amazon Cognito, + * see Using the Amazon Cognito native and OIDC APIs. + *
+ ** This action might generate an SMS text message. Starting June 1, 2021, US * telecom carriers require you to register an origination phone number before * you can send SMS messages to US phone numbers. If you use SMS text messages @@ -42,7 +52,7 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserAttributesResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserAttributesResult.java index 25170ce292..a8bd5a2a69 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserAttributesResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserAttributesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserPoolClientRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserPoolClientRequest.java index b8a682e3c9..5876dd8d6f 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserPoolClientRequest.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserPoolClientRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -28,8 +28,8 @@ * *- * If you don't provide a value for an attribute, it will be set to the default - * value. + * If you don't provide a value for an attribute, Amazon Cognito sets it to its + * default value. *
*@@ -38,6 +38,33 @@ * "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html" * >RevokeToken. *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -160,9 +187,9 @@ public class UpdateUserPoolClientRequest extends AmazonWebServiceRequest impleme /** *
- * The units in which the validity times are represented. The default unit - * for RefreshToken is days, and the default for ID and access tokens is - * hours. + * The time units you use when you set the duration of ID, access, and + * refresh tokens. The default unit for RefreshToken is days, and the + * default for ID and access tokens is hours. *
*/ private TokenValidityUnitsType tokenValidityUnits; @@ -390,8 +417,43 @@ public class UpdateUserPoolClientRequest extends AmazonWebServiceRequest impleme /** *
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -1043,8 +1105,8 @@ public UpdateUserPoolClientRequest withAccessTokenValidity(Integer accessTokenVa * their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in an
- * API request is hours. Valid range is displayed below in
+ * The default time unit for IdTokenValidity
in an API
+ * request is hours. Valid range is displayed below in
* seconds.
*
@@ -1070,8 +1132,8 @@ public Integer getIdTokenValidity() { * authenticate their session with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -1096,9 +1158,9 @@ public Integer getIdTokenValidity() { * with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in
- * an API request is hours. Valid range is displayed below
- * in seconds.
+ * The default time unit for IdTokenValidity
in an
+ * API request is hours. Valid range is displayed below in
+ * seconds.
*
* If you don't specify otherwise in the configuration of your @@ -1123,8 +1185,8 @@ public void setIdTokenValidity(Integer idTokenValidity) { * authenticate their session with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -1152,9 +1214,9 @@ public void setIdTokenValidity(Integer idTokenValidity) { * with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in
- * an API request is hours. Valid range is displayed below
- * in seconds.
+ * The default time unit for IdTokenValidity
in an
+ * API request is hours. Valid range is displayed below in
+ * seconds.
*
* If you don't specify otherwise in the configuration of your @@ -1170,15 +1232,15 @@ public UpdateUserPoolClientRequest withIdTokenValidity(Integer idTokenValidity) /** *
- * The units in which the validity times are represented. The default unit - * for RefreshToken is days, and the default for ID and access tokens is - * hours. + * The time units you use when you set the duration of ID, access, and + * refresh tokens. The default unit for RefreshToken is days, and the + * default for ID and access tokens is hours. *
* * @return- * The units in which the validity times are represented. The - * default unit for RefreshToken is days, and the default for ID and - * access tokens is hours. + * The time units you use when you set the duration of ID, access, + * and refresh tokens. The default unit for RefreshToken is days, + * and the default for ID and access tokens is hours. *
*/ public TokenValidityUnitsType getTokenValidityUnits() { @@ -1187,15 +1249,15 @@ public TokenValidityUnitsType getTokenValidityUnits() { /** *- * The units in which the validity times are represented. The default unit - * for RefreshToken is days, and the default for ID and access tokens is - * hours. + * The time units you use when you set the duration of ID, access, and + * refresh tokens. The default unit for RefreshToken is days, and the + * default for ID and access tokens is hours. *
* * @param tokenValidityUnits- * The units in which the validity times are represented. The - * default unit for RefreshToken is days, and the default for ID - * and access tokens is hours. + * The time units you use when you set the duration of ID, + * access, and refresh tokens. The default unit for RefreshToken + * is days, and the default for ID and access tokens is hours. *
*/ public void setTokenValidityUnits(TokenValidityUnitsType tokenValidityUnits) { @@ -1204,18 +1266,18 @@ public void setTokenValidityUnits(TokenValidityUnitsType tokenValidityUnits) { /** *- * The units in which the validity times are represented. The default unit - * for RefreshToken is days, and the default for ID and access tokens is - * hours. + * The time units you use when you set the duration of ID, access, and + * refresh tokens. The default unit for RefreshToken is days, and the + * default for ID and access tokens is hours. *
** Returns a reference to this object so that method calls can be chained * together. * * @param tokenValidityUnits
- * The units in which the validity times are represented. The - * default unit for RefreshToken is days, and the default for ID - * and access tokens is hours. + * The time units you use when you set the duration of ID, + * access, and refresh tokens. The default unit for RefreshToken + * is days, and the default for ID and access tokens is hours. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -3102,13 +3164,85 @@ public UpdateUserPoolClientRequest withAllowedOAuthScopes( /** *
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol
- * when interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user
+ * pool app client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following features
+ * in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code,
+ * implicit, and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the
+ * Amazon Cognito console or set
+ * AllowedOAuthFlowsUserPoolClient
to true
+ * in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a
+ * value for AllowedOAuthFlowsUserPoolClient
in a
+ * request with the CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol
- * when interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user
+ * pool app client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following features
+ * in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code,
+ * implicit, and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the
+ * Amazon Cognito console or set
+ * AllowedOAuthFlowsUserPoolClient
to true
+ * in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a
+ * value for AllowedOAuthFlowsUserPoolClient
in a
+ * request with the CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
- * Set to true if the client is allowed to follow the OAuth
- * protocol when interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your
+ * user pool app client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following
+ * features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization
+ * code, implicit, and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in
+ * the Amazon Cognito console or set
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't
+ * set a value for AllowedOAuthFlowsUserPoolClient
+ * in a request with the CLI or SDKs, it defaults to
+ * false
.
*
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param allowedOAuthFlowsUserPoolClient
- * Set to true if the client is allowed to follow the OAuth
- * protocol when interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your
+ * user pool app client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following
+ * features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization
+ * code, implicit, and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in
+ * the Amazon Cognito console or set
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't
+ * set a value for AllowedOAuthFlowsUserPoolClient
+ * in a request with the CLI or SDKs, it defaults to
+ * false
.
*
+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *- * Updates the specified user pool with the specified attributes. You can get a - * list of the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it will - * be set to the default value. - *
** This action might generate an SMS text message. Starting June 1, 2021, US @@ -46,11 +39,49 @@ * mode , you can send messages only to verified phone numbers. After * you test your app while in the sandbox environment, you can move out of the * sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon * Cognito Developer Guide. *
*+ * Updates the specified user pool with the specified attributes. You can get a + * list of the current user pool settings using DescribeUserPool. + *
+ *+ * If you don't provide a value for an attribute, Amazon Cognito sets it to its + * default value. + *
+ *+ * Amazon Cognito evaluates Identity and Access Management (IAM) policies in + * requests for this API operation. For this operation, you must use IAM + * credentials to authorize requests, and you must grant yourself the + * corresponding IAM permission in a policy. + *
+ *+ * Learn more + *
+ *+ * Using the Amazon Cognito user pools API and user pool endpoints + *
+ *
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
*/ private UserPoolAddOnsType userPoolAddOns; @@ -1847,13 +1885,28 @@ public UpdateUserPoolRequest withAdminCreateUserConfig( /** *
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
* * @return
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced
+ * security features. To log user security information but take no
+ * action, set to AUDIT
. To configure automatic
+ * security responses to risky traffic to your user pool, set to
+ * ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
*/ public UserPoolAddOnsType getUserPoolAddOns() { @@ -1862,13 +1915,28 @@ public UserPoolAddOnsType getUserPoolAddOns() { /** *
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
* * @param userPoolAddOns
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of
+ * advanced security features. To log user security information
+ * but take no action, set to AUDIT
. To configure
+ * automatic security responses to risky traffic to your user
+ * pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
*/ public void setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns) { @@ -1877,16 +1945,31 @@ public void setUserPoolAddOns(UserPoolAddOnsType userPoolAddOns) { /** *
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
** Returns a reference to this object so that method calls can be chained * together. * * @param userPoolAddOns
- * Enables advanced security risk detection. Set the key
- * AdvancedSecurityMode
to the value "AUDIT".
+ * User pool add-ons. Contains settings for activation of
+ * advanced security features. To log user security information
+ * but take no action, set to AUDIT
. To configure
+ * automatic security responses to risky traffic to your user
+ * pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserPoolResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserPoolResult.java index d539eaeabe..3d93774207 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserPoolResult.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UpdateUserPoolResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserAttributeUpdateSettingsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserAttributeUpdateSettingsType.java index 311672c94a..bfbcd174d7 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserAttributeUpdateSettingsType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserAttributeUpdateSettingsType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -42,8 +42,6 @@ public class UserAttributeUpdateSettingsType implements Serializable { * You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and setemail_verified
or
* phone_number_verified
to true.
@@ -72,8 +70,6 @@ public class UserAttributeUpdateSettingsType implements Serializable {
* You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified
or
* phone_number_verified
to true.
@@ -102,8 +98,6 @@ public class UserAttributeUpdateSettingsType implements Serializable {
* "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifyUserAttribute.html"
* >VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set
* email_verified
or phone_number_verified
@@ -136,8 +130,6 @@ public java.util.Listemail_verified
or
* phone_number_verified
to true.
@@ -167,8 +159,6 @@ public java.util.Listemail_verified
or
@@ -209,8 +199,6 @@ public void setAttributesRequireVerificationBeforeUpdate(
* You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified
or
* phone_number_verified
to true.
@@ -243,8 +231,6 @@ public void setAttributesRequireVerificationBeforeUpdate(
* "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifyUserAttribute.html"
* >VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set
* email_verified
or
@@ -288,8 +274,6 @@ public UserAttributeUpdateSettingsType withAttributesRequireVerificationBeforeUp
* You can verify an updated email address or phone number with a VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set email_verified
or
* phone_number_verified
to true.
@@ -322,8 +306,6 @@ public UserAttributeUpdateSettingsType withAttributesRequireVerificationBeforeUp
* "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifyUserAttribute.html"
* >VerifyUserAttribute API request. You can also call the UpdateUserAttributes or AdminUpdateUserAttributes API and set
* email_verified
or
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserContextDataType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserContextDataType.java
index 44f2e46739..3294c60e37 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserContextDataType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserContextDataType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -29,6 +29,9 @@ public class UserContextDataType implements Serializable {
* * The source IP address of your user's device. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*/
private String ipAddress;
@@ -40,6 +43,9 @@ public class UserContextDataType implements Serializable {
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint"
* >Adding user device and session data to API requests.
*
+ * Constraints:
+ * Length: 0 - 131072
*/
private String encodedData;
@@ -47,6 +53,9 @@ public class UserContextDataType implements Serializable {
*
* The source IP address of your user's device. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* The source IP address of your user's device. @@ -60,6 +69,9 @@ public String getIpAddress() { *
* The source IP address of your user's device. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param ipAddress
* The source IP address of your user's device. @@ -76,6 +88,9 @@ public void setIpAddress(String ipAddress) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param ipAddress
* The source IP address of your user's device. @@ -96,6 +111,9 @@ public UserContextDataType withIpAddress(String ipAddress) { * "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint" * >Adding user device and session data to API requests. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @return
* Encoded device-fingerprint details that your app collected with @@ -117,6 +135,9 @@ public String getEncodedData() { * "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint" * >Adding user device and session data to API requests. *
+ *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param encodedData
* Encoded device-fingerprint details that your app collected @@ -141,6 +162,9 @@ public void setEncodedData(String encodedData) { *
* Returns a reference to this object so that method calls can be chained * together. + *
+ * Constraints:
+ * Length: 0 - 131072
*
* @param encodedData
* Encoded device-fingerprint details that your app collected diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportInProgressException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportInProgressException.java index e4a5ea033e..646c9abb8c 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportInProgressException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportInProgressException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportJobStatusType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportJobStatusType.java index cadf076f27..a506f99f6d 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportJobStatusType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportJobStatusType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportJobType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportJobType.java index c6e3d47aca..6a6e4aa60a 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportJobType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserImportJobType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -69,7 +69,9 @@ public class UserImportJobType implements Serializable { /** *
- * The date the user import job was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ private java.util.Date creationDate; @@ -431,11 +433,15 @@ public UserImportJobType withPreSignedUrl(String preSignedUrl) { /** *- * The date the user import job was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @return- * The date the user import job was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public java.util.Date getCreationDate() { @@ -444,11 +450,15 @@ public java.util.Date getCreationDate() { /** *- * The date the user import job was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @param creationDate- * The date the user import job was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public void setCreationDate(java.util.Date creationDate) { @@ -457,14 +467,18 @@ public void setCreationDate(java.util.Date creationDate) { /** *- * The date the user import job was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
** Returns a reference to this object so that method calls can be chained * together. * * @param creationDate
- * The date the user import job was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserLambdaValidationException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserLambdaValidationException.java index 6f6206c472..9f3310a9f8 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserLambdaValidationException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserLambdaValidationException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserNotConfirmedException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserNotConfirmedException.java index 7e719952b4..db47c16bec 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserNotConfirmedException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserNotConfirmedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserNotFoundException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserNotFoundException.java index 94f7f8c442..e3e9ca6d9b 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserNotFoundException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolAddOnNotEnabledException.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolAddOnNotEnabledException.java index 90f26121e7..c411d39efb 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolAddOnNotEnabledException.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolAddOnNotEnabledException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolAddOnsType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolAddOnsType.java index 96899ed53f..8fccb57e37 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolAddOnsType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolAddOnsType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,13 +19,21 @@ /** *
- * The user pool add-ons type.
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ *
+ * For more information, see Adding advanced security to a user pool. *
*/ public class UserPoolAddOnsType implements Serializable { /** *- * The advanced security mode. + * The operating mode of advanced security features in your user pool. *
*
* Constraints:
@@ -35,14 +43,15 @@ public class UserPoolAddOnsType implements Serializable {
/**
*
- * The advanced security mode. + * The operating mode of advanced security features in your user pool. *
*
* Constraints:
* Allowed Values: OFF, AUDIT, ENFORCED
*
* @return
- * The advanced security mode. + * The operating mode of advanced security features in your user + * pool. *
* @see AdvancedSecurityModeType */ @@ -52,14 +61,15 @@ public String getAdvancedSecurityMode() { /** *- * The advanced security mode. + * The operating mode of advanced security features in your user pool. *
*
* Constraints:
* Allowed Values: OFF, AUDIT, ENFORCED
*
* @param advancedSecurityMode
- * The advanced security mode. + * The operating mode of advanced security features in your user + * pool. *
* @see AdvancedSecurityModeType */ @@ -69,7 +79,7 @@ public void setAdvancedSecurityMode(String advancedSecurityMode) { /** *- * The advanced security mode. + * The operating mode of advanced security features in your user pool. *
** Returns a reference to this object so that method calls can be chained @@ -79,7 +89,8 @@ public void setAdvancedSecurityMode(String advancedSecurityMode) { * Allowed Values: OFF, AUDIT, ENFORCED * * @param advancedSecurityMode
- * The advanced security mode. + * The operating mode of advanced security features in your user + * pool. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -92,14 +103,15 @@ public UserPoolAddOnsType withAdvancedSecurityMode(String advancedSecurityMode) /** *- * The advanced security mode. + * The operating mode of advanced security features in your user pool. *
*
* Constraints:
* Allowed Values: OFF, AUDIT, ENFORCED
*
* @param advancedSecurityMode
- * The advanced security mode. + * The operating mode of advanced security features in your user + * pool. *
* @see AdvancedSecurityModeType */ @@ -109,7 +121,7 @@ public void setAdvancedSecurityMode(AdvancedSecurityModeType advancedSecurityMod /** *- * The advanced security mode. + * The operating mode of advanced security features in your user pool. *
** Returns a reference to this object so that method calls can be chained @@ -119,7 +131,8 @@ public void setAdvancedSecurityMode(AdvancedSecurityModeType advancedSecurityMod * Allowed Values: OFF, AUDIT, ENFORCED * * @param advancedSecurityMode
- * The advanced security mode. + * The operating mode of advanced security features in your user + * pool. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolClientDescription.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolClientDescription.java index 50a7bbb628..7cddfa7e6d 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolClientDescription.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolClientDescription.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolClientType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolClientType.java index 46aacbee19..e1be6209f3 100644 --- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolClientType.java +++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/UserPoolClientType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -69,14 +69,18 @@ public class UserPoolClientType implements Serializable { /** *- * The date the user pool client was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ private java.util.Date lastModifiedDate; /** *- * The date the user pool client was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ private java.util.Date creationDate; @@ -152,8 +156,8 @@ public class UserPoolClientType implements Serializable { * authenticate their session with their ID token for 10 hours. * *
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -395,8 +399,43 @@ public class UserPoolClientType implements Serializable { /** *
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to true
to use OAuth 2.0 features in your user pool app
+ * client.
+ *
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ * CallBackURLs
: Callback URLs.
+ *
+ * LogoutURLs
: Sign-out redirect URLs.
+ *
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ *
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
*
- * The date the user pool client was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @return- * The date the user pool client was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public java.util.Date getLastModifiedDate() { @@ -750,11 +793,15 @@ public java.util.Date getLastModifiedDate() { /** *- * The date the user pool client was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* * @param lastModifiedDate- * The date the user pool client was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
*/ public void setLastModifiedDate(java.util.Date lastModifiedDate) { @@ -763,14 +810,18 @@ public void setLastModifiedDate(java.util.Date lastModifiedDate) { /** *- * The date the user pool client was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
** Returns a reference to this object so that method calls can be chained * together. * * @param lastModifiedDate
- * The date the user pool client was last modified. + * The date and time, in ISO + * 8601 format, when the item was modified. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -782,11 +833,15 @@ public UserPoolClientType withLastModifiedDate(java.util.Date lastModifiedDate) /** *- * The date the user pool client was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @return- * The date the user pool client was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public java.util.Date getCreationDate() { @@ -795,11 +850,15 @@ public java.util.Date getCreationDate() { /** *- * The date the user pool client was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* * @param creationDate- * The date the user pool client was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
*/ public void setCreationDate(java.util.Date creationDate) { @@ -808,14 +867,18 @@ public void setCreationDate(java.util.Date creationDate) { /** *- * The date the user pool client was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
** Returns a reference to this object so that method calls can be chained * together. * * @param creationDate
- * The date the user pool client was created. + * The date and time, in ISO + * 8601 format, when the item was created. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -1182,8 +1245,8 @@ public UserPoolClientType withAccessTokenValidity(Integer accessTokenValidity) { * authenticate their session with their ID token for 10 hours. * *
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -1207,8 +1270,8 @@ public UserPoolClientType withAccessTokenValidity(Integer accessTokenValidity) { * their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in an
- * API request is hours. Valid range is displayed below in
+ * The default time unit for IdTokenValidity
in an API
+ * request is hours. Valid range is displayed below in
* seconds.
*
@@ -1234,8 +1297,8 @@ public Integer getIdTokenValidity() { * authenticate their session with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -1260,9 +1323,9 @@ public Integer getIdTokenValidity() { * with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in
- * an API request is hours. Valid range is displayed below
- * in seconds.
+ * The default time unit for IdTokenValidity
in an
+ * API request is hours. Valid range is displayed below in
+ * seconds.
*
* If you don't specify otherwise in the configuration of your @@ -1287,8 +1350,8 @@ public void setIdTokenValidity(Integer idTokenValidity) { * authenticate their session with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in an API
- * request is hours. Valid range is displayed below in seconds.
+ * The default time unit for IdTokenValidity
in an API request
+ * is hours. Valid range is displayed below in seconds.
*
* If you don't specify otherwise in the configuration of your app client, @@ -1316,9 +1379,9 @@ public void setIdTokenValidity(Integer idTokenValidity) { * with their ID token for 10 hours. *
*
- * The default time unit for AccessTokenValidity
in
- * an API request is hours. Valid range is displayed below
- * in seconds.
+ * The default time unit for IdTokenValidity
in an
+ * API request is hours. Valid range is displayed below in
+ * seconds.
*
* If you don't specify otherwise in the configuration of your
@@ -3247,13 +3310,85 @@ public UserPoolClientType withAllowedOAuthScopes(java.util.Collection
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to
+ *
+ *
+ *
+ *
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set
- * Set to true if the client is allowed to follow the OAuth protocol
- * when interacting with Amazon Cognito user pools.
+ * Set to
+ *
+ *
+ *
+ *
+ *
+ * To use OAuth 2.0 features, configure one of these features in the
+ * Amazon Cognito console or set
+ *
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to
+ *
+ *
+ *
+ *
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set
- * Set to true if the client is allowed to follow the OAuth protocol
- * when interacting with Amazon Cognito user pools.
+ * Set to
+ *
+ *
+ *
+ *
+ *
+ * To use OAuth 2.0 features, configure one of these features in the
+ * Amazon Cognito console or set
+ *
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to
+ *
+ *
+ *
+ *
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set
- * Set to true if the client is allowed to follow the OAuth
- * protocol when interacting with Amazon Cognito user pools.
+ * Set to
+ *
+ *
+ *
+ *
+ *
+ * To use OAuth 2.0 features, configure one of these features in
+ * the Amazon Cognito console or set
+ *
- * Set to true if the client is allowed to follow the OAuth protocol when
- * interacting with Amazon Cognito user pools.
+ * Set to
+ *
+ *
+ *
+ *
+ *
+ * To use OAuth 2.0 features, configure one of these features in the Amazon
+ * Cognito console or set
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param allowedOAuthFlowsUserPoolClient
- * Set to true if the client is allowed to follow the OAuth
- * protocol when interacting with Amazon Cognito user pools.
+ * Set to
+ *
+ *
+ *
+ *
+ *
+ * To use OAuth 2.0 features, configure one of these features in
+ * the Amazon Cognito console or set
+ *
- * The date the user pool description was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool description was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool description was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool description was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool description was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool description was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool description was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param lastModifiedDate
- * The date the user pool description was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool description was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool description was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool description was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool description was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool description was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param creationDate
- * The date the user pool description was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * A container with the schema attributes of a user pool.
+ * A list of the user attributes and their properties in your user pool. The
+ * attribute schema contains standard attributes, custom attributes with a
+ *
+ * Developer-only attributes are a legacy feature of user pools, are
+ * read-only to all app clients. You can create and update developer-only
+ * attributes only with IAM-authenticated API operations. Use app client
+ * read/write permissions instead.
*
* The email configuration of your user pool. The email configuration type
* sets your preferred sending method, Amazon Web Services Region, and
- * sender for messages tfrom your user pool.
+ * sender for messages from your user pool.
*
* The Amazon Web Services account is in the SNS SMS Sandbox and messages
* will only reach verified end users. This parameter won’t get populated
- * with SNSSandbox if the IAM user creating the user pool doesn’t have SNS
+ * with SNSSandbox if the user creating the user pool doesn’t have SNS
* permissions. To learn how to move your Amazon Web Services account out of
* the sandbox, see
*
*
+ *
+ * Constraints:
+ * Constraints:
- * The user pool add-ons.
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ *
+ * For more information, see Adding advanced security to a user pool.
*
- * The date the user pool was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param lastModifiedDate
- * The date the user pool was last modified.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The date the user pool was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * The date the user pool was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param creationDate
- * The date the user pool was created.
+ * The date and time, in ISO
+ * 8601 format, when the item was created.
*
- * A container with the schema attributes of a user pool.
+ * A list of the user attributes and their properties in your user pool. The
+ * attribute schema contains standard attributes, custom attributes with a
+ *
+ * Developer-only attributes are a legacy feature of user pools, are
+ * read-only to all app clients. You can create and update developer-only
+ * attributes only with IAM-authenticated API operations. Use app client
+ * read/write permissions instead.
*
- * A container with the schema attributes of a user pool.
+ * A list of the user attributes and their properties in your user
+ * pool. The attribute schema contains standard attributes, custom
+ * attributes with a
+ * Developer-only attributes are a legacy feature of user pools, are
+ * read-only to all app clients. You can create and update
+ * developer-only attributes only with IAM-authenticated API
+ * operations. Use app client read/write permissions instead.
*
- * A container with the schema attributes of a user pool.
+ * A list of the user attributes and their properties in your user pool. The
+ * attribute schema contains standard attributes, custom attributes with a
+ *
+ * Developer-only attributes are a legacy feature of user pools, are
+ * read-only to all app clients. You can create and update developer-only
+ * attributes only with IAM-authenticated API operations. Use app client
+ * read/write permissions instead.
*
- * A container with the schema attributes of a user pool.
+ * A list of the user attributes and their properties in your
+ * user pool. The attribute schema contains standard attributes,
+ * custom attributes with a
+ * Developer-only attributes are a legacy feature of user pools,
+ * are read-only to all app clients. You can create and update
+ * developer-only attributes only with IAM-authenticated API
+ * operations. Use app client read/write permissions instead.
*
- * A container with the schema attributes of a user pool.
+ * A list of the user attributes and their properties in your user pool. The
+ * attribute schema contains standard attributes, custom attributes with a
+ *
+ * Developer-only attributes are a legacy feature of user pools, are
+ * read-only to all app clients. You can create and update developer-only
+ * attributes only with IAM-authenticated API operations. Use app client
+ * read/write permissions instead.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param schemaAttributes
- * A container with the schema attributes of a user pool.
+ * A list of the user attributes and their properties in your
+ * user pool. The attribute schema contains standard attributes,
+ * custom attributes with a
+ * Developer-only attributes are a legacy feature of user pools,
+ * are read-only to all app clients. You can create and update
+ * developer-only attributes only with IAM-authenticated API
+ * operations. Use app client read/write permissions instead.
*
- * A container with the schema attributes of a user pool.
+ * A list of the user attributes and their properties in your user pool. The
+ * attribute schema contains standard attributes, custom attributes with a
+ *
+ * Developer-only attributes are a legacy feature of user pools, are
+ * read-only to all app clients. You can create and update developer-only
+ * attributes only with IAM-authenticated API operations. Use app client
+ * read/write permissions instead.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param schemaAttributes
- * A container with the schema attributes of a user pool.
+ * A list of the user attributes and their properties in your
+ * user pool. The attribute schema contains standard attributes,
+ * custom attributes with a
+ * Developer-only attributes are a legacy feature of user pools,
+ * are read-only to all app clients. You can create and update
+ * developer-only attributes only with IAM-authenticated API
+ * operations. Use app client read/write permissions instead.
*
* The email configuration of your user pool. The email configuration type
* sets your preferred sending method, Amazon Web Services Region, and
- * sender for messages tfrom your user pool.
+ * sender for messages from your user pool.
*
* The email configuration of your user pool. The email
* configuration type sets your preferred sending method, Amazon Web
- * Services Region, and sender for messages tfrom your user pool.
+ * Services Region, and sender for messages from your user pool.
*
* The email configuration of your user pool. The email configuration type
* sets your preferred sending method, Amazon Web Services Region, and
- * sender for messages tfrom your user pool.
+ * sender for messages from your user pool.
*
* The email configuration of your user pool. The email
* configuration type sets your preferred sending method, Amazon
- * Web Services Region, and sender for messages tfrom your user
+ * Web Services Region, and sender for messages from your user
* pool.
*
* The email configuration of your user pool. The email configuration type
* sets your preferred sending method, Amazon Web Services Region, and
- * sender for messages tfrom your user pool.
+ * sender for messages from your user pool.
*
* Returns a reference to this object so that method calls can be chained
@@ -2204,7 +2349,7 @@ public void setEmailConfiguration(EmailConfigurationType emailConfiguration) {
* @param emailConfiguration
* The email configuration of your user pool. The email
* configuration type sets your preferred sending method, Amazon
- * Web Services Region, and sender for messages tfrom your user
+ * Web Services Region, and sender for messages from your user
* pool.
*
* The Amazon Web Services account is in the SNS SMS Sandbox and messages
* will only reach verified end users. This parameter won’t get populated
- * with SNSSandbox if the IAM user creating the user pool doesn’t have SNS
+ * with SNSSandbox if the user creating the user pool doesn’t have SNS
* permissions. To learn how to move your Amazon Web Services account out of
* the sandbox, see
*
*
+ *
+ * Constraints:
* The reason why the SMS configuration can't send the messages to
@@ -2451,9 +2599,9 @@ public UserPoolType clearUserPoolTagsEntries() {
*
* The Amazon Web Services account is in the SNS SMS Sandbox and
* messages will only reach verified end users. This parameter won’t
- * get populated with SNSSandbox if the IAM user creating the user
- * pool doesn’t have SNS permissions. To learn how to move your
- * Amazon Web Services account out of the sandbox, see Moving out of the SMS sandbox.
*
* The Amazon Web Services account is in the SNS SMS Sandbox and messages
* will only reach verified end users. This parameter won’t get populated
- * with SNSSandbox if the IAM user creating the user pool doesn’t have SNS
+ * with SNSSandbox if the user creating the user pool doesn’t have SNS
* permissions. To learn how to move your Amazon Web Services account out of
* the sandbox, see
*
*
+ *
+ * Constraints:
* The reason why the SMS configuration can't send the messages
@@ -2523,10 +2674,10 @@ public String getSmsConfigurationFailure() {
*
* The Amazon Web Services account is in the SNS SMS Sandbox and
* messages will only reach verified end users. This parameter
- * won’t get populated with SNSSandbox if the IAM user creating
- * the user pool doesn’t have SNS permissions. To learn how to
- * move your Amazon Web Services account out of the sandbox, see
- * Moving out of the SMS sandbox.
*
* The Amazon Web Services account is in the SNS SMS Sandbox and messages
* will only reach verified end users. This parameter won’t get populated
- * with SNSSandbox if the IAM user creating the user pool doesn’t have SNS
+ * with SNSSandbox if the user creating the user pool doesn’t have SNS
* permissions. To learn how to move your Amazon Web Services account out of
* the sandbox, see
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* The reason why the SMS configuration can't send the messages
@@ -2599,10 +2753,10 @@ public void setSmsConfigurationFailure(String smsConfigurationFailure) {
*
* The Amazon Web Services account is in the SNS SMS Sandbox and
* messages will only reach verified end users. This parameter
- * won’t get populated with SNSSandbox if the IAM user creating
- * the user pool doesn’t have SNS permissions. To learn how to
- * move your Amazon Web Services account out of the sandbox, see
- * Moving out of the SMS sandbox.
*
+ * Constraints:
* Deprecated. Review error codes from API requests with
@@ -2640,6 +2797,9 @@ public String getEmailConfigurationFailure() {
*
+ * Constraints:
* Deprecated. Review error codes from API requests with
@@ -2661,6 +2821,9 @@ public void setEmailConfigurationFailure(String emailConfigurationFailure) {
*
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* Deprecated. Review error codes from API requests with
@@ -2894,11 +3057,28 @@ public UserPoolType withAdminCreateUserConfig(AdminCreateUserConfigType adminCre
/**
*
- * The user pool add-ons.
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ *
+ * For more information, see Adding advanced security to a user pool.
*
- * The user pool add-ons.
+ * User pool add-ons. Contains settings for activation of advanced
+ * security features. To log user security information but take no
+ * action, set to
+ * For more information, see Adding advanced security to a user pool.
*
- * The user pool add-ons.
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ *
+ * For more information, see Adding advanced security to a user pool.
*
- * The user pool add-ons.
+ * User pool add-ons. Contains settings for activation of
+ * advanced security features. To log user security information
+ * but take no action, set to
+ * For more information, see Adding advanced security to a user pool.
*
- * The user pool add-ons.
+ * User pool add-ons. Contains settings for activation of advanced security
+ * features. To log user security information but take no action, set to
+ *
+ * For more information, see Adding advanced security to a user pool.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param userPoolAddOns
- * The user pool add-ons.
+ * User pool add-ons. Contains settings for activation of
+ * advanced security features. To log user security information
+ * but take no action, set to
+ * For more information, see Adding advanced security to a user pool.
*
- * The last modified date of the user.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * The last modified date of the user.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The last modified date of the user.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The last modified date of the user.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The last modified date of the user.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * The last modified date of the user.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param userLastModifiedDate
- * The last modified date of the user.
+ * The date and time, in ISO
+ * 8601 format, when the item was modified.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
- * ARCHIVED - User is no longer active.
- *
* UNKNOWN - User status isn't known.
*
* Specifies whether user name case sensitivity will be applied for all
- * users in the user pool through Amazon Cognito APIs.
+ * users in the user pool through Amazon Cognito APIs. For most use cases,
+ * set case sensitivity to
* Valid values include:
@@ -44,10 +48,11 @@ public class UsernameConfigurationType implements Serializable {
*
* Enables case insensitivity for all username input. For example, when this
- * option is set to
* Specifies whether user name case sensitivity will be applied for all
- * users in the user pool through Amazon Cognito APIs.
+ * users in the user pool through Amazon Cognito APIs. For most use cases,
+ * set case sensitivity to
* Valid values include:
@@ -75,17 +84,23 @@ public class UsernameConfigurationType implements Serializable {
*
* Enables case insensitivity for all username input. For example, when this
- * option is set to
* Specifies whether user name case sensitivity will be applied for
- * all users in the user pool through Amazon Cognito APIs.
+ * all users in the user pool through Amazon Cognito APIs. For most
+ * use cases, set case sensitivity to
* Valid values include:
@@ -105,9 +120,10 @@ public class UsernameConfigurationType implements Serializable {
*
* Enables case insensitivity for all username input. For example,
* when this option is set to
* Specifies whether user name case sensitivity will be applied for all
- * users in the user pool through Amazon Cognito APIs.
+ * users in the user pool through Amazon Cognito APIs. For most use cases,
+ * set case sensitivity to
* Valid values include:
@@ -138,17 +158,23 @@ public Boolean isCaseSensitive() {
*
* Enables case insensitivity for all username input. For example, when this
- * option is set to
* Specifies whether user name case sensitivity will be applied for
- * all users in the user pool through Amazon Cognito APIs.
+ * all users in the user pool through Amazon Cognito APIs. For most
+ * use cases, set case sensitivity to
* Valid values include:
@@ -168,9 +194,10 @@ public Boolean isCaseSensitive() {
*
* Enables case insensitivity for all username input. For example,
* when this option is set to
* Specifies whether user name case sensitivity will be applied for all
- * users in the user pool through Amazon Cognito APIs.
+ * users in the user pool through Amazon Cognito APIs. For most use cases,
+ * set case sensitivity to
* Valid values include:
@@ -201,10 +232,11 @@ public Boolean getCaseSensitive() {
*
* Enables case insensitivity for all username input. For example, when this
- * option is set to
* Specifies whether user name case sensitivity will be applied
* for all users in the user pool through Amazon Cognito APIs.
+ * For most use cases, set case sensitivity to
* Valid values include:
@@ -231,10 +268,11 @@ public Boolean getCaseSensitive() {
*
* Enables case insensitivity for all username input. For
* example, when this option is set to
* Specifies whether user name case sensitivity will be applied for all
- * users in the user pool through Amazon Cognito APIs.
+ * users in the user pool through Amazon Cognito APIs. For most use cases,
+ * set case sensitivity to
* Valid values include:
@@ -264,10 +306,11 @@ public void setCaseSensitive(Boolean caseSensitive) {
*
* Enables case insensitivity for all username input. For example, when this
- * option is set to
* Specifies whether user name case sensitivity will be applied
* for all users in the user pool through Amazon Cognito APIs.
+ * For most use cases, set case sensitivity to
* Valid values include:
@@ -297,10 +345,11 @@ public void setCaseSensitive(Boolean caseSensitive) {
*
* Enables case insensitivity for all username input. For
* example, when this option is set to
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies
+ * in requests for this API operation. For this operation, you can't use IAM
+ * credentials to authorize requests, and you can't grant IAM permissions in
+ * policies. For more information about authorization models in Amazon Cognito,
+ * see Using the Amazon Cognito native and OIDC APIs.
+ *
* The friendly device name.
*
+ * Constraints:
* The friendly device name.
*
+ * Constraints:
* The friendly device name.
@@ -283,6 +300,9 @@ public String getFriendlyDeviceName() {
*
* The friendly device name.
*
+ * Constraints:
* The friendly device name.
@@ -299,6 +319,9 @@ public void setFriendlyDeviceName(String friendlyDeviceName) {
*
* Returns a reference to this object so that method calls can be chained
* together.
+ *
+ * Constraints:
* The friendly device name.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifySoftwareTokenResponseType.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifySoftwareTokenResponseType.java
index b457f46e39..b6462141c6 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifySoftwareTokenResponseType.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifySoftwareTokenResponseType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifySoftwareTokenResult.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifySoftwareTokenResult.java
index e218548881..bb91e84fe9 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifySoftwareTokenResult.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifySoftwareTokenResult.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifyUserAttributeRequest.java b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifyUserAttributeRequest.java
index 825727e101..509a74a217 100644
--- a/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifyUserAttributeRequest.java
+++ b/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/VerifyUserAttributeRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -30,6 +30,17 @@
* "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UserAttributeUpdateSettingsType.html"
* > UserAttributeUpdateSettingsType
+ * Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies
+ * in requests for this API operation. For this operation, you can't use IAM
+ * credentials to authorize requests, and you can't grant IAM permissions in
+ * policies. For more information about authorization models in Amazon Cognito,
+ * see Using the Amazon Cognito native and OIDC APIs.
+ * Using the Amazon Cognito user pools API, you can create a user pool to manage directories and users. You can authenticate a user to obtain tokens related to user identity and access policies. This API reference provides information about user pools in Amazon Cognito user pools. For more information, see the Amazon Cognito Documentation. With the Amazon Cognito user pools API, you can set up user pools and app clients, and authenticate users. To authenticate users from third-party identity providers (IdPs) in this API, you can link IdP users to native user profiles. Learn more about the authentication and authorization of federated users in the Using the Amazon Cognito user pools API and user pool endpoints. This API reference provides detailed information about API operations and object types in Amazon Cognito. At the bottom of the page for each API operation and object, under See Also, you can learn how to use it in an Amazon Web Services SDK in the language of your choice. Along with resource management operations, the Amazon Cognito user pools API includes classes of operations and authorization models for client-side and server-side user operations. For more information, see Using the Amazon Cognito native and OIDC APIs in the Amazon Cognito Developer Guide. You can also start reading about the To get started with an Amazon Web Services SDK, see Tools to Build on Amazon Web Services. For example actions and scenarios, see Code examples for Amazon Cognito Identity Provider using Amazon Web Services SDKs.true
to use OAuth 2.0 features in your user pool app
+ * client.
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ *
+ * CallBackURLs
: Callback URLs.
+ * LogoutURLs
: Sign-out redirect URLs.
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
* true
to use OAuth 2.0 features in your user
+ * pool app client.
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following features
+ * in your app client.
+ *
+ *
+ * CallBackURLs
: Callback URLs.
+ * LogoutURLs
: Sign-out redirect URLs.
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ * AllowedOAuthFlows
: Support for authorization code,
+ * implicit, and client credentials OAuth 2.0 grants.
+ * AllowedOAuthFlowsUserPoolClient
to true
+ * in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a
+ * value for AllowedOAuthFlowsUserPoolClient
in a
+ * request with the CLI or SDKs, it defaults to false
.
* true
to use OAuth 2.0 features in your user pool app
+ * client.
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ *
+ * CallBackURLs
: Callback URLs.
+ * LogoutURLs
: Sign-out redirect URLs.
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
* true
to use OAuth 2.0 features in your user
+ * pool app client.
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following features
+ * in your app client.
+ *
+ *
+ * CallBackURLs
: Callback URLs.
+ * LogoutURLs
: Sign-out redirect URLs.
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ * AllowedOAuthFlows
: Support for authorization code,
+ * implicit, and client credentials OAuth 2.0 grants.
+ * AllowedOAuthFlowsUserPoolClient
to true
+ * in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a
+ * value for AllowedOAuthFlowsUserPoolClient
in a
+ * request with the CLI or SDKs, it defaults to false
.
* true
to use OAuth 2.0 features in your user pool app
+ * client.
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ *
+ * CallBackURLs
: Callback URLs.
+ * LogoutURLs
: Sign-out redirect URLs.
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
* true
to use OAuth 2.0 features in your
+ * user pool app client.
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following
+ * features in your app client.
+ *
+ *
+ * CallBackURLs
: Callback URLs.
+ * LogoutURLs
: Sign-out redirect URLs.
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ * AllowedOAuthFlows
: Support for authorization
+ * code, implicit, and client credentials OAuth 2.0 grants.
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't
+ * set a value for AllowedOAuthFlowsUserPoolClient
+ * in a request with the CLI or SDKs, it defaults to
+ * false
.
* true
to use OAuth 2.0 features in your user pool app
+ * client.
+ * AllowedOAuthFlowsUserPoolClient
must be true
+ * before you can configure the following features in your app client.
+ *
+ *
+ * CallBackURLs
: Callback URLs.
+ * LogoutURLs
: Sign-out redirect URLs.
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ * AllowedOAuthFlows
: Support for authorization code, implicit,
+ * and client credentials OAuth 2.0 grants.
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't set a value
+ * for AllowedOAuthFlowsUserPoolClient
in a request with the
+ * CLI or SDKs, it defaults to false
.
* true
to use OAuth 2.0 features in your
+ * user pool app client.
+ * AllowedOAuthFlowsUserPoolClient
must be
+ * true
before you can configure the following
+ * features in your app client.
+ *
+ *
+ * CallBackURLs
: Callback URLs.
+ * LogoutURLs
: Sign-out redirect URLs.
+ * AllowedOAuthScopes
: OAuth 2.0 scopes.
+ * AllowedOAuthFlows
: Support for authorization
+ * code, implicit, and client credentials OAuth 2.0 grants.
+ * AllowedOAuthFlowsUserPoolClient
to
+ * true
in a CreateUserPoolClient
or
+ * UpdateUserPoolClient
API request. If you don't
+ * set a value for AllowedOAuthFlowsUserPoolClient
+ * in a request with the CLI or SDKs, it defaults to
+ * false
.
* custom:
prefix, and developer attributes with a
+ * dev:
prefix. For more information, see User pool attributes.
+ *
+ * Length: 0 - 131072
*/
private String smsConfigurationFailure;
@@ -326,6 +344,9 @@ public class UserPoolType implements Serializable {
* EventSource:cognito-idp.amazonaws.com
in CloudTrail for
* information about problems with user pool email configuration.
*
+ * Length: 0 - 131072
*/
private String emailConfigurationFailure;
@@ -369,7 +390,15 @@ public class UserPoolType implements Serializable {
/**
* AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ * custom:
prefix, and developer attributes with a
+ * dev:
prefix. For more information, see User pool attributes.
+ * custom:
prefix, and developer
+ * attributes with a dev:
prefix. For more information,
+ * see User pool attributes.
+ * custom:
prefix, and developer attributes with a
+ * dev:
prefix. For more information, see User pool attributes.
+ * custom:
prefix, and
+ * developer attributes with a dev:
prefix. For more
+ * information, see User pool attributes.
+ * custom:
prefix, and developer attributes with a
+ * dev:
prefix. For more information, see User pool attributes.
+ * custom:
prefix, and
+ * developer attributes with a dev:
prefix. For more
+ * information, see User pool attributes.
+ * custom:
prefix, and developer attributes with a
+ * dev:
prefix. For more information, see User pool attributes.
+ * custom:
prefix, and
+ * developer attributes with a dev:
prefix. For more
+ * information, see User pool attributes.
+ *
+ * Length: 0 - 131072
*
* @return
+ * Length: 0 - 131072
*
* @param smsConfigurationFailure
+ * Length: 0 - 131072
*
* @param smsConfigurationFailure EventSource:cognito-idp.amazonaws.com
in CloudTrail for
* information about problems with user pool email configuration.
*
+ * Length: 0 - 131072
*
* @return EventSource:cognito-idp.amazonaws.com
in CloudTrail for
* information about problems with user pool email configuration.
*
+ * Length: 0 - 131072
*
* @param emailConfigurationFailure
+ * Length: 0 - 131072
*
* @param emailConfigurationFailure AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ * AUDIT
. To configure automatic
+ * security responses to risky traffic to your user pool, set to
+ * ENFORCED
.
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ * AUDIT
. To configure
+ * automatic security responses to risky traffic to your user
+ * pool, set to ENFORCED
.
+ * AUDIT
. To configure automatic security responses to risky
+ * traffic to your user pool, set to ENFORCED
.
+ * AUDIT
. To configure
+ * automatic security responses to risky traffic to your user
+ * pool, set to ENFORCED
.
+ * False
(case insensitive) as a best
+ * practice. When usernames and email addresses are case insensitive, users
+ * can sign in as the same user when they enter a different capitalization
+ * of their user name.
* False
, users can sign in using either
- * "username" or "Username". This option also enables both
- * preferred_username
and email
alias to be case
- * insensitive, in addition to the username
attribute.
+ * option is set to False
, users can sign in using
+ * username
, USERNAME
, or UserName
.
+ * This option also enables both preferred_username
and
+ * email
alias to be case insensitive, in addition to the
+ * username
attribute.
* False
(case insensitive) as a best
+ * practice. When usernames and email addresses are case insensitive, users
+ * can sign in as the same user when they enter a different capitalization
+ * of their user name.
* False
, users can sign in using either
- * "username" or "Username". This option also enables both
- * preferred_username
and email
alias to be case
- * insensitive, in addition to the username
attribute.
+ * option is set to False
, users can sign in using
+ * username
, USERNAME
, or UserName
.
+ * This option also enables both preferred_username
and
+ * email
alias to be case insensitive, in addition to the
+ * username
attribute.
* False
(case
+ * insensitive) as a best practice. When usernames and email
+ * addresses are case insensitive, users can sign in as the same
+ * user when they enter a different capitalization of their user
+ * name.
* False
, users can sign in
- * using either "username" or "Username". This option also enables
- * both preferred_username
and email
alias
- * to be case insensitive, in addition to the username
+ * using username
, USERNAME
, or
+ * UserName
. This option also enables both
+ * preferred_username
and email
alias to
+ * be case insensitive, in addition to the username
* attribute.
* False
(case insensitive) as a best
+ * practice. When usernames and email addresses are case insensitive, users
+ * can sign in as the same user when they enter a different capitalization
+ * of their user name.
* False
, users can sign in using either
- * "username" or "Username". This option also enables both
- * preferred_username
and email
alias to be case
- * insensitive, in addition to the username
attribute.
+ * option is set to False
, users can sign in using
+ * username
, USERNAME
, or UserName
.
+ * This option also enables both preferred_username
and
+ * email
alias to be case insensitive, in addition to the
+ * username
attribute.
* False
(case
+ * insensitive) as a best practice. When usernames and email
+ * addresses are case insensitive, users can sign in as the same
+ * user when they enter a different capitalization of their user
+ * name.
* False
, users can sign in
- * using either "username" or "Username". This option also enables
- * both preferred_username
and email
alias
- * to be case insensitive, in addition to the username
+ * using username
, USERNAME
, or
+ * UserName
. This option also enables both
+ * preferred_username
and email
alias to
+ * be case insensitive, in addition to the username
* attribute.
* False
(case insensitive) as a best
+ * practice. When usernames and email addresses are case insensitive, users
+ * can sign in as the same user when they enter a different capitalization
+ * of their user name.
* False
, users can sign in using either
- * "username" or "Username". This option also enables both
- * preferred_username
and email
alias to be case
- * insensitive, in addition to the username
attribute.
+ * option is set to False
, users can sign in using
+ * username
, USERNAME
, or UserName
.
+ * This option also enables both preferred_username
and
+ * email
alias to be case insensitive, in addition to the
+ * username
attribute.
* False
+ * (case insensitive) as a best practice. When usernames and
+ * email addresses are case insensitive, users can sign in as the
+ * same user when they enter a different capitalization of their
+ * user name.
* False
, users
- * can sign in using either "username" or "Username". This option
- * also enables both preferred_username
and
- * email
alias to be case insensitive, in addition
- * to the username
attribute.
+ * can sign in using username
, USERNAME
+ * , or UserName
. This option also enables both
+ * preferred_username
and email
alias
+ * to be case insensitive, in addition to the
+ * username
attribute.
* False
(case insensitive) as a best
+ * practice. When usernames and email addresses are case insensitive, users
+ * can sign in as the same user when they enter a different capitalization
+ * of their user name.
* False
, users can sign in using either
- * "username" or "Username". This option also enables both
- * preferred_username
and email
alias to be case
- * insensitive, in addition to the username
attribute.
+ * option is set to False
, users can sign in using
+ * username
, USERNAME
, or UserName
.
+ * This option also enables both preferred_username
and
+ * email
alias to be case insensitive, in addition to the
+ * username
attribute.
* False
+ * (case insensitive) as a best practice. When usernames and
+ * email addresses are case insensitive, users can sign in as the
+ * same user when they enter a different capitalization of their
+ * user name.
* False
, users
- * can sign in using either "username" or "Username". This option
- * also enables both preferred_username
and
- * email
alias to be case insensitive, in addition
- * to the username
attribute.
+ * can sign in using username
, USERNAME
+ * , or UserName
. This option also enables both
+ * preferred_username
and email
alias
+ * to be case insensitive, in addition to the
+ * username
attribute.
*
+ * Length: 0 - 131072
*/
private String friendlyDeviceName;
@@ -270,6 +284,9 @@ public VerifySoftwareTokenRequest withUserCode(String userCode) {
*
+ * Length: 0 - 131072
*
* @return
+ * Length: 0 - 131072
*
* @param friendlyDeviceName
+ * Length: 0 - 131072
*
* @param friendlyDeviceName CognitoIdentityProvider
client in the following SDK guides.