Skip to content

Commit

Permalink
Merge pull request #3010 from aws/staging/a7ad223f-cc6b-4682-a3d9-bab…
Browse files Browse the repository at this point in the history
…f26d07861

Pull request: release <- staging/a7ad223f-cc6b-4682-a3d9-babf26d07861
  • Loading branch information
aws-sdk-java-automation committed Apr 30, 2024
2 parents 1edc546 + 7cfc034 commit c9e0f16
Show file tree
Hide file tree
Showing 490 changed files with 3,785 additions and 1,666 deletions.
72 changes: 72 additions & 0 deletions .changes/2.25.42.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"version": "2.25.42",
"date": "2024-04-30",
"entries": [
{
"type": "feature",
"category": "AWS Signer",
"contributor": "",
"description": "Documentation updates for AWS Signer. Adds cross-account signing constraint and definitions for cross-account actions."
},
{
"type": "feature",
"category": "Amazon Chime SDK Voice",
"contributor": "",
"description": "Due to changes made by the Amazon Alexa service, GetSipMediaApplicationAlexaSkillConfiguration and PutSipMediaApplicationAlexaSkillConfiguration APIs are no longer available for use. For more information, refer to the Alexa Smart Properties page."
},
{
"type": "feature",
"category": "Amazon Omics",
"contributor": "",
"description": "Add support for workflow sharing and dynamic run storage"
},
{
"type": "feature",
"category": "Amazon OpenSearch Service",
"contributor": "",
"description": "This release enables customers to create Route53 A and AAAA alias record types to point custom endpoint domain to OpenSearch domain's dualstack search endpoint."
},
{
"type": "feature",
"category": "Amazon Pinpoint SMS Voice V2",
"contributor": "",
"description": "Amazon Pinpoint has added two new features Multimedia services (MMS) and protect configurations. Use the three new MMS APIs to send media messages to a mobile phone which includes image, audio, text, or video files. Use the ten new protect configurations APIs to block messages to specific countries."
},
{
"type": "feature",
"category": "Amazon QuickSight",
"contributor": "",
"description": "New Q embedding supporting Generative Q&A"
},
{
"type": "feature",
"category": "Amazon Route 53 Resolver",
"contributor": "",
"description": "Release of FirewallDomainRedirectionAction parameter on the Route 53 DNS Firewall Rule. This allows customers to configure a DNS Firewall rule to inspect all the domains in the DNS redirection chain (default) , such as CNAME, ALIAS, DNAME, etc., or just the first domain and trust the rest."
},
{
"type": "feature",
"category": "Amazon SageMaker Service",
"contributor": "",
"description": "Amazon SageMaker Training now supports the use of attribute-based access control (ABAC) roles for training job execution roles. Amazon SageMaker Inference now supports G6 instance types."
},
{
"type": "feature",
"category": "CodeArtifact",
"contributor": "",
"description": "Add support for the Ruby package format."
},
{
"type": "feature",
"category": "Firewall Management Service",
"contributor": "",
"description": "AWS Firewall Manager now supports the network firewall service stream exception policy feature for accounts within your organization."
},
{
"type": "feature",
"category": "QBusiness",
"contributor": "",
"description": "This is a general availability (GA) release of Amazon Q Business. Q Business enables employees in an enterprise to get comprehensive answers to complex questions and take actions through a unified, intuitive web-based chat experience - using an enterprise's existing content, data, and systems."
}
]
}
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,49 @@
#### 👋 _Looking for changelogs for older versions? You can find them in the [changelogs](./changelogs) directory._
# __2.25.42__ __2024-04-30__
## __AWS Signer__
- ### Features
- Documentation updates for AWS Signer. Adds cross-account signing constraint and definitions for cross-account actions.

## __Amazon Chime SDK Voice__
- ### Features
- Due to changes made by the Amazon Alexa service, GetSipMediaApplicationAlexaSkillConfiguration and PutSipMediaApplicationAlexaSkillConfiguration APIs are no longer available for use. For more information, refer to the Alexa Smart Properties page.

## __Amazon Omics__
- ### Features
- Add support for workflow sharing and dynamic run storage

## __Amazon OpenSearch Service__
- ### Features
- This release enables customers to create Route53 A and AAAA alias record types to point custom endpoint domain to OpenSearch domain's dualstack search endpoint.

## __Amazon Pinpoint SMS Voice V2__
- ### Features
- Amazon Pinpoint has added two new features Multimedia services (MMS) and protect configurations. Use the three new MMS APIs to send media messages to a mobile phone which includes image, audio, text, or video files. Use the ten new protect configurations APIs to block messages to specific countries.

## __Amazon QuickSight__
- ### Features
- New Q embedding supporting Generative Q&A

## __Amazon Route 53 Resolver__
- ### Features
- Release of FirewallDomainRedirectionAction parameter on the Route 53 DNS Firewall Rule. This allows customers to configure a DNS Firewall rule to inspect all the domains in the DNS redirection chain (default) , such as CNAME, ALIAS, DNAME, etc., or just the first domain and trust the rest.

## __Amazon SageMaker Service__
- ### Features
- Amazon SageMaker Training now supports the use of attribute-based access control (ABAC) roles for training job execution roles. Amazon SageMaker Inference now supports G6 instance types.

## __CodeArtifact__
- ### Features
- Add support for the Ruby package format.

