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 #3599

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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 @@ -21,7 +21,9 @@

/**
* <p>
* Adds the specified user to the specified group.
* Adds a user to a group. A user who is in a group can present a preferred-role
* claim to an identity pool, and populates a <code>cognito:groups</code> claim
* to their access and identity tokens.
* </p>
* <note>
* <p>
Expand Down Expand Up @@ -65,7 +67,11 @@ public class AdminAddUserToGroupRequest extends AmazonWebServiceRequest implemen

/**
* <p>
* The username for the user.
* The username of the user that you want to query or modify. The value of
* this parameter is typically your user's username, but it can be any of
* their alias attributes. If <code>username</code> isn't an alias attribute
* in your user pool, this value must be the <code>sub</code> of a local
* user or the username of a user from a third-party IdP.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand All @@ -76,7 +82,7 @@ public class AdminAddUserToGroupRequest extends AmazonWebServiceRequest implemen

/**
* <p>
* The group name.
* The name of the group that you want to add your user to.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand Down Expand Up @@ -144,15 +150,24 @@ public AdminAddUserToGroupRequest withUserPoolId(String userPoolId) {

/**
* <p>
* The username for the user.
* The username of the user that you want to query or modify. The value of
* this parameter is typically your user's username, but it can be any of
* their alias attributes. If <code>username</code> isn't an alias attribute
* in your user pool, this value must be the <code>sub</code> of a local
* user or the username of a user from a third-party IdP.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[\p{L}\p{M}\p{S}\p{N}\p{P}]+<br/>
*
* @return <p>
* The username for the user.
* The username of the user that you want to query or modify. The
* value of this parameter is typically your user's username, but it
* can be any of their alias attributes. If <code>username</code>
* isn't an alias attribute in your user pool, this value must be
* the <code>sub</code> of a local user or the username of a user
* from a third-party IdP.
* </p>
*/
public String getUsername() {
Expand All @@ -161,15 +176,24 @@ public String getUsername() {

/**
* <p>
* The username for the user.
* The username of the user that you want to query or modify. The value of
* this parameter is typically your user's username, but it can be any of
* their alias attributes. If <code>username</code> isn't an alias attribute
* in your user pool, this value must be the <code>sub</code> of a local
* user or the username of a user from a third-party IdP.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[\p{L}\p{M}\p{S}\p{N}\p{P}]+<br/>
*
* @param username <p>
* The username for the user.
* The username of the user that you want to query or modify. The
* value of this parameter is typically your user's username, but
* it can be any of their alias attributes. If
* <code>username</code> isn't an alias attribute in your user
* pool, this value must be the <code>sub</code> of a local user
* or the username of a user from a third-party IdP.
* </p>
*/
public void setUsername(String username) {
Expand All @@ -178,7 +202,11 @@ public void setUsername(String username) {

/**
* <p>
* The username for the user.
* The username of the user that you want to query or modify. The value of
* this parameter is typically your user's username, but it can be any of
* their alias attributes. If <code>username</code> isn't an alias attribute
* in your user pool, this value must be the <code>sub</code> of a local
* user or the username of a user from a third-party IdP.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
Expand All @@ -189,7 +217,12 @@ public void setUsername(String username) {
* <b>Pattern: </b>[\p{L}\p{M}\p{S}\p{N}\p{P}]+<br/>
*
* @param username <p>
* The username for the user.
* The username of the user that you want to query or modify. The
* value of this parameter is typically your user's username, but
* it can be any of their alias attributes. If
* <code>username</code> isn't an alias attribute in your user
* pool, this value must be the <code>sub</code> of a local user
* or the username of a user from a third-party IdP.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand All @@ -201,15 +234,15 @@ public AdminAddUserToGroupRequest withUsername(String username) {

/**
* <p>
* The group name.
* The name of the group that you want to add your user to.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[\p{L}\p{M}\p{S}\p{N}\p{P}]+<br/>
*
* @return <p>
* The group name.
* The name of the group that you want to add your user to.
* </p>
*/
public String getGroupName() {
Expand All @@ -218,15 +251,15 @@ public String getGroupName() {

/**
* <p>
* The group name.
* The name of the group that you want to add your user to.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[\p{L}\p{M}\p{S}\p{N}\p{P}]+<br/>
*
* @param groupName <p>
* The group name.
* The name of the group that you want to add your user to.
* </p>
*/
public void setGroupName(String groupName) {
Expand All @@ -235,7 +268,7 @@ public void setGroupName(String groupName) {

/**
* <p>
* The group name.
* The name of the group that you want to add your user to.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
Expand All @@ -246,7 +279,7 @@ public void setGroupName(String groupName) {
* <b>Pattern: </b>[\p{L}\p{M}\p{S}\p{N}\p{P}]+<br/>
*
* @param groupName <p>
* The group name.
* The name of the group that you want to add your user to.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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 @@ -21,8 +21,19 @@

/**
* <p>
* Confirms user registration as an admin without using a confirmation code.
* Works on any user.
* This IAM-authenticated API operation provides a code that Amazon Cognito sent
* to your user when they signed up in your user pool. After your user enters
* their code, they confirm ownership of the email address or phone number that
* they provided, and their user account becomes active. Depending on your user
* pool configuration, your users will receive their confirmation code in an
* email or SMS message.
* </p>
* <p>
* Local users who signed up in your user pool are the only type of user who can
* confirm sign-up with a code. Users who federate through an external identity
* provider (IdP) have already been confirmed by their IdP.
* Administrator-created users confirm their accounts when they respond to their
* invitation email message and choose a password.
* </p>
* <note>
* <p>
Expand Down Expand Up @@ -66,7 +77,11 @@ public class AdminConfirmSignUpRequest extends AmazonWebServiceRequest implement

/**
* <p>
* The user name for which you want to confirm user registration.
* The username of the user that you want to query or modify. The value of
* this parameter is typically your user's username, but it can be any of
* their alias attributes. If <code>username</code> isn't an alias attribute
* in your user pool, this value must be the <code>sub</code> of a local
* user or the username of a user from a third-party IdP.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand Down Expand Up @@ -187,15 +202,24 @@ public AdminConfirmSignUpRequest withUserPoolId(String userPoolId) {

/**
* <p>
* The user name for which you want to confirm user registration.
* The username of the user that you want to query or modify. The value of
* this parameter is typically your user's username, but it can be any of
* their alias attributes. If <code>username</code> isn't an alias attribute
* in your user pool, this value must be the <code>sub</code> of a local
* user or the username of a user from a third-party IdP.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[\p{L}\p{M}\p{S}\p{N}\p{P}]+<br/>
*
* @return <p>
* The user name for which you want to confirm user registration.
* The username of the user that you want to query or modify. The
* value of this parameter is typically your user's username, but it
* can be any of their alias attributes. If <code>username</code>
* isn't an alias attribute in your user pool, this value must be
* the <code>sub</code> of a local user or the username of a user
* from a third-party IdP.
* </p>
*/
public String getUsername() {
Expand All @@ -204,15 +228,24 @@ public String getUsername() {

/**
* <p>
* The user name for which you want to confirm user registration.
* The username of the user that you want to query or modify. The value of
* this parameter is typically your user's username, but it can be any of
* their alias attributes. If <code>username</code> isn't an alias attribute
* in your user pool, this value must be the <code>sub</code> of a local
* user or the username of a user from a third-party IdP.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 128<br/>
* <b>Pattern: </b>[\p{L}\p{M}\p{S}\p{N}\p{P}]+<br/>
*
* @param username <p>
* The user name for which you want to confirm user registration.
* The username of the user that you want to query or modify. The
* value of this parameter is typically your user's username, but
* it can be any of their alias attributes. If
* <code>username</code> isn't an alias attribute in your user
* pool, this value must be the <code>sub</code> of a local user
* or the username of a user from a third-party IdP.
* </p>
*/
public void setUsername(String username) {
Expand All @@ -221,7 +254,11 @@ public void setUsername(String username) {

/**
* <p>
* The user name for which you want to confirm user registration.
* The username of the user that you want to query or modify. The value of
* this parameter is typically your user's username, but it can be any of
* their alias attributes. If <code>username</code> isn't an alias attribute
* in your user pool, this value must be the <code>sub</code> of a local
* user or the username of a user from a third-party IdP.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
Expand All @@ -232,7 +269,12 @@ public void setUsername(String username) {
* <b>Pattern: </b>[\p{L}\p{M}\p{S}\p{N}\p{P}]+<br/>
*
* @param username <p>
* The user name for which you want to confirm user registration.
* The username of the user that you want to query or modify. The
* value of this parameter is typically your user's username, but
* it can be any of their alias attributes. If
* <code>username</code> isn't an alias attribute in your user
* pool, this value must be the <code>sub</code> of a local user
* or the username of a user from a third-party IdP.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 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