diff --git a/.changelog/5403c75d8e694cd8b0958a974522fb2a.json b/.changelog/5403c75d8e694cd8b0958a974522fb2a.json new file mode 100644 index 00000000000..358c8d2aa18 --- /dev/null +++ b/.changelog/5403c75d8e694cd8b0958a974522fb2a.json @@ -0,0 +1,8 @@ +{ + "id": "5403c75d-8e69-4cd8-b095-8a974522fb2a", + "type": "feature", + "description": "Adding Precision Hardware Clock (PHC) to public API DescribeInstanceTypes", + "modules": [ + "service/ec2" + ] +} \ No newline at end of file diff --git a/.changelog/94be5f35497b423fbe2efdedaa9201d1.json b/.changelog/94be5f35497b423fbe2efdedaa9201d1.json new file mode 100644 index 00000000000..e5549aaf535 --- /dev/null +++ b/.changelog/94be5f35497b423fbe2efdedaa9201d1.json @@ -0,0 +1,8 @@ +{ + "id": "94be5f35-497b-423f-be2e-fdedaa9201d1", + "type": "feature", + "description": "Add EXTERNAL_PROVIDER enum value to UserStatusType.", + "modules": [ + "service/cognitoidentityprovider" + ] +} \ No newline at end of file diff --git a/.changelog/9bbf00a58785417da92a797c7539041f.json b/.changelog/9bbf00a58785417da92a797c7539041f.json new file mode 100644 index 00000000000..4cf7c223ff7 --- /dev/null +++ b/.changelog/9bbf00a58785417da92a797c7539041f.json @@ -0,0 +1,8 @@ +{ + "id": "9bbf00a5-8785-417d-a92a-797c7539041f", + "type": "feature", + "description": "This release adds pull through cache rules support for GitLab container registry in Amazon ECR.", + "modules": [ + "service/ecr" + ] +} \ No newline at end of file diff --git a/.changelog/a9deac3400b0495d8c5f5d12863bf7a1.json b/.changelog/a9deac3400b0495d8c5f5d12863bf7a1.json new file mode 100644 index 00000000000..9a401456152 --- /dev/null +++ b/.changelog/a9deac3400b0495d8c5f5d12863bf7a1.json @@ -0,0 +1,8 @@ +{ + "id": "a9deac34-00b0-495d-8c5f-5d12863bf7a1", + "type": "feature", + "description": "Add new engine - generative - that builds the most expressive conversational voices.", + "modules": [ + "service/polly" + ] +} \ No newline at end of file diff --git a/.changelog/cb8efff42e4e46de8c14f882068aabea.json b/.changelog/cb8efff42e4e46de8c14f882068aabea.json new file mode 100644 index 00000000000..2ff94fad9ec --- /dev/null +++ b/.changelog/cb8efff42e4e46de8c14f882068aabea.json @@ -0,0 +1,8 @@ +{ + "id": "cb8efff4-2e4e-46de-8c14-f882068aabea", + "type": "feature", + "description": "This release adds MessageSystemAttributeNames to ReceiveMessageRequest to replace AttributeNames.", + "modules": [ + "service/sqs" + ] +} \ No newline at end of file diff --git a/.changelog/dc51d77965884e8cbeec8f2586637890.json b/.changelog/dc51d77965884e8cbeec8f2586637890.json new file mode 100644 index 00000000000..4a8a1037316 --- /dev/null +++ b/.changelog/dc51d77965884e8cbeec8f2586637890.json @@ -0,0 +1,8 @@ +{ + "id": "dc51d779-6588-4e8c-beec-8f2586637890", + "type": "documentation", + "description": "The policy scope resource tag is always a string value, either a non-empty string or an empty string.", + "modules": [ + "service/fms" + ] +} \ No newline at end of file diff --git a/service/cognitoidentityprovider/types/enums.go b/service/cognitoidentityprovider/types/enums.go index e9b84006a5e..0ebf879ed82 100644 --- a/service/cognitoidentityprovider/types/enums.go +++ b/service/cognitoidentityprovider/types/enums.go @@ -814,6 +814,7 @@ const ( UserStatusTypeUnknown UserStatusType = "UNKNOWN" UserStatusTypeResetRequired UserStatusType = "RESET_REQUIRED" UserStatusTypeForceChangePassword UserStatusType = "FORCE_CHANGE_PASSWORD" + UserStatusTypeExternalProvider UserStatusType = "EXTERNAL_PROVIDER" ) // Values returns all known values for UserStatusType. Note that this can be @@ -829,6 +830,7 @@ func (UserStatusType) Values() []UserStatusType { "UNKNOWN", "RESET_REQUIRED", "FORCE_CHANGE_PASSWORD", + "EXTERNAL_PROVIDER", } } diff --git a/service/ec2/deserializers.go b/service/ec2/deserializers.go index 5f8493e2559..dfe8701fef3 100644 --- a/service/ec2/deserializers.go +++ b/service/ec2/deserializers.go @@ -87670,6 +87670,19 @@ func awsEc2query_deserializeDocumentInstanceTypeInfo(v **types.InstanceTypeInfo, sv.NitroTpmSupport = types.NitroTpmSupport(xtv) } + case strings.EqualFold("phcSupport", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.PhcSupport = types.PhcSupport(xtv) + } + case strings.EqualFold("placementGroupInfo", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) if err := awsEc2query_deserializeDocumentPlacementGroupInfo(&sv.PlacementGroupInfo, nodeDecoder); err != nil { diff --git a/service/ec2/types/enums.go b/service/ec2/types/enums.go index fbc7fe3b3d7..6ab11c18077 100644 --- a/service/ec2/types/enums.go +++ b/service/ec2/types/enums.go @@ -6437,6 +6437,25 @@ func (PermissionGroup) Values() []PermissionGroup { } } +type PhcSupport string + +// Enum values for PhcSupport +const ( + PhcSupportUnsupported PhcSupport = "unsupported" + PhcSupportSupported PhcSupport = "supported" +) + +// Values returns all known values for PhcSupport. Note that this can be expanded +// in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (PhcSupport) Values() []PhcSupport { + return []PhcSupport{ + "unsupported", + "supported", + } +} + type PlacementGroupState string // Enum values for PlacementGroupState diff --git a/service/ec2/types/types.go b/service/ec2/types/types.go index b3ea2a3f00a..5ab27ef5da5 100644 --- a/service/ec2/types/types.go +++ b/service/ec2/types/types.go @@ -8057,6 +8057,10 @@ type InstanceTypeInfo struct { // Indicates whether NitroTPM is supported. NitroTpmSupport NitroTpmSupport + // Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is + // supported. + PhcSupport PhcSupport + // Describes the placement group settings for the instance type. PlacementGroupInfo *PlacementGroupInfo diff --git a/service/ecr/api_op_CreatePullThroughCacheRule.go b/service/ecr/api_op_CreatePullThroughCacheRule.go index fe862865f78..f4a173fedf8 100644 --- a/service/ecr/api_op_CreatePullThroughCacheRule.go +++ b/service/ecr/api_op_CreatePullThroughCacheRule.go @@ -57,6 +57,9 @@ type CreatePullThroughCacheRuleInput struct { // - Microsoft Azure Container Registry ( azure-container-registry ) - // .azurecr.io // + // - GitLab Container Registry ( gitlab-container-registry ) - + // registry.gitlab.com + // // This member is required. UpstreamRegistryUrl *string diff --git a/service/ecr/types/enums.go b/service/ecr/types/enums.go index cbf22299402..78d66141a12 100644 --- a/service/ecr/types/enums.go +++ b/service/ecr/types/enums.go @@ -357,6 +357,7 @@ const ( UpstreamRegistryDockerHub UpstreamRegistry = "docker-hub" UpstreamRegistryGitHubContainerRegistry UpstreamRegistry = "github-container-registry" UpstreamRegistryAzureContainerRegistry UpstreamRegistry = "azure-container-registry" + UpstreamRegistryGitLabContainerRegistry UpstreamRegistry = "gitlab-container-registry" ) // Values returns all known values for UpstreamRegistry. Note that this can be @@ -371,5 +372,6 @@ func (UpstreamRegistry) Values() []UpstreamRegistry { "docker-hub", "github-container-registry", "azure-container-registry", + "gitlab-container-registry", } } diff --git a/service/fms/api_op_PutPolicy.go b/service/fms/api_op_PutPolicy.go index eac1aabdb4c..cc281aa96d4 100644 --- a/service/fms/api_op_PutPolicy.go +++ b/service/fms/api_op_PutPolicy.go @@ -58,7 +58,7 @@ import ( // advanced threat prevention, smart web application firewalls (WAF), and API // protection. // -// [Amazon Web Services Marketplace]: https://aws.amazon.com/marketplace +// [Amazon Web Services Marketplace]: http://aws.amazon.com/marketplace func (c *Client) PutPolicy(ctx context.Context, params *PutPolicyInput, optFns ...func(*Options)) (*PutPolicyOutput, error) { if params == nil { params = &PutPolicyInput{} diff --git a/service/fms/types/types.go b/service/fms/types/types.go index 7b4b0a79480..3a68d39ac23 100644 --- a/service/fms/types/types.go +++ b/service/fms/types/types.go @@ -837,9 +837,9 @@ type NetworkAclEntrySet struct { // // If forced remediation is disabled, Firewall Manager marks the network ACL as // noncompliant and does not try to remediate. For more information about the - // remediation behavior, see [Network access control list (ACL) policies]in the Firewall Manager Developer Guide. + // remediation behavior, see [Remediation for managed network ACLs]in the Firewall Manager Developer Guide. // - // [Network access control list (ACL) policies]: https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html + // [Remediation for managed network ACLs]: https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html#network-acls-remediation // // This member is required. ForceRemediateForFirstEntries *bool @@ -850,9 +850,9 @@ type NetworkAclEntrySet struct { // // If forced remediation is disabled, Firewall Manager marks the network ACL as // noncompliant and does not try to remediate. For more information about the - // remediation behavior, see [Network access control list (ACL) policies]in the Firewall Manager Developer Guide. + // remediation behavior, see [Remediation for managed network ACLs]in the Firewall Manager Developer Guide. // - // [Network access control list (ACL) policies]: https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html + // [Remediation for managed network ACLs]: https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html#network-acls-remediation // // This member is required. ForceRemediateForLastEntries *bool @@ -1406,7 +1406,7 @@ type Policy struct { // “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]} . IncludeMap map[string][]string - // The definition of the Network Firewall firewall policy. + // Your description of the Firewall Manager policy. PolicyDescription *string // The ID of the Firewall Manager policy. @@ -1870,6 +1870,13 @@ type ResourceSetSummary struct { // add more than one tag to a policy scope, a resource must have all the specified // tags to be included or excluded. For more information, see [Working with Tag Editor]. // +// Every resource tag must have a string value, either a non-empty string or an +// empty string. If you don't provide a value for a resource tag, Firewall Manager +// saves the value as an empty string: "". When Firewall Manager compares tags, it +// only matches two tags if they have the same key and the same value. A tag with +// an empty string value only matches with tags that also have an empty string +// value. +// // [Working with Tag Editor]: https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html type ResourceTag struct { @@ -1878,7 +1885,8 @@ type ResourceTag struct { // This member is required. Key *string - // The resource tag value. + // The resource tag value. To specify an empty string value, either don't provide + // this or specify it as "". Value *string noSmithyDocumentSerde diff --git a/service/polly/api_op_DescribeVoices.go b/service/polly/api_op_DescribeVoices.go index 2f6456bf4ab..7a4d6e233b6 100644 --- a/service/polly/api_op_DescribeVoices.go +++ b/service/polly/api_op_DescribeVoices.go @@ -45,8 +45,8 @@ func (c *Client) DescribeVoices(ctx context.Context, params *DescribeVoicesInput type DescribeVoicesInput struct { - // Specifies the engine ( standard , neural or long-form ) used by Amazon Polly - // when processing input text for speech synthesis. + // Specifies the engine ( standard , neural , long-form or generative ) used by + // Amazon Polly when processing input text for speech synthesis. Engine types.Engine // Boolean value indicating whether to return any bilingual voices that use the diff --git a/service/polly/api_op_StartSpeechSynthesisTask.go b/service/polly/api_op_StartSpeechSynthesisTask.go index 754d58222f2..82a097ebde1 100644 --- a/service/polly/api_op_StartSpeechSynthesisTask.go +++ b/service/polly/api_op_StartSpeechSynthesisTask.go @@ -58,9 +58,9 @@ type StartSpeechSynthesisTaskInput struct { // This member is required. VoiceId types.VoiceId - // Specifies the engine ( standard , neural or long-form ) for Amazon Polly to use - // when processing input text for speech synthesis. Using a voice that is not - // supported for the engine selected will result in an error. + // Specifies the engine ( standard , neural , long-form or generative ) for Amazon + // Polly to use when processing input text for speech synthesis. Using a voice that + // is not supported for the engine selected will result in an error. Engine types.Engine // Optional language code for the Speech Synthesis request. This is only necessary @@ -88,7 +88,8 @@ type StartSpeechSynthesisTaskInput struct { // // The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and // "24000". The default value for standard voices is "22050". The default value for - // neural voices is "24000". The default value for long-form voices is "24000". + // neural voices is "24000". The default value for long-form voices is "24000". The + // default value for generative voices is "24000". // // Valid values for pcm are "8000" and "16000" The default value is "16000". SampleRate *string diff --git a/service/polly/api_op_SynthesizeSpeech.go b/service/polly/api_op_SynthesizeSpeech.go index 3ff4153df21..3b2a6333e17 100644 --- a/service/polly/api_op_SynthesizeSpeech.go +++ b/service/polly/api_op_SynthesizeSpeech.go @@ -59,34 +59,19 @@ type SynthesizeSpeechInput struct { // This member is required. VoiceId types.VoiceId - // Specifies the engine ( standard , neural or long-form ) for Amazon Polly to use - // when processing input text for speech synthesis. For information on Amazon Polly - // voices and which voices are available for each engine, see [Available Voices]. - // - // NTTS-only voices - // - // When using NTTS-only voices such as Kevin (en-US), this parameter is required - // and must be set to neural . If the engine is not specified, or is set to - // standard , this will result in an error. - // - // long-form-only voices - // - // When using long-form-only voices such as Danielle (en-US), this parameter is - // required and must be set to long-form . If the engine is not specified, or is - // set to standard or neural , this will result in an error. + // Specifies the engine ( standard , neural , long-form , or generative ) for + // Amazon Polly to use when processing input text for speech synthesis. Provide an + // engine that is supported by the voice you select. If you don't provide an + // engine, the standard engine is selected by default. If a chosen voice isn't + // supported by the standard engine, this will result in an error. For information + // on Amazon Polly voices and which voices are available for each engine, see [Available Voices]. // // Type: String // - // Valid Values: standard | neural | long-form + // Valid Values: standard | neural | long-form | generative // // Required: Yes // - // Standard voices - // - // For standard voices, this is not required; the engine parameter defaults to - // standard . If the engine is not specified, or is set to standard and an - // NTTS-only voice is selected, this will result in an error. - // // [Available Voices]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html Engine types.Engine @@ -115,7 +100,8 @@ type SynthesizeSpeechInput struct { // // The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and // "24000". The default value for standard voices is "22050". The default value for - // neural voices is "24000". The default value for long-form voices is "24000". + // neural voices is "24000". The default value for long-form voices is "24000". The + // default value for generative voices is "24000". // // Valid values for pcm are "8000" and "16000" The default value is "16000". SampleRate *string diff --git a/service/polly/types/enums.go b/service/polly/types/enums.go index 44335ddaad7..d3e379311bb 100644 --- a/service/polly/types/enums.go +++ b/service/polly/types/enums.go @@ -6,9 +6,10 @@ type Engine string // Enum values for Engine const ( - EngineStandard Engine = "standard" - EngineNeural Engine = "neural" - EngineLongForm Engine = "long-form" + EngineStandard Engine = "standard" + EngineNeural Engine = "neural" + EngineLongForm Engine = "long-form" + EngineGenerative Engine = "generative" ) // Values returns all known values for Engine. Note that this can be expanded in @@ -20,6 +21,7 @@ func (Engine) Values() []Engine { "standard", "neural", "long-form", + "generative", } } diff --git a/service/polly/types/types.go b/service/polly/types/types.go index 92b222ca815..05b97a422a4 100644 --- a/service/polly/types/types.go +++ b/service/polly/types/types.go @@ -70,9 +70,9 @@ type SynthesisTask struct { // Timestamp for the time the synthesis task was started. CreationTime *time.Time - // Specifies the engine ( standard , neural or long-form ) for Amazon Polly to use - // when processing input text for speech synthesis. Using a voice that is not - // supported for the engine selected will result in an error. + // Specifies the engine ( standard , neural , long-form or generative ) for Amazon + // Polly to use when processing input text for speech synthesis. Using a voice that + // is not supported for the engine selected will result in an error. Engine Engine // Optional language code for a synthesis task. This is only necessary if using a @@ -107,7 +107,8 @@ type SynthesisTask struct { // // The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and // "24000". The default value for standard voices is "22050". The default value for - // neural voices is "24000". The default value for long-form voices is "24000". + // neural voices is "24000". The default value for long-form voices is "24000". The + // default value for generative voices is "24000". // // Valid values for pcm are "8000" and "16000" The default value is "16000". SampleRate *string @@ -167,8 +168,8 @@ type Voice struct { // readable voice name that you might display in your application. Name *string - // Specifies which engines ( standard , neural or long-form ) are supported by a - // given voice. + // Specifies which engines ( standard , neural , long-form or generative ) are + // supported by a given voice. SupportedEngines []Engine noSmithyDocumentSerde diff --git a/service/sqs/api_op_CancelMessageMoveTask.go b/service/sqs/api_op_CancelMessageMoveTask.go index 9093f1e4cda..a29f51bff0c 100644 --- a/service/sqs/api_op_CancelMessageMoveTask.go +++ b/service/sqs/api_op_CancelMessageMoveTask.go @@ -20,8 +20,6 @@ import ( // destination queue can be the original source queue (from which the messages were // driven to the dead-letter-queue), or a custom destination queue. // -// - Currently, only standard queues are supported. -// // - Only one active message movement task is supported per queue at any given // time. // diff --git a/service/sqs/api_op_ListMessageMoveTasks.go b/service/sqs/api_op_ListMessageMoveTasks.go index ed689ef13d1..5f1608ea0f8 100644 --- a/service/sqs/api_op_ListMessageMoveTasks.go +++ b/service/sqs/api_op_ListMessageMoveTasks.go @@ -19,8 +19,6 @@ import ( // destination queue can be the original source queue (from which the messages were // driven to the dead-letter-queue), or a custom destination queue. // -// - Currently, only standard queues are supported. -// // - Only one active message movement task is supported per queue at any given // time. // diff --git a/service/sqs/api_op_ReceiveMessage.go b/service/sqs/api_op_ReceiveMessage.go index c0f04d29fbf..503ba0e87f3 100644 --- a/service/sqs/api_op_ReceiveMessage.go +++ b/service/sqs/api_op_ReceiveMessage.go @@ -83,6 +83,10 @@ type ReceiveMessageInput struct { // This member is required. QueueUrl *string + // This parameter has been deprecated but will be supported for backward + // compatibility. To provide attribute names, you are encouraged to use + // MessageSystemAttributeNames . + // // A list of attributes that need to be returned along with each message. These // attributes include: // @@ -121,6 +125,8 @@ type ReceiveMessageInput struct { // [SSE-KMS]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html // [epoch time]: http://en.wikipedia.org/wiki/Unix_time // [SSE-SQS]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html + // + // Deprecated: AttributeNames has been replaced by MessageSystemAttributeNames AttributeNames []types.QueueAttributeName // The maximum number of messages to return. Amazon SQS never returns more @@ -150,6 +156,46 @@ type ReceiveMessageInput struct { // example bar.* . MessageAttributeNames []string + // A list of attributes that need to be returned along with each message. These + // attributes include: + // + // - All – Returns all values. + // + // - ApproximateFirstReceiveTimestamp – Returns the time the message was first + // received from the queue ([epoch time] in milliseconds). + // + // - ApproximateReceiveCount – Returns the number of times a message has been + // received across all queues but not deleted. + // + // - AWSTraceHeader – Returns the X-Ray trace header string. + // + // - SenderId + // + // - For a user, returns the user ID, for example ABCDEFGHI1JKLMNOPQ23R . + // + // - For an IAM role, returns the IAM role ID, for example + // ABCDE1F2GH3I4JK5LMNOP:i-a123b456 . + // + // - SentTimestamp – Returns the time the message was sent to the queue ([epoch time] in + // milliseconds). + // + // - SqsManagedSseEnabled – Enables server-side queue encryption using SQS owned + // encryption keys. Only one server-side encryption option is supported per queue + // (for example, [SSE-KMS]or [SSE-SQS]). + // + // - MessageDeduplicationId – Returns the value provided by the producer that + // calls the SendMessageaction. + // + // - MessageGroupId – Returns the value provided by the producer that calls the SendMessage + // action. Messages with the same MessageGroupId are returned in sequence. + // + // - SequenceNumber – Returns the value provided by Amazon SQS. + // + // [SSE-KMS]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html + // [epoch time]: http://en.wikipedia.org/wiki/Unix_time + // [SSE-SQS]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html + MessageSystemAttributeNames []types.MessageSystemAttributeName + // This parameter applies only to FIFO (first-in-first-out) queues. // // The token used for deduplication of ReceiveMessage calls. If a networking issue @@ -164,9 +210,6 @@ type ReceiveMessageInput struct { // - When you set FifoQueue , a caller of the ReceiveMessage action can provide a // ReceiveRequestAttemptId explicitly. // - // - If a caller of the ReceiveMessage action doesn't provide a - // ReceiveRequestAttemptId , Amazon SQS generates a ReceiveRequestAttemptId . - // // - It is possible to retry the ReceiveMessage action with the same // ReceiveRequestAttemptId if none of the messages have been modified (deleted or // had their visibility changes). @@ -214,7 +257,7 @@ type ReceiveMessageInput struct { // The duration (in seconds) for which the call waits for a message to arrive in // the queue before returning. If a message is available, the call returns sooner // than WaitTimeSeconds . If no messages are available and the wait time expires, - // the call returns successfully with an empty list of messages. + // the call does not return a message list. // // To avoid HTTP errors, ensure that the HTTP response timeout for ReceiveMessage // requests is longer than the WaitTimeSeconds parameter. For example, with the diff --git a/service/sqs/api_op_SendMessage.go b/service/sqs/api_op_SendMessage.go index 63742e0e423..3ef3b1669ec 100644 --- a/service/sqs/api_op_SendMessage.go +++ b/service/sqs/api_op_SendMessage.go @@ -147,8 +147,8 @@ type SendMessageInput struct { // For each MessageGroupId , the messages are sorted by time sent. The caller // can't specify a MessageGroupId . // - // The length of MessageGroupId is 128 characters. Valid values: alphanumeric - // characters and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) . + // The maximum length of MessageGroupId is 128 characters. Valid values: + // alphanumeric characters and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) . // // For best practices of using MessageGroupId , see [Using the MessageGroupId Property] in the Amazon SQS Developer // Guide. diff --git a/service/sqs/api_op_SetQueueAttributes.go b/service/sqs/api_op_SetQueueAttributes.go index 4b0740733a4..fa3afb42dfc 100644 --- a/service/sqs/api_op_SetQueueAttributes.go +++ b/service/sqs/api_op_SetQueueAttributes.go @@ -10,9 +10,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Sets the value of one or more queue attributes. When you change a queue's -// attributes, the change can take up to 60 seconds for most of the attributes to -// propagate throughout the Amazon SQS system. Changes made to the +// Sets the value of one or more queue attributes, like a policy. When you change +// a queue's attributes, the change can take up to 60 seconds for most of the +// attributes to propagate throughout the Amazon SQS system. Changes made to the // MessageRetentionPeriod attribute can take up to 15 minutes and will impact // existing messages in the queue potentially causing them to be expired and // deleted if the MessageRetentionPeriod is reduced below the age of existing diff --git a/service/sqs/api_op_StartMessageMoveTask.go b/service/sqs/api_op_StartMessageMoveTask.go index c279d24e730..b4ec61437a2 100644 --- a/service/sqs/api_op_StartMessageMoveTask.go +++ b/service/sqs/api_op_StartMessageMoveTask.go @@ -23,9 +23,6 @@ import ( // (from which the messages were driven to the dead-letter-queue), or a custom // destination queue. // -// - Currently, only standard queues support redrive. FIFO queues don't support -// redrive. -// // - Only one active message movement task is supported per queue at any given // time. // diff --git a/service/sqs/serializers.go b/service/sqs/serializers.go index ddac08da6a5..d93605345ee 100644 --- a/service/sqs/serializers.go +++ b/service/sqs/serializers.go @@ -1466,6 +1466,17 @@ func awsAwsjson10_serializeDocumentMessageBodySystemAttributeMap(v map[string]ty return nil } +func awsAwsjson10_serializeDocumentMessageSystemAttributeList(v []types.MessageSystemAttributeName, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(string(v[i])) + } + return nil +} + func awsAwsjson10_serializeDocumentMessageSystemAttributeValue(v *types.MessageSystemAttributeValue, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -1907,6 +1918,13 @@ func awsAwsjson10_serializeOpDocumentReceiveMessageInput(v *ReceiveMessageInput, } } + if v.MessageSystemAttributeNames != nil { + ok := object.Key("MessageSystemAttributeNames") + if err := awsAwsjson10_serializeDocumentMessageSystemAttributeList(v.MessageSystemAttributeNames, ok); err != nil { + return err + } + } + if v.QueueUrl != nil { ok := object.Key("QueueUrl") ok.String(*v.QueueUrl) diff --git a/service/sqs/types/enums.go b/service/sqs/types/enums.go index 9982d1e56bc..230b83627f5 100644 --- a/service/sqs/types/enums.go +++ b/service/sqs/types/enums.go @@ -6,6 +6,7 @@ type MessageSystemAttributeName string // Enum values for MessageSystemAttributeName const ( + MessageSystemAttributeNameAll MessageSystemAttributeName = "All" MessageSystemAttributeNameSenderId MessageSystemAttributeName = "SenderId" MessageSystemAttributeNameSentTimestamp MessageSystemAttributeName = "SentTimestamp" MessageSystemAttributeNameApproximateReceiveCount MessageSystemAttributeName = "ApproximateReceiveCount" @@ -23,6 +24,7 @@ const ( // The ordering of this slice is not guaranteed to be stable across updates. func (MessageSystemAttributeName) Values() []MessageSystemAttributeName { return []MessageSystemAttributeName{ + "All", "SenderId", "SentTimestamp", "ApproximateReceiveCount", diff --git a/service/sqs/types/types.go b/service/sqs/types/types.go index 6aa87d5d0c1..5dade2c0d71 100644 --- a/service/sqs/types/types.go +++ b/service/sqs/types/types.go @@ -106,7 +106,8 @@ type ListMessageMoveTasksResultEntry struct { ApproximateNumberOfMessagesMoved int64 // The number of messages to be moved from the source queue. This number is - // obtained at the time of starting the message movement task. + // obtained at the time of starting the message movement task and is only included + // after the message movement task is selected to start. ApproximateNumberOfMessagesToMove *int64 // The ARN of the destination queue if it has been specified in the