From 0c7296cad7d52ecb9f5efa48326a9d9a6e2be74d Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 12 May 2022 11:27:16 -0700 Subject: [PATCH] Release v1.44.13 (2022-05-12) (#4400) Release v1.44.13 (2022-05-12) === ### Service Client Updates * `service/ec2`: Updates service API and documentation * This release introduces a target type Gateway Load Balancer Endpoint for mirrored traffic. Customers can now specify GatewayLoadBalancerEndpoint option during the creation of a traffic mirror target. * `service/finspace-data`: Updates service documentation * `service/iot`: Updates service documentation * Documentation update for China region ListMetricValues for IoT * `service/ivschat`: Updates service API and documentation * `service/kendra`: Updates service API and documentation * Amazon Kendra now provides a data source connector for Jira. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-jira.html * `service/lambda`: Updates service API and documentation * Lambda releases NodeJs 16 managed runtime to be available in all commercial regions. * `service/lightsail`: Updates service API and documentation * This release adds support to include inactive database bundles in the response of the GetRelationalDatabaseBundles request. * `service/outposts`: Updates service documentation * `service/ssm-incidents`: Updates service API and documentation * `service/transfer`: Updates service documentation * AWS Transfer Family now accepts ECDSA keys for server host keys * `service/workspaces`: Updates service API * Increased the character limit of the login message from 600 to 850 characters. --- CHANGELOG.md | 23 ++ aws/version.go | 2 +- models/apis/ec2/2016-11-15/api-2.json | 10 +- models/apis/ec2/2016-11-15/docs-2.json | 4 +- .../apis/finspace-data/2020-07-13/docs-2.json | 2 +- models/apis/iot/2015-05-28/docs-2.json | 20 +- models/apis/ivschat/2020-07-14/api-2.json | 2 + models/apis/ivschat/2020-07-14/docs-2.json | 12 +- models/apis/kendra/2019-02-03/api-2.json | 62 +++- models/apis/kendra/2019-02-03/docs-2.json | 55 +++ models/apis/lambda/2015-03-31/api-2.json | 1 + models/apis/lambda/2015-03-31/docs-2.json | 6 +- models/apis/lightsail/2016-11-28/api-2.json | 3 +- models/apis/lightsail/2016-11-28/docs-2.json | 9 +- models/apis/outposts/2019-12-03/docs-2.json | 24 +- .../apis/ssm-incidents/2018-05-10/api-2.json | 33 +- .../apis/ssm-incidents/2018-05-10/docs-2.json | 32 +- models/apis/transfer/2018-11-05/docs-2.json | 4 +- models/apis/workspaces/2015-04-08/api-2.json | 2 +- service/ec2/api.go | 25 +- service/finspacedata/api.go | 2 +- service/iot/api.go | 47 ++- service/ivschat/api.go | 24 +- service/ivschat/doc.go | 160 +++++---- service/kendra/api.go | 335 ++++++++++++++++++ service/lambda/api.go | 12 +- service/lightsail/api.go | 29 +- service/outposts/api.go | 72 ++++ service/ssmincidents/api.go | 94 ++++- service/transfer/api.go | 45 ++- 30 files changed, 989 insertions(+), 162 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5d00e228f9..26967eec0e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +Release v1.44.13 (2022-05-12) +=== + +### Service Client Updates +* `service/ec2`: Updates service API and documentation + * This release introduces a target type Gateway Load Balancer Endpoint for mirrored traffic. Customers can now specify GatewayLoadBalancerEndpoint option during the creation of a traffic mirror target. +* `service/finspace-data`: Updates service documentation +* `service/iot`: Updates service documentation + * Documentation update for China region ListMetricValues for IoT +* `service/ivschat`: Updates service API and documentation +* `service/kendra`: Updates service API and documentation + * Amazon Kendra now provides a data source connector for Jira. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-jira.html +* `service/lambda`: Updates service API and documentation + * Lambda releases NodeJs 16 managed runtime to be available in all commercial regions. +* `service/lightsail`: Updates service API and documentation + * This release adds support to include inactive database bundles in the response of the GetRelationalDatabaseBundles request. +* `service/outposts`: Updates service documentation +* `service/ssm-incidents`: Updates service API and documentation +* `service/transfer`: Updates service documentation + * AWS Transfer Family now accepts ECDSA keys for server host keys +* `service/workspaces`: Updates service API + * Increased the character limit of the login message from 600 to 850 characters. + Release v1.44.12 (2022-05-11) === diff --git a/aws/version.go b/aws/version.go index aee0e587d46..2792474aaa1 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.12" +const SDKVersion = "1.44.13" diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index c48c89c73c1..6fe53c81c5c 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -10343,7 +10343,8 @@ "ClientToken":{ "shape":"String", "idempotencyToken":true - } + }, + "GatewayLoadBalancerEndpointId":{"shape":"VpcEndpointId"} } }, "CreateTrafficMirrorTargetResult":{ @@ -36870,6 +36871,10 @@ "Tags":{ "shape":"TagList", "locationName":"tagSet" + }, + "GatewayLoadBalancerEndpointId":{ + "shape":"String", + "locationName":"gatewayLoadBalancerEndpointId" } } }, @@ -36892,7 +36897,8 @@ "type":"string", "enum":[ "network-interface", - "network-load-balancer" + "network-load-balancer", + "gateway-load-balancer-endpoint" ] }, "TrafficMirroringMaxResults":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index b268b6717cb..0842cc1ed8b 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -100,7 +100,7 @@ "CreateTrafficMirrorFilter": "

Creates a Traffic Mirror filter.

A Traffic Mirror filter is a set of rules that defines the traffic to mirror.

By default, no traffic is mirrored. To mirror traffic, use CreateTrafficMirrorFilterRule to add Traffic Mirror rules to the filter. The rules you add define what traffic gets mirrored. You can also use ModifyTrafficMirrorFilterNetworkServices to mirror supported network services.

", "CreateTrafficMirrorFilterRule": "

Creates a Traffic Mirror filter rule.

A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.

You need the Traffic Mirror filter ID when you create the rule.

", "CreateTrafficMirrorSession": "

Creates a Traffic Mirror session.

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use CreateTrafficMirrorFilter to create filter rules that specify the traffic to mirror.

", - "CreateTrafficMirrorTarget": "

Creates a target for your Traffic Mirror session.

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

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

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

", + "CreateTrafficMirrorTarget": "

Creates a target for your Traffic Mirror session.

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

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

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

", "CreateTransitGateway": "

Creates a transit gateway.

You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.

To attach your VPCs, use CreateTransitGatewayVpcAttachment.

To attach a VPN connection, use CreateCustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to CreateVpnConnection.

When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use CreateTransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use EnableTransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AssociateTransitGatewayRouteTable to associate a resource attachment with a transit gateway route table.

", "CreateTransitGatewayConnect": "

Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.

A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.

", "CreateTransitGatewayConnectPeer": "

Creates a Connect peer for a specified transit gateway Connect attachment between a transit gateway and an appliance.

The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).

For more information, see Connect peers in the Transit Gateways Guide.

", @@ -18032,6 +18032,7 @@ "TrafficMirrorTarget$NetworkLoadBalancerArn": "

The Amazon Resource Name (ARN) of the Network Load Balancer.

", "TrafficMirrorTarget$Description": "

Information about the Traffic Mirror target.

", "TrafficMirrorTarget$OwnerId": "

The ID of the account that owns the Traffic Mirror target.

", + "TrafficMirrorTarget$GatewayLoadBalancerEndpointId": "

The ID of the Gateway Load Balancer endpoint.

", "TransitGateway$TransitGatewayId": "

The ID of the transit gateway.

", "TransitGateway$TransitGatewayArn": "

The Amazon Resource Name (ARN) of the transit gateway.

", "TransitGateway$OwnerId": "

The ID of the Amazon Web Services account that owns the transit gateway.

", @@ -20300,6 +20301,7 @@ "base": null, "refs": { "CreateRouteRequest$VpcEndpointId": "

The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.

", + "CreateTrafficMirrorTargetRequest$GatewayLoadBalancerEndpointId": "

The ID of the Gateway Load Balancer endpoint.

", "CreateVpcEndpointConnectionNotificationRequest$VpcEndpointId": "

The ID of the endpoint.

", "ModifyVpcEndpointRequest$VpcEndpointId": "

The ID of the endpoint.

", "ReplaceRouteRequest$VpcEndpointId": "

The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.

", diff --git a/models/apis/finspace-data/2020-07-13/docs-2.json b/models/apis/finspace-data/2020-07-13/docs-2.json index d9e1195d598..274f7925c94 100644 --- a/models/apis/finspace-data/2020-07-13/docs-2.json +++ b/models/apis/finspace-data/2020-07-13/docs-2.json @@ -713,7 +713,7 @@ } }, "ResourcePermission": { - "base": "

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.

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

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

", + "base": "

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.

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

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

", "refs": { "ResourcePermissionsList$member": null } diff --git a/models/apis/iot/2015-05-28/docs-2.json b/models/apis/iot/2015-05-28/docs-2.json index 17095b6bcbc..cb67f89cf25 100644 --- a/models/apis/iot/2015-05-28/docs-2.json +++ b/models/apis/iot/2015-05-28/docs-2.json @@ -3093,7 +3093,7 @@ } }, "DocumentParameter": { - "base": "

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

", + "base": "

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

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

", "refs": { "DocumentParameters$member": null } @@ -3101,7 +3101,7 @@ "DocumentParameters": { "base": null, "refs": { - "DescribeManagedJobTemplateResponse$documentParameters": "

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

" + "DescribeManagedJobTemplateResponse$documentParameters": "

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

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

" } }, "DomainConfigurationArn": { @@ -3767,7 +3767,7 @@ "HashAlgorithm": { "base": null, "refs": { - "CustomCodeSigning$hashAlgorithm": "

The hash algorithm used to code sign the file.

" + "CustomCodeSigning$hashAlgorithm": "

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.

" } }, "HashKeyField": { @@ -5656,8 +5656,8 @@ "ParameterMap": { "base": null, "refs": { - "CreateJobRequest$documentParameters": "

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

", - "Job$documentParameters": "

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

" + "CreateJobRequest$documentParameters": "

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

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

", + "Job$documentParameters": "

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

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

