Skip to content

Commit

Permalink
Release v1.50.35 (2024-03-08) (#5192)
Browse files Browse the repository at this point in the history
Release v1.50.35 (2024-03-08)
===

### Service Client Updates
* `service/batch`: Updates service API and documentation
  * This release adds JobStateTimeLimitActions setting to the Job Queue API. It allows you to configure an action Batch can take for a blocking job in front of the queue after the defined period of time. The new parameter applies for ECS, EKS, and FARGATE Job Queues.
* `service/bedrock-agent-runtime`: Updates service API and documentation
* `service/cloudtrail`: Updates service API and documentation
  * Added exceptions to CreateTrail, DescribeTrails, and ListImportFailures APIs.
* `service/codebuild`: Updates service documentation
  * This release adds support for a new webhook event: PULL_REQUEST_CLOSED.
* `service/cognito-idp`: Updates service API and documentation
* `service/guardduty`: Updates service API and documentation
  * Add RDS Provisioned and Serverless Usage types
* `service/transfer`: Updates service API and documentation
  * Added DES_EDE3_CBC to the list of supported encryption algorithms for messages sent with an AS2 connector.
  • Loading branch information
aws-sdk-go-automation committed Mar 8, 2024
1 parent 83e4721 commit b965d61
Show file tree
Hide file tree
Showing 26 changed files with 1,479 additions and 812 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,20 @@
Release v1.50.35 (2024-03-08)
===

### Service Client Updates
* `service/batch`: Updates service API and documentation
* This release adds JobStateTimeLimitActions setting to the Job Queue API. It allows you to configure an action Batch can take for a blocking job in front of the queue after the defined period of time. The new parameter applies for ECS, EKS, and FARGATE Job Queues.
* `service/bedrock-agent-runtime`: Updates service API and documentation
* `service/cloudtrail`: Updates service API and documentation
* Added exceptions to CreateTrail, DescribeTrails, and ListImportFailures APIs.
* `service/codebuild`: Updates service documentation
* This release adds support for a new webhook event: PULL_REQUEST_CLOSED.
* `service/cognito-idp`: Updates service API and documentation
* `service/guardduty`: Updates service API and documentation
* Add RDS Provisioned and Serverless Usage types
* `service/transfer`: Updates service API and documentation
* Added DES_EDE3_CBC to the list of supported encryption algorithms for messages sent with an AS2 connector.

Release v1.50.34 (2024-03-07)
===

Expand Down
22 changes: 22 additions & 0 deletions aws/endpoints/defaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aws/version.go
Expand Up @@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"

// SDKVersion is the version of this SDK
const SDKVersion = "1.50.34"
const SDKVersion = "1.50.35"
36 changes: 33 additions & 3 deletions models/apis/batch/2016-08-10/api-2.json
Expand Up @@ -695,7 +695,8 @@
"schedulingPolicyArn":{"shape":"String"},
"priority":{"shape":"Integer"},
"computeEnvironmentOrder":{"shape":"ComputeEnvironmentOrders"},
"tags":{"shape":"TagrisTagsMap"}
"tags":{"shape":"TagrisTagsMap"},
"jobStateTimeLimitActions":{"shape":"JobStateTimeLimitActions"}
}
},
"CreateJobQueueResponse":{
Expand Down Expand Up @@ -1409,13 +1410,41 @@
"statusReason":{"shape":"String"},
"priority":{"shape":"Integer"},
"computeEnvironmentOrder":{"shape":"ComputeEnvironmentOrders"},
"tags":{"shape":"TagrisTagsMap"}
"tags":{"shape":"TagrisTagsMap"},
"jobStateTimeLimitActions":{"shape":"JobStateTimeLimitActions"}
}
},
"JobQueueDetailList":{
"type":"list",
"member":{"shape":"JobQueueDetail"}
},
"JobStateTimeLimitAction":{
"type":"structure",
"required":[
"reason",
"state",
"maxTimeSeconds",
"action"
],
"members":{
"reason":{"shape":"String"},
"state":{"shape":"JobStateTimeLimitActionsState"},
"maxTimeSeconds":{"shape":"Integer"},
"action":{"shape":"JobStateTimeLimitActionsAction"}
}
},
"JobStateTimeLimitActions":{
"type":"list",
"member":{"shape":"JobStateTimeLimitAction"}
},
"JobStateTimeLimitActionsAction":{
"type":"string",
"enum":["CANCEL"]
},
"JobStateTimeLimitActionsState":{
"type":"string",
"enum":["RUNNABLE"]
},
"JobStatus":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -2137,7 +2166,8 @@
"state":{"shape":"JQState"},
"schedulingPolicyArn":{"shape":"String"},
"priority":{"shape":"Integer"},
"computeEnvironmentOrder":{"shape":"ComputeEnvironmentOrders"}
"computeEnvironmentOrder":{"shape":"ComputeEnvironmentOrders"},
"jobStateTimeLimitActions":{"shape":"JobStateTimeLimitActions"}
}
},
"UpdateJobQueueResponse":{
Expand Down
34 changes: 31 additions & 3 deletions models/apis/batch/2016-08-10/docs-2.json
Expand Up @@ -109,10 +109,10 @@
"NodePropertiesSummary$isMainNode": "<p>Specifies whether the current node is the main node for a multi-node parallel job.</p>",
"RegisterJobDefinitionRequest$propagateTags": "<p>Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags are not propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the <code>FAILED</code> state.</p> <note> <p>If the job runs on Amazon EKS resources, then you must not specify <code>propagateTags</code>.</p> </note>",
"SubmitJobRequest$propagateTags": "<p>Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the <code>FAILED</code> state. When specified, this overrides the tag propagation setting in the job definition.</p>",
"TaskContainerDetails$essential": "<p>If the essential parameter of a container is marked as <code>true</code>, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the <code>essential</code> parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.</p> <p>All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html\">Application Architecture</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
"TaskContainerDetails$essential": "<p>If the essential parameter of a container is marked as <code>true</code>, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the <code>essential</code> parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.</p> <p>All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html\">Application Architecture</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
"TaskContainerDetails$privileged": "<p>When this parameter is <code>true</code>, the container is given elevated privileges on the host container instance (similar to the <code>root</code> user). This parameter maps to <code>Privileged</code> in the <a href=\"https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.35/\">Docker Remote API</a> and the <code>--privileged</code> option to <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">docker run</a>.</p> <note> <p>This parameter is not supported for Windows containers or tasks run on Fargate.</p> </note>",
"TaskContainerDetails$readonlyRootFilesystem": "<p>When this parameter is true, the container is given read-only access to its root file system. This parameter maps to <code>ReadonlyRootfs</code> in the <a href=\"https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.35/\">Docker Remote API</a> and the <code>--read-only</code> option to <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">docker run</a>.</p> <note> <p>This parameter is not supported for Windows containers.</p> </note>",
"TaskContainerProperties$essential": "<p>If the essential parameter of a container is marked as <code>true</code>, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the <code>essential</code> parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.</p> <p>All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html\">Application Architecture</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
"TaskContainerProperties$essential": "<p>If the essential parameter of a container is marked as <code>true</code>, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the <code>essential</code> parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.</p> <p>All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html\">Application Architecture</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
"TaskContainerProperties$privileged": "<p>When this parameter is <code>true</code>, the container is given elevated privileges on the host container instance (similar to the <code>root</code> user). This parameter maps to <code>Privileged</code> in the <a href=\"https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.35/\">Docker Remote API</a> and the <code>--privileged</code> option to <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">docker run</a>.</p> <note> <p>This parameter is not supported for Windows containers or tasks run on Fargate.</p> </note>",
"TaskContainerProperties$readonlyRootFilesystem": "<p>When this parameter is true, the container is given read-only access to its root file system. This parameter maps to <code>ReadonlyRootfs</code> in the <a href=\"https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.35/\">Docker Remote API</a> and the <code>--read-only</code> option to <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">docker run</a>.</p> <note> <p>This parameter is not supported for Windows containers.</p> </note>",
"UpdatePolicy$terminateJobsOnUpdate": "<p>Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is <code>false</code>.</p>"
Expand Down Expand Up @@ -774,6 +774,7 @@
"JobDefinition$schedulingPriority": "<p>The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.</p>",
"JobDetail$schedulingPriority": "<p>The scheduling policy of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.</p>",
"JobQueueDetail$priority": "<p>The priority of the job queue. Job queues with a higher priority (or a higher integer value for the <code>priority</code> parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of <code>10</code> is given scheduling preference over a job queue with a priority value of <code>1</code>. All of the compute environments must be either Amazon EC2 (<code>EC2</code> or <code>SPOT</code>) or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>). Amazon EC2 and Fargate compute environments can't be mixed.</p>",
"JobStateTimeLimitAction$maxTimeSeconds": "<p>The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours).</p>",
"JobTimeout$attemptDurationSeconds": "<p>The job timeout time (in seconds) that's measured from the job attempt's <code>startedAt</code> timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.</p> <p>For array jobs, the timeout applies to the child jobs, not to the parent array job.</p> <p>For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.</p>",
"LinuxParameters$sharedMemorySize": "<p>The value for the size (in MiB) of the <code>/dev/shm</code> volume. This parameter maps to the <code>--shm-size</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <note> <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.</p> </note>",
"LinuxParameters$maxSwap": "<p>The total amount of swap memory (in MiB) a container can use. This parameter is translated to the <code>--memory-swap</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a> where the value is the sum of the container memory plus the <code>maxSwap</code> value. For more information, see <a href=\"https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details\"> <code>--memory-swap</code> details</a> in the Docker documentation.</p> <p>If a <code>maxSwap</code> value of <code>0</code> is specified, the container doesn't use swap. Accepted values are <code>0</code> or any positive integer. If the <code>maxSwap</code> parameter is omitted, the container doesn't use the swap configuration for the container instance that it's running on. A <code>maxSwap</code> value must be set for the <code>swappiness</code> parameter to be used.</p> <note> <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.</p> </note>",
Expand Down Expand Up @@ -873,6 +874,32 @@
"DescribeJobQueuesResponse$jobQueues": "<p>The list of job queues.</p>"
}
},
"JobStateTimeLimitAction": {
"base": "<p>Specifies an action that Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.</p>",
"refs": {
"JobStateTimeLimitActions$member": null
}
},
"JobStateTimeLimitActions": {
"base": null,
"refs": {
"CreateJobQueueRequest$jobStateTimeLimitActions": "<p>The set of actions that Batch performs on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after <code>maxTimeSeconds</code> has passed.</p>",
"JobQueueDetail$jobStateTimeLimitActions": "<p>The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after <code>maxTimeSeconds</code> has passed.</p>",
"UpdateJobQueueRequest$jobStateTimeLimitActions": "<p>The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after <code>maxTimeSeconds</code> has passed.</p>"
}
},
"JobStateTimeLimitActionsAction": {
"base": null,
"refs": {
"JobStateTimeLimitAction$action": "<p>The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is \"<code>CANCEL</code>\", which will cancel the job.</p>"
}
},
"JobStateTimeLimitActionsState": {
"base": null,
"refs": {
"JobStateTimeLimitAction$state": "<p>The state of the job needed to trigger the action. The only supported value is \"<code>RUNNABLE</code>\".</p>"
}
},
"JobStatus": {
"base": null,
"refs": {
Expand Down Expand Up @@ -1427,12 +1454,13 @@
"JobDetail$jobId": "<p>The job ID.</p>",
"JobDetail$jobQueue": "<p>The Amazon Resource Name (ARN) of the job queue that the job is associated with.</p>",
"JobDetail$shareIdentifier": "<p>The share identifier for the job.</p>",
"JobDetail$statusReason": "<p>A short, human-readable string to provide more details for the current status of the job.</p>",
"JobDetail$statusReason": "<p>A short, human-readable string to provide more details for the current status of the job.</p> <ul> <li> <p> <code>CAPACITY:INSUFFICIENT_INSTANCE_CAPACITY</code> - All compute environments have insufficient capacity to service the job.</p> </li> <li> <p> <code>MISCONFIGURATION:COMPUTE_ENVIRONMENT_MAX_RESOURCE</code> - All compute environments have a <code>maxVcpu</code> setting that is smaller than the job requirements.</p> </li> <li> <p> <code>MISCONFIGURATION:JOB_RESOURCE_REQUIREMENT</code> - All compute environments have no connected instances that meet the job requirements.</p> </li> <li> <p> <code>MISCONFIGURATION:SERVICE_ROLE_PERMISSIONS</code> - All compute environments have problems with the service role permissions.</p> </li> </ul>",
"JobDetail$jobDefinition": "<p>The Amazon Resource Name (ARN) of the job definition that this job uses.</p>",
"JobQueueDetail$jobQueueName": "<p>The job queue name.</p>",
"JobQueueDetail$jobQueueArn": "<p>The Amazon Resource Name (ARN) of the job queue.</p>",
"JobQueueDetail$schedulingPolicyArn": "<p>The Amazon Resource Name (ARN) of the scheduling policy. The format is <code>aws:<i>Partition</i>:batch:<i>Region</i>:<i>Account</i>:scheduling-policy/<i>Name</i> </code>. For example, <code>aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy</code>.</p>",
"JobQueueDetail$statusReason": "<p>A short, human-readable string to provide additional details for the current status of the job queue.</p>",
"JobStateTimeLimitAction$reason": "<p>The reason to log for the action being taken.</p>",
"JobSummary$jobArn": "<p>The Amazon Resource Name (ARN) of the job.</p>",
"JobSummary$jobId": "<p>The job ID.</p>",
"JobSummary$jobName": "<p>The job name.</p>",
Expand Down

0 comments on commit b965d61

Please sign in to comment.