From c766d349131bbcc9c49d5c079eb3c9a8b0b8da6a Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Thu, 12 May 2022 18:06:43 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/ec2.json | 20 ++- .../sdk-codegen/aws-models/finspace-data.json | 7 +- codegen/sdk-codegen/aws-models/iot.json | 107 +++++++++-- codegen/sdk-codegen/aws-models/ivschat.json | 79 ++++----- codegen/sdk-codegen/aws-models/kendra.json | 166 ++++++++++++++++++ codegen/sdk-codegen/aws-models/lambda.json | 46 ++++- codegen/sdk-codegen/aws-models/lightsail.json | 14 +- codegen/sdk-codegen/aws-models/outposts.json | 26 +-- .../sdk-codegen/aws-models/ssm-incidents.json | 92 ++++++++-- codegen/sdk-codegen/aws-models/transfer.json | 4 +- .../sdk-codegen/aws-models/workspaces.json | 2 +- 11 files changed, 473 insertions(+), 90 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index a3906537105..3544917128c 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -14089,7 +14089,7 @@ "target": "com.amazonaws.ec2#CreateTrafficMirrorTargetResult" }, "traits": { - "smithy.api#documentation": "

Creates a target for your Traffic Mirror session.

\n

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and\n the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in\n different VPCs connected via VPC peering or a transit gateway.

\n

A Traffic Mirror target can be a network interface, or a Network Load Balancer.

\n

To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession.

" + "smithy.api#documentation": "

Creates a target for your Traffic Mirror session.

\n

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and\n the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in\n different VPCs connected via VPC peering or a transit gateway.

\n

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

\n

To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession.

" } }, "com.amazonaws.ec2#CreateTrafficMirrorTargetRequest": { @@ -14132,6 +14132,12 @@ "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "smithy.api#idempotencyToken": {} } + }, + "GatewayLoadBalancerEndpointId": { + "target": "com.amazonaws.ec2#VpcEndpointId", + "traits": { + "smithy.api#documentation": "

The ID of the Gateway Load Balancer endpoint.

" + } } } }, @@ -74446,6 +74452,14 @@ "smithy.api#documentation": "

The tags assigned to the Traffic Mirror target.

", "smithy.api#xmlName": "tagSet" } + }, + "GatewayLoadBalancerEndpointId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "GatewayLoadBalancerEndpointId", + "smithy.api#documentation": "

The ID of the Gateway Load Balancer endpoint.

", + "smithy.api#xmlName": "gatewayLoadBalancerEndpointId" + } } }, "traits": { @@ -74484,6 +74498,10 @@ { "value": "network-load-balancer", "name": "network_load_balancer" + }, + { + "value": "gateway-load-balancer-endpoint", + "name": "gateway_load_balancer_endpoint" } ] } diff --git a/codegen/sdk-codegen/aws-models/finspace-data.json b/codegen/sdk-codegen/aws-models/finspace-data.json index dd67dfc5e20..37d3e54f9ed 100644 --- a/codegen/sdk-codegen/aws-models/finspace-data.json +++ b/codegen/sdk-codegen/aws-models/finspace-data.json @@ -2608,6 +2608,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "changesets", "pageSize": "maxResults" } } @@ -2698,6 +2699,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "dataViews", "pageSize": "maxResults" } } @@ -2785,6 +2787,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "datasets", "pageSize": "maxResults" } } @@ -2864,6 +2867,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "permissionGroups", "pageSize": "maxResults" } } @@ -2937,6 +2941,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "users", "pageSize": "maxResults" } } @@ -3229,7 +3234,7 @@ } }, "traits": { - "smithy.api#documentation": "

Resource permission for a dataset. When you create a dataset, all the other members of the same user group inherit access to the dataset. You can only create a dataset if your user group has application permission for Create Datasets.

\n

The following is a list of valid dataset permissions that you can apply:\n \n

\n \n

For more information on the dataset permissions, see Supported Dataset Permissions in the FinSpace User Guide.

" + "smithy.api#documentation": "

Resource permission for a dataset. When you create a dataset, all the other members of the same user group inherit access to the dataset. You can only create a dataset if your user group has application permission for Create Datasets.

\n

The following is a list of valid dataset permissions that you can apply:\n \n

\n \n

For more information on the dataset permissions, see Supported Dataset Permissions in the FinSpace User Guide.

" } }, "com.amazonaws.finspacedata#ResourcePermissionsList": { diff --git a/codegen/sdk-codegen/aws-models/iot.json b/codegen/sdk-codegen/aws-models/iot.json index c81d9142977..68e0a0cfff2 100644 --- a/codegen/sdk-codegen/aws-models/iot.json +++ b/codegen/sdk-codegen/aws-models/iot.json @@ -848,6 +848,9 @@ "input": { "target": "com.amazonaws.iot#AcceptCertificateTransferRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -1711,6 +1714,9 @@ "input": { "target": "com.amazonaws.iot#AttachPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -1768,6 +1774,9 @@ "input": { "target": "com.amazonaws.iot#AttachPrincipalPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -3738,6 +3747,9 @@ "input": { "target": "com.amazonaws.iot#CancelCertificateTransferRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -3873,6 +3885,9 @@ "input": { "target": "com.amazonaws.iot#CancelJobExecutionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InvalidRequestException" @@ -5817,7 +5832,7 @@ "targetSelection": { "target": "com.amazonaws.iot#TargetSelection", "traits": { - "smithy.api#documentation": "

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things\n specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing\n when a change is detected in a target. For example, a job will run on a thing when the thing is added to a\n target group, even after the job was completed by all things originally in the group.

" + "smithy.api#documentation": "

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things\n specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing\n when a change is detected in a target. For example, a job will run on a thing when the thing is added to a\n target group, even after the job was completed by all things originally in the group.

\n \n

We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. \n By using continuous jobs, devices that join the group receive the job execution even after the job has\n been created.

\n
" } }, "jobExecutionsRolloutConfig": { @@ -5865,7 +5880,7 @@ "documentParameters": { "target": "com.amazonaws.iot#ParameterMap", "traits": { - "smithy.api#documentation": "

Parameters of a managed template that you can specify to create the job document.

" + "smithy.api#documentation": "

Parameters of an Amazon Web Services managed template that you can specify to create the job document.

\n \n

\n documentParameters can only be used when creating jobs from Amazon Web Services \n managed templates. This parameter can't be used with custom job templates or to \n create jobs from them.

\n
" } } } @@ -7502,6 +7517,9 @@ "input": { "target": "com.amazonaws.iot#CreateTopicRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#ConflictingResourceUpdateException" @@ -7653,13 +7671,13 @@ "hashAlgorithm": { "target": "com.amazonaws.iot#HashAlgorithm", "traits": { - "smithy.api#documentation": "

The hash algorithm used to code sign the file.

" + "smithy.api#documentation": "

The hash algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses SHA256 or SHA1, so you can pass either of them based on which was used for generating the signature.

" } }, "signatureAlgorithm": { "target": "com.amazonaws.iot#SignatureAlgorithm", "traits": { - "smithy.api#documentation": "

The signature algorithm used to code sign the file.

" + "smithy.api#documentation": "

The signature algorithm used to code sign the file. You can use a string as the algorithm name if the target over-the-air (OTA) update devices are able to verify the signature that was generated using the same signature algorithm. For example, FreeRTOS uses ECDSA or RSA, so you can pass either of them based on which was used for generating the signature.

" } } }, @@ -8051,6 +8069,9 @@ "input": { "target": "com.amazonaws.iot#DeleteCertificateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#CertificateStateException" @@ -8329,6 +8350,9 @@ "input": { "target": "com.amazonaws.iot#DeleteFleetMetricRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -8383,6 +8407,9 @@ "input": { "target": "com.amazonaws.iot#DeleteJobRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InvalidRequestException" @@ -8417,6 +8444,9 @@ "input": { "target": "com.amazonaws.iot#DeleteJobExecutionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InvalidRequestException" @@ -8518,6 +8548,9 @@ "input": { "target": "com.amazonaws.iot#DeleteJobTemplateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -8675,6 +8708,9 @@ "input": { "target": "com.amazonaws.iot#DeletePolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#DeleteConflictException" @@ -8728,6 +8764,9 @@ "input": { "target": "com.amazonaws.iot#DeletePolicyVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#DeleteConflictException" @@ -9367,6 +9406,9 @@ "input": { "target": "com.amazonaws.iot#DeleteTopicRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#ConflictingResourceUpdateException" @@ -9465,6 +9507,9 @@ "input": { "target": "com.amazonaws.iot#DeleteV2LoggingLevelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalException" @@ -11266,7 +11311,7 @@ "documentParameters": { "target": "com.amazonaws.iot#DocumentParameters", "traits": { - "smithy.api#documentation": "

A map of key-value pairs that you can use as guidance to specify the inputs for creating \n a job from a managed template.

" + "smithy.api#documentation": "

A map of key-value pairs that you can use as guidance to specify the inputs for creating \n a job from a managed template.

\n \n

\n documentParameters can only be used when creating jobs from Amazon Web Services \n managed templates. This parameter can't be used with custom job templates or to \n create jobs from them.

\n
" } }, "document": { @@ -12344,6 +12389,9 @@ "input": { "target": "com.amazonaws.iot#DetachPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -12398,6 +12446,9 @@ "input": { "target": "com.amazonaws.iot#DetachPrincipalPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -12968,6 +13019,9 @@ "input": { "target": "com.amazonaws.iot#DisableTopicRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#ConflictingResourceUpdateException" @@ -13048,7 +13102,7 @@ } }, "traits": { - "smithy.api#documentation": "

A map of key-value pairs containing the patterns that need to be replaced in a managed\n template job document schema. You can use the description of each key as a guidance to specify \n the inputs during runtime when creating a job.

" + "smithy.api#documentation": "

A map of key-value pairs containing the patterns that need to be replaced in a managed\n template job document schema. You can use the description of each key as a guidance to specify \n the inputs during runtime when creating a job.

\n \n

\n documentParameters can only be used when creating jobs from Amazon Web Services \n managed templates. This parameter can't be used with custom job templates or to \n create jobs from them.

\n
" } }, "com.amazonaws.iot#DocumentParameters": { @@ -13406,6 +13460,9 @@ "input": { "target": "com.amazonaws.iot#EnableTopicRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#ConflictingResourceUpdateException" @@ -15813,7 +15870,7 @@ "targetSelection": { "target": "com.amazonaws.iot#TargetSelection", "traits": { - "smithy.api#documentation": "

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things\n specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing\n when a change is detected in a target. For example, a job will run on a device when the thing representing\n the device is added to a target group, even after the job was completed by all things originally in the \n group.

" + "smithy.api#documentation": "

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things\n specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing\n when a change is detected in a target. For example, a job will run on a device when the thing representing\n the device is added to a target group, even after the job was completed by all things originally in the \n group.

\n \n

We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. \n By using continuous jobs, devices that join the group receive the job execution even after the job has\n been created.

\n
" } }, "status": { @@ -15921,7 +15978,7 @@ "documentParameters": { "target": "com.amazonaws.iot#ParameterMap", "traits": { - "smithy.api#documentation": "

A key-value map that pairs the patterns that need to be replaced in a managed \n template job document schema. You can use the description of each key as a guidance \n to specify the inputs during runtime when creating a job.

" + "smithy.api#documentation": "

A key-value map that pairs the patterns that need to be replaced in a managed \n template job document schema. You can use the description of each key as a guidance \n to specify the inputs during runtime when creating a job.

\n \n

\n documentParameters can only be used when creating jobs from Amazon Web Services \n managed templates. This parameter can't be used with custom job templates or to \n create jobs from them.

\n
" } }, "isConcurrent": { @@ -16363,7 +16420,7 @@ "targetSelection": { "target": "com.amazonaws.iot#TargetSelection", "traits": { - "smithy.api#documentation": "

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things\n specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing\n when a change is detected in a target. For example, a job will run on a thing when the thing is added to a\n target group, even after the job was completed by all things originally in the group.

" + "smithy.api#documentation": "

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things\n specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing\n when a change is detected in a target. For example, a job will run on a thing when the thing is added to a\n target group, even after the job was completed by all things originally in the group.

\n \n

We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. \n By using continuous jobs, devices that join the group receive the job execution even after the job has\n been created.

\n
" } }, "status": { @@ -18645,7 +18702,7 @@ "targetSelection": { "target": "com.amazonaws.iot#TargetSelection", "traits": { - "smithy.api#documentation": "

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things\n specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing\n when a change is detected in a target. For example, a job will run on a thing when the thing is added to a\n target group, even after the job was completed by all things originally in the group.

", + "smithy.api#documentation": "

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things\n specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing\n when a change is detected in a target. For example, a job will run on a thing when the thing is added to a\n target group, even after the job was completed by all things originally in the group.

\n \n

We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. \n By using continuous jobs, devices that join the group receive the job execution even after the job has\n been created.

\n
", "smithy.api#httpQuery": "targetSelection" } }, @@ -23960,6 +24017,9 @@ "input": { "target": "com.amazonaws.iot#RejectCertificateTransferRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -24221,6 +24281,9 @@ "input": { "target": "com.amazonaws.iot#ReplaceTopicRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#ConflictingResourceUpdateException" @@ -25314,6 +25377,9 @@ "input": { "target": "com.amazonaws.iot#SetDefaultPolicyVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -25372,6 +25438,9 @@ "input": { "target": "com.amazonaws.iot#SetLoggingOptionsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalException" @@ -25413,6 +25482,9 @@ "input": { "target": "com.amazonaws.iot#SetV2LoggingLevelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalException" @@ -25463,6 +25535,9 @@ "input": { "target": "com.amazonaws.iot#SetV2LoggingOptionsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalException" @@ -28625,6 +28700,9 @@ "input": { "target": "com.amazonaws.iot#UpdateCACertificateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InternalFailureException" @@ -28716,6 +28794,9 @@ "input": { "target": "com.amazonaws.iot#UpdateCertificateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#CertificateStateException" @@ -29199,6 +29280,9 @@ "input": { "target": "com.amazonaws.iot#UpdateFleetMetricRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#IndexNotReadyException" @@ -29368,6 +29452,9 @@ "input": { "target": "com.amazonaws.iot#UpdateJobRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot#InvalidRequestException" diff --git a/codegen/sdk-codegen/aws-models/ivschat.json b/codegen/sdk-codegen/aws-models/ivschat.json index dcdfdc5859e..5d58cc8c4c4 100644 --- a/codegen/sdk-codegen/aws-models/ivschat.json +++ b/codegen/sdk-codegen/aws-models/ivschat.json @@ -24,8 +24,7 @@ "sdkId": "ivschat", "arnNamespace": "ivschat", "cloudFormationName": "IVSChat", - "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE", - "endpointPrefix": "ivschat" + "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE" }, "aws.auth#sigv4": { "name": "ivschat" @@ -33,23 +32,24 @@ "aws.protocols#restJson1": {}, "smithy.api#cors": { "additionalAllowedHeaders": [ - "amz-sdk-invocation-id", - "amz-sdk-request", + "Content-Type", "X-Api-Key", "X-Amz-Content-Sha256", - "Content-Type", - "X-Amz-User-Agent" + "X-Amz-User-Agent", + "amz-sdk-invocation-id", + "amz-sdk-request" ], "additionalExposedHeaders": [ - "date", - "x-amz-apigw-id", - "x-amzn-trace-id", "x-amzn-errortype", "x-amzn-requestid", - "x-amzn-errormessage" + "x-amzn-errormessage", + "x-amzn-trace-id", + "x-amzn-requestid", + "x-amz-apigw-id", + "date" ] }, - "smithy.api#documentation": "

\n Introduction\n

\n

The Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat\n resources. You also need to integrate with the Amazon IVS Chat Messaging\n API, to enable users to interact with chat rooms in real time.

\n

The API is an AWS regional service. For a list of supported regions and Amazon IVS Chat\n HTTPS service endpoints, see the Amazon IVS Chat information on the Amazon IVS page in the\n AWS General Reference.

\n

\n Notes on terminology:\n

\n \n\n

\n Resources\n

\n

The following resource is part of Amazon IVS Chat:

\n \n\n

\n API Access Security\n

\n

Your Amazon IVS Chat applications (service applications and clients) must be authenticated\n and authorized to access Amazon IVS Chat resources. Note the differences between these\n concepts:

\n \n

Users (viewers) connect to a room using secure access tokens that you create using the\n CreateChatToken endpoint through the AWS SDK. You call CreateChatToken for\n every user’s chat session, passing identity and authorization information about the\n user.

\n

\n Signing API Requests\n

\n

HTTP API requests must be signed with an AWS SigV4 signature using your AWS security\n credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the\n underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API\n directly, it’s your responsibility to sign the requests.

\n\n\n\n\n

You generate a signature using valid AWS credentials for an IAM role that has permission\n to perform the requested action. For example, DeleteMessage requests must be made using an IAM\n role that has the ivschat:DeleteMessage permission.

\n

For more information:

\n \n\n

\n Messaging Endpoints\n

\n \n

\n Chat Token Endpoint\n

\n \n\n\n

\n Room Endpoints\n

\n \n\n

\n Tags Endpoints\n

\n \n\n\n

All the above are HTTP operations. There is a separate messaging API\n for managing Chat resources; see the Amazon IVS Chat Messaging API\n Reference.

", + "smithy.api#documentation": "

\n Introduction\n

\n

The Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat\n resources. You also need to integrate with the Amazon IVS Chat Messaging\n API, to enable users to interact with chat rooms in real time.

\n

The API is an AWS regional service. For a list of supported regions and Amazon IVS Chat\n HTTPS service endpoints, see the Amazon IVS Chat information on the Amazon IVS page in the\n AWS General Reference.

\n

\n Notes on terminology:\n

\n \n

\n Resources\n

\n

The following resource is part of Amazon IVS Chat:

\n \n

\n API Access Security\n

\n

Your Amazon IVS Chat applications (service applications and clients) must be authenticated\n and authorized to access Amazon IVS Chat resources. Note the differences between these\n concepts:

\n \n

Users (viewers) connect to a room using secure access tokens that you create using the\n CreateChatToken endpoint through the AWS SDK. You call CreateChatToken for\n every user’s chat session, passing identity and authorization information about the\n user.

\n

\n Signing API Requests\n

\n

HTTP API requests must be signed with an AWS SigV4 signature using your AWS security\n credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the\n underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API\n directly, it’s your responsibility to sign the requests.

\n

You generate a signature using valid AWS credentials for an IAM role that has permission\n to perform the requested action. For example, DeleteMessage requests must be made using an IAM\n role that has the ivschat:DeleteMessage permission.

\n

For more information:

\n \n

\n Messaging Endpoints\n

\n \n

\n Chat Token Endpoint\n

\n \n

\n Room Endpoints\n

\n \n

\n Tags Endpoints\n

\n \n

All the above are HTTP operations. There is a separate messaging API\n for managing Chat resources; see the Amazon IVS Chat Messaging API\n Reference.

", "smithy.api#title": "Amazon Interactive Video Service Chat" }, "version": "2020-07-14", @@ -185,8 +185,7 @@ "smithy.api#documentation": "

Creates an encrypted token that is used to establish an individual WebSocket connection\n to a room. The token is valid for one minute, and a connection (session) established with\n the token is valid for the specified duration.

\n

Encryption keys are owned by Amazon IVS Chat and never used directly by your\n application.

", "smithy.api#http": { "method": "POST", - "uri": "/CreateChatToken", - "code": 200 + "uri": "/CreateChatToken" } } }, @@ -282,8 +281,7 @@ "smithy.api#documentation": "

Creates a room that allows clients to connect and pass messages.

", "smithy.api#http": { "method": "POST", - "uri": "/CreateRoom", - "code": 200 + "uri": "/CreateRoom" } } }, @@ -299,7 +297,7 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { - "smithy.api#documentation": "

Maximum number of messages per second that a client can send to the room. Default:\n 10.

" + "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients).\n Default: 10.

