diff --git a/.changes/2.1511.0.json b/.changes/2.1511.0.json new file mode 100644 index 0000000000..4216a64b23 --- /dev/null +++ b/.changes/2.1511.0.json @@ -0,0 +1,37 @@ +[ + { + "type": "bugfix", + "category": "awsQueryCompatible", + "description": "set default list member value for awsQueryCompatible" + }, + { + "type": "feature", + "category": "Billingconductor", + "description": "This release adds the ability to specify a linked account of the billing group for the custom line item resource." + }, + { + "type": "feature", + "category": "Braket", + "description": "This release enhances service support to create quantum tasks and hybrid jobs associated with Braket Direct Reservations." + }, + { + "type": "feature", + "category": "Cloud9", + "description": "This release adds the requirement to include the imageId parameter in the CreateEnvironmentEC2 API call." + }, + { + "type": "feature", + "category": "CloudFormation", + "description": "Including UPDATE_* states as a success status for CreateStack waiter." + }, + { + "type": "feature", + "category": "Finspace", + "description": "Release General Purpose type clusters" + }, + { + "type": "feature", + "category": "MediaLive", + "description": "Adds support for custom color correction on channels using 3D LUT files." + } +] \ No newline at end of file diff --git a/.changes/next-release/bugfix-awsQueryCompatible-5c2d41f9.json b/.changes/next-release/bugfix-awsQueryCompatible-5c2d41f9.json deleted file mode 100644 index 858b71cee7..0000000000 --- a/.changes/next-release/bugfix-awsQueryCompatible-5c2d41f9.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "awsQueryCompatible", - "description": "set default list member value for awsQueryCompatible" -} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d4f50111ef..4a2f3bc960 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,16 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1511.0 +* bugfix: awsQueryCompatible: set default list member value for awsQueryCompatible +* feature: Billingconductor: This release adds the ability to specify a linked account of the billing group for the custom line item resource. +* feature: Braket: This release enhances service support to create quantum tasks and hybrid jobs associated with Braket Direct Reservations. +* feature: Cloud9: This release adds the requirement to include the imageId parameter in the CreateEnvironmentEC2 API call. +* feature: CloudFormation: Including UPDATE_* states as a success status for CreateStack waiter. +* feature: Finspace: Release General Purpose type clusters +* feature: MediaLive: Adds support for custom color correction on channels using 3D LUT files. + ## 2.1510.0 * feature: QConnect: This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target. * feature: Rbin: Added resource identifier in the output and updated error handling. diff --git a/README.md b/README.md index 9888dd0287..d2727c44a1 100644 --- a/README.md +++ b/README.md @@ -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: - + 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/billingconductor-2021-07-30.min.json b/apis/billingconductor-2021-07-30.min.json index 1ee2c07fd5..b983405da3 100644 --- a/apis/billingconductor-2021-07-30.min.json +++ b/apis/billingconductor-2021-07-30.min.json @@ -261,7 +261,8 @@ "shape": "S1e" } } - } + }, + "AccountId": {} } }, "output": { @@ -751,7 +752,8 @@ "Arn": {}, "StartTime": { "type": "long" - } + }, + "AccountId": {} } } }, @@ -787,6 +789,9 @@ "Arns": { "type": "list", "member": {} + }, + "AccountIds": { + "shape": "S3" } } } @@ -821,7 +826,8 @@ }, "AssociationSize": { "type": "long" - } + }, + "AccountId": {} } } }, diff --git a/apis/billingconductor-2021-07-30.normal.json b/apis/billingconductor-2021-07-30.normal.json index 6c2ffe55cc..0fe7151b31 100644 --- a/apis/billingconductor-2021-07-30.normal.json +++ b/apis/billingconductor-2021-07-30.normal.json @@ -1568,6 +1568,10 @@ "ChargeDetails": { "shape": "CustomLineItemChargeDetails", "documentation": "
A CustomLineItemChargeDetails
that describes the charge details for a custom line item.
The Amazon Web Services account in which this custom line item will be applied to.
" } } }, @@ -1881,6 +1885,10 @@ "AssociationSize": { "shape": "NumberOfAssociations", "documentation": "The number of resources that are associated to the custom line item.
" + }, + "AccountId": { + "shape": "AccountId", + "documentation": "The Amazon Web Services account in which this custom line item will be applied to.
" } }, "documentation": "A representation of a custom line item.
" @@ -2001,6 +2009,10 @@ "StartTime": { "shape": "Instant", "documentation": "The inclusive start time.
" + }, + "AccountId": { + "shape": "AccountId", + "documentation": "The Amazon Web Services account in which this custom line item will be applied to.
" } }, "documentation": "A representation of a custom line item version.
" @@ -2515,6 +2527,10 @@ "Arns": { "shape": "CustomLineItemArns", "documentation": "A list of custom line item ARNs to retrieve information.
" + }, + "AccountIds": { + "shape": "AccountIdList", + "documentation": "The Amazon Web Services accounts in which this custom line item will be applied to.
" } }, "documentation": "A filter that specifies the custom line items and billing groups to retrieve FFLI information.
" diff --git a/apis/braket-2019-09-01.min.json b/apis/braket-2019-09-01.min.json index 7f5fff60c8..93af823ae5 100644 --- a/apis/braket-2019-09-01.min.json +++ b/apis/braket-2019-09-01.min.json @@ -98,37 +98,43 @@ "algorithmSpecification": { "shape": "Sa" }, + "associations": { + "type": "list", + "member": { + "shape": "Si" + } + }, "checkpointConfig": { - "shape": "Sh" + "shape": "Sl" }, "clientToken": { "idempotencyToken": true }, "deviceConfig": { - "shape": "Sj" + "shape": "Sn" }, "hyperParameters": { - "shape": "Sl" + "shape": "Sp" }, "inputDataConfig": { "type": "list", "member": { - "shape": "So" + "shape": "Ss" } }, "instanceConfig": { - "shape": "Ss" + "shape": "Sw" }, "jobName": {}, "outputDataConfig": { - "shape": "Sx" + "shape": "S11" }, "roleArn": {}, "stoppingCondition": { - "shape": "S10" + "shape": "S14" }, "tags": { - "shape": "S12" + "shape": "S16" } } }, @@ -161,6 +167,12 @@ "action": { "jsonvalue": true }, + "associations": { + "type": "list", + "member": { + "shape": "Si" + } + }, "clientToken": { "idempotencyToken": true }, @@ -175,7 +187,7 @@ "type": "long" }, "tags": { - "shape": "S12" + "shape": "S16" } } }, @@ -284,20 +296,23 @@ "algorithmSpecification": { "shape": "Sa" }, + "associations": { + "shape": "S1u" + }, "billableDuration": { "type": "integer" }, "checkpointConfig": { - "shape": "Sh" + "shape": "Sl" }, "createdAt": { - "shape": "S1q" + "shape": "S1w" }, "deviceConfig": { - "shape": "Sj" + "shape": "Sn" }, "endedAt": { - "shape": "S1q" + "shape": "S1w" }, "events": { "type": "list", @@ -307,28 +322,28 @@ "eventType": {}, "message": {}, "timeOfEvent": { - "shape": "S1q" + "shape": "S1w" } } } }, "failureReason": {}, "hyperParameters": { - "shape": "Sl" + "shape": "Sp" }, "inputDataConfig": { "type": "list", "member": { - "shape": "So" + "shape": "Ss" } }, "instanceConfig": { - "shape": "Ss" + "shape": "Sw" }, "jobArn": {}, "jobName": {}, "outputDataConfig": { - "shape": "Sx" + "shape": "S11" }, "queueInfo": { "type": "structure", @@ -344,14 +359,14 @@ }, "roleArn": {}, "startedAt": { - "shape": "S1q" + "shape": "S1w" }, "status": {}, "stoppingCondition": { - "shape": "S10" + "shape": "S14" }, "tags": { - "shape": "S12" + "shape": "S16" } } } @@ -393,15 +408,18 @@ "status" ], "members": { + "associations": { + "shape": "S1u" + }, "createdAt": { - "shape": "S1q" + "shape": "S1w" }, "deviceArn": {}, "deviceParameters": { "jsonvalue": true }, "endedAt": { - "shape": "S1q" + "shape": "S1w" }, "failureReason": {}, "jobArn": {}, @@ -426,7 +444,7 @@ }, "status": {}, "tags": { - "shape": "S12" + "shape": "S16" } } } @@ -453,7 +471,7 @@ "type": "structure", "members": { "tags": { - "shape": "S12" + "shape": "S16" } } } @@ -577,20 +595,20 @@ ], "members": { "createdAt": { - "shape": "S1q" + "shape": "S1w" }, "device": {}, "endedAt": { - "shape": "S1q" + "shape": "S1w" }, "jobArn": {}, "jobName": {}, "startedAt": { - "shape": "S1q" + "shape": "S1w" }, "status": {}, "tags": { - "shape": "S12" + "shape": "S16" } } } @@ -657,11 +675,11 @@ ], "members": { "createdAt": { - "shape": "S1q" + "shape": "S1w" }, "deviceArn": {}, "endedAt": { - "shape": "S1q" + "shape": "S1w" }, "outputS3Bucket": {}, "outputS3Directory": {}, @@ -671,7 +689,7 @@ }, "status": {}, "tags": { - "shape": "S12" + "shape": "S16" } } } @@ -696,7 +714,7 @@ "locationName": "resourceArn" }, "tags": { - "shape": "S12" + "shape": "S16" } } }, @@ -764,7 +782,18 @@ } } }, - "Sh": { + "Si": { + "type": "structure", + "required": [ + "arn", + "type" + ], + "members": { + "arn": {}, + "type": {} + } + }, + "Sl": { "type": "structure", "required": [ "s3Uri" @@ -774,7 +803,7 @@ "s3Uri": {} } }, - "Sj": { + "Sn": { "type": "structure", "required": [ "device" @@ -783,12 +812,12 @@ "device": {} } }, - "Sl": { + "Sp": { "type": "map", "key": {}, "value": {} }, - "So": { + "Ss": { "type": "structure", "required": [ "channelName", @@ -816,7 +845,7 @@ } } }, - "Ss": { + "Sw": { "type": "structure", "required": [ "instanceType", @@ -832,7 +861,7 @@ } } }, - "Sx": { + "S11": { "type": "structure", "required": [ "s3Path" @@ -842,7 +871,7 @@ "s3Path": {} } }, - "S10": { + "S14": { "type": "structure", "members": { "maxRuntimeInSeconds": { @@ -850,12 +879,18 @@ } } }, - "S12": { + "S16": { "type": "map", "key": {}, "value": {} }, - "S1q": { + "S1u": { + "type": "list", + "member": { + "shape": "Si" + } + }, + "S1w": { "type": "timestamp", "timestampFormat": "iso8601" } diff --git a/apis/braket-2019-09-01.normal.json b/apis/braket-2019-09-01.normal.json index 04ae220aa2..8a22417b9a 100644 --- a/apis/braket-2019-09-01.normal.json +++ b/apis/braket-2019-09-01.normal.json @@ -438,6 +438,40 @@ }, "documentation": "Defines the Amazon Braket job to be created. Specifies the container image the job uses and the paths to the Python scripts used for entry and training.
" }, + "Association": { + "type": "structure", + "required": [ + "arn", + "type" + ], + "members": { + "arn": { + "shape": "BraketResourceArn", + "documentation": "The Amazon Braket resource arn.
" + }, + "type": { + "shape": "AssociationType", + "documentation": "The association type for the specified Amazon Braket resource arn.
" + } + }, + "documentation": "The Amazon Braket resource and the association type.
" + }, + "AssociationType": { + "type": "string", + "enum": [ + "RESERVATION_TIME_WINDOW_ARN" + ] + }, + "Associations": { + "type": "list", + "member": { + "shape": "Association" + } + }, + "BraketResourceArn": { + "type": "string", + "pattern": "^arn:aws[a-z\\-]*:braket:[a-z0-9\\-]*:[0-9]{12}:.*$" + }, "CancelJobRequest": { "type": "structure", "required": [ @@ -549,6 +583,10 @@ "shape": "AlgorithmSpecification", "documentation": "Definition of the Amazon Braket job to be created. Specifies the container image the job uses and information about the Python scripts used for entry and training.
" }, + "associations": { + "shape": "CreateJobRequestAssociationsList", + "documentation": "The list of Amazon Braket resources associated with the hybrid job.
" + }, "checkpointConfig": { "shape": "JobCheckpointConfig", "documentation": "Information about the output locations for job checkpoint data.
" @@ -596,6 +634,14 @@ } } }, + "CreateJobRequestAssociationsList": { + "type": "list", + "member": { + "shape": "Association" + }, + "max": 1, + "min": 0 + }, "CreateJobRequestInputDataConfigList": { "type": "list", "member": { @@ -638,6 +684,10 @@ "documentation": "The action associated with the task.
", "jsonvalue": true }, + "associations": { + "shape": "CreateQuantumTaskRequestAssociationsList", + "documentation": "The list of Amazon Braket resources associated with the quantum task.
" + }, "clientToken": { "shape": "String64", "documentation": "The client token associated with the request.
", @@ -674,6 +724,14 @@ } } }, + "CreateQuantumTaskRequestAssociationsList": { + "type": "list", + "member": { + "shape": "Association" + }, + "max": 1, + "min": 0 + }, "CreateQuantumTaskRequestDeviceParametersString": { "type": "string", "max": 48000, @@ -912,6 +970,10 @@ "shape": "AlgorithmSpecification", "documentation": "Definition of the Amazon Braket job created. Specifies the container image the job uses, information about the Python scripts used for entry and training, and the user-defined metrics used to evaluation the job.
" }, + "associations": { + "shape": "Associations", + "documentation": "The list of Amazon Braket resources associated with the hybrid job.
" + }, "billableDuration": { "shape": "Integer", "documentation": "The billable time the Amazon Braket job used to complete.
" @@ -1010,7 +1072,7 @@ }, "quantumTaskArn": { "shape": "QuantumTaskArn", - "documentation": "the ARN of the task to retrieve.
", + "documentation": "The ARN of the task to retrieve.
", "location": "uri", "locationName": "quantumTaskArn" } @@ -1029,6 +1091,10 @@ "status" ], "members": { + "associations": { + "shape": "Associations", + "documentation": "The list of Amazon Braket resources associated with the quantum task.
" + }, "createdAt": { "shape": "SyntheticTimestamp_date_time", "documentation": "The time at which the task was created.
" @@ -1132,7 +1198,8 @@ "HyperParametersValueString": { "type": "string", "max": 2500, - "min": 1 + "min": 1, + "pattern": "^.*$" }, "InputConfigList": { "type": "list", @@ -1282,7 +1349,7 @@ }, "timeOfEvent": { "shape": "SyntheticTimestamp_date_time", - "documentation": "TThe type of event that occurred related to the Amazon Braket job.
" + "documentation": "The type of event that occurred related to the Amazon Braket job.
" } }, "documentation": "Details about the type and time events occurred related to the Amazon Braket job.
" diff --git a/apis/cloud9-2017-09-23.min.json b/apis/cloud9-2017-09-23.min.json index d435973e1f..fd1bae766f 100644 --- a/apis/cloud9-2017-09-23.min.json +++ b/apis/cloud9-2017-09-23.min.json @@ -17,7 +17,8 @@ "type": "structure", "required": [ "name", - "instanceType" + "instanceType", + "imageId" ], "members": { "name": {}, diff --git a/apis/cloud9-2017-09-23.normal.json b/apis/cloud9-2017-09-23.normal.json index 71b2aa0f94..556d1e218e 100644 --- a/apis/cloud9-2017-09-23.normal.json +++ b/apis/cloud9-2017-09-23.normal.json @@ -500,7 +500,8 @@ "type": "structure", "required": [ "name", - "instanceType" + "instanceType", + "imageId" ], "members": { "name": { @@ -525,7 +526,7 @@ }, "imageId": { "shape": "ImageId", - "documentation": "The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path.
From December 04, 2023, you will be required to include the imageId
parameter for the CreateEnvironmentEC2
action. This change will be reflected across all direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services CloudFormation. This change will only affect direct API consumers, and not Cloud9 console users.
From January 22, 2024, Amazon Linux (AL1) will be removed from the list of available image IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance support in December 2023, and as a result will no longer receive security updates. We recommend using Amazon Linux 2 as the AMI to create your environment as it is fully supported. This change will only affect direct API consumers, and not Cloud9 console users.
Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.
AMI aliases
Amazon Linux (default): amazonlinux-1-x86_64
Amazon Linux 2: amazonlinux-2-x86_64
Ubuntu 18.04: ubuntu-18.04-x86_64
Ubuntu 22.04: ubuntu-22.04-x86_64
SSM paths
Amazon Linux (default): resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64
Amazon Linux 2: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
Ubuntu 18.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
Ubuntu 22.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64
The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path.
From December 04, 2023, you will be required to include the imageId
parameter for the CreateEnvironmentEC2
action. This change will be reflected across all direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services CloudFormation. This change will only affect direct API consumers, and not Cloud9 console users.
From January 22, 2024, Amazon Linux (AL1) will be removed from the list of available image IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance support in December 2023, and as a result will no longer receive security updates. We recommend using Amazon Linux 2 as the AMI to create your environment as it is fully supported. This change will only affect direct API consumers, and not Cloud9 console users.
Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.
AMI aliases
Amazon Linux: amazonlinux-1-x86_64
Amazon Linux 2: amazonlinux-2-x86_64
Ubuntu 18.04: ubuntu-18.04-x86_64
Ubuntu 22.04: ubuntu-22.04-x86_64
SSM paths
Amazon Linux: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64
Amazon Linux 2: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
Ubuntu 18.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
Ubuntu 22.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64
A list of change request objects that are run in order. A change request object consists of changeType , s3Path, and a dbPath. A changeType can has the following values:
PUT – Adds or updates files in a database.
DELETE – Deletes files in a database.
All the change requests require a mandatory dbPath attribute that defines the path within the database directory. The s3Path attribute defines the s3 source file path and is required for a PUT change type.
Here is an example of how you can use the change request object:
[ { \"changeType\": \"PUT\", \"s3Path\":\"s3://bucket/db/2020.01.02/\", \"dbPath\":\"/2020.01.02/\"}, { \"changeType\": \"PUT\", \"s3Path\":\"s3://bucket/db/sym\", \"dbPath\":\"/\"}, { \"changeType\": \"DELETE\", \"dbPath\": \"/2020.01.01/\"} ]
In this example, the first request with PUT change type allows you to add files in the given s3Path under the 2020.01.02 partition of the database. The second request with PUT change type allows you to add a single sym file at database root location. The last request with DELETE change type allows you to delete the files under the 2020.01.01 partition of the database.
" + "documentation": "A list of change request objects that are run in order. A change request object consists of changeType
, s3Path
, and dbPath
. A changeType can has the following values:
PUT – Adds or updates files in a database.
DELETE – Deletes files in a database.
All the change requests require a mandatory dbPath
attribute that defines the path within the database directory. All database paths must start with a leading / and end with a trailing /. The s3Path
attribute defines the s3 source file path and is required for a PUT change type. The s3path
must end with a trailing / if it is a directory and must end without a trailing / if it is a file.
Here are few examples of how you can use the change request object:
This request adds a single sym file at database root location.
{ \"changeType\": \"PUT\", \"s3Path\":\"s3://bucket/db/sym\", \"dbPath\":\"/\"}
This request adds files in the given s3Path
under the 2020.01.02 partition of the database.
{ \"changeType\": \"PUT\", \"s3Path\":\"s3://bucket/db/2020.01.02/\", \"dbPath\":\"/2020.01.02/\"}
This request adds files in the given s3Path
under the taq table partition of the database.
[ { \"changeType\": \"PUT\", \"s3Path\":\"s3://bucket/db/2020.01.02/taq/\", \"dbPath\":\"/2020.01.02/taq/\"}]
This request deletes the 2020.01.02 partition of the database.
[{ \"changeType\": \"DELETE\", \"dbPath\": \"/2020.01.02/\"} ]
The DELETE request allows you to delete the existing files under the 2020.01.02 partition of the database, and the PUT request adds a new taq table under it.
[ {\"changeType\": \"DELETE\", \"dbPath\":\"/2020.01.02/\"}, {\"changeType\": \"PUT\", \"s3Path\":\"s3://bucket/db/2020.01.02/taq/\", \"dbPath\":\"/2020.01.02/taq/\"}]
Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE
AZ mode.
Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE
AZ mode.
Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE
AZ mode.
Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE
AZ mode.
The type of deployment that you want on a cluster.
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
The type of deployment that you want on a cluster.
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for GP
type cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.
With this deployment mode, you cannot update the initializationScript
and commandLineArguments
parameters.
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
The configuration that allows you to choose how you want to update code on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster.
" @@ -2828,6 +2828,7 @@ "KxClusterCodeDeploymentStrategy": { "type": "string", "enum": [ + "NO_RESTART", "ROLLING", "FORCE" ] @@ -2873,7 +2874,8 @@ "enum": [ "HDB", "RDB", - "GATEWAY" + "GATEWAY", + "GP" ] }, "KxClusters": { @@ -3334,7 +3336,7 @@ }, "clusterType": { "shape": "KxClusterType", - "documentation": "Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
Specifies the type of KDB database that is being created. The following types are available:
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration
parameter.
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE
AZ mode.
Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q
.
Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q
.
You cannot update this parameter for a NO_RESTART
deployment.
Specifies the key-value pairs to make them available inside the cluster.
" + "documentation": "Specifies the key-value pairs to make them available inside the cluster.
You cannot update this parameter for a NO_RESTART
deployment.
Associates a resource with an application. The resource can be specified by its ARN or name. The application can be specified by ARN, ID, or name.
Minimum permissions
You must have the following permissions to associate a resource using the OPTIONS
parameter set to APPLY_APPLICATION_TAG
.
tag:GetResources
tag:TagResources
You must also have these additional permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess
policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide.
resource-groups:DisassociateResource
cloudformation:UpdateStack
cloudformation:DescribeStacks
In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see TagResources in the Resource Groups Tagging API Reference.
Associates a resource with an application. The resource can be specified by its ARN or name. The application can be specified by ARN, ID, or name.
Minimum permissions
You must have the following permissions to associate a resource using the OPTIONS
parameter set to APPLY_APPLICATION_TAG
.
tag:GetResources
tag:TagResources
You must also have these additional permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess
policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide.
resource-groups:AssociateResource
cloudformation:UpdateStack
cloudformation:DescribeStacks
In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see TagResources in the Resource Groups Tagging API Reference.
>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?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,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[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 a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,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),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],448:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a >1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?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,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[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 a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,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),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],448:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(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 a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new l,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){m.buildRequest(e),y.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e)}function u(e){m.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new d,e.data[payload]=p.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new d;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;c.extractData(e),e.data=p.merge(n,e.data)}}var p=e("../util"),m=e("./rest"),c=e("./json"),l=e("../json/builder"),d=e("../json/parser"),y=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../json/builder":374,"../json/parser":375,"../util":428,"./json":386,"./rest":388}],390:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":350,"../util":428,"./rest":388}],391:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void a.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(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":428}],392:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.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=a.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 a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.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||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":350}],393:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],394:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],395:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],[t,"internal-*"],["*","*"]].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=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function S(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(a)return K(e).length;t=(""+t).toLowerCase(),a=!0}}function g(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return q(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function h(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function I(e,t,r,a,i){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=s.from(t,a)),s.isBuffer(t))return 0===t.length?-1:N(e,t,r,a,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):N(e,[t],r,a,i);throw new TypeError("val must be string, number or Buffer")}function N(e,t,r,a,i){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,n=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}var p;if(i){var m=-1;for(p=r;p>>8*(a?i:1-i)}function B(e,t,r,a){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i>>8*(a?i:3-i)&255}function U(e,t,r,a,i,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,a,i){return i||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,a,23,4),r+4}function F(e,t,r,a,i){return i||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,a,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function V(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 K(e,t){t=t||1/0;for(var r,a=e.length,i=null,s=[],o=0;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=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 W(e){for(var t=[],r=0;r=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(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 a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l