Skip to content

Commit 5e8b0cf

Browse files
authored
feat(aws-android-sdk-core): update models to latest (#2819)
1 parent 289494b commit 5e8b0cf

File tree

66 files changed

+126
-116
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

+126
-116
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-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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.
@@ -475,8 +475,11 @@ AssumeRoleWithSAMLResult assumeRoleWithSAML(AssumeRoleWithSAMLRequest assumeRole
475475
* <p>
476476
* Returns a set of temporary security credentials for users who have been
477477
* authenticated in a mobile or web application with a web identity
478-
* provider. Example providers include Amazon Cognito, Login with Amazon,
479-
* Facebook, Google, or any OpenID Connect-compatible identity provider.
478+
* provider. Example providers include the OAuth 2.0 providers Login with
479+
* Amazon and Facebook, or any OpenID Connect-compatible identity provider
480+
* such as Google or <a href=
481+
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html"
482+
* >Amazon Cognito federated identities</a>.
480483
* </p>
481484
* <note>
482485
* <p>

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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.
@@ -786,8 +786,11 @@ public AssumeRoleWithSAMLResult assumeRoleWithSAML(
786786
* <p>
787787
* Returns a set of temporary security credentials for users who have been
788788
* authenticated in a mobile or web application with a web identity
789-
* provider. Example providers include Amazon Cognito, Login with Amazon,
790-
* Facebook, Google, or any OpenID Connect-compatible identity provider.
789+
* provider. Example providers include the OAuth 2.0 providers Login with
790+
* Amazon and Facebook, or any OpenID Connect-compatible identity provider
791+
* such as Google or <a href=
792+
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html"
793+
* >Amazon Cognito federated identities</a>.
791794
* </p>
792795
* <note>
793796
* <p>

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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.
@@ -374,7 +374,7 @@ public class AssumeRoleRequest extends AmazonWebServiceRequest implements Serial
374374
* calling session. If you pass a session tag with the same key as an
375375
* inherited tag, the operation fails. To view the inherited tags for a
376376
* session, see the CloudTrail logs. For more information, see <a href=
377-
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/session-tags.html#id_session-tags_ctlogs"
377+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs"
378378
* >Viewing Session Tags in CloudTrail</a> in the <i>IAM User Guide</i>.
379379
* </p>
380380
*/
@@ -1647,7 +1647,7 @@ public AssumeRoleRequest withDurationSeconds(Integer durationSeconds) {
16471647
* calling session. If you pass a session tag with the same key as an
16481648
* inherited tag, the operation fails. To view the inherited tags for a
16491649
* session, see the CloudTrail logs. For more information, see <a href=
1650-
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/session-tags.html#id_session-tags_ctlogs"
1650+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs"
16511651
* >Viewing Session Tags in CloudTrail</a> in the <i>IAM User Guide</i>.
16521652
* </p>
16531653
*
@@ -1701,7 +1701,7 @@ public AssumeRoleRequest withDurationSeconds(Integer durationSeconds) {
17011701
* key as an inherited tag, the operation fails. To view the
17021702
* inherited tags for a session, see the CloudTrail logs. For more
17031703
* information, see <a href=
1704-
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/session-tags.html#id_session-tags_ctlogs"
1704+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs"
17051705
* >Viewing Session Tags in CloudTrail</a> in the <i>IAM User
17061706
* Guide</i>.
17071707
* </p>
@@ -1758,7 +1758,7 @@ public java.util.List<Tag> getTags() {
17581758
* calling session. If you pass a session tag with the same key as an
17591759
* inherited tag, the operation fails. To view the inherited tags for a
17601760
* session, see the CloudTrail logs. For more information, see <a href=
1761-
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/session-tags.html#id_session-tags_ctlogs"
1761+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs"
17621762
* >Viewing Session Tags in CloudTrail</a> in the <i>IAM User Guide</i>.
17631763
* </p>
17641764
*
@@ -1813,7 +1813,7 @@ public java.util.List<Tag> getTags() {
18131813
* tag with the same key as an inherited tag, the operation
18141814
* fails. To view the inherited tags for a session, see the
18151815
* CloudTrail logs. For more information, see <a href=
1816-
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/session-tags.html#id_session-tags_ctlogs"
1816+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs"
18171817
* >Viewing Session Tags in CloudTrail</a> in the <i>IAM User
18181818
* Guide</i>.
18191819
* </p>
@@ -1875,7 +1875,7 @@ public void setTags(java.util.Collection<Tag> tags) {
18751875
* calling session. If you pass a session tag with the same key as an
18761876
* inherited tag, the operation fails. To view the inherited tags for a
18771877
* session, see the CloudTrail logs. For more information, see <a href=
1878-
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/session-tags.html#id_session-tags_ctlogs"
1878+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs"
18791879
* >Viewing Session Tags in CloudTrail</a> in the <i>IAM User Guide</i>.
18801880
* </p>
18811881
* <p>
@@ -1933,7 +1933,7 @@ public void setTags(java.util.Collection<Tag> tags) {
19331933
* tag with the same key as an inherited tag, the operation
19341934
* fails. To view the inherited tags for a session, see the
19351935
* CloudTrail logs. For more information, see <a href=
1936-
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/session-tags.html#id_session-tags_ctlogs"
1936+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs"
19371937
* >Viewing Session Tags in CloudTrail</a> in the <i>IAM User
19381938
* Guide</i>.
19391939
* </p>
@@ -1998,7 +1998,7 @@ public AssumeRoleRequest withTags(Tag... tags) {
19981998
* calling session. If you pass a session tag with the same key as an
19991999
* inherited tag, the operation fails. To view the inherited tags for a
20002000
* session, see the CloudTrail logs. For more information, see <a href=
2001-
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/session-tags.html#id_session-tags_ctlogs"
2001+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs"
20022002
* >Viewing Session Tags in CloudTrail</a> in the <i>IAM User Guide</i>.
20032003
* </p>
20042004
* <p>
@@ -2056,7 +2056,7 @@ public AssumeRoleRequest withTags(Tag... tags) {
20562056
* tag with the same key as an inherited tag, the operation
20572057
* fails. To view the inherited tags for a session, see the
20582058
* CloudTrail logs. For more information, see <a href=
2059-
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/session-tags.html#id_session-tags_ctlogs"
2059+
* "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs"
20602060
* >Viewing Session Tags in CloudTrail</a> in the <i>IAM User
20612061
* Guide</i>.
20622062
* </p>

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-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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: 42 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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.
@@ -23,8 +23,11 @@
2323
* <p>
2424
* Returns a set of temporary security credentials for users who have been
2525
* authenticated in a mobile or web application with a web identity provider.
26-
* Example providers include Amazon Cognito, Login with Amazon, Facebook,
27-
* Google, or any OpenID Connect-compatible identity provider.
26+
* Example providers include the OAuth 2.0 providers Login with Amazon and
27+
* Facebook, or any OpenID Connect-compatible identity provider such as Google
28+
* or <a href=
29+
* "https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html"
30+
* >Amazon Cognito federated identities</a>.
2831
* </p>
2932
* <note>
3033
* <p>
@@ -281,14 +284,14 @@ public class AssumeRoleWithWebIdentityRequest extends AmazonWebServiceRequest im
281284

282285
/**
283286
* <p>
284-
* The fully qualified host component of the domain name of the identity
285-
* provider.
287+
* The fully qualified host component of the domain name of the OAuth 2.0
288+
* identity provider. Do not specify this value for an OpenID Connect
289+
* identity provider.
286290
* </p>
287291
* <p>
288-
* Specify this value only for OAuth 2.0 access tokens. Currently
289-
* <code>www.amazon.com</code> and <code>graph.facebook.com</code> are the
290-
* only supported identity providers for OAuth 2.0 access tokens. Do not
291-
* include URL schemes and port numbers.
292+
* Currently <code>www.amazon.com</code> and <code>graph.facebook.com</code>
293+
* are the only supported identity providers for OAuth 2.0 access tokens. Do
294+
* not include URL schemes and port numbers.
292295
* </p>
293296
* <p>
294297
* Do not specify this value for OpenID Connect ID tokens.
@@ -685,14 +688,14 @@ public AssumeRoleWithWebIdentityRequest withWebIdentityToken(String webIdentityT
685688

686689
/**
687690
* <p>
688-
* The fully qualified host component of the domain name of the identity
689-
* provider.
691+
* The fully qualified host component of the domain name of the OAuth 2.0
692+
* identity provider. Do not specify this value for an OpenID Connect
693+
* identity provider.
690694
* </p>
691695
* <p>
692-
* Specify this value only for OAuth 2.0 access tokens. Currently
693-
* <code>www.amazon.com</code> and <code>graph.facebook.com</code> are the
694-
* only supported identity providers for OAuth 2.0 access tokens. Do not
695-
* include URL schemes and port numbers.
696+
* Currently <code>www.amazon.com</code> and <code>graph.facebook.com</code>
697+
* are the only supported identity providers for OAuth 2.0 access tokens. Do
698+
* not include URL schemes and port numbers.
696699
* </p>
697700
* <p>
698701
* Do not specify this value for OpenID Connect ID tokens.
@@ -703,13 +706,14 @@ public AssumeRoleWithWebIdentityRequest withWebIdentityToken(String webIdentityT
703706
*
704707
* @return <p>
705708
* The fully qualified host component of the domain name of the
706-
* identity provider.
709+
* OAuth 2.0 identity provider. Do not specify this value for an
710+
* OpenID Connect identity provider.
707711
* </p>
708712
* <p>
709-
* Specify this value only for OAuth 2.0 access tokens. Currently
710-
* <code>www.amazon.com</code> and <code>graph.facebook.com</code>
711-
* are the only supported identity providers for OAuth 2.0 access
712-
* tokens. Do not include URL schemes and port numbers.
713+
* Currently <code>www.amazon.com</code> and
714+
* <code>graph.facebook.com</code> are the only supported identity
715+
* providers for OAuth 2.0 access tokens. Do not include URL schemes
716+
* and port numbers.
713717
* </p>
714718
* <p>
715719
* Do not specify this value for OpenID Connect ID tokens.
@@ -721,14 +725,14 @@ public String getProviderId() {
721725

722726
/**
723727
* <p>
724-
* The fully qualified host component of the domain name of the identity
725-
* provider.
728+
* The fully qualified host component of the domain name of the OAuth 2.0
729+
* identity provider. Do not specify this value for an OpenID Connect
730+
* identity provider.
726731
* </p>
727732
* <p>
728-
* Specify this value only for OAuth 2.0 access tokens. Currently
729-
* <code>www.amazon.com</code> and <code>graph.facebook.com</code> are the
730-
* only supported identity providers for OAuth 2.0 access tokens. Do not
731-
* include URL schemes and port numbers.
733+
* Currently <code>www.amazon.com</code> and <code>graph.facebook.com</code>
734+
* are the only supported identity providers for OAuth 2.0 access tokens. Do
735+
* not include URL schemes and port numbers.
732736
* </p>
733737
* <p>
734738
* Do not specify this value for OpenID Connect ID tokens.
@@ -739,11 +743,11 @@ public String getProviderId() {
739743
*
740744
* @param providerId <p>
741745
* The fully qualified host component of the domain name of the
742-
* identity provider.
746+
* OAuth 2.0 identity provider. Do not specify this value for an
747+
* OpenID Connect identity provider.
743748
* </p>
744749
* <p>
745-
* Specify this value only for OAuth 2.0 access tokens. Currently
746-
* <code>www.amazon.com</code> and
750+
* Currently <code>www.amazon.com</code> and
747751
* <code>graph.facebook.com</code> are the only supported
748752
* identity providers for OAuth 2.0 access tokens. Do not include
749753
* URL schemes and port numbers.
@@ -758,14 +762,14 @@ public void setProviderId(String providerId) {
758762

759763
/**
760764
* <p>
761-
* The fully qualified host component of the domain name of the identity
762-
* provider.
765+
* The fully qualified host component of the domain name of the OAuth 2.0
766+
* identity provider. Do not specify this value for an OpenID Connect
767+
* identity provider.
763768
* </p>
764769
* <p>
765-
* Specify this value only for OAuth 2.0 access tokens. Currently
766-
* <code>www.amazon.com</code> and <code>graph.facebook.com</code> are the
767-
* only supported identity providers for OAuth 2.0 access tokens. Do not
768-
* include URL schemes and port numbers.
770+
* Currently <code>www.amazon.com</code> and <code>graph.facebook.com</code>
771+
* are the only supported identity providers for OAuth 2.0 access tokens. Do
772+
* not include URL schemes and port numbers.
769773
* </p>
770774
* <p>
771775
* Do not specify this value for OpenID Connect ID tokens.
@@ -779,11 +783,11 @@ public void setProviderId(String providerId) {
779783
*
780784
* @param providerId <p>
781785
* The fully qualified host component of the domain name of the
782-
* identity provider.
786+
* OAuth 2.0 identity provider. Do not specify this value for an
787+
* OpenID Connect identity provider.
783788
* </p>
784789
* <p>
785-
* Specify this value only for OAuth 2.0 access tokens. Currently
786-
* <code>www.amazon.com</code> and
790+
* Currently <code>www.amazon.com</code> and
787791
* <code>graph.facebook.com</code> are the only supported
788792
* identity providers for OAuth 2.0 access tokens. Do not include
789793
* URL schemes and port numbers.

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-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2022 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)