From a31327acbd07ca1d42ca83107993d7bcfa223dd8 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Tue, 20 Feb 2024 19:12:50 +0000 Subject: [PATCH] Regenerated Clients --- .changelog/34c41af1878c42088cbe20a99a72f6c0.json | 8 ++++++++ .changelog/ced30a06d3bb428cadb2ed52ccb4d614.json | 8 ++++++++ .changelog/e59e64e4bfdc43089474d478bd8f0350.json | 8 ++++++++ service/chatbot/endpoints.go | 9 ++++++++- service/dynamodb/api_op_UpdateTable.go | 8 ++++---- service/lambda/api_op_CreateEventSourceMapping.go | 5 +++-- service/lambda/api_op_DeleteEventSourceMapping.go | 5 +++-- service/lambda/api_op_GetEventSourceMapping.go | 5 +++-- service/lambda/api_op_UpdateEventSourceMapping.go | 5 +++-- service/lambda/types/enums.go | 2 ++ service/lambda/types/types.go | 8 +++++--- 11 files changed, 55 insertions(+), 16 deletions(-) create mode 100644 .changelog/34c41af1878c42088cbe20a99a72f6c0.json create mode 100644 .changelog/ced30a06d3bb428cadb2ed52ccb4d614.json create mode 100644 .changelog/e59e64e4bfdc43089474d478bd8f0350.json diff --git a/.changelog/34c41af1878c42088cbe20a99a72f6c0.json b/.changelog/34c41af1878c42088cbe20a99a72f6c0.json new file mode 100644 index 00000000000..271608ca41d --- /dev/null +++ b/.changelog/34c41af1878c42088cbe20a99a72f6c0.json @@ -0,0 +1,8 @@ +{ + "id": "34c41af1-878c-4208-8cbe-20a99a72f6c0", + "type": "feature", + "description": "Add .NET 8 (dotnet8) Runtime support to AWS Lambda.", + "modules": [ + "service/lambda" + ] +} \ No newline at end of file diff --git a/.changelog/ced30a06d3bb428cadb2ed52ccb4d614.json b/.changelog/ced30a06d3bb428cadb2ed52ccb4d614.json new file mode 100644 index 00000000000..fb269c3e1e5 --- /dev/null +++ b/.changelog/ced30a06d3bb428cadb2ed52ccb4d614.json @@ -0,0 +1,8 @@ +{ + "id": "ced30a06-d3bb-428c-adb2-ed52ccb4d614", + "type": "documentation", + "description": "Publishing quick fix for doc only update.", + "modules": [ + "service/dynamodb" + ] +} \ No newline at end of file diff --git a/.changelog/e59e64e4bfdc43089474d478bd8f0350.json b/.changelog/e59e64e4bfdc43089474d478bd8f0350.json new file mode 100644 index 00000000000..33637fd32c5 --- /dev/null +++ b/.changelog/e59e64e4bfdc43089474d478bd8f0350.json @@ -0,0 +1,8 @@ +{ + "id": "e59e64e4-bfdc-4308-9474-d478bd8f0350", + "type": "feature", + "description": "This release updates a few Firehose related APIs.", + "modules": [ + "service/firehose" + ] +} \ No newline at end of file diff --git a/service/chatbot/endpoints.go b/service/chatbot/endpoints.go index 966ef589c58..bc49e84ff49 100644 --- a/service/chatbot/endpoints.go +++ b/service/chatbot/endpoints.go @@ -216,6 +216,13 @@ func resolveBaseEndpoint(cfg aws.Config, o *Options) { } } +func bindRegion(region string) *string { + if region == "" { + return nil + } + return aws.String(endpoints.MapFIPSRegion(region)) +} + // EndpointParameters provides the parameters that influence how endpoints are // resolved. type EndpointParameters struct { @@ -442,7 +449,7 @@ type endpointParamsBinder interface { func bindEndpointParams(input interface{}, options Options) *EndpointParameters { params := &EndpointParameters{} - params.Region = aws.String(endpoints.MapFIPSRegion(options.Region)) + params.Region = bindRegion(options.Region) params.UseDualStack = aws.Bool(options.EndpointOptions.UseDualStackEndpoint == aws.DualStackEndpointStateEnabled) params.UseFIPS = aws.Bool(options.EndpointOptions.UseFIPSEndpoint == aws.FIPSEndpointStateEnabled) params.Endpoint = options.BaseEndpoint diff --git a/service/dynamodb/api_op_UpdateTable.go b/service/dynamodb/api_op_UpdateTable.go index 190bd78d1b9..051d9922161 100644 --- a/service/dynamodb/api_op_UpdateTable.go +++ b/service/dynamodb/api_op_UpdateTable.go @@ -22,10 +22,10 @@ import ( // - Create a new global secondary index on the table. After the index begins // backfilling, you can use UpdateTable to perform other operations. // -// UpdateTable is an asynchronous operation; while it is executing, the table -// status changes from ACTIVE to UPDATING . While it is UPDATING , you cannot issue -// another UpdateTable request. When the table returns to the ACTIVE state, the -// UpdateTable operation is complete. +// UpdateTable is an asynchronous operation; while it's executing, the table +// status changes from ACTIVE to UPDATING . While it's UPDATING , you can't issue +// another UpdateTable request on the base table nor any replicas. When the table +// returns to the ACTIVE state, the UpdateTable operation is complete. func (c *Client) UpdateTable(ctx context.Context, params *UpdateTableInput, optFns ...func(*Options)) (*UpdateTableOutput, error) { if params == nil { params = &UpdateTableInput{} diff --git a/service/lambda/api_op_CreateEventSourceMapping.go b/service/lambda/api_op_CreateEventSourceMapping.go index 4b9d3820a06..2f41d08bdf0 100644 --- a/service/lambda/api_op_CreateEventSourceMapping.go +++ b/service/lambda/api_op_CreateEventSourceMapping.go @@ -218,8 +218,9 @@ type CreateEventSourceMappingOutput struct { // batch in two and retry. The default value is false. BisectBatchOnFunctionError *bool - // (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - // destination for discarded records. + // (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + // sources only) A configuration object that specifies the destination of an event + // after Lambda processes it. DestinationConfig *types.DestinationConfig // Specific configuration settings for a DocumentDB event source. diff --git a/service/lambda/api_op_DeleteEventSourceMapping.go b/service/lambda/api_op_DeleteEventSourceMapping.go index d1714e555c6..9b7e85b8a04 100644 --- a/service/lambda/api_op_DeleteEventSourceMapping.go +++ b/service/lambda/api_op_DeleteEventSourceMapping.go @@ -63,8 +63,9 @@ type DeleteEventSourceMappingOutput struct { // batch in two and retry. The default value is false. BisectBatchOnFunctionError *bool - // (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - // destination for discarded records. + // (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + // sources only) A configuration object that specifies the destination of an event + // after Lambda processes it. DestinationConfig *types.DestinationConfig // Specific configuration settings for a DocumentDB event source. diff --git a/service/lambda/api_op_GetEventSourceMapping.go b/service/lambda/api_op_GetEventSourceMapping.go index 977f840e23e..bc37f9f5c9c 100644 --- a/service/lambda/api_op_GetEventSourceMapping.go +++ b/service/lambda/api_op_GetEventSourceMapping.go @@ -61,8 +61,9 @@ type GetEventSourceMappingOutput struct { // batch in two and retry. The default value is false. BisectBatchOnFunctionError *bool - // (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - // destination for discarded records. + // (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + // sources only) A configuration object that specifies the destination of an event + // after Lambda processes it. DestinationConfig *types.DestinationConfig // Specific configuration settings for a DocumentDB event source. diff --git a/service/lambda/api_op_UpdateEventSourceMapping.go b/service/lambda/api_op_UpdateEventSourceMapping.go index 9a9973c1e5b..32f7d774bcf 100644 --- a/service/lambda/api_op_UpdateEventSourceMapping.go +++ b/service/lambda/api_op_UpdateEventSourceMapping.go @@ -185,8 +185,9 @@ type UpdateEventSourceMappingOutput struct { // batch in two and retry. The default value is false. BisectBatchOnFunctionError *bool - // (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - // destination for discarded records. + // (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + // sources only) A configuration object that specifies the destination of an event + // after Lambda processes it. DestinationConfig *types.DestinationConfig // Specific configuration settings for a DocumentDB event source. diff --git a/service/lambda/types/enums.go b/service/lambda/types/enums.go index a462d369809..bca4edbf294 100644 --- a/service/lambda/types/enums.go +++ b/service/lambda/types/enums.go @@ -401,6 +401,7 @@ const ( RuntimeDotnetcore21 Runtime = "dotnetcore2.1" RuntimeDotnetcore31 Runtime = "dotnetcore3.1" RuntimeDotnet6 Runtime = "dotnet6" + RuntimeDotnet8 Runtime = "dotnet8" RuntimeNodejs43edge Runtime = "nodejs4.3-edge" RuntimeGo1x Runtime = "go1.x" RuntimeRuby25 Runtime = "ruby2.5" @@ -444,6 +445,7 @@ func (Runtime) Values() []Runtime { "dotnetcore2.1", "dotnetcore3.1", "dotnet6", + "dotnet8", "nodejs4.3-edge", "go1.x", "ruby2.5", diff --git a/service/lambda/types/types.go b/service/lambda/types/types.go index bfb88374c92..100a38ca549 100644 --- a/service/lambda/types/types.go +++ b/service/lambda/types/types.go @@ -321,8 +321,9 @@ type EventSourceMappingConfiguration struct { // batch in two and retry. The default value is false. BisectBatchOnFunctionError *bool - // (Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic - // destination for discarded records. + // (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event + // sources only) A configuration object that specifies the destination of an event + // after Lambda processes it. DestinationConfig *DestinationConfig // Specific configuration settings for a DocumentDB event source. @@ -975,7 +976,8 @@ type OnFailure struct { // , you can configure an Amazon SNS topic or Amazon SQS queue as the destination. // To retain records of failed invocations from self-managed Kafka (https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination) // or Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination) - // , you can configure an Amazon SNS topic or Amazon SQS queue as the destination. + // , you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket + // as the destination. Destination *string noSmithyDocumentSerde