" } }, "maximumMessageLength": { @@ -358,7 +356,7 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { - "smithy.api#documentation": "

Maximum number of messages per second that a client can send to the room, from the\n request.

" + "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients),\n from the request.

" } }, "maximumMessageLength": { @@ -404,11 +402,10 @@ } ], "traits": { - "smithy.api#documentation": "

Sends an event to a specific room which directs clients to delete a specific message;\n that is, unrender it from view and delete it from the client’s chat history. This event’s\n EventName is aws:DELETE_MESSAGE. This replicates the DeleteMessage WebSocket operation\n in the Amazon IVS Chat Messaging API.

", + "smithy.api#documentation": "

Sends an event to a specific room which directs clients to delete a specific message;\n that is, unrender it from view and delete it from the client’s chat history. This event’s\n EventName is aws:DELETE_MESSAGE. This replicates the \n DeleteMessage WebSocket operation in the Amazon IVS Chat Messaging API.

", "smithy.api#http": { "method": "POST", - "uri": "/DeleteMessage", - "code": 200 + "uri": "/DeleteMessage" } } }, @@ -460,6 +457,9 @@ { "target": "com.amazonaws.ivschat#AccessDeniedException" }, + { + "target": "com.amazonaws.ivschat#PendingVerification" + }, { "target": "com.amazonaws.ivschat#ResourceNotFoundException" }, @@ -511,11 +511,10 @@ } ], "traits": { - "smithy.api#documentation": "

Disconnects all connections using a specified user ID from a room. This replicates the DisconnectUser WebSocket operation\n in the Amazon IVS Chat Messaging API.

", + "smithy.api#documentation": "

Disconnects all connections using a specified user ID from a room. This replicates the\n \n DisconnectUser WebSocket operation in the Amazon IVS Chat Messaging API.

", "smithy.api#http": { "method": "POST", - "uri": "/DisconnectUser", - "code": 200 + "uri": "/DisconnectUser" } } }, @@ -610,8 +609,7 @@ "smithy.api#documentation": "

Gets the specified room.

", "smithy.api#http": { "method": "POST", - "uri": "/GetRoom", - "code": 200 + "uri": "/GetRoom" }, "smithy.api#readonly": {} } @@ -664,7 +662,7 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { - "smithy.api#documentation": "

Maximum number of messages per second that a client can send to the room. Default:\n 10.

" + "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients). Default:\n 10.

" } }, "maximumMessageLength": { @@ -749,8 +747,7 @@ "smithy.api#documentation": "

Gets summary information about all your rooms in the AWS region where the API request is\n processed. Results are sorted in descending order of updateTime.

", "smithy.api#http": { "method": "POST", - "uri": "/ListRooms", - "code": 200 + "uri": "/ListRooms" }, "smithy.api#paginated": { "inputToken": "nextToken", @@ -830,8 +827,7 @@ "smithy.api#documentation": "

Gets information about AWS tags for the specified ARN.

", "smithy.api#http": { "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#readonly": {} } @@ -1130,8 +1126,7 @@ "smithy.api#documentation": "

Sends an event to a room. Use this within your application’s business logic to send\n events to clients of a room; e.g., to notify clients to change the way the chat UI is\n rendered.

", "smithy.api#http": { "method": "POST", - "uri": "/SendEvent", - "code": 200 + "uri": "/SendEvent" } } }, @@ -1264,8 +1259,7 @@ "smithy.api#documentation": "

Adds or updates tags for the AWS resource with the specified ARN.

", "smithy.api#http": { "method": "POST", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" } } }, @@ -1383,8 +1377,7 @@ "smithy.api#documentation": "

Removes tags from the resource with the specified ARN.

", "smithy.api#http": { "method": "DELETE", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#idempotent": {} } @@ -1426,6 +1419,9 @@ { "target": "com.amazonaws.ivschat#AccessDeniedException" }, + { + "target": "com.amazonaws.ivschat#PendingVerification" + }, { "target": "com.amazonaws.ivschat#ResourceNotFoundException" }, @@ -1437,8 +1433,7 @@ "smithy.api#documentation": "

Updates a room’s configuration.

", "smithy.api#http": { "method": "POST", - "uri": "/UpdateRoom", - "code": 200 + "uri": "/UpdateRoom" } } }, @@ -1461,7 +1456,7 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { - "smithy.api#documentation": "

The maximum number of messages per second that a client can send to the room. Default:\n 10.

" + "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients). Default:\n 10.

" } }, "maximumMessageLength": { @@ -1473,7 +1468,7 @@ "messageReviewHandler": { "target": "com.amazonaws.ivschat#MessageReviewHandler", "traits": { - "smithy.api#documentation": "

Configuration information for optional review of messages. Specify an empty uri string to disassociate a message review handler from the specified room.

" + "smithy.api#documentation": "

Configuration information for optional review of messages. Specify an empty\n uri string to disassociate a message review handler from the specified\n room.

" } } } @@ -1508,13 +1503,13 @@ "updateTime": { "target": "com.amazonaws.ivschat#Time", "traits": { - "smithy.api#documentation": "

Time of the room’s last update. This is an ISO 8601 timestamp; note\n that this is returned as a string.

" + "smithy.api#documentation": "

Time of the room’s last update. This is an ISO 8601 timestamp; note that this\n is returned as a string.

" } }, "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { - "smithy.api#documentation": "

Maximum number of messages per second that a client can send to the room, from the\n request.

" + "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients), from the request.

" } }, "maximumMessageLength": { diff --git a/codegen/sdk-codegen/aws-models/kendra.json b/codegen/sdk-codegen/aws-models/kendra.json index 1b629f5081a..77759625425 100644 --- a/codegen/sdk-codegen/aws-models/kendra.json +++ b/codegen/sdk-codegen/aws-models/kendra.json @@ -2669,6 +2669,12 @@ "traits": { "smithy.api#documentation": "

Provides the configuration information to connect to Quip as your \n data source.

" } + }, + "JiraConfiguration": { + "target": "com.amazonaws.kendra#JiraConfiguration", + "traits": { + "smithy.api#documentation": "

Provides the configuration information to connect to Jira as your \n data source.

" + } } }, "traits": { @@ -3134,6 +3140,10 @@ { "value": "QUIP", "name": "QUIP" + }, + { + "value": "JIRA", + "name": "JIRA" } ] } @@ -6742,6 +6752,43 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.kendra#IssueSubEntity": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "COMMENTS", + "name": "COMMENTS" + }, + { + "value": "ATTACHMENTS", + "name": "ATTACHMENTS" + }, + { + "value": "WORKLOGS", + "name": "WORKLOGS" + } + ] + } + }, + "com.amazonaws.kendra#IssueSubEntityFilter": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#IssueSubEntity" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 3 + } + } + }, + "com.amazonaws.kendra#IssueType": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#String" + } + }, "com.amazonaws.kendra#Issuer": { "type": "string", "traits": { @@ -6752,6 +6799,119 @@ "smithy.api#pattern": "^\\P{C}*$" } }, + "com.amazonaws.kendra#JiraAccountUrl": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^https:\\/\\/[a-zA-Z0-9_\\-\\.]+(\\.atlassian\\.net\\/)$" + } + }, + "com.amazonaws.kendra#JiraConfiguration": { + "type": "structure", + "members": { + "JiraAccountUrl": { + "target": "com.amazonaws.kendra#JiraAccountUrl", + "traits": { + "smithy.api#documentation": "

The URL of the Jira account. For example, company.attlassian.net or \n https://jira.company.com. You can find your Jira account URL in the URL of \n your profile page for Jira desktop.

", + "smithy.api#required": {} + } + }, + "SecretArn": { + "target": "com.amazonaws.kendra#SecretArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that \n contains the key-value pairs required to connect to your Jira \n data source. The secret must \n contain a JSON structure with the following keys:

\n ", + "smithy.api#required": {} + } + }, + "UseChangeLog": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

Specify to use the change log option to update your index.

" + } + }, + "Project": { + "target": "com.amazonaws.kendra#Project", + "traits": { + "smithy.api#documentation": "

Specify which projects to crawl in your Jira data source. You can specify \n one or more Jira project IDs.

" + } + }, + "IssueType": { + "target": "com.amazonaws.kendra#IssueType", + "traits": { + "smithy.api#documentation": "

Specify which issue types to crawl in your Jira data source. \n You can specify one or more of these options to crawl.

" + } + }, + "Status": { + "target": "com.amazonaws.kendra#JiraStatus", + "traits": { + "smithy.api#documentation": "

Specify which statuses to crawl in your Jira data source. \n You can specify one or more of these options to crawl.

" + } + }, + "IssueSubEntityFilter": { + "target": "com.amazonaws.kendra#IssueSubEntityFilter", + "traits": { + "smithy.api#documentation": "

Specify whether to crawl comments,\n attachments,\n and work logs. You can specify one or more of these options.

" + } + }, + "AttachmentFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes \n or field names of Jira attachments to Amazon Kendra index field names. \n To create custom fields, use the UpdateIndex API before you map to Jira \n fields. For\n more information, see \n Mapping data source fields. The Jira data source field names \n must exist in your Jira custom metadata.

" + } + }, + "CommentFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes \n or field names of Jira comments to Amazon Kendra index field names. \n To create custom fields, use the UpdateIndex API before you map to Jira \n fields. For\n more information, see \n Mapping data source fields. The Jira data source field names \n must exist in your Jira custom metadata.

" + } + }, + "IssueFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes \n or field names of Jira issues to Amazon Kendra index field names. \n To create custom fields, use the UpdateIndex API before you map to Jira \n fields. For\n more information, see \n Mapping data source fields. The Jira data source field names \n must exist in your Jira custom metadata.

" + } + }, + "ProjectFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes \n or field names of Jira projects to Amazon Kendra index field names. \n To create custom fields, use the UpdateIndex API before you map to Jira \n fields. For\n more information, see \n Mapping data source fields. The Jira data source field names \n must exist in your Jira custom metadata.

" + } + }, + "WorkLogFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes \n or field names of Jira work logs to Amazon Kendra index field names. \n To create custom fields, use the UpdateIndex API before you map to Jira \n fields. For\n more information, see \n Mapping data source fields. The Jira data source field names \n must exist in your Jira custom metadata.

