diff --git a/CHANGELOG.md b/CHANGELOG.md index 148ef84c9c7..6f57d976e25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [1.0.71] - 03/05/2024 + +### Features +* (**organizations**) This release contains an endpoint addition +* (**sesv2**) Adds support for providing custom headers within SendEmail and SendBulkEmail for SESv2. + +### Documentation +* (**apigateway**) Documentation updates for Amazon API Gateway +* (**chatbot**) Minor update to documentation. + ## [1.0.70] - 03/04/2024 ### Features diff --git a/codegen/sdk/aws-models/api-gateway.json b/codegen/sdk/aws-models/api-gateway.json index 1fa12787d6e..718c4eb85f0 100644 --- a/codegen/sdk/aws-models/api-gateway.json +++ b/codegen/sdk/aws-models/api-gateway.json @@ -9144,7 +9144,7 @@ "target": "com.amazonaws.apigateway#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "
Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs.
" + "smithy.api#documentation": "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.
" } }, "throttlingBurstLimit": { diff --git a/codegen/sdk/aws-models/chatbot.json b/codegen/sdk/aws-models/chatbot.json index 4926bdd15b5..a1f088d5c74 100644 --- a/codegen/sdk/aws-models/chatbot.json +++ b/codegen/sdk/aws-models/chatbot.json @@ -2823,7 +2823,7 @@ }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "AWS Chatbot API", - "smithy.api#title": "chatbot", + "smithy.api#title": "AWS Chatbot", "smithy.api#xmlNamespace": { "uri": "http://wheatley.amazonaws.com/orchestration/2017-10-11/" }, diff --git a/codegen/sdk/aws-models/organizations.json b/codegen/sdk/aws-models/organizations.json index 8e37a859b4a..5170f46b3c5 100644 --- a/codegen/sdk/aws-models/organizations.json +++ b/codegen/sdk/aws-models/organizations.json @@ -596,6 +596,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": [ { @@ -1111,6 +1162,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": { @@ -1150,6 +1223,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/codegen/sdk/aws-models/sesv2.json b/codegen/sdk/aws-models/sesv2.json index 85eca1091f7..68f31c8d7dc 100644 --- a/codegen/sdk/aws-models/sesv2.json +++ b/codegen/sdk/aws-models/sesv2.json @@ -870,7 +870,7 @@ "ContactListImportAction": { "target": "com.amazonaws.sesv2#ContactListImportAction", "traits": { - "smithy.api#documentation": ">The type of action to perform on the addresses. The following are the \n possible values:
\nPUT: add the addresses to the contact list. If the record already exists, it\n will override it with the new value.
\nDELETE: remove the addresses from the contact list.
\n>The type of action to perform on the addresses. The following are the possible\n values:
\nPUT: add the addresses to the contact list. If the record already exists, it\n will override it with the new value.
\nDELETE: remove the addresses from the contact list.
\nSpecifies the status of your VDM engagement metrics collection. Can be one of the following:
\n\n ENABLED
– Amazon SES enables engagement metrics for your account.
\n DISABLED
– Amazon SES disables engagement metrics for your account.
Specifies the status of your VDM engagement metrics collection. Can be one of the\n following:
\n\n ENABLED
– Amazon SES enables engagement metrics for your\n account.
\n DISABLED
– Amazon SES disables engagement metrics for your\n account.
An object containing additional settings for your VDM configuration as applicable to the Dashboard.
" + "smithy.api#documentation": "An object containing additional settings for your VDM configuration as applicable to\n the Dashboard.
" } }, "com.amazonaws.sesv2#DashboardOptions": { @@ -3276,7 +3276,7 @@ "Raw": { "target": "com.amazonaws.sesv2#RawMessage", "traits": { - "smithy.api#documentation": "The raw email message. The message has to meet the following criteria:
\nThe message has to contain a header and a body, separated by one blank\n line.
\nAll of the required header fields must be present in the message.
\nEach part of a multipart MIME message must be formatted properly.
\nIf you include attachments, they must be in a file format that the Amazon SES API v2\n supports.\n
\nThe raw data of the message needs to base64-encoded if you are accessing\n Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services\n SDK, the SDK takes care of the base 64-encoding for you.
\nIf any of the MIME parts in your message contain content that is outside of\n the 7-bit ASCII character range, you should encode that content to ensure that\n recipients' email clients render the message properly.
\nThe length of any single line of text in the message can't exceed 1,000\n characters. This restriction is defined in RFC 5321.
\nThe raw email message. The message has to meet the following criteria:
\nThe message has to contain a header and a body, separated by one blank\n line.
\nAll of the required header fields must be present in the message.
\nEach part of a multipart MIME message must be formatted properly.
\nIf you include attachments, they must be in a file format that the Amazon SES API v2\n supports.\n
\nThe raw data of the message needs to base64-encoded if you are accessing Amazon SES\n directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services\n SDK, the SDK takes care of the base 64-encoding for you.
\nIf any of the MIME parts in your message contain content that is outside of\n the 7-bit ASCII character range, you should encode that content to ensure that\n recipients' email clients render the message properly.
\nThe length of any single line of text in the message can't exceed 1,000\n characters. This restriction is defined in RFC 5321.
\nIndicates whether or not your account has production access in the current Amazon Web Services\n Region.
\nIf the value is false
, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n 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\n Region.
\nIf the value is false
, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities.\n
If the value is true
, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.
Specifies the status of your VDM optimized shared delivery. Can be one of the following:
\n\n ENABLED
– Amazon SES enables optimized shared delivery for your account.
\n DISABLED
– Amazon SES disables optimized shared delivery for your account.
Specifies the status of your VDM optimized shared delivery. Can be one of the\n following:
\n\n ENABLED
– Amazon SES enables optimized shared delivery for your\n account.
\n DISABLED
– Amazon SES disables optimized shared delivery for\n your account.
An object containing additional settings for your VDM configuration as applicable to the Guardian.
" + "smithy.api#documentation": "An object containing additional settings for your VDM configuration as applicable to\n the Guardian.
" } }, "com.amazonaws.sesv2#GuardianOptions": { @@ -6327,7 +6327,7 @@ "PageSize": { "target": "com.amazonaws.sesv2#MaxItems", "traits": { - "smithy.api#documentation": "The number of contacts that may be returned at once, which is dependent on if there\n are more or less contacts than the value of the PageSize. Use this parameter to\n paginate results. If additional contacts exist beyond the specified limit, the\n NextToken
element is sent in the response. Use the\n NextToken
value in subsequent requests to retrieve additional\n contacts.
The number of contacts that may be returned at once, which is dependent on if there\n are more or less contacts than the value of the PageSize. Use this parameter to paginate\n results. If additional contacts exist beyond the specified limit, the\n NextToken
element is sent in the response. Use the\n NextToken
value in subsequent requests to retrieve additional\n contacts.
The body of the message. You can specify an HTML version of the message, a text-only\n version of the message, or both.
", "smithy.api#required": {} } + }, + "Headers": { + "target": "com.amazonaws.sesv2#MessageHeaderList", + "traits": { + "smithy.api#documentation": "The list of message headers that will be added to the email message.
" + } } }, "traits": { @@ -7483,6 +7489,63 @@ "com.amazonaws.sesv2#MessageData": { "type": "string" }, + "com.amazonaws.sesv2#MessageHeader": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.sesv2#MessageHeaderName", + "traits": { + "smithy.api#documentation": "The name of the message header. The message header name has to meet the following\n criteria:
\nCan contain any printable ASCII character (33 - 126) except for colon (:).
\nCan contain no more than 126 characters.
\nThe value of the message header. The message header value has to meet the following\n criteria:
\nCan contain any printable ASCII character.
\nCan contain no more than 870 characters.
\nContains the name and value of a message header that you add to an email.
" + } + }, + "com.amazonaws.sesv2#MessageHeaderList": { + "type": "list", + "member": { + "target": "com.amazonaws.sesv2#MessageHeader" + }, + "traits": { + "smithy.api#documentation": "A list of message headers. The list of message headers has to meet the following\n criteria:
\nCan contain no more than 15 headers in one message.
\nThe name of the message header. The message header name has to meet the following\n criteria:
\nCan contain any printable ASCII character (33 - 126) except for colon (:).
\nCan contain no more than 126 characters.
\nThe value of the message header. The message header value has to meet the following\n criteria:
\nCan contain any printable ASCII character.
\nIndicates whether or not your account should have production access in the current\n Amazon Web Services Region.
\nIf the value is false
, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n 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\n Amazon Web Services Region.
\nIf the value is false
, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities.\n
If the value is true
, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.
The raw email message. The message has to meet the following criteria:
\nThe message has to contain a header and a body, separated by one blank\n line.
\nAll of the required header fields must be present in the message.
\nEach part of a multipart MIME message must be formatted properly.
\nAttachments must be in a file format that the Amazon SES supports.
\nThe raw data of the message needs to base64-encoded if you are accessing\n Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services\n SDK, the SDK takes care of the base 64-encoding for you.
\nIf any of the MIME parts in your message contain content that is outside of\n the 7-bit ASCII character range, you should encode that content to ensure that\n recipients' email clients render the message properly.
\nThe length of any single line of text in the message can't exceed 1,000\n characters. This restriction is defined in RFC 5321.
\nThe raw email message. The message has to meet the following criteria:
\nThe message has to contain a header and a body, separated by one blank\n line.
\nAll of the required header fields must be present in the message.
\nEach part of a multipart MIME message must be formatted properly.
\nAttachments must be in a file format that the Amazon SES supports.
\nThe raw data of the message needs to base64-encoded if you are accessing Amazon SES\n directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services\n SDK, the SDK takes care of the base 64-encoding for you.
\nIf any of the MIME parts in your message contain content that is outside of\n the 7-bit ASCII character range, you should encode that content to ensure that\n recipients' email clients render the message properly.
\nThe length of any single line of text in the message can't exceed 1,000\n characters. This restriction is defined in RFC 5321.
\nThe email address to use as the \"From\" address for the email. The\n address that you specify has to be verified.
" + "smithy.api#documentation": "The email address to use as the \"From\" address for the email. The address that you\n specify has to be verified.
" } }, "FromEmailAddressIdentityArn": { @@ -9927,7 +9990,7 @@ "FromEmailAddress": { "target": "com.amazonaws.sesv2#EmailAddress", "traits": { - "smithy.api#documentation": "The email address to use as the \"From\" address for the email. The\n address that you specify has to be verified.\n
" + "smithy.api#documentation": "The email address to use as the \"From\" address for the email. The address that you\n specify has to be verified.\n
" } }, "FromEmailAddressIdentityArn": { @@ -9963,7 +10026,7 @@ "Content": { "target": "com.amazonaws.sesv2#EmailContent", "traits": { - "smithy.api#documentation": "An object that contains the body of the message. You can send either a Simple message\n Raw message or a template Message.
", + "smithy.api#documentation": "An object that contains the body of the message. You can send either a Simple message,\n Raw message, or a Templated message.
", "smithy.api#required": {} } }, @@ -9997,7 +10060,7 @@ "MessageId": { "target": "com.amazonaws.sesv2#OutboundMessageId", "traits": { - "smithy.api#documentation": "A unique identifier for the message that is generated when the message is\n accepted.
\nIt's possible for Amazon SES to accept a message without sending it. This can happen\n when the message that you're trying to send has an attachment contains a virus, or\n when you send a templated email that contains invalid personalization content, for\n example.
\nA unique identifier for the message that is generated when the message is\n accepted.
\nIt's possible for Amazon SES to accept a message without sending it. For example, this\n can happen when the message that you're trying to send has an attachment that\n contains a virus, or when you send a templated email that contains invalid\n personalization content.
\nAn object that defines the values to use for message variables in the template. This\n object is a set of key-value pairs. Each key defines a message variable in the template.\n The corresponding value defines the value to use for that variable.
" } + }, + "Headers": { + "target": "com.amazonaws.sesv2#MessageHeaderList", + "traits": { + "smithy.api#documentation": "The list of message headers that will be added to the email message.
" + } } }, "traits": { @@ -12021,7 +12090,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates a contact's preferences for a list. It is not necessary to specify all\n existing topic preferences in the TopicPreferences object, just the ones that need\n updating.
", + "smithy.api#documentation": "Updates a contact's preferences for a list.
\nYou must specify all existing topic preferences in the\n TopicPreferences
object, not just the ones that need updating;\n otherwise, all your existing preferences will be removed.
Specifies additional settings for your VDM configuration as applicable to the Dashboard.
" + "smithy.api#documentation": "Specifies additional settings for your VDM configuration as applicable to the\n Dashboard.
" } }, "GuardianAttributes": { "target": "com.amazonaws.sesv2#GuardianAttributes", "traits": { - "smithy.api#documentation": "Specifies additional settings for your VDM configuration as applicable to the Guardian.
" + "smithy.api#documentation": "Specifies additional settings for your VDM configuration as applicable to the\n Guardian.
" } } }, diff --git a/gradle.properties b/gradle.properties index 8059eef7d6d..203f09b72e1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ kotlin.native.ignoreDisabledTargets=true org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=2G # sdk -sdkVersion=1.0.71-SNAPSHOT +sdkVersion=1.0.72-SNAPSHOT # dokka config (values specified at build-time as needed) smithyKotlinDocBaseUrl=https://sdk.amazonaws.com/kotlin/api/smithy-kotlin/api/$smithyKotlinRuntimeVersion/