" } }, "ParameterValue": { @@ -6902,7 +6902,7 @@ "SignatureAlgorithm": { "base": null, "refs": { - "CustomCodeSigning$signatureAlgorithm": "

The signature algorithm used to code sign the file.

" + "CustomCodeSigning$signatureAlgorithm": "

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.

" } }, "SigningJobId": { @@ -7343,11 +7343,11 @@ "TargetSelection": { "base": null, "refs": { - "CreateJobRequest$targetSelection": "

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

", + "CreateJobRequest$targetSelection": "

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

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

", "CreateOTAUpdateRequest$targetSelection": "

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

", - "Job$targetSelection": "

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

", - "JobSummary$targetSelection": "

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

", - "ListJobsRequest$targetSelection": "

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

", + "Job$targetSelection": "

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

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

", + "JobSummary$targetSelection": "

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

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

", + "ListJobsRequest$targetSelection": "

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

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

", "OTAUpdateInfo$targetSelection": "

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

" } }, diff --git a/models/apis/ivschat/2020-07-14/api-2.json b/models/apis/ivschat/2020-07-14/api-2.json index 211ffd7172c..72f2b51cc94 100644 --- a/models/apis/ivschat/2020-07-14/api-2.json +++ b/models/apis/ivschat/2020-07-14/api-2.json @@ -74,6 +74,7 @@ "errors":[ {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"PendingVerification"}, {"shape":"ValidationException"} ] }, @@ -197,6 +198,7 @@ "errors":[ {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"PendingVerification"}, {"shape":"ValidationException"} ] } diff --git a/models/apis/ivschat/2020-07-14/docs-2.json b/models/apis/ivschat/2020-07-14/docs-2.json index f0e693bf1b1..bfa9c7c3f52 100644 --- a/models/apis/ivschat/2020-07-14/docs-2.json +++ b/models/apis/ivschat/2020-07-14/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Introduction

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

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

Notes on terminology:

 <p> <b>Resources</b> </p> <p>The following resource is part of Amazon IVS Chat:</p> <ul> <li> <p> <b>Room</b> — The central Amazon IVS Chat resource through which clients connect to and exchange chat messages. See the Room endpoints for more information.</p> </li> </ul> <p> <b>API Access Security</b> </p> <p>Your Amazon IVS Chat applications (service applications and clients) must be authenticated and authorized to access Amazon IVS Chat resources. Note the differences between these concepts:</p> <ul> <li> <p> <i>Authentication</i> is about verifying identity. Requests to the Amazon IVS Chat API must be signed to verify your identity.</p> </li> <li> <p> <i>Authorization</i> is about granting permissions. Your IAM roles need to have permissions for Amazon IVS Chat API requests.</p> </li> </ul> <p>Users (viewers) connect to a room using secure access tokens that you create using the <a>CreateChatToken</a> endpoint through the AWS SDK. You call CreateChatToken for every user’s chat session, passing identity and authorization information about the user.</p> <p> <b>Signing API Requests</b> </p> <p>HTTP API requests must be signed with an AWS SigV4 signature using your AWS security credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API directly, it’s your responsibility to sign the requests.</p> <p>You generate a signature using valid AWS credentials for an IAM role that has permission to perform the requested action. For example, DeleteMessage requests must be made using an IAM role that has the <code>ivschat:DeleteMessage</code> permission.</p> <p>For more information:</p> <ul> <li> <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon Web Services General Reference</i>.</p> </li> <li> <p>Managing Amazon IVS permissions — See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html">Identity and Access Management</a> on the Security page of the <i>Amazon IVS User Guide</i>.</p> </li> </ul> <p> <b>Messaging Endpoints</b> </p> <ul> <li> <p> <a>DeleteMessage</a> — Sends an event to a specific room which directs clients to delete a specific message; that is, unrender it from view and delete it from the client’s chat history. This event’s <code>EventName</code> is <code>aws:DELETE_MESSAGE</code>. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html"> DeleteMessage</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p> </li> <li> <p> <a>DisconnectUser</a> — Disconnects all connections using a specified user ID from a room. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html"> DisconnectUser</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p> </li> <li> <p> <a>SendEvent</a> — Sends an event to a room. Use this within your application’s business logic to send events to clients of a room; e.g., to notify clients to change the way the chat UI is rendered.</p> </li> </ul> <p> <b>Chat Token Endpoint</b> </p> <ul> <li> <p> <a>CreateChatToken</a> — Creates an encrypted token that is used to establish an individual WebSocket connection to a room. The token is valid for one minute, and a connection (session) established with the token is valid for the specified duration.</p> </li> </ul> <p> <b>Room Endpoints</b> </p> <ul> <li> <p> <a>CreateRoom</a> — Creates a room that allows clients to connect and pass messages.</p> </li> <li> <p> <a>DeleteRoom</a> — Deletes the specified room.</p> </li> <li> <p> <a>GetRoom</a> — Gets the specified room.</p> </li> <li> <p> <a>ListRooms</a> — Gets summary information about all your rooms in the AWS region where the API request is processed. </p> </li> <li> <p> <a>UpdateRoom</a> — Updates a room’s configuration.</p> </li> </ul> <p> <b>Tags Endpoints</b> </p> <ul> <li> <p> <a>ListTagsForResource</a> — Gets information about AWS tags for the specified ARN.</p> </li> <li> <p> <a>TagResource</a> — Adds or updates tags for the AWS resource with the specified ARN.</p> </li> <li> <p> <a>UntagResource</a> — Removes tags from the resource with the specified ARN.</p> </li> </ul> <p>All the above are HTTP operations. There is a separate <i>messaging</i> API for managing Chat resources; see the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/chat-messaging-api.html"> Amazon IVS Chat Messaging API Reference</a>.</p> 
", + "service": "

Introduction

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

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

Notes on terminology:

Resources

The following resource is part of Amazon IVS Chat:

API Access Security

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

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

Signing API Requests

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

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

For more information:

Messaging Endpoints

Chat Token Endpoint

Room Endpoints

Tags Endpoints

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

", "operations": { "CreateChatToken": "

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

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

", "CreateRoom": "

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

", @@ -311,11 +311,11 @@ "RoomMaxMessageRatePerSecond": { "base": null, "refs": { - "CreateRoomRequest$maximumMessageRatePerSecond": "

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

", - "CreateRoomResponse$maximumMessageRatePerSecond": "

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

", - "GetRoomResponse$maximumMessageRatePerSecond": "

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

", - "UpdateRoomRequest$maximumMessageRatePerSecond": "

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

", - "UpdateRoomResponse$maximumMessageRatePerSecond": "

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

" + "CreateRoomRequest$maximumMessageRatePerSecond": "

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

", + "CreateRoomResponse$maximumMessageRatePerSecond": "

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

", + "GetRoomResponse$maximumMessageRatePerSecond": "

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

", + "UpdateRoomRequest$maximumMessageRatePerSecond": "

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

", + "UpdateRoomResponse$maximumMessageRatePerSecond": "

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