" + } + }, + "InclusionPatterns": { + "target": "com.amazonaws.kendra#DataSourceInclusionsExclusionsStrings", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to include certain file paths,\n file\n names, and\n file types in your Jira data source. Files that match the patterns are included in the\n index. Files that don't match the patterns are excluded from the index. If a file\n matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes\n precedence and the file isn't included in the index.

" + } + }, + "ExclusionPatterns": { + "target": "com.amazonaws.kendra#DataSourceInclusionsExclusionsStrings", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to exclude certain file paths,\n file names, and file types\n in your Jira data source. Files that match the patterns \n are excluded from the index. Files that don’t match the patterns are \n included in the index. If a file matches both an inclusion pattern \n and an exclusion pattern, the exclusion pattern takes precedence \n and the file isn't included in the index.

" + } + }, + "VpcConfiguration": { + "target": "com.amazonaws.kendra#DataSourceVpcConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information for an \n Amazon Virtual Private Cloud to connect to your Jira. Your Jira \n account must reside inside your VPC.

" + } + } + } + }, + "com.amazonaws.kendra#JiraStatus": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#String" + } + }, "com.amazonaws.kendra#JsonTokenTypeConfiguration": { "type": "structure", "members": { @@ -8310,6 +8470,12 @@ "target": "com.amazonaws.kendra#String" } }, + "com.amazonaws.kendra#Project": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#String" + } + }, "com.amazonaws.kendra#ProxyConfiguration": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index 3a2f7bc0eae..df2327634db 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -1168,7 +1168,7 @@ "BatchSize": { "target": "com.amazonaws.lambda#BatchSize", "traits": { - "smithy.api#documentation": "

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).

\n " + "smithy.api#documentation": "

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).

\n " } }, "FilterCriteria": { @@ -1577,6 +1577,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteAliasRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -1721,6 +1724,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -1752,6 +1758,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionCodeSigningConfigRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#CodeSigningConfigNotFoundException" @@ -1799,6 +1808,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionConcurrencyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -1843,6 +1855,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionEventInvokeConfigRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -1914,6 +1929,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionUrlConfigRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#ResourceConflictException" @@ -1962,6 +1980,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteLayerVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#ServiceException" @@ -2005,6 +2026,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteProvisionedConcurrencyConfigRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -2518,7 +2542,7 @@ "FunctionResponseTypes": { "target": "com.amazonaws.lambda#FunctionResponseTypeList", "traits": { - "smithy.api#documentation": "

(Streams only) A list of current response type enums applied to the event source mapping.

" + "smithy.api#documentation": "

(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.

" } } }, @@ -7110,6 +7134,9 @@ "input": { "target": "com.amazonaws.lambda#RemoveLayerVersionPermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -7177,6 +7204,9 @@ "input": { "target": "com.amazonaws.lambda#RemovePermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -7383,6 +7413,10 @@ "value": "nodejs14.x", "name": "nodejs14x" }, + { + "value": "nodejs16.x", + "name": "nodejs16x" + }, { "value": "java8", "name": "java8" @@ -7789,6 +7823,9 @@ "input": { "target": "com.amazonaws.lambda#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -8027,6 +8064,9 @@ "input": { "target": "com.amazonaws.lambda#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -8290,7 +8330,7 @@ "BatchSize": { "target": "com.amazonaws.lambda#BatchSize", "traits": { - "smithy.api#documentation": "

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).

\n " + "smithy.api#documentation": "

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).

\n " } }, "FilterCriteria": { diff --git a/codegen/sdk-codegen/aws-models/lightsail.json b/codegen/sdk-codegen/aws-models/lightsail.json index 595901aa36e..f17b211494a 100644 --- a/codegen/sdk-codegen/aws-models/lightsail.json +++ b/codegen/sdk-codegen/aws-models/lightsail.json @@ -7929,7 +7929,7 @@ "includeInactive": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

A Boolean value indicating whether to include inactive results in your request.

" + "smithy.api#documentation": "

A Boolean value that indicates whether to include inactive (unavailable) blueprints in the\n response of your request.

" } }, "pageToken": { @@ -8051,7 +8051,7 @@ "includeInactive": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

A Boolean value that indicates whether to include inactive (unavailable) bundles in the\n response.

" + "smithy.api#documentation": "

A Boolean value that indicates whether to include inactive (unavailable) bundles in the\n response of your request.

" } } } @@ -8284,7 +8284,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the list of bundles that are available for purchase. A bundle describes the specs\n for your virtual private server (or instance).

", + "smithy.api#documentation": "

Returns the bundles that you can apply to an Amazon Lightsail instance when you create\n it.

\n\n

A bundle describes the specifications of an instance, such as the monthly cost, amount of\n memory, the number of vCPUs, amount of storage space, and monthly network data transfer\n quota.

\n\n \n

Bundles are referred to as instance plans in the Lightsail\n console.

\n
", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/GetBundles", @@ -8298,7 +8298,7 @@ "includeInactive": { "target": "com.amazonaws.lightsail#boolean", "traits": { - "smithy.api#documentation": "

A Boolean value that indicates whether to include inactive bundle results in your\n request.

" + "smithy.api#documentation": "

A Boolean value that indicates whether to include inactive (unavailable) bundles in the\n response of your request.

" } }, "pageToken": { @@ -11245,6 +11245,12 @@ "traits": { "smithy.api#documentation": "

The token to advance to the next page of results from your request.

\n

To get a page token, perform an initial GetRelationalDatabaseBundles request.\n If your results are paginated, the response will return a next page token that you can specify\n as the page token in a subsequent request.

" } + }, + "includeInactive": { + "target": "com.amazonaws.lightsail#boolean", + "traits": { + "smithy.api#documentation": "

A Boolean value that indicates whether to include inactive (unavailable) bundles in the\n response of your request.

" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/outposts.json b/codegen/sdk-codegen/aws-models/outposts.json index 0ae67eb74d6..5e7878c3d92 100644 --- a/codegen/sdk-codegen/aws-models/outposts.json +++ b/codegen/sdk-codegen/aws-models/outposts.json @@ -670,7 +670,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#required": {} } }, @@ -828,7 +828,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -879,7 +879,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1111,7 +1111,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1160,7 +1160,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1191,7 +1191,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID of the Outpost.\n

