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

securitytoken Update models to latest #3490

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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public class AssumeRoleRequest extends AmazonWebServiceRequest implements Serial
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 2048<br/>
* <b>Length: </b>1 - <br/>
* <b>Pattern: </b>[ -\u00FF]+<br/>
*/
private String policy;
Expand Down Expand Up @@ -508,7 +508,17 @@ public class AssumeRoleRequest extends AmazonWebServiceRequest implements Serial

/**
* <p>
* Reserved for future use.
* A list of previously acquired trusted context assertions in the format of
* a JSON array. The trusted context assertion is signed and encrypted by
* Amazon Web Services STS.
* </p>
* <p>
* The following is an example of a <code>ProvidedContext</code> value that
* includes a single trusted context assertion and the ARN of the context
* provider from which the trusted context assertion was generated.
* </p>
* <p>
* <code>[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]</code>
* </p>
*/
private java.util.List<ProvidedContext> providedContexts;
Expand Down Expand Up @@ -1115,7 +1125,7 @@ public AssumeRoleRequest withPolicyArns(java.util.Collection<PolicyDescriptorTyp
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 2048<br/>
* <b>Length: </b>1 - <br/>
* <b>Pattern: </b>[ -\u00FF]+<br/>
*
* @return <p>
Expand Down Expand Up @@ -1196,7 +1206,7 @@ public String getPolicy() {
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 2048<br/>
* <b>Length: </b>1 - <br/>
* <b>Pattern: </b>[ -\u00FF]+<br/>
*
* @param policy <p>
Expand Down Expand Up @@ -1280,7 +1290,7 @@ public void setPolicy(String policy) {
* together.
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>1 - 2048<br/>
* <b>Length: </b>1 - <br/>
* <b>Pattern: </b>[ -\u00FF]+<br/>
*
* @param policy <p>
Expand Down Expand Up @@ -2879,11 +2889,32 @@ public AssumeRoleRequest withSourceIdentity(String sourceIdentity) {

/**
* <p>
* Reserved for future use.
* A list of previously acquired trusted context assertions in the format of
* a JSON array. The trusted context assertion is signed and encrypted by
* Amazon Web Services STS.
* </p>
* <p>
* The following is an example of a <code>ProvidedContext</code> value that
* includes a single trusted context assertion and the ARN of the context
* provider from which the trusted context assertion was generated.
* </p>
* <p>
* <code>[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]</code>
* </p>
*
* @return <p>
* Reserved for future use.
* A list of previously acquired trusted context assertions in the
* format of a JSON array. The trusted context assertion is signed
* and encrypted by Amazon Web Services STS.
* </p>
* <p>
* The following is an example of a <code>ProvidedContext</code>
* value that includes a single trusted context assertion and the
* ARN of the context provider from which the trusted context
* assertion was generated.
* </p>
* <p>
* <code>[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]</code>
* </p>
*/
public java.util.List<ProvidedContext> getProvidedContexts() {
Expand All @@ -2892,11 +2923,32 @@ public java.util.List<ProvidedContext> getProvidedContexts() {

/**
* <p>
* Reserved for future use.
* A list of previously acquired trusted context assertions in the format of
* a JSON array. The trusted context assertion is signed and encrypted by
* Amazon Web Services STS.
* </p>
* <p>
* The following is an example of a <code>ProvidedContext</code> value that
* includes a single trusted context assertion and the ARN of the context
* provider from which the trusted context assertion was generated.
* </p>
* <p>
* <code>[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]</code>
* </p>
*
* @param providedContexts <p>
* Reserved for future use.
* A list of previously acquired trusted context assertions in
* the format of a JSON array. The trusted context assertion is
* signed and encrypted by Amazon Web Services STS.
* </p>
* <p>
* The following is an example of a <code>ProvidedContext</code>
* value that includes a single trusted context assertion and the
* ARN of the context provider from which the trusted context
* assertion was generated.
* </p>
* <p>
* <code>[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]</code>
* </p>
*/
public void setProvidedContexts(java.util.Collection<ProvidedContext> providedContexts) {
Expand All @@ -2910,14 +2962,35 @@ public void setProvidedContexts(java.util.Collection<ProvidedContext> providedCo

/**
* <p>
* Reserved for future use.
* A list of previously acquired trusted context assertions in the format of
* a JSON array. The trusted context assertion is signed and encrypted by
* Amazon Web Services STS.
* </p>
* <p>
* The following is an example of a <code>ProvidedContext</code> value that
* includes a single trusted context assertion and the ARN of the context
* provider from which the trusted context assertion was generated.
* </p>
* <p>
* <code>[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]</code>
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param providedContexts <p>
* Reserved for future use.
* A list of previously acquired trusted context assertions in
* the format of a JSON array. The trusted context assertion is
* signed and encrypted by Amazon Web Services STS.
* </p>
* <p>
* The following is an example of a <code>ProvidedContext</code>
* value that includes a single trusted context assertion and the
* ARN of the context provider from which the trusted context
* assertion was generated.
* </p>
* <p>
* <code>[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]</code>
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand All @@ -2935,14 +3008,35 @@ public AssumeRoleRequest withProvidedContexts(ProvidedContext... providedContext

/**
* <p>
* Reserved for future use.
* A list of previously acquired trusted context assertions in the format of
* a JSON array. The trusted context assertion is signed and encrypted by
* Amazon Web Services STS.
* </p>
* <p>
* The following is an example of a <code>ProvidedContext</code> value that
* includes a single trusted context assertion and the ARN of the context
* provider from which the trusted context assertion was generated.
* </p>
* <p>
* <code>[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]</code>
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param providedContexts <p>
* Reserved for future use.
* A list of previously acquired trusted context assertions in
* the format of a JSON array. The trusted context assertion is
* signed and encrypted by Amazon Web Services STS.
* </p>
* <p>
* The following is an example of a <code>ProvidedContext</code>
* value that includes a single trusted context assertion and the
* ARN of the context provider from which the trusted context
* assertion was generated.
* </p>
* <p>
* <code>[{"ProviderArn":"arn:aws:iam::aws:contextProvider/IdentityCenter","ContextAssertion":"trusted-context-assertion"}]</code>
* </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
Expand Up @@ -19,13 +19,16 @@

/**
* <p>
* Reserved for future use.
* Contains information about the provided context. This includes the signed and
* encrypted trusted context assertion and the context provider ARN from which
* the trusted context assertion was generated.
* </p>
*/
public class ProvidedContext implements Serializable {
/**
* <p>
* Reserved for future use.
* The context provider ARN from which the trusted context assertion was
* generated.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand All @@ -37,7 +40,9 @@ public class ProvidedContext implements Serializable {

/**
* <p>
* Reserved for future use.
* The signed and encrypted trusted context assertion generated by the
* context provider. The trusted context assertion is signed and encrypted
* by Amazon Web Services STS.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand All @@ -47,7 +52,8 @@ public class ProvidedContext implements Serializable {

/**
* <p>
* Reserved for future use.
* The context provider ARN from which the trusted context assertion was
* generated.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand All @@ -56,7 +62,8 @@ public class ProvidedContext implements Serializable {
* -\u007E\u0085\u00A0-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]+<br/>
*
* @return <p>
* Reserved for future use.
* The context provider ARN from which the trusted context assertion
* was generated.
* </p>
*/
public String getProviderArn() {
Expand All @@ -65,7 +72,8 @@ public String getProviderArn() {

/**
* <p>
* Reserved for future use.
* The context provider ARN from which the trusted context assertion was
* generated.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand All @@ -74,7 +82,8 @@ public String getProviderArn() {
* -\u007E\u0085\u00A0-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]+<br/>
*
* @param providerArn <p>
* Reserved for future use.
* The context provider ARN from which the trusted context
* assertion was generated.
* </p>
*/
public void setProviderArn(String providerArn) {
Expand All @@ -83,7 +92,8 @@ public void setProviderArn(String providerArn) {

/**
* <p>
* Reserved for future use.
* The context provider ARN from which the trusted context assertion was
* generated.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
Expand All @@ -95,7 +105,8 @@ public void setProviderArn(String providerArn) {
* -\u007E\u0085\u00A0-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]+<br/>
*
* @param providerArn <p>
* Reserved for future use.
* The context provider ARN from which the trusted context
* assertion was generated.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand All @@ -107,14 +118,18 @@ public ProvidedContext withProviderArn(String providerArn) {

/**
* <p>
* Reserved for future use.
* The signed and encrypted trusted context assertion generated by the
* context provider. The trusted context assertion is signed and encrypted
* by Amazon Web Services STS.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>4 - 2048<br/>
*
* @return <p>
* Reserved for future use.
* The signed and encrypted trusted context assertion generated by
* the context provider. The trusted context assertion is signed and
* encrypted by Amazon Web Services STS.
* </p>
*/
public String getContextAssertion() {
Expand All @@ -123,14 +138,18 @@ public String getContextAssertion() {

/**
* <p>
* Reserved for future use.
* The signed and encrypted trusted context assertion generated by the
* context provider. The trusted context assertion is signed and encrypted
* by Amazon Web Services STS.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b>4 - 2048<br/>
*
* @param contextAssertion <p>
* Reserved for future use.
* The signed and encrypted trusted context assertion generated
* by the context provider. The trusted context assertion is
* signed and encrypted by Amazon Web Services STS.
* </p>
*/
public void setContextAssertion(String contextAssertion) {
Expand All @@ -139,7 +158,9 @@ public void setContextAssertion(String contextAssertion) {

/**
* <p>
* Reserved for future use.
* The signed and encrypted trusted context assertion generated by the
* context provider. The trusted context assertion is signed and encrypted
* by Amazon Web Services STS.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
Expand All @@ -149,7 +170,9 @@ public void setContextAssertion(String contextAssertion) {
* <b>Length: </b>4 - 2048<br/>
*
* @param contextAssertion <p>
* Reserved for future use.
* The signed and encrypted trusted context assertion generated
* by the context provider. The trusted context assertion is
* signed and encrypted by Amazon Web Services STS.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down