From 1c081b94d720b9d70da6ffd0ce1cbd5c417d072f Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 17 Nov 2023 20:13:28 +0000 Subject: [PATCH] docs(client-sts): API updates for the AWS Security Token Service --- clients/client-sts/src/models/models_0.ts | 18 ++++++++++++++---- codegen/sdk-codegen/aws-models/sts.json | 8 ++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/clients/client-sts/src/models/models_0.ts b/clients/client-sts/src/models/models_0.ts index e9c6e2b7ee81..539eac8b4219 100644 --- a/clients/client-sts/src/models/models_0.ts +++ b/clients/client-sts/src/models/models_0.ts @@ -42,18 +42,21 @@ export interface PolicyDescriptorType { /** * @public - *

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.

*/ export interface ProvidedContext { /** * @public - *

Reserved for future use.

+ *

The context provider ARN from which the trusted context assertion was generated.

*/ ProviderArn?: string; /** * @public - *

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.

*/ ContextAssertion?: string; } @@ -301,7 +304,14 @@ export interface AssumeRoleRequest { /** * @public - *

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.

+ *

The following is an example of a ProvidedContext value that includes a + * single trusted context assertion and the ARN of the context provider from which the trusted + * context assertion was generated.

+ *

+ * [\{"ProviderArn":"arn:aws:iam::aws:contextProvider/identitycenter","ContextAssertion":"trusted-context-assertion"\}] + *

*/ ProvidedContexts?: ProvidedContext[]; } diff --git a/codegen/sdk-codegen/aws-models/sts.json b/codegen/sdk-codegen/aws-models/sts.json index 2a19fc576155..35a3c8be8a95 100644 --- a/codegen/sdk-codegen/aws-models/sts.json +++ b/codegen/sdk-codegen/aws-models/sts.json @@ -2386,7 +2386,7 @@ "ProvidedContexts": { "target": "com.amazonaws.sts#ProvidedContextsListType", "traits": { - "smithy.api#documentation": "

Reserved for future use.

" + "smithy.api#documentation": "

A list of previously acquired trusted context assertions in the format of a JSON array.\n The trusted context assertion is signed and encrypted by Amazon Web Services STS.

\n

The following is an example of a ProvidedContext value that includes a\n single trusted context assertion and the ARN of the context provider from which the trusted\n context assertion was generated.

\n

\n [{\"ProviderArn\":\"arn:aws:iam::aws:contextProvider/identitycenter\",\"ContextAssertion\":\"trusted-context-assertion\"}]\n

" } } }, @@ -3353,18 +3353,18 @@ "ProviderArn": { "target": "com.amazonaws.sts#arnType", "traits": { - "smithy.api#documentation": "

Reserved for future use.

" + "smithy.api#documentation": "

The context provider ARN from which the trusted context assertion was generated.

" } }, "ContextAssertion": { "target": "com.amazonaws.sts#contextAssertionType", "traits": { - "smithy.api#documentation": "

Reserved for future use.

" + "smithy.api#documentation": "

The signed and encrypted trusted context assertion generated by the context provider.\n The trusted context assertion is signed and encrypted by Amazon Web Services STS.

" } } }, "traits": { - "smithy.api#documentation": "

Reserved for future use.

" + "smithy.api#documentation": "

Contains information about the provided context. This includes the signed and encrypted\n trusted context assertion and the context provider ARN from which the trusted context\n assertion was generated.

" } }, "com.amazonaws.sts#ProvidedContextsListType": {