" } }, "RoomName": { diff --git a/models/apis/kendra/2019-02-03/api-2.json b/models/apis/kendra/2019-02-03/api-2.json index 39d3643c532..80cd65f5c8d 100644 --- a/models/apis/kendra/2019-02-03/api-2.json +++ b/models/apis/kendra/2019-02-03/api-2.json @@ -1702,7 +1702,8 @@ "FsxConfiguration":{"shape":"FsxConfiguration"}, "SlackConfiguration":{"shape":"SlackConfiguration"}, "BoxConfiguration":{"shape":"BoxConfiguration"}, - "QuipConfiguration":{"shape":"QuipConfiguration"} + "QuipConfiguration":{"shape":"QuipConfiguration"}, + "JiraConfiguration":{"shape":"JiraConfiguration"} } }, "DataSourceDateFieldFormat":{ @@ -1877,7 +1878,8 @@ "FSX", "SLACK", "BOX", - "QUIP" + "QUIP", + "JIRA" ] }, "DataSourceVpcConfiguration":{ @@ -3085,12 +3087,64 @@ }, "exception":true }, + "IssueSubEntity":{ + "type":"string", + "enum":[ + "COMMENTS", + "ATTACHMENTS", + "WORKLOGS" + ] + }, + "IssueSubEntityFilter":{ + "type":"list", + "member":{"shape":"IssueSubEntity"}, + "max":3, + "min":0 + }, + "IssueType":{ + "type":"list", + "member":{"shape":"String"} + }, "Issuer":{ "type":"string", "max":65, "min":1, "pattern":"^\\P{C}*$" }, + "JiraAccountUrl":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"^https:\\/\\/[a-zA-Z0-9_\\-\\.]+(\\.atlassian\\.net\\/)$" + }, + "JiraConfiguration":{ + "type":"structure", + "required":[ + "JiraAccountUrl", + "SecretArn" + ], + "members":{ + "JiraAccountUrl":{"shape":"JiraAccountUrl"}, + "SecretArn":{"shape":"SecretArn"}, + "UseChangeLog":{"shape":"Boolean"}, + "Project":{"shape":"Project"}, + "IssueType":{"shape":"IssueType"}, + "Status":{"shape":"JiraStatus"}, + "IssueSubEntityFilter":{"shape":"IssueSubEntityFilter"}, + "AttachmentFieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}, + "CommentFieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}, + "IssueFieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}, + "ProjectFieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}, + "WorkLogFieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}, + "InclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"}, + "ExclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"}, + "VpcConfiguration":{"shape":"DataSourceVpcConfiguration"} + } + }, + "JiraStatus":{ + "type":"list", + "member":{"shape":"String"} + }, "JsonTokenTypeConfiguration":{ "type":"structure", "required":[ @@ -3601,6 +3655,10 @@ "type":"list", "member":{"shape":"String"} }, + "Project":{ + "type":"list", + "member":{"shape":"String"} + }, "ProxyConfiguration":{ "type":"structure", "required":[ diff --git a/models/apis/kendra/2019-02-03/docs-2.json b/models/apis/kendra/2019-02-03/docs-2.json index 4d25d5ec703..b9ec58fd832 100644 --- a/models/apis/kendra/2019-02-03/docs-2.json +++ b/models/apis/kendra/2019-02-03/docs-2.json @@ -259,6 +259,7 @@ "DocumentAttributeTarget$TargetDocumentAttributeValueDeletion": "

TRUE to delete the existing target value for your specified target attribute key. You cannot create a target value and set this to TRUE. To create a target value (TargetDocumentAttributeValue), set this to FALSE.

", "Highlight$TopAnswer": "

Indicates whether the response is the best response. True if this is the best response; otherwise, false.

", "InlineCustomDocumentEnrichmentConfiguration$DocumentContentDeletion": "

TRUE to delete content if the condition used for the target attribute is met.

", + "JiraConfiguration$UseChangeLog": "

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

", "OneDriveConfiguration$DisableLocalGroups": "

A Boolean value that specifies whether local groups are disabled (True) or enabled (False).

", "QuipConfiguration$CrawlFileComments": "

Specify whether to crawl file comments in Quip. You can specify one or more of these options.

", "QuipConfiguration$CrawlChatRooms": "

Specify whether to crawl chat rooms in Quip. You can specify one or more of these options.

", @@ -678,6 +679,8 @@ "FsxConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

", "GoogleDriveConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

", "GoogleDriveConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

", + "JiraConfiguration$InclusionPatterns": "

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

", + "JiraConfiguration$ExclusionPatterns": "

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

", "OneDriveConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

", "OneDriveConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

", "QuipConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain files in your Quip file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence, and the file isn't included in the index.

", @@ -788,6 +791,11 @@ "ColumnConfiguration$FieldMappings": "

An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex API.

", "FsxConfiguration$FieldMappings": "

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

", "GoogleDriveConfiguration$FieldMappings": "

Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Google Drive fields. For more information, see Mapping data source fields. The Google Drive data source field names must exist in your Google Drive custom metadata.

", + "JiraConfiguration$AttachmentFieldMappings": "

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

", + "JiraConfiguration$CommentFieldMappings": "

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

", + "JiraConfiguration$IssueFieldMappings": "

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

", + "JiraConfiguration$ProjectFieldMappings": "

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

", + "JiraConfiguration$WorkLogFieldMappings": "

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

", "OneDriveConfiguration$FieldMappings": "

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

", "QuipConfiguration$ThreadFieldMappings": "

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

", "QuipConfiguration$MessageFieldMappings": "

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

", @@ -819,6 +827,7 @@ "ConfluenceConfiguration$VpcConfiguration": "

Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.

", "DatabaseConfiguration$VpcConfiguration": null, "FsxConfiguration$VpcConfiguration": "

Configuration information for an Amazon Virtual Private Cloud to connect to your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.

", + "JiraConfiguration$VpcConfiguration": "

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

", "QuipConfiguration$VpcConfiguration": "

Configuration information for an Amazon Virtual Private Cloud (VPC) to connect to your Quip. For more information, see Configuring a VPC.

", "SharePointConfiguration$VpcConfiguration": null, "SlackConfiguration$VpcConfiguration": "

Configuration information for an Amazon Virtual Private Cloud to connect to your Slack. For more information, see Configuring a VPC.

" @@ -1879,12 +1888,48 @@ "refs": { } }, + "IssueSubEntity": { + "base": null, + "refs": { + "IssueSubEntityFilter$member": null + } + }, + "IssueSubEntityFilter": { + "base": null, + "refs": { + "JiraConfiguration$IssueSubEntityFilter": "

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

" + } + }, + "IssueType": { + "base": null, + "refs": { + "JiraConfiguration$IssueType": "

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

" + } + }, "Issuer": { "base": null, "refs": { "JwtTokenTypeConfiguration$Issuer": "

The issuer of the token.

" } }, + "JiraAccountUrl": { + "base": null, + "refs": { + "JiraConfiguration$JiraAccountUrl": "

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

" + } + }, + "JiraConfiguration": { + "base": null, + "refs": { + "DataSourceConfiguration$JiraConfiguration": "

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

" + } + }, + "JiraStatus": { + "base": null, + "refs": { + "JiraConfiguration$Status": "

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

" + } + }, "JsonTokenTypeConfiguration": { "base": "

Provides the configuration information for the JSON token type.

", "refs": { @@ -2354,6 +2399,12 @@ "SlackConfiguration$PrivateChannelFilter": "

The list of private channel names from your Slack workspace team. You use this if you want to index specific private channels, not all private channels. You can also use regular expression patterns to filter private channels.

" } }, + "Project": { + "base": null, + "refs": { + "JiraConfiguration$Project": "

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

" + } + }, "ProxyConfiguration": { "base": "

Provides the configuration information for a web proxy to connect to website hosts.

", "refs": { @@ -2732,6 +2783,7 @@ "ConnectionConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.

", "FsxConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:

", "GoogleDriveConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of a Secrets Managersecret that contains the credentials required to connect to Google Drive. For more information, see Using a Google Workspace Drive data source.

", + "JiraConfiguration$SecretArn": "

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

", "OneDriveConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.

", "ProxyConfiguration$Credentials": "

Your secret ARN, which you can create in Secrets Manager

The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.

", "QuipConfiguration$SecretArn": "

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

", @@ -2975,9 +3027,12 @@ "DataSourceSyncJob$ExecutionId": "

A unique identifier for the synchronization job.

", "DataSourceSyncJob$DataSourceErrorCode": "

If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.

", "DocumentAttributeStringListValue$member": null, + "IssueType$member": null, + "JiraStatus$member": null, "JsonTokenTypeConfiguration$UserNameAttributeField": "

The user name attribute field.

", "JsonTokenTypeConfiguration$GroupAttributeField": "

The group attribute field.

", "PrivateChannelFilter$member": null, + "Project$member": null, "PublicChannelFilter$member": null, "SnapshotsDataHeaderFields$member": null, "SnapshotsDataRecord$member": null, diff --git a/models/apis/lambda/2015-03-31/api-2.json b/models/apis/lambda/2015-03-31/api-2.json index 95dd957ce91..63b3d6635b8 100644 --- a/models/apis/lambda/2015-03-31/api-2.json +++ b/models/apis/lambda/2015-03-31/api-2.json @@ -3535,6 +3535,7 @@ "nodejs10.x", "nodejs12.x", "nodejs14.x", + "nodejs16.x", "java8", "java8.al2", "java11", diff --git a/models/apis/lambda/2015-03-31/docs-2.json b/models/apis/lambda/2015-03-31/docs-2.json index ceb7e7d1e5c..c5f48d0ea89 100644 --- a/models/apis/lambda/2015-03-31/docs-2.json +++ b/models/apis/lambda/2015-03-31/docs-2.json @@ -207,9 +207,9 @@ "BatchSize": { "base": null, "refs": { - "CreateEventSourceMappingRequest$BatchSize": "

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 (6 MB).

", + "CreateEventSourceMappingRequest$BatchSize": "

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 (6 MB).

", "EventSourceMappingConfiguration$BatchSize": "

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 (6 MB).

Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

", - "UpdateEventSourceMappingRequest$BatchSize": "

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 (6 MB).

" + "UpdateEventSourceMappingRequest$BatchSize": "

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 (6 MB).

" } }, "BisectBatchOnFunctionError": { @@ -789,7 +789,7 @@ "base": null, "refs": { "CreateEventSourceMappingRequest$FunctionResponseTypes": "

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

", - "EventSourceMappingConfiguration$FunctionResponseTypes": "

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

", + "EventSourceMappingConfiguration$FunctionResponseTypes": "

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

", "UpdateEventSourceMappingRequest$FunctionResponseTypes": "

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

" } }, diff --git a/models/apis/lightsail/2016-11-28/api-2.json b/models/apis/lightsail/2016-11-28/api-2.json index cd85acacf04..0876864fd23 100644 --- a/models/apis/lightsail/2016-11-28/api-2.json +++ b/models/apis/lightsail/2016-11-28/api-2.json @@ -5482,7 +5482,8 @@ "GetRelationalDatabaseBundlesRequest":{ "type":"structure", "members":{ - "pageToken":{"shape":"string"} + "pageToken":{"shape":"string"}, + "includeInactive":{"shape":"boolean"} } }, "GetRelationalDatabaseBundlesResult":{ diff --git a/models/apis/lightsail/2016-11-28/docs-2.json b/models/apis/lightsail/2016-11-28/docs-2.json index c263134e074..b92b8c22795 100644 --- a/models/apis/lightsail/2016-11-28/docs-2.json +++ b/models/apis/lightsail/2016-11-28/docs-2.json @@ -70,7 +70,7 @@ "GetBucketBundles": "

Returns the bundles that you can apply to a Amazon Lightsail bucket.

The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to update the bundle for a bucket.

", "GetBucketMetricData": "

Returns the data points of a specific metric for an Amazon Lightsail bucket.

Metrics report the utilization of a bucket. View and collect metric data regularly to monitor the number of objects stored in a bucket (including object versions) and the storage space used by those objects.

", "GetBuckets": "

Returns information about one or more Amazon Lightsail buckets. The information returned includes the synchronization status of the Amazon Simple Storage Service (Amazon S3) account-level block public access feature for your Lightsail buckets.

For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.

", - "GetBundles": "

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

", + "GetBundles": "

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

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

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

", "GetCertificates": "

Returns information about one or more Amazon Lightsail SSL/TLS certificates.

To get a summary of a certificate, ommit includeCertificateDetails from your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.

", "GetCloudFormationStackRecords": "

Returns the CloudFormation stack record created as a result of the create cloud formation stack operation.

An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.

", "GetContactMethods": "

Returns information about the configured contact methods. Specify a protocol in your request to return information about a specific contact method.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

", @@ -4133,13 +4133,14 @@ "DiskSnapshot$isFromAutoSnapshot": "

A Boolean value indicating whether the snapshot was created from an automatic snapshot.

", "DistributionBundle$isActive": "

Indicates whether the bundle is active, and can be specified for a new or existing distribution.

", "DomainEntry$isAlias": "

When true, specifies whether the domain entry is an alias used by the Lightsail load balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic to your load balancer.

", - "GetBlueprintsRequest$includeInactive": "

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

", - "GetBucketBundlesRequest$includeInactive": "

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

", + "GetBlueprintsRequest$includeInactive": "

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

", + "GetBucketBundlesRequest$includeInactive": "

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

", "GetBucketsRequest$includeConnectedResources": "

A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.

", - "GetBundlesRequest$includeInactive": "

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

", + "GetBundlesRequest$includeInactive": "

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

", "GetKeyPairsRequest$includeDefaultKeyPair": "

A Boolean value that indicates whether to include the default key pair in the response of your request.

", "GetRegionsRequest$includeAvailabilityZones": "

A Boolean value indicating whether to also include Availability Zones in your get regions request. Availability Zones are indicated with a letter: e.g., us-east-2a.

", "GetRegionsRequest$includeRelationalDatabaseAvailabilityZones": "

A Boolean value indicating whether to also include Availability Zones for databases in your get regions request. Availability Zones are indicated with a letter (e.g., us-east-2a).

", + "GetRelationalDatabaseBundlesRequest$includeInactive": "

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

", "GetRelationalDatabaseLogEventsRequest$startFromHead": "

Parameter to specify if the log should start from head or tail. If true is specified, the log event starts from the head of the log. If false is specified, the log event starts from the tail of the log.

For PostgreSQL, the default value of false is the only option available.

", "Instance$isStaticIp": "

A Boolean value indicating whether this instance has a static IP assigned to it.

", "InstanceSnapshot$isFromAutoSnapshot": "

A Boolean value indicating whether the snapshot was created from an automatic snapshot.

", diff --git a/models/apis/outposts/2019-12-03/docs-2.json b/models/apis/outposts/2019-12-03/docs-2.json index 7ebb5ad199e..b2f144c87db 100644 --- a/models/apis/outposts/2019-12-03/docs-2.json +++ b/models/apis/outposts/2019-12-03/docs-2.json @@ -678,12 +678,12 @@ "OutpostId": { "base": null, "refs": { - "DeleteOutpostInput$OutpostId": "

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

", - "GetOutpostInput$OutpostId": "

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

", - "GetOutpostInstanceTypesInput$OutpostId": "

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

", - "GetOutpostInstanceTypesOutput$OutpostId": "

The ID of the Outpost.

", + "DeleteOutpostInput$OutpostId": "

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

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

", + "GetOutpostInput$OutpostId": "

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

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

", + "GetOutpostInstanceTypesInput$OutpostId": "

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

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

", + "GetOutpostInstanceTypesOutput$OutpostId": "

The ID of the Outpost.

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

", "Outpost$OutpostId": "

The ID of the Outpost.

", - "UpdateOutpostInput$OutpostId": "

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

" + "UpdateOutpostInput$OutpostId": "

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

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

" } }, "OutpostIdOnly": { @@ -820,16 +820,16 @@ "SiteId": { "base": "

The ID of the site.

", "refs": { - "CreateOutpostInput$SiteId": "

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

", - "DeleteSiteInput$SiteId": "

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

", - "GetSiteAddressInput$SiteId": "

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

", + "CreateOutpostInput$SiteId": "

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

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

", + "DeleteSiteInput$SiteId": "

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

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

", + "GetSiteAddressInput$SiteId": "

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

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

", "GetSiteAddressOutput$SiteId": null, - "GetSiteInput$SiteId": "

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

", + "GetSiteInput$SiteId": "

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

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

", "Outpost$SiteId": null, "Site$SiteId": null, - "UpdateSiteAddressInput$SiteId": "

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

", - "UpdateSiteInput$SiteId": "

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

", - "UpdateSiteRackPhysicalPropertiesInput$SiteId": "

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

" + "UpdateSiteAddressInput$SiteId": "

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

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

", + "UpdateSiteInput$SiteId": "

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

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

", + "UpdateSiteRackPhysicalPropertiesInput$SiteId": "

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

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

" } }, "SiteName": { diff --git a/models/apis/ssm-incidents/2018-05-10/api-2.json b/models/apis/ssm-incidents/2018-05-10/api-2.json index a70631cf46a..398278a3e49 100644 --- a/models/apis/ssm-incidents/2018-05-10/api-2.json +++ b/models/apis/ssm-incidents/2018-05-10/api-2.json @@ -479,6 +479,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, + {"shape":"ConflictException"}, {"shape":"InternalServerException"} ] }, @@ -788,6 +789,25 @@ "members":{ } }, + "DynamicSsmParameterValue":{ + "type":"structure", + "members":{ + "variable":{"shape":"VariableType"} + }, + "union":true + }, + "DynamicSsmParameters":{ + "type":"map", + "key":{"shape":"DynamicSsmParametersKeyString"}, + "value":{"shape":"DynamicSsmParameterValue"}, + "max":200, + "min":1 + }, + "DynamicSsmParametersKeyString":{ + "type":"string", + "max":50, + "min":1 + }, "EmptyChatChannel":{ "type":"structure", "members":{ @@ -1112,7 +1132,8 @@ "PARENT", "ATTACHMENT", "OTHER", - "AUTOMATION" + "AUTOMATION", + "INVOLVED_RESOURCE" ] }, "ItemValue":{ @@ -1528,6 +1549,7 @@ "members":{ "documentName":{"shape":"SsmAutomationDocumentNameString"}, "documentVersion":{"shape":"SsmAutomationDocumentVersionString"}, + "dynamicParameters":{"shape":"DynamicSsmParameters"}, "parameters":{"shape":"SsmParameters"}, "roleArn":{"shape":"RoleArn"}, "targetAccount":{"shape":"SsmTargetAccount"} @@ -1546,7 +1568,7 @@ "type":"string", "max":2048, "min":0, - "pattern":"^arn:[-\\w+=/,.@]+:ssm-contacts:[-\\w+=/,.@]*:[0-9]+:([\\w+=/,.@:-]+)*$" + "pattern":"^arn:aws(-cn|-us-gov)?:ssm-contacts:[a-z0-9-]*:([0-9]{12}):contact/[a-z0-9_-]+$" }, "SsmParameterValues":{ "type":"list", @@ -1906,6 +1928,13 @@ "senderFault":true }, "exception":true + }, + "VariableType":{ + "type":"string", + "enum":[ + "INCIDENT_RECORD_ARN", + "INVOLVED_RESOURCES" + ] } } } diff --git a/models/apis/ssm-incidents/2018-05-10/docs-2.json b/models/apis/ssm-incidents/2018-05-10/docs-2.json index bd8eeb9cd19..f61594688d7 100644 --- a/models/apis/ssm-incidents/2018-05-10/docs-2.json +++ b/models/apis/ssm-incidents/2018-05-10/docs-2.json @@ -21,7 +21,7 @@ "ListResponsePlans": "

Lists all response plans in your account.

", "ListTagsForResource": "

Lists the tags that are attached to the specified response plan.

", "ListTimelineEvents": "

Lists timeline events for the specified incident record.

", - "PutResourcePolicy": "

Adds a resource policy to the specified response plan.

", + "PutResourcePolicy": "

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

", "StartIncident": "

Used to start an incident from CloudWatch alarms, EventBridge events, or manually.

", "TagResource": "

Adds a tag to a response plan.

", "UntagResource": "

Removes a tag from a resource.

", @@ -266,6 +266,24 @@ "refs": { } }, + "DynamicSsmParameterValue": { + "base": "

The dynamic SSM parameter value.

", + "refs": { + "DynamicSsmParameters$value": null + } + }, + "DynamicSsmParameters": { + "base": null, + "refs": { + "SsmAutomation$dynamicParameters": "

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

" + } + }, + "DynamicSsmParametersKeyString": { + "base": null, + "refs": { + "DynamicSsmParameters$key": null + } + }, "EmptyChatChannel": { "base": "

Used to remove the chat channel from an incident record or response plan.

", "refs": { @@ -283,7 +301,7 @@ "EventData": { "base": null, "refs": { - "CreateTimelineEventInput$eventData": "

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

", + "CreateTimelineEventInput$eventData": "

A short description of the event.

", "TimelineEvent$eventData": "

A short description of the event.

", "UpdateTimelineEventInput$eventData": "

A short description of the event.

" } @@ -486,7 +504,7 @@ "ItemType": { "base": null, "refs": { - "ItemIdentifier$type": "

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

" + "ItemIdentifier$type": "

The type of related item.

" } }, "ItemValue": { @@ -788,7 +806,7 @@ "ServicePrincipal": { "base": null, "refs": { - "IncidentRecordSource$invokedBy": "

The principal the assumed the role specified of the createdBy.

" + "IncidentRecordSource$invokedBy": "

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

" } }, "ServiceQuotaExceededException": { @@ -1102,6 +1120,12 @@ "base": "

The input fails to satisfy the constraints specified by an Amazon Web Services service.

", "refs": { } + }, + "VariableType": { + "base": null, + "refs": { + "DynamicSsmParameterValue$variable": "

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

" + } } } } diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index d311b254f88..f485c7908a8 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -471,8 +471,8 @@ "HostKey": { "base": null, "refs": { - "CreateServerRequest$HostKey": "

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

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

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

", - "UpdateServerRequest$HostKey": "

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

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

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

" + "CreateServerRequest$HostKey": "

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

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

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

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

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

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

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

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

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

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

", + "UpdateServerRequest$HostKey": "

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

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

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

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

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

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

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

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

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

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

" } }, "HostKeyFingerprint": { diff --git a/models/apis/workspaces/2015-04-08/api-2.json b/models/apis/workspaces/2015-04-08/api-2.json index 3a5c1cc9288..cdde3a2097d 100644 --- a/models/apis/workspaces/2015-04-08/api-2.json +++ b/models/apis/workspaces/2015-04-08/api-2.json @@ -1063,7 +1063,7 @@ }, "ClientLoginMessage":{ "type":"string", - "max":600, + "max":850, "min":0, "pattern":"^.*$" }, diff --git a/service/ec2/api.go b/service/ec2/api.go index 1eaaf354950..9e37d6598e9 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -8216,7 +8216,8 @@ func (c *EC2) CreateTrafficMirrorTargetRequest(input *CreateTrafficMirrorTargetI // in the same VPC, or in different VPCs connected via VPC peering or a transit // gateway. // -// A Traffic Mirror target can be a network interface, or a Network Load Balancer. +// A Traffic Mirror target can be a network interface, a Network Load Balancer, +// or a Gateway Load Balancer endpoint. // // To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorSession.htm). @@ -67797,6 +67798,9 @@ type CreateTrafficMirrorTargetInput struct { // it is UnauthorizedOperation. DryRun *bool `type:"boolean"` + // The ID of the Gateway Load Balancer endpoint. + GatewayLoadBalancerEndpointId *string `type:"string"` + // The network interface ID that is associated with the target. NetworkInterfaceId *string `type:"string"` @@ -67844,6 +67848,12 @@ func (s *CreateTrafficMirrorTargetInput) SetDryRun(v bool) *CreateTrafficMirrorT return s } +// SetGatewayLoadBalancerEndpointId sets the GatewayLoadBalancerEndpointId field's value. +func (s *CreateTrafficMirrorTargetInput) SetGatewayLoadBalancerEndpointId(v string) *CreateTrafficMirrorTargetInput { + s.GatewayLoadBalancerEndpointId = &v + return s +} + // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. func (s *CreateTrafficMirrorTargetInput) SetNetworkInterfaceId(v string) *CreateTrafficMirrorTargetInput { s.NetworkInterfaceId = &v @@ -154321,6 +154331,9 @@ type TrafficMirrorTarget struct { // Information about the Traffic Mirror target. Description *string `locationName:"description" type:"string"` + // The ID of the Gateway Load Balancer endpoint. + GatewayLoadBalancerEndpointId *string `locationName:"gatewayLoadBalancerEndpointId" type:"string"` + // The network interface ID that is attached to the target. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` @@ -154364,6 +154377,12 @@ func (s *TrafficMirrorTarget) SetDescription(v string) *TrafficMirrorTarget { return s } +// SetGatewayLoadBalancerEndpointId sets the GatewayLoadBalancerEndpointId field's value. +func (s *TrafficMirrorTarget) SetGatewayLoadBalancerEndpointId(v string) *TrafficMirrorTarget { + s.GatewayLoadBalancerEndpointId = &v + return s +} + // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. func (s *TrafficMirrorTarget) SetNetworkInterfaceId(v string) *TrafficMirrorTarget { s.NetworkInterfaceId = &v @@ -168420,6 +168439,9 @@ const ( // TrafficMirrorTargetTypeNetworkLoadBalancer is a TrafficMirrorTargetType enum value TrafficMirrorTargetTypeNetworkLoadBalancer = "network-load-balancer" + + // TrafficMirrorTargetTypeGatewayLoadBalancerEndpoint is a TrafficMirrorTargetType enum value + TrafficMirrorTargetTypeGatewayLoadBalancerEndpoint = "gateway-load-balancer-endpoint" ) // TrafficMirrorTargetType_Values returns all elements of the TrafficMirrorTargetType enum @@ -168427,6 +168449,7 @@ func TrafficMirrorTargetType_Values() []string { return []string{ TrafficMirrorTargetTypeNetworkInterface, TrafficMirrorTargetTypeNetworkLoadBalancer, + TrafficMirrorTargetTypeGatewayLoadBalancerEndpoint, } } diff --git a/service/finspacedata/api.go b/service/finspacedata/api.go index fa1358f2eaf..b1e5d1c31f7 100644 --- a/service/finspacedata/api.go +++ b/service/finspacedata/api.go @@ -6875,7 +6875,7 @@ func (s *ResourceNotFoundException) RequestID() string { // // * AddDatasetData // -// * CreateSnapshot +// * CreateDataView // // * EditDatasetMetadata // diff --git a/service/iot/api.go b/service/iot/api.go index 7a1220eff2a..d502100c2f4 100644 --- a/service/iot/api.go +++ b/service/iot/api.go @@ -32427,7 +32427,12 @@ type CreateJobInput struct { // The job document. Required if you don't specify a value for documentSource. Document *string `locationName:"document" type:"string"` - // Parameters of a managed template that you can specify to create the job document. + // Parameters of an Amazon Web Services managed template that you can specify + // to create the job document. + // + // documentParameters can only be used when creating jobs from Amazon Web Services + // managed templates. This parameter can't be used with custom job templates + // or to create jobs from them. DocumentParameters map[string]*string `locationName:"documentParameters" type:"map"` // An S3 link to the job document. Required if you don't specify a value for @@ -32483,6 +32488,10 @@ type CreateJobInput struct { // in a target. For example, a job will run on a thing when the thing is added // to a target group, even after the job was completed by all things originally // in the group. + // + // We recommend that you use continuous jobs instead of snapshot jobs for dynamic + // thing group targets. By using continuous jobs, devices that join the group + // receive the job execution even after the job has been created. TargetSelection *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"` // A list of things and thing groups to which the job should be sent. @@ -35468,13 +35477,21 @@ type CustomCodeSigning struct { // The certificate chain. CertificateChain *CodeSigningCertificateChain `locationName:"certificateChain" type:"structure"` - // The hash algorithm used to code sign the file. + // 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. HashAlgorithm *string `locationName:"hashAlgorithm" type:"string"` // The signature for the file. Signature *CodeSigningSignature `locationName:"signature" type:"structure"` - // The signature algorithm used to code sign the file. + // 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. SignatureAlgorithm *string `locationName:"signatureAlgorithm" type:"string"` } @@ -40513,6 +40530,10 @@ type DescribeManagedJobTemplateOutput struct { // A map of key-value pairs that you can use as guidance to specify the inputs // for creating a job from a managed template. + // + // documentParameters can only be used when creating jobs from Amazon Web Services + // managed templates. This parameter can't be used with custom job templates + // or to create jobs from them. DocumentParameters []*DocumentParameter `locationName:"documentParameters" type:"list"` // A list of environments that are supported with the managed job template. @@ -42905,6 +42926,10 @@ func (s DisableTopicRuleOutput) GoString() string { // in a managed template job document schema. You can use the description of // each key as a guidance to specify the inputs during runtime when creating // a job. +// +// documentParameters can only be used when creating jobs from Amazon Web Services +// managed templates. This parameter can't be used with custom job templates +// or to create jobs from them. type DocumentParameter struct { _ struct{} `type:"structure"` @@ -46844,6 +46869,10 @@ type Job struct { // A key-value map that pairs the patterns that need to be replaced in a managed // template job document schema. You can use the description of each key as // a guidance to specify the inputs during runtime when creating a job. + // + // documentParameters can only be used when creating jobs from Amazon Web Services + // managed templates. This parameter can't be used with custom job templates + // or to create jobs from them. DocumentParameters map[string]*string `locationName:"documentParameters" type:"map"` // Will be true if the job was canceled with the optional force parameter set @@ -46900,6 +46929,10 @@ type Job struct { // in a target. For example, a job will run on a device when the thing representing // the device is added to a target group, even after the job was completed by // all things originally in the group. + // + // We recommend that you use continuous jobs instead of snapshot jobs for dynamic + // thing group targets. By using continuous jobs, devices that join the group + // receive the job execution even after the job has been created. TargetSelection *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"` // A list of IoT things and thing groups to which the job should be sent. @@ -47649,6 +47682,10 @@ type JobSummary struct { // in a target. For example, a job will run on a thing when the thing is added // to a target group, even after the job was completed by all things originally // in the group. + // + // We recommend that you use continuous jobs instead of snapshot jobs for dynamic + // thing group targets. By using continuous jobs, devices that join the group + // receive the job execution even after the job has been created. TargetSelection *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"` // The ID of the thing group. @@ -50811,6 +50848,10 @@ type ListJobsInput struct { // in a target. For example, a job will run on a thing when the thing is added // to a target group, even after the job was completed by all things originally // in the group. + // + // We recommend that you use continuous jobs instead of snapshot jobs for dynamic + // thing group targets. By using continuous jobs, devices that join the group + // receive the job execution even after the job has been created. TargetSelection *string `location:"querystring" locationName:"targetSelection" type:"string" enum:"TargetSelection"` // A filter that limits the returned jobs to those for the specified group. diff --git a/service/ivschat/api.go b/service/ivschat/api.go index 07a8c080dda..a041aed4058 100644 --- a/service/ivschat/api.go +++ b/service/ivschat/api.go @@ -337,6 +337,8 @@ func (c *Ivschat) DeleteRoomRequest(input *DeleteRoomInput) (req *request.Reques // // * ResourceNotFoundException // +// * PendingVerification +// // * ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/DeleteRoom @@ -1063,6 +1065,8 @@ func (c *Ivschat) UpdateRoomRequest(input *UpdateRoomInput) (req *request.Reques // // * ResourceNotFoundException // +// * PendingVerification +// // * ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/UpdateRoom @@ -1381,8 +1385,8 @@ type CreateRoomInput struct { // not number of bytes. Default: 500. MaximumMessageLength *int64 `locationName:"maximumMessageLength" min:"1" type:"integer"` - // Maximum number of messages per second that a client can send to the room. - // Default: 10. + // Maximum number of messages per second that can be sent to the room (by all + // clients). Default: 10. MaximumMessageRatePerSecond *int64 `locationName:"maximumMessageRatePerSecond" min:"1" type:"integer"` // Configuration information for optional review of messages. @@ -1477,8 +1481,8 @@ type CreateRoomOutput struct { // Maximum number of characters in a single message, from the request. MaximumMessageLength *int64 `locationName:"maximumMessageLength" min:"1" type:"integer"` - // Maximum number of messages per second that a client can send to the room, - // from the request. + // Maximum number of messages per second that can be sent to the room (by all + // clients), from the request. MaximumMessageRatePerSecond *int64 `locationName:"maximumMessageRatePerSecond" min:"1" type:"integer"` // Configuration information for optional review of messages. @@ -1920,8 +1924,8 @@ type GetRoomOutput struct { // not number of bytes. Default: 500. MaximumMessageLength *int64 `locationName:"maximumMessageLength" min:"1" type:"integer"` - // Maximum number of messages per second that a client can send to the room. - // Default: 10. + // Maximum number of messages per second that can be sent to the room (by all + // clients). Default: 10. MaximumMessageRatePerSecond *int64 `locationName:"maximumMessageRatePerSecond" min:"1" type:"integer"` // Configuration information for optional review of messages. @@ -2975,8 +2979,8 @@ type UpdateRoomInput struct { // count, not number of bytes. Default: 500. MaximumMessageLength *int64 `locationName:"maximumMessageLength" min:"1" type:"integer"` - // The maximum number of messages per second that a client can send to the room. - // Default: 10. + // Maximum number of messages per second that can be sent to the room (by all + // clients). Default: 10. MaximumMessageRatePerSecond *int64 `locationName:"maximumMessageRatePerSecond" min:"1" type:"integer"` // Configuration information for optional review of messages. Specify an empty @@ -3074,8 +3078,8 @@ type UpdateRoomOutput struct { // Maximum number of characters in a single message, from the request. MaximumMessageLength *int64 `locationName:"maximumMessageLength" min:"1" type:"integer"` - // Maximum number of messages per second that a client can send to the room, - // from the request. + // Maximum number of messages per second that can be sent to the room (by all + // clients), from the request. MaximumMessageRatePerSecond *int64 `locationName:"maximumMessageRatePerSecond" min:"1" type:"integer"` // Configuration information for optional review of messages. diff --git a/service/ivschat/doc.go b/service/ivschat/doc.go index 84912ef840b..58ecdceec43 100644 --- a/service/ivschat/doc.go +++ b/service/ivschat/doc.go @@ -23,67 +23,105 @@ // * You create front-end client applications (browser and Android/iOS apps) // using the Amazon IVS Chat Messaging API. We refer to these as clients. // -//

Resources

The following resource is part of Amazon -// IVS Chat:

API -// Access Security

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

-//

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

Signing -// API Requests

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

-//

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

For more information:

Messaging Endpoints

Chat Token Endpoint

Room -// Endpoints

Tags Endpoints

-//

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

+// Resources +// +// The following resource is part of Amazon IVS Chat: +// +// * Room — The central Amazon IVS Chat resource through which clients +// connect to and exchange chat messages. See the Room endpoints for more +// information. +// +// API Access Security +// +// Your Amazon IVS Chat applications (service applications and clients) must +// be authenticated and authorized to access Amazon IVS Chat resources. Note +// the differences between these concepts: +// +// * Authentication is about verifying identity. Requests to the Amazon IVS +// Chat API must be signed to verify your identity. +// +// * Authorization is about granting permissions. Your IAM roles need to +// have permissions for Amazon IVS Chat API requests. +// +// Users (viewers) connect to a room using secure access tokens that you create +// using the CreateChatToken endpoint through the AWS SDK. You call CreateChatToken +// for every user’s chat session, passing identity and authorization information +// about the user. +// +// Signing API Requests +// +// HTTP API requests must be signed with an AWS SigV4 signature using your AWS +// security credentials. The AWS Command Line Interface (CLI) and the AWS SDKs +// take care of signing the underlying API calls for you. However, if your application +// calls the Amazon IVS Chat HTTP API directly, it’s your responsibility to +// sign the requests. +// +// You generate a signature using valid AWS credentials for an IAM role that +// has permission to perform the requested action. For example, DeleteMessage +// requests must be made using an IAM role that has the ivschat:DeleteMessage +// permission. +// +// For more information: +// +// * Authentication and generating signatures — See Authenticating Requests +// (Amazon Web Services Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) +// in the Amazon Web Services General Reference. +// +// * Managing Amazon IVS permissions — See Identity and Access Management +// (https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html) on +// the Security page of the Amazon IVS User Guide. +// +// Messaging Endpoints +// +// * DeleteMessage — Sends an event to a specific room which directs clients +// to delete a specific message; that is, unrender it from view and delete +// it from the client’s chat history. This event’s EventName is aws:DELETE_MESSAGE. +// This replicates the DeleteMessage (https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html) +// WebSocket operation in the Amazon IVS Chat Messaging API. +// +// * DisconnectUser — Disconnects all connections using a specified user +// ID from a room. This replicates the DisconnectUser (https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html) +// WebSocket operation in the Amazon IVS Chat Messaging API. +// +// * SendEvent — Sends an event to a room. Use this within your application’s +// business logic to send events to clients of a room; e.g., to notify clients +// to change the way the chat UI is rendered. +// +// Chat Token Endpoint +// +// * CreateChatToken — Creates an encrypted token that is used to establish +// an individual WebSocket connection to a room. The token is valid for one +// minute, and a connection (session) established with the token is valid +// for the specified duration. +// +// Room Endpoints +// +// * CreateRoom — Creates a room that allows clients to connect and pass +// messages. +// +// * DeleteRoom — Deletes the specified room. +// +// * GetRoom — Gets the specified room. +// +// * ListRooms — Gets summary information about all your rooms in the AWS +// region where the API request is processed. +// +// * UpdateRoom — Updates a room’s configuration. +// +// Tags Endpoints +// +// * ListTagsForResource — Gets information about AWS tags for the specified +// ARN. +// +// * TagResource — Adds or updates tags for the AWS resource with the specified +// ARN. +// +// * UntagResource — Removes tags from the resource with the specified +// ARN. +// +// All the above are HTTP operations. There is a separate messaging API for +// managing Chat resources; see the Amazon IVS Chat Messaging API Reference +// (https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/chat-messaging-api.html). // // See https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14 for more information on this service. // diff --git a/service/kendra/api.go b/service/kendra/api.go index 5d98ff65561..7a013e91bb3 100644 --- a/service/kendra/api.go +++ b/service/kendra/api.go @@ -10153,6 +10153,9 @@ type DataSourceConfiguration struct { // data source. GoogleDriveConfiguration *GoogleDriveConfiguration `type:"structure"` + // Provides the configuration information to connect to Jira as your data source. + JiraConfiguration *JiraConfiguration `type:"structure"` + // Provides the configuration information to connect to Microsoft OneDrive as // your data source. OneDriveConfiguration *OneDriveConfiguration `type:"structure"` @@ -10233,6 +10236,11 @@ func (s *DataSourceConfiguration) Validate() error { invalidParams.AddNested("GoogleDriveConfiguration", err.(request.ErrInvalidParams)) } } + if s.JiraConfiguration != nil { + if err := s.JiraConfiguration.Validate(); err != nil { + invalidParams.AddNested("JiraConfiguration", err.(request.ErrInvalidParams)) + } + } if s.OneDriveConfiguration != nil { if err := s.OneDriveConfiguration.Validate(); err != nil { invalidParams.AddNested("OneDriveConfiguration", err.(request.ErrInvalidParams)) @@ -10315,6 +10323,12 @@ func (s *DataSourceConfiguration) SetGoogleDriveConfiguration(v *GoogleDriveConf return s } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *DataSourceConfiguration) SetJiraConfiguration(v *JiraConfiguration) *DataSourceConfiguration { + s.JiraConfiguration = v + return s +} + // SetOneDriveConfiguration sets the OneDriveConfiguration field's value. func (s *DataSourceConfiguration) SetOneDriveConfiguration(v *OneDriveConfiguration) *DataSourceConfiguration { s.OneDriveConfiguration = v @@ -16579,6 +16593,303 @@ func (s *InvalidRequestException) RequestID() string { return s.RespMetadata.RequestID } +type JiraConfiguration struct { + _ struct{} `type:"structure"` + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of Jira attachments to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to Jira fields. For more information, + // see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Jira data source field names must exist in your Jira custom metadata. + AttachmentFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of Jira comments to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to Jira fields. For more information, + // see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Jira data source field names must exist in your Jira custom metadata. + CommentFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` + + // A list of regular expression patterns to exclude certain file paths, file + // names, and file types in your Jira data source. Files that match the patterns + // are excluded from the index. Files that don’t match the patterns are included + // in the index. If a file matches both an inclusion pattern and an exclusion + // pattern, the exclusion pattern takes precedence and the file isn't included + // in the index. + ExclusionPatterns []*string `type:"list"` + + // A list of regular expression patterns to include certain file paths, file + // names, and file types in your Jira data source. Files that match the patterns + // are included in the index. Files that don't match the patterns are excluded + // from the index. If a file matches both an inclusion pattern and an exclusion + // pattern, the exclusion pattern takes precedence and the file isn't included + // in the index. + InclusionPatterns []*string `type:"list"` + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of Jira issues to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to Jira fields. For more information, + // see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Jira data source field names must exist in your Jira custom metadata. + IssueFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` + + // Specify whether to crawl comments, attachments, and work logs. You can specify + // one or more of these options. + IssueSubEntityFilter []*string `type:"list" enum:"IssueSubEntity"` + + // Specify which issue types to crawl in your Jira data source. You can specify + // one or more of these options to crawl. + IssueType []*string `type:"list"` + + // The URL of the Jira account. For example, company.attlassian.net or https://jira.company.com. + // You can find your Jira account URL in the URL of your profile page for Jira + // desktop. + // + // JiraAccountUrl is a required field + JiraAccountUrl *string `min:"1" type:"string" required:"true"` + + // Specify which projects to crawl in your Jira data source. You can specify + // one or more Jira project IDs. + Project []*string `type:"list"` + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of Jira projects to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to Jira fields. For more information, + // see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Jira data source field names must exist in your Jira custom metadata. + ProjectFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` + + // The Amazon Resource Name (ARN) of an Secrets Manager secret that contains + // the key-value pairs required to connect to your Jira data source. The secret + // must contain a JSON structure with the following keys: + // + // * jira-id—The Active Directory user name, along with the Domain Name + // System (DNS) domain name. For example, user@corp.example.com. + // + // * jiraCredentials—The password of the Jira account user. + // + // SecretArn is a required field + SecretArn *string `min:"1" type:"string" required:"true"` + + // Specify which statuses to crawl in your Jira data source. You can specify + // one or more of these options to crawl. + Status []*string `type:"list"` + + // Specify to use the change log option to update your index. + UseChangeLog *bool `type:"boolean"` + + // Configuration information for an Amazon Virtual Private Cloud to connect + // to your Jira. Your Jira account must reside inside your VPC. + VpcConfiguration *DataSourceVpcConfiguration `type:"structure"` + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of Jira work logs to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to Jira fields. For more information, + // see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Jira data source field names must exist in your Jira custom metadata. + WorkLogFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JiraConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JiraConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *JiraConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JiraConfiguration"} + if s.AttachmentFieldMappings != nil && len(s.AttachmentFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AttachmentFieldMappings", 1)) + } + if s.CommentFieldMappings != nil && len(s.CommentFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CommentFieldMappings", 1)) + } + if s.IssueFieldMappings != nil && len(s.IssueFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IssueFieldMappings", 1)) + } + if s.JiraAccountUrl == nil { + invalidParams.Add(request.NewErrParamRequired("JiraAccountUrl")) + } + if s.JiraAccountUrl != nil && len(*s.JiraAccountUrl) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JiraAccountUrl", 1)) + } + if s.ProjectFieldMappings != nil && len(s.ProjectFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProjectFieldMappings", 1)) + } + if s.SecretArn == nil { + invalidParams.Add(request.NewErrParamRequired("SecretArn")) + } + if s.SecretArn != nil && len(*s.SecretArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1)) + } + if s.WorkLogFieldMappings != nil && len(s.WorkLogFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkLogFieldMappings", 1)) + } + if s.AttachmentFieldMappings != nil { + for i, v := range s.AttachmentFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AttachmentFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + if s.CommentFieldMappings != nil { + for i, v := range s.CommentFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CommentFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + if s.IssueFieldMappings != nil { + for i, v := range s.IssueFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IssueFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ProjectFieldMappings != nil { + for i, v := range s.ProjectFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProjectFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + if s.VpcConfiguration != nil { + if err := s.VpcConfiguration.Validate(); err != nil { + invalidParams.AddNested("VpcConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.WorkLogFieldMappings != nil { + for i, v := range s.WorkLogFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "WorkLogFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttachmentFieldMappings sets the AttachmentFieldMappings field's value. +func (s *JiraConfiguration) SetAttachmentFieldMappings(v []*DataSourceToIndexFieldMapping) *JiraConfiguration { + s.AttachmentFieldMappings = v + return s +} + +// SetCommentFieldMappings sets the CommentFieldMappings field's value. +func (s *JiraConfiguration) SetCommentFieldMappings(v []*DataSourceToIndexFieldMapping) *JiraConfiguration { + s.CommentFieldMappings = v + return s +} + +// SetExclusionPatterns sets the ExclusionPatterns field's value. +func (s *JiraConfiguration) SetExclusionPatterns(v []*string) *JiraConfiguration { + s.ExclusionPatterns = v + return s +} + +// SetInclusionPatterns sets the InclusionPatterns field's value. +func (s *JiraConfiguration) SetInclusionPatterns(v []*string) *JiraConfiguration { + s.InclusionPatterns = v + return s +} + +// SetIssueFieldMappings sets the IssueFieldMappings field's value. +func (s *JiraConfiguration) SetIssueFieldMappings(v []*DataSourceToIndexFieldMapping) *JiraConfiguration { + s.IssueFieldMappings = v + return s +} + +// SetIssueSubEntityFilter sets the IssueSubEntityFilter field's value. +func (s *JiraConfiguration) SetIssueSubEntityFilter(v []*string) *JiraConfiguration { + s.IssueSubEntityFilter = v + return s +} + +// SetIssueType sets the IssueType field's value. +func (s *JiraConfiguration) SetIssueType(v []*string) *JiraConfiguration { + s.IssueType = v + return s +} + +// SetJiraAccountUrl sets the JiraAccountUrl field's value. +func (s *JiraConfiguration) SetJiraAccountUrl(v string) *JiraConfiguration { + s.JiraAccountUrl = &v + return s +} + +// SetProject sets the Project field's value. +func (s *JiraConfiguration) SetProject(v []*string) *JiraConfiguration { + s.Project = v + return s +} + +// SetProjectFieldMappings sets the ProjectFieldMappings field's value. +func (s *JiraConfiguration) SetProjectFieldMappings(v []*DataSourceToIndexFieldMapping) *JiraConfiguration { + s.ProjectFieldMappings = v + return s +} + +// SetSecretArn sets the SecretArn field's value. +func (s *JiraConfiguration) SetSecretArn(v string) *JiraConfiguration { + s.SecretArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *JiraConfiguration) SetStatus(v []*string) *JiraConfiguration { + s.Status = v + return s +} + +// SetUseChangeLog sets the UseChangeLog field's value. +func (s *JiraConfiguration) SetUseChangeLog(v bool) *JiraConfiguration { + s.UseChangeLog = &v + return s +} + +// SetVpcConfiguration sets the VpcConfiguration field's value. +func (s *JiraConfiguration) SetVpcConfiguration(v *DataSourceVpcConfiguration) *JiraConfiguration { + s.VpcConfiguration = v + return s +} + +// SetWorkLogFieldMappings sets the WorkLogFieldMappings field's value. +func (s *JiraConfiguration) SetWorkLogFieldMappings(v []*DataSourceToIndexFieldMapping) *JiraConfiguration { + s.WorkLogFieldMappings = v + return s +} + // Provides the configuration information for the JSON token type. type JsonTokenTypeConfiguration struct { _ struct{} `type:"structure"` @@ -25643,6 +25954,9 @@ const ( // DataSourceTypeQuip is a DataSourceType enum value DataSourceTypeQuip = "QUIP" + + // DataSourceTypeJira is a DataSourceType enum value + DataSourceTypeJira = "JIRA" ) // DataSourceType_Values returns all elements of the DataSourceType enum @@ -25663,6 +25977,7 @@ func DataSourceType_Values() []string { DataSourceTypeSlack, DataSourceTypeBox, DataSourceTypeQuip, + DataSourceTypeJira, } } @@ -25970,6 +26285,26 @@ func Interval_Values() []string { } } +const ( + // IssueSubEntityComments is a IssueSubEntity enum value + IssueSubEntityComments = "COMMENTS" + + // IssueSubEntityAttachments is a IssueSubEntity enum value + IssueSubEntityAttachments = "ATTACHMENTS" + + // IssueSubEntityWorklogs is a IssueSubEntity enum value + IssueSubEntityWorklogs = "WORKLOGS" +) + +// IssueSubEntity_Values returns all elements of the IssueSubEntity enum +func IssueSubEntity_Values() []string { + return []string{ + IssueSubEntityComments, + IssueSubEntityAttachments, + IssueSubEntityWorklogs, + } +} + const ( // KeyLocationUrl is a KeyLocation enum value KeyLocationUrl = "URL" diff --git a/service/lambda/api.go b/service/lambda/api.go index 03cd1eb543d..ea04c975a3d 100644 --- a/service/lambda/api.go +++ b/service/lambda/api.go @@ -8152,7 +8152,7 @@ type CreateEventSourceMappingInput struct { // // * Amazon Kinesis - Default 100. Max 10,000. // - // * Amazon DynamoDB Streams - Default 100. Max 1,000. + // * Amazon DynamoDB Streams - Default 100. Max 10,000. // // * Amazon Simple Queue Service - Default 10. For standard queues the max // is 10,000. For FIFO queues the max is 10. @@ -10620,8 +10620,8 @@ type EventSourceMappingConfiguration struct { // The ARN of the Lambda function. FunctionArn *string `type:"string"` - // (Streams only) A list of current response type enums applied to the event - // source mapping. + // (Streams and Amazon SQS) A list of current response type enums applied to + // the event source mapping. FunctionResponseTypes []*string `type:"list" enum:"FunctionResponseType"` // The date that the event source mapping was last updated or that its state @@ -18987,7 +18987,7 @@ type UpdateEventSourceMappingInput struct { // // * Amazon Kinesis - Default 100. Max 10,000. // - // * Amazon DynamoDB Streams - Default 100. Max 1,000. + // * Amazon DynamoDB Streams - Default 100. Max 10,000. // // * Amazon Simple Queue Service - Default 10. For standard queues the max // is 10,000. For FIFO queues the max is 10. @@ -20369,6 +20369,9 @@ const ( // RuntimeNodejs14X is a Runtime enum value RuntimeNodejs14X = "nodejs14.x" + // RuntimeNodejs16X is a Runtime enum value + RuntimeNodejs16X = "nodejs16.x" + // RuntimeJava8 is a Runtime enum value RuntimeJava8 = "java8" @@ -20437,6 +20440,7 @@ func Runtime_Values() []string { RuntimeNodejs10X, RuntimeNodejs12X, RuntimeNodejs14X, + RuntimeNodejs16X, RuntimeJava8, RuntimeJava8Al2, RuntimeJava11, diff --git a/service/lightsail/api.go b/service/lightsail/api.go index 1fb862fa2bf..d78589b3b95 100644 --- a/service/lightsail/api.go +++ b/service/lightsail/api.go @@ -7389,8 +7389,14 @@ func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) (req *request.Requ // GetBundles API operation for Amazon Lightsail. // -// Returns the list of bundles that are available for purchase. A bundle describes -// the specs for your virtual private server (or instance). +// Returns the bundles that you can apply to an Amazon Lightsail instance when +// you create it. +// +// A bundle describes the specifications of an instance, such as the monthly +// cost, amount of memory, the number of vCPUs, amount of storage space, and +// monthly network data transfer quota. +// +// Bundles are referred to as instance plans in the Lightsail console. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -28256,7 +28262,8 @@ func (s *GetAutoSnapshotsOutput) SetResourceType(v string) *GetAutoSnapshotsOutp type GetBlueprintsInput struct { _ struct{} `type:"structure"` - // A Boolean value indicating whether to include inactive results in your request. + // A Boolean value that indicates whether to include inactive (unavailable) + // blueprints in the response of your request. IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` // The token to advance to the next page of results from your request. @@ -28427,7 +28434,7 @@ type GetBucketBundlesInput struct { _ struct{} `type:"structure"` // A Boolean value that indicates whether to include inactive (unavailable) - // bundles in the response. + // bundles in the response of your request. IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` } @@ -28837,8 +28844,8 @@ func (s *GetBucketsOutput) SetNextPageToken(v string) *GetBucketsOutput { type GetBundlesInput struct { _ struct{} `type:"structure"` - // A Boolean value that indicates whether to include inactive bundle results - // in your request. + // A Boolean value that indicates whether to include inactive (unavailable) + // bundles in the response of your request. IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` // The token to advance to the next page of results from your request. @@ -32938,6 +32945,10 @@ func (s *GetRelationalDatabaseBlueprintsOutput) SetNextPageToken(v string) *GetR type GetRelationalDatabaseBundlesInput struct { _ struct{} `type:"structure"` + // A Boolean value that indicates whether to include inactive (unavailable) + // bundles in the response of your request. + IncludeInactive *bool `locationName:"includeInactive" type:"boolean"` + // The token to advance to the next page of results from your request. // // To get a page token, perform an initial GetRelationalDatabaseBundles request. @@ -32964,6 +32975,12 @@ func (s GetRelationalDatabaseBundlesInput) GoString() string { return s.String() } +// SetIncludeInactive sets the IncludeInactive field's value. +func (s *GetRelationalDatabaseBundlesInput) SetIncludeInactive(v bool) *GetRelationalDatabaseBundlesInput { + s.IncludeInactive = &v + return s +} + // SetPageToken sets the PageToken field's value. func (s *GetRelationalDatabaseBundlesInput) SetPageToken(v string) *GetRelationalDatabaseBundlesInput { s.PageToken = &v diff --git a/service/outposts/api.go b/service/outposts/api.go index 48829287d69..ced87da113a 100644 --- a/service/outposts/api.go +++ b/service/outposts/api.go @@ -3235,6 +3235,12 @@ type CreateOutpostInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // SiteId is a required field SiteId *string `min:"1" type:"string" required:"true"` @@ -3532,6 +3538,12 @@ type DeleteOutpostInput struct { // The ID or the Amazon Resource Name (ARN) of the Outpost. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` } @@ -3603,6 +3615,12 @@ type DeleteSiteInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -3884,6 +3902,12 @@ type GetOutpostInput struct { // The ID or the Amazon Resource Name (ARN) of the Outpost. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` } @@ -3939,6 +3963,12 @@ type GetOutpostInstanceTypesInput struct { // The ID or the Amazon Resource Name (ARN) of the Outpost. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` } @@ -4014,6 +4044,12 @@ type GetOutpostInstanceTypesOutput struct { OutpostArn *string `min:"1" type:"string"` // The ID of the Outpost. + // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. OutpostId *string `min:"1" type:"string"` } @@ -4100,6 +4136,12 @@ type GetSiteAddressInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -4207,6 +4249,12 @@ type GetSiteInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -6103,6 +6151,12 @@ type UpdateOutpostInput struct { // The ID or the Amazon Resource Name (ARN) of the Outpost. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` @@ -6217,6 +6271,12 @@ type UpdateSiteAddressInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -6338,6 +6398,12 @@ type UpdateSiteInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -6511,6 +6577,12 @@ type UpdateSiteRackPhysicalPropertiesInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // + // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name + // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. + // To address backwards compatibility, the parameter names OutpostID or SiteID + // remain in use. Despite the parameter name, you can make the request with + // an ARN. + // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` diff --git a/service/ssmincidents/api.go b/service/ssmincidents/api.go index 90a3d17746d..42a23c2a182 100644 --- a/service/ssmincidents/api.go +++ b/service/ssmincidents/api.go @@ -2173,7 +2173,10 @@ func (c *SSMIncidents) PutResourcePolicyRequest(input *PutResourcePolicyInput) ( // PutResourcePolicy API operation for AWS Systems Manager Incident Manager. // -// Adds a resource policy to the specified response plan. +// Adds a resource policy to the specified response plan. The resource policy +// is used to share the response plan using Resource Access Manager (RAM). For +// more information about cross-account sharing, see Setting up cross-account +// functionality (https://docs.aws.amazon.com/incident-manager/latest/userguide/xa.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2875,6 +2878,9 @@ func (c *SSMIncidents) UpdateReplicationSetRequest(input *UpdateReplicationSetIn // The input fails to satisfy the constraints specified by an Amazon Web Services // service. // +// * ConflictException +// Updating or deleting a resource causes an inconsistent state. +// // * InternalServerException // The request processing has failed because of an unknown error, exception // or failure. @@ -3795,8 +3801,7 @@ type CreateTimelineEventInput struct { // A token ensuring that the action is called only once with the specified details. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` - // A short description of the event as a valid JSON string. There is no other - // schema imposed. + // A short description of the event. // // EventData is a required field EventData *string `locationName:"eventData" type:"string" required:"true"` @@ -4351,6 +4356,39 @@ func (s DeleteTimelineEventOutput) GoString() string { return s.String() } +// The dynamic SSM parameter value. +type DynamicSsmParameterValue struct { + _ struct{} `type:"structure"` + + // Variable dynamic parameters. A parameter value is determined when an incident + // is created. + Variable *string `locationName:"variable" type:"string" enum:"VariableType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DynamicSsmParameterValue) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DynamicSsmParameterValue) GoString() string { + return s.String() +} + +// SetVariable sets the Variable field's value. +func (s *DynamicSsmParameterValue) SetVariable(v string) *DynamicSsmParameterValue { + s.Variable = &v + return s +} + // Used to remove the chat channel from an incident record or response plan. type EmptyChatChannel struct { _ struct{} `type:"structure"` @@ -5193,7 +5231,8 @@ type IncidentRecordSource struct { // CreatedBy is a required field CreatedBy *string `locationName:"createdBy" type:"string" required:"true"` - // The principal the assumed the role specified of the createdBy. + // The service principal that assumed the role specified in createdBy. If no + // service principal assumed the role this will be left blank. InvokedBy *string `locationName:"invokedBy" type:"string"` // The resource that caused the incident to be created. @@ -5511,19 +5550,7 @@ func (s *InternalServerException) RequestID() string { type ItemIdentifier struct { _ struct{} `type:"structure"` - // The type of related item. Incident Manager supports the following types: - // - // * ANALYSIS - // - // * INCIDENT - // - // * METRIC - // - // * PARENT - // - // * ATTACHMENT - // - // * OTHER + // The type of related item. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"ItemType"` @@ -7042,6 +7069,10 @@ type SsmAutomation struct { // The automation document's version to use when running. DocumentVersion *string `locationName:"documentVersion" type:"string"` + // The key-value pair to resolve dynamic parameter values when processing a + // Systems Manager Automation runbook. + DynamicParameters map[string]*DynamicSsmParameterValue `locationName:"dynamicParameters" min:"1" type:"map"` + // The key-value pair parameters to use when running the automation document. Parameters map[string][]*string `locationName:"parameters" min:"1" type:"map"` @@ -7080,6 +7111,9 @@ func (s *SsmAutomation) Validate() error { if s.DocumentName == nil { invalidParams.Add(request.NewErrParamRequired("DocumentName")) } + if s.DynamicParameters != nil && len(s.DynamicParameters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DynamicParameters", 1)) + } if s.Parameters != nil && len(s.Parameters) < 1 { invalidParams.Add(request.NewErrParamMinLen("Parameters", 1)) } @@ -7105,6 +7139,12 @@ func (s *SsmAutomation) SetDocumentVersion(v string) *SsmAutomation { return s } +// SetDynamicParameters sets the DynamicParameters field's value. +func (s *SsmAutomation) SetDynamicParameters(v map[string]*DynamicSsmParameterValue) *SsmAutomation { + s.DynamicParameters = v + return s +} + // SetParameters sets the Parameters field's value. func (s *SsmAutomation) SetParameters(v map[string][]*string) *SsmAutomation { s.Parameters = v @@ -8643,6 +8683,9 @@ const ( // ItemTypeAutomation is a ItemType enum value ItemTypeAutomation = "AUTOMATION" + + // ItemTypeInvolvedResource is a ItemType enum value + ItemTypeInvolvedResource = "INVOLVED_RESOURCE" ) // ItemType_Values returns all elements of the ItemType enum @@ -8655,6 +8698,7 @@ func ItemType_Values() []string { ItemTypeAttachment, ItemTypeOther, ItemTypeAutomation, + ItemTypeInvolvedResource, } } @@ -8793,3 +8837,19 @@ func TimelineEventSort_Values() []string { TimelineEventSortEventTime, } } + +const ( + // VariableTypeIncidentRecordArn is a VariableType enum value + VariableTypeIncidentRecordArn = "INCIDENT_RECORD_ARN" + + // VariableTypeInvolvedResources is a VariableType enum value + VariableTypeInvolvedResources = "INVOLVED_RESOURCES" +) + +// VariableType_Values returns all elements of the VariableType enum +func VariableType_Values() []string { + return []string{ + VariableTypeIncidentRecordArn, + VariableTypeInvolvedResources, + } +} diff --git a/service/transfer/api.go b/service/transfer/api.go index c841a0be523..ab36a70cb99 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -4085,8 +4085,23 @@ type CreateServerInput struct { // possible with EndpointType set to VPC_ENDPOINT. EndpointType *string `type:"string" enum:"EndpointType"` - // The RSA private key as generated by the ssh-keygen -N "" -m PEM -f my-new-server-key - // command. + // The RSA or ECDSA private key to use for your server. + // + // Use the following command to generate an RSA 2048 bit key with no passphrase: + // + // ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key. + // + // Use a minimum value of 2048 for the -b option: you can create a stronger + // key using 3072 or 4096. + // + // Use the following command to generate an ECDSA 256 bit key with no passphrase: + // + // ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key. + // + // Valid values for the -b option for ECDSA are 256, 384, and 521. + // + // For both of these commands, you can replace my-new-server-key with a string + // of your choice. // // If you aren't planning to migrate existing users from an existing SFTP-enabled // server to a new server, don't update the host key. Accidentally changing @@ -10862,15 +10877,31 @@ type UpdateServerInput struct { // possible with EndpointType set to VPC_ENDPOINT. EndpointType *string `type:"string" enum:"EndpointType"` - // The RSA private key as generated by ssh-keygen -N "" -m PEM -f my-new-server-key. + // The RSA or ECDSA private key to use for your server. + // + // Use the following command to generate an RSA 2048 bit key with no passphrase: + // + // ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key. // - // If you aren't planning to migrate existing users from an existing server - // to a new server, don't update the host key. Accidentally changing a server's - // host key can be disruptive. + // Use a minimum value of 2048 for the -b option: you can create a stronger + // key using 3072 or 4096. + // + // Use the following command to generate an ECDSA 256 bit key with no passphrase: + // + // ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key. + // + // Valid values for the -b option for ECDSA are 256, 384, and 521. + // + // For both of these commands, you can replace my-new-server-key with a string + // of your choice. + // + // If you aren't planning to migrate existing users from an existing SFTP-enabled + // server to a new server, don't update the host key. Accidentally changing + // a server's host key can be disruptive. // // For more information, see Change the host key for your SFTP-enabled server // (https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key) - // in the Amazon Web ServicesTransfer Family User Guide. + // in the Amazon Web Services Transfer Family User Guide. // // HostKey is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateServerInput's