diff --git a/CHANGELOG.md b/CHANGELOG.md index ca69f627d35..f39e54f8265 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.50.32 (2024-03-05) +=== + +### Service Client Updates +* `service/apigateway`: Updates service documentation + * Documentation updates for Amazon API Gateway +* `service/chatbot`: Updates service API +* `service/organizations`: Adds new service + * This release contains an endpoint addition +* `service/sesv2`: Updates service API and documentation + Release v1.50.31 (2024-03-04) === diff --git a/aws/version.go b/aws/version.go index 6fe12613d13..554b0ebde8b 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.50.31" +const SDKVersion = "1.50.32" diff --git a/models/apis/apigateway/2015-07-09/docs-2.json b/models/apis/apigateway/2015-07-09/docs-2.json index b9b87327e54..4337ce2902b 100644 --- a/models/apis/apigateway/2015-07-09/docs-2.json +++ b/models/apis/apigateway/2015-07-09/docs-2.json @@ -234,7 +234,7 @@ "ImportDocumentationPartsRequest$failOnWarnings": "
A query parameter to specify whether to rollback the documentation importation (true
) or not (false
) when a warning is encountered. The default value is false
.
A query parameter to indicate whether to rollback the API creation (true
) or not (false
) when a warning is encountered. The default value is false
.
Specifies whether Amazon CloudWatch metrics are enabled for this method.
", - "MethodSetting$dataTraceEnabled": "Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs.
", + "MethodSetting$dataTraceEnabled": "Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.
", "MethodSetting$cachingEnabled": "Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.
", "MethodSetting$cacheDataEncrypted": "Specifies whether the cached responses are encrypted.
", "MethodSetting$requireAuthorizationForCacheControl": "Specifies whether authorization is required for a cache invalidation request.
", diff --git a/models/apis/chatbot/2017-10-11/api-2.json b/models/apis/chatbot/2017-10-11/api-2.json index 3df15f0120a..00296389982 100644 --- a/models/apis/chatbot/2017-10-11/api-2.json +++ b/models/apis/chatbot/2017-10-11/api-2.json @@ -5,7 +5,7 @@ "endpointPrefix":"chatbot", "jsonVersion":"1.1", "protocol":"rest-json", - "serviceFullName":"chatbot", + "serviceFullName":"AWS Chatbot", "serviceId":"chatbot", "signatureVersion":"v4", "uid":"chatbot-2017-10-11" diff --git a/models/apis/organizations/2016-11-28/endpoint-rule-set-1.json b/models/apis/organizations/2016-11-28/endpoint-rule-set-1.json index 40881cb7e34..12b950f6662 100644 --- a/models/apis/organizations/2016-11-28/endpoint-rule-set-1.json +++ b/models/apis/organizations/2016-11-28/endpoint-rule-set-1.json @@ -365,6 +365,57 @@ }, "type": "endpoint" }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-iso" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://organizations.us-iso-east-1.c2s.ic.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "organizations", + "signingRegion": "us-iso-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [ { diff --git a/models/apis/organizations/2016-11-28/endpoint-tests-1.json b/models/apis/organizations/2016-11-28/endpoint-tests-1.json index d84bb7c7e76..3efeb31e4a9 100644 --- a/models/apis/organizations/2016-11-28/endpoint-tests-1.json +++ b/models/apis/organizations/2016-11-28/endpoint-tests-1.json @@ -311,6 +311,28 @@ "UseDualStack": false } }, + { + "documentation": "For region aws-iso-global with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "organizations", + "signingRegion": "us-iso-east-1" + } + ] + }, + "url": "https://organizations.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "aws-iso-global", + "UseFIPS": false, + "UseDualStack": false + } + }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { @@ -350,6 +372,15 @@ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "organizations", + "signingRegion": "us-iso-east-1" + } + ] + }, "url": "https://organizations.us-iso-east-1.c2s.ic.gov" } }, diff --git a/models/apis/sesv2/2019-09-27/api-2.json b/models/apis/sesv2/2019-09-27/api-2.json index 00e29715114..5fd32760c49 100644 --- a/models/apis/sesv2/2019-09-27/api-2.json +++ b/models/apis/sesv2/2019-09-27/api-2.json @@ -3642,11 +3642,41 @@ ], "members":{ "Subject":{"shape":"Content"}, - "Body":{"shape":"Body"} + "Body":{"shape":"Body"}, + "Headers":{"shape":"MessageHeaderList"} } }, "MessageContent":{"type":"string"}, "MessageData":{"type":"string"}, + "MessageHeader":{ + "type":"structure", + "required":[ + "Name", + "Value" + ], + "members":{ + "Name":{"shape":"MessageHeaderName"}, + "Value":{"shape":"MessageHeaderValue"} + } + }, + "MessageHeaderList":{ + "type":"list", + "member":{"shape":"MessageHeader"}, + "max":15, + "min":0 + }, + "MessageHeaderName":{ + "type":"string", + "max":126, + "min":1, + "pattern":"^[!-9;-@A-~]+$" + }, + "MessageHeaderValue":{ + "type":"string", + "max":870, + "min":1, + "pattern":"[ -~]*" + }, "MessageInsightsDataSource":{ "type":"structure", "required":[ @@ -4537,7 +4567,8 @@ "members":{ "TemplateName":{"shape":"EmailTemplateName"}, "TemplateArn":{"shape":"AmazonResourceName"}, - "TemplateData":{"shape":"EmailTemplateData"} + "TemplateData":{"shape":"EmailTemplateData"}, + "Headers":{"shape":"MessageHeaderList"} } }, "TemplateContent":{"type":"string"}, diff --git a/models/apis/sesv2/2019-09-27/docs-2.json b/models/apis/sesv2/2019-09-27/docs-2.json index 7bda1dbdef9..3607ad263ea 100644 --- a/models/apis/sesv2/2019-09-27/docs-2.json +++ b/models/apis/sesv2/2019-09-27/docs-2.json @@ -89,7 +89,7 @@ "TestRenderEmailTemplate": "Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.
You can execute this operation no more than once per second.
", "UntagResource": "Remove one or more tags (keys and values) from a specified resource.
", "UpdateConfigurationSetEventDestination": "Update the configuration of an event destination for a configuration set.
Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
", - "UpdateContact": "Updates a contact's preferences for a list. It is not necessary to specify all existing topic preferences in the TopicPreferences object, just the ones that need updating.
", + "UpdateContact": "Updates a contact's preferences for a list.
You must specify all existing topic preferences in the TopicPreferences
object, not just the ones that need updating; otherwise, all your existing preferences will be removed.
Updates contact list metadata. This operation does a complete replacement.
", "UpdateCustomVerificationEmailTemplate": "Updates an existing custom verification email template.
For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
", "UpdateEmailIdentityPolicy": "Updates the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
", @@ -991,7 +991,7 @@ "base": "An object that defines the entire content of the email, including the message headers and the body content. You can create a simple email message, in which you specify the subject and the text and HTML versions of the message body. You can also create raw messages, in which you specify a complete MIME-formatted message. Raw messages can include attachments and custom headers.
", "refs": { "CreateDeliverabilityTestReportRequest$Content": "The HTML body of the message that you sent when you performed the predictive inbox placement test.
", - "SendEmailRequest$Content": "An object that contains the body of the message. You can send either a Simple message Raw message or a template Message.
" + "SendEmailRequest$Content": "An object that contains the body of the message. You can send either a Simple message, Raw message, or a Templated message.
" } }, "EmailInsights": { @@ -1097,7 +1097,7 @@ "EventDestination$Enabled": "If true
, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition
.
If false
, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.
If true
, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition
.
If false
, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.
Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.
", - "GetAccountResponse$ProductionAccessEnabled": "Indicates whether or not your account has production access in the current Amazon Web Services Region.
If the value is false
, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities. Additionally, the maximum number of emails you can send in a 24-hour period (your sending quota) is 200, and the maximum number of emails you can send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.
Indicates whether or not your account has production access in the current Amazon Web Services Region.
If the value is false
, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities.
If the value is true
, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.
Indicates whether or not email sending is enabled for your Amazon SES account in the current Amazon Web Services Region.
", "GetDeliverabilityDashboardOptionsResponse$DashboardEnabled": "Specifies whether the Deliverability dashboard is enabled. If this value is true
, the dashboard is enabled.
The feedback forwarding configuration for the identity.
If the value is true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
", @@ -1118,7 +1118,7 @@ "EnabledWrapper": { "base": null, "refs": { - "PutAccountDetailsRequest$ProductionAccessEnabled": "Indicates whether or not your account should have production access in the current Amazon Web Services Region.
If the value is false
, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities. Additionally, the maximum number of emails you can send in a 24-hour period (your sending quota) is 200, and the maximum number of emails you can send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.
Indicates whether or not your account should have production access in the current Amazon Web Services Region.
If the value is false
, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities.
If the value is true
, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.
The content of the message itself.
" } }, + "MessageHeader": { + "base": "Contains the name and value of a message header that you add to an email.
", + "refs": { + "MessageHeaderList$member": null + } + }, + "MessageHeaderList": { + "base": "A list of message headers. The list of message headers has to meet the following criteria:
Can contain no more than 15 headers in one message.
The list of message headers that will be added to the email message.
", + "Template$Headers": "The list of message headers that will be added to the email message.
" + } + }, + "MessageHeaderName": { + "base": "The name of the message header. The message header name has to meet the following criteria:
Can contain any printable ASCII character (33 - 126) except for colon (:).
Can contain no more than 126 characters.
The name of the message header. The message header name has to meet the following criteria:
Can contain any printable ASCII character (33 - 126) except for colon (:).
Can contain no more than 126 characters.
The value of the message header. The message header value has to meet the following criteria:
Can contain any printable ASCII character.
The value of the message header. The message header value has to meet the following criteria:
Can contain any printable ASCII character.
Can contain no more than 870 characters.
An object that contains filters applied when performing the Message Insights export.
", "refs": { @@ -2195,7 +2220,7 @@ "GetMessageInsightsRequest$MessageId": " A MessageId
is a unique identifier for a message, and is returned when sending emails through Amazon SES.
A unique identifier for the message.
", "SendCustomVerificationEmailResponse$MessageId": "The unique message identifier returned from the SendCustomVerificationEmail
operation.
A unique identifier for the message that is generated when the message is accepted.
It's possible for Amazon SES to accept a message without sending it. This can happen when the message that you're trying to send has an attachment contains a virus, or when you send a templated email that contains invalid personalization content, for example.
A unique identifier for the message that is generated when the message is accepted.
It's possible for Amazon SES to accept a message without sending it. For example, this can happen when the message that you're trying to send has an attachment that contains a virus, or when you send a templated email that contains invalid personalization content.
The unique identifier of the email message that caused the email address to be added to the suppression list for your account.
" } }, diff --git a/service/apigateway/api.go b/service/apigateway/api.go index 5a83e95b66c..740b354a0d5 100644 --- a/service/apigateway/api.go +++ b/service/apigateway/api.go @@ -21599,7 +21599,9 @@ type MethodSetting struct { CachingEnabled *bool `locationName:"cachingEnabled" type:"boolean"` // Specifies whether data trace logging is enabled for this method, which affects - // the log entries pushed to Amazon CloudWatch Logs. + // the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot + // APIs, but can result in logging sensitive data. We recommend that you don't + // enable this option for production APIs. DataTraceEnabled *bool `locationName:"dataTraceEnabled" type:"boolean"` // Specifies the logging level for this method, which affects the log entries diff --git a/service/chatbot/api.go b/service/chatbot/api.go index b0d853c0470..569cbb2fa40 100644 --- a/service/chatbot/api.go +++ b/service/chatbot/api.go @@ -53,7 +53,7 @@ func (c *Chatbot) CreateChimeWebhookConfigurationRequest(input *CreateChimeWebho return } -// CreateChimeWebhookConfiguration API operation for chatbot. +// CreateChimeWebhookConfiguration API operation for AWS Chatbot. // // # Creates Chime Webhook Configuration // @@ -61,7 +61,7 @@ func (c *Chatbot) CreateChimeWebhookConfigurationRequest(input *CreateChimeWebho // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation CreateChimeWebhookConfiguration for usage and error information. // // Returned Error Types: @@ -145,7 +145,7 @@ func (c *Chatbot) CreateMicrosoftTeamsChannelConfigurationRequest(input *CreateM return } -// CreateMicrosoftTeamsChannelConfiguration API operation for chatbot. +// CreateMicrosoftTeamsChannelConfiguration API operation for AWS Chatbot. // // # Creates MS Teams Channel Configuration // @@ -153,7 +153,7 @@ func (c *Chatbot) CreateMicrosoftTeamsChannelConfigurationRequest(input *CreateM // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation CreateMicrosoftTeamsChannelConfiguration for usage and error information. // // Returned Error Types: @@ -237,7 +237,7 @@ func (c *Chatbot) CreateSlackChannelConfigurationRequest(input *CreateSlackChann return } -// CreateSlackChannelConfiguration API operation for chatbot. +// CreateSlackChannelConfiguration API operation for AWS Chatbot. // // # Creates Slack Channel Configuration // @@ -245,7 +245,7 @@ func (c *Chatbot) CreateSlackChannelConfigurationRequest(input *CreateSlackChann // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation CreateSlackChannelConfiguration for usage and error information. // // Returned Error Types: @@ -330,7 +330,7 @@ func (c *Chatbot) DeleteChimeWebhookConfigurationRequest(input *DeleteChimeWebho return } -// DeleteChimeWebhookConfiguration API operation for chatbot. +// DeleteChimeWebhookConfiguration API operation for AWS Chatbot. // // # Deletes a Chime Webhook Configuration // @@ -338,7 +338,7 @@ func (c *Chatbot) DeleteChimeWebhookConfigurationRequest(input *DeleteChimeWebho // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DeleteChimeWebhookConfiguration for usage and error information. // // Returned Error Types: @@ -420,7 +420,7 @@ func (c *Chatbot) DeleteMicrosoftTeamsChannelConfigurationRequest(input *DeleteM return } -// DeleteMicrosoftTeamsChannelConfiguration API operation for chatbot. +// DeleteMicrosoftTeamsChannelConfiguration API operation for AWS Chatbot. // // # Deletes MS Teams Channel Configuration // @@ -428,7 +428,7 @@ func (c *Chatbot) DeleteMicrosoftTeamsChannelConfigurationRequest(input *DeleteM // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DeleteMicrosoftTeamsChannelConfiguration for usage and error information. // // Returned Error Types: @@ -510,7 +510,7 @@ func (c *Chatbot) DeleteMicrosoftTeamsConfiguredTeamRequest(input *DeleteMicroso return } -// DeleteMicrosoftTeamsConfiguredTeam API operation for chatbot. +// DeleteMicrosoftTeamsConfiguredTeam API operation for AWS Chatbot. // // Deletes the Microsoft Teams team authorization allowing for channels to be // configured in that Microsoft Teams team. Note that the Microsoft Teams team @@ -520,7 +520,7 @@ func (c *Chatbot) DeleteMicrosoftTeamsConfiguredTeamRequest(input *DeleteMicroso // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DeleteMicrosoftTeamsConfiguredTeam for usage and error information. // // Returned Error Types: @@ -596,7 +596,7 @@ func (c *Chatbot) DeleteMicrosoftTeamsUserIdentityRequest(input *DeleteMicrosoft return } -// DeleteMicrosoftTeamsUserIdentity API operation for chatbot. +// DeleteMicrosoftTeamsUserIdentity API operation for AWS Chatbot. // // # Deletes a Teams user identity // @@ -604,7 +604,7 @@ func (c *Chatbot) DeleteMicrosoftTeamsUserIdentityRequest(input *DeleteMicrosoft // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DeleteMicrosoftTeamsUserIdentity for usage and error information. // // Returned Error Types: @@ -683,7 +683,7 @@ func (c *Chatbot) DeleteSlackChannelConfigurationRequest(input *DeleteSlackChann return } -// DeleteSlackChannelConfiguration API operation for chatbot. +// DeleteSlackChannelConfiguration API operation for AWS Chatbot. // // # Deletes Slack Channel Configuration // @@ -691,7 +691,7 @@ func (c *Chatbot) DeleteSlackChannelConfigurationRequest(input *DeleteSlackChann // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DeleteSlackChannelConfiguration for usage and error information. // // Returned Error Types: @@ -773,7 +773,7 @@ func (c *Chatbot) DeleteSlackUserIdentityRequest(input *DeleteSlackUserIdentityI return } -// DeleteSlackUserIdentity API operation for chatbot. +// DeleteSlackUserIdentity API operation for AWS Chatbot. // // # Deletes a Slack user identity // @@ -781,7 +781,7 @@ func (c *Chatbot) DeleteSlackUserIdentityRequest(input *DeleteSlackUserIdentityI // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DeleteSlackUserIdentity for usage and error information. // // Returned Error Types: @@ -860,7 +860,7 @@ func (c *Chatbot) DeleteSlackWorkspaceAuthorizationRequest(input *DeleteSlackWor return } -// DeleteSlackWorkspaceAuthorization API operation for chatbot. +// DeleteSlackWorkspaceAuthorization API operation for AWS Chatbot. // // Deletes the Slack workspace authorization that allows channels to be configured // in that workspace. This requires all configured channels in the workspace @@ -870,7 +870,7 @@ func (c *Chatbot) DeleteSlackWorkspaceAuthorizationRequest(input *DeleteSlackWor // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DeleteSlackWorkspaceAuthorization for usage and error information. // // Returned Error Types: @@ -950,7 +950,7 @@ func (c *Chatbot) DescribeChimeWebhookConfigurationsRequest(input *DescribeChime return } -// DescribeChimeWebhookConfigurations API operation for chatbot. +// DescribeChimeWebhookConfigurations API operation for AWS Chatbot. // // # Lists Chime Webhook Configurations optionally filtered by ChatConfigurationArn // @@ -958,7 +958,7 @@ func (c *Chatbot) DescribeChimeWebhookConfigurationsRequest(input *DescribeChime // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DescribeChimeWebhookConfigurations for usage and error information. // // Returned Error Types: @@ -1093,7 +1093,7 @@ func (c *Chatbot) DescribeSlackChannelConfigurationsRequest(input *DescribeSlack return } -// DescribeSlackChannelConfigurations API operation for chatbot. +// DescribeSlackChannelConfigurations API operation for AWS Chatbot. // // # Lists Slack Channel Configurations optionally filtered by ChatConfigurationArn // @@ -1101,7 +1101,7 @@ func (c *Chatbot) DescribeSlackChannelConfigurationsRequest(input *DescribeSlack // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DescribeSlackChannelConfigurations for usage and error information. // // Returned Error Types: @@ -1236,7 +1236,7 @@ func (c *Chatbot) DescribeSlackUserIdentitiesRequest(input *DescribeSlackUserIde return } -// DescribeSlackUserIdentities API operation for chatbot. +// DescribeSlackUserIdentities API operation for AWS Chatbot. // // Lists all Slack user identities with a mapped role. // @@ -1244,7 +1244,7 @@ func (c *Chatbot) DescribeSlackUserIdentitiesRequest(input *DescribeSlackUserIde // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DescribeSlackUserIdentities for usage and error information. // // Returned Error Types: @@ -1379,7 +1379,7 @@ func (c *Chatbot) DescribeSlackWorkspacesRequest(input *DescribeSlackWorkspacesI return } -// DescribeSlackWorkspaces API operation for chatbot. +// DescribeSlackWorkspaces API operation for AWS Chatbot. // // # Lists all authorized Slack Workspaces for AWS Account // @@ -1387,7 +1387,7 @@ func (c *Chatbot) DescribeSlackWorkspacesRequest(input *DescribeSlackWorkspacesI // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation DescribeSlackWorkspaces for usage and error information. // // Returned Error Types: @@ -1516,7 +1516,7 @@ func (c *Chatbot) GetAccountPreferencesRequest(input *GetAccountPreferencesInput return } -// GetAccountPreferences API operation for chatbot. +// GetAccountPreferences API operation for AWS Chatbot. // // # Get Chatbot account level preferences // @@ -1524,7 +1524,7 @@ func (c *Chatbot) GetAccountPreferencesRequest(input *GetAccountPreferencesInput // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation GetAccountPreferences for usage and error information. // // Returned Error Types: @@ -1599,7 +1599,7 @@ func (c *Chatbot) GetMicrosoftTeamsChannelConfigurationRequest(input *GetMicroso return } -// GetMicrosoftTeamsChannelConfiguration API operation for chatbot. +// GetMicrosoftTeamsChannelConfiguration API operation for AWS Chatbot. // // # Get a single MS Teams Channel Configurations // @@ -1607,7 +1607,7 @@ func (c *Chatbot) GetMicrosoftTeamsChannelConfigurationRequest(input *GetMicroso // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation GetMicrosoftTeamsChannelConfiguration for usage and error information. // // Returned Error Types: @@ -1691,7 +1691,7 @@ func (c *Chatbot) ListMicrosoftTeamsChannelConfigurationsRequest(input *ListMicr return } -// ListMicrosoftTeamsChannelConfigurations API operation for chatbot. +// ListMicrosoftTeamsChannelConfigurations API operation for AWS Chatbot. // // # Lists MS Teams Channel Configurations optionally filtered by TeamId // @@ -1699,7 +1699,7 @@ func (c *Chatbot) ListMicrosoftTeamsChannelConfigurationsRequest(input *ListMicr // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation ListMicrosoftTeamsChannelConfigurations for usage and error information. // // Returned Error Types: @@ -1834,7 +1834,7 @@ func (c *Chatbot) ListMicrosoftTeamsConfiguredTeamsRequest(input *ListMicrosoftT return } -// ListMicrosoftTeamsConfiguredTeams API operation for chatbot. +// ListMicrosoftTeamsConfiguredTeams API operation for AWS Chatbot. // // # Lists all authorized MS teams for AWS Account // @@ -1842,7 +1842,7 @@ func (c *Chatbot) ListMicrosoftTeamsConfiguredTeamsRequest(input *ListMicrosoftT // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation ListMicrosoftTeamsConfiguredTeams for usage and error information. // // Returned Error Types: @@ -1977,7 +1977,7 @@ func (c *Chatbot) ListMicrosoftTeamsUserIdentitiesRequest(input *ListMicrosoftTe return } -// ListMicrosoftTeamsUserIdentities API operation for chatbot. +// ListMicrosoftTeamsUserIdentities API operation for AWS Chatbot. // // Lists all Microsoft Teams user identities with a mapped role. // @@ -1985,7 +1985,7 @@ func (c *Chatbot) ListMicrosoftTeamsUserIdentitiesRequest(input *ListMicrosoftTe // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation ListMicrosoftTeamsUserIdentities for usage and error information. // // Returned Error Types: @@ -2114,7 +2114,7 @@ func (c *Chatbot) UpdateAccountPreferencesRequest(input *UpdateAccountPreference return } -// UpdateAccountPreferences API operation for chatbot. +// UpdateAccountPreferences API operation for AWS Chatbot. // // # Update Chatbot account level preferences // @@ -2122,7 +2122,7 @@ func (c *Chatbot) UpdateAccountPreferencesRequest(input *UpdateAccountPreference // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation UpdateAccountPreferences for usage and error information. // // Returned Error Types: @@ -2200,7 +2200,7 @@ func (c *Chatbot) UpdateChimeWebhookConfigurationRequest(input *UpdateChimeWebho return } -// UpdateChimeWebhookConfiguration API operation for chatbot. +// UpdateChimeWebhookConfiguration API operation for AWS Chatbot. // // # Updates a Chime Webhook Configuration // @@ -2208,7 +2208,7 @@ func (c *Chatbot) UpdateChimeWebhookConfigurationRequest(input *UpdateChimeWebho // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation UpdateChimeWebhookConfiguration for usage and error information. // // Returned Error Types: @@ -2289,7 +2289,7 @@ func (c *Chatbot) UpdateMicrosoftTeamsChannelConfigurationRequest(input *UpdateM return } -// UpdateMicrosoftTeamsChannelConfiguration API operation for chatbot. +// UpdateMicrosoftTeamsChannelConfiguration API operation for AWS Chatbot. // // # Updates MS Teams Channel Configuration // @@ -2297,7 +2297,7 @@ func (c *Chatbot) UpdateMicrosoftTeamsChannelConfigurationRequest(input *UpdateM // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation UpdateMicrosoftTeamsChannelConfiguration for usage and error information. // // Returned Error Types: @@ -2378,7 +2378,7 @@ func (c *Chatbot) UpdateSlackChannelConfigurationRequest(input *UpdateSlackChann return } -// UpdateSlackChannelConfiguration API operation for chatbot. +// UpdateSlackChannelConfiguration API operation for AWS Chatbot. // // # Updates Slack Channel Configuration // @@ -2386,7 +2386,7 @@ func (c *Chatbot) UpdateSlackChannelConfigurationRequest(input *UpdateSlackChann // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for chatbot's +// See the AWS API reference guide for AWS Chatbot's // API operation UpdateSlackChannelConfiguration for usage and error information. // // Returned Error Types: diff --git a/service/chatbot/chatbotiface/interface.go b/service/chatbot/chatbotiface/interface.go index 4b5a145e112..075d9446747 100644 --- a/service/chatbot/chatbotiface/interface.go +++ b/service/chatbot/chatbotiface/interface.go @@ -1,6 +1,6 @@ // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. -// Package chatbotiface provides an interface to enable mocking the chatbot service client +// Package chatbotiface provides an interface to enable mocking the AWS Chatbot service client // for testing your code. // // It is important to note that this interface will have breaking changes @@ -24,7 +24,7 @@ import ( // to inject custom request handlers into the SDK's request pipeline. // // // myFunc uses an SDK service client to make a request to -// // chatbot. +// // AWS Chatbot. // func myFunc(svc chatbotiface.ChatbotAPI) bool { // // Make svc.CreateChimeWebhookConfiguration request // } diff --git a/service/chatbot/doc.go b/service/chatbot/doc.go index 62a56597e6b..41e994ce9d6 100644 --- a/service/chatbot/doc.go +++ b/service/chatbot/doc.go @@ -1,7 +1,7 @@ // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package chatbot provides the client and types for making API -// requests to chatbot. +// requests to AWS Chatbot. // // # AWS Chatbot API // @@ -12,7 +12,7 @@ // // # Using the Client // -// To contact chatbot with the SDK use the New function to create +// To contact AWS Chatbot with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. // These clients are safe to use concurrently. // @@ -22,7 +22,7 @@ // See aws.Config documentation for more information on configuring SDK clients. // https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config // -// See the chatbot client Chatbot for more +// See the AWS Chatbot client Chatbot for more // information on creating client for this service. // https://docs.aws.amazon.com/sdk-for-go/api/service/chatbot/#New package chatbot diff --git a/service/chatbot/service.go b/service/chatbot/service.go index d7597fc3421..ca0a7587454 100644 --- a/service/chatbot/service.go +++ b/service/chatbot/service.go @@ -13,7 +13,7 @@ import ( ) // Chatbot provides the API operation methods for making requests to -// chatbot. See this package's package overview docs +// AWS Chatbot. See this package's package overview docs // for details on the service. // // Chatbot methods are safe to use concurrently. It is not safe to diff --git a/service/sesv2/api.go b/service/sesv2/api.go index e05a69a6939..dee008d9702 100644 --- a/service/sesv2/api.go +++ b/service/sesv2/api.go @@ -8704,9 +8704,11 @@ func (c *SESV2) UpdateContactRequest(input *UpdateContactInput) (req *request.Re // UpdateContact API operation for Amazon Simple Email Service. // -// Updates a contact's preferences for a list. It is not necessary to specify -// all existing topic preferences in the TopicPreferences object, just the ones -// that need updating. +// Updates a contact's preferences for a list. +// +// You must specify all existing topic preferences in the TopicPreferences object, +// not just the ones that need updating; otherwise, all your existing preferences +// will be removed. // // 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 @@ -14991,10 +14993,7 @@ type GetAccountOutput struct { // Amazon Web Services Region. // // If the value is false, then your account is in the sandbox. When your account - // is in the sandbox, you can only send email to verified identities. Additionally, - // the maximum number of emails you can send in a 24-hour period (your sending - // quota) is 200, and the maximum number of emails you can send per second (your - // maximum sending rate) is 1. + // is in the sandbox, you can only send email to verified identities. // // If the value is true, then your account has production access. When your // account has production access, you can send email to any address. The sending @@ -19924,6 +19923,9 @@ type Message struct { // Body is a required field Body *Body `type:"structure" required:"true"` + // The list of message headers that will be added to the email message. + Headers []*MessageHeader `type:"list"` + // The subject line of the email. The subject line can only contain 7-bit ASCII // characters. However, you can specify non-ASCII characters in the subject // line by using encoded-word syntax, as described in RFC 2047 (https://tools.ietf.org/html/rfc2047). @@ -19964,6 +19966,16 @@ func (s *Message) Validate() error { invalidParams.AddNested("Body", err.(request.ErrInvalidParams)) } } + if s.Headers != nil { + for i, v := range s.Headers { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Headers", i), err.(request.ErrInvalidParams)) + } + } + } if s.Subject != nil { if err := s.Subject.Validate(); err != nil { invalidParams.AddNested("Subject", err.(request.ErrInvalidParams)) @@ -19982,12 +19994,96 @@ func (s *Message) SetBody(v *Body) *Message { return s } +// SetHeaders sets the Headers field's value. +func (s *Message) SetHeaders(v []*MessageHeader) *Message { + s.Headers = v + return s +} + // SetSubject sets the Subject field's value. func (s *Message) SetSubject(v *Content) *Message { s.Subject = v return s } +// Contains the name and value of a message header that you add to an email. +type MessageHeader struct { + _ struct{} `type:"structure"` + + // The name of the message header. The message header name has to meet the following + // criteria: + // + // * Can contain any printable ASCII character (33 - 126) except for colon + // (:). + // + // * Can contain no more than 126 characters. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The value of the message header. The message header value has to meet the + // following criteria: + // + // * Can contain any printable ASCII character. + // + // * Can contain no more than 870 characters. + // + // Value is a required field + Value *string `min:"1" type:"string" required:"true"` +} + +// 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 MessageHeader) 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 MessageHeader) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MessageHeader) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MessageHeader"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Value != nil && len(*s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *MessageHeader) SetName(v string) *MessageHeader { + s.Name = &v + return s +} + +// SetValue sets the Value field's value. +func (s *MessageHeader) SetValue(v string) *MessageHeader { + s.Value = &v + return s +} + // An object that contains filters applied when performing the Message Insights // export. type MessageInsightsDataSource struct { @@ -20842,10 +20938,7 @@ type PutAccountDetailsInput struct { // current Amazon Web Services Region. // // If the value is false, then your account is in the sandbox. When your account - // is in the sandbox, you can only send email to verified identities. Additionally, - // the maximum number of emails you can send in a 24-hour period (your sending - // quota) is 200, and the maximum number of emails you can send per second (your - // maximum sending rate) is 1. + // is in the sandbox, you can only send email to verified identities. // // If the value is true, then your account has production access. When your // account has production access, you can send email to any address. The sending @@ -23395,7 +23488,7 @@ type SendEmailInput struct { ConfigurationSetName *string `type:"string"` // An object that contains the body of the message. You can send either a Simple - // message Raw message or a template Message. + // message, Raw message, or a Templated message. // // Content is a required field Content *EmailContent `type:"structure" required:"true"` @@ -23573,10 +23666,10 @@ type SendEmailOutput struct { // A unique identifier for the message that is generated when the message is // accepted. // - // It's possible for Amazon SES to accept a message without sending it. This - // can happen when the message that you're trying to send has an attachment - // contains a virus, or when you send a templated email that contains invalid - // personalization content, for example. + // It's possible for Amazon SES to accept a message without sending it. For + // example, this can happen when the message that you're trying to send has + // an attachment that contains a virus, or when you send a templated email that + // contains invalid personalization content. MessageId *string `type:"string"` } @@ -24312,6 +24405,9 @@ func (s TagResourceOutput) GoString() string { type Template struct { _ struct{} `type:"structure"` + // The list of message headers that will be added to the email message. + Headers []*MessageHeader `type:"list"` + // The Amazon Resource Name (ARN) of the template. TemplateArn *string `type:"string"` @@ -24350,6 +24446,16 @@ func (s *Template) Validate() error { if s.TemplateName != nil && len(*s.TemplateName) < 1 { invalidParams.Add(request.NewErrParamMinLen("TemplateName", 1)) } + if s.Headers != nil { + for i, v := range s.Headers { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Headers", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -24357,6 +24463,12 @@ func (s *Template) Validate() error { return nil } +// SetHeaders sets the Headers field's value. +func (s *Template) SetHeaders(v []*MessageHeader) *Template { + s.Headers = v + return s +} + // SetTemplateArn sets the TemplateArn field's value. func (s *Template) SetTemplateArn(v string) *Template { s.TemplateArn = &v