## __Firewall Management Service__
- ### Features
- AWS Firewall Manager now supports the network firewall service stream exception policy feature for accounts within your organization.

## __QBusiness__
- ### Features
- This is a general availability (GA) release of Amazon Q Business. Q Business enables employees in an enterprise to get comprehensive answers to complex questions and take actions through a unified, intuitive web-based chat experience - using an enterprise's existing content, data, and systems.

# __2.25.41__ __2024-04-29__
## __AWS Amplify__
- ### Features
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ To automatically manage module versions (currently all modules have the same ver
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -86,12 +86,12 @@ Alternatively you can add dependencies for the specific services you use only:
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>ec2</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
</dependency>
```

Expand All @@ -103,7 +103,7 @@ You can import the whole SDK into your project (includes *ALL* services). Please
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-app-quickstart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-lambda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archetype-lambda</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion archetypes/archetype-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>archetypes</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion archetypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>aws-sdk-java-pom</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archetypes</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-sdk-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>aws-sdk-java</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bom-internal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>aws-sdk-java-pom</artifactId>
<groupId>software.amazon.awssdk</groupId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>bom</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bundle-logging-bridge/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<artifactId>bundle-logging-bridge</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bundle-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<artifactId>bundle-sdk</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<artifactId>bundle</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion codegen-lite-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>codegen-lite-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion codegen-lite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<artifactId>codegen-lite</artifactId>
<name>AWS Java SDK :: Code Generator Lite</name>
Expand Down
2 changes: 1 addition & 1 deletion codegen-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>codegen-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion codegen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-sdk-java-pom</artifactId>
<version>2.25.41</version>
<version>2.25.42</version>
</parent>
<artifactId>codegen</artifactId>
<name>AWS Java SDK :: Code Generator</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ private void postprocessModifyMemberProperty(ShapeModel shapeModel, String membe
.getUnmarshallLocationName());
}

if (modifyModel.isIgnoreDataTypeConversionFailures()) {
MemberModel memberModel = shapeModel.findMemberModelByC2jName(memberName);
memberModel.ignoreDataTypeConversionFailures(true);
}

}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ public class ModifyModelShapeModifier {

private String unmarshallLocationName;

/**
* Indicates whether data type conversion failures are to be ignored
*/
private boolean ignoreDataTypeConversionFailures;

public String getDeprecatedMessage() {
return deprecatedMessage;
}
Expand Down Expand Up @@ -130,4 +135,12 @@ public String getEmitAsType() {
public void setEmitAsType(String emitAsType) {
this.emitAsType = emitAsType;
}

public void setIgnoreDataTypeConversionFailures(boolean ignoreDataTypeConversionFailures) {
this.ignoreDataTypeConversionFailures = ignoreDataTypeConversionFailures;
}

public boolean isIgnoreDataTypeConversionFailures() {
return ignoreDataTypeConversionFailures;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ public class MemberModel extends DocumentationModel {

private ContextParam contextParam;

private boolean ignoreDataTypeConversionFailures;

public String getName() {
return name;
}
Expand Down Expand Up @@ -775,4 +777,12 @@ public ContextParam getContextParam() {
public void setContextParam(ContextParam contextParam) {
this.contextParam = contextParam;
}

public void ignoreDataTypeConversionFailures(boolean ignoreDataTypeConversionFailures) {
this.ignoreDataTypeConversionFailures = ignoreDataTypeConversionFailures;
}

public boolean ignoreDataTypeConversionFailures() {
return ignoreDataTypeConversionFailures;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import software.amazon.awssdk.core.SdkField;
import software.amazon.awssdk.core.protocol.MarshallLocation;
import software.amazon.awssdk.core.protocol.MarshallingType;
import software.amazon.awssdk.core.traits.DataTypeConversionFailureHandlingTrait;
import software.amazon.awssdk.core.traits.DefaultValueTrait;
import software.amazon.awssdk.core.traits.JsonValueTrait;
import software.amazon.awssdk.core.traits.ListTrait;
Expand Down Expand Up @@ -186,6 +187,10 @@ private CodeBlock traits(MemberModel m) {
if (m.isXmlAttribute()) {
traits.add(createXmlAttributeTrait());
}

if (m.ignoreDataTypeConversionFailures()) {
traits.add(createDataTypeConversionFailureHandlingTrait());
}
if (customizationConfig.isRequiredTraitValidationEnabled() && m.isRequired()) {
traits.add(createRequiredTrait());
}
Expand All @@ -206,6 +211,12 @@ private boolean attachPayloadTraitToMember(MemberModel m) {
.equals(m.getC2jName());
}

private CodeBlock createDataTypeConversionFailureHandlingTrait() {
return CodeBlock.builder()
.add("new $T()", ClassName.get(DataTypeConversionFailureHandlingTrait.class))
.build();
}

private CodeBlock createTimestampFormatTrait(MemberModel m) {
TimestampFormatTrait.Format format = TimestampFormatTrait.Format.fromString(m.getTimestampFormat());
ClassName traitClass = ClassName.get(TimestampFormatTrait.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
"deprecated": true,
"deprecatedMessage": "This field is modified as deprecated."
}
},
{
"MemberIgnoreDataTypeFailureHandling": {
"ignoreDataTypeConversionFailures": "true"
}
}
]
},
Expand Down

0 comments on commit c9e0f16

Please sign in to comment.