" + "smithy.api#documentation": "

\n The ID of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
" } }, "OutpostArn": { @@ -1275,7 +1275,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1316,7 +1316,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1568,7 +1568,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on \n Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware\n assets that allocate resources for Dedicated Hosts. \n

", + "smithy.api#documentation": "

\n Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on \n Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware\n assets that allocate resources for Dedicated Hosts. \n

", "smithy.api#http": { "method": "GET", "uri": "/outposts/{OutpostIdentifier}/assets", @@ -3135,7 +3135,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3236,7 +3236,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3280,7 +3280,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3347,7 +3347,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", + "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/ssm-incidents.json b/codegen/sdk-codegen/aws-models/ssm-incidents.json index d9bdee2cd6c..17755351381 100644 --- a/codegen/sdk-codegen/aws-models/ssm-incidents.json +++ b/codegen/sdk-codegen/aws-models/ssm-incidents.json @@ -135,7 +135,7 @@ "chatbotSns": { "target": "com.amazonaws.ssmincidents#ChatbotSnsConfigurationSet", "traits": { - "smithy.api#documentation": "

The Amazon SNS targets that Chatbot uses to notify the chat channel\n of updates to an incident. You can also make updates to the incident through the chat\n channel\n by\n using the Amazon SNS topics.

" + "smithy.api#documentation": "

The Amazon SNS targets that Chatbot uses to notify the chat channel\n of updates to an incident. You can also make updates to the incident through the chat\n channel by using the Amazon SNS topics.

" } } }, @@ -501,7 +501,7 @@ "eventData": { "target": "com.amazonaws.ssmincidents#EventData", "traits": { - "smithy.api#documentation": "

A short description of the event as a valid JSON string. There is no other schema\n imposed.

", + "smithy.api#documentation": "

A short description of the event.

", "smithy.api#required": {} } } @@ -832,6 +832,44 @@ "type": "structure", "members": {} }, + "com.amazonaws.ssmincidents#DynamicSsmParameterValue": { + "type": "union", + "members": { + "variable": { + "target": "com.amazonaws.ssmincidents#VariableType", + "traits": { + "smithy.api#documentation": "

Variable dynamic parameters. A parameter value is determined when an incident is created.

", + "smithy.api#tags": [ + "logs_investigations" + ] + } + } + }, + "traits": { + "smithy.api#documentation": "

The dynamic SSM parameter value.

" + } + }, + "com.amazonaws.ssmincidents#DynamicSsmParameters": { + "type": "map", + "key": { + "target": "smithy.api#String", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "value": { + "target": "com.amazonaws.ssmincidents#DynamicSsmParameterValue" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, "com.amazonaws.ssmincidents#EmptyChatChannel": { "type": "structure", "members": {}, @@ -939,7 +977,7 @@ "condition": { "target": "com.amazonaws.ssmincidents#Condition", "traits": { - "smithy.api#documentation": "

The condition accepts before or after a specified time, equal to a string, or equal to an integer.

", + "smithy.api#documentation": "

The condition accepts before or after a specified time, equal to a string, or equal to\n an integer.

", "smithy.api#required": {} } } @@ -1525,7 +1563,7 @@ "dedupeString": { "target": "com.amazonaws.ssmincidents#DedupeString", "traits": { - "smithy.api#documentation": "

The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.

", + "smithy.api#documentation": "

The string Incident Manager uses to prevent duplicate incidents from being created by the\n same incident in the same account.

", "smithy.api#required": {} } }, @@ -1562,7 +1600,7 @@ "invokedBy": { "target": "com.amazonaws.ssmincidents#ServicePrincipal", "traits": { - "smithy.api#documentation": "

The principal the assumed the role specified of the createdBy.

", + "smithy.api#documentation": "

The service principal that assumed the role specified in createdBy. If no\n service principal assumed the role this will be left blank.

", "smithy.api#tags": [ "logs_investigations" ] @@ -1716,7 +1754,7 @@ "dedupeString": { "target": "com.amazonaws.ssmincidents#DedupeString", "traits": { - "smithy.api#documentation": "

Used to stop Incident Manager from creating multiple incident records for the same incident.

", + "smithy.api#documentation": "

Used to stop Incident Manager from creating multiple incident records for the same incident.\n

", "smithy.api#tags": [ "logs_investigations" ] @@ -1730,7 +1768,7 @@ } }, "traits": { - "smithy.api#documentation": "

Basic details used in creating a response plan. The response plan is then used to create an incident record.

" + "smithy.api#documentation": "

Basic details used in creating a response plan. The response plan is then used to create\n an incident record.

" } }, "com.amazonaws.ssmincidents#IncidentTitle": { @@ -1786,7 +1824,7 @@ "type": { "target": "com.amazonaws.ssmincidents#ItemType", "traits": { - "smithy.api#documentation": "

The type of related item. Incident Manager supports the following types:

\n ", + "smithy.api#documentation": "

The type of related item.

", "smithy.api#required": {}, "smithy.api#tags": [ "logs_investigations" @@ -1829,6 +1867,10 @@ { "value": "AUTOMATION", "name": "AUTOMATION" + }, + { + "value": "INVOLVED_RESOURCE", + "name": "INVOLVED_RESOURCE" } ] } @@ -2467,7 +2509,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds a resource policy to the specified response plan.

", + "smithy.api#documentation": "

Adds a resource policy to the specified response plan. The resource policy is used to\n share the response plan using Resource Access Manager (RAM). For more\n information about cross-account sharing, see Setting up\n cross-account functionality.

", "smithy.api#http": { "code": 200, "method": "POST", @@ -2842,7 +2884,7 @@ } }, "traits": { - "smithy.api#documentation": "

The resource policy that allows Incident Manager to perform actions on resources on your behalf.

" + "smithy.api#documentation": "

The resource policy that allows Incident Manager to perform actions on resources on your\n behalf.

" } }, "com.amazonaws.ssmincidents#ResourcePolicyList": { @@ -3168,7 +3210,7 @@ "roleArn": { "target": "com.amazonaws.ssmincidents#RoleArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role that the automation document will assume when\n running commands.

", "smithy.api#required": {}, "smithy.api#tags": [ "logs_investigations" @@ -3201,7 +3243,7 @@ "targetAccount": { "target": "com.amazonaws.ssmincidents#SsmTargetAccount", "traits": { - "smithy.api#documentation": "

The account that the automation document will be run in. This can be in either the management account or an application account.

", + "smithy.api#documentation": "

The account that the automation document will be run in. This can be in either the\n management account or an application account.

", "smithy.api#tags": [ "logs_investigations" ] @@ -3212,6 +3254,12 @@ "traits": { "smithy.api#documentation": "

The key-value pair parameters to use when running the automation document.

" } + }, + "dynamicParameters": { + "target": "com.amazonaws.ssmincidents#DynamicSsmParameters", + "traits": { + "smithy.api#documentation": "

The key-value pair to resolve dynamic parameter values when processing a Systems Manager Automation runbook.

" + } } }, "traits": { @@ -3224,7 +3272,7 @@ "smithy.api#length": { "max": 2048 }, - "smithy.api#pattern": "^arn:[-\\w+=/,.@]+:ssm-contacts:[-\\w+=/,.@]*:[0-9]+:([\\w+=/,.@:-]+)*$" + "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:ssm-contacts:[a-z0-9-]*:([0-9]{12}):contact/[a-z0-9_-]+$" } }, "com.amazonaws.ssmincidents#SsmParameterValues": { @@ -4009,6 +4057,9 @@ { "target": "com.amazonaws.ssmincidents#AccessDeniedException" }, + { + "target": "com.amazonaws.ssmincidents#ConflictException" + }, { "target": "com.amazonaws.ssmincidents#InternalServerException" }, @@ -4339,6 +4390,21 @@ "smithy.api#error": "client", "smithy.api#httpError": 400 } + }, + "com.amazonaws.ssmincidents#VariableType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "INCIDENT_RECORD_ARN", + "name": "INCIDENT_RECORD_ARN" + }, + { + "value": "INVOLVED_RESOURCES", + "name": "INVOLVED_RESOURCES" + } + ] + } } } } \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/transfer.json b/codegen/sdk-codegen/aws-models/transfer.json index 227dddd6133..c10fb83b9ba 100644 --- a/codegen/sdk-codegen/aws-models/transfer.json +++ b/codegen/sdk-codegen/aws-models/transfer.json @@ -298,7 +298,7 @@ "HostKey": { "target": "com.amazonaws.transfer#HostKey", "traits": { - "smithy.api#documentation": "

The RSA private key as generated by the ssh-keygen -N \"\" -m PEM -f\n my-new-server-key command.

\n\n \n

If you aren't planning to migrate existing users from an existing SFTP-enabled\n server to a new server, don't update the host key. Accidentally changing a\n server's host key can be disruptive.

\n
\n\n \n\n

For more information, see Change the host key for your SFTP-enabled server in the Amazon Web Services Transfer\n Family User Guide.

" + "smithy.api#documentation": "

The RSA or ECDSA private key to use for your server.

\n \n

Use the following command to generate an RSA 2048 bit key with no passphrase:

\n

\n ssh-keygen -t rsa -b 2048 -N \"\" -m PEM -f my-new-server-key.

\n

Use a minimum value of 2048 for the -b option: you can create a stronger key using 3072 or 4096.

\n \n

Use the following command to generate an ECDSA 256 bit key with no passphrase:

\n

\n ssh-keygen -t ecdsa -b 256 -N \"\" -m PEM -f my-new-server-key.

\n

Valid values for the -b option for ECDSA are 256, 384, and 521.

\n \n

For both of these commands, you can replace my-new-server-key with a string of your choice.

\n\n \n

If you aren't planning to migrate existing users from an existing SFTP-enabled\n server to a new server, don't update the host key. Accidentally changing a\n server's host key can be disruptive.

\n
\n\n \n\n

For more information, see Change the host key for your SFTP-enabled server in the Amazon Web Services Transfer\n Family User Guide.

" } }, "IdentityProviderDetails": { @@ -4477,7 +4477,7 @@ "HostKey": { "target": "com.amazonaws.transfer#HostKey", "traits": { - "smithy.api#documentation": "

The RSA private key as generated by ssh-keygen -N \"\" -m PEM -f\n my-new-server-key.

\n\n \n

If you aren't planning to migrate existing users from an existing server to a new\n server, don't update the host key. Accidentally changing a server's host key can\n be disruptive.

\n
\n\n \n\n

For more information, see Change the host key for your SFTP-enabled server in the Amazon Web ServicesTransfer\n Family User Guide.

" + "smithy.api#documentation": "

The RSA or ECDSA private key to use for your server.

\n \n

Use the following command to generate an RSA 2048 bit key with no passphrase:

\n

\n ssh-keygen -t rsa -b 2048 -N \"\" -m PEM -f my-new-server-key.

\n

Use a minimum value of 2048 for the -b option: you can create a stronger key using 3072 or 4096.

\n \n

Use the following command to generate an ECDSA 256 bit key with no passphrase:

\n

\n ssh-keygen -t ecdsa -b 256 -N \"\" -m PEM -f my-new-server-key.

\n

Valid values for the -b option for ECDSA are 256, 384, and 521.

\n \n

For both of these commands, you can replace my-new-server-key with a string of your choice.

\n\n \n

If you aren't planning to migrate existing users from an existing SFTP-enabled\n server to a new server, don't update the host key. Accidentally changing a\n server's host key can be disruptive.

\n
\n\n \n\n

For more information, see Change the host key for your SFTP-enabled server in the Amazon Web Services Transfer\n Family User Guide.

" } }, "IdentityProviderDetails": { diff --git a/codegen/sdk-codegen/aws-models/workspaces.json b/codegen/sdk-codegen/aws-models/workspaces.json index 08cf7d68748..600d5c1647d 100644 --- a/codegen/sdk-codegen/aws-models/workspaces.json +++ b/codegen/sdk-codegen/aws-models/workspaces.json @@ -475,7 +475,7 @@ "traits": { "smithy.api#length": { "min": 0, - "max": 600 + "max": 850 }, "smithy.api#pattern": "^.*$" }