Skip to content

Commit

Permalink
Updates SDK to v2.1560.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Feb 16, 2024
1 parent 5a90834 commit 3276faf
Show file tree
Hide file tree
Showing 24 changed files with 1,479 additions and 785 deletions.
17 changes: 17 additions & 0 deletions .changes/2.1560.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "EMR",
"description": "adds fine grained control over Unhealthy Node Replacement to Amazon ElasticMapReduce"
},
{
"type": "feature",
"category": "Firehose",
"description": "This release adds support for Data Message Extraction for decompressed CloudWatch logs, and to use a custom file extension or time zone for S3 destinations."
},
{
"type": "feature",
"category": "SNS",
"description": "This release marks phone numbers as sensitive inputs."
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1559.0-->
<!--LATEST=2.1560.0-->
<!--ENTRYINSERT-->

## 2.1560.0
* feature: EMR: adds fine grained control over Unhealthy Node Replacement to Amazon ElasticMapReduce
* feature: Firehose: This release adds support for Data Message Extraction for decompressed CloudWatch logs, and to use a custom file extension or time zone for S3 destinations.
* feature: SNS: This release marks phone numbers as sensitive inputs.

## 2.1559.0
* feature: Artifact: This is the initial SDK release for AWS Artifact. AWS Artifact provides on-demand access to compliance and third-party compliance reports. This release includes access to List and Get reports, along with their metadata. This release also includes access to AWS Artifact notifications settings.
* feature: CodePipeline: Add ability to override timeout on action level.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1559.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1560.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
8 changes: 4 additions & 4 deletions apis/connectparticipant-2018-09-07.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"shape": "ConflictException"
}
],
"documentation": "<p>Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API. </p> <note> <p> <code>ConnectionToken</code> is used for invoking this API instead of <code>ParticipantToken</code>.</p> </note> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
"documentation": "<p>Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API. A conflict exception is thrown when an attachment with that identifier is already being uploaded.</p> <note> <p> <code>ConnectionToken</code> is used for invoking this API instead of <code>ParticipantToken</code>.</p> </note> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
},
"CreateParticipantConnection": {
"name": "CreateParticipantConnection",
Expand Down Expand Up @@ -188,7 +188,7 @@
"shape": "ValidationException"
}
],
"documentation": "<p>Retrieves a transcript of the session, including details about any attachments. For information about accessing past chat contact transcripts for a persistent chat, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html\">Enable persistent chat</a>. </p> <note> <p> <code>ConnectionToken</code> is used for invoking this API instead of <code>ParticipantToken</code>.</p> </note> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
"documentation": "<p>Retrieves a transcript of the session, including details about any attachments. For information about accessing past chat contact transcripts for a persistent chat, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html\">Enable persistent chat</a>. </p> <p>If you have a process that consumes events in the transcript of an chat that has ended, note that chat transcripts contain the following event content types if the event has occurred during the chat session:</p> <ul> <li> <p> <code>application/vnd.amazonaws.connect.event.participant.left</code> </p> </li> <li> <p> <code>application/vnd.amazonaws.connect.event.participant.joined</code> </p> </li> <li> <p> <code>application/vnd.amazonaws.connect.event.chat.ended</code> </p> </li> <li> <p> <code>application/vnd.amazonaws.connect.event.transfer.succeeded</code> </p> </li> <li> <p> <code>application/vnd.amazonaws.connect.event.transfer.failed</code> </p> </li> </ul> <note> <p> <code>ConnectionToken</code> is used for invoking this API instead of <code>ParticipantToken</code>.</p> </note> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
},
"SendEvent": {
"name": "SendEvent",
Expand Down Expand Up @@ -219,7 +219,7 @@
"shape": "ConflictException"
}
],
"documentation": "<p>Sends an event. </p> <note> <p> <code>ConnectionToken</code> is used for invoking this API instead of <code>ParticipantToken</code>.</p> </note> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
"documentation": "<note> <p>The <code>application/vnd.amazonaws.connect.event.connection.acknowledged</code> ContentType will no longer be supported starting December 31, 2024. This event has been migrated to the <a href=\"https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html\">CreateParticipantConnection</a> API using the <code>ConnectParticipant</code> field.</p> </note> <p>Sends an event. Message receipts are not supported when there are more than two active participants in the chat. Using the SendEvent API for message receipts when a supervisor is barged-in will result in a conflict exception.</p> <note> <p> <code>ConnectionToken</code> is used for invoking this API instead of <code>ParticipantToken</code>.</p> </note> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
},
"SendMessage": {
"name": "SendMessage",
Expand Down Expand Up @@ -796,7 +796,7 @@
"members": {
"ContentType": {
"shape": "ChatContentType",
"documentation": "<p>The content type of the request. Supported types are:</p> <ul> <li> <p>application/vnd.amazonaws.connect.event.typing</p> </li> <li> <p>application/vnd.amazonaws.connect.event.connection.acknowledged</p> </li> <li> <p>application/vnd.amazonaws.connect.event.message.delivered</p> </li> <li> <p>application/vnd.amazonaws.connect.event.message.read</p> </li> </ul>"
"documentation": "<p>The content type of the request. Supported types are:</p> <ul> <li> <p>application/vnd.amazonaws.connect.event.typing</p> </li> <li> <p>application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024) </p> </li> <li> <p>application/vnd.amazonaws.connect.event.message.delivered</p> </li> <li> <p>application/vnd.amazonaws.connect.event.message.read</p> </li> </ul>"
},
"Content": {
"shape": "ChatContent",
Expand Down
26 changes: 26 additions & 0 deletions apis/elasticmapreduce-2009-03-31.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@
"TerminationProtected": {
"type": "boolean"
},
"UnhealthyNodeReplacement": {
"type": "boolean"
},
"VisibleToAllUsers": {
"type": "boolean"
},
Expand Down Expand Up @@ -507,6 +510,9 @@
"TerminationProtected": {
"type": "boolean"
},
"UnhealthyNodeReplacement": {
"type": "boolean"
},
"HadoopVersion": {}
}
},
Expand Down Expand Up @@ -1788,6 +1794,9 @@
"TerminationProtected": {
"type": "boolean"
},
"UnhealthyNodeReplacement": {
"type": "boolean"
},
"HadoopVersion": {},
"Ec2SubnetId": {},
"Ec2SubnetIds": {
Expand Down Expand Up @@ -1916,6 +1925,23 @@
}
}
},
"SetUnhealthyNodeReplacement": {
"input": {
"type": "structure",
"required": [
"JobFlowIds",
"UnhealthyNodeReplacement"
],
"members": {
"JobFlowIds": {
"shape": "S1t"
},
"UnhealthyNodeReplacement": {
"type": "boolean"
}
}
}
},
"SetVisibleToAllUsers": {
"input": {
"type": "structure",
Expand Down
47 changes: 46 additions & 1 deletion apis/elasticmapreduce-2009-03-31.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,23 @@
"shape": "InternalServerError"
}
],
"documentation": "<p>SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling <code>SetTerminationProtection</code> on a cluster is similar to calling the Amazon EC2 <code>DisableAPITermination</code> API on all Amazon EC2 instances in a cluster.</p> <p> <code>SetTerminationProtection</code> is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage.</p> <p> To terminate a cluster that has been locked by setting <code>SetTerminationProtection</code> to <code>true</code>, you must first unlock the job flow by a subsequent call to <code>SetTerminationProtection</code> in which you set the value to <code>false</code>. </p> <p> For more information, see<a href=\"https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html\">Managing Cluster Termination</a> in the <i>Amazon EMR Management Guide</i>. </p>"
"documentation": "<p>SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling <code>SetTerminationProtection</code> on a cluster is similar to calling the Amazon EC2 <code>DisableAPITermination</code> API on all Amazon EC2 instances in a cluster.</p> <p> <code>SetTerminationProtection</code> is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage.</p> <p> To terminate a cluster that has been locked by setting <code>SetTerminationProtection</code> to <code>true</code>, you must first unlock the job flow by a subsequent call to <code>SetTerminationProtection</code> in which you set the value to <code>false</code>. </p> <p> For more information, see <a href=\"https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html\">Managing Cluster Termination</a> in the <i>Amazon EMR Management Guide</i>. </p>"
},
"SetUnhealthyNodeReplacement": {
"name": "SetUnhealthyNodeReplacement",
"http": {
"method": "POST",
"requestUri": "/"
},
"input": {
"shape": "SetUnhealthyNodeReplacementInput"
},
"errors": [
{
"shape": "InternalServerError"
}
],
"documentation": "<p>Specify whether to enable unhealthy node replacement, which lets Amazon EMR gracefully replace core nodes on a cluster if any nodes become unhealthy. For example, a node becomes unhealthy if disk usage is above 90%. If unhealthy node replacement is on and <code>TerminationProtected</code> are off, Amazon EMR immediately terminates the unhealthy core nodes. To use unhealthy node replacement and retain unhealthy core nodes, use to turn on termination protection. In such cases, Amazon EMR adds the unhealthy nodes to a denylist, reducing job interruptions and failures.</p> <p>If unhealthy node replacement is on, Amazon EMR notifies YARN and other applications on the cluster to stop scheduling tasks with these nodes, moves the data, and then terminates the nodes.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_UnhealthyNodeReplacement.html\">graceful node replacement</a> in the <i>Amazon EMR Management Guide</i>.</p>"
},
"SetVisibleToAllUsers": {
"name": "SetVisibleToAllUsers",
Expand Down Expand Up @@ -1617,6 +1633,10 @@
"shape": "Boolean",
"documentation": "<p>Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.</p>"
},
"UnhealthyNodeReplacement": {
"shape": "BooleanObject",
"documentation": "<p>Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.</p>"
},
"VisibleToAllUsers": {
"shape": "Boolean",
"documentation": "<p>Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When <code>true</code>, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When <code>false</code>, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.</p> <p>The default value is <code>true</code> if a value is not provided when creating a cluster using the Amazon EMR API <a>RunJobFlow</a> command, the CLI <a href=\"https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html\">create-cluster</a> command, or the Amazon Web Services Management Console.</p>"
Expand Down Expand Up @@ -3798,6 +3818,10 @@
"shape": "Boolean",
"documentation": "<p>Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.</p>"
},
"UnhealthyNodeReplacement": {
"shape": "BooleanObject",
"documentation": "<p>Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.</p>"
},
"HadoopVersion": {
"shape": "XmlStringMaxLen256",
"documentation": "<p>Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version for the cluster. Valid inputs are \"0.18\" (no longer maintained), \"0.20\" (no longer maintained), \"0.20.205\" (no longer maintained), \"1.0.3\", \"2.2.0\", or \"2.4.0\". If you do not set this value, the default of 0.18 is used, unless the <code>AmiVersion</code> parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.</p>"
Expand Down Expand Up @@ -3889,6 +3913,10 @@
"shape": "Boolean",
"documentation": "<p>Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.</p>"
},
"UnhealthyNodeReplacement": {
"shape": "BooleanObject",
"documentation": "<p>Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.</p>"
},
"HadoopVersion": {
"shape": "XmlStringMaxLen256",
"documentation": "<p>The Hadoop version for the cluster.</p>"
Expand Down Expand Up @@ -5399,6 +5427,23 @@
},
"documentation": "<p> The input argument to the <a>TerminationProtection</a> operation. </p>"
},
"SetUnhealthyNodeReplacementInput": {
"type": "structure",
"required": [
"JobFlowIds",
"UnhealthyNodeReplacement"
],
"members": {
"JobFlowIds": {
"shape": "XmlStringList",
"documentation": "<p>The list of strings that uniquely identify the clusters for which to turn on unhealthy node replacement. You can get these identifiers by running the <a>RunJobFlow</a> or the <a>DescribeJobFlows</a> operations.</p>"
},
"UnhealthyNodeReplacement": {
"shape": "BooleanObject",
"documentation": "<p>Indicates whether to turn on or turn off graceful unhealthy node replacement.</p>"
}
}
},
"SetVisibleToAllUsersInput": {
"type": "structure",
"required": [
Expand Down
Loading

0 comments on commit 3276faf

Please sign in to comment.