Skip to content

Commit 58141a7

Browse files
feat(aws-android-sdk-core): update models to latest (#2898)
Co-authored-by: Erica Eaton <[email protected]>
1 parent 82a578a commit 58141a7

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

aws-android-sdk-core/src/main/java/com/amazonaws/services/securitytoken/AWSSecurityTokenService.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,16 @@ GetFederationTokenResult getFederationToken(GetFederationTokenRequest getFederat
10651065
* >Comparing the Amazon Web Services STS API operations</a> in the <i>IAM
10661066
* User Guide</i>.
10671067
* </p>
1068+
* <note>
1069+
* <p>
1070+
* No permissions are required for users to perform this operation. The
1071+
* purpose of the <code>sts:GetSessionToken</code> operation is to
1072+
* authenticate the user using MFA. You cannot use policies to control
1073+
* authentication operations. For more information, see <a href=
1074+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html"
1075+
* >Permissions for GetSessionToken</a> in the <i>IAM User Guide</i>.
1076+
* </p>
1077+
* </note>
10681078
* <p>
10691079
* <b>Session Duration</b>
10701080
* </p>
@@ -1165,6 +1175,16 @@ GetSessionTokenResult getSessionToken(GetSessionTokenRequest getSessionTokenRequ
11651175
* >Comparing the Amazon Web Services STS API operations</a> in the <i>IAM
11661176
* User Guide</i>.
11671177
* </p>
1178+
* <note>
1179+
* <p>
1180+
* No permissions are required for users to perform this operation. The
1181+
* purpose of the <code>sts:GetSessionToken</code> operation is to
1182+
* authenticate the user using MFA. You cannot use policies to control
1183+
* authentication operations. For more information, see <a href=
1184+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html"
1185+
* >Permissions for GetSessionToken</a> in the <i>IAM User Guide</i>.
1186+
* </p>
1187+
* </note>
11681188
* <p>
11691189
* <b>Session Duration</b>
11701190
* </p>

aws-android-sdk-core/src/main/java/com/amazonaws/services/securitytoken/AWSSecurityTokenServiceClient.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,6 +1465,16 @@ public GetFederationTokenResult getFederationToken(
14651465
* >Comparing the Amazon Web Services STS API operations</a> in the <i>IAM
14661466
* User Guide</i>.
14671467
* </p>
1468+
* <note>
1469+
* <p>
1470+
* No permissions are required for users to perform this operation. The
1471+
* purpose of the <code>sts:GetSessionToken</code> operation is to
1472+
* authenticate the user using MFA. You cannot use policies to control
1473+
* authentication operations. For more information, see <a href=
1474+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html"
1475+
* >Permissions for GetSessionToken</a> in the <i>IAM User Guide</i>.
1476+
* </p>
1477+
* </note>
14681478
* <p>
14691479
* <b>Session Duration</b>
14701480
* </p>
@@ -1582,6 +1592,16 @@ public GetSessionTokenResult getSessionToken(GetSessionTokenRequest getSessionTo
15821592
* >Comparing the Amazon Web Services STS API operations</a> in the <i>IAM
15831593
* User Guide</i>.
15841594
* </p>
1595+
* <note>
1596+
* <p>
1597+
* No permissions are required for users to perform this operation. The
1598+
* purpose of the <code>sts:GetSessionToken</code> operation is to
1599+
* authenticate the user using MFA. You cannot use policies to control
1600+
* authentication operations. For more information, see <a href=
1601+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html"
1602+
* >Permissions for GetSessionToken</a> in the <i>IAM User Guide</i>.
1603+
* </p>
1604+
* </note>
15851605
* <p>
15861606
* <b>Session Duration</b>
15871607
* </p>

aws-android-sdk-core/src/main/java/com/amazonaws/services/securitytoken/model/GetSessionTokenRequest.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@
3939
* >Comparing the Amazon Web Services STS API operations</a> in the <i>IAM User
4040
* Guide</i>.
4141
* </p>
42+
* <note>
43+
* <p>
44+
* No permissions are required for users to perform this operation. The purpose
45+
* of the <code>sts:GetSessionToken</code> operation is to authenticate the user
46+
* using MFA. You cannot use policies to control authentication operations. For
47+
* more information, see <a href=
48+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html"
49+
* >Permissions for GetSessionToken</a> in the <i>IAM User Guide</i>.
50+
* </p>
51+
* </note>
4252
* <p>
4353
* <b>Session Duration</b>
4454
* </p>

0 commit comments

Comments
 (0)