Skip to content

Commit d4c70dd

Browse files
feat(aws-android-sdk-core): update models to latest (#3176)
Co-authored-by: gpanshu <[email protected]>
1 parent 1da7adc commit d4c70dd

File tree

66 files changed

+101
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+101
-93
lines changed

aws-android-sdk-core/src/main/java/com/amazonaws/auth/policy/actions/SecurityTokenServiceActions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

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

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -94,12 +94,11 @@ public interface AWSSecurityTokenService {
9494
/**
9595
* <p>
9696
* Returns a set of temporary security credentials that you can use to
97-
* access Amazon Web Services resources that you might not normally have
98-
* access to. These temporary credentials consist of an access key ID, a
99-
* secret access key, and a security token. Typically, you use
100-
* <code>AssumeRole</code> within your account or for cross-account access.
101-
* For a comparison of <code>AssumeRole</code> with other API operations
102-
* that produce temporary credentials, see <a href=
97+
* access Amazon Web Services resources. These temporary credentials consist
98+
* of an access key ID, a secret access key, and a security token.
99+
* Typically, you use <code>AssumeRole</code> within your account or for
100+
* cross-account access. For a comparison of <code>AssumeRole</code> with
101+
* other API operations that produce temporary credentials, see <a href=
103102
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html"
104103
* >Requesting Temporary Security Credentials</a> and <a href=
105104
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison"
@@ -938,14 +937,14 @@ GetCallerIdentityResult getCallerIdentity(GetCallerIdentityRequest getCallerIden
938937
* </p>
939938
* <p>
940939
* You can use the temporary credentials created by
941-
* <code>GetFederationToken</code> in any Amazon Web Services service except
942-
* the following:
940+
* <code>GetFederationToken</code> in any Amazon Web Services service with
941+
* the following exceptions:
943942
* </p>
944943
* <ul>
945944
* <li>
946945
* <p>
947946
* You cannot call any IAM operations using the CLI or the Amazon Web
948-
* Services API.
947+
* Services API. This limitation does not apply to console sessions.
949948
* </p>
950949
* </li>
951950
* <li>
@@ -955,6 +954,10 @@ GetCallerIdentityResult getCallerIdentity(GetCallerIdentityRequest getCallerIden
955954
* </li>
956955
* </ul>
957956
* <p>
957+
* You can use temporary credentials for single sign-on (SSO) to the
958+
* console.
959+
* </p>
960+
* <p>
958961
* You must pass an inline or managed <a href=
959962
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session"
960963
* >session policy</a> to this operation. You can pass a single JSON policy

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

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -371,12 +371,11 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration
371371
/**
372372
* <p>
373373
* Returns a set of temporary security credentials that you can use to
374-
* access Amazon Web Services resources that you might not normally have
375-
* access to. These temporary credentials consist of an access key ID, a
376-
* secret access key, and a security token. Typically, you use
377-
* <code>AssumeRole</code> within your account or for cross-account access.
378-
* For a comparison of <code>AssumeRole</code> with other API operations
379-
* that produce temporary credentials, see <a href=
374+
* access Amazon Web Services resources. These temporary credentials consist
375+
* of an access key ID, a secret access key, and a security token.
376+
* Typically, you use <code>AssumeRole</code> within your account or for
377+
* cross-account access. For a comparison of <code>AssumeRole</code> with
378+
* other API operations that produce temporary credentials, see <a href=
380379
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html"
381380
* >Requesting Temporary Security Credentials</a> and <a href=
382381
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison"
@@ -1320,14 +1319,14 @@ public GetCallerIdentityResult getCallerIdentity(
13201319
* </p>
13211320
* <p>
13221321
* You can use the temporary credentials created by
1323-
* <code>GetFederationToken</code> in any Amazon Web Services service except
1324-
* the following:
1322+
* <code>GetFederationToken</code> in any Amazon Web Services service with
1323+
* the following exceptions:
13251324
* </p>
13261325
* <ul>
13271326
* <li>
13281327
* <p>
13291328
* You cannot call any IAM operations using the CLI or the Amazon Web
1330-
* Services API.
1329+
* Services API. This limitation does not apply to console sessions.
13311330
* </p>
13321331
* </li>
13331332
* <li>
@@ -1337,6 +1336,10 @@ public GetCallerIdentityResult getCallerIdentity(
13371336
* </li>
13381337
* </ul>
13391338
* <p>
1339+
* You can use temporary credentials for single sign-on (SSO) to the
1340+
* console.
1341+
* </p>
1342+
* <p>
13401343
* You must pass an inline or managed <a href=
13411344
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session"
13421345
* >session policy</a> to this operation. You can pass a single JSON policy

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -22,12 +22,11 @@
2222
/**
2323
* <p>
2424
* Returns a set of temporary security credentials that you can use to access
25-
* Amazon Web Services resources that you might not normally have access to.
26-
* These temporary credentials consist of an access key ID, a secret access key,
27-
* and a security token. Typically, you use <code>AssumeRole</code> within your
28-
* account or for cross-account access. For a comparison of
29-
* <code>AssumeRole</code> with other API operations that produce temporary
30-
* credentials, see <a href=
25+
* Amazon Web Services resources. These temporary credentials consist of an
26+
* access key ID, a secret access key, and a security token. Typically, you use
27+
* <code>AssumeRole</code> within your account or for cross-account access. For
28+
* a comparison of <code>AssumeRole</code> with other API operations that
29+
* produce temporary credentials, see <a href=
3130
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html"
3231
* >Requesting Temporary Security Credentials</a> and <a href=
3332
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)