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:

\n ", + "smithy.api#documentation": "

>The type of action to perform on the addresses. The following are the possible\n values:

\n ", "smithy.api#required": {} } } @@ -1978,12 +1978,12 @@ "EngagementMetrics": { "target": "com.amazonaws.sesv2#FeatureStatus", "traits": { - "smithy.api#documentation": "

Specifies the status of your VDM engagement metrics collection. Can be one of the following:

\n " + "smithy.api#documentation": "

Specifies the status of your VDM engagement metrics collection. Can be one of the\n following:

\n " } } }, "traits": { - "smithy.api#documentation": "

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:

\n " + "smithy.api#documentation": "

The raw email message. The message has to meet the following criteria:

\n " } }, "Template": { @@ -3967,7 +3967,7 @@ "target": "com.amazonaws.sesv2#Enabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Indicates whether or not your account has production access in the current Amazon Web Services\n Region.

\n

If 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.

\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.

" + "smithy.api#documentation": "

Indicates whether or not your account has production access in the current Amazon Web Services\n Region.

\n

If 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

\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.

" } }, "SendQuota": { @@ -5641,12 +5641,12 @@ "OptimizedSharedDelivery": { "target": "com.amazonaws.sesv2#FeatureStatus", "traits": { - "smithy.api#documentation": "

Specifies the status of your VDM optimized shared delivery. Can be one of the following:

\n " + "smithy.api#documentation": "

Specifies the status of your VDM optimized shared delivery. Can be one of the\n following:

\n " } } }, "traits": { - "smithy.api#documentation": "

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.

", + "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 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.

", "smithy.api#httpQuery": "PageSize" } }, @@ -7468,6 +7468,12 @@ "smithy.api#documentation": "

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:

\n ", + "smithy.api#required": {} + } + }, + "Value": { + "target": "com.amazonaws.sesv2#MessageHeaderValue", + "traits": { + "smithy.api#documentation": "

The value of the message header. The message header value has to meet the following\n criteria:

\n ", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains 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:

\n ", + "smithy.api#length": { + "min": 0, + "max": 15 + } + } + }, + "com.amazonaws.sesv2#MessageHeaderName": { + "type": "string", + "traits": { + "smithy.api#documentation": "

The name of the message header. The message header name has to meet the following\n criteria:

\n ", + "smithy.api#length": { + "min": 1, + "max": 126 + }, + "smithy.api#pattern": "^[!-9;-@A-~]+$" + } + }, + "com.amazonaws.sesv2#MessageHeaderValue": { + "type": "string", + "traits": { + "smithy.api#documentation": "

The value of the message header. The message header value has to meet the following\n criteria:

\n ", + "smithy.api#length": { + "min": 1, + "max": 870 + }, + "smithy.api#pattern": "^[ -~]*$" + } + }, "com.amazonaws.sesv2#MessageInsightsDataSource": { "type": "structure", "members": { @@ -8152,7 +8215,7 @@ "ProductionAccessEnabled": { "target": "com.amazonaws.sesv2#EnabledWrapper", "traits": { - "smithy.api#documentation": "

Indicates whether or not your account should have production access in the current\n Amazon Web Services Region.

\n

If 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.

\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.

" + "smithy.api#documentation": "

Indicates whether or not your account should have production access in the current\n Amazon Web Services Region.

\n

If 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

\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.

" } } }, @@ -9350,7 +9413,7 @@ "Data": { "target": "com.amazonaws.sesv2#RawMessageData", "traits": { - "smithy.api#documentation": "

The raw email message. The message has to meet the following criteria:

\n ", + "smithy.api#documentation": "

The raw email message. The message has to meet the following criteria:

\n ", "smithy.api#required": {} } } @@ -9719,7 +9782,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.

" + "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.

\n \n

It'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.

\n
" + "smithy.api#documentation": "

A unique identifier for the message that is generated when the message is\n accepted.

\n \n

It'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.

\n
" } } }, @@ -11632,6 +11695,12 @@ "traits": { "smithy.api#documentation": "

An 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.

\n \n

You 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.

\n
", "smithy.api#http": { "method": "PUT", "uri": "/v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}", @@ -12390,13 +12459,13 @@ "DashboardAttributes": { "target": "com.amazonaws.sesv2#DashboardAttributes", "traits": { - "smithy.api#documentation": "

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/