Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cognitoidentityprovider Update models to latest #3376

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -23,6 +23,33 @@
* <p>
* Adds additional user attributes to the user pool schema.
* </p>
* <note>
* <p>
* 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.
* </p>
* <p class="title">
* <b>Learn more</b>
* </p>
* <ul>
* <li>
* <p>
* <a href=
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html"
* >Signing Amazon Web Services API Requests</a>
* </p>
* </li>
* <li>
* <p>
* <a href=
* "https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html"
* >Using the Amazon Cognito user pools API and user pool endpoints</a>
* </p>
* </li>
* </ul>
* </note>
*/
public class AddCustomAttributesRequest extends AmazonWebServiceRequest implements Serializable {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -23,9 +23,33 @@
* <p>
* Adds the specified user to the specified group.
* </p>
* <note>
* <p>
* 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.
* </p>
* <p class="title">
* <b>Learn more</b>
* </p>
* <ul>
* <li>
* <p>
* <a href=
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html"
* >Signing Amazon Web Services API Requests</a>
* </p>
* </li>
* <li>
* <p>
* <a href=
* "https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html"
* >Using the Amazon Cognito user pools API and user pool endpoints</a>
* </p>
* </li>
* </ul>
* </note>
*/
public class AdminAddUserToGroupRequest extends AmazonWebServiceRequest implements Serializable {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -24,9 +24,33 @@
* Confirms user registration as an admin without using a confirmation code.
* Works on any user.
* </p>
* <note>
* <p>
* 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.
* </p>
* <p class="title">
* <b>Learn more</b>
* </p>
* <ul>
* <li>
* <p>
* <a href=
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html"
* >Signing Amazon Web Services API Requests</a>
* </p>
* </li>
* <li>
* <p>
* <a href=
* "https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html"
* >Using the Amazon Cognito user pools API and user pool endpoints</a>
* </p>
* </li>
* </ul>
* </note>
*/
public class AdminConfirmSignUpRequest extends AmazonWebServiceRequest implements Serializable {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -46,7 +46,7 @@
* mode</a> </i>, 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 <a href=
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"
* "https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html"
* > SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon
* Cognito Developer Guide</i>.
* </p>
Expand All @@ -65,9 +65,33 @@
* In either case, the user will be in the <code>FORCE_CHANGE_PASSWORD</code>
* state until they sign in and change their password.
* </p>
* <note>
* <p>
* 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.
* </p>
* <p class="title">
* <b>Learn more</b>
* </p>
* <ul>
* <li>
* <p>
* <code>AdminCreateUser</code> requires developer credentials.
* <a href=
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html"
* >Signing Amazon Web Services API Requests</a>
* </p>
* </li>
* <li>
* <p>
* <a href=
* "https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html"
* >Using the Amazon Cognito user pools API and user pool endpoints</a>
* </p>
* </li>
* </ul>
* </note>
*/
public class AdminCreateUserRequest extends AmazonWebServiceRequest implements Serializable {
/**
Expand Down Expand Up @@ -181,10 +205,9 @@ public class AdminCreateUserRequest extends AmazonWebServiceRequest implements S
* </p>
* <p>
* 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 <code>AdminCreateUser</code>
* again, specifying <code>"RESEND"</code> for the
* <code>MessageAction</code> parameter.
* limit that you set for your user pool. To reset the account after that
* time limit, you must call <code>AdminCreateUser</code> again and specify
* <code>RESEND</code> for the <code>MessageAction</code> parameter.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand Down Expand Up @@ -1059,10 +1082,9 @@ public AdminCreateUserRequest withValidationData(
* </p>
* <p>
* 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 <code>AdminCreateUser</code>
* again, specifying <code>"RESEND"</code> for the
* <code>MessageAction</code> parameter.
* limit that you set for your user pool. To reset the account after that
* time limit, you must call <code>AdminCreateUser</code> again and specify
* <code>RESEND</code> for the <code>MessageAction</code> parameter.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand All @@ -1086,11 +1108,10 @@ public AdminCreateUserRequest withValidationData(
* </p>
* <p>
* 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
* <code>AdminCreateUser</code> again, specifying
* <code>"RESEND"</code> for the <code>MessageAction</code>
* parameter.
* expiration limit that you set for your user pool. To reset the
* account after that time limit, you must call
* <code>AdminCreateUser</code> again and specify
* <code>RESEND</code> for the <code>MessageAction</code> parameter.
* </p>
*/
public String getTemporaryPassword() {
Expand All @@ -1113,10 +1134,9 @@ public String getTemporaryPassword() {
* </p>
* <p>
* 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 <code>AdminCreateUser</code>
* again, specifying <code>"RESEND"</code> for the
* <code>MessageAction</code> parameter.
* limit that you set for your user pool. To reset the account after that
* time limit, you must call <code>AdminCreateUser</code> again and specify
* <code>RESEND</code> for the <code>MessageAction</code> parameter.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand All @@ -1140,10 +1160,10 @@ public String getTemporaryPassword() {
* </p>
* <p>
* 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 <code>AdminCreateUser</code> again, specifying
* <code>"RESEND"</code> for the <code>MessageAction</code>
* expiration limit that you set for your user pool. To reset the
* account after that time limit, you must call
* <code>AdminCreateUser</code> again and specify
* <code>RESEND</code> for the <code>MessageAction</code>
* parameter.
* </p>
*/
Expand All @@ -1167,10 +1187,9 @@ public void setTemporaryPassword(String temporaryPassword) {
* </p>
* <p>
* 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 <code>AdminCreateUser</code>
* again, specifying <code>"RESEND"</code> for the
* <code>MessageAction</code> parameter.
* limit that you set for your user pool. To reset the account after that
* time limit, you must call <code>AdminCreateUser</code> again and specify
* <code>RESEND</code> for the <code>MessageAction</code> parameter.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
Expand All @@ -1197,10 +1216,10 @@ public void setTemporaryPassword(String temporaryPassword) {
* </p>
* <p>
* 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 <code>AdminCreateUser</code> again, specifying
* <code>"RESEND"</code> for the <code>MessageAction</code>
* expiration limit that you set for your user pool. To reset the
* account after that time limit, you must call
* <code>AdminCreateUser</code> again and specify
* <code>RESEND</code> for the <code>MessageAction</code>
* parameter.
* </p>
* @return A reference to this updated object so that method calls can be
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -24,9 +24,33 @@
* Deletes the user attributes in a user pool as an administrator. Works on any
* user.
* </p>
* <note>
* <p>
* 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.
* </p>
* <p class="title">
* <b>Learn more</b>
* </p>
* <ul>
* <li>
* <p>
* <a href=
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html"
* >Signing Amazon Web Services API Requests</a>
* </p>
* </li>
* <li>
* <p>
* <a href=
* "https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html"
* >Using the Amazon Cognito user pools API and user pool endpoints</a>
* </p>
* </li>
* </ul>
* </note>
*/
public class AdminDeleteUserAttributesRequest extends AmazonWebServiceRequest implements
Serializable {
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Loading