diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b02a435748..84ab338f1d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +Release v1.34.1 (2020-08-10) +=== + +### Service Client Updates +* `service/ec2`: Updates service API and documentation + * Remove CoIP Auto-Assign feature references. +* `service/glue`: Updates service API and documentation + * Starting today, you can further control orchestration of your ETL workloads in AWS Glue by specifying the maximum number of concurrent runs for a Glue workflow. +* `service/savingsplans`: Updates service API + +### SDK Enhancements +* `aws/credentials/stscreds`: Add optional expiry duration to WebIdentityRoleProvider ([#3356](https://github.com/aws/aws-sdk-go/pull/3356)) + * Adds a new optional field to the WebIdentityRoleProvider that allows you to specify the duration the assumed role credentials will be valid for. +* `example/service/s3/putObjectWithProgress`: Fix example for file upload with progress ([#3377](https://github.com/aws/aws-sdk-go/pull/3377)) + * Fixes [#2468](https://github.com/aws/aws-sdk-go/issues/2468) by ignoring the first read of the progress reader wrapper. Since the first read is used for signing the request, not upload progress. + * Updated the example to write progress inline instead of newlines. +* `service/dynamodb/dynamodbattribute`: Fix typo in package docs ([#3446](https://github.com/aws/aws-sdk-go/pull/3446)) + * Fixes typo in dynamodbattribute package docs. + Release v1.34.0 (2020-08-07) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index bd4d774c31c..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,12 +1,5 @@ ### SDK Features ### SDK Enhancements -* `aws/credentials/stscreds`: Add optional expiry duration to WebIdentityRoleProvider ([#3356](https://github.com/aws/aws-sdk-go/pull/3356)) - * Adds a new optional field to the WebIdentityRoleProvider that allows you to specify the duration the assumed role credentials will be valid for. -* `example/service/s3/putObjectWithProgress`: Fix example for file upload with progress ([#3377](https://github.com/aws/aws-sdk-go/pull/3377)) - * Fixes [#2468](https://github.com/aws/aws-sdk-go/issues/2468) by ignoring the first read of the progress reader wrapper. Since the first read is used for signing the request, not upload progress. - * Updated the example to write progress inline instead of newlines. -* `service/dynamodb/dynamodbattribute`: Fix typo in package docs ([#3446](https://github.com/aws/aws-sdk-go/pull/3446)) - * Fixes typo in dynamodbattribute package docs. ### SDK Bugs diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 4f9de24fd56..b7be4901ce7 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -452,6 +452,30 @@ var awsPartition = partition{ Region: "eu-west-3", }, }, + "fips-dkr-us-east-1": endpoint{ + Hostname: "ecr-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + }, + "fips-dkr-us-east-2": endpoint{ + Hostname: "ecr-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + }, + "fips-dkr-us-west-1": endpoint{ + Hostname: "ecr-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + }, + "fips-dkr-us-west-2": endpoint{ + Hostname: "ecr-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + }, "fips-us-east-1": endpoint{ Hostname: "ecr-fips.us-east-1.amazonaws.com", CredentialScope: credentialScope{ @@ -7246,6 +7270,18 @@ var awsusgovPartition = partition{ "api.ecr": service{ Endpoints: endpoints{ + "fips-dkr-us-gov-east-1": endpoint{ + Hostname: "ecr-fips.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + }, + "fips-dkr-us-gov-west-1": endpoint{ + Hostname: "ecr-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, "fips-us-gov-east-1": endpoint{ Hostname: "ecr-fips.us-gov-east-1.amazonaws.com", CredentialScope: credentialScope{ diff --git a/aws/version.go b/aws/version.go index 08127d60d4c..2340a29548e 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.34.0" +const SDKVersion = "1.34.1" diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 2d233a422fc..f6ecd0683d1 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -21181,9 +21181,7 @@ "SubnetId":{ "shape":"SubnetId", "locationName":"subnetId" - }, - "MapCustomerOwnedIpOnLaunch":{"shape":"AttributeBooleanValue"}, - "CustomerOwnedIpv4Pool":{"shape":"CoipPoolId"} + } } }, "ModifyTrafficMirrorFilterNetworkServicesRequest":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index a6d977100b6..8eb9f0e64ea 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -883,7 +883,6 @@ "ModifyNetworkInterfaceAttributeRequest$SourceDestCheck": "
Indicates whether source/destination checking is enabled. A value of true
means checking is enabled, and false
means checking is disabled. This value must be false
for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.
Specify true
to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2 API.
Specify true
to indicate that network interfaces attached to instances created in the specified subnet should be assigned a public IPv4 address.
Specify true
to indicate that network interfaces attached to instances created in the specified subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using CustomerOwnedIpv4Pool
.
Indicates whether the volume should be auto-enabled for I/O operations.
", "ModifyVpcAttributeRequest$EnableDnsHostnames": "Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
", "ModifyVpcAttributeRequest$EnableDnsSupport": "Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range \"plus two\" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
" @@ -2324,7 +2323,6 @@ "CoipPool$PoolId": "The ID of the address pool.
", "CoipPoolIdSet$member": null, "GetCoipPoolUsageRequest$PoolId": "The ID of the address pool.
", - "ModifySubnetAttributeRequest$CustomerOwnedIpv4Pool": "The customer-owned IPv4 address pool associated with the subnet.
You must set this value when you specify true
for MapCustomerOwnedIpOnLaunch
.
The customer-owned IPv4 address pool associated with the subnet.
" } }, diff --git a/models/apis/glue/2017-03-31/api-2.json b/models/apis/glue/2017-03-31/api-2.json index 31881cf9d52..35b5b0b50a3 100644 --- a/models/apis/glue/2017-03-31/api-2.json +++ b/models/apis/glue/2017-03-31/api-2.json @@ -3245,7 +3245,8 @@ "Name":{"shape":"NameString"}, "Description":{"shape":"GenericString"}, "DefaultRunProperties":{"shape":"WorkflowRunProperties"}, - "Tags":{"shape":"TagsMap"} + "Tags":{"shape":"TagsMap"}, + "MaxConcurrentRuns":{"shape":"NullableInteger"} } }, "CreateWorkflowResponse":{ @@ -6757,7 +6758,8 @@ "members":{ "Name":{"shape":"NameString"}, "Description":{"shape":"GenericString"}, - "DefaultRunProperties":{"shape":"WorkflowRunProperties"} + "DefaultRunProperties":{"shape":"WorkflowRunProperties"}, + "MaxConcurrentRuns":{"shape":"NullableInteger"} } }, "UpdateWorkflowResponse":{ @@ -6853,7 +6855,8 @@ "CreatedOn":{"shape":"TimestampValue"}, "LastModifiedOn":{"shape":"TimestampValue"}, "LastRun":{"shape":"WorkflowRun"}, - "Graph":{"shape":"WorkflowGraph"} + "Graph":{"shape":"WorkflowGraph"}, + "MaxConcurrentRuns":{"shape":"NullableInteger"} } }, "WorkflowGraph":{ @@ -6879,6 +6882,7 @@ "StartedOn":{"shape":"TimestampValue"}, "CompletedOn":{"shape":"TimestampValue"}, "Status":{"shape":"WorkflowRunStatus"}, + "ErrorMessage":{"shape":"ErrorString"}, "Statistics":{"shape":"WorkflowRunStatistics"}, "Graph":{"shape":"WorkflowGraph"} } @@ -6905,7 +6909,8 @@ "RUNNING", "COMPLETED", "STOPPING", - "STOPPED" + "STOPPED", + "ERROR" ] }, "WorkflowRuns":{ diff --git a/models/apis/glue/2017-03-31/docs-2.json b/models/apis/glue/2017-03-31/docs-2.json index fd7a094a847..54d27b71bac 100644 --- a/models/apis/glue/2017-03-31/docs-2.json +++ b/models/apis/glue/2017-03-31/docs-2.json @@ -103,7 +103,7 @@ "PutResourcePolicy": "Sets the Data Catalog resource policy for access control.
", "PutWorkflowRunProperties": "Puts the specified workflow run properties for the given workflow run. If a property already exists for the specified run, then it overrides the value otherwise adds the property to existing properties.
", "ResetJobBookmark": "Resets a bookmark entry.
", - "ResumeWorkflowRun": "Restarts any completed nodes in a workflow run and resumes the run execution.
", + "ResumeWorkflowRun": "Restarts selected nodes of a previous partially completed workflow run and resumes the workflow run. The selected nodes and all nodes that are downstream from the selected nodes are run.
", "SearchTables": "Searches a set of tables based on properties in the table metadata as well as on the parent database. You can search against text or filter conditions.
You can only get tables that you have access to based on the security policies defined in Lake Formation. You need at least a read-only access to the table for it to be returned. If you do not have access to all the columns in the table, these columns will not be searched against when returning the list of tables back to you. If you have access to the columns but not the data in the columns, those columns and the associated metadata for those columns will be included in the search.
", "StartCrawler": "Starts a crawl using the specified crawler, regardless of what is scheduled. If the crawler is already running, returns a CrawlerRunningException.
", "StartCrawlerSchedule": "Changes the schedule state of the specified crawler to SCHEDULED
, unless the crawler is already running or the schedule state is already SCHEDULED
.
An error message associated with this job run.
" + "JobRun$ErrorMessage": "An error message associated with this job run.
", + "WorkflowRun$ErrorMessage": "This error message describes any error that may have occurred in starting the workflow run. Currently the only error message is \"Concurrent runs exceeded for workflow: foo
.\"
The condition state. Currently, the values supported are SUCCEEDED
, STOPPED
, TIMEOUT
, and FAILED
.
The current state of the job run.
" + "Condition$State": "The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED
, STOPPED
, FAILED
, and TIMEOUT
. The only crawler states that a trigger can listen for are SUCCEEDED
, FAILED
, and CANCELLED
.
The current state of the job run. For more information about the statuses of jobs that have terminated abnormally, see AWS Glue Job Run Statuses.
" } }, "JobUpdate": { @@ -3047,7 +3048,7 @@ "NodeIdList": { "base": null, "refs": { - "ResumeWorkflowRunRequest$NodeIds": "A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have an execution attempt in the original run.
", + "ResumeWorkflowRunRequest$NodeIds": "A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.
", "ResumeWorkflowRunResponse$NodeIds": "A list of the node IDs for the nodes that were actually restarted.
" } }, @@ -3162,6 +3163,7 @@ "CreateJobRequest$NumberOfWorkers": "The number of workers of a defined workerType
that are allocated when a job runs.
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
The number of workers of a defined workerType
that are allocated when this task runs.
If WorkerType
is set, then NumberOfWorkers
is required (and vice versa).
The maximum number of times to retry a task for this transform after a task run fails.
", + "CreateWorkflowRequest$MaxConcurrentRuns": "You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
", "DevEndpoint$NumberOfWorkers": "The number of workers of a defined workerType
that are allocated to the development endpoint.
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
The number of workers of a defined workerType
that are allocated when this task runs.
The maximum number of times to retry a task for this transform after a task run fails.
", @@ -3172,7 +3174,9 @@ "MLTransform$MaxRetries": "The maximum number of times to retry after an MLTaskRun
of the machine learning transform fails.
The number of workers of a defined workerType
that are allocated when a job runs.
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
The number of workers of a defined workerType
that are allocated when this task runs.
The maximum number of times to retry a task for this transform after a task run fails.
" + "UpdateMLTransformRequest$MaxRetries": "The maximum number of times to retry a task for this transform after a task run fails.
", + "UpdateWorkflowRequest$MaxConcurrentRuns": "You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
", + "Workflow$MaxConcurrentRuns": "You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
" } }, "OperationTimeoutException": { diff --git a/models/apis/savingsplans/2019-06-28/api-2.json b/models/apis/savingsplans/2019-06-28/api-2.json index 21d0279f179..d78753328d2 100644 --- a/models/apis/savingsplans/2019-06-28/api-2.json +++ b/models/apis/savingsplans/2019-06-28/api-2.json @@ -596,6 +596,7 @@ "enum":[ "AmazonEC2", "AmazonECS", + "AmazonEKS", "AWSLambda" ] }, diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 8e40e0c37aa..3c237e2aed3 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -349,6 +349,30 @@ }, "hostname" : "api.ecr.eu-west-3.amazonaws.com" }, + "fips-dkr-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "hostname" : "ecr-fips.us-east-1.amazonaws.com" + }, + "fips-dkr-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "hostname" : "ecr-fips.us-east-2.amazonaws.com" + }, + "fips-dkr-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "hostname" : "ecr-fips.us-west-1.amazonaws.com" + }, + "fips-dkr-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "hostname" : "ecr-fips.us-west-2.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -6926,6 +6950,18 @@ }, "api.ecr" : { "endpoints" : { + "fips-dkr-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "hostname" : "ecr-fips.us-gov-east-1.amazonaws.com" + }, + "fips-dkr-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "ecr-fips.us-gov-west-1.amazonaws.com" + }, "fips-us-gov-east-1" : { "credentialScope" : { "region" : "us-gov-east-1" diff --git a/service/ec2/api.go b/service/ec2/api.go index b20ea843819..6a58ad2e749 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -90746,18 +90746,6 @@ type ModifySubnetAttributeInput struct { // or later of the Amazon EC2 API. AssignIpv6AddressOnCreation *AttributeBooleanValue `type:"structure"` - // The customer-owned IPv4 address pool associated with the subnet. - // - // You must set this value when you specify true for MapCustomerOwnedIpOnLaunch. - CustomerOwnedIpv4Pool *string `type:"string"` - - // Specify true to indicate that network interfaces attached to instances created - // in the specified subnet should be assigned a customer-owned IPv4 address. - // - // When this value is true, you must specify the customer-owned IP pool using - // CustomerOwnedIpv4Pool. - MapCustomerOwnedIpOnLaunch *AttributeBooleanValue `type:"structure"` - // Specify true to indicate that network interfaces attached to instances created // in the specified subnet should be assigned a public IPv4 address. MapPublicIpOnLaunch *AttributeBooleanValue `type:"structure"` @@ -90797,18 +90785,6 @@ func (s *ModifySubnetAttributeInput) SetAssignIpv6AddressOnCreation(v *Attribute return s } -// SetCustomerOwnedIpv4Pool sets the CustomerOwnedIpv4Pool field's value. -func (s *ModifySubnetAttributeInput) SetCustomerOwnedIpv4Pool(v string) *ModifySubnetAttributeInput { - s.CustomerOwnedIpv4Pool = &v - return s -} - -// SetMapCustomerOwnedIpOnLaunch sets the MapCustomerOwnedIpOnLaunch field's value. -func (s *ModifySubnetAttributeInput) SetMapCustomerOwnedIpOnLaunch(v *AttributeBooleanValue) *ModifySubnetAttributeInput { - s.MapCustomerOwnedIpOnLaunch = v - return s -} - // SetMapPublicIpOnLaunch sets the MapPublicIpOnLaunch field's value. func (s *ModifySubnetAttributeInput) SetMapPublicIpOnLaunch(v *AttributeBooleanValue) *ModifySubnetAttributeInput { s.MapPublicIpOnLaunch = v diff --git a/service/glue/api.go b/service/glue/api.go index 7800c82dfc8..7557929ae01 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -10481,7 +10481,9 @@ func (c *Glue) ResumeWorkflowRunRequest(input *ResumeWorkflowRunInput) (req *req // ResumeWorkflowRun API operation for AWS Glue. // -// Restarts any completed nodes in a workflow run and resumes the run execution. +// Restarts selected nodes of a previous partially completed workflow run and +// resumes the workflow run. The selected nodes and all nodes that are downstream +// from the selected nodes are run. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -16097,8 +16099,9 @@ type Condition struct { // A logical operator. LogicalOperator *string `type:"string" enum:"LogicalOperator"` - // The condition state. Currently, the values supported are SUCCEEDED, STOPPED, - // TIMEOUT, and FAILED. + // The condition state. Currently, the only job states that a trigger can listen + // for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states + // that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED. State *string `type:"string" enum:"JobRunState"` } @@ -19576,6 +19579,12 @@ type CreateWorkflowInput struct { // A description of the workflow. Description *string `type:"string"` + // You can use this parameter to prevent unwanted multiple updates to data, + // to control costs, or in some cases, to prevent exceeding the maximum number + // of concurrent runs of any of the component jobs. If you leave this parameter + // blank, there is no limit to the number of concurrent workflow runs. + MaxConcurrentRuns *int64 `type:"integer"` + // The name to be assigned to the workflow. It should be unique within your // account. // @@ -19624,6 +19633,12 @@ func (s *CreateWorkflowInput) SetDescription(v string) *CreateWorkflowInput { return s } +// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. +func (s *CreateWorkflowInput) SetMaxConcurrentRuns(v int64) *CreateWorkflowInput { + s.MaxConcurrentRuns = &v + return s +} + // SetName sets the Name field's value. func (s *CreateWorkflowInput) SetName(v string) *CreateWorkflowInput { s.Name = &v @@ -28202,7 +28217,8 @@ type JobRun struct { // The name of the job definition being used in this run. JobName *string `min:"1" type:"string"` - // The current state of the job run. + // The current state of the job run. For more information about the statuses + // of jobs that have terminated abnormally, see AWS Glue Job Run Statuses (https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html). JobRunState *string `type:"string" enum:"JobRunState"` // The last time that this job run was modified. @@ -31146,7 +31162,7 @@ type ResumeWorkflowRunInput struct { Name *string `min:"1" type:"string" required:"true"` // A list of the node IDs for the nodes you want to restart. The nodes that - // are to be restarted must have an execution attempt in the original run. + // are to be restarted must have a run attempt in the original run. // // NodeIds is a required field NodeIds []*string `type:"list" required:"true"` @@ -36542,6 +36558,12 @@ type UpdateWorkflowInput struct { // The description of the workflow. Description *string `type:"string"` + // You can use this parameter to prevent unwanted multiple updates to data, + // to control costs, or in some cases, to prevent exceeding the maximum number + // of concurrent runs of any of the component jobs. If you leave this parameter + // blank, there is no limit to the number of concurrent workflow runs. + MaxConcurrentRuns *int64 `type:"integer"` + // Name of the workflow to be updated. // // Name is a required field @@ -36586,6 +36608,12 @@ func (s *UpdateWorkflowInput) SetDescription(v string) *UpdateWorkflowInput { return s } +// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. +func (s *UpdateWorkflowInput) SetMaxConcurrentRuns(v int64) *UpdateWorkflowInput { + s.MaxConcurrentRuns = &v + return s +} + // SetName sets the Name field's value. func (s *UpdateWorkflowInput) SetName(v string) *UpdateWorkflowInput { s.Name = &v @@ -36993,6 +37021,12 @@ type Workflow struct { // The information about the last execution of the workflow. LastRun *WorkflowRun `type:"structure"` + // You can use this parameter to prevent unwanted multiple updates to data, + // to control costs, or in some cases, to prevent exceeding the maximum number + // of concurrent runs of any of the component jobs. If you leave this parameter + // blank, there is no limit to the number of concurrent workflow runs. + MaxConcurrentRuns *int64 `type:"integer"` + // The name of the workflow representing the flow. Name *string `min:"1" type:"string"` } @@ -37043,6 +37077,12 @@ func (s *Workflow) SetLastRun(v *WorkflowRun) *Workflow { return s } +// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. +func (s *Workflow) SetMaxConcurrentRuns(v int64) *Workflow { + s.MaxConcurrentRuns = &v + return s +} + // SetName sets the Name field's value. func (s *Workflow) SetName(v string) *Workflow { s.Name = &v @@ -37093,6 +37133,11 @@ type WorkflowRun struct { // The date and time when the workflow run completed. CompletedOn *time.Time `type:"timestamp"` + // This error message describes any error that may have occurred in starting + // the workflow run. Currently the only error message is "Concurrent runs exceeded + // for workflow: foo." + ErrorMessage *string `type:"string"` + // The graph representing all the AWS Glue components that belong to the workflow // as nodes and directed connections between them as edges. Graph *WorkflowGraph `type:"structure"` @@ -37135,6 +37180,12 @@ func (s *WorkflowRun) SetCompletedOn(v time.Time) *WorkflowRun { return s } +// SetErrorMessage sets the ErrorMessage field's value. +func (s *WorkflowRun) SetErrorMessage(v string) *WorkflowRun { + s.ErrorMessage = &v + return s +} + // SetGraph sets the Graph field's value. func (s *WorkflowRun) SetGraph(v *WorkflowGraph) *WorkflowRun { s.Graph = v @@ -37859,4 +37910,7 @@ const ( // WorkflowRunStatusStopped is a WorkflowRunStatus enum value WorkflowRunStatusStopped = "STOPPED" + + // WorkflowRunStatusError is a WorkflowRunStatus enum value + WorkflowRunStatusError = "ERROR" ) diff --git a/service/savingsplans/api.go b/service/savingsplans/api.go index 94639abc6c3..b79512f0d82 100644 --- a/service/savingsplans/api.go +++ b/service/savingsplans/api.go @@ -2622,6 +2622,9 @@ const ( // SavingsPlanRateServiceCodeAmazonEcs is a SavingsPlanRateServiceCode enum value SavingsPlanRateServiceCodeAmazonEcs = "AmazonECS" + // SavingsPlanRateServiceCodeAmazonEks is a SavingsPlanRateServiceCode enum value + SavingsPlanRateServiceCodeAmazonEks = "AmazonEKS" + // SavingsPlanRateServiceCodeAwslambda is a SavingsPlanRateServiceCode enum value SavingsPlanRateServiceCodeAwslambda = "AWSLambda" )