diff --git a/.changes/2.642.0.json b/.changes/2.642.0.json new file mode 100644 index 0000000000..446820f869 --- /dev/null +++ b/.changes/2.642.0.json @@ -0,0 +1,27 @@ +[ + { + "type": "bugfix", + "category": "Credentials", + "description": "Fix types for callback argument in get & refresh methods for Credentials to accept error optionally" + }, + { + "type": "bugfix", + "category": "s3", + "description": "createBucket mutates params argument when endpoint is configured by appending CreateBucketConfigurationon key, this side effect is now fixed" + }, + { + "type": "feature", + "category": "MediaConnect", + "description": "Feature adds the ability for a flow to have multiple redundant sources that provides resiliency to a source failing. The new APIs added to enable the feature are, AddFlowSources, RemoveFlowSource and UpdateFlow." + }, + { + "type": "feature", + "category": "Personalize", + "description": "[Personalize] Adds support for returning hyperparameter values of the best performing model in a HPO job." + }, + { + "type": "feature", + "category": "RDS", + "description": "Updated the MaxRecords type in DescribeExportTasks to Integer." + } +] \ No newline at end of file diff --git a/.changes/next-release/bugfix-Credentials-08f473f2.json b/.changes/next-release/bugfix-Credentials-08f473f2.json deleted file mode 100644 index 2e14e3fb33..0000000000 --- a/.changes/next-release/bugfix-Credentials-08f473f2.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "Credentials", - "description": "Fix types for callback argument in get & refresh methods for Credentials to accept error optionally" -} \ No newline at end of file diff --git a/.changes/next-release/bugfix-s3-a752bb97.json b/.changes/next-release/bugfix-s3-a752bb97.json deleted file mode 100644 index 01f3fb1740..0000000000 --- a/.changes/next-release/bugfix-s3-a752bb97.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "s3", - "description": "createBucket mutates params argument when endpoint is configured by appending CreateBucketConfigurationon key, this side effect is now fixed" -} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bb082df27..36d117d952 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,14 @@ # Changelog for AWS SDK for JavaScript - + +## 2.642.0 +* bugfix: Credentials: Fix types for callback argument in get & refresh methods for Credentials to accept error optionally +* bugfix: s3: createBucket mutates params argument when endpoint is configured by appending CreateBucketConfigurationon key, this side effect is now fixed +* feature: MediaConnect: Feature adds the ability for a flow to have multiple redundant sources that provides resiliency to a source failing. The new APIs added to enable the feature are, AddFlowSources, RemoveFlowSource and UpdateFlow. +* feature: Personalize: [Personalize] Adds support for returning hyperparameter values of the best performing model in a HPO job. +* feature: RDS: Updated the MaxRecords type in DescribeExportTasks to Integer. + ## 2.641.0 * feature: CI: add buildspec.yml from CodeBuild job * feature: MediaConvert: AWS Elemental MediaConvert SDK has added support for: AV1 encoding in File Group MP4, DASH and CMAF DASH outputs; PCM/WAV audio output in MPEG2-TS containers; and Opus audio in Webm inputs. diff --git a/README.md b/README.md index 25d3210600..e2243e98bc 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ version. To use the SDK in the browser, simply add the following script tag to your HTML pages: - + 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 diff --git a/apis/mediaconnect-2018-11-14.min.json b/apis/mediaconnect-2018-11-14.min.json index db4ba863d5..a87a5eae8e 100644 --- a/apis/mediaconnect-2018-11-14.min.json +++ b/apis/mediaconnect-2018-11-14.min.json @@ -46,6 +46,41 @@ } } }, + "AddFlowSources": { + "http": { + "requestUri": "/v1/flows/{flowArn}/source", + "responseCode": 201 + }, + "input": { + "type": "structure", + "members": { + "FlowArn": { + "location": "uri", + "locationName": "flowArn" + }, + "Sources": { + "shape": "Sg", + "locationName": "sources" + } + }, + "required": [ + "FlowArn", + "Sources" + ] + }, + "output": { + "type": "structure", + "members": { + "FlowArn": { + "locationName": "flowArn" + }, + "Sources": { + "shape": "Sj", + "locationName": "sources" + } + } + } + }, "CreateFlow": { "http": { "requestUri": "/v1/flows", @@ -58,7 +93,7 @@ "locationName": "availabilityZone" }, "Entitlements": { - "shape": "Sg", + "shape": "Sm", "locationName": "entitlements" }, "Name": { @@ -69,48 +104,19 @@ "locationName": "outputs" }, "Source": { - "locationName": "source", - "type": "structure", - "members": { - "Decryption": { - "shape": "S6", - "locationName": "decryption" - }, - "Description": { - "locationName": "description" - }, - "EntitlementArn": { - "locationName": "entitlementArn" - }, - "IngestPort": { - "locationName": "ingestPort", - "type": "integer" - }, - "MaxBitrate": { - "locationName": "maxBitrate", - "type": "integer" - }, - "MaxLatency": { - "locationName": "maxLatency", - "type": "integer" - }, - "Name": { - "locationName": "name" - }, - "Protocol": { - "locationName": "protocol" - }, - "StreamId": { - "locationName": "streamId" - }, - "WhitelistCidr": { - "locationName": "whitelistCidr" - } - } + "shape": "Sh", + "locationName": "source" + }, + "SourceFailoverConfig": { + "shape": "So", + "locationName": "sourceFailoverConfig" + }, + "Sources": { + "shape": "Sg", + "locationName": "sources" } }, "required": [ - "Source", "Name" ] }, @@ -118,7 +124,7 @@ "type": "structure", "members": { "Flow": { - "shape": "Sk", + "shape": "Sr", "locationName": "flow" } } @@ -176,7 +182,7 @@ "type": "structure", "members": { "Flow": { - "shape": "Sk", + "shape": "Sr", "locationName": "flow" }, "Messages": { @@ -204,7 +210,7 @@ "type": "structure", "members": { "Entitlements": { - "shape": "Sg", + "shape": "Sm", "locationName": "entitlements" }, "FlowArn": { @@ -221,7 +227,7 @@ "type": "structure", "members": { "Entitlements": { - "shape": "Sl", + "shape": "Ss", "locationName": "entitlements" }, "FlowArn": { @@ -368,7 +374,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S18", + "shape": "S1e", "locationName": "tags" } } @@ -409,6 +415,41 @@ } } }, + "RemoveFlowSource": { + "http": { + "method": "DELETE", + "requestUri": "/v1/flows/{flowArn}/source/{sourceArn}", + "responseCode": 202 + }, + "input": { + "type": "structure", + "members": { + "FlowArn": { + "location": "uri", + "locationName": "flowArn" + }, + "SourceArn": { + "location": "uri", + "locationName": "sourceArn" + } + }, + "required": [ + "FlowArn", + "SourceArn" + ] + }, + "output": { + "type": "structure", + "members": { + "FlowArn": { + "locationName": "flowArn" + }, + "SourceArn": { + "locationName": "sourceArn" + } + } + } + }, "RevokeFlowEntitlement": { "http": { "method": "DELETE", @@ -515,7 +556,7 @@ "locationName": "resourceArn" }, "Tags": { - "shape": "S18", + "shape": "S1e", "locationName": "tags" } }, @@ -550,6 +591,47 @@ ] } }, + "UpdateFlow": { + "http": { + "method": "PUT", + "requestUri": "/v1/flows/{flowArn}", + "responseCode": 202 + }, + "input": { + "type": "structure", + "members": { + "FlowArn": { + "location": "uri", + "locationName": "flowArn" + }, + "SourceFailoverConfig": { + "locationName": "sourceFailoverConfig", + "type": "structure", + "members": { + "RecoveryWindow": { + "locationName": "recoveryWindow", + "type": "integer" + }, + "State": { + "locationName": "state" + } + } + } + }, + "required": [ + "FlowArn" + ] + }, + "output": { + "type": "structure", + "members": { + "Flow": { + "shape": "Sr", + "locationName": "flow" + } + } + } + }, "UpdateFlowEntitlement": { "http": { "method": "PUT", @@ -563,7 +645,7 @@ "locationName": "description" }, "Encryption": { - "shape": "S1k", + "shape": "S1v", "locationName": "encryption" }, "EntitlementArn": { @@ -588,7 +670,7 @@ "type": "structure", "members": { "Entitlement": { - "shape": "Sm", + "shape": "St", "locationName": "entitlement" }, "FlowArn": { @@ -617,7 +699,7 @@ "locationName": "destination" }, "Encryption": { - "shape": "S1k", + "shape": "S1v", "locationName": "encryption" }, "FlowArn": { @@ -678,7 +760,7 @@ "type": "structure", "members": { "Decryption": { - "shape": "S1k", + "shape": "S1v", "locationName": "decryption" }, "Description": { @@ -729,7 +811,7 @@ "locationName": "flowArn" }, "Source": { - "shape": "Sn", + "shape": "Sk", "locationName": "source" } } @@ -909,6 +991,100 @@ ] }, "Sg": { + "type": "list", + "member": { + "shape": "Sh" + } + }, + "Sh": { + "type": "structure", + "members": { + "Decryption": { + "shape": "S6", + "locationName": "decryption" + }, + "Description": { + "locationName": "description" + }, + "EntitlementArn": { + "locationName": "entitlementArn" + }, + "IngestPort": { + "locationName": "ingestPort", + "type": "integer" + }, + "MaxBitrate": { + "locationName": "maxBitrate", + "type": "integer" + }, + "MaxLatency": { + "locationName": "maxLatency", + "type": "integer" + }, + "Name": { + "locationName": "name" + }, + "Protocol": { + "locationName": "protocol" + }, + "StreamId": { + "locationName": "streamId" + }, + "WhitelistCidr": { + "locationName": "whitelistCidr" + } + } + }, + "Sj": { + "type": "list", + "member": { + "shape": "Sk" + } + }, + "Sk": { + "type": "structure", + "members": { + "DataTransferSubscriberFeePercent": { + "locationName": "dataTransferSubscriberFeePercent", + "type": "integer" + }, + "Decryption": { + "shape": "S6", + "locationName": "decryption" + }, + "Description": { + "locationName": "description" + }, + "EntitlementArn": { + "locationName": "entitlementArn" + }, + "IngestIp": { + "locationName": "ingestIp" + }, + "IngestPort": { + "locationName": "ingestPort", + "type": "integer" + }, + "Name": { + "locationName": "name" + }, + "SourceArn": { + "locationName": "sourceArn" + }, + "Transport": { + "shape": "Se", + "locationName": "transport" + }, + "WhitelistCidr": { + "locationName": "whitelistCidr" + } + }, + "required": [ + "SourceArn", + "Name" + ] + }, + "Sm": { "type": "list", "member": { "type": "structure", @@ -937,7 +1113,19 @@ ] } }, - "Sk": { + "So": { + "type": "structure", + "members": { + "RecoveryWindow": { + "locationName": "recoveryWindow", + "type": "integer" + }, + "State": { + "locationName": "state" + } + } + }, + "Sr": { "type": "structure", "members": { "AvailabilityZone": { @@ -950,7 +1138,7 @@ "locationName": "egressIp" }, "Entitlements": { - "shape": "Sl", + "shape": "Ss", "locationName": "entitlements" }, "FlowArn": { @@ -964,9 +1152,17 @@ "locationName": "outputs" }, "Source": { - "shape": "Sn", + "shape": "Sk", "locationName": "source" }, + "SourceFailoverConfig": { + "shape": "So", + "locationName": "sourceFailoverConfig" + }, + "Sources": { + "shape": "Sj", + "locationName": "sources" + }, "Status": { "locationName": "status" } @@ -981,13 +1177,13 @@ "Name" ] }, - "Sl": { + "Ss": { "type": "list", "member": { - "shape": "Sm" + "shape": "St" } }, - "Sm": { + "St": { "type": "structure", "members": { "DataTransferSubscriberFeePercent": { @@ -1018,55 +1214,12 @@ "Name" ] }, - "Sn": { - "type": "structure", - "members": { - "DataTransferSubscriberFeePercent": { - "locationName": "dataTransferSubscriberFeePercent", - "type": "integer" - }, - "Decryption": { - "shape": "S6", - "locationName": "decryption" - }, - "Description": { - "locationName": "description" - }, - "EntitlementArn": { - "locationName": "entitlementArn" - }, - "IngestIp": { - "locationName": "ingestIp" - }, - "IngestPort": { - "locationName": "ingestPort", - "type": "integer" - }, - "Name": { - "locationName": "name" - }, - "SourceArn": { - "locationName": "sourceArn" - }, - "Transport": { - "shape": "Se", - "locationName": "transport" - }, - "WhitelistCidr": { - "locationName": "whitelistCidr" - } - }, - "required": [ - "SourceArn", - "Name" - ] - }, - "S18": { + "S1e": { "type": "map", "key": {}, "value": {} }, - "S1k": { + "S1v": { "type": "structure", "members": { "Algorithm": { diff --git a/apis/mediaconnect-2018-11-14.normal.json b/apis/mediaconnect-2018-11-14.normal.json index f8195ce7e0..d5730aa653 100644 --- a/apis/mediaconnect-2018-11-14.normal.json +++ b/apis/mediaconnect-2018-11-14.normal.json @@ -28,7 +28,7 @@ "errors": [ { "shape": "AddFlowOutputs420Exception", - "documentation": "AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number of allowed outputs (20). For more information, contact AWS Customer Support." + "documentation": "AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number of allowed outputs (50). For more information, contact AWS Customer Support." }, { "shape": "BadRequestException", @@ -55,7 +55,49 @@ "documentation": "You have exceeded the service request rate limit for your AWS Elemental MediaConnect account." } ], - "documentation": "Adds outputs to an existing flow. You can create up to 20 outputs per flow." + "documentation": "Adds outputs to an existing flow. You can create up to 50 outputs per flow." + }, + "AddFlowSources": { + "name": "AddFlowSources", + "http": { + "method": "POST", + "requestUri": "/v1/flows/{flowArn}/source", + "responseCode": 201 + }, + "input": { + "shape": "AddFlowSourcesRequest" + }, + "output": { + "shape": "AddFlowSourcesResponse", + "documentation": "AWS Elemental MediaConnect added sources to the flow successfully." + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "The request that you submitted is not valid." + }, + { + "shape": "InternalServerErrorException", + "documentation": "AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition." + }, + { + "shape": "ForbiddenException", + "documentation": "You don't have the required permissions to perform this operation." + }, + { + "shape": "NotFoundException", + "documentation": "AWS Elemental MediaConnect did not find the resource that you specified in the request." + }, + { + "shape": "ServiceUnavailableException", + "documentation": "AWS Elemental MediaConnect is currently unavailable. Try again later." + }, + { + "shape": "TooManyRequestsException", + "documentation": "You have exceeded the service request rate limit for your AWS Elemental MediaConnect account." + } + ], + "documentation": "Adds Sources to flow" }, "CreateFlow": { "name": "CreateFlow", @@ -97,7 +139,7 @@ "documentation": "You have exceeded the service request rate limit for your AWS Elemental MediaConnect account." } ], - "documentation": "Creates a new flow. The request must include one source. The request optionally can include outputs (up to 20) and entitlements (up to 50)." + "documentation": "Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50)." }, "DeleteFlow": { "name": "DeleteFlow", @@ -369,6 +411,48 @@ ], "documentation": "Removes an output from an existing flow. This request can be made only on an output that does not have an entitlement associated with it. If the output has an entitlement, you must revoke the entitlement instead. When an entitlement is revoked from a flow, the service automatically removes the associated output." }, + "RemoveFlowSource": { + "name": "RemoveFlowSource", + "http": { + "method": "DELETE", + "requestUri": "/v1/flows/{flowArn}/source/{sourceArn}", + "responseCode": 202 + }, + "input": { + "shape": "RemoveFlowSourceRequest" + }, + "output": { + "shape": "RemoveFlowSourceResponse", + "documentation": "source successfully removed from flow configuration." + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "The request that you submitted is not valid." + }, + { + "shape": "InternalServerErrorException", + "documentation": "AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition." + }, + { + "shape": "ForbiddenException", + "documentation": "You don't have the required permissions to perform this operation." + }, + { + "shape": "NotFoundException", + "documentation": "AWS Elemental MediaConnect did not find the resource that you specified in the request." + }, + { + "shape": "ServiceUnavailableException", + "documentation": "AWS Elemental MediaConnect is currently unavailable. Try again later." + }, + { + "shape": "TooManyRequestsException", + "documentation": "You have exceeded the service request rate limit for your AWS Elemental MediaConnect account." + } + ], + "documentation": "Removes a source from an existing flow. This request can be made only if there is more than one source on the flow." + }, "RevokeFlowEntitlement": { "name": "RevokeFlowEntitlement", "http": { @@ -547,6 +631,48 @@ ], "documentation": "Deletes specified tags from a resource." }, + "UpdateFlow": { + "name": "UpdateFlow", + "http": { + "method": "PUT", + "requestUri": "/v1/flows/{flowArn}", + "responseCode": 202 + }, + "input": { + "shape": "UpdateFlowRequest" + }, + "output": { + "shape": "UpdateFlowResponse", + "documentation": "AWS Elemental MediaConnect updated the flow successfully." + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "The request that you submitted is not valid." + }, + { + "shape": "InternalServerErrorException", + "documentation": "AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition." + }, + { + "shape": "ForbiddenException", + "documentation": "You don't have the required permissions to perform this operation." + }, + { + "shape": "NotFoundException", + "documentation": "AWS Elemental MediaConnect did not find the resource that you specified in the request." + }, + { + "shape": "ServiceUnavailableException", + "documentation": "AWS Elemental MediaConnect is currently unavailable. Try again later." + }, + { + "shape": "TooManyRequestsException", + "documentation": "You have exceeded the service request rate limit for your AWS Elemental MediaConnect account." + } + ], + "documentation": "Updates flow" + }, "UpdateFlowEntitlement": { "name": "UpdateFlowEntitlement", "http": { @@ -711,6 +837,42 @@ } } }, + "AddFlowSourcesRequest": { + "type": "structure", + "members": { + "FlowArn": { + "shape": "__string", + "location": "uri", + "locationName": "flowArn", + "documentation": "The flow that you want to mutate." + }, + "Sources": { + "shape": "__listOfSetSourceRequest", + "locationName": "sources", + "documentation": "A list of sources that you want to add." + } + }, + "documentation": "A request to add sources to the flow.", + "required": [ + "FlowArn", + "Sources" + ] + }, + "AddFlowSourcesResponse": { + "type": "structure", + "members": { + "FlowArn": { + "shape": "__string", + "locationName": "flowArn", + "documentation": "The ARN of the flow that these sources were added to." + }, + "Sources": { + "shape": "__listOfSource", + "locationName": "sources", + "documentation": "The details of the newly added sources." + } + } + }, "AddOutputRequest": { "type": "structure", "members": { @@ -809,11 +971,18 @@ "Source": { "shape": "SetSourceRequest", "locationName": "source" + }, + "SourceFailoverConfig": { + "shape": "FailoverConfig", + "locationName": "sourceFailoverConfig" + }, + "Sources": { + "shape": "__listOfSetSourceRequest", + "locationName": "sources" } }, - "documentation": "Creates a new flow. The request must include one source. The request optionally can include outputs (up to 20) and entitlements (up to 50).", + "documentation": "Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).", "required": [ - "Source", "Name" ] }, @@ -978,6 +1147,21 @@ "Name" ] }, + "FailoverConfig": { + "type": "structure", + "members": { + "RecoveryWindow": { + "shape": "__integer", + "locationName": "recoveryWindow", + "documentation": "Search window time to look for dash-7 packets" + }, + "State": { + "shape": "State", + "locationName": "state" + } + }, + "documentation": "The settings for source failover" + }, "Flow": { "type": "structure", "members": { @@ -1020,6 +1204,14 @@ "shape": "Source", "locationName": "source" }, + "SourceFailoverConfig": { + "shape": "FailoverConfig", + "locationName": "sourceFailoverConfig" + }, + "Sources": { + "shape": "__listOfSource", + "locationName": "sources" + }, "Status": { "shape": "Status", "locationName": "status", @@ -1396,6 +1588,42 @@ } } }, + "RemoveFlowSourceRequest": { + "type": "structure", + "members": { + "FlowArn": { + "shape": "__string", + "location": "uri", + "locationName": "flowArn", + "documentation": "The flow that you want to remove a source from." + }, + "SourceArn": { + "shape": "__string", + "location": "uri", + "locationName": "sourceArn", + "documentation": "The ARN of the source that you want to remove." + } + }, + "required": [ + "FlowArn", + "SourceArn" + ] + }, + "RemoveFlowSourceResponse": { + "type": "structure", + "members": { + "FlowArn": { + "shape": "__string", + "locationName": "flowArn", + "documentation": "The ARN of the flow that is associated with the source you removed." + }, + "SourceArn": { + "shape": "__string", + "locationName": "sourceArn", + "documentation": "The ARN of the source that was removed." + } + } + }, "RevokeFlowEntitlementRequest": { "type": "structure", "members": { @@ -1584,6 +1812,13 @@ } } }, + "State": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] + }, "Status": { "type": "string", "enum": [ @@ -1762,6 +1997,21 @@ }, "documentation": "Information about the encryption of the flow." }, + "UpdateFailoverConfig": { + "type": "structure", + "members": { + "RecoveryWindow": { + "shape": "__integer", + "locationName": "recoveryWindow", + "documentation": "Recovery window time to look for dash-7 packets" + }, + "State": { + "shape": "State", + "locationName": "state" + } + }, + "documentation": "The settings for source failover" + }, "UpdateFlowEntitlementRequest": { "type": "structure", "members": { @@ -1899,6 +2149,34 @@ } } }, + "UpdateFlowRequest": { + "type": "structure", + "members": { + "FlowArn": { + "shape": "__string", + "location": "uri", + "locationName": "flowArn", + "documentation": "The flow that you want to update." + }, + "SourceFailoverConfig": { + "shape": "UpdateFailoverConfig", + "locationName": "sourceFailoverConfig" + } + }, + "documentation": "A request to update flow.", + "required": [ + "FlowArn" + ] + }, + "UpdateFlowResponse": { + "type": "structure", + "members": { + "Flow": { + "shape": "Flow", + "locationName": "flow" + } + } + }, "UpdateFlowSourceRequest": { "type": "structure", "members": { @@ -2020,6 +2298,18 @@ "shape": "Output" } }, + "__listOfSetSourceRequest": { + "type": "list", + "member": { + "shape": "SetSourceRequest" + } + }, + "__listOfSource": { + "type": "list", + "member": { + "shape": "Source" + } + }, "__listOf__string": { "type": "list", "member": { diff --git a/apis/personalize-2018-05-22.min.json b/apis/personalize-2018-05-22.min.json index 849bf806e6..843093e2f3 100644 --- a/apis/personalize-2018-05-22.min.json +++ b/apis/personalize-2018-05-22.min.json @@ -827,6 +827,14 @@ "type": "double" }, "trainingMode": {}, + "tunedHPOParams": { + "type": "structure", + "members": { + "algorithmHyperParameters": { + "shape": "S1k" + } + } + }, "status": {}, "failureReason": {}, "creationDateTime": { @@ -893,7 +901,8 @@ "lastUpdatedDateTime": { "type": "timestamp" }, - "failureReason": {} + "failureReason": {}, + "solutionVersionArn": {} } } }, diff --git a/apis/personalize-2018-05-22.normal.json b/apis/personalize-2018-05-22.normal.json index b57b0f3e62..f4967f89d9 100644 --- a/apis/personalize-2018-05-22.normal.json +++ b/apis/personalize-2018-05-22.normal.json @@ -1178,6 +1178,10 @@ "failureReason": { "shape": "FailureReason", "documentation": "
If the batch inference job failed, the reason for the failure.
" + }, + "solutionVersionArn": { + "shape": "Arn", + "documentation": "The ARN of the solution version used by the batch inference job.
" } }, "documentation": "A truncated version of the BatchInferenceJob datatype. The ListBatchInferenceJobs operation returns a list of batch inference job summaries.
" @@ -2575,7 +2579,7 @@ "members": { "type": { "shape": "HPOObjectiveType", - "documentation": "The data type of the metric.
" + "documentation": "The type of the metric. Valid values are Maximize
and Minimize
.
The scope of training used to create the solution version. The FULL
option trains the solution version based on the entirety of the input solution's training data, while the UPDATE
option processes only the training data that has changed since the creation of the last solution version. Choose UPDATE
when you want to start recommending items added to the dataset without retraining the model.
The UPDATE
option can only be used after you've created a solution version with the FULL
option and the training solution uses the native-recipe-hrnn-coldstart.
If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.
" + }, "status": { "shape": "Status", "documentation": "The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE FAILED
A list of the hyperparameter values of the best performing model.
" + } + }, + "documentation": "If hyperparameter optimization (HPO) was performed, contains the hyperparameter values of the best performing model.
" + }, "UpdateCampaignRequest": { "type": "structure", "required": [ diff --git a/apis/rds-2014-10-31.min.json b/apis/rds-2014-10-31.min.json index 36be73ac0a..2ac90633e4 100644 --- a/apis/rds-2014-10-31.min.json +++ b/apis/rds-2014-10-31.min.json @@ -2177,7 +2177,9 @@ "shape": "S50" }, "Marker": {}, - "MaxRecords": {} + "MaxRecords": { + "type": "integer" + } } }, "output": { diff --git a/apis/rds-2014-10-31.normal.json b/apis/rds-2014-10-31.normal.json index 40afa7f74b..b7e24a4de0 100644 --- a/apis/rds-2014-10-31.normal.json +++ b/apis/rds-2014-10-31.normal.json @@ -8196,7 +8196,7 @@ "documentation": " An optional pagination token provided by a previous DescribeExportTasks
request. If you specify this parameter, the response includes only records beyond the marker, up to the value specified by the MaxRecords
parameter.
The maximum number of records to include in the response. If more records exist than the specified value, a pagination token called a marker is included in the response. You can use the marker in a later DescribeExportTasks
request to retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
" } } diff --git a/clients/mediaconnect.d.ts b/clients/mediaconnect.d.ts index 085e16144d..218779b6b8 100644 --- a/clients/mediaconnect.d.ts +++ b/clients/mediaconnect.d.ts @@ -12,19 +12,27 @@ declare class MediaConnect extends Service { constructor(options?: MediaConnect.Types.ClientConfiguration) config: Config & MediaConnect.Types.ClientConfiguration; /** - * Adds outputs to an existing flow. You can create up to 20 outputs per flow. + * Adds outputs to an existing flow. You can create up to 50 outputs per flow. */ addFlowOutputs(params: MediaConnect.Types.AddFlowOutputsRequest, callback?: (err: AWSError, data: MediaConnect.Types.AddFlowOutputsResponse) => void): Request>1,l=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:s-1,y=i?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,a),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,a),o=0));a>=8;e[r+d]=255&n,d+=y,n/=256,a-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],409:[function(e,t,r){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],410:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,a){if(e===a)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(a))return!1;if(!0===t(e)){if(e.length!==a.length)return!1;for(var s=0;s G((f-r)/h)&&a("overflow"),r+=(p-t)*h,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),i(o,d)?a(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],414:[function(e,t,r){"use strict";function i(e,t){if(e.map)return e.map(t);for(var r=[],i=0;i >1,l=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:s-1,y=i?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,a),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,a),o=0));a>=8;e[r+d]=255&n,d+=y,n/=256,a-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],409:[function(e,t,r){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],410:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,a){if(e===a)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(a))return!1;if(!0===t(e)){if(e.length!==a.length)return!1;for(var s=0;s G((f-r)/h)&&a("overflow"),r+=(p-t)*h,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),i(o,d)?a(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],414:[function(e,t,r){"use strict";function i(e,t){if(e.map)return e.map(t);for(var r=[],i=0;i=55296&&t<=56319&&a65535&&(e-=65536,t+=B(e>>>10&1023|55296),e=56320|1023&e),t+=B(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var i=0;for(e=r?G(e/D):e>>1,e+=G(e/t);e>L*k>>1;i+=T)e=G(e/L);return G(i+(L+1)*e/(e+v))}function l(e){var t,r,i,s,o,n,m,l,d,y,b=[],S=e.length,h=0,g=A,N=R;for(r=e.lastIndexOf(P),r<0&&(r=0),i=0;i=S&&a("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-h)/n))&&a("overflow"),h+=l*n,d=m<=N?C:m>=N+k?k:m-N,!(l=t&&bf&&a("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l>>((3&t)<<3)&255;return s}}},{}],427:[function(e,t,r){function i(e,t,r){var i=t&&r||0,m=t||[];e=e||{};var c=e.node||a,l=void 0!==e.clockseq?e.clockseq:s;if(null==c||null==l){var d=o();null==c&&(c=a=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==l&&(l=s=16383&(d[6]<<8|d[7]))}var y=void 0!==e.msecs?e.msecs:(new Date).getTime(),b=void 0!==e.nsecs?e.nsecs:p+1,S=y-u+(b-p)/1e4;if(S<0&&void 0===e.clockseq&&(l=l+1&16383),(S<0||y>u)&&void 0===e.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=y,p=b,s=l,y+=122192928e5;var h=(1e4*(268435455&y)+b)%4294967296;m[i++]=h>>>24&255,m[i++]=h>>>16&255,m[i++]=h>>>8&255,m[i++]=255&h;var g=y/4294967296*1e4&268435455;m[i++]=g>>>8&255,m[i++]=255&g,m[i++]=g>>>24&15|16,m[i++]=g>>>16&255,m[i++]=l>>>8|128,m[i++]=255&l;for(var N=0;N<6;++N)m[i+N]=c[N];return t||n(m)}var a,s,o=e("./lib/rng"),n=e("./lib/bytesToUuid"),u=0,p=0;t.exports=i},{"./lib/bytesToUuid":425,"./lib/rng":426}],428:[function(e,t,r){function i(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var n=0;n<16;++n)t[i+n]=o[n];return t||s(o)}var a=e("./lib/rng"),s=e("./lib/bytesToUuid");t.exports=i},{"./lib/bytesToUuid":425,"./lib/rng":426}],429:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=e("./utils/LRU"),a=1e3,s=function(){function e(e){void 0===e&&(e=a),this.maxSize=e,this.cache=new i.LRUCache(e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,r){var i="string"!=typeof t?e.getKeyString(t):t,a=this.populateValue(r);this.cache.put(i,a)},e.prototype.get=function(t){var r="string"!=typeof t?e.getKeyString(t):t,i=Date.now(),a=this.cache.get(r);if(a)for(var s=0;s0){t=new n.XML.Parser;var c=t.parse(i.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:a,extractError:s,extractData:o}},{"../core":323,"../util":397,"./rest":360}],363:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=a(s);n=e?e+"."+n:n,u(n,o,s,i)}})}function o(e,t,r,i){var a=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+a+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,i),u(e+m,s,r.value,i)})}function n(e,t,r,i){var s=r.member||{};if(0===t.length)return void i.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(a(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?n(e,t,r,i):"map"===r.type?o(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var p=e("../util");i.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=i},{"../util":397}],364:[function(e,t,r){var i=e("../core"),a=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};i.RDS.Signer=i.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=i.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new i.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),a=new i.Service(u),a.api=s;var p=a.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,i){i&&(i=r.convertUrlToAuthToken(i)),t(e,i)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=i.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||i.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":323}],365:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],366:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=0;r>>8*(i?a:1-a)}function w(e,t,r,i){t<0&&(t=4294967295+t+1);for(var a=0,s=Math.min(e.length-r,4);a>>8*(i?a:3-a)&255}function U(e,t,r,i,a,s){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,i,a){return a||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,i,23,4),r+4}function F(e,t,r,i,a){return a||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,i,52,8),r+8}function V(e){if(e=O(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function O(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){t=t||1/0;for(var r,i=e.length,a=null,s=[],o=0;o55295&&r<57344){if(!a){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&s.push(239,191,189);continue}a=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),a=r;continue}r=65536+(a-55296<<10|r-56320)}else a&&(t-=3)>-1&&s.push(239,191,189);if(a=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function K(e){for(var t=[],r=0;r=55296&&t<=56319&&a65535&&(e-=65536,t+=B(e>>>10&1023|55296),e=56320|1023&e),t+=B(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var i=0;for(e=r?G(e/D):e>>1,e+=G(e/t);e>L*k>>1;i+=T)e=G(e/L);return G(i+(L+1)*e/(e+v))}function l(e){var t,r,i,s,o,n,m,l,d,y,b=[],S=e.length,h=0,g=A,N=R;for(r=e.lastIndexOf(P),r<0&&(r=0),i=0;i=S&&a("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-h)/n))&&a("overflow"),h+=l*n,d=m<=N?C:m>=N+k?k:m-N,!(l=t&&bf&&a("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l>>((3&t)<<3)&255;return s}}},{}],427:[function(e,t,r){function i(e,t,r){var i=t&&r||0,m=t||[];e=e||{};var c=e.node||a,l=void 0!==e.clockseq?e.clockseq:s;if(null==c||null==l){var d=o();null==c&&(c=a=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==l&&(l=s=16383&(d[6]<<8|d[7]))}var y=void 0!==e.msecs?e.msecs:(new Date).getTime(),b=void 0!==e.nsecs?e.nsecs:p+1,S=y-u+(b-p)/1e4;if(S<0&&void 0===e.clockseq&&(l=l+1&16383),(S<0||y>u)&&void 0===e.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=y,p=b,s=l,y+=122192928e5;var h=(1e4*(268435455&y)+b)%4294967296;m[i++]=h>>>24&255,m[i++]=h>>>16&255,m[i++]=h>>>8&255,m[i++]=255&h;var g=y/4294967296*1e4&268435455;m[i++]=g>>>8&255,m[i++]=255&g,m[i++]=g>>>24&15|16,m[i++]=g>>>16&255,m[i++]=l>>>8|128,m[i++]=255&l;for(var N=0;N<6;++N)m[i+N]=c[N];return t||n(m)}var a,s,o=e("./lib/rng"),n=e("./lib/bytesToUuid"),u=0,p=0;t.exports=i},{"./lib/bytesToUuid":425,"./lib/rng":426}],428:[function(e,t,r){function i(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var n=0;n<16;++n)t[i+n]=o[n];return t||s(o)}var a=e("./lib/rng"),s=e("./lib/bytesToUuid");t.exports=i},{"./lib/bytesToUuid":425,"./lib/rng":426}],429:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=e("./utils/LRU"),a=1e3,s=function(){function e(e){void 0===e&&(e=a),this.maxSize=e,this.cache=new i.LRUCache(e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,r){var i="string"!=typeof t?e.getKeyString(t):t,a=this.populateValue(r);this.cache.put(i,a)},e.prototype.get=function(t){var r="string"!=typeof t?e.getKeyString(t):t,i=Date.now(),a=this.cache.get(r);if(a)for(var s=0;s