diff --git a/.changes/2.1515.0.json b/.changes/2.1515.0.json new file mode 100644 index 0000000000..1073dfb1b4 --- /dev/null +++ b/.changes/2.1515.0.json @@ -0,0 +1,22 @@ +[ + { + "type": "bugfix", + "category": "Endpoints", + "description": "Add endpoint customizations for services which do not use FIPS suffix" + }, + { + "type": "feature", + "category": "CloudWatch", + "description": "Adds support for the OpenTelemetry 1.0 output format in CloudWatch Metric Streams." + }, + { + "type": "feature", + "category": "EC2", + "description": "M2 Mac instances are built on Apple M2 Mac mini computers. I4i instances are powered by 3rd generation Intel Xeon Scalable processors. C7i compute optimized, M7i general purpose and R7i memory optimized instances are powered by custom 4th Generation Intel Xeon Scalable processors." + }, + { + "type": "feature", + "category": "Finspace", + "description": "Releasing Scaling Group, Dataview, and Volume APIs" + } +] \ No newline at end of file diff --git a/.changes/next-release/bugfix-Endpoints-53e779cb.json b/.changes/next-release/bugfix-Endpoints-53e779cb.json deleted file mode 100644 index a15cfb1a90..0000000000 --- a/.changes/next-release/bugfix-Endpoints-53e779cb.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "Endpoints", - "description": "Add endpoint customizations for services which do not use FIPS suffix" -} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 362df467f4..32ca883334 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1515.0 +* bugfix: Endpoints: Add endpoint customizations for services which do not use FIPS suffix +* feature: CloudWatch: Adds support for the OpenTelemetry 1.0 output format in CloudWatch Metric Streams. +* feature: EC2: M2 Mac instances are built on Apple M2 Mac mini computers. I4i instances are powered by 3rd generation Intel Xeon Scalable processors. C7i compute optimized, M7i general purpose and R7i memory optimized instances are powered by custom 4th Generation Intel Xeon Scalable processors. +* feature: Finspace: Releasing Scaling Group, Dataview, and Volume APIs + ## 2.1514.0 * feature: CodeDeploy: This release adds support for two new CodeDeploy features: 1) zonal deployments for Amazon EC2 in-place deployments, 2) deployments triggered by Auto Scaling group termination lifecycle hook events. diff --git a/README.md b/README.md index bb4502e337..9b5a9df034 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/ec2-2016-11-15.normal.json b/apis/ec2-2016-11-15.normal.json index 36ec82dfbf..1f0c2ad169 100644 --- a/apis/ec2-2016-11-15.normal.json +++ b/apis/ec2-2016-11-15.normal.json @@ -39704,7 +39704,16 @@ "r7i.16xlarge", "r7i.24xlarge", "r7i.48xlarge", - "dl2q.24xlarge" + "dl2q.24xlarge", + "mac2-m2.metal", + "i4i.12xlarge", + "i4i.24xlarge", + "c7i.metal-24xl", + "c7i.metal-48xl", + "m7i.metal-24xl", + "m7i.metal-48xl", + "r7i.metal-24xl", + "r7i.metal-48xl" ] }, "InstanceTypeHypervisor": { diff --git a/apis/finspace-2021-03-12.min.json b/apis/finspace-2021-03-12.min.json index 8f032a62ec..b5feb30aa6 100644 --- a/apis/finspace-2021-03-12.min.json +++ b/apis/finspace-2021-03-12.min.json @@ -127,8 +127,8 @@ "environmentId", "clusterName", "clusterType", - "capacityConfiguration", "releaseLabel", + "vpcConfiguration", "azMode" ], "members": { @@ -141,38 +141,44 @@ }, "clusterName": {}, "clusterType": {}, - "databases": { + "tickerplantLogConfiguration": { "shape": "S1a" }, + "databases": { + "shape": "S1d" + }, "cacheStorageConfigurations": { - "shape": "S1g" + "shape": "S1q" }, "autoScalingConfiguration": { - "shape": "S1j" + "shape": "S1t" }, "clusterDescription": {}, "capacityConfiguration": { - "shape": "S1p" + "shape": "S1z" }, "releaseLabel": {}, "vpcConfiguration": { - "shape": "S1s" + "shape": "S22" }, "initializationScript": {}, "commandLineArguments": { - "shape": "S20" + "shape": "S2a" }, "code": { - "shape": "S24" + "shape": "S2e" }, "executionRole": {}, "savedownStorageConfiguration": { - "shape": "S29" + "shape": "S2j" }, "azMode": {}, "availabilityZoneId": {}, "tags": { "shape": "S5" + }, + "scalingGroupConfiguration": { + "shape": "S2o" } } }, @@ -184,41 +190,50 @@ "statusReason": {}, "clusterName": {}, "clusterType": {}, - "databases": { + "tickerplantLogConfiguration": { "shape": "S1a" }, + "volumes": { + "shape": "S2w" + }, + "databases": { + "shape": "S1d" + }, "cacheStorageConfigurations": { - "shape": "S1g" + "shape": "S1q" }, "autoScalingConfiguration": { - "shape": "S1j" + "shape": "S1t" }, "clusterDescription": {}, "capacityConfiguration": { - "shape": "S1p" + "shape": "S1z" }, "releaseLabel": {}, "vpcConfiguration": { - "shape": "S1s" + "shape": "S22" }, "initializationScript": {}, "commandLineArguments": { - "shape": "S20" + "shape": "S2a" }, "code": { - "shape": "S24" + "shape": "S2e" }, "executionRole": {}, "lastModifiedTimestamp": { "type": "timestamp" }, "savedownStorageConfiguration": { - "shape": "S29" + "shape": "S2j" }, "azMode": {}, "availabilityZoneId": {}, "createdTimestamp": { "type": "timestamp" + }, + "scalingGroupConfiguration": { + "shape": "S2o" } } } @@ -265,6 +280,73 @@ } } }, + "CreateKxDataview": { + "http": { + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "databaseName", + "dataviewName", + "azMode", + "clientToken" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "databaseName": { + "location": "uri", + "locationName": "databaseName" + }, + "dataviewName": {}, + "azMode": {}, + "availabilityZoneId": {}, + "changesetId": {}, + "segmentConfigurations": { + "shape": "S1m" + }, + "autoUpdate": { + "type": "boolean" + }, + "description": {}, + "tags": { + "shape": "S5" + }, + "clientToken": { + "idempotencyToken": true + } + } + }, + "output": { + "type": "structure", + "members": { + "dataviewName": {}, + "databaseName": {}, + "environmentId": {}, + "azMode": {}, + "availabilityZoneId": {}, + "changesetId": {}, + "segmentConfigurations": { + "shape": "S1m" + }, + "description": {}, + "autoUpdate": { + "type": "boolean" + }, + "createdTimestamp": { + "type": "timestamp" + }, + "lastModifiedTimestamp": { + "type": "timestamp" + }, + "status": {} + } + } + }, "CreateKxEnvironment": { "http": { "requestUri": "/kx/environments" @@ -282,7 +364,9 @@ "tags": { "shape": "S5" }, - "clientToken": {} + "clientToken": { + "idempotencyToken": true + } } }, "output": { @@ -300,6 +384,52 @@ } } }, + "CreateKxScalingGroup": { + "http": { + "requestUri": "/kx/environments/{environmentId}/scalingGroups" + }, + "input": { + "type": "structure", + "required": [ + "clientToken", + "environmentId", + "scalingGroupName", + "hostType", + "availabilityZoneId" + ], + "members": { + "clientToken": { + "idempotencyToken": true + }, + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "scalingGroupName": {}, + "hostType": {}, + "availabilityZoneId": {}, + "tags": { + "shape": "S5" + } + } + }, + "output": { + "type": "structure", + "members": { + "environmentId": {}, + "scalingGroupName": {}, + "hostType": {}, + "availabilityZoneId": {}, + "status": {}, + "lastModifiedTimestamp": { + "type": "timestamp" + }, + "createdTimestamp": { + "type": "timestamp" + } + } + } + }, "CreateKxUser": { "http": { "requestUri": "/kx/environments/{environmentId}/users" @@ -321,7 +451,9 @@ "tags": { "shape": "S5" }, - "clientToken": {} + "clientToken": { + "idempotencyToken": true + } } }, "output": { @@ -334,6 +466,65 @@ } } }, + "CreateKxVolume": { + "http": { + "requestUri": "/kx/environments/{environmentId}/kxvolumes" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "volumeType", + "volumeName", + "azMode", + "availabilityZoneIds" + ], + "members": { + "clientToken": { + "idempotencyToken": true + }, + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "volumeType": {}, + "volumeName": {}, + "description": {}, + "nas1Configuration": { + "shape": "S3m" + }, + "azMode": {}, + "availabilityZoneIds": { + "shape": "S3p" + }, + "tags": { + "shape": "S5" + } + } + }, + "output": { + "type": "structure", + "members": { + "environmentId": {}, + "volumeName": {}, + "volumeType": {}, + "volumeArn": {}, + "nas1Configuration": { + "shape": "S3m" + }, + "status": {}, + "statusReason": {}, + "azMode": {}, + "description": {}, + "availabilityZoneIds": { + "shape": "S3p" + }, + "createdTimestamp": { + "type": "timestamp" + } + } + } + }, "DeleteEnvironment": { "http": { "method": "DELETE", @@ -423,6 +614,44 @@ "members": {} } }, + "DeleteKxDataview": { + "http": { + "method": "DELETE", + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "databaseName", + "dataviewName", + "clientToken" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "databaseName": { + "location": "uri", + "locationName": "databaseName" + }, + "dataviewName": { + "location": "uri", + "locationName": "dataviewName" + }, + "clientToken": { + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" + } + } + }, + "output": { + "type": "structure", + "members": {} + } + }, "DeleteKxEnvironment": { "http": { "method": "DELETE", @@ -437,6 +666,43 @@ "environmentId": { "location": "uri", "locationName": "environmentId" + }, + "clientToken": { + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" + } + } + }, + "output": { + "type": "structure", + "members": {} + } + }, + "DeleteKxScalingGroup": { + "http": { + "method": "DELETE", + "requestUri": "/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "scalingGroupName" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "scalingGroupName": { + "location": "uri", + "locationName": "scalingGroupName" + }, + "clientToken": { + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" } } }, @@ -464,6 +730,43 @@ "environmentId": { "location": "uri", "locationName": "environmentId" + }, + "clientToken": { + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" + } + } + }, + "output": { + "type": "structure", + "members": {} + } + }, + "DeleteKxVolume": { + "http": { + "method": "DELETE", + "requestUri": "/kx/environments/{environmentId}/kxvolumes/{volumeName}" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "volumeName" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "volumeName": { + "location": "uri", + "locationName": "volumeName" + }, + "clientToken": { + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" } } }, @@ -493,7 +796,7 @@ "type": "structure", "members": { "environment": { - "shape": "S36" + "shape": "S4c" } } }, @@ -581,41 +884,50 @@ "statusReason": {}, "clusterName": {}, "clusterType": {}, - "databases": { + "tickerplantLogConfiguration": { "shape": "S1a" }, + "volumes": { + "shape": "S2w" + }, + "databases": { + "shape": "S1d" + }, "cacheStorageConfigurations": { - "shape": "S1g" + "shape": "S1q" }, "autoScalingConfiguration": { - "shape": "S1j" + "shape": "S1t" }, "clusterDescription": {}, "capacityConfiguration": { - "shape": "S1p" + "shape": "S1z" }, "releaseLabel": {}, "vpcConfiguration": { - "shape": "S1s" + "shape": "S22" }, "initializationScript": {}, "commandLineArguments": { - "shape": "S20" + "shape": "S2a" }, "code": { - "shape": "S24" + "shape": "S2e" }, "executionRole": {}, "lastModifiedTimestamp": { "type": "timestamp" }, "savedownStorageConfiguration": { - "shape": "S29" + "shape": "S2j" }, "azMode": {}, "availabilityZoneId": {}, "createdTimestamp": { "type": "timestamp" + }, + "scalingGroupConfiguration": { + "shape": "S2o" } } } @@ -705,22 +1017,79 @@ } } }, - "GetKxEnvironment": { + "GetKxDataview": { "http": { "method": "GET", - "requestUri": "/kx/environments/{environmentId}" + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}" }, "input": { "type": "structure", "required": [ - "environmentId" + "environmentId", + "databaseName", + "dataviewName" ], "members": { "environmentId": { "location": "uri", "locationName": "environmentId" - } - } + }, + "databaseName": { + "location": "uri", + "locationName": "databaseName" + }, + "dataviewName": { + "location": "uri", + "locationName": "dataviewName" + } + } + }, + "output": { + "type": "structure", + "members": { + "databaseName": {}, + "dataviewName": {}, + "azMode": {}, + "availabilityZoneId": {}, + "changesetId": {}, + "segmentConfigurations": { + "shape": "S1m" + }, + "activeVersions": { + "shape": "S4s" + }, + "description": {}, + "autoUpdate": { + "type": "boolean" + }, + "environmentId": {}, + "createdTimestamp": { + "type": "timestamp" + }, + "lastModifiedTimestamp": { + "type": "timestamp" + }, + "status": {}, + "statusReason": {} + } + } + }, + "GetKxEnvironment": { + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}" + }, + "input": { + "type": "structure", + "required": [ + "environmentId" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + } + } }, "output": { "type": "structure", @@ -737,10 +1106,10 @@ "kmsKeyId": {}, "dedicatedServiceAccountId": {}, "transitGatewayConfiguration": { - "shape": "S3p" + "shape": "S51" }, "customDNSConfiguration": { - "shape": "S42" + "shape": "S5e" }, "creationTimestamp": { "type": "timestamp" @@ -749,12 +1118,55 @@ "type": "timestamp" }, "availabilityZoneIds": { - "shape": "S46" + "shape": "S3p" }, "certificateAuthorityArn": {} } } }, + "GetKxScalingGroup": { + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "scalingGroupName" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "scalingGroupName": { + "location": "uri", + "locationName": "scalingGroupName" + } + } + }, + "output": { + "type": "structure", + "members": { + "scalingGroupName": {}, + "scalingGroupArn": {}, + "hostType": {}, + "clusters": { + "shape": "S5m" + }, + "availabilityZoneId": {}, + "status": {}, + "statusReason": {}, + "lastModifiedTimestamp": { + "type": "timestamp" + }, + "createdTimestamp": { + "type": "timestamp" + } + } + } + }, "GetKxUser": { "http": { "method": "GET", @@ -787,6 +1199,57 @@ } } }, + "GetKxVolume": { + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/kxvolumes/{volumeName}" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "volumeName" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "volumeName": { + "location": "uri", + "locationName": "volumeName" + } + } + }, + "output": { + "type": "structure", + "members": { + "environmentId": {}, + "volumeName": {}, + "volumeType": {}, + "volumeArn": {}, + "nas1Configuration": { + "shape": "S3m" + }, + "status": {}, + "statusReason": {}, + "createdTimestamp": { + "type": "timestamp" + }, + "description": {}, + "azMode": {}, + "availabilityZoneIds": { + "shape": "S3p" + }, + "lastModifiedTimestamp": { + "type": "timestamp" + }, + "attachedClusters": { + "shape": "S5r" + } + } + } + }, "ListEnvironments": { "http": { "method": "GET", @@ -812,7 +1275,7 @@ "environments": { "type": "list", "member": { - "shape": "S36" + "shape": "S4c" } }, "nextToken": {} @@ -973,6 +1436,9 @@ "clusterType": {}, "clusterDescription": {}, "releaseLabel": {}, + "volumes": { + "shape": "S2w" + }, "initializationScript": {}, "executionRole": {}, "azMode": {}, @@ -1038,14 +1504,207 @@ } } }, + "ListKxDataviews": { + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "databaseName" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "databaseName": { + "location": "uri", + "locationName": "databaseName" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + }, + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "kxDataviews": { + "type": "list", + "member": { + "type": "structure", + "members": { + "environmentId": {}, + "databaseName": {}, + "dataviewName": {}, + "azMode": {}, + "availabilityZoneId": {}, + "changesetId": {}, + "segmentConfigurations": { + "shape": "S1m" + }, + "activeVersions": { + "shape": "S4s" + }, + "status": {}, + "description": {}, + "autoUpdate": { + "type": "boolean" + }, + "createdTimestamp": { + "type": "timestamp" + }, + "lastModifiedTimestamp": { + "type": "timestamp" + }, + "statusReason": {} + } + } + }, + "nextToken": {} + } + } + }, "ListKxEnvironments": { "http": { "method": "GET", - "requestUri": "/kx/environments" + "requestUri": "/kx/environments" + }, + "input": { + "type": "structure", + "members": { + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + }, + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "environments": { + "type": "list", + "member": { + "type": "structure", + "members": { + "name": {}, + "environmentId": {}, + "awsAccountId": {}, + "status": {}, + "tgwStatus": {}, + "dnsStatus": {}, + "errorMessage": {}, + "description": {}, + "environmentArn": {}, + "kmsKeyId": {}, + "dedicatedServiceAccountId": {}, + "transitGatewayConfiguration": { + "shape": "S51" + }, + "customDNSConfiguration": { + "shape": "S5e" + }, + "creationTimestamp": { + "type": "timestamp" + }, + "updateTimestamp": { + "type": "timestamp" + }, + "availabilityZoneIds": { + "shape": "S3p" + }, + "certificateAuthorityArn": {} + } + } + }, + "nextToken": {} + } + } + }, + "ListKxScalingGroups": { + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/scalingGroups" + }, + "input": { + "type": "structure", + "required": [ + "environmentId" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "output": { + "type": "structure", + "members": { + "scalingGroups": { + "type": "list", + "member": { + "type": "structure", + "members": { + "scalingGroupName": {}, + "hostType": {}, + "clusters": { + "shape": "S5m" + }, + "availabilityZoneId": {}, + "status": {}, + "statusReason": {}, + "lastModifiedTimestamp": { + "type": "timestamp" + }, + "createdTimestamp": { + "type": "timestamp" + } + } + } + }, + "nextToken": {} + } + } + }, + "ListKxUsers": { + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/users" }, "input": { "type": "structure", + "required": [ + "environmentId" + ], "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, "nextToken": { "location": "querystring", "locationName": "nextToken" @@ -1060,38 +1719,20 @@ "output": { "type": "structure", "members": { - "environments": { + "users": { "type": "list", "member": { "type": "structure", "members": { - "name": {}, - "environmentId": {}, - "awsAccountId": {}, - "status": {}, - "tgwStatus": {}, - "dnsStatus": {}, - "errorMessage": {}, - "description": {}, - "environmentArn": {}, - "kmsKeyId": {}, - "dedicatedServiceAccountId": {}, - "transitGatewayConfiguration": { - "shape": "S3p" - }, - "customDNSConfiguration": { - "shape": "S42" - }, - "creationTimestamp": { + "userArn": {}, + "userName": {}, + "iamRole": {}, + "createTimestamp": { "type": "timestamp" }, "updateTimestamp": { "type": "timestamp" - }, - "availabilityZoneIds": { - "shape": "S46" - }, - "certificateAuthorityArn": {} + } } } }, @@ -1099,10 +1740,10 @@ } } }, - "ListKxUsers": { + "ListKxVolumes": { "http": { "method": "GET", - "requestUri": "/kx/environments/{environmentId}/users" + "requestUri": "/kx/environments/{environmentId}/kxvolumes" }, "input": { "type": "structure", @@ -1114,32 +1755,42 @@ "location": "uri", "locationName": "environmentId" }, + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, "nextToken": { "location": "querystring", "locationName": "nextToken" }, - "maxResults": { + "volumeType": { "location": "querystring", - "locationName": "maxResults", - "type": "integer" + "locationName": "volumeType" } } }, "output": { "type": "structure", "members": { - "users": { + "kxVolumeSummaries": { "type": "list", "member": { "type": "structure", "members": { - "userArn": {}, - "userName": {}, - "iamRole": {}, - "createTimestamp": { + "volumeName": {}, + "volumeType": {}, + "status": {}, + "description": {}, + "statusReason": {}, + "azMode": {}, + "availabilityZoneIds": { + "shape": "S3p" + }, + "createdTimestamp": { "type": "timestamp" }, - "updateTimestamp": { + "lastModifiedTimestamp": { "type": "timestamp" } } @@ -1256,7 +1907,7 @@ "type": "structure", "members": { "environment": { - "shape": "S36" + "shape": "S4c" } } }, @@ -1288,11 +1939,11 @@ "idempotencyToken": true }, "code": { - "shape": "S24" + "shape": "S2e" }, "initializationScript": {}, "commandLineArguments": { - "shape": "S20" + "shape": "S2a" }, "deploymentConfiguration": { "type": "structure", @@ -1335,7 +1986,7 @@ "idempotencyToken": true }, "databases": { - "shape": "S1a" + "shape": "S1d" }, "deploymentConfiguration": { "type": "structure", @@ -1392,6 +2043,71 @@ } } }, + "UpdateKxDataview": { + "http": { + "method": "PUT", + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "databaseName", + "dataviewName", + "clientToken" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "databaseName": { + "location": "uri", + "locationName": "databaseName" + }, + "dataviewName": { + "location": "uri", + "locationName": "dataviewName" + }, + "description": {}, + "changesetId": {}, + "segmentConfigurations": { + "shape": "S1m" + }, + "clientToken": { + "idempotencyToken": true + } + } + }, + "output": { + "type": "structure", + "members": { + "environmentId": {}, + "databaseName": {}, + "dataviewName": {}, + "azMode": {}, + "availabilityZoneId": {}, + "changesetId": {}, + "segmentConfigurations": { + "shape": "S1m" + }, + "activeVersions": { + "shape": "S4s" + }, + "status": {}, + "autoUpdate": { + "type": "boolean" + }, + "description": {}, + "createdTimestamp": { + "type": "timestamp" + }, + "lastModifiedTimestamp": { + "type": "timestamp" + } + } + } + }, "UpdateKxEnvironment": { "http": { "method": "PUT", @@ -1409,7 +2125,9 @@ }, "name": {}, "description": {}, - "clientToken": {} + "clientToken": { + "idempotencyToken": true + } } }, "output": { @@ -1427,10 +2145,10 @@ "kmsKeyId": {}, "dedicatedServiceAccountId": {}, "transitGatewayConfiguration": { - "shape": "S3p" + "shape": "S51" }, "customDNSConfiguration": { - "shape": "S42" + "shape": "S5e" }, "creationTimestamp": { "type": "timestamp" @@ -1439,7 +2157,7 @@ "type": "timestamp" }, "availabilityZoneIds": { - "shape": "S46" + "shape": "S3p" } } } @@ -1460,12 +2178,14 @@ "locationName": "environmentId" }, "transitGatewayConfiguration": { - "shape": "S3p" + "shape": "S51" }, "customDNSConfiguration": { - "shape": "S42" + "shape": "S5e" }, - "clientToken": {} + "clientToken": { + "idempotencyToken": true + } } }, "output": { @@ -1483,10 +2203,10 @@ "kmsKeyId": {}, "dedicatedServiceAccountId": {}, "transitGatewayConfiguration": { - "shape": "S3p" + "shape": "S51" }, "customDNSConfiguration": { - "shape": "S42" + "shape": "S5e" }, "creationTimestamp": { "type": "timestamp" @@ -1495,7 +2215,7 @@ "type": "timestamp" }, "availabilityZoneIds": { - "shape": "S46" + "shape": "S3p" } } } @@ -1522,7 +2242,9 @@ "locationName": "userName" }, "iamRole": {}, - "clientToken": {} + "clientToken": { + "idempotencyToken": true + } } }, "output": { @@ -1534,6 +2256,64 @@ "iamRole": {} } } + }, + "UpdateKxVolume": { + "http": { + "method": "PATCH", + "requestUri": "/kx/environments/{environmentId}/kxvolumes/{volumeName}" + }, + "input": { + "type": "structure", + "required": [ + "environmentId", + "volumeName" + ], + "members": { + "environmentId": { + "location": "uri", + "locationName": "environmentId" + }, + "volumeName": { + "location": "uri", + "locationName": "volumeName" + }, + "description": {}, + "clientToken": { + "idempotencyToken": true + }, + "nas1Configuration": { + "shape": "S3m" + } + } + }, + "output": { + "type": "structure", + "members": { + "environmentId": {}, + "volumeName": {}, + "volumeType": {}, + "volumeArn": {}, + "nas1Configuration": { + "shape": "S3m" + }, + "status": {}, + "description": {}, + "statusReason": {}, + "createdTimestamp": { + "type": "timestamp" + }, + "azMode": {}, + "availabilityZoneIds": { + "shape": "S3p" + }, + "lastModifiedTimestamp": { + "type": "timestamp" + }, + "attachedClusters": { + "shape": "S5r" + } + } + } } }, "shapes": { @@ -1580,6 +2360,15 @@ } }, "S1a": { + "type": "structure", + "members": { + "tickerplantLogVolumes": { + "type": "list", + "member": {} + } + } + }, + "S1d": { "type": "list", "member": { "type": "structure", @@ -1601,15 +2390,45 @@ "dbPaths": { "type": "list", "member": {} - } + }, + "dataviewName": {} + } + } + }, + "changesetId": {}, + "dataviewName": {}, + "dataviewConfiguration": { + "type": "structure", + "members": { + "dataviewName": {}, + "dataviewVersionId": {}, + "changesetId": {}, + "segmentConfigurations": { + "shape": "S1m" } } + } + } + } + }, + "S1m": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "dbPaths", + "volumeName" + ], + "members": { + "dbPaths": { + "type": "list", + "member": {} }, - "changesetId": {} + "volumeName": {} } } }, - "S1g": { + "S1q": { "type": "list", "member": { "type": "structure", @@ -1625,7 +2444,7 @@ } } }, - "S1j": { + "S1t": { "type": "structure", "members": { "minNodeCount": { @@ -1646,7 +2465,7 @@ } } }, - "S1p": { + "S1z": { "type": "structure", "members": { "nodeType": {}, @@ -1655,7 +2474,7 @@ } } }, - "S1s": { + "S22": { "type": "structure", "members": { "vpcId": {}, @@ -1670,7 +2489,7 @@ "ipAddressType": {} } }, - "S20": { + "S2a": { "type": "list", "member": { "type": "structure", @@ -1680,7 +2499,7 @@ } } }, - "S24": { + "S2e": { "type": "structure", "members": { "s3Bucket": {}, @@ -1688,12 +2507,51 @@ "s3ObjectVersion": {} } }, - "S29": { + "S2j": { + "type": "structure", + "members": { + "type": {}, + "size": { + "type": "integer" + }, + "volumeName": {} + } + }, + "S2o": { "type": "structure", "required": [ - "type", - "size" + "scalingGroupName", + "memoryReservation", + "nodeCount" ], + "members": { + "scalingGroupName": {}, + "memoryLimit": { + "type": "integer" + }, + "memoryReservation": { + "type": "integer" + }, + "nodeCount": { + "type": "integer" + }, + "cpu": { + "type": "double" + } + } + }, + "S2w": { + "type": "list", + "member": { + "type": "structure", + "members": { + "volumeName": {}, + "volumeType": {} + } + } + }, + "S3m": { + "type": "structure", "members": { "type": {}, "size": { @@ -1701,7 +2559,11 @@ } } }, - "S36": { + "S3p": { + "type": "list", + "member": {} + }, + "S4c": { "type": "structure", "members": { "name": {}, @@ -1720,7 +2582,27 @@ } } }, - "S3p": { + "S4s": { + "type": "list", + "member": { + "type": "structure", + "members": { + "changesetId": {}, + "segmentConfigurations": { + "shape": "S1m" + }, + "attachedClusters": { + "type": "list", + "member": {} + }, + "createdTimestamp": { + "type": "timestamp" + }, + "versionId": {} + } + } + }, + "S51": { "type": "structure", "required": [ "transitGatewayID", @@ -1781,7 +2663,7 @@ } } }, - "S42": { + "S5e": { "type": "list", "member": { "type": "structure", @@ -1795,9 +2677,20 @@ } } }, - "S46": { + "S5m": { "type": "list", "member": {} + }, + "S5r": { + "type": "list", + "member": { + "type": "structure", + "members": { + "clusterName": {}, + "clusterType": {}, + "clusterStatus": {} + } + } } } } \ No newline at end of file diff --git a/apis/finspace-2021-03-12.normal.json b/apis/finspace-2021-03-12.normal.json index 1c901fb5c3..136d70ca72 100644 --- a/apis/finspace-2021-03-12.normal.json +++ b/apis/finspace-2021-03-12.normal.json @@ -166,6 +166,46 @@ ], "documentation": "

Creates a new kdb database in the environment.

" }, + "CreateKxDataview": { + "name": "CreateKxDataview", + "http": { + "method": "POST", + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews" + }, + "input": { + "shape": "CreateKxDataviewRequest" + }, + "output": { + "shape": "CreateKxDataviewResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ResourceAlreadyExistsException" + } + ], + "documentation": "

Creates a snapshot of kdb database with tiered storage capabilities and a pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only available for clusters running on a scaling group. They are not supported on dedicated clusters.

" + }, "CreateKxEnvironment": { "name": "CreateKxEnvironment", "http": { @@ -203,6 +243,46 @@ ], "documentation": "

Creates a managed kdb environment for the account.

" }, + "CreateKxScalingGroup": { + "name": "CreateKxScalingGroup", + "http": { + "method": "POST", + "requestUri": "/kx/environments/{environmentId}/scalingGroups" + }, + "input": { + "shape": "CreateKxScalingGroupRequest" + }, + "output": { + "shape": "CreateKxScalingGroupResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + } + ], + "documentation": "

Creates a new scaling group.

" + }, "CreateKxUser": { "name": "CreateKxUser", "http": { @@ -243,6 +323,49 @@ ], "documentation": "

Creates a user in FinSpace kdb environment with an associated IAM role.

" }, + "CreateKxVolume": { + "name": "CreateKxVolume", + "http": { + "method": "POST", + "requestUri": "/kx/environments/{environmentId}/kxvolumes" + }, + "input": { + "shape": "CreateKxVolumeRequest" + }, + "output": { + "shape": "CreateKxVolumeResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ResourceAlreadyExistsException" + }, + { + "shape": "AccessDeniedException" + } + ], + "documentation": "

Creates a new volume with a specific amount of throughput and storage capacity.

" + }, "DeleteEnvironment": { "name": "DeleteEnvironment", "http": { @@ -347,6 +470,40 @@ ], "documentation": "

Deletes the specified database and all of its associated data. This action is irreversible. You must copy any data out of the database before deleting it if the data is to be retained.

" }, + "DeleteKxDataview": { + "name": "DeleteKxDataview", + "http": { + "method": "DELETE", + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}" + }, + "input": { + "shape": "DeleteKxDataviewRequest" + }, + "output": { + "shape": "DeleteKxDataviewResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + } + ], + "documentation": "

Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster.

" + }, "DeleteKxEnvironment": { "name": "DeleteKxEnvironment", "http": { @@ -374,10 +531,50 @@ }, { "shape": "ValidationException" + }, + { + "shape": "ConflictException" } ], "documentation": "

Deletes the kdb environment. This action is irreversible. Deleting a kdb environment will remove all the associated data and any services running in it.

" }, + "DeleteKxScalingGroup": { + "name": "DeleteKxScalingGroup", + "http": { + "method": "DELETE", + "requestUri": "/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}" + }, + "input": { + "shape": "DeleteKxScalingGroupRequest" + }, + "output": { + "shape": "DeleteKxScalingGroupResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "

Deletes the specified scaling group. This action is irreversible. You cannot delete a scaling group until all the clusters running on it have been deleted.

" + }, "DeleteKxUser": { "name": "DeleteKxUser", "http": { @@ -405,10 +602,50 @@ }, { "shape": "ValidationException" + }, + { + "shape": "ConflictException" } ], "documentation": "

Deletes a user in the specified kdb environment.

" }, + "DeleteKxVolume": { + "name": "DeleteKxVolume", + "http": { + "method": "DELETE", + "requestUri": "/kx/environments/{environmentId}/kxvolumes/{volumeName}" + }, + "input": { + "shape": "DeleteKxVolumeRequest" + }, + "output": { + "shape": "DeleteKxVolumeResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "

Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible.

" + }, "GetEnvironment": { "name": "GetEnvironment", "http": { @@ -569,6 +806,37 @@ ], "documentation": "

Returns database information for the specified environment ID.

" }, + "GetKxDataview": { + "name": "GetKxDataview", + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}" + }, + "input": { + "shape": "GetKxDataviewRequest" + }, + "output": { + "shape": "GetKxDataviewResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "

Retrieves details of the dataview.

" + }, "GetKxEnvironment": { "name": "GetKxEnvironment", "http": { @@ -593,26 +861,32 @@ }, { "shape": "AccessDeniedException" + }, + { + "shape": "ConflictException" } ], "documentation": "

Retrieves all the information for the specified kdb environment.

" }, - "GetKxUser": { - "name": "GetKxUser", + "GetKxScalingGroup": { + "name": "GetKxScalingGroup", "http": { "method": "GET", - "requestUri": "/kx/environments/{environmentId}/users/{userName}" + "requestUri": "/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}" }, "input": { - "shape": "GetKxUserRequest" + "shape": "GetKxScalingGroupRequest" }, "output": { - "shape": "GetKxUserResponse" + "shape": "GetKxScalingGroupResponse" }, "errors": [ { "shape": "InternalServerException" }, + { + "shape": "ValidationException" + }, { "shape": "ThrottlingException" }, @@ -620,32 +894,106 @@ "shape": "AccessDeniedException" }, { - "shape": "ResourceNotFoundException" + "shape": "LimitExceededException" }, { - "shape": "ValidationException" + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" } ], - "documentation": "

Retrieves information about the specified kdb user.

" + "documentation": "

Retrieves details of a scaling group.

" }, - "ListEnvironments": { - "name": "ListEnvironments", + "GetKxUser": { + "name": "GetKxUser", "http": { "method": "GET", - "requestUri": "/environment" + "requestUri": "/kx/environments/{environmentId}/users/{userName}" }, "input": { - "shape": "ListEnvironmentsRequest" + "shape": "GetKxUserRequest" }, "output": { - "shape": "ListEnvironmentsResponse" + "shape": "GetKxUserResponse" }, "errors": [ { "shape": "InternalServerException" }, { - "shape": "ValidationException" + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "

Retrieves information about the specified kdb user.

" + }, + "GetKxVolume": { + "name": "GetKxVolume", + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/kxvolumes/{volumeName}" + }, + "input": { + "shape": "GetKxVolumeRequest" + }, + "output": { + "shape": "GetKxVolumeResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "

Retrieves the information about the volume.

" + }, + "ListEnvironments": { + "name": "ListEnvironments", + "http": { + "method": "GET", + "requestUri": "/environment" + }, + "input": { + "shape": "ListEnvironmentsRequest" + }, + "output": { + "shape": "ListEnvironmentsResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "AccessDeniedException" } ], "documentation": "

A list of all of your FinSpace environments.

", @@ -785,6 +1133,37 @@ ], "documentation": "

Returns a list of all the databases in the kdb environment.

" }, + "ListKxDataviews": { + "name": "ListKxDataviews", + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews" + }, + "input": { + "shape": "ListKxDataviewsRequest" + }, + "output": { + "shape": "ListKxDataviewsResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "

Returns a list of all the dataviews in the database.

" + }, "ListKxEnvironments": { "name": "ListKxEnvironments", "http": { @@ -801,12 +1180,52 @@ { "shape": "InternalServerException" }, + { + "shape": "AccessDeniedException" + }, { "shape": "ValidationException" } ], "documentation": "

Returns a list of kdb environments created in an account.

" }, + "ListKxScalingGroups": { + "name": "ListKxScalingGroups", + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/scalingGroups" + }, + "input": { + "shape": "ListKxScalingGroupsRequest" + }, + "output": { + "shape": "ListKxScalingGroupsResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "

Returns a list of scaling groups in a kdb environment.

" + }, "ListKxUsers": { "name": "ListKxUsers", "http": { @@ -838,6 +1257,43 @@ ], "documentation": "

Lists all the users in a kdb environment.

" }, + "ListKxVolumes": { + "name": "ListKxVolumes", + "http": { + "method": "GET", + "requestUri": "/kx/environments/{environmentId}/kxvolumes" + }, + "input": { + "shape": "ListKxVolumesRequest" + }, + "output": { + "shape": "ListKxVolumesResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "

Lists all the volumes in a kdb environment.

" + }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { @@ -1054,6 +1510,43 @@ ], "documentation": "

Updates information for the given kdb database.

" }, + "UpdateKxDataview": { + "name": "UpdateKxDataview", + "http": { + "method": "PUT", + "requestUri": "/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}" + }, + "input": { + "shape": "UpdateKxDataviewRequest" + }, + "output": { + "shape": "UpdateKxDataviewResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceAlreadyExistsException" + } + ], + "documentation": "

Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations

" + }, "UpdateKxEnvironment": { "name": "UpdateKxEnvironment", "http": { @@ -1158,9 +1651,52 @@ } ], "documentation": "

Updates the user details. You can only update the IAM role associated with a user.

" + }, + "UpdateKxVolume": { + "name": "UpdateKxVolume", + "http": { + "method": "PATCH", + "requestUri": "/kx/environments/{environmentId}/kxvolumes/{volumeName}" + }, + "input": { + "shape": "UpdateKxVolumeRequest" + }, + "output": { + "shape": "UpdateKxVolumeResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "

Updates the throughput or capacity of a volume. During the update process, the filesystem might be unavailable for a few minutes. You can retry any operations after the update is complete.

" } }, "shapes": { + "AttachedClusterList": { + "type": "list", + "member": { + "shape": "KxClusterName" + } + }, "AttributeMap": { "type": "map", "key": { @@ -1301,6 +1837,10 @@ "min": 1, "pattern": "^[a-zA-Z0-9-]+$" }, + "ClusterNodeCount": { + "type": "integer", + "min": 1 + }, "CodeConfiguration": { "type": "structure", "members": { @@ -1324,6 +1864,10 @@ "max": 100000, "min": 0 }, + "CpuCount": { + "type": "double", + "min": 0.1 + }, "CreateEnvironmentRequest": { "type": "structure", "required": [ @@ -1456,8 +2000,8 @@ "environmentId", "clusterName", "clusterType", - "capacityConfiguration", "releaseLabel", + "vpcConfiguration", "azMode" ], "members": { @@ -1478,7 +2022,11 @@ }, "clusterType": { "shape": "KxClusterType", - "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

" + "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

" + }, + "tickerplantLogConfiguration": { + "shape": "TickerplantLogConfiguration", + "documentation": "

A configuration to store Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path.

" }, "databases": { "shape": "KxDatabaseConfigurations", @@ -1539,6 +2087,10 @@ "tags": { "shape": "TagMap", "documentation": "

A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster.

" + }, + "scalingGroupConfiguration": { + "shape": "KxScalingGroupConfiguration", + "documentation": "

The structure that stores the configuration details of a scaling group.

" } } }, @@ -1563,7 +2115,14 @@ }, "clusterType": { "shape": "KxClusterType", - "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

" + "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

" + }, + "tickerplantLogConfiguration": { + "shape": "TickerplantLogConfiguration" + }, + "volumes": { + "shape": "Volumes", + "documentation": "

A list of volumes mounted on the cluster.

" }, "databases": { "shape": "KxDatabaseConfigurations", @@ -1628,6 +2187,10 @@ "createdTimestamp": { "shape": "Timestamp", "documentation": "

The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "scalingGroupConfiguration": { + "shape": "KxScalingGroupConfiguration", + "documentation": "

The structure that stores the configuration details of a scaling group.

" } } }, @@ -1693,32 +2256,147 @@ } } }, - "CreateKxEnvironmentRequest": { + "CreateKxDataviewRequest": { "type": "structure", "required": [ - "name", - "kmsKeyId" + "environmentId", + "databaseName", + "dataviewName", + "azMode", + "clientToken" ], "members": { - "name": { - "shape": "KxEnvironmentName", - "documentation": "

The name of the kdb environment that you want to create.

" + "environmentId": { + "shape": "EnvironmentId", + "documentation": "

A unique identifier for the kdb environment, where you want to create the dataview.

", + "location": "uri", + "locationName": "environmentId" }, - "description": { - "shape": "Description", - "documentation": "

A description for the kdb environment.

" + "databaseName": { + "shape": "DatabaseName", + "documentation": "

The name of the database where you want to create a dataview.

", + "location": "uri", + "locationName": "databaseName" }, - "kmsKeyId": { - "shape": "KmsKeyARN", - "documentation": "

The KMS key ID to encrypt your data in the FinSpace environment.

" + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

A unique identifier for the dataview.

" }, - "tags": { - "shape": "TagMap", + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones you want to assign per cluster. This can be one of the following

" + }, + "availabilityZoneId": { + "shape": "AvailabilityZoneId", + "documentation": "

The identifier of the availability zones.

" + }, + "changesetId": { + "shape": "ChangesetId", + "documentation": "

A unique identifier of the changeset that you want to use to ingest data.

" + }, + "segmentConfigurations": { + "shape": "KxDataviewSegmentConfigurationList", + "documentation": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

" + }, + "autoUpdate": { + "shape": "booleanValue", + "documentation": "

The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets. The default value is false.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description of the dataview.

" + }, + "tags": { + "shape": "TagMap", + "documentation": "

A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.

" + }, + "clientToken": { + "shape": "ClientTokenString", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true + } + } + }, + "CreateKxDataviewResponse": { + "type": "structure", + "members": { + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

A unique identifier for the dataview.

" + }, + "databaseName": { + "shape": "DatabaseName", + "documentation": "

The name of the database where you want to create a dataview.

" + }, + "environmentId": { + "shape": "EnvironmentId", + "documentation": "

A unique identifier for the kdb environment, where you want to create the dataview.

" + }, + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones you want to assign per cluster. This can be one of the following

" + }, + "availabilityZoneId": { + "shape": "AvailabilityZoneId", + "documentation": "

The identifier of the availability zones.

" + }, + "changesetId": { + "shape": "ChangesetId", + "documentation": "

A unique identifier for the changeset.

" + }, + "segmentConfigurations": { + "shape": "KxDataviewSegmentConfigurationList", + "documentation": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description of the dataview.

" + }, + "autoUpdate": { + "shape": "booleanValue", + "documentation": "

The option to select whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "status": { + "shape": "KxDataviewStatus", + "documentation": "

The status of dataview creation.

" + } + } + }, + "CreateKxEnvironmentRequest": { + "type": "structure", + "required": [ + "name", + "kmsKeyId" + ], + "members": { + "name": { + "shape": "KxEnvironmentName", + "documentation": "

The name of the kdb environment that you want to create.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description for the kdb environment.

" + }, + "kmsKeyId": { + "shape": "KmsKeyARN", + "documentation": "

The KMS key ID to encrypt your data in the FinSpace environment.

" + }, + "tags": { + "shape": "TagMap", "documentation": "

A list of key-value pairs to label the kdb environment. You can add up to 50 tags to your kdb environment.

" }, "clientToken": { "shape": "ClientToken", - "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

" + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true } } }, @@ -1755,6 +2433,78 @@ } } }, + "CreateKxScalingGroupRequest": { + "type": "structure", + "required": [ + "clientToken", + "environmentId", + "scalingGroupName", + "hostType", + "availabilityZoneId" + ], + "members": { + "clientToken": { + "shape": "ClientToken", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true + }, + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment, where you want to create the scaling group.

", + "location": "uri", + "locationName": "environmentId" + }, + "scalingGroupName": { + "shape": "KxScalingGroupName", + "documentation": "

A unique identifier for the kdb scaling group.

" + }, + "hostType": { + "shape": "KxHostType", + "documentation": "

The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

" + }, + "availabilityZoneId": { + "shape": "AvailabilityZoneId", + "documentation": "

The identifier of the availability zones.

" + }, + "tags": { + "shape": "TagMap", + "documentation": "

A list of key-value pairs to label the scaling group. You can add up to 50 tags to a scaling group.

" + } + } + }, + "CreateKxScalingGroupResponse": { + "type": "structure", + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment, where you create the scaling group.

" + }, + "scalingGroupName": { + "shape": "KxScalingGroupName", + "documentation": "

A unique identifier for the kdb scaling group.

" + }, + "hostType": { + "shape": "KxHostType", + "documentation": "

The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

" + }, + "availabilityZoneId": { + "shape": "AvailabilityZoneId", + "documentation": "

The identifier of the availability zones.

" + }, + "status": { + "shape": "KxScalingGroupStatus", + "documentation": "

The status of scaling group.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + } + } + }, "CreateKxUserRequest": { "type": "structure", "required": [ @@ -1783,7 +2533,8 @@ }, "clientToken": { "shape": "ClientToken", - "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

" + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true } } }, @@ -1808,6 +2559,106 @@ } } }, + "CreateKxVolumeRequest": { + "type": "structure", + "required": [ + "environmentId", + "volumeType", + "volumeName", + "azMode", + "availabilityZoneIds" + ], + "members": { + "clientToken": { + "shape": "ClientToken", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true + }, + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", + "location": "uri", + "locationName": "environmentId" + }, + "volumeType": { + "shape": "KxVolumeType", + "documentation": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. When you select NAS_1 volume type, you must also provide nas1Configuration.

" + }, + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

A unique identifier for the volume.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description of the volume.

" + }, + "nas1Configuration": { + "shape": "KxNAS1Configuration", + "documentation": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is required when you choose volumeType as NAS_1.

" + }, + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.

" + }, + "availabilityZoneIds": { + "shape": "AvailabilityZoneIds", + "documentation": "

The identifier of the availability zones.

" + }, + "tags": { + "shape": "TagMap", + "documentation": "

A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.

" + } + } + }, + "CreateKxVolumeResponse": { + "type": "structure", + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

" + }, + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

A unique identifier for the volume.

" + }, + "volumeType": { + "shape": "KxVolumeType", + "documentation": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

" + }, + "volumeArn": { + "shape": "KxVolumeArn", + "documentation": "

The ARN identifier of the volume.

" + }, + "nas1Configuration": { + "shape": "KxNAS1Configuration", + "documentation": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

" + }, + "status": { + "shape": "KxVolumeStatus", + "documentation": "

The status of volume creation.

" + }, + "statusReason": { + "shape": "KxVolumeStatusReason", + "documentation": "

The error message when a failed state occurs.

" + }, + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description of the volume.

" + }, + "availabilityZoneIds": { + "shape": "AvailabilityZoneIds", + "documentation": "

The identifier of the availability zones.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + } + } + }, "CustomDNSConfiguration": { "type": "list", "member": { @@ -1858,7 +2709,7 @@ "type": "string", "max": 1025, "min": 1, - "pattern": "^\\/([^\\/]+\\/){0,2}[^\\/]*$" + "pattern": "^(\\*)*[\\/\\?\\*]([^\\/]+\\/){0,2}[^\\/]*$" }, "DbPaths": { "type": "list", @@ -1949,6 +2800,46 @@ "type": "structure", "members": {} }, + "DeleteKxDataviewRequest": { + "type": "structure", + "required": [ + "environmentId", + "databaseName", + "dataviewName", + "clientToken" + ], + "members": { + "environmentId": { + "shape": "EnvironmentId", + "documentation": "

A unique identifier for the kdb environment, from where you want to delete the dataview.

", + "location": "uri", + "locationName": "environmentId" + }, + "databaseName": { + "shape": "DatabaseName", + "documentation": "

The name of the database whose dataview you want to delete.

", + "location": "uri", + "locationName": "databaseName" + }, + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

The name of the dataview that you want to delete.

", + "location": "uri", + "locationName": "dataviewName" + }, + "clientToken": { + "shape": "ClientTokenString", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" + } + } + }, + "DeleteKxDataviewResponse": { + "type": "structure", + "members": {} + }, "DeleteKxEnvironmentRequest": { "type": "structure", "required": [ @@ -1960,6 +2851,13 @@ "documentation": "

A unique identifier for the kdb environment.

", "location": "uri", "locationName": "environmentId" + }, + "clientToken": { + "shape": "ClientToken", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" } } }, @@ -1967,6 +2865,38 @@ "type": "structure", "members": {} }, + "DeleteKxScalingGroupRequest": { + "type": "structure", + "required": [ + "environmentId", + "scalingGroupName" + ], + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment, from where you want to delete the dataview.

", + "location": "uri", + "locationName": "environmentId" + }, + "scalingGroupName": { + "shape": "KxScalingGroupName", + "documentation": "

A unique identifier for the kdb scaling group.

", + "location": "uri", + "locationName": "scalingGroupName" + }, + "clientToken": { + "shape": "ClientTokenString", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" + } + } + }, + "DeleteKxScalingGroupResponse": { + "type": "structure", + "members": {} + }, "DeleteKxUserRequest": { "type": "structure", "required": [ @@ -1985,10 +2915,49 @@ "documentation": "

A unique identifier for the kdb environment.

", "location": "uri", "locationName": "environmentId" - } - } - }, - "DeleteKxUserResponse": { + }, + "clientToken": { + "shape": "ClientToken", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" + } + } + }, + "DeleteKxUserResponse": { + "type": "structure", + "members": {} + }, + "DeleteKxVolumeRequest": { + "type": "structure", + "required": [ + "environmentId", + "volumeName" + ], + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", + "location": "uri", + "locationName": "environmentId" + }, + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

The name of the volume that you want to delete.

", + "location": "uri", + "locationName": "volumeName" + }, + "clientToken": { + "shape": "ClientTokenString", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true, + "location": "querystring", + "locationName": "clientToken" + } + } + }, + "DeleteKxVolumeResponse": { "type": "structure", "members": {} }, @@ -2203,7 +3172,7 @@ "type": "string", "max": 2048, "min": 20, - "pattern": "^arn:aws:finspace:[A-Za-z0-9_/.-]{0,63}:\\d+:(environment|kxEnvironment)/[0-9A-Za-z_-]{1,128}(/(kxDatabase|kxCluster|kxUser)/[a-zA-Z0-9_-]{1,255})?$" + "pattern": "^arn:aws:finspace:[A-Za-z0-9_/.-]{0,63}:\\d+:(environment|kxEnvironment)/[0-9A-Za-z_-]{1,128}(/(kxCluster|kxUser|kxVolume|kxScalingGroup)/[a-zA-Z0-9_-]{1,255}|/(kxDatabase/[a-zA-Z0-9_-]{1,255}(/kxDataview/[a-zA-Z0-9_-]{1,255})?))?$" }, "GetEnvironmentRequest": { "type": "structure", @@ -2335,7 +3304,14 @@ }, "clusterType": { "shape": "KxClusterType", - "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

" + "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

" + }, + "tickerplantLogConfiguration": { + "shape": "TickerplantLogConfiguration" + }, + "volumes": { + "shape": "Volumes", + "documentation": "

A list of volumes attached to the cluster.

" }, "databases": { "shape": "KxDatabaseConfigurations", @@ -2400,6 +3376,9 @@ "createdTimestamp": { "shape": "Timestamp", "documentation": "

The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "scalingGroupConfiguration": { + "shape": "KxScalingGroupConfiguration" } } }, @@ -2506,6 +3485,95 @@ } } }, + "GetKxDataviewRequest": { + "type": "structure", + "required": [ + "environmentId", + "databaseName", + "dataviewName" + ], + "members": { + "environmentId": { + "shape": "EnvironmentId", + "documentation": "

A unique identifier for the kdb environment, from where you want to retrieve the dataview details.

", + "location": "uri", + "locationName": "environmentId" + }, + "databaseName": { + "shape": "DatabaseName", + "documentation": "

The name of the database where you created the dataview.

", + "location": "uri", + "locationName": "databaseName" + }, + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

A unique identifier for the dataview.

", + "location": "uri", + "locationName": "dataviewName" + } + } + }, + "GetKxDataviewResponse": { + "type": "structure", + "members": { + "databaseName": { + "shape": "DatabaseName", + "documentation": "

The name of the database where you created the dataview.

" + }, + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

A unique identifier for the dataview.

" + }, + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones you want to assign per cluster. This can be one of the following

" + }, + "availabilityZoneId": { + "shape": "AvailabilityZoneId", + "documentation": "

The identifier of the availability zones.

" + }, + "changesetId": { + "shape": "ChangesetId", + "documentation": "

A unique identifier of the changeset that you want to use to ingest data.

" + }, + "segmentConfigurations": { + "shape": "KxDataviewSegmentConfigurationList", + "documentation": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

" + }, + "activeVersions": { + "shape": "KxDataviewActiveVersionList", + "documentation": "

The current active changeset versions of the database on the given dataview.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description of the dataview.

" + }, + "autoUpdate": { + "shape": "booleanValue", + "documentation": "

The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.

" + }, + "environmentId": { + "shape": "EnvironmentId", + "documentation": "

A unique identifier for the kdb environment, from where you want to retrieve the dataview details.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "status": { + "shape": "KxDataviewStatus", + "documentation": "

The status of dataview creation.

" + }, + "statusReason": { + "shape": "KxDataviewStatusReason", + "documentation": "

The error message when a failed state occurs.

" + } + } + }, "GetKxEnvironmentRequest": { "type": "structure", "required": [ @@ -2592,6 +3660,68 @@ } } }, + "GetKxScalingGroupRequest": { + "type": "structure", + "required": [ + "environmentId", + "scalingGroupName" + ], + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment.

", + "location": "uri", + "locationName": "environmentId" + }, + "scalingGroupName": { + "shape": "KxScalingGroupName", + "documentation": "

A unique identifier for the kdb scaling group.

", + "location": "uri", + "locationName": "scalingGroupName" + } + } + }, + "GetKxScalingGroupResponse": { + "type": "structure", + "members": { + "scalingGroupName": { + "shape": "KxScalingGroupName", + "documentation": "

A unique identifier for the kdb scaling group.

" + }, + "scalingGroupArn": { + "shape": "arn", + "documentation": "

The ARN identifier for the scaling group.

" + }, + "hostType": { + "shape": "KxHostType", + "documentation": "

The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

" + }, + "clusters": { + "shape": "KxClusterNameList", + "documentation": "

The list of Managed kdb clusters that are currently active in the given scaling group.

" + }, + "availabilityZoneId": { + "shape": "AvailabilityZoneId", + "documentation": "

The identifier of the availability zones.

" + }, + "status": { + "shape": "KxScalingGroupStatus", + "documentation": "

The status of scaling group.

" + }, + "statusReason": { + "shape": "KxClusterStatusReason", + "documentation": "

The error message when a failed state occurs.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + } + } + }, "GetKxUserRequest": { "type": "structure", "required": [ @@ -2634,6 +3764,84 @@ } } }, + "GetKxVolumeRequest": { + "type": "structure", + "required": [ + "environmentId", + "volumeName" + ], + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", + "location": "uri", + "locationName": "environmentId" + }, + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

A unique identifier for the volume.

", + "location": "uri", + "locationName": "volumeName" + } + } + }, + "GetKxVolumeResponse": { + "type": "structure", + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

" + }, + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

A unique identifier for the volume.

" + }, + "volumeType": { + "shape": "KxVolumeType", + "documentation": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

" + }, + "volumeArn": { + "shape": "KxVolumeArn", + "documentation": "

The ARN identifier of the volume.

" + }, + "nas1Configuration": { + "shape": "KxNAS1Configuration", + "documentation": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

" + }, + "status": { + "shape": "KxVolumeStatus", + "documentation": "

The status of volume creation.

" + }, + "statusReason": { + "shape": "KxVolumeStatusReason", + "documentation": "

The error message when a failed state occurs.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description of the volume.

" + }, + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.

" + }, + "availabilityZoneIds": { + "shape": "AvailabilityZoneIds", + "documentation": "

The identifier of the availability zones.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "attachedClusters": { + "shape": "KxAttachedClusters", + "documentation": "

A list of cluster identifiers that a volume is attached to.

" + } + } + }, "IPAddressType": { "type": "string", "enum": [ @@ -2685,6 +3893,30 @@ "min": 1, "pattern": "^[a-zA-Z-0-9-:\\/]*$" }, + "KxAttachedCluster": { + "type": "structure", + "members": { + "clusterName": { + "shape": "KxClusterName", + "documentation": "

A unique name for the attached cluster.

" + }, + "clusterType": { + "shape": "KxClusterType", + "documentation": "

Specifies the type of cluster. The volume for TP and RDB cluster types will be used for TP logs.

" + }, + "clusterStatus": { + "shape": "KxClusterStatus", + "documentation": "

The status of the attached cluster.

" + } + }, + "documentation": "

The structure containing the metadata of the attached clusters.

" + }, + "KxAttachedClusters": { + "type": "list", + "member": { + "shape": "KxAttachedCluster" + } + }, "KxAzMode": { "type": "string", "enum": [ @@ -2717,9 +3949,7 @@ } }, "KxCacheStorageSize": { - "type": "integer", - "max": 33600, - "min": 1200 + "type": "integer" }, "KxCacheStorageType": { "type": "string", @@ -2775,7 +4005,7 @@ }, "clusterType": { "shape": "KxClusterType", - "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

" + "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

" }, "clusterDescription": { "shape": "KxClusterDescription", @@ -2785,6 +4015,10 @@ "shape": "ReleaseLabel", "documentation": "

A version of the FinSpace managed kdb to run.

" }, + "volumes": { + "shape": "Volumes", + "documentation": "

A list of volumes attached to the cluster.

" + }, "initializationScript": { "shape": "InitializationScriptFilePath", "documentation": "

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.

" @@ -2845,6 +4079,12 @@ "min": 3, "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, + "KxClusterNameList": { + "type": "list", + "member": { + "shape": "KxClusterName" + } + }, "KxClusterNodeIdString": { "type": "string", "max": 40, @@ -2875,7 +4115,8 @@ "HDB", "RDB", "GATEWAY", - "GP" + "GP", + "TICKERPLANT" ] }, "KxClusters": { @@ -2930,6 +4171,10 @@ "dbPaths": { "shape": "DbPaths", "documentation": "

Specifies the portions of database that will be loaded into the cache for access.

" + }, + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

The name of the dataview to be used for caching historical data on disk.

" } }, "documentation": "

The structure of database cache configuration that is used for mapping database paths to cache types in clusters.

" @@ -2957,6 +4202,14 @@ "changesetId": { "shape": "ChangesetId", "documentation": "

A unique identifier of the changeset that is associated with the cluster.

" + }, + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

The name of the dataview to be used for caching historical data on disk.

" + }, + "dataviewConfiguration": { + "shape": "KxDataviewConfiguration", + "documentation": "

The configuration of the dataview to be used with specified cluster.

" } }, "documentation": "

The configuration of data that is available for querying from this database.

" @@ -2991,46 +4244,216 @@ "shape": "KxDatabaseListEntry" } }, - "KxDeploymentConfiguration": { + "KxDataviewActiveVersion": { "type": "structure", - "required": [ - "deploymentStrategy" - ], "members": { - "deploymentStrategy": { - "shape": "KxDeploymentStrategy", - "documentation": "

The type of deployment that you want on a cluster.

" + "changesetId": { + "shape": "ChangesetId", + "documentation": "

A unique identifier for the changeset.

" + }, + "segmentConfigurations": { + "shape": "KxDataviewSegmentConfigurationList", + "documentation": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

" + }, + "attachedClusters": { + "shape": "AttachedClusterList", + "documentation": "

The list of clusters that are currently using this dataview.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the dataview version was active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "versionId": { + "shape": "VersionId", + "documentation": "

A unique identifier of the active version.

" } }, - "documentation": "

The configuration that allows you to choose how you want to update the databases on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster.

" + "documentation": "

The active version of the dataview that is currently in use by this cluster.

" }, - "KxDeploymentStrategy": { - "type": "string", - "enum": [ - "NO_RESTART", - "ROLLING" - ] + "KxDataviewActiveVersionList": { + "type": "list", + "member": { + "shape": "KxDataviewActiveVersion" + } }, - "KxEnvironment": { + "KxDataviewConfiguration": { "type": "structure", "members": { - "name": { - "shape": "KxEnvironmentName", - "documentation": "

The name of the kdb environment.

" + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

The unique identifier of the dataview.

" + }, + "dataviewVersionId": { + "shape": "VersionId", + "documentation": "

The version of the dataview corresponding to a given changeset.

" + }, + "changesetId": { + "shape": "ChangesetId", + "documentation": "

A unique identifier for the changeset.

" }, + "segmentConfigurations": { + "shape": "KxDataviewSegmentConfigurationList", + "documentation": "

The db path and volume configuration for the segmented database.

" + } + }, + "documentation": "

The structure that stores the configuration details of a dataview.

" + }, + "KxDataviewListEntry": { + "type": "structure", + "members": { "environmentId": { - "shape": "IdType", + "shape": "EnvironmentId", "documentation": "

A unique identifier for the kdb environment.

" }, - "awsAccountId": { - "shape": "IdType", - "documentation": "

The unique identifier of the AWS account in which you create the kdb environment.

" + "databaseName": { + "shape": "DatabaseName", + "documentation": "

A unique identifier of the database.

" }, - "status": { - "shape": "EnvironmentStatus", - "documentation": "

The status of the environment creation.

" + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

A unique identifier of the dataview.

" }, - "tgwStatus": { + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones you want to assign per cluster. This can be one of the following

" + }, + "availabilityZoneId": { + "shape": "AvailabilityZoneId", + "documentation": "

The identifier of the availability zones.

" + }, + "changesetId": { + "shape": "ChangesetId", + "documentation": "

A unique identifier for the changeset.

" + }, + "segmentConfigurations": { + "shape": "KxDataviewSegmentConfigurationList", + "documentation": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

" + }, + "activeVersions": { + "shape": "KxDataviewActiveVersionList", + "documentation": "

The active changeset versions for the given dataview entry.

" + }, + "status": { + "shape": "KxDataviewStatus", + "documentation": "

The status of a given dataview entry.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description for the dataview list entry.

" + }, + "autoUpdate": { + "shape": "booleanValue", + "documentation": "

The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the dataview list entry was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the dataview list was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "statusReason": { + "shape": "KxDataviewStatusReason", + "documentation": "

The error message when a failed state occurs.

" + } + }, + "documentation": "

A collection of kdb dataview entries.

" + }, + "KxDataviewName": { + "type": "string", + "max": 63, + "min": 3, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + "KxDataviewSegmentConfiguration": { + "type": "structure", + "required": [ + "dbPaths", + "volumeName" + ], + "members": { + "dbPaths": { + "shape": "SegmentConfigurationDbPathList", + "documentation": "

The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.

" + }, + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

The name of the volume where you want to add data.

" + } + }, + "documentation": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

" + }, + "KxDataviewSegmentConfigurationList": { + "type": "list", + "member": { + "shape": "KxDataviewSegmentConfiguration" + }, + "max": 50, + "min": 0 + }, + "KxDataviewStatus": { + "type": "string", + "enum": [ + "CREATING", + "ACTIVE", + "UPDATING", + "FAILED", + "DELETING" + ] + }, + "KxDataviewStatusReason": { + "type": "string", + "max": 250, + "min": 1, + "pattern": "^[a-zA-Z0-9\\_\\-\\.\\s]+$" + }, + "KxDataviews": { + "type": "list", + "member": { + "shape": "KxDataviewListEntry" + } + }, + "KxDeploymentConfiguration": { + "type": "structure", + "required": [ + "deploymentStrategy" + ], + "members": { + "deploymentStrategy": { + "shape": "KxDeploymentStrategy", + "documentation": "

The type of deployment that you want on a cluster.

" + } + }, + "documentation": "

The configuration that allows you to choose how you want to update the databases on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster.

" + }, + "KxDeploymentStrategy": { + "type": "string", + "enum": [ + "NO_RESTART", + "ROLLING" + ] + }, + "KxEnvironment": { + "type": "structure", + "members": { + "name": { + "shape": "KxEnvironmentName", + "documentation": "

The name of the kdb environment.

" + }, + "environmentId": { + "shape": "IdType", + "documentation": "

A unique identifier for the kdb environment.

" + }, + "awsAccountId": { + "shape": "IdType", + "documentation": "

The unique identifier of the AWS account in which you create the kdb environment.

" + }, + "status": { + "shape": "EnvironmentStatus", + "documentation": "

The status of the environment creation.

" + }, + "tgwStatus": { "shape": "tgwStatus", "documentation": "

The status of the network configuration.

" }, @@ -3103,6 +4526,39 @@ "min": 3, "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, + "KxHostType": { + "type": "string", + "max": 32, + "min": 1, + "pattern": "^[a-zA-Z0-9._]+" + }, + "KxNAS1Configuration": { + "type": "structure", + "members": { + "type": { + "shape": "KxNAS1Type", + "documentation": "

The type of the network attached storage.

" + }, + "size": { + "shape": "KxNAS1Size", + "documentation": "

The size of the network attached storage.

" + } + }, + "documentation": "

The structure containing the size and type of the network attached storage (NAS_1) file system volume.

" + }, + "KxNAS1Size": { + "type": "integer", + "max": 33600, + "min": 1200 + }, + "KxNAS1Type": { + "type": "string", + "enum": [ + "SSD_1000", + "SSD_250", + "HDD_12" + ] + }, "KxNode": { "type": "structure", "members": { @@ -3129,10 +4585,6 @@ }, "KxSavedownStorageConfiguration": { "type": "structure", - "required": [ - "type", - "size" - ], "members": { "type": { "shape": "KxSavedownStorageType", @@ -3141,6 +4593,10 @@ "size": { "shape": "KxSavedownStorageSize", "documentation": "

The size of temporary storage in gibibytes.

" + }, + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

The name of the kdb volume that you want to use as writeable save-down storage for clusters.

" } }, "documentation": "

The size and type of temporary storage that is used to hold data during the savedown process. All the data written to this storage space is lost when the cluster node is restarted.

" @@ -3148,7 +4604,7 @@ "KxSavedownStorageSize": { "type": "integer", "max": 16000, - "min": 4 + "min": 10 }, "KxSavedownStorageType": { "type": "string", @@ -3156,6 +4612,98 @@ "SDS01" ] }, + "KxScalingGroup": { + "type": "structure", + "members": { + "scalingGroupName": { + "shape": "KxScalingGroupName", + "documentation": "

A unique identifier for the kdb scaling group.

" + }, + "hostType": { + "shape": "KxHostType", + "documentation": "

The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

" + }, + "clusters": { + "shape": "KxClusterNameList", + "documentation": "

The list of clusters currently active in a given scaling group.

" + }, + "availabilityZoneId": { + "shape": "AvailabilityZoneId", + "documentation": "

The identifier of the availability zones.

" + }, + "status": { + "shape": "KxScalingGroupStatus", + "documentation": "

The status of scaling groups.

" + }, + "statusReason": { + "shape": "KxClusterStatusReason", + "documentation": "

The error message when a failed state occurs.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + } + }, + "documentation": "

A structure for storing metadata of scaling group.

" + }, + "KxScalingGroupConfiguration": { + "type": "structure", + "required": [ + "scalingGroupName", + "memoryReservation", + "nodeCount" + ], + "members": { + "scalingGroupName": { + "shape": "KxScalingGroupName", + "documentation": "

A unique identifier for the kdb scaling group.

" + }, + "memoryLimit": { + "shape": "MemoryMib", + "documentation": "

An optional hard limit on the amount of memory a kdb cluster can use.

" + }, + "memoryReservation": { + "shape": "MemoryMib", + "documentation": "

A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to be successfully placed in a scaling group.

" + }, + "nodeCount": { + "shape": "ClusterNodeCount", + "documentation": "

The number of kdb cluster nodes.

" + }, + "cpu": { + "shape": "CpuCount", + "documentation": "

The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.

" + } + }, + "documentation": "

The structure that stores the capacity configuration details of a scaling group.

" + }, + "KxScalingGroupList": { + "type": "list", + "member": { + "shape": "KxScalingGroup" + } + }, + "KxScalingGroupName": { + "type": "string", + "max": 63, + "min": 3, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + "KxScalingGroupStatus": { + "type": "string", + "enum": [ + "CREATING", + "CREATE_FAILED", + "ACTIVE", + "DELETING", + "DELETED", + "DELETE_FAILED" + ] + }, "KxUser": { "type": "structure", "members": { @@ -3200,6 +4748,92 @@ "min": 1, "pattern": "^[0-9A-Za-z_-]{1,50}$" }, + "KxVolume": { + "type": "structure", + "members": { + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

A unique identifier for the volume.

" + }, + "volumeType": { + "shape": "KxVolumeType", + "documentation": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

" + }, + "status": { + "shape": "KxVolumeStatus", + "documentation": "

The status of volume.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description of the volume.

" + }, + "statusReason": { + "shape": "KxVolumeStatusReason", + "documentation": "

The error message when a failed state occurs.

" + }, + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones assigned to the volume. Currently, only SINGLE is supported.

" + }, + "availabilityZoneIds": { + "shape": "AvailabilityZoneIds", + "documentation": "

The identifier of the availability zones.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + } + }, + "documentation": "

The structure that contains the metadata of the volume.

" + }, + "KxVolumeArn": { + "type": "string", + "max": 2048, + "min": 20, + "pattern": "^arn:aws:finspace:[A-Za-z0-9_/.-]{0,63}:\\d+:kxEnvironment/[0-9A-Za-z_-]{1,128}(/kxSharedVolume/[a-zA-Z0-9_-]{1,255})?$" + }, + "KxVolumeName": { + "type": "string", + "max": 63, + "min": 3, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + "KxVolumeStatus": { + "type": "string", + "enum": [ + "CREATING", + "CREATE_FAILED", + "ACTIVE", + "UPDATING", + "UPDATED", + "UPDATE_FAILED", + "DELETING", + "DELETED", + "DELETE_FAILED" + ] + }, + "KxVolumeStatusReason": { + "type": "string", + "max": 250, + "min": 1, + "pattern": "^[a-zA-Z0-9\\_\\-\\.\\s]+$" + }, + "KxVolumeType": { + "type": "string", + "enum": [ + "NAS_1" + ] + }, + "KxVolumes": { + "type": "list", + "member": { + "shape": "KxVolume" + } + }, "ListEnvironmentsRequest": { "type": "structure", "members": { @@ -3322,7 +4956,167 @@ } } }, - "ListKxClustersRequest": { + "ListKxClustersRequest": { + "type": "structure", + "required": [ + "environmentId" + ], + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment.

", + "location": "uri", + "locationName": "environmentId" + }, + "clusterType": { + "shape": "KxClusterType", + "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

", + "location": "querystring", + "locationName": "clusterType" + }, + "maxResults": { + "shape": "MaxResults", + "documentation": "

The maximum number of results to return in this request.

", + "location": "querystring", + "locationName": "maxResults" + }, + "nextToken": { + "shape": "PaginationToken", + "documentation": "

A token that indicates where a results page should begin.

", + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "ListKxClustersResponse": { + "type": "structure", + "members": { + "kxClusterSummaries": { + "shape": "KxClusters", + "documentation": "

Lists the cluster details.

" + }, + "nextToken": { + "shape": "PaginationToken", + "documentation": "

A token that indicates where a results page should begin.

" + } + } + }, + "ListKxDatabasesRequest": { + "type": "structure", + "required": [ + "environmentId" + ], + "members": { + "environmentId": { + "shape": "EnvironmentId", + "documentation": "

A unique identifier for the kdb environment.

", + "location": "uri", + "locationName": "environmentId" + }, + "nextToken": { + "shape": "PaginationToken", + "documentation": "

A token that indicates where a results page should begin.

", + "location": "querystring", + "locationName": "nextToken" + }, + "maxResults": { + "shape": "MaxResults", + "documentation": "

The maximum number of results to return in this request.

", + "location": "querystring", + "locationName": "maxResults" + } + } + }, + "ListKxDatabasesResponse": { + "type": "structure", + "members": { + "kxDatabases": { + "shape": "KxDatabases", + "documentation": "

A list of databases in the kdb environment.

" + }, + "nextToken": { + "shape": "PaginationToken", + "documentation": "

A token that indicates where a results page should begin.

" + } + } + }, + "ListKxDataviewsRequest": { + "type": "structure", + "required": [ + "environmentId", + "databaseName" + ], + "members": { + "environmentId": { + "shape": "EnvironmentId", + "documentation": "

A unique identifier for the kdb environment, for which you want to retrieve a list of dataviews.

", + "location": "uri", + "locationName": "environmentId" + }, + "databaseName": { + "shape": "DatabaseName", + "documentation": "

The name of the database where the dataviews were created.

", + "location": "uri", + "locationName": "databaseName" + }, + "nextToken": { + "shape": "PaginationToken", + "documentation": "

A token that indicates where a results page should begin.

", + "location": "querystring", + "locationName": "nextToken" + }, + "maxResults": { + "shape": "MaxResults", + "documentation": "

The maximum number of results to return in this request.

", + "location": "querystring", + "locationName": "maxResults" + } + } + }, + "ListKxDataviewsResponse": { + "type": "structure", + "members": { + "kxDataviews": { + "shape": "KxDataviews", + "documentation": "

The list of kdb dataviews that are currently active for the given database.

" + }, + "nextToken": { + "shape": "PaginationToken", + "documentation": "

A token that indicates where a results page should begin.

" + } + } + }, + "ListKxEnvironmentsRequest": { + "type": "structure", + "members": { + "nextToken": { + "shape": "PaginationToken", + "documentation": "

A token that indicates where a results page should begin.

", + "location": "querystring", + "locationName": "nextToken" + }, + "maxResults": { + "shape": "BoxedInteger", + "documentation": "

The maximum number of results to return in this request.

", + "location": "querystring", + "locationName": "maxResults" + } + } + }, + "ListKxEnvironmentsResponse": { + "type": "structure", + "members": { + "environments": { + "shape": "KxEnvironmentList", + "documentation": "

A list of environments in an account.

" + }, + "nextToken": { + "shape": "PaginationToken", + "documentation": "

A token that indicates where a results page should begin.

" + } + } + }, + "ListKxScalingGroupsRequest": { "type": "structure", "required": [ "environmentId" @@ -3330,16 +5124,10 @@ "members": { "environmentId": { "shape": "KxEnvironmentId", - "documentation": "

A unique identifier for the kdb environment.

", + "documentation": "

A unique identifier for the kdb environment, for which you want to retrieve a list of scaling groups.

", "location": "uri", "locationName": "environmentId" }, - "clusterType": { - "shape": "KxClusterType", - "documentation": "

Specifies the type of KDB database that is being created. The following types are available:

", - "location": "querystring", - "locationName": "clusterType" - }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in this request.

", @@ -3348,33 +5136,33 @@ }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token that indicates where a results page should begin.

", + "documentation": "

A token that indicates where a results page should begin.

", "location": "querystring", "locationName": "nextToken" } } }, - "ListKxClustersResponse": { + "ListKxScalingGroupsResponse": { "type": "structure", "members": { - "kxClusterSummaries": { - "shape": "KxClusters", - "documentation": "

Lists the cluster details.

" + "scalingGroups": { + "shape": "KxScalingGroupList", + "documentation": "

A list of scaling groups available in a kdb environment.

" }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token that indicates where a results page should begin.

" + "documentation": "

A token that indicates where a results page should begin.

" } } }, - "ListKxDatabasesRequest": { + "ListKxUsersRequest": { "type": "structure", "required": [ "environmentId" ], "members": { "environmentId": { - "shape": "EnvironmentId", + "shape": "IdType", "documentation": "

A unique identifier for the kdb environment.

", "location": "uri", "locationName": "environmentId" @@ -3386,49 +5174,19 @@ "locationName": "nextToken" }, "maxResults": { - "shape": "MaxResults", - "documentation": "

The maximum number of results to return in this request.

", - "location": "querystring", - "locationName": "maxResults" - } - } - }, - "ListKxDatabasesResponse": { - "type": "structure", - "members": { - "kxDatabases": { - "shape": "KxDatabases", - "documentation": "

A list of databases in the kdb environment.

" - }, - "nextToken": { - "shape": "PaginationToken", - "documentation": "

A token that indicates where a results page should begin.

" - } - } - }, - "ListKxEnvironmentsRequest": { - "type": "structure", - "members": { - "nextToken": { - "shape": "PaginationToken", - "documentation": "

A token that indicates where a results page should begin.

", - "location": "querystring", - "locationName": "nextToken" - }, - "maxResults": { - "shape": "BoxedInteger", + "shape": "ResultLimit", "documentation": "

The maximum number of results to return in this request.

", "location": "querystring", "locationName": "maxResults" } } }, - "ListKxEnvironmentsResponse": { + "ListKxUsersResponse": { "type": "structure", "members": { - "environments": { - "shape": "KxEnvironmentList", - "documentation": "

A list of environments in an account.

" + "users": { + "shape": "KxUserList", + "documentation": "

A list of users in a kdb environment.

" }, "nextToken": { "shape": "PaginationToken", @@ -3436,38 +5194,44 @@ } } }, - "ListKxUsersRequest": { + "ListKxVolumesRequest": { "type": "structure", "required": [ "environmentId" ], "members": { "environmentId": { - "shape": "IdType", - "documentation": "

A unique identifier for the kdb environment.

", + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment, whose clusters can attach to the volume.

", "location": "uri", "locationName": "environmentId" }, + "maxResults": { + "shape": "MaxResults", + "documentation": "

The maximum number of results to return in this request.

", + "location": "querystring", + "locationName": "maxResults" + }, "nextToken": { "shape": "PaginationToken", "documentation": "

A token that indicates where a results page should begin.

", "location": "querystring", "locationName": "nextToken" }, - "maxResults": { - "shape": "ResultLimit", - "documentation": "

The maximum number of results to return in this request.

", + "volumeType": { + "shape": "KxVolumeType", + "documentation": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

", "location": "querystring", - "locationName": "maxResults" + "locationName": "volumeType" } } }, - "ListKxUsersResponse": { + "ListKxVolumesResponse": { "type": "structure", "members": { - "users": { - "shape": "KxUserList", - "documentation": "

A list of users in a kdb environment.

" + "kxVolumeSummaries": { + "shape": "KxVolumes", + "documentation": "

A summary of volumes.

" }, "nextToken": { "shape": "PaginationToken", @@ -3503,6 +5267,10 @@ "max": 100, "min": 0 }, + "MemoryMib": { + "type": "integer", + "min": 6 + }, "NameString": { "type": "string", "max": 50, @@ -3668,6 +5436,14 @@ "min": 1, "pattern": "^sg-([a-z0-9]{8}$|[a-z0-9]{17}$)" }, + "SegmentConfigurationDbPathList": { + "type": "list", + "member": { + "shape": "DbPath" + }, + "max": 30, + "min": 1 + }, "SignedKxConnectionString": { "type": "string", "max": 2048, @@ -3770,6 +5546,22 @@ "min": 1, "pattern": "^[a-zA-Z0-9+-=._:@ ]+$" }, + "TickerplantLogConfiguration": { + "type": "structure", + "members": { + "tickerplantLogVolumes": { + "shape": "TickerplantLogVolumes", + "documentation": "

The name of the volumes for tickerplant logs.

" + } + }, + "documentation": "

A configuration to store the Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path.

" + }, + "TickerplantLogVolumes": { + "type": "list", + "member": { + "shape": "VolumeName" + } + }, "Timestamp": { "type": "timestamp" }, @@ -4000,6 +5792,109 @@ } } }, + "UpdateKxDataviewRequest": { + "type": "structure", + "required": [ + "environmentId", + "databaseName", + "dataviewName", + "clientToken" + ], + "members": { + "environmentId": { + "shape": "EnvironmentId", + "documentation": "

A unique identifier for the kdb environment, where you want to update the dataview.

", + "location": "uri", + "locationName": "environmentId" + }, + "databaseName": { + "shape": "DatabaseName", + "documentation": "

The name of the database.

", + "location": "uri", + "locationName": "databaseName" + }, + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

The name of the dataview that you want to update.

", + "location": "uri", + "locationName": "dataviewName" + }, + "description": { + "shape": "Description", + "documentation": "

The description for a dataview.

" + }, + "changesetId": { + "shape": "ChangesetId", + "documentation": "

A unique identifier for the changeset.

" + }, + "segmentConfigurations": { + "shape": "KxDataviewSegmentConfigurationList", + "documentation": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

" + }, + "clientToken": { + "shape": "ClientTokenString", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true + } + } + }, + "UpdateKxDataviewResponse": { + "type": "structure", + "members": { + "environmentId": { + "shape": "EnvironmentId", + "documentation": "

A unique identifier for the kdb environment, where you want to update the dataview.

" + }, + "databaseName": { + "shape": "DatabaseName", + "documentation": "

The name of the database.

" + }, + "dataviewName": { + "shape": "KxDataviewName", + "documentation": "

The name of the database under which the dataview was created.

" + }, + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones you want to assign per cluster. This can be one of the following

" + }, + "availabilityZoneId": { + "shape": "AvailabilityZoneId", + "documentation": "

The identifier of the availability zones.

" + }, + "changesetId": { + "shape": "ChangesetId", + "documentation": "

A unique identifier for the changeset.

" + }, + "segmentConfigurations": { + "shape": "KxDataviewSegmentConfigurationList", + "documentation": "

The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

" + }, + "activeVersions": { + "shape": "KxDataviewActiveVersionList", + "documentation": "

The current active changeset versions of the database on the given dataview.

" + }, + "status": { + "shape": "KxDataviewStatus", + "documentation": "

The status of dataview creation.

" + }, + "autoUpdate": { + "shape": "booleanValue", + "documentation": "

The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.

" + }, + "description": { + "shape": "Description", + "documentation": "

A description of the dataview.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + } + } + }, "UpdateKxEnvironmentNetworkRequest": { "type": "structure", "required": [ @@ -4022,7 +5917,8 @@ }, "clientToken": { "shape": "ClientToken", - "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

" + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true } } }, @@ -4116,7 +6012,8 @@ }, "clientToken": { "shape": "ClientToken", - "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

" + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true } } }, @@ -4214,7 +6111,8 @@ }, "clientToken": { "shape": "ClientToken", - "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

" + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true } } }, @@ -4239,6 +6137,97 @@ } } }, + "UpdateKxVolumeRequest": { + "type": "structure", + "required": [ + "environmentId", + "volumeName" + ], + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment where you created the storage volume.

", + "location": "uri", + "locationName": "environmentId" + }, + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

A unique identifier for the volume.

", + "location": "uri", + "locationName": "volumeName" + }, + "description": { + "shape": "Description", + "documentation": "

A description of the volume.

" + }, + "clientToken": { + "shape": "ClientTokenString", + "documentation": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "idempotencyToken": true + }, + "nas1Configuration": { + "shape": "KxNAS1Configuration", + "documentation": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

" + } + } + }, + "UpdateKxVolumeResponse": { + "type": "structure", + "members": { + "environmentId": { + "shape": "KxEnvironmentId", + "documentation": "

A unique identifier for the kdb environment where you want to update the volume.

" + }, + "volumeName": { + "shape": "KxVolumeName", + "documentation": "

A unique identifier for the volume that you want to update.

" + }, + "volumeType": { + "shape": "KxVolumeType", + "documentation": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

" + }, + "volumeArn": { + "shape": "KxVolumeArn", + "documentation": "

The ARN identifier of the volume.

" + }, + "nas1Configuration": { + "shape": "KxNAS1Configuration", + "documentation": "

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

" + }, + "status": { + "shape": "KxVolumeStatus", + "documentation": "

The status of the volume.

" + }, + "description": { + "shape": "Description", + "documentation": "

The description for the volume.

" + }, + "statusReason": { + "shape": "KxVolumeStatusReason", + "documentation": "

The error message when a failed state occurs.

" + }, + "createdTimestamp": { + "shape": "Timestamp", + "documentation": "

The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "azMode": { + "shape": "KxAzMode", + "documentation": "

The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.

" + }, + "availabilityZoneIds": { + "shape": "AvailabilityZoneIds", + "documentation": "

The identifier of the availability zones.

" + }, + "lastModifiedTimestamp": { + "shape": "Timestamp", + "documentation": "

The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" + }, + "attachedClusters": { + "shape": "KxAttachedClusters", + "documentation": "

Specifies the clusters that a volume is attached to.

" + } + } + }, "ValidCIDRBlock": { "type": "string", "max": 18, @@ -4258,6 +6247,45 @@ "type": "string", "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" }, + "VersionId": { + "type": "string", + "max": 26, + "min": 1 + }, + "Volume": { + "type": "structure", + "members": { + "volumeName": { + "shape": "VolumeName", + "documentation": "

A unique identifier for the volume.

" + }, + "volumeType": { + "shape": "VolumeType", + "documentation": "

The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.

" + } + }, + "documentation": "

The structure that consists of name and type of volume.

" + }, + "VolumeName": { + "type": "string", + "max": 63, + "min": 3, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + "VolumeType": { + "type": "string", + "enum": [ + "NAS_1" + ] + }, + "Volumes": { + "type": "list", + "member": { + "shape": "Volume" + }, + "max": 5, + "min": 0 + }, "VpcConfiguration": { "type": "structure", "members": { @@ -4286,6 +6314,15 @@ "min": 1, "pattern": "^vpc-([a-z0-9]{8}$|[a-z0-9]{17}$)" }, + "arn": { + "type": "string", + "max": 2048, + "min": 20, + "pattern": "^arn:*:*:*:*:*" + }, + "booleanValue": { + "type": "boolean" + }, "dnsStatus": { "type": "string", "enum": [ diff --git a/apis/finspace-2021-03-12.paginators.json b/apis/finspace-2021-03-12.paginators.json index ca77facdbe..74580e09e4 100644 --- a/apis/finspace-2021-03-12.paginators.json +++ b/apis/finspace-2021-03-12.paginators.json @@ -15,11 +15,21 @@ "output_token": "nextToken", "limit_key": "maxResults" }, + "ListKxDataviews": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" + }, "ListKxEnvironments": { "input_token": "nextToken", "output_token": "nextToken", "limit_key": "maxResults", "result_key": "environments" + }, + "ListKxScalingGroups": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" } } } diff --git a/apis/monitoring-2010-08-01.normal.json b/apis/monitoring-2010-08-01.normal.json index 587d25eacd..ac5ada7f89 100644 --- a/apis/monitoring-2010-08-01.normal.json +++ b/apis/monitoring-2010-08-01.normal.json @@ -2170,7 +2170,7 @@ }, "OutputFormat": { "shape": "MetricStreamOutputFormat", - "documentation": "

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

" + "documentation": "

The output format for the stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

" }, "StatisticsConfigurations": { "shape": "MetricStreamStatisticsConfigurations", @@ -3141,7 +3141,7 @@ }, "OutputFormat": { "shape": "MetricStreamOutputFormat", - "documentation": "

The output format of this metric stream. Valid values are json and opentelemetry0.7.

" + "documentation": "

The output format of this metric stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7.

" } }, "documentation": "

This structure contains the configuration information about one metric stream.

" @@ -3187,7 +3187,8 @@ "type": "string", "enum": [ "json", - "opentelemetry0.7" + "opentelemetry0.7", + "opentelemetry1.0" ], "max": 255, "min": 1 @@ -3217,7 +3218,7 @@ }, "AdditionalStatistics": { "shape": "MetricStreamStatisticsAdditionalStatistics", - "documentation": "

The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

If the OutputFormat for the stream is opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

" + "documentation": "

The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

" } }, "documentation": "

By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. This structure contains information for one metric that includes additional statistics in the stream. For more information about statistics, see CloudWatch, listed in CloudWatch statistics definitions.

" @@ -3516,7 +3517,7 @@ }, "MetricName": { "shape": "MetricName", - "documentation": "

The name for the metric associated with the alarm. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array.

If you are creating an alarm based on a math expression, you cannot specify this parameter, or any of the Dimensions, Period, Namespace, Statistic, or ExtendedStatistic parameters. Instead, you specify all this information in the Metrics array.

" + "documentation": "

The name for the metric associated with the alarm. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array.

If you are creating an alarm based on a math expression, you cannot specify this parameter, or any of the Namespace, Dimensions, Period, Unit, Statistic, or ExtendedStatistic parameters. Instead, you specify all this information in the Metrics array.

" }, "Namespace": { "shape": "Namespace", @@ -3540,7 +3541,7 @@ }, "Unit": { "shape": "StandardUnit", - "documentation": "

The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately.

If you don't specify Unit, CloudWatch retrieves all unit types that have been published for the metric and attempts to evaluate the alarm. Usually, metrics are published with only one unit, so the alarm works as intended.

However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's behavior is not defined and it behaves unpredictably.

We recommend omitting Unit so that you don't inadvertently specify an incorrect unit that is not published for this metric. Doing so causes the alarm to be stuck in the INSUFFICIENT DATA state.

" + "documentation": "

The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately. If you are creating an alarm based on a metric math expression, you can specify the unit for each metric (if needed) within the objects in the Metrics array.

If you don't specify Unit, CloudWatch retrieves all unit types that have been published for the metric and attempts to evaluate the alarm. Usually, metrics are published with only one unit, so the alarm works as intended.

However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's behavior is not defined and it behaves unpredictably.

We recommend omitting Unit so that you don't inadvertently specify an incorrect unit that is not published for this metric. Doing so causes the alarm to be stuck in the INSUFFICIENT DATA state.

" }, "EvaluationPeriods": { "shape": "EvaluationPeriods", @@ -3568,7 +3569,7 @@ }, "Metrics": { "shape": "MetricDataQueries", - "documentation": "

An array of MetricDataQuery structures that enable you to create an alarm based on the result of a metric math expression. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array.

Each item in the Metrics array either retrieves a metric or performs a math expression.

One item in the Metrics array is the expression that the alarm watches. You designate this expression by setting ReturnData to true for this object in the array. For more information, see MetricDataQuery.

If you use the Metrics parameter, you cannot include the MetricName, Dimensions, Period, Namespace, Statistic, or ExtendedStatistic parameters of PutMetricAlarm in the same operation. Instead, you retrieve the metrics you are using in your math expression as part of the Metrics array.

" + "documentation": "

An array of MetricDataQuery structures that enable you to create an alarm based on the result of a metric math expression. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array.

Each item in the Metrics array either retrieves a metric or performs a math expression.

One item in the Metrics array is the expression that the alarm watches. You designate this expression by setting ReturnData to true for this object in the array. For more information, see MetricDataQuery.

If you use the Metrics parameter, you cannot include the Namespace, MetricName, Dimensions, Period, Unit, Statistic, or ExtendedStatistic parameters of PutMetricAlarm in the same operation. Instead, you retrieve the metrics you are using in your math expression as part of the Metrics array.

" }, "Tags": { "shape": "TagList", @@ -3628,7 +3629,7 @@ }, "OutputFormat": { "shape": "MetricStreamOutputFormat", - "documentation": "

The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

" + "documentation": "

The output format for the stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.

" }, "Tags": { "shape": "TagList", @@ -3636,7 +3637,7 @@ }, "StatisticsConfigurations": { "shape": "MetricStreamStatisticsConfigurations", - "documentation": "

By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.

For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's OutputFormat. If the OutputFormat is json, you can stream any additional statistic that is supported by CloudWatch, listed in CloudWatch statistics definitions. If the OutputFormat is opentelemetry0.7, you can stream percentile statistics such as p95, p99.9, and so on.

" + "documentation": "

By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.

For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's OutputFormat. If the OutputFormat is json, you can stream any additional statistic that is supported by CloudWatch, listed in CloudWatch statistics definitions. If the OutputFormat is opentelemetry1.0 or opentelemetry0.7, you can stream percentile statistics such as p95, p99.9, and so on.

" }, "IncludeLinkedAccountsMetrics": { "shape": "IncludeLinkedAccountsMetrics", diff --git a/clients/cloudwatch.d.ts b/clients/cloudwatch.d.ts index 5f2919de9d..c2eeb0b823 100644 --- a/clients/cloudwatch.d.ts +++ b/clients/cloudwatch.d.ts @@ -1116,7 +1116,7 @@ declare namespace CloudWatch { */ LastUpdateDate?: Timestamp; /** - * The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats. + * The output format for the stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats. */ OutputFormat?: MetricStreamOutputFormat; /** @@ -1720,7 +1720,7 @@ declare namespace CloudWatch { */ State?: MetricStreamState; /** - * The output format of this metric stream. Valid values are json and opentelemetry0.7. + * The output format of this metric stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. */ OutputFormat?: MetricStreamOutputFormat; } @@ -1738,7 +1738,7 @@ declare namespace CloudWatch { export type MetricStreamFilters = MetricStreamFilter[]; export type MetricStreamName = string; export type MetricStreamNames = MetricStreamName[]; - export type MetricStreamOutputFormat = "json"|"opentelemetry0.7"|string; + export type MetricStreamOutputFormat = "json"|"opentelemetry0.7"|"opentelemetry1.0"|string; export type MetricStreamState = string; export type MetricStreamStatistic = string; export type MetricStreamStatisticsAdditionalStatistics = MetricStreamStatistic[]; @@ -1748,7 +1748,7 @@ declare namespace CloudWatch { */ IncludeMetrics: MetricStreamStatisticsIncludeMetrics; /** - * The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics. If the OutputFormat for the stream is opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on. If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on. + * The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics. If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on. If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on. */ AdditionalStatistics: MetricStreamStatisticsAdditionalStatistics; } @@ -1942,7 +1942,7 @@ declare namespace CloudWatch { */ InsufficientDataActions?: ResourceList; /** - * The name for the metric associated with the alarm. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array. If you are creating an alarm based on a math expression, you cannot specify this parameter, or any of the Dimensions, Period, Namespace, Statistic, or ExtendedStatistic parameters. Instead, you specify all this information in the Metrics array. + * The name for the metric associated with the alarm. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array. If you are creating an alarm based on a math expression, you cannot specify this parameter, or any of the Namespace, Dimensions, Period, Unit, Statistic, or ExtendedStatistic parameters. Instead, you specify all this information in the Metrics array. */ MetricName?: MetricName; /** @@ -1966,7 +1966,7 @@ declare namespace CloudWatch { */ Period?: Period; /** - * The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately. If you don't specify Unit, CloudWatch retrieves all unit types that have been published for the metric and attempts to evaluate the alarm. Usually, metrics are published with only one unit, so the alarm works as intended. However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's behavior is not defined and it behaves unpredictably. We recommend omitting Unit so that you don't inadvertently specify an incorrect unit that is not published for this metric. Doing so causes the alarm to be stuck in the INSUFFICIENT DATA state. + * The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately. If you are creating an alarm based on a metric math expression, you can specify the unit for each metric (if needed) within the objects in the Metrics array. If you don't specify Unit, CloudWatch retrieves all unit types that have been published for the metric and attempts to evaluate the alarm. Usually, metrics are published with only one unit, so the alarm works as intended. However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's behavior is not defined and it behaves unpredictably. We recommend omitting Unit so that you don't inadvertently specify an incorrect unit that is not published for this metric. Doing so causes the alarm to be stuck in the INSUFFICIENT DATA state. */ Unit?: StandardUnit; /** @@ -1994,7 +1994,7 @@ declare namespace CloudWatch { */ EvaluateLowSampleCountPercentile?: EvaluateLowSampleCountPercentile; /** - * An array of MetricDataQuery structures that enable you to create an alarm based on the result of a metric math expression. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array. Each item in the Metrics array either retrieves a metric or performs a math expression. One item in the Metrics array is the expression that the alarm watches. You designate this expression by setting ReturnData to true for this object in the array. For more information, see MetricDataQuery. If you use the Metrics parameter, you cannot include the MetricName, Dimensions, Period, Namespace, Statistic, or ExtendedStatistic parameters of PutMetricAlarm in the same operation. Instead, you retrieve the metrics you are using in your math expression as part of the Metrics array. + * An array of MetricDataQuery structures that enable you to create an alarm based on the result of a metric math expression. For each PutMetricAlarm operation, you must specify either MetricName or a Metrics array. Each item in the Metrics array either retrieves a metric or performs a math expression. One item in the Metrics array is the expression that the alarm watches. You designate this expression by setting ReturnData to true for this object in the array. For more information, see MetricDataQuery. If you use the Metrics parameter, you cannot include the Namespace, MetricName, Dimensions, Period, Unit, Statistic, or ExtendedStatistic parameters of PutMetricAlarm in the same operation. Instead, you retrieve the metrics you are using in your math expression as part of the Metrics array. */ Metrics?: MetricDataQueries; /** @@ -2038,7 +2038,7 @@ declare namespace CloudWatch { */ RoleArn: AmazonResourceName; /** - * The output format for the stream. Valid values are json and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats. + * The output format for the stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats. */ OutputFormat: MetricStreamOutputFormat; /** @@ -2046,7 +2046,7 @@ declare namespace CloudWatch { */ Tags?: TagList; /** - * By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members. For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's OutputFormat. If the OutputFormat is json, you can stream any additional statistic that is supported by CloudWatch, listed in CloudWatch statistics definitions. If the OutputFormat is opentelemetry0.7, you can stream percentile statistics such as p95, p99.9, and so on. + * By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members. For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's OutputFormat. If the OutputFormat is json, you can stream any additional statistic that is supported by CloudWatch, listed in CloudWatch statistics definitions. If the OutputFormat is opentelemetry1.0 or opentelemetry0.7, you can stream percentile statistics such as p95, p99.9, and so on. */ StatisticsConfigurations?: MetricStreamStatisticsConfigurations; /** diff --git a/clients/ec2.d.ts b/clients/ec2.d.ts index 75422842ce..cee47d8df8 100644 --- a/clients/ec2.d.ts +++ b/clients/ec2.d.ts @@ -25091,7 +25091,7 @@ declare namespace EC2 { */ ZoneId?: String; } - export type InstanceType = "a1.medium"|"a1.large"|"a1.xlarge"|"a1.2xlarge"|"a1.4xlarge"|"a1.metal"|"c1.medium"|"c1.xlarge"|"c3.large"|"c3.xlarge"|"c3.2xlarge"|"c3.4xlarge"|"c3.8xlarge"|"c4.large"|"c4.xlarge"|"c4.2xlarge"|"c4.4xlarge"|"c4.8xlarge"|"c5.large"|"c5.xlarge"|"c5.2xlarge"|"c5.4xlarge"|"c5.9xlarge"|"c5.12xlarge"|"c5.18xlarge"|"c5.24xlarge"|"c5.metal"|"c5a.large"|"c5a.xlarge"|"c5a.2xlarge"|"c5a.4xlarge"|"c5a.8xlarge"|"c5a.12xlarge"|"c5a.16xlarge"|"c5a.24xlarge"|"c5ad.large"|"c5ad.xlarge"|"c5ad.2xlarge"|"c5ad.4xlarge"|"c5ad.8xlarge"|"c5ad.12xlarge"|"c5ad.16xlarge"|"c5ad.24xlarge"|"c5d.large"|"c5d.xlarge"|"c5d.2xlarge"|"c5d.4xlarge"|"c5d.9xlarge"|"c5d.12xlarge"|"c5d.18xlarge"|"c5d.24xlarge"|"c5d.metal"|"c5n.large"|"c5n.xlarge"|"c5n.2xlarge"|"c5n.4xlarge"|"c5n.9xlarge"|"c5n.18xlarge"|"c5n.metal"|"c6g.medium"|"c6g.large"|"c6g.xlarge"|"c6g.2xlarge"|"c6g.4xlarge"|"c6g.8xlarge"|"c6g.12xlarge"|"c6g.16xlarge"|"c6g.metal"|"c6gd.medium"|"c6gd.large"|"c6gd.xlarge"|"c6gd.2xlarge"|"c6gd.4xlarge"|"c6gd.8xlarge"|"c6gd.12xlarge"|"c6gd.16xlarge"|"c6gd.metal"|"c6gn.medium"|"c6gn.large"|"c6gn.xlarge"|"c6gn.2xlarge"|"c6gn.4xlarge"|"c6gn.8xlarge"|"c6gn.12xlarge"|"c6gn.16xlarge"|"c6i.large"|"c6i.xlarge"|"c6i.2xlarge"|"c6i.4xlarge"|"c6i.8xlarge"|"c6i.12xlarge"|"c6i.16xlarge"|"c6i.24xlarge"|"c6i.32xlarge"|"c6i.metal"|"cc1.4xlarge"|"cc2.8xlarge"|"cg1.4xlarge"|"cr1.8xlarge"|"d2.xlarge"|"d2.2xlarge"|"d2.4xlarge"|"d2.8xlarge"|"d3.xlarge"|"d3.2xlarge"|"d3.4xlarge"|"d3.8xlarge"|"d3en.xlarge"|"d3en.2xlarge"|"d3en.4xlarge"|"d3en.6xlarge"|"d3en.8xlarge"|"d3en.12xlarge"|"dl1.24xlarge"|"f1.2xlarge"|"f1.4xlarge"|"f1.16xlarge"|"g2.2xlarge"|"g2.8xlarge"|"g3.4xlarge"|"g3.8xlarge"|"g3.16xlarge"|"g3s.xlarge"|"g4ad.xlarge"|"g4ad.2xlarge"|"g4ad.4xlarge"|"g4ad.8xlarge"|"g4ad.16xlarge"|"g4dn.xlarge"|"g4dn.2xlarge"|"g4dn.4xlarge"|"g4dn.8xlarge"|"g4dn.12xlarge"|"g4dn.16xlarge"|"g4dn.metal"|"g5.xlarge"|"g5.2xlarge"|"g5.4xlarge"|"g5.8xlarge"|"g5.12xlarge"|"g5.16xlarge"|"g5.24xlarge"|"g5.48xlarge"|"g5g.xlarge"|"g5g.2xlarge"|"g5g.4xlarge"|"g5g.8xlarge"|"g5g.16xlarge"|"g5g.metal"|"hi1.4xlarge"|"hpc6a.48xlarge"|"hs1.8xlarge"|"h1.2xlarge"|"h1.4xlarge"|"h1.8xlarge"|"h1.16xlarge"|"i2.xlarge"|"i2.2xlarge"|"i2.4xlarge"|"i2.8xlarge"|"i3.large"|"i3.xlarge"|"i3.2xlarge"|"i3.4xlarge"|"i3.8xlarge"|"i3.16xlarge"|"i3.metal"|"i3en.large"|"i3en.xlarge"|"i3en.2xlarge"|"i3en.3xlarge"|"i3en.6xlarge"|"i3en.12xlarge"|"i3en.24xlarge"|"i3en.metal"|"im4gn.large"|"im4gn.xlarge"|"im4gn.2xlarge"|"im4gn.4xlarge"|"im4gn.8xlarge"|"im4gn.16xlarge"|"inf1.xlarge"|"inf1.2xlarge"|"inf1.6xlarge"|"inf1.24xlarge"|"is4gen.medium"|"is4gen.large"|"is4gen.xlarge"|"is4gen.2xlarge"|"is4gen.4xlarge"|"is4gen.8xlarge"|"m1.small"|"m1.medium"|"m1.large"|"m1.xlarge"|"m2.xlarge"|"m2.2xlarge"|"m2.4xlarge"|"m3.medium"|"m3.large"|"m3.xlarge"|"m3.2xlarge"|"m4.large"|"m4.xlarge"|"m4.2xlarge"|"m4.4xlarge"|"m4.10xlarge"|"m4.16xlarge"|"m5.large"|"m5.xlarge"|"m5.2xlarge"|"m5.4xlarge"|"m5.8xlarge"|"m5.12xlarge"|"m5.16xlarge"|"m5.24xlarge"|"m5.metal"|"m5a.large"|"m5a.xlarge"|"m5a.2xlarge"|"m5a.4xlarge"|"m5a.8xlarge"|"m5a.12xlarge"|"m5a.16xlarge"|"m5a.24xlarge"|"m5ad.large"|"m5ad.xlarge"|"m5ad.2xlarge"|"m5ad.4xlarge"|"m5ad.8xlarge"|"m5ad.12xlarge"|"m5ad.16xlarge"|"m5ad.24xlarge"|"m5d.large"|"m5d.xlarge"|"m5d.2xlarge"|"m5d.4xlarge"|"m5d.8xlarge"|"m5d.12xlarge"|"m5d.16xlarge"|"m5d.24xlarge"|"m5d.metal"|"m5dn.large"|"m5dn.xlarge"|"m5dn.2xlarge"|"m5dn.4xlarge"|"m5dn.8xlarge"|"m5dn.12xlarge"|"m5dn.16xlarge"|"m5dn.24xlarge"|"m5dn.metal"|"m5n.large"|"m5n.xlarge"|"m5n.2xlarge"|"m5n.4xlarge"|"m5n.8xlarge"|"m5n.12xlarge"|"m5n.16xlarge"|"m5n.24xlarge"|"m5n.metal"|"m5zn.large"|"m5zn.xlarge"|"m5zn.2xlarge"|"m5zn.3xlarge"|"m5zn.6xlarge"|"m5zn.12xlarge"|"m5zn.metal"|"m6a.large"|"m6a.xlarge"|"m6a.2xlarge"|"m6a.4xlarge"|"m6a.8xlarge"|"m6a.12xlarge"|"m6a.16xlarge"|"m6a.24xlarge"|"m6a.32xlarge"|"m6a.48xlarge"|"m6g.metal"|"m6g.medium"|"m6g.large"|"m6g.xlarge"|"m6g.2xlarge"|"m6g.4xlarge"|"m6g.8xlarge"|"m6g.12xlarge"|"m6g.16xlarge"|"m6gd.metal"|"m6gd.medium"|"m6gd.large"|"m6gd.xlarge"|"m6gd.2xlarge"|"m6gd.4xlarge"|"m6gd.8xlarge"|"m6gd.12xlarge"|"m6gd.16xlarge"|"m6i.large"|"m6i.xlarge"|"m6i.2xlarge"|"m6i.4xlarge"|"m6i.8xlarge"|"m6i.12xlarge"|"m6i.16xlarge"|"m6i.24xlarge"|"m6i.32xlarge"|"m6i.metal"|"mac1.metal"|"p2.xlarge"|"p2.8xlarge"|"p2.16xlarge"|"p3.2xlarge"|"p3.8xlarge"|"p3.16xlarge"|"p3dn.24xlarge"|"p4d.24xlarge"|"r3.large"|"r3.xlarge"|"r3.2xlarge"|"r3.4xlarge"|"r3.8xlarge"|"r4.large"|"r4.xlarge"|"r4.2xlarge"|"r4.4xlarge"|"r4.8xlarge"|"r4.16xlarge"|"r5.large"|"r5.xlarge"|"r5.2xlarge"|"r5.4xlarge"|"r5.8xlarge"|"r5.12xlarge"|"r5.16xlarge"|"r5.24xlarge"|"r5.metal"|"r5a.large"|"r5a.xlarge"|"r5a.2xlarge"|"r5a.4xlarge"|"r5a.8xlarge"|"r5a.12xlarge"|"r5a.16xlarge"|"r5a.24xlarge"|"r5ad.large"|"r5ad.xlarge"|"r5ad.2xlarge"|"r5ad.4xlarge"|"r5ad.8xlarge"|"r5ad.12xlarge"|"r5ad.16xlarge"|"r5ad.24xlarge"|"r5b.large"|"r5b.xlarge"|"r5b.2xlarge"|"r5b.4xlarge"|"r5b.8xlarge"|"r5b.12xlarge"|"r5b.16xlarge"|"r5b.24xlarge"|"r5b.metal"|"r5d.large"|"r5d.xlarge"|"r5d.2xlarge"|"r5d.4xlarge"|"r5d.8xlarge"|"r5d.12xlarge"|"r5d.16xlarge"|"r5d.24xlarge"|"r5d.metal"|"r5dn.large"|"r5dn.xlarge"|"r5dn.2xlarge"|"r5dn.4xlarge"|"r5dn.8xlarge"|"r5dn.12xlarge"|"r5dn.16xlarge"|"r5dn.24xlarge"|"r5dn.metal"|"r5n.large"|"r5n.xlarge"|"r5n.2xlarge"|"r5n.4xlarge"|"r5n.8xlarge"|"r5n.12xlarge"|"r5n.16xlarge"|"r5n.24xlarge"|"r5n.metal"|"r6g.medium"|"r6g.large"|"r6g.xlarge"|"r6g.2xlarge"|"r6g.4xlarge"|"r6g.8xlarge"|"r6g.12xlarge"|"r6g.16xlarge"|"r6g.metal"|"r6gd.medium"|"r6gd.large"|"r6gd.xlarge"|"r6gd.2xlarge"|"r6gd.4xlarge"|"r6gd.8xlarge"|"r6gd.12xlarge"|"r6gd.16xlarge"|"r6gd.metal"|"r6i.large"|"r6i.xlarge"|"r6i.2xlarge"|"r6i.4xlarge"|"r6i.8xlarge"|"r6i.12xlarge"|"r6i.16xlarge"|"r6i.24xlarge"|"r6i.32xlarge"|"r6i.metal"|"t1.micro"|"t2.nano"|"t2.micro"|"t2.small"|"t2.medium"|"t2.large"|"t2.xlarge"|"t2.2xlarge"|"t3.nano"|"t3.micro"|"t3.small"|"t3.medium"|"t3.large"|"t3.xlarge"|"t3.2xlarge"|"t3a.nano"|"t3a.micro"|"t3a.small"|"t3a.medium"|"t3a.large"|"t3a.xlarge"|"t3a.2xlarge"|"t4g.nano"|"t4g.micro"|"t4g.small"|"t4g.medium"|"t4g.large"|"t4g.xlarge"|"t4g.2xlarge"|"u-6tb1.56xlarge"|"u-6tb1.112xlarge"|"u-9tb1.112xlarge"|"u-12tb1.112xlarge"|"u-6tb1.metal"|"u-9tb1.metal"|"u-12tb1.metal"|"u-18tb1.metal"|"u-24tb1.metal"|"vt1.3xlarge"|"vt1.6xlarge"|"vt1.24xlarge"|"x1.16xlarge"|"x1.32xlarge"|"x1e.xlarge"|"x1e.2xlarge"|"x1e.4xlarge"|"x1e.8xlarge"|"x1e.16xlarge"|"x1e.32xlarge"|"x2iezn.2xlarge"|"x2iezn.4xlarge"|"x2iezn.6xlarge"|"x2iezn.8xlarge"|"x2iezn.12xlarge"|"x2iezn.metal"|"x2gd.medium"|"x2gd.large"|"x2gd.xlarge"|"x2gd.2xlarge"|"x2gd.4xlarge"|"x2gd.8xlarge"|"x2gd.12xlarge"|"x2gd.16xlarge"|"x2gd.metal"|"z1d.large"|"z1d.xlarge"|"z1d.2xlarge"|"z1d.3xlarge"|"z1d.6xlarge"|"z1d.12xlarge"|"z1d.metal"|"x2idn.16xlarge"|"x2idn.24xlarge"|"x2idn.32xlarge"|"x2iedn.xlarge"|"x2iedn.2xlarge"|"x2iedn.4xlarge"|"x2iedn.8xlarge"|"x2iedn.16xlarge"|"x2iedn.24xlarge"|"x2iedn.32xlarge"|"c6a.large"|"c6a.xlarge"|"c6a.2xlarge"|"c6a.4xlarge"|"c6a.8xlarge"|"c6a.12xlarge"|"c6a.16xlarge"|"c6a.24xlarge"|"c6a.32xlarge"|"c6a.48xlarge"|"c6a.metal"|"m6a.metal"|"i4i.large"|"i4i.xlarge"|"i4i.2xlarge"|"i4i.4xlarge"|"i4i.8xlarge"|"i4i.16xlarge"|"i4i.32xlarge"|"i4i.metal"|"x2idn.metal"|"x2iedn.metal"|"c7g.medium"|"c7g.large"|"c7g.xlarge"|"c7g.2xlarge"|"c7g.4xlarge"|"c7g.8xlarge"|"c7g.12xlarge"|"c7g.16xlarge"|"mac2.metal"|"c6id.large"|"c6id.xlarge"|"c6id.2xlarge"|"c6id.4xlarge"|"c6id.8xlarge"|"c6id.12xlarge"|"c6id.16xlarge"|"c6id.24xlarge"|"c6id.32xlarge"|"c6id.metal"|"m6id.large"|"m6id.xlarge"|"m6id.2xlarge"|"m6id.4xlarge"|"m6id.8xlarge"|"m6id.12xlarge"|"m6id.16xlarge"|"m6id.24xlarge"|"m6id.32xlarge"|"m6id.metal"|"r6id.large"|"r6id.xlarge"|"r6id.2xlarge"|"r6id.4xlarge"|"r6id.8xlarge"|"r6id.12xlarge"|"r6id.16xlarge"|"r6id.24xlarge"|"r6id.32xlarge"|"r6id.metal"|"r6a.large"|"r6a.xlarge"|"r6a.2xlarge"|"r6a.4xlarge"|"r6a.8xlarge"|"r6a.12xlarge"|"r6a.16xlarge"|"r6a.24xlarge"|"r6a.32xlarge"|"r6a.48xlarge"|"r6a.metal"|"p4de.24xlarge"|"u-3tb1.56xlarge"|"u-18tb1.112xlarge"|"u-24tb1.112xlarge"|"trn1.2xlarge"|"trn1.32xlarge"|"hpc6id.32xlarge"|"c6in.large"|"c6in.xlarge"|"c6in.2xlarge"|"c6in.4xlarge"|"c6in.8xlarge"|"c6in.12xlarge"|"c6in.16xlarge"|"c6in.24xlarge"|"c6in.32xlarge"|"m6in.large"|"m6in.xlarge"|"m6in.2xlarge"|"m6in.4xlarge"|"m6in.8xlarge"|"m6in.12xlarge"|"m6in.16xlarge"|"m6in.24xlarge"|"m6in.32xlarge"|"m6idn.large"|"m6idn.xlarge"|"m6idn.2xlarge"|"m6idn.4xlarge"|"m6idn.8xlarge"|"m6idn.12xlarge"|"m6idn.16xlarge"|"m6idn.24xlarge"|"m6idn.32xlarge"|"r6in.large"|"r6in.xlarge"|"r6in.2xlarge"|"r6in.4xlarge"|"r6in.8xlarge"|"r6in.12xlarge"|"r6in.16xlarge"|"r6in.24xlarge"|"r6in.32xlarge"|"r6idn.large"|"r6idn.xlarge"|"r6idn.2xlarge"|"r6idn.4xlarge"|"r6idn.8xlarge"|"r6idn.12xlarge"|"r6idn.16xlarge"|"r6idn.24xlarge"|"r6idn.32xlarge"|"c7g.metal"|"m7g.medium"|"m7g.large"|"m7g.xlarge"|"m7g.2xlarge"|"m7g.4xlarge"|"m7g.8xlarge"|"m7g.12xlarge"|"m7g.16xlarge"|"m7g.metal"|"r7g.medium"|"r7g.large"|"r7g.xlarge"|"r7g.2xlarge"|"r7g.4xlarge"|"r7g.8xlarge"|"r7g.12xlarge"|"r7g.16xlarge"|"r7g.metal"|"c6in.metal"|"m6in.metal"|"m6idn.metal"|"r6in.metal"|"r6idn.metal"|"inf2.xlarge"|"inf2.8xlarge"|"inf2.24xlarge"|"inf2.48xlarge"|"trn1n.32xlarge"|"i4g.large"|"i4g.xlarge"|"i4g.2xlarge"|"i4g.4xlarge"|"i4g.8xlarge"|"i4g.16xlarge"|"hpc7g.4xlarge"|"hpc7g.8xlarge"|"hpc7g.16xlarge"|"c7gn.medium"|"c7gn.large"|"c7gn.xlarge"|"c7gn.2xlarge"|"c7gn.4xlarge"|"c7gn.8xlarge"|"c7gn.12xlarge"|"c7gn.16xlarge"|"p5.48xlarge"|"m7i.large"|"m7i.xlarge"|"m7i.2xlarge"|"m7i.4xlarge"|"m7i.8xlarge"|"m7i.12xlarge"|"m7i.16xlarge"|"m7i.24xlarge"|"m7i.48xlarge"|"m7i-flex.large"|"m7i-flex.xlarge"|"m7i-flex.2xlarge"|"m7i-flex.4xlarge"|"m7i-flex.8xlarge"|"m7a.medium"|"m7a.large"|"m7a.xlarge"|"m7a.2xlarge"|"m7a.4xlarge"|"m7a.8xlarge"|"m7a.12xlarge"|"m7a.16xlarge"|"m7a.24xlarge"|"m7a.32xlarge"|"m7a.48xlarge"|"m7a.metal-48xl"|"hpc7a.12xlarge"|"hpc7a.24xlarge"|"hpc7a.48xlarge"|"hpc7a.96xlarge"|"c7gd.medium"|"c7gd.large"|"c7gd.xlarge"|"c7gd.2xlarge"|"c7gd.4xlarge"|"c7gd.8xlarge"|"c7gd.12xlarge"|"c7gd.16xlarge"|"m7gd.medium"|"m7gd.large"|"m7gd.xlarge"|"m7gd.2xlarge"|"m7gd.4xlarge"|"m7gd.8xlarge"|"m7gd.12xlarge"|"m7gd.16xlarge"|"r7gd.medium"|"r7gd.large"|"r7gd.xlarge"|"r7gd.2xlarge"|"r7gd.4xlarge"|"r7gd.8xlarge"|"r7gd.12xlarge"|"r7gd.16xlarge"|"r7a.medium"|"r7a.large"|"r7a.xlarge"|"r7a.2xlarge"|"r7a.4xlarge"|"r7a.8xlarge"|"r7a.12xlarge"|"r7a.16xlarge"|"r7a.24xlarge"|"r7a.32xlarge"|"r7a.48xlarge"|"c7i.large"|"c7i.xlarge"|"c7i.2xlarge"|"c7i.4xlarge"|"c7i.8xlarge"|"c7i.12xlarge"|"c7i.16xlarge"|"c7i.24xlarge"|"c7i.48xlarge"|"mac2-m2pro.metal"|"r7iz.large"|"r7iz.xlarge"|"r7iz.2xlarge"|"r7iz.4xlarge"|"r7iz.8xlarge"|"r7iz.12xlarge"|"r7iz.16xlarge"|"r7iz.32xlarge"|"c7a.medium"|"c7a.large"|"c7a.xlarge"|"c7a.2xlarge"|"c7a.4xlarge"|"c7a.8xlarge"|"c7a.12xlarge"|"c7a.16xlarge"|"c7a.24xlarge"|"c7a.32xlarge"|"c7a.48xlarge"|"c7a.metal-48xl"|"r7a.metal-48xl"|"r7i.large"|"r7i.xlarge"|"r7i.2xlarge"|"r7i.4xlarge"|"r7i.8xlarge"|"r7i.12xlarge"|"r7i.16xlarge"|"r7i.24xlarge"|"r7i.48xlarge"|"dl2q.24xlarge"|string; + export type InstanceType = "a1.medium"|"a1.large"|"a1.xlarge"|"a1.2xlarge"|"a1.4xlarge"|"a1.metal"|"c1.medium"|"c1.xlarge"|"c3.large"|"c3.xlarge"|"c3.2xlarge"|"c3.4xlarge"|"c3.8xlarge"|"c4.large"|"c4.xlarge"|"c4.2xlarge"|"c4.4xlarge"|"c4.8xlarge"|"c5.large"|"c5.xlarge"|"c5.2xlarge"|"c5.4xlarge"|"c5.9xlarge"|"c5.12xlarge"|"c5.18xlarge"|"c5.24xlarge"|"c5.metal"|"c5a.large"|"c5a.xlarge"|"c5a.2xlarge"|"c5a.4xlarge"|"c5a.8xlarge"|"c5a.12xlarge"|"c5a.16xlarge"|"c5a.24xlarge"|"c5ad.large"|"c5ad.xlarge"|"c5ad.2xlarge"|"c5ad.4xlarge"|"c5ad.8xlarge"|"c5ad.12xlarge"|"c5ad.16xlarge"|"c5ad.24xlarge"|"c5d.large"|"c5d.xlarge"|"c5d.2xlarge"|"c5d.4xlarge"|"c5d.9xlarge"|"c5d.12xlarge"|"c5d.18xlarge"|"c5d.24xlarge"|"c5d.metal"|"c5n.large"|"c5n.xlarge"|"c5n.2xlarge"|"c5n.4xlarge"|"c5n.9xlarge"|"c5n.18xlarge"|"c5n.metal"|"c6g.medium"|"c6g.large"|"c6g.xlarge"|"c6g.2xlarge"|"c6g.4xlarge"|"c6g.8xlarge"|"c6g.12xlarge"|"c6g.16xlarge"|"c6g.metal"|"c6gd.medium"|"c6gd.large"|"c6gd.xlarge"|"c6gd.2xlarge"|"c6gd.4xlarge"|"c6gd.8xlarge"|"c6gd.12xlarge"|"c6gd.16xlarge"|"c6gd.metal"|"c6gn.medium"|"c6gn.large"|"c6gn.xlarge"|"c6gn.2xlarge"|"c6gn.4xlarge"|"c6gn.8xlarge"|"c6gn.12xlarge"|"c6gn.16xlarge"|"c6i.large"|"c6i.xlarge"|"c6i.2xlarge"|"c6i.4xlarge"|"c6i.8xlarge"|"c6i.12xlarge"|"c6i.16xlarge"|"c6i.24xlarge"|"c6i.32xlarge"|"c6i.metal"|"cc1.4xlarge"|"cc2.8xlarge"|"cg1.4xlarge"|"cr1.8xlarge"|"d2.xlarge"|"d2.2xlarge"|"d2.4xlarge"|"d2.8xlarge"|"d3.xlarge"|"d3.2xlarge"|"d3.4xlarge"|"d3.8xlarge"|"d3en.xlarge"|"d3en.2xlarge"|"d3en.4xlarge"|"d3en.6xlarge"|"d3en.8xlarge"|"d3en.12xlarge"|"dl1.24xlarge"|"f1.2xlarge"|"f1.4xlarge"|"f1.16xlarge"|"g2.2xlarge"|"g2.8xlarge"|"g3.4xlarge"|"g3.8xlarge"|"g3.16xlarge"|"g3s.xlarge"|"g4ad.xlarge"|"g4ad.2xlarge"|"g4ad.4xlarge"|"g4ad.8xlarge"|"g4ad.16xlarge"|"g4dn.xlarge"|"g4dn.2xlarge"|"g4dn.4xlarge"|"g4dn.8xlarge"|"g4dn.12xlarge"|"g4dn.16xlarge"|"g4dn.metal"|"g5.xlarge"|"g5.2xlarge"|"g5.4xlarge"|"g5.8xlarge"|"g5.12xlarge"|"g5.16xlarge"|"g5.24xlarge"|"g5.48xlarge"|"g5g.xlarge"|"g5g.2xlarge"|"g5g.4xlarge"|"g5g.8xlarge"|"g5g.16xlarge"|"g5g.metal"|"hi1.4xlarge"|"hpc6a.48xlarge"|"hs1.8xlarge"|"h1.2xlarge"|"h1.4xlarge"|"h1.8xlarge"|"h1.16xlarge"|"i2.xlarge"|"i2.2xlarge"|"i2.4xlarge"|"i2.8xlarge"|"i3.large"|"i3.xlarge"|"i3.2xlarge"|"i3.4xlarge"|"i3.8xlarge"|"i3.16xlarge"|"i3.metal"|"i3en.large"|"i3en.xlarge"|"i3en.2xlarge"|"i3en.3xlarge"|"i3en.6xlarge"|"i3en.12xlarge"|"i3en.24xlarge"|"i3en.metal"|"im4gn.large"|"im4gn.xlarge"|"im4gn.2xlarge"|"im4gn.4xlarge"|"im4gn.8xlarge"|"im4gn.16xlarge"|"inf1.xlarge"|"inf1.2xlarge"|"inf1.6xlarge"|"inf1.24xlarge"|"is4gen.medium"|"is4gen.large"|"is4gen.xlarge"|"is4gen.2xlarge"|"is4gen.4xlarge"|"is4gen.8xlarge"|"m1.small"|"m1.medium"|"m1.large"|"m1.xlarge"|"m2.xlarge"|"m2.2xlarge"|"m2.4xlarge"|"m3.medium"|"m3.large"|"m3.xlarge"|"m3.2xlarge"|"m4.large"|"m4.xlarge"|"m4.2xlarge"|"m4.4xlarge"|"m4.10xlarge"|"m4.16xlarge"|"m5.large"|"m5.xlarge"|"m5.2xlarge"|"m5.4xlarge"|"m5.8xlarge"|"m5.12xlarge"|"m5.16xlarge"|"m5.24xlarge"|"m5.metal"|"m5a.large"|"m5a.xlarge"|"m5a.2xlarge"|"m5a.4xlarge"|"m5a.8xlarge"|"m5a.12xlarge"|"m5a.16xlarge"|"m5a.24xlarge"|"m5ad.large"|"m5ad.xlarge"|"m5ad.2xlarge"|"m5ad.4xlarge"|"m5ad.8xlarge"|"m5ad.12xlarge"|"m5ad.16xlarge"|"m5ad.24xlarge"|"m5d.large"|"m5d.xlarge"|"m5d.2xlarge"|"m5d.4xlarge"|"m5d.8xlarge"|"m5d.12xlarge"|"m5d.16xlarge"|"m5d.24xlarge"|"m5d.metal"|"m5dn.large"|"m5dn.xlarge"|"m5dn.2xlarge"|"m5dn.4xlarge"|"m5dn.8xlarge"|"m5dn.12xlarge"|"m5dn.16xlarge"|"m5dn.24xlarge"|"m5dn.metal"|"m5n.large"|"m5n.xlarge"|"m5n.2xlarge"|"m5n.4xlarge"|"m5n.8xlarge"|"m5n.12xlarge"|"m5n.16xlarge"|"m5n.24xlarge"|"m5n.metal"|"m5zn.large"|"m5zn.xlarge"|"m5zn.2xlarge"|"m5zn.3xlarge"|"m5zn.6xlarge"|"m5zn.12xlarge"|"m5zn.metal"|"m6a.large"|"m6a.xlarge"|"m6a.2xlarge"|"m6a.4xlarge"|"m6a.8xlarge"|"m6a.12xlarge"|"m6a.16xlarge"|"m6a.24xlarge"|"m6a.32xlarge"|"m6a.48xlarge"|"m6g.metal"|"m6g.medium"|"m6g.large"|"m6g.xlarge"|"m6g.2xlarge"|"m6g.4xlarge"|"m6g.8xlarge"|"m6g.12xlarge"|"m6g.16xlarge"|"m6gd.metal"|"m6gd.medium"|"m6gd.large"|"m6gd.xlarge"|"m6gd.2xlarge"|"m6gd.4xlarge"|"m6gd.8xlarge"|"m6gd.12xlarge"|"m6gd.16xlarge"|"m6i.large"|"m6i.xlarge"|"m6i.2xlarge"|"m6i.4xlarge"|"m6i.8xlarge"|"m6i.12xlarge"|"m6i.16xlarge"|"m6i.24xlarge"|"m6i.32xlarge"|"m6i.metal"|"mac1.metal"|"p2.xlarge"|"p2.8xlarge"|"p2.16xlarge"|"p3.2xlarge"|"p3.8xlarge"|"p3.16xlarge"|"p3dn.24xlarge"|"p4d.24xlarge"|"r3.large"|"r3.xlarge"|"r3.2xlarge"|"r3.4xlarge"|"r3.8xlarge"|"r4.large"|"r4.xlarge"|"r4.2xlarge"|"r4.4xlarge"|"r4.8xlarge"|"r4.16xlarge"|"r5.large"|"r5.xlarge"|"r5.2xlarge"|"r5.4xlarge"|"r5.8xlarge"|"r5.12xlarge"|"r5.16xlarge"|"r5.24xlarge"|"r5.metal"|"r5a.large"|"r5a.xlarge"|"r5a.2xlarge"|"r5a.4xlarge"|"r5a.8xlarge"|"r5a.12xlarge"|"r5a.16xlarge"|"r5a.24xlarge"|"r5ad.large"|"r5ad.xlarge"|"r5ad.2xlarge"|"r5ad.4xlarge"|"r5ad.8xlarge"|"r5ad.12xlarge"|"r5ad.16xlarge"|"r5ad.24xlarge"|"r5b.large"|"r5b.xlarge"|"r5b.2xlarge"|"r5b.4xlarge"|"r5b.8xlarge"|"r5b.12xlarge"|"r5b.16xlarge"|"r5b.24xlarge"|"r5b.metal"|"r5d.large"|"r5d.xlarge"|"r5d.2xlarge"|"r5d.4xlarge"|"r5d.8xlarge"|"r5d.12xlarge"|"r5d.16xlarge"|"r5d.24xlarge"|"r5d.metal"|"r5dn.large"|"r5dn.xlarge"|"r5dn.2xlarge"|"r5dn.4xlarge"|"r5dn.8xlarge"|"r5dn.12xlarge"|"r5dn.16xlarge"|"r5dn.24xlarge"|"r5dn.metal"|"r5n.large"|"r5n.xlarge"|"r5n.2xlarge"|"r5n.4xlarge"|"r5n.8xlarge"|"r5n.12xlarge"|"r5n.16xlarge"|"r5n.24xlarge"|"r5n.metal"|"r6g.medium"|"r6g.large"|"r6g.xlarge"|"r6g.2xlarge"|"r6g.4xlarge"|"r6g.8xlarge"|"r6g.12xlarge"|"r6g.16xlarge"|"r6g.metal"|"r6gd.medium"|"r6gd.large"|"r6gd.xlarge"|"r6gd.2xlarge"|"r6gd.4xlarge"|"r6gd.8xlarge"|"r6gd.12xlarge"|"r6gd.16xlarge"|"r6gd.metal"|"r6i.large"|"r6i.xlarge"|"r6i.2xlarge"|"r6i.4xlarge"|"r6i.8xlarge"|"r6i.12xlarge"|"r6i.16xlarge"|"r6i.24xlarge"|"r6i.32xlarge"|"r6i.metal"|"t1.micro"|"t2.nano"|"t2.micro"|"t2.small"|"t2.medium"|"t2.large"|"t2.xlarge"|"t2.2xlarge"|"t3.nano"|"t3.micro"|"t3.small"|"t3.medium"|"t3.large"|"t3.xlarge"|"t3.2xlarge"|"t3a.nano"|"t3a.micro"|"t3a.small"|"t3a.medium"|"t3a.large"|"t3a.xlarge"|"t3a.2xlarge"|"t4g.nano"|"t4g.micro"|"t4g.small"|"t4g.medium"|"t4g.large"|"t4g.xlarge"|"t4g.2xlarge"|"u-6tb1.56xlarge"|"u-6tb1.112xlarge"|"u-9tb1.112xlarge"|"u-12tb1.112xlarge"|"u-6tb1.metal"|"u-9tb1.metal"|"u-12tb1.metal"|"u-18tb1.metal"|"u-24tb1.metal"|"vt1.3xlarge"|"vt1.6xlarge"|"vt1.24xlarge"|"x1.16xlarge"|"x1.32xlarge"|"x1e.xlarge"|"x1e.2xlarge"|"x1e.4xlarge"|"x1e.8xlarge"|"x1e.16xlarge"|"x1e.32xlarge"|"x2iezn.2xlarge"|"x2iezn.4xlarge"|"x2iezn.6xlarge"|"x2iezn.8xlarge"|"x2iezn.12xlarge"|"x2iezn.metal"|"x2gd.medium"|"x2gd.large"|"x2gd.xlarge"|"x2gd.2xlarge"|"x2gd.4xlarge"|"x2gd.8xlarge"|"x2gd.12xlarge"|"x2gd.16xlarge"|"x2gd.metal"|"z1d.large"|"z1d.xlarge"|"z1d.2xlarge"|"z1d.3xlarge"|"z1d.6xlarge"|"z1d.12xlarge"|"z1d.metal"|"x2idn.16xlarge"|"x2idn.24xlarge"|"x2idn.32xlarge"|"x2iedn.xlarge"|"x2iedn.2xlarge"|"x2iedn.4xlarge"|"x2iedn.8xlarge"|"x2iedn.16xlarge"|"x2iedn.24xlarge"|"x2iedn.32xlarge"|"c6a.large"|"c6a.xlarge"|"c6a.2xlarge"|"c6a.4xlarge"|"c6a.8xlarge"|"c6a.12xlarge"|"c6a.16xlarge"|"c6a.24xlarge"|"c6a.32xlarge"|"c6a.48xlarge"|"c6a.metal"|"m6a.metal"|"i4i.large"|"i4i.xlarge"|"i4i.2xlarge"|"i4i.4xlarge"|"i4i.8xlarge"|"i4i.16xlarge"|"i4i.32xlarge"|"i4i.metal"|"x2idn.metal"|"x2iedn.metal"|"c7g.medium"|"c7g.large"|"c7g.xlarge"|"c7g.2xlarge"|"c7g.4xlarge"|"c7g.8xlarge"|"c7g.12xlarge"|"c7g.16xlarge"|"mac2.metal"|"c6id.large"|"c6id.xlarge"|"c6id.2xlarge"|"c6id.4xlarge"|"c6id.8xlarge"|"c6id.12xlarge"|"c6id.16xlarge"|"c6id.24xlarge"|"c6id.32xlarge"|"c6id.metal"|"m6id.large"|"m6id.xlarge"|"m6id.2xlarge"|"m6id.4xlarge"|"m6id.8xlarge"|"m6id.12xlarge"|"m6id.16xlarge"|"m6id.24xlarge"|"m6id.32xlarge"|"m6id.metal"|"r6id.large"|"r6id.xlarge"|"r6id.2xlarge"|"r6id.4xlarge"|"r6id.8xlarge"|"r6id.12xlarge"|"r6id.16xlarge"|"r6id.24xlarge"|"r6id.32xlarge"|"r6id.metal"|"r6a.large"|"r6a.xlarge"|"r6a.2xlarge"|"r6a.4xlarge"|"r6a.8xlarge"|"r6a.12xlarge"|"r6a.16xlarge"|"r6a.24xlarge"|"r6a.32xlarge"|"r6a.48xlarge"|"r6a.metal"|"p4de.24xlarge"|"u-3tb1.56xlarge"|"u-18tb1.112xlarge"|"u-24tb1.112xlarge"|"trn1.2xlarge"|"trn1.32xlarge"|"hpc6id.32xlarge"|"c6in.large"|"c6in.xlarge"|"c6in.2xlarge"|"c6in.4xlarge"|"c6in.8xlarge"|"c6in.12xlarge"|"c6in.16xlarge"|"c6in.24xlarge"|"c6in.32xlarge"|"m6in.large"|"m6in.xlarge"|"m6in.2xlarge"|"m6in.4xlarge"|"m6in.8xlarge"|"m6in.12xlarge"|"m6in.16xlarge"|"m6in.24xlarge"|"m6in.32xlarge"|"m6idn.large"|"m6idn.xlarge"|"m6idn.2xlarge"|"m6idn.4xlarge"|"m6idn.8xlarge"|"m6idn.12xlarge"|"m6idn.16xlarge"|"m6idn.24xlarge"|"m6idn.32xlarge"|"r6in.large"|"r6in.xlarge"|"r6in.2xlarge"|"r6in.4xlarge"|"r6in.8xlarge"|"r6in.12xlarge"|"r6in.16xlarge"|"r6in.24xlarge"|"r6in.32xlarge"|"r6idn.large"|"r6idn.xlarge"|"r6idn.2xlarge"|"r6idn.4xlarge"|"r6idn.8xlarge"|"r6idn.12xlarge"|"r6idn.16xlarge"|"r6idn.24xlarge"|"r6idn.32xlarge"|"c7g.metal"|"m7g.medium"|"m7g.large"|"m7g.xlarge"|"m7g.2xlarge"|"m7g.4xlarge"|"m7g.8xlarge"|"m7g.12xlarge"|"m7g.16xlarge"|"m7g.metal"|"r7g.medium"|"r7g.large"|"r7g.xlarge"|"r7g.2xlarge"|"r7g.4xlarge"|"r7g.8xlarge"|"r7g.12xlarge"|"r7g.16xlarge"|"r7g.metal"|"c6in.metal"|"m6in.metal"|"m6idn.metal"|"r6in.metal"|"r6idn.metal"|"inf2.xlarge"|"inf2.8xlarge"|"inf2.24xlarge"|"inf2.48xlarge"|"trn1n.32xlarge"|"i4g.large"|"i4g.xlarge"|"i4g.2xlarge"|"i4g.4xlarge"|"i4g.8xlarge"|"i4g.16xlarge"|"hpc7g.4xlarge"|"hpc7g.8xlarge"|"hpc7g.16xlarge"|"c7gn.medium"|"c7gn.large"|"c7gn.xlarge"|"c7gn.2xlarge"|"c7gn.4xlarge"|"c7gn.8xlarge"|"c7gn.12xlarge"|"c7gn.16xlarge"|"p5.48xlarge"|"m7i.large"|"m7i.xlarge"|"m7i.2xlarge"|"m7i.4xlarge"|"m7i.8xlarge"|"m7i.12xlarge"|"m7i.16xlarge"|"m7i.24xlarge"|"m7i.48xlarge"|"m7i-flex.large"|"m7i-flex.xlarge"|"m7i-flex.2xlarge"|"m7i-flex.4xlarge"|"m7i-flex.8xlarge"|"m7a.medium"|"m7a.large"|"m7a.xlarge"|"m7a.2xlarge"|"m7a.4xlarge"|"m7a.8xlarge"|"m7a.12xlarge"|"m7a.16xlarge"|"m7a.24xlarge"|"m7a.32xlarge"|"m7a.48xlarge"|"m7a.metal-48xl"|"hpc7a.12xlarge"|"hpc7a.24xlarge"|"hpc7a.48xlarge"|"hpc7a.96xlarge"|"c7gd.medium"|"c7gd.large"|"c7gd.xlarge"|"c7gd.2xlarge"|"c7gd.4xlarge"|"c7gd.8xlarge"|"c7gd.12xlarge"|"c7gd.16xlarge"|"m7gd.medium"|"m7gd.large"|"m7gd.xlarge"|"m7gd.2xlarge"|"m7gd.4xlarge"|"m7gd.8xlarge"|"m7gd.12xlarge"|"m7gd.16xlarge"|"r7gd.medium"|"r7gd.large"|"r7gd.xlarge"|"r7gd.2xlarge"|"r7gd.4xlarge"|"r7gd.8xlarge"|"r7gd.12xlarge"|"r7gd.16xlarge"|"r7a.medium"|"r7a.large"|"r7a.xlarge"|"r7a.2xlarge"|"r7a.4xlarge"|"r7a.8xlarge"|"r7a.12xlarge"|"r7a.16xlarge"|"r7a.24xlarge"|"r7a.32xlarge"|"r7a.48xlarge"|"c7i.large"|"c7i.xlarge"|"c7i.2xlarge"|"c7i.4xlarge"|"c7i.8xlarge"|"c7i.12xlarge"|"c7i.16xlarge"|"c7i.24xlarge"|"c7i.48xlarge"|"mac2-m2pro.metal"|"r7iz.large"|"r7iz.xlarge"|"r7iz.2xlarge"|"r7iz.4xlarge"|"r7iz.8xlarge"|"r7iz.12xlarge"|"r7iz.16xlarge"|"r7iz.32xlarge"|"c7a.medium"|"c7a.large"|"c7a.xlarge"|"c7a.2xlarge"|"c7a.4xlarge"|"c7a.8xlarge"|"c7a.12xlarge"|"c7a.16xlarge"|"c7a.24xlarge"|"c7a.32xlarge"|"c7a.48xlarge"|"c7a.metal-48xl"|"r7a.metal-48xl"|"r7i.large"|"r7i.xlarge"|"r7i.2xlarge"|"r7i.4xlarge"|"r7i.8xlarge"|"r7i.12xlarge"|"r7i.16xlarge"|"r7i.24xlarge"|"r7i.48xlarge"|"dl2q.24xlarge"|"mac2-m2.metal"|"i4i.12xlarge"|"i4i.24xlarge"|"c7i.metal-24xl"|"c7i.metal-48xl"|"m7i.metal-24xl"|"m7i.metal-48xl"|"r7i.metal-24xl"|"r7i.metal-48xl"|string; export type InstanceTypeHypervisor = "nitro"|"xen"|string; export interface InstanceTypeInfo { /** diff --git a/clients/finspace.d.ts b/clients/finspace.d.ts index ea1c080e40..d3f5cf1b51 100644 --- a/clients/finspace.d.ts +++ b/clients/finspace.d.ts @@ -43,6 +43,14 @@ declare class Finspace extends Service { * Creates a new kdb database in the environment. */ createKxDatabase(callback?: (err: AWSError, data: Finspace.Types.CreateKxDatabaseResponse) => void): Request; + /** + * Creates a snapshot of kdb database with tiered storage capabilities and a pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only available for clusters running on a scaling group. They are not supported on dedicated clusters. + */ + createKxDataview(params: Finspace.Types.CreateKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxDataviewResponse) => void): Request; + /** + * Creates a snapshot of kdb database with tiered storage capabilities and a pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only available for clusters running on a scaling group. They are not supported on dedicated clusters. + */ + createKxDataview(callback?: (err: AWSError, data: Finspace.Types.CreateKxDataviewResponse) => void): Request; /** * Creates a managed kdb environment for the account. */ @@ -51,6 +59,14 @@ declare class Finspace extends Service { * Creates a managed kdb environment for the account. */ createKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.CreateKxEnvironmentResponse) => void): Request; + /** + * Creates a new scaling group. + */ + createKxScalingGroup(params: Finspace.Types.CreateKxScalingGroupRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxScalingGroupResponse) => void): Request; + /** + * Creates a new scaling group. + */ + createKxScalingGroup(callback?: (err: AWSError, data: Finspace.Types.CreateKxScalingGroupResponse) => void): Request; /** * Creates a user in FinSpace kdb environment with an associated IAM role. */ @@ -59,6 +75,14 @@ declare class Finspace extends Service { * Creates a user in FinSpace kdb environment with an associated IAM role. */ createKxUser(callback?: (err: AWSError, data: Finspace.Types.CreateKxUserResponse) => void): Request; + /** + * Creates a new volume with a specific amount of throughput and storage capacity. + */ + createKxVolume(params: Finspace.Types.CreateKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxVolumeResponse) => void): Request; + /** + * Creates a new volume with a specific amount of throughput and storage capacity. + */ + createKxVolume(callback?: (err: AWSError, data: Finspace.Types.CreateKxVolumeResponse) => void): Request; /** * Delete an FinSpace environment. */ @@ -83,6 +107,14 @@ declare class Finspace extends Service { * Deletes the specified database and all of its associated data. This action is irreversible. You must copy any data out of the database before deleting it if the data is to be retained. */ deleteKxDatabase(callback?: (err: AWSError, data: Finspace.Types.DeleteKxDatabaseResponse) => void): Request; + /** + * Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster. + */ + deleteKxDataview(params: Finspace.Types.DeleteKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxDataviewResponse) => void): Request; + /** + * Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster. + */ + deleteKxDataview(callback?: (err: AWSError, data: Finspace.Types.DeleteKxDataviewResponse) => void): Request; /** * Deletes the kdb environment. This action is irreversible. Deleting a kdb environment will remove all the associated data and any services running in it. */ @@ -91,6 +123,14 @@ declare class Finspace extends Service { * Deletes the kdb environment. This action is irreversible. Deleting a kdb environment will remove all the associated data and any services running in it. */ deleteKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.DeleteKxEnvironmentResponse) => void): Request; + /** + * Deletes the specified scaling group. This action is irreversible. You cannot delete a scaling group until all the clusters running on it have been deleted. + */ + deleteKxScalingGroup(params: Finspace.Types.DeleteKxScalingGroupRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxScalingGroupResponse) => void): Request; + /** + * Deletes the specified scaling group. This action is irreversible. You cannot delete a scaling group until all the clusters running on it have been deleted. + */ + deleteKxScalingGroup(callback?: (err: AWSError, data: Finspace.Types.DeleteKxScalingGroupResponse) => void): Request; /** * Deletes a user in the specified kdb environment. */ @@ -99,6 +139,14 @@ declare class Finspace extends Service { * Deletes a user in the specified kdb environment. */ deleteKxUser(callback?: (err: AWSError, data: Finspace.Types.DeleteKxUserResponse) => void): Request; + /** + * Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible. + */ + deleteKxVolume(params: Finspace.Types.DeleteKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxVolumeResponse) => void): Request; + /** + * Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible. + */ + deleteKxVolume(callback?: (err: AWSError, data: Finspace.Types.DeleteKxVolumeResponse) => void): Request; /** * Returns the FinSpace environment object. */ @@ -139,6 +187,14 @@ declare class Finspace extends Service { * Returns database information for the specified environment ID. */ getKxDatabase(callback?: (err: AWSError, data: Finspace.Types.GetKxDatabaseResponse) => void): Request; + /** + * Retrieves details of the dataview. + */ + getKxDataview(params: Finspace.Types.GetKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxDataviewResponse) => void): Request; + /** + * Retrieves details of the dataview. + */ + getKxDataview(callback?: (err: AWSError, data: Finspace.Types.GetKxDataviewResponse) => void): Request; /** * Retrieves all the information for the specified kdb environment. */ @@ -147,6 +203,14 @@ declare class Finspace extends Service { * Retrieves all the information for the specified kdb environment. */ getKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.GetKxEnvironmentResponse) => void): Request; + /** + * Retrieves details of a scaling group. + */ + getKxScalingGroup(params: Finspace.Types.GetKxScalingGroupRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxScalingGroupResponse) => void): Request; + /** + * Retrieves details of a scaling group. + */ + getKxScalingGroup(callback?: (err: AWSError, data: Finspace.Types.GetKxScalingGroupResponse) => void): Request; /** * Retrieves information about the specified kdb user. */ @@ -155,6 +219,14 @@ declare class Finspace extends Service { * Retrieves information about the specified kdb user. */ getKxUser(callback?: (err: AWSError, data: Finspace.Types.GetKxUserResponse) => void): Request; + /** + * Retrieves the information about the volume. + */ + getKxVolume(params: Finspace.Types.GetKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxVolumeResponse) => void): Request; + /** + * Retrieves the information about the volume. + */ + getKxVolume(callback?: (err: AWSError, data: Finspace.Types.GetKxVolumeResponse) => void): Request; /** * A list of all of your FinSpace environments. */ @@ -195,6 +267,14 @@ declare class Finspace extends Service { * Returns a list of all the databases in the kdb environment. */ listKxDatabases(callback?: (err: AWSError, data: Finspace.Types.ListKxDatabasesResponse) => void): Request; + /** + * Returns a list of all the dataviews in the database. + */ + listKxDataviews(params: Finspace.Types.ListKxDataviewsRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxDataviewsResponse) => void): Request; + /** + * Returns a list of all the dataviews in the database. + */ + listKxDataviews(callback?: (err: AWSError, data: Finspace.Types.ListKxDataviewsResponse) => void): Request; /** * Returns a list of kdb environments created in an account. */ @@ -203,6 +283,14 @@ declare class Finspace extends Service { * Returns a list of kdb environments created in an account. */ listKxEnvironments(callback?: (err: AWSError, data: Finspace.Types.ListKxEnvironmentsResponse) => void): Request; + /** + * Returns a list of scaling groups in a kdb environment. + */ + listKxScalingGroups(params: Finspace.Types.ListKxScalingGroupsRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxScalingGroupsResponse) => void): Request; + /** + * Returns a list of scaling groups in a kdb environment. + */ + listKxScalingGroups(callback?: (err: AWSError, data: Finspace.Types.ListKxScalingGroupsResponse) => void): Request; /** * Lists all the users in a kdb environment. */ @@ -211,6 +299,14 @@ declare class Finspace extends Service { * Lists all the users in a kdb environment. */ listKxUsers(callback?: (err: AWSError, data: Finspace.Types.ListKxUsersResponse) => void): Request; + /** + * Lists all the volumes in a kdb environment. + */ + listKxVolumes(params: Finspace.Types.ListKxVolumesRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxVolumesResponse) => void): Request; + /** + * Lists all the volumes in a kdb environment. + */ + listKxVolumes(callback?: (err: AWSError, data: Finspace.Types.ListKxVolumesResponse) => void): Request; /** * A list of all tags for a resource. */ @@ -267,6 +363,14 @@ declare class Finspace extends Service { * Updates information for the given kdb database. */ updateKxDatabase(callback?: (err: AWSError, data: Finspace.Types.UpdateKxDatabaseResponse) => void): Request; + /** + * Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations + */ + updateKxDataview(params: Finspace.Types.UpdateKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxDataviewResponse) => void): Request; + /** + * Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations + */ + updateKxDataview(callback?: (err: AWSError, data: Finspace.Types.UpdateKxDataviewResponse) => void): Request; /** * Updates information for the given kdb environment. */ @@ -291,8 +395,17 @@ declare class Finspace extends Service { * Updates the user details. You can only update the IAM role associated with a user. */ updateKxUser(callback?: (err: AWSError, data: Finspace.Types.UpdateKxUserResponse) => void): Request; + /** + * Updates the throughput or capacity of a volume. During the update process, the filesystem might be unavailable for a few minutes. You can retry any operations after the update is complete. + */ + updateKxVolume(params: Finspace.Types.UpdateKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxVolumeResponse) => void): Request; + /** + * Updates the throughput or capacity of a volume. During the update process, the filesystem might be unavailable for a few minutes. You can retry any operations after the update is complete. + */ + updateKxVolume(callback?: (err: AWSError, data: Finspace.Types.UpdateKxVolumeResponse) => void): Request; } declare namespace Finspace { + export type AttachedClusterList = KxClusterName[]; export type AttributeMap = {[key: string]: FederationAttributeValue}; export interface AutoScalingConfiguration { /** @@ -355,6 +468,7 @@ declare namespace Finspace { export type ChangesetStatus = "PENDING"|"PROCESSING"|"FAILED"|"COMPLETED"|string; export type ClientToken = string; export type ClientTokenString = string; + export type ClusterNodeCount = number; export interface CodeConfiguration { /** * A unique name for the S3 bucket. @@ -370,6 +484,7 @@ declare namespace Finspace { s3ObjectVersion?: S3ObjectVersion; } export type CooldownTime = number; + export type CpuCount = number; export interface CreateEnvironmentRequest { /** * The name of the FinSpace environment to be created. @@ -484,9 +599,13 @@ declare namespace Finspace { */ clusterName: KxClusterName; /** - * 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. 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. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process. */ clusterType: KxClusterType; + /** + * A configuration to store Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path. + */ + tickerplantLogConfiguration?: TickerplantLogConfiguration; /** * A list of databases that will be available for querying. */ @@ -506,7 +625,7 @@ declare namespace Finspace { /** * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances. */ - capacityConfiguration: CapacityConfiguration; + capacityConfiguration?: CapacityConfiguration; /** * The version of FinSpace managed kdb to run. */ @@ -514,7 +633,7 @@ declare namespace Finspace { /** * Configuration details about the network where the Privatelink endpoint of the cluster resides. */ - vpcConfiguration?: VpcConfiguration; + vpcConfiguration: VpcConfiguration; /** * 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. */ @@ -547,6 +666,10 @@ declare namespace Finspace { * A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster. */ tags?: TagMap; + /** + * The structure that stores the configuration details of a scaling group. + */ + scalingGroupConfiguration?: KxScalingGroupConfiguration; } export interface CreateKxClusterResponse { /** @@ -566,9 +689,14 @@ declare namespace Finspace { */ clusterName?: KxClusterName; /** - * 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. 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. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process. */ clusterType?: KxClusterType; + tickerplantLogConfiguration?: TickerplantLogConfiguration; + /** + * A list of volumes mounted on the cluster. + */ + volumes?: Volumes; /** * A list of databases that will be available for querying. */ @@ -633,6 +761,10 @@ declare namespace Finspace { * The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. */ createdTimestamp?: Timestamp; + /** + * The structure that stores the configuration details of a scaling group. + */ + scalingGroupConfiguration?: KxScalingGroupConfiguration; } export interface CreateKxDatabaseRequest { /** @@ -682,6 +814,102 @@ declare namespace Finspace { */ lastModifiedTimestamp?: Timestamp; } + export interface CreateKxDataviewRequest { + /** + * A unique identifier for the kdb environment, where you want to create the dataview. + */ + environmentId: EnvironmentId; + /** + * The name of the database where you want to create a dataview. + */ + databaseName: DatabaseName; + /** + * A unique identifier for the dataview. + */ + dataviewName: KxDataviewName; + /** + * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster. + */ + azMode: KxAzMode; + /** + * The identifier of the availability zones. + */ + availabilityZoneId?: AvailabilityZoneId; + /** + * A unique identifier of the changeset that you want to use to ingest data. + */ + changesetId?: ChangesetId; + /** + * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment. + */ + segmentConfigurations?: KxDataviewSegmentConfigurationList; + /** + * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets. The default value is false. + */ + autoUpdate?: booleanValue; + /** + * A description of the dataview. + */ + description?: Description; + /** + * A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview. + */ + tags?: TagMap; + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken: ClientTokenString; + } + export interface CreateKxDataviewResponse { + /** + * A unique identifier for the dataview. + */ + dataviewName?: KxDataviewName; + /** + * The name of the database where you want to create a dataview. + */ + databaseName?: DatabaseName; + /** + * A unique identifier for the kdb environment, where you want to create the dataview. + */ + environmentId?: EnvironmentId; + /** + * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster. + */ + azMode?: KxAzMode; + /** + * The identifier of the availability zones. + */ + availabilityZoneId?: AvailabilityZoneId; + /** + * A unique identifier for the changeset. + */ + changesetId?: ChangesetId; + /** + * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment. + */ + segmentConfigurations?: KxDataviewSegmentConfigurationList; + /** + * A description of the dataview. + */ + description?: Description; + /** + * The option to select whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false. + */ + autoUpdate?: booleanValue; + /** + * The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + /** + * The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + /** + * The status of dataview creation. CREATING – The dataview creation is in progress. UPDATING – The dataview is in the process of being updated. ACTIVE – The dataview is active. + */ + status?: KxDataviewStatus; + } export interface CreateKxEnvironmentRequest { /** * The name of the kdb environment that you want to create. @@ -734,6 +962,62 @@ declare namespace Finspace { */ creationTimestamp?: Timestamp; } + export interface CreateKxScalingGroupRequest { + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken: ClientToken; + /** + * A unique identifier for the kdb environment, where you want to create the scaling group. + */ + environmentId: KxEnvironmentId; + /** + * A unique identifier for the kdb scaling group. + */ + scalingGroupName: KxScalingGroupName; + /** + * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed. + */ + hostType: KxHostType; + /** + * The identifier of the availability zones. + */ + availabilityZoneId: AvailabilityZoneId; + /** + * A list of key-value pairs to label the scaling group. You can add up to 50 tags to a scaling group. + */ + tags?: TagMap; + } + export interface CreateKxScalingGroupResponse { + /** + * A unique identifier for the kdb environment, where you create the scaling group. + */ + environmentId?: KxEnvironmentId; + /** + * A unique identifier for the kdb scaling group. + */ + scalingGroupName?: KxScalingGroupName; + /** + * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed. + */ + hostType?: KxHostType; + /** + * The identifier of the availability zones. + */ + availabilityZoneId?: AvailabilityZoneId; + /** + * The status of scaling group. CREATING – The scaling group creation is in progress. CREATE_FAILED – The scaling group creation has failed. ACTIVE – The scaling group is active. UPDATING – The scaling group is in the process of being updated. UPDATE_FAILED – The update action failed. DELETING – The scaling group is in the process of being deleted. DELETE_FAILED – The system failed to delete the scaling group. DELETED – The scaling group is successfully deleted. + */ + status?: KxScalingGroupStatus; + /** + * The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + /** + * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + } export interface CreateKxUserRequest { /** * A unique identifier for the kdb environment where you want to create a user. @@ -774,6 +1058,90 @@ declare namespace Finspace { */ iamRole?: RoleArn; } + export interface CreateKxVolumeRequest { + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken?: ClientToken; + /** + * A unique identifier for the kdb environment, whose clusters can attach to the volume. + */ + environmentId: KxEnvironmentId; + /** + * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. When you select NAS_1 volume type, you must also provide nas1Configuration. + */ + volumeType: KxVolumeType; + /** + * A unique identifier for the volume. + */ + volumeName: KxVolumeName; + /** + * A description of the volume. + */ + description?: Description; + /** + * Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is required when you choose volumeType as NAS_1. + */ + nas1Configuration?: KxNAS1Configuration; + /** + * The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes. + */ + azMode: KxAzMode; + /** + * The identifier of the availability zones. + */ + availabilityZoneIds: AvailabilityZoneIds; + /** + * A list of key-value pairs to label the volume. You can add up to 50 tags to a volume. + */ + tags?: TagMap; + } + export interface CreateKxVolumeResponse { + /** + * A unique identifier for the kdb environment, whose clusters can attach to the volume. + */ + environmentId?: KxEnvironmentId; + /** + * A unique identifier for the volume. + */ + volumeName?: KxVolumeName; + /** + * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. + */ + volumeType?: KxVolumeType; + /** + * The ARN identifier of the volume. + */ + volumeArn?: KxVolumeArn; + /** + * Specifies the configuration for the Network attached storage (NAS_1) file system volume. + */ + nas1Configuration?: KxNAS1Configuration; + /** + * The status of volume creation. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted. + */ + status?: KxVolumeStatus; + /** + * The error message when a failed state occurs. + */ + statusReason?: KxVolumeStatusReason; + /** + * The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes. + */ + azMode?: KxAzMode; + /** + * A description of the volume. + */ + description?: Description; + /** + * The identifier of the availability zones. + */ + availabilityZoneIds?: AvailabilityZoneIds; + /** + * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + } export type CustomDNSConfiguration = CustomDNSServer[]; export interface CustomDNSServer { /** @@ -831,14 +1199,54 @@ declare namespace Finspace { } export interface DeleteKxDatabaseResponse { } + export interface DeleteKxDataviewRequest { + /** + * A unique identifier for the kdb environment, from where you want to delete the dataview. + */ + environmentId: EnvironmentId; + /** + * The name of the database whose dataview you want to delete. + */ + databaseName: DatabaseName; + /** + * The name of the dataview that you want to delete. + */ + dataviewName: KxDataviewName; + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken: ClientTokenString; + } + export interface DeleteKxDataviewResponse { + } export interface DeleteKxEnvironmentRequest { /** * A unique identifier for the kdb environment. */ environmentId: IdType; + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken?: ClientToken; } export interface DeleteKxEnvironmentResponse { } + export interface DeleteKxScalingGroupRequest { + /** + * A unique identifier for the kdb environment, from where you want to delete the dataview. + */ + environmentId: KxEnvironmentId; + /** + * A unique identifier for the kdb scaling group. + */ + scalingGroupName: KxScalingGroupName; + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken?: ClientTokenString; + } + export interface DeleteKxScalingGroupResponse { + } export interface DeleteKxUserRequest { /** * A unique identifier for the user that you want to delete. @@ -848,9 +1256,29 @@ declare namespace Finspace { * A unique identifier for the kdb environment. */ environmentId: IdType; + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken?: ClientToken; } export interface DeleteKxUserResponse { } + export interface DeleteKxVolumeRequest { + /** + * A unique identifier for the kdb environment, whose clusters can attach to the volume. + */ + environmentId: KxEnvironmentId; + /** + * The name of the volume that you want to delete. + */ + volumeName: KxVolumeName; + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken?: ClientTokenString; + } + export interface DeleteKxVolumeResponse { + } export type Description = string; export type EmailId = string; export interface Environment { @@ -1041,9 +1469,14 @@ declare namespace Finspace { */ clusterName?: KxClusterName; /** - * 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. 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. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process. */ clusterType?: KxClusterType; + tickerplantLogConfiguration?: TickerplantLogConfiguration; + /** + * A list of volumes attached to the cluster. + */ + volumes?: Volumes; /** * A list of databases mounted on the cluster. */ @@ -1108,6 +1541,7 @@ declare namespace Finspace { * The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. */ createdTimestamp?: Timestamp; + scalingGroupConfiguration?: KxScalingGroupConfiguration; } export interface GetKxConnectionStringRequest { /** @@ -1181,6 +1615,78 @@ declare namespace Finspace { */ numFiles?: numFiles; } + export interface GetKxDataviewRequest { + /** + * A unique identifier for the kdb environment, from where you want to retrieve the dataview details. + */ + environmentId: EnvironmentId; + /** + * The name of the database where you created the dataview. + */ + databaseName: DatabaseName; + /** + * A unique identifier for the dataview. + */ + dataviewName: KxDataviewName; + } + export interface GetKxDataviewResponse { + /** + * The name of the database where you created the dataview. + */ + databaseName?: DatabaseName; + /** + * A unique identifier for the dataview. + */ + dataviewName?: KxDataviewName; + /** + * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster. + */ + azMode?: KxAzMode; + /** + * The identifier of the availability zones. + */ + availabilityZoneId?: AvailabilityZoneId; + /** + * A unique identifier of the changeset that you want to use to ingest data. + */ + changesetId?: ChangesetId; + /** + * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment. + */ + segmentConfigurations?: KxDataviewSegmentConfigurationList; + /** + * The current active changeset versions of the database on the given dataview. + */ + activeVersions?: KxDataviewActiveVersionList; + /** + * A description of the dataview. + */ + description?: Description; + /** + * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false. + */ + autoUpdate?: booleanValue; + /** + * A unique identifier for the kdb environment, from where you want to retrieve the dataview details. + */ + environmentId?: EnvironmentId; + /** + * The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + /** + * The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + /** + * The status of dataview creation. CREATING – The dataview creation is in progress. UPDATING – The dataview is in the process of being updated. ACTIVE – The dataview is active. + */ + status?: KxDataviewStatus; + /** + * The error message when a failed state occurs. + */ + statusReason?: KxDataviewStatusReason; + } export interface GetKxEnvironmentRequest { /** * A unique identifier for the kdb environment. @@ -1254,6 +1760,54 @@ declare namespace Finspace { */ certificateAuthorityArn?: stringValueLength1to255; } + export interface GetKxScalingGroupRequest { + /** + * A unique identifier for the kdb environment. + */ + environmentId: KxEnvironmentId; + /** + * A unique identifier for the kdb scaling group. + */ + scalingGroupName: KxScalingGroupName; + } + export interface GetKxScalingGroupResponse { + /** + * A unique identifier for the kdb scaling group. + */ + scalingGroupName?: KxScalingGroupName; + /** + * The ARN identifier for the scaling group. + */ + scalingGroupArn?: arn; + /** + * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed. + */ + hostType?: KxHostType; + /** + * The list of Managed kdb clusters that are currently active in the given scaling group. + */ + clusters?: KxClusterNameList; + /** + * The identifier of the availability zones. + */ + availabilityZoneId?: AvailabilityZoneId; + /** + * The status of scaling group. CREATING – The scaling group creation is in progress. CREATE_FAILED – The scaling group creation has failed. ACTIVE – The scaling group is active. UPDATING – The scaling group is in the process of being updated. UPDATE_FAILED – The update action failed. DELETING – The scaling group is in the process of being deleted. DELETE_FAILED – The system failed to delete the scaling group. DELETED – The scaling group is successfully deleted. + */ + status?: KxScalingGroupStatus; + /** + * The error message when a failed state occurs. + */ + statusReason?: KxClusterStatusReason; + /** + * The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + /** + * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + } export interface GetKxUserRequest { /** * A unique identifier for the user. @@ -1282,6 +1836,70 @@ declare namespace Finspace { */ iamRole?: RoleArn; } + export interface GetKxVolumeRequest { + /** + * A unique identifier for the kdb environment, whose clusters can attach to the volume. + */ + environmentId: KxEnvironmentId; + /** + * A unique identifier for the volume. + */ + volumeName: KxVolumeName; + } + export interface GetKxVolumeResponse { + /** + * A unique identifier for the kdb environment, whose clusters can attach to the volume. + */ + environmentId?: KxEnvironmentId; + /** + * A unique identifier for the volume. + */ + volumeName?: KxVolumeName; + /** + * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. + */ + volumeType?: KxVolumeType; + /** + * The ARN identifier of the volume. + */ + volumeArn?: KxVolumeArn; + /** + * Specifies the configuration for the Network attached storage (NAS_1) file system volume. + */ + nas1Configuration?: KxNAS1Configuration; + /** + * The status of volume creation. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted. + */ + status?: KxVolumeStatus; + /** + * The error message when a failed state occurs. + */ + statusReason?: KxVolumeStatusReason; + /** + * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + /** + * A description of the volume. + */ + description?: Description; + /** + * The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes. + */ + azMode?: KxAzMode; + /** + * The identifier of the availability zones. + */ + availabilityZoneIds?: AvailabilityZoneIds; + /** + * The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + /** + * A list of cluster identifiers that a volume is attached to. + */ + attachedClusters?: KxAttachedClusters; + } export type IPAddressType = "IP_V4"|string; export interface IcmpTypeCode { /** @@ -1298,6 +1916,21 @@ declare namespace Finspace { export type InitializationScriptFilePath = string; export type KmsKeyARN = string; export type KmsKeyId = string; + export interface KxAttachedCluster { + /** + * A unique name for the attached cluster. + */ + clusterName?: KxClusterName; + /** + * Specifies the type of cluster. The volume for TP and RDB cluster types will be used for TP logs. + */ + clusterType?: KxClusterType; + /** + * The status of the attached cluster. PENDING – The cluster is pending creation. CREATING – The cluster creation process is in progress. CREATE_FAILED – The cluster creation process has failed. RUNNING – The cluster creation process is running. UPDATING – The cluster is in the process of being updated. DELETING – The cluster is in the process of being deleted. DELETED – The cluster has been deleted. DELETE_FAILED – The cluster failed to delete. + */ + clusterStatus?: KxClusterStatus; + } + export type KxAttachedClusters = KxAttachedCluster[]; export type KxAzMode = "SINGLE"|"MULTI"|string; export interface KxCacheStorageConfiguration { /** @@ -1349,7 +1982,7 @@ declare namespace Finspace { */ clusterName?: KxClusterName; /** - * 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. 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. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process. */ clusterType?: KxClusterType; /** @@ -1360,6 +1993,10 @@ declare namespace Finspace { * A version of the FinSpace managed kdb to run. */ releaseLabel?: ReleaseLabel; + /** + * A list of volumes attached to the cluster. + */ + volumes?: Volumes; /** * 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. */ @@ -1394,10 +2031,11 @@ declare namespace Finspace { export type KxClusterCodeDeploymentStrategy = "NO_RESTART"|"ROLLING"|"FORCE"|string; export type KxClusterDescription = string; export type KxClusterName = string; + export type KxClusterNameList = KxClusterName[]; export type KxClusterNodeIdString = string; export type KxClusterStatus = "PENDING"|"CREATING"|"CREATE_FAILED"|"RUNNING"|"UPDATING"|"DELETING"|"DELETED"|"DELETE_FAILED"|string; export type KxClusterStatusReason = string; - export type KxClusterType = "HDB"|"RDB"|"GATEWAY"|"GP"|string; + export type KxClusterType = "HDB"|"RDB"|"GATEWAY"|"GP"|"TICKERPLANT"|string; export type KxClusters = KxCluster[]; export interface KxCommandLineArgument { /** @@ -1421,6 +2059,10 @@ declare namespace Finspace { * Specifies the portions of database that will be loaded into the cache for access. */ dbPaths: DbPaths; + /** + * The name of the dataview to be used for caching historical data on disk. + */ + dataviewName?: KxDataviewName; } export type KxDatabaseCacheConfigurations = KxDatabaseCacheConfiguration[]; export interface KxDatabaseConfiguration { @@ -1436,6 +2078,14 @@ declare namespace Finspace { * A unique identifier of the changeset that is associated with the cluster. */ changesetId?: ChangesetId; + /** + * The name of the dataview to be used for caching historical data on disk. + */ + dataviewName?: KxDataviewName; + /** + * The configuration of the dataview to be used with specified cluster. + */ + dataviewConfiguration?: KxDataviewConfiguration; } export type KxDatabaseConfigurations = KxDatabaseConfiguration[]; export interface KxDatabaseListEntry { @@ -1453,6 +2103,120 @@ declare namespace Finspace { lastModifiedTimestamp?: Timestamp; } export type KxDatabases = KxDatabaseListEntry[]; + export interface KxDataviewActiveVersion { + /** + * A unique identifier for the changeset. + */ + changesetId?: ChangesetId; + /** + * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment. + */ + segmentConfigurations?: KxDataviewSegmentConfigurationList; + /** + * The list of clusters that are currently using this dataview. + */ + attachedClusters?: AttachedClusterList; + /** + * The timestamp at which the dataview version was active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + /** + * A unique identifier of the active version. + */ + versionId?: VersionId; + } + export type KxDataviewActiveVersionList = KxDataviewActiveVersion[]; + export interface KxDataviewConfiguration { + /** + * The unique identifier of the dataview. + */ + dataviewName?: KxDataviewName; + /** + * The version of the dataview corresponding to a given changeset. + */ + dataviewVersionId?: VersionId; + /** + * A unique identifier for the changeset. + */ + changesetId?: ChangesetId; + /** + * The db path and volume configuration for the segmented database. + */ + segmentConfigurations?: KxDataviewSegmentConfigurationList; + } + export interface KxDataviewListEntry { + /** + * A unique identifier for the kdb environment. + */ + environmentId?: EnvironmentId; + /** + * A unique identifier of the database. + */ + databaseName?: DatabaseName; + /** + * A unique identifier of the dataview. + */ + dataviewName?: KxDataviewName; + /** + * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster. + */ + azMode?: KxAzMode; + /** + * The identifier of the availability zones. + */ + availabilityZoneId?: AvailabilityZoneId; + /** + * A unique identifier for the changeset. + */ + changesetId?: ChangesetId; + /** + * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment. + */ + segmentConfigurations?: KxDataviewSegmentConfigurationList; + /** + * The active changeset versions for the given dataview entry. + */ + activeVersions?: KxDataviewActiveVersionList; + /** + * The status of a given dataview entry. + */ + status?: KxDataviewStatus; + /** + * A description for the dataview list entry. + */ + description?: Description; + /** + * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false. + */ + autoUpdate?: booleanValue; + /** + * The timestamp at which the dataview list entry was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + /** + * The last time that the dataview list was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + /** + * The error message when a failed state occurs. + */ + statusReason?: KxDataviewStatusReason; + } + export type KxDataviewName = string; + export interface KxDataviewSegmentConfiguration { + /** + * The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume. + */ + dbPaths: SegmentConfigurationDbPathList; + /** + * The name of the volume where you want to add data. + */ + volumeName: KxVolumeName; + } + export type KxDataviewSegmentConfigurationList = KxDataviewSegmentConfiguration[]; + export type KxDataviewStatus = "CREATING"|"ACTIVE"|"UPDATING"|"FAILED"|"DELETING"|string; + export type KxDataviewStatusReason = string; + export type KxDataviews = KxDataviewListEntry[]; export interface KxDeploymentConfiguration { /** * 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 HDB 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. @@ -1533,6 +2297,19 @@ declare namespace Finspace { export type KxEnvironmentId = string; export type KxEnvironmentList = KxEnvironment[]; export type KxEnvironmentName = string; + export type KxHostType = string; + export interface KxNAS1Configuration { + /** + * The type of the network attached storage. + */ + type?: KxNAS1Type; + /** + * The size of the network attached storage. + */ + size?: KxNAS1Size; + } + export type KxNAS1Size = number; + export type KxNAS1Type = "SSD_1000"|"SSD_250"|"HDD_12"|string; export interface KxNode { /** * A unique identifier for the node. @@ -1552,14 +2329,77 @@ declare namespace Finspace { /** * The type of writeable storage space for temporarily storing your savedown data. The valid values are: SDS01 – This type represents 3000 IOPS and io2 ebs volume type. */ - type: KxSavedownStorageType; + type?: KxSavedownStorageType; /** * The size of temporary storage in gibibytes. */ - size: KxSavedownStorageSize; + size?: KxSavedownStorageSize; + /** + * The name of the kdb volume that you want to use as writeable save-down storage for clusters. + */ + volumeName?: KxVolumeName; } export type KxSavedownStorageSize = number; export type KxSavedownStorageType = "SDS01"|string; + export interface KxScalingGroup { + /** + * A unique identifier for the kdb scaling group. + */ + scalingGroupName?: KxScalingGroupName; + /** + * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed. + */ + hostType?: KxHostType; + /** + * The list of clusters currently active in a given scaling group. + */ + clusters?: KxClusterNameList; + /** + * The identifier of the availability zones. + */ + availabilityZoneId?: AvailabilityZoneId; + /** + * The status of scaling groups. + */ + status?: KxScalingGroupStatus; + /** + * The error message when a failed state occurs. + */ + statusReason?: KxClusterStatusReason; + /** + * The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + /** + * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + } + export interface KxScalingGroupConfiguration { + /** + * A unique identifier for the kdb scaling group. + */ + scalingGroupName: KxScalingGroupName; + /** + * An optional hard limit on the amount of memory a kdb cluster can use. + */ + memoryLimit?: MemoryMib; + /** + * A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to be successfully placed in a scaling group. + */ + memoryReservation: MemoryMib; + /** + * The number of kdb cluster nodes. + */ + nodeCount: ClusterNodeCount; + /** + * The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host. + */ + cpu?: CpuCount; + } + export type KxScalingGroupList = KxScalingGroup[]; + export type KxScalingGroupName = string; + export type KxScalingGroupStatus = "CREATING"|"CREATE_FAILED"|"ACTIVE"|"DELETING"|"DELETED"|"DELETE_FAILED"|string; export interface KxUser { /** * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide. @@ -1585,6 +2425,50 @@ declare namespace Finspace { export type KxUserArn = string; export type KxUserList = KxUser[]; export type KxUserNameString = string; + export interface KxVolume { + /** + * A unique identifier for the volume. + */ + volumeName?: KxVolumeName; + /** + * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. + */ + volumeType?: KxVolumeType; + /** + * The status of volume. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted. + */ + status?: KxVolumeStatus; + /** + * A description of the volume. + */ + description?: Description; + /** + * The error message when a failed state occurs. + */ + statusReason?: KxVolumeStatusReason; + /** + * The number of availability zones assigned to the volume. Currently, only SINGLE is supported. + */ + azMode?: KxAzMode; + /** + * The identifier of the availability zones. + */ + availabilityZoneIds?: AvailabilityZoneIds; + /** + * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + /** + * The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + } + export type KxVolumeArn = string; + export type KxVolumeName = string; + export type KxVolumeStatus = "CREATING"|"CREATE_FAILED"|"ACTIVE"|"UPDATING"|"UPDATED"|"UPDATE_FAILED"|"DELETING"|"DELETED"|"DELETE_FAILED"|string; + export type KxVolumeStatusReason = string; + export type KxVolumeType = "NAS_1"|string; + export type KxVolumes = KxVolume[]; export interface ListEnvironmentsRequest { /** * A token generated by FinSpace that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the nextTokennextToken value from the response object of the previous page call. @@ -1667,7 +2551,7 @@ declare namespace Finspace { */ environmentId: KxEnvironmentId; /** - * 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. 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. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process. */ clusterType?: KxClusterType; /** @@ -1713,6 +2597,34 @@ declare namespace Finspace { */ nextToken?: PaginationToken; } + export interface ListKxDataviewsRequest { + /** + * A unique identifier for the kdb environment, for which you want to retrieve a list of dataviews. + */ + environmentId: EnvironmentId; + /** + * The name of the database where the dataviews were created. + */ + databaseName: DatabaseName; + /** + * A token that indicates where a results page should begin. + */ + nextToken?: PaginationToken; + /** + * The maximum number of results to return in this request. + */ + maxResults?: MaxResults; + } + export interface ListKxDataviewsResponse { + /** + * The list of kdb dataviews that are currently active for the given database. + */ + kxDataviews?: KxDataviews; + /** + * A token that indicates where a results page should begin. + */ + nextToken?: PaginationToken; + } export interface ListKxEnvironmentsRequest { /** * A token that indicates where a results page should begin. @@ -1733,6 +2645,30 @@ declare namespace Finspace { */ nextToken?: PaginationToken; } + export interface ListKxScalingGroupsRequest { + /** + * A unique identifier for the kdb environment, for which you want to retrieve a list of scaling groups. + */ + environmentId: KxEnvironmentId; + /** + * The maximum number of results to return in this request. + */ + maxResults?: MaxResults; + /** + * A token that indicates where a results page should begin. + */ + nextToken?: PaginationToken; + } + export interface ListKxScalingGroupsResponse { + /** + * A list of scaling groups available in a kdb environment. + */ + scalingGroups?: KxScalingGroupList; + /** + * A token that indicates where a results page should begin. + */ + nextToken?: PaginationToken; + } export interface ListKxUsersRequest { /** * A unique identifier for the kdb environment. @@ -1757,6 +2693,34 @@ declare namespace Finspace { */ nextToken?: PaginationToken; } + export interface ListKxVolumesRequest { + /** + * A unique identifier for the kdb environment, whose clusters can attach to the volume. + */ + environmentId: KxEnvironmentId; + /** + * The maximum number of results to return in this request. + */ + maxResults?: MaxResults; + /** + * A token that indicates where a results page should begin. + */ + nextToken?: PaginationToken; + /** + * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. + */ + volumeType?: KxVolumeType; + } + export interface ListKxVolumesResponse { + /** + * A summary of volumes. + */ + kxVolumeSummaries?: KxVolumes; + /** + * A token that indicates where a results page should begin. + */ + nextToken?: PaginationToken; + } export interface ListTagsForResourceRequest { /** * The Amazon Resource Name of the resource. @@ -1770,6 +2734,7 @@ declare namespace Finspace { tags?: TagMap; } export type MaxResults = number; + export type MemoryMib = number; export type NameString = string; export type NetworkACLConfiguration = NetworkACLEntry[]; export interface NetworkACLEntry { @@ -1825,6 +2790,7 @@ declare namespace Finspace { export type SamlMetadataDocument = string; export type SecurityGroupIdList = SecurityGroupIdString[]; export type SecurityGroupIdString = string; + export type SegmentConfigurationDbPathList = DbPath[]; export type SignedKxConnectionString = string; export type SmsDomainUrl = string; export type SubnetIdList = SubnetIdString[]; @@ -1859,6 +2825,13 @@ declare namespace Finspace { export interface TagResourceResponse { } export type TagValue = string; + export interface TickerplantLogConfiguration { + /** + * The name of the volumes for tickerplant logs. + */ + tickerplantLogVolumes?: TickerplantLogVolumes; + } + export type TickerplantLogVolumes = VolumeName[]; export type Timestamp = Date; export interface TransitGatewayConfiguration { /** @@ -2001,6 +2974,90 @@ declare namespace Finspace { */ lastModifiedTimestamp?: Timestamp; } + export interface UpdateKxDataviewRequest { + /** + * A unique identifier for the kdb environment, where you want to update the dataview. + */ + environmentId: EnvironmentId; + /** + * The name of the database. + */ + databaseName: DatabaseName; + /** + * The name of the dataview that you want to update. + */ + dataviewName: KxDataviewName; + /** + * The description for a dataview. + */ + description?: Description; + /** + * A unique identifier for the changeset. + */ + changesetId?: ChangesetId; + /** + * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment. + */ + segmentConfigurations?: KxDataviewSegmentConfigurationList; + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken: ClientTokenString; + } + export interface UpdateKxDataviewResponse { + /** + * A unique identifier for the kdb environment, where you want to update the dataview. + */ + environmentId?: EnvironmentId; + /** + * The name of the database. + */ + databaseName?: DatabaseName; + /** + * The name of the database under which the dataview was created. + */ + dataviewName?: KxDataviewName; + /** + * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster. + */ + azMode?: KxAzMode; + /** + * The identifier of the availability zones. + */ + availabilityZoneId?: AvailabilityZoneId; + /** + * A unique identifier for the changeset. + */ + changesetId?: ChangesetId; + /** + * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment. + */ + segmentConfigurations?: KxDataviewSegmentConfigurationList; + /** + * The current active changeset versions of the database on the given dataview. + */ + activeVersions?: KxDataviewActiveVersionList; + /** + * The status of dataview creation. CREATING – The dataview creation is in progress. UPDATING – The dataview is in the process of being updated. ACTIVE – The dataview is active. + */ + status?: KxDataviewStatus; + /** + * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false. + */ + autoUpdate?: booleanValue; + /** + * A description of the dataview. + */ + description?: Description; + /** + * The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + /** + * The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + } export interface UpdateKxEnvironmentNetworkRequest { /** * A unique identifier for the kdb environment. @@ -2199,10 +3256,100 @@ declare namespace Finspace { */ iamRole?: RoleArn; } + export interface UpdateKxVolumeRequest { + /** + * A unique identifier for the kdb environment where you created the storage volume. + */ + environmentId: KxEnvironmentId; + /** + * A unique identifier for the volume. + */ + volumeName: KxVolumeName; + /** + * A description of the volume. + */ + description?: Description; + /** + * A token that ensures idempotency. This token expires in 10 minutes. + */ + clientToken?: ClientTokenString; + /** + * Specifies the configuration for the Network attached storage (NAS_1) file system volume. + */ + nas1Configuration?: KxNAS1Configuration; + } + export interface UpdateKxVolumeResponse { + /** + * A unique identifier for the kdb environment where you want to update the volume. + */ + environmentId?: KxEnvironmentId; + /** + * A unique identifier for the volume that you want to update. + */ + volumeName?: KxVolumeName; + /** + * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. + */ + volumeType?: KxVolumeType; + /** + * The ARN identifier of the volume. + */ + volumeArn?: KxVolumeArn; + /** + * Specifies the configuration for the Network attached storage (NAS_1) file system volume. + */ + nas1Configuration?: KxNAS1Configuration; + /** + * The status of the volume. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted. + */ + status?: KxVolumeStatus; + /** + * The description for the volume. + */ + description?: Description; + /** + * The error message when a failed state occurs. + */ + statusReason?: KxVolumeStatusReason; + /** + * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + createdTimestamp?: Timestamp; + /** + * The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes. + */ + azMode?: KxAzMode; + /** + * The identifier of the availability zones. + */ + availabilityZoneIds?: AvailabilityZoneIds; + /** + * The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ + lastModifiedTimestamp?: Timestamp; + /** + * Specifies the clusters that a volume is attached to. + */ + attachedClusters?: KxAttachedClusters; + } export type ValidCIDRBlock = string; export type ValidCIDRSpace = string; export type ValidHostname = string; export type ValidIPAddress = string; + export type VersionId = string; + export interface Volume { + /** + * A unique identifier for the volume. + */ + volumeName?: VolumeName; + /** + * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. + */ + volumeType?: VolumeType; + } + export type VolumeName = string; + export type VolumeType = "NAS_1"|string; + export type Volumes = Volume[]; export interface VpcConfiguration { /** * The identifier of the VPC endpoint. @@ -2222,6 +3369,8 @@ declare namespace Finspace { ipAddressType?: IPAddressType; } export type VpcIdString = string; + export type arn = string; + export type booleanValue = boolean; export type dnsStatus = "NONE"|"UPDATE_REQUESTED"|"UPDATING"|"FAILED_UPDATE"|"SUCCESSFULLY_UPDATED"|string; export type numBytes = number; export type numChangesets = number; diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index cdc3771ba4..10d40650eb 100644 --- a/dist/aws-sdk-core-react-native.js +++ b/dist/aws-sdk-core-react-native.js @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1514.0', + VERSION: '2.1515.0', /** * @api private @@ -5759,7 +5759,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 44 */ /***/ (function(module, exports) { - module.exports = {"rules":{"*/*":{"endpoint":"{service}.{region}.amazonaws.com"},"cn-*/*":{"endpoint":"{service}.{region}.amazonaws.com.cn"},"us-iso-*/*":"usIso","us-isob-*/*":"usIsob","*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/sts":"globalSSL","*/importexport":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2","globalEndpoint":true},"*/route53":"globalSSL","cn-*/route53":{"endpoint":"{service}.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/route53":"globalGovCloud","us-iso-*/route53":{"endpoint":"{service}.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-isob-*/route53":{"endpoint":"{service}.sc2s.sgov.gov","globalEndpoint":true,"signingRegion":"us-isob-east-1"},"*/waf":"globalSSL","*/iam":"globalSSL","cn-*/iam":{"endpoint":"{service}.cn-north-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-north-1"},"us-iso-*/iam":{"endpoint":"{service}.us-iso-east-1.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-gov-*/iam":"globalGovCloud","*/ce":{"endpoint":"{service}.us-east-1.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"cn-*/ce":{"endpoint":"{service}.cn-northwest-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/sts":{"endpoint":"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3signature","us-west-1/s3":"s3signature","us-west-2/s3":"s3signature","eu-west-1/s3":"s3signature","ap-southeast-1/s3":"s3signature","ap-southeast-2/s3":"s3signature","ap-northeast-1/s3":"s3signature","sa-east-1/s3":"s3signature","us-east-1/s3":{"endpoint":"{service}.amazonaws.com","signatureVersion":"s3"},"us-east-1/sdb":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2"},"*/sdb":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"v2"},"*/resource-explorer-2":"dualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"globalDualstackByDefault"},"fipsRules":{"*/*":"fipsStandard","us-gov-*/*":"fipsStandard","us-iso-*/*":{"endpoint":"{service}-fips.{region}.c2s.ic.gov"},"us-iso-*/dms":"usIso","us-isob-*/*":{"endpoint":"{service}-fips.{region}.sc2s.sgov.gov"},"us-isob-*/dms":"usIsob","cn-*/*":{"endpoint":"{service}-fips.{region}.amazonaws.com.cn"},"*/api.ecr":"fips.api.ecr","*/api.sagemaker":"fips.api.sagemaker","*/batch":"fipsDotPrefix","*/eks":"fipsDotPrefix","*/models.lex":"fips.models.lex","*/runtime.lex":"fips.runtime.lex","*/runtime.sagemaker":{"endpoint":"runtime-fips.sagemaker.{region}.amazonaws.com"},"*/iam":"fipsWithoutRegion","*/route53":"fipsWithoutRegion","*/transcribe":"fipsDotPrefix","*/waf":"fipsWithoutRegion","us-gov-*/transcribe":"fipsDotPrefix","us-gov-*/api.ecr":"fips.api.ecr","us-gov-*/api.sagemaker":"fips.api.sagemaker","us-gov-*/models.lex":"fips.models.lex","us-gov-*/runtime.lex":"fips.runtime.lex","us-gov-*/acm-pca":"fipsWithServiceOnly","us-gov-*/batch":"fipsWithServiceOnly","us-gov-*/cloudformation":"fipsWithServiceOnly","us-gov-*/config":"fipsWithServiceOnly","us-gov-*/ec2":"fipsWithServiceOnly","us-gov-*/eks":"fipsWithServiceOnly","us-gov-*/elasticmapreduce":"fipsWithServiceOnly","us-gov-*/identitystore":"fipsWithServiceOnly","us-gov-*/dynamodb":"fipsWithServiceOnly","us-gov-*/elasticloadbalancing":"fipsWithServiceOnly","us-gov-*/guardduty":"fipsWithServiceOnly","us-gov-*/monitoring":"fipsWithServiceOnly","us-gov-*/resource-groups":"fipsWithServiceOnly","us-gov-*/runtime.sagemaker":"fipsWithServiceOnly","us-gov-*/servicecatalog-appregistry":"fipsWithServiceOnly","us-gov-*/servicequotas":"fipsWithServiceOnly","us-gov-*/ssm":"fipsWithServiceOnly","us-gov-*/sts":"fipsWithServiceOnly","us-gov-*/support":"fipsWithServiceOnly","us-gov-west-1/states":"fipsWithServiceOnly","us-iso-east-1/elasticfilesystem":{"endpoint":"elasticfilesystem-fips.{region}.c2s.ic.gov"},"us-gov-west-1/organizations":"fipsWithServiceOnly","us-gov-west-1/route53":{"endpoint":"route53.us-gov.amazonaws.com"},"*/resource-explorer-2":"fipsDualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"fipsGlobalDualstackByDefault"},"dualstackRules":{"*/*":{"endpoint":"{service}.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackLegacy","cn-*/s3":"dualstackLegacyCn","*/s3-control":"dualstackLegacy","cn-*/s3-control":"dualstackLegacyCn","ap-south-1/ec2":"dualstackLegacyEc2","eu-west-1/ec2":"dualstackLegacyEc2","sa-east-1/ec2":"dualstackLegacyEc2","us-east-1/ec2":"dualstackLegacyEc2","us-east-2/ec2":"dualstackLegacyEc2","us-west-2/ec2":"dualstackLegacyEc2"},"dualstackFipsRules":{"*/*":{"endpoint":"{service}-fips.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}-fips.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackFipsLegacy","cn-*/s3":"dualstackFipsLegacyCn","*/s3-control":"dualstackFipsLegacy","cn-*/s3-control":"dualstackFipsLegacyCn"},"patterns":{"globalSSL":{"endpoint":"https://{service}.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"globalGovCloud":{"endpoint":"{service}.us-gov.amazonaws.com","globalEndpoint":true,"signingRegion":"us-gov-west-1"},"s3signature":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"s3"},"usIso":{"endpoint":"{service}.{region}.c2s.ic.gov"},"usIsob":{"endpoint":"{service}.{region}.sc2s.sgov.gov"},"fipsStandard":{"endpoint":"{service}-fips.{region}.amazonaws.com"},"fipsDotPrefix":{"endpoint":"fips.{service}.{region}.amazonaws.com"},"fipsWithoutRegion":{"endpoint":"{service}-fips.amazonaws.com"},"fips.api.ecr":{"endpoint":"ecr-fips.{region}.amazonaws.com"},"fips.api.sagemaker":{"endpoint":"api-fips.sagemaker.{region}.amazonaws.com"},"fips.models.lex":{"endpoint":"models-fips.lex.{region}.amazonaws.com"},"fips.runtime.lex":{"endpoint":"runtime-fips.lex.{region}.amazonaws.com"},"fipsWithServiceOnly":{"endpoint":"{service}.{region}.amazonaws.com"},"dualstackLegacy":{"endpoint":"{service}.dualstack.{region}.amazonaws.com"},"dualstackLegacyCn":{"endpoint":"{service}.dualstack.{region}.amazonaws.com.cn"},"dualstackFipsLegacy":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com"},"dualstackFipsLegacyCn":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com.cn"},"dualstackLegacyEc2":{"endpoint":"api.ec2.{region}.aws"},"dualstackByDefault":{"endpoint":"{service}.{region}.api.aws"},"fipsDualstackByDefault":{"endpoint":"{service}-fips.{region}.api.aws"},"globalDualstackByDefault":{"endpoint":"{service}.global.api.aws"},"fipsGlobalDualstackByDefault":{"endpoint":"{service}-fips.global.api.aws"}}} + module.exports = {"rules":{"*/*":{"endpoint":"{service}.{region}.amazonaws.com"},"cn-*/*":{"endpoint":"{service}.{region}.amazonaws.com.cn"},"us-iso-*/*":"usIso","us-isob-*/*":"usIsob","*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/sts":"globalSSL","*/importexport":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2","globalEndpoint":true},"*/route53":"globalSSL","cn-*/route53":{"endpoint":"{service}.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/route53":"globalGovCloud","us-iso-*/route53":{"endpoint":"{service}.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-isob-*/route53":{"endpoint":"{service}.sc2s.sgov.gov","globalEndpoint":true,"signingRegion":"us-isob-east-1"},"*/waf":"globalSSL","*/iam":"globalSSL","cn-*/iam":{"endpoint":"{service}.cn-north-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-north-1"},"us-iso-*/iam":{"endpoint":"{service}.us-iso-east-1.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-gov-*/iam":"globalGovCloud","*/ce":{"endpoint":"{service}.us-east-1.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"cn-*/ce":{"endpoint":"{service}.cn-northwest-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/sts":{"endpoint":"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3signature","us-west-1/s3":"s3signature","us-west-2/s3":"s3signature","eu-west-1/s3":"s3signature","ap-southeast-1/s3":"s3signature","ap-southeast-2/s3":"s3signature","ap-northeast-1/s3":"s3signature","sa-east-1/s3":"s3signature","us-east-1/s3":{"endpoint":"{service}.amazonaws.com","signatureVersion":"s3"},"us-east-1/sdb":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2"},"*/sdb":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"v2"},"*/resource-explorer-2":"dualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"globalDualstackByDefault"},"fipsRules":{"*/*":"fipsStandard","us-gov-*/*":"fipsStandard","us-iso-*/*":{"endpoint":"{service}-fips.{region}.c2s.ic.gov"},"us-iso-*/dms":"usIso","us-isob-*/*":{"endpoint":"{service}-fips.{region}.sc2s.sgov.gov"},"us-isob-*/dms":"usIsob","cn-*/*":{"endpoint":"{service}-fips.{region}.amazonaws.com.cn"},"*/api.ecr":"fips.api.ecr","*/api.sagemaker":"fips.api.sagemaker","*/batch":"fipsDotPrefix","*/eks":"fipsDotPrefix","*/models.lex":"fips.models.lex","*/runtime.lex":"fips.runtime.lex","*/runtime.sagemaker":{"endpoint":"runtime-fips.sagemaker.{region}.amazonaws.com"},"*/iam":"fipsWithoutRegion","*/route53":"fipsWithoutRegion","*/transcribe":"fipsDotPrefix","*/waf":"fipsWithoutRegion","us-gov-*/transcribe":"fipsDotPrefix","us-gov-*/api.ecr":"fips.api.ecr","us-gov-*/models.lex":"fips.models.lex","us-gov-*/runtime.lex":"fips.runtime.lex","us-gov-*/access-analyzer":"fipsWithServiceOnly","us-gov-*/acm":"fipsWithServiceOnly","us-gov-*/acm-pca":"fipsWithServiceOnly","us-gov-*/api.sagemaker":"fipsWithServiceOnly","us-gov-*/appconfig":"fipsWithServiceOnly","us-gov-*/application-autoscaling":"fipsWithServiceOnly","us-gov-*/autoscaling":"fipsWithServiceOnly","us-gov-*/autoscaling-plans":"fipsWithServiceOnly","us-gov-*/batch":"fipsWithServiceOnly","us-gov-*/cassandra":"fipsWithServiceOnly","us-gov-*/clouddirectory":"fipsWithServiceOnly","us-gov-*/cloudformation":"fipsWithServiceOnly","us-gov-*/cloudshell":"fipsWithServiceOnly","us-gov-*/cloudtrail":"fipsWithServiceOnly","us-gov-*/config":"fipsWithServiceOnly","us-gov-*/connect":"fipsWithServiceOnly","us-gov-*/databrew":"fipsWithServiceOnly","us-gov-*/dlm":"fipsWithServiceOnly","us-gov-*/dms":"fipsWithServiceOnly","us-gov-*/dynamodb":"fipsWithServiceOnly","us-gov-*/ec2":"fipsWithServiceOnly","us-gov-*/eks":"fipsWithServiceOnly","us-gov-*/elasticache":"fipsWithServiceOnly","us-gov-*/elasticbeanstalk":"fipsWithServiceOnly","us-gov-*/elasticloadbalancing":"fipsWithServiceOnly","us-gov-*/elasticmapreduce":"fipsWithServiceOnly","us-gov-*/events":"fipsWithServiceOnly","us-gov-*/fis":"fipsWithServiceOnly","us-gov-*/glacier":"fipsWithServiceOnly","us-gov-*/greengrass":"fipsWithServiceOnly","us-gov-*/guardduty":"fipsWithServiceOnly","us-gov-*/identitystore":"fipsWithServiceOnly","us-gov-*/imagebuilder":"fipsWithServiceOnly","us-gov-*/kafka":"fipsWithServiceOnly","us-gov-*/kinesis":"fipsWithServiceOnly","us-gov-*/logs":"fipsWithServiceOnly","us-gov-*/mediaconvert":"fipsWithServiceOnly","us-gov-*/monitoring":"fipsWithServiceOnly","us-gov-*/networkmanager":"fipsWithServiceOnly","us-gov-*/organizations":"fipsWithServiceOnly","us-gov-*/outposts":"fipsWithServiceOnly","us-gov-*/participant.connect":"fipsWithServiceOnly","us-gov-*/ram":"fipsWithServiceOnly","us-gov-*/rds":"fipsWithServiceOnly","us-gov-*/redshift":"fipsWithServiceOnly","us-gov-*/resource-groups":"fipsWithServiceOnly","us-gov-*/runtime.sagemaker":"fipsWithServiceOnly","us-gov-*/serverlessrepo":"fipsWithServiceOnly","us-gov-*/servicecatalog-appregistry":"fipsWithServiceOnly","us-gov-*/servicequotas":"fipsWithServiceOnly","us-gov-*/sns":"fipsWithServiceOnly","us-gov-*/sqs":"fipsWithServiceOnly","us-gov-*/ssm":"fipsWithServiceOnly","us-gov-*/streams.dynamodb":"fipsWithServiceOnly","us-gov-*/sts":"fipsWithServiceOnly","us-gov-*/support":"fipsWithServiceOnly","us-gov-*/swf":"fipsWithServiceOnly","us-gov-west-1/states":"fipsWithServiceOnly","us-iso-east-1/elasticfilesystem":{"endpoint":"elasticfilesystem-fips.{region}.c2s.ic.gov"},"us-gov-west-1/organizations":"fipsWithServiceOnly","us-gov-west-1/route53":{"endpoint":"route53.us-gov.amazonaws.com"},"*/resource-explorer-2":"fipsDualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"fipsGlobalDualstackByDefault"},"dualstackRules":{"*/*":{"endpoint":"{service}.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackLegacy","cn-*/s3":"dualstackLegacyCn","*/s3-control":"dualstackLegacy","cn-*/s3-control":"dualstackLegacyCn","ap-south-1/ec2":"dualstackLegacyEc2","eu-west-1/ec2":"dualstackLegacyEc2","sa-east-1/ec2":"dualstackLegacyEc2","us-east-1/ec2":"dualstackLegacyEc2","us-east-2/ec2":"dualstackLegacyEc2","us-west-2/ec2":"dualstackLegacyEc2"},"dualstackFipsRules":{"*/*":{"endpoint":"{service}-fips.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}-fips.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackFipsLegacy","cn-*/s3":"dualstackFipsLegacyCn","*/s3-control":"dualstackFipsLegacy","cn-*/s3-control":"dualstackFipsLegacyCn"},"patterns":{"globalSSL":{"endpoint":"https://{service}.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"globalGovCloud":{"endpoint":"{service}.us-gov.amazonaws.com","globalEndpoint":true,"signingRegion":"us-gov-west-1"},"s3signature":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"s3"},"usIso":{"endpoint":"{service}.{region}.c2s.ic.gov"},"usIsob":{"endpoint":"{service}.{region}.sc2s.sgov.gov"},"fipsStandard":{"endpoint":"{service}-fips.{region}.amazonaws.com"},"fipsDotPrefix":{"endpoint":"fips.{service}.{region}.amazonaws.com"},"fipsWithoutRegion":{"endpoint":"{service}-fips.amazonaws.com"},"fips.api.ecr":{"endpoint":"ecr-fips.{region}.amazonaws.com"},"fips.api.sagemaker":{"endpoint":"api-fips.sagemaker.{region}.amazonaws.com"},"fips.models.lex":{"endpoint":"models-fips.lex.{region}.amazonaws.com"},"fips.runtime.lex":{"endpoint":"runtime-fips.lex.{region}.amazonaws.com"},"fipsWithServiceOnly":{"endpoint":"{service}.{region}.amazonaws.com"},"dualstackLegacy":{"endpoint":"{service}.dualstack.{region}.amazonaws.com"},"dualstackLegacyCn":{"endpoint":"{service}.dualstack.{region}.amazonaws.com.cn"},"dualstackFipsLegacy":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com"},"dualstackFipsLegacyCn":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com.cn"},"dualstackLegacyEc2":{"endpoint":"api.ec2.{region}.aws"},"dualstackByDefault":{"endpoint":"{service}.{region}.api.aws"},"fipsDualstackByDefault":{"endpoint":"{service}-fips.{region}.api.aws"},"globalDualstackByDefault":{"endpoint":"{service}.global.api.aws"},"fipsGlobalDualstackByDefault":{"endpoint":"{service}-fips.global.api.aws"}}} /***/ }), /* 45 */ diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 6a759a2920..97ea93d6ef 100644 --- a/dist/aws-sdk-react-native.js +++ b/dist/aws-sdk-react-native.js @@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1514.0', + VERSION: '2.1515.0', /** * @api private @@ -6071,7 +6071,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 44 */ /***/ (function(module, exports) { - module.exports = {"rules":{"*/*":{"endpoint":"{service}.{region}.amazonaws.com"},"cn-*/*":{"endpoint":"{service}.{region}.amazonaws.com.cn"},"us-iso-*/*":"usIso","us-isob-*/*":"usIsob","*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/sts":"globalSSL","*/importexport":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2","globalEndpoint":true},"*/route53":"globalSSL","cn-*/route53":{"endpoint":"{service}.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/route53":"globalGovCloud","us-iso-*/route53":{"endpoint":"{service}.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-isob-*/route53":{"endpoint":"{service}.sc2s.sgov.gov","globalEndpoint":true,"signingRegion":"us-isob-east-1"},"*/waf":"globalSSL","*/iam":"globalSSL","cn-*/iam":{"endpoint":"{service}.cn-north-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-north-1"},"us-iso-*/iam":{"endpoint":"{service}.us-iso-east-1.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-gov-*/iam":"globalGovCloud","*/ce":{"endpoint":"{service}.us-east-1.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"cn-*/ce":{"endpoint":"{service}.cn-northwest-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/sts":{"endpoint":"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3signature","us-west-1/s3":"s3signature","us-west-2/s3":"s3signature","eu-west-1/s3":"s3signature","ap-southeast-1/s3":"s3signature","ap-southeast-2/s3":"s3signature","ap-northeast-1/s3":"s3signature","sa-east-1/s3":"s3signature","us-east-1/s3":{"endpoint":"{service}.amazonaws.com","signatureVersion":"s3"},"us-east-1/sdb":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2"},"*/sdb":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"v2"},"*/resource-explorer-2":"dualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"globalDualstackByDefault"},"fipsRules":{"*/*":"fipsStandard","us-gov-*/*":"fipsStandard","us-iso-*/*":{"endpoint":"{service}-fips.{region}.c2s.ic.gov"},"us-iso-*/dms":"usIso","us-isob-*/*":{"endpoint":"{service}-fips.{region}.sc2s.sgov.gov"},"us-isob-*/dms":"usIsob","cn-*/*":{"endpoint":"{service}-fips.{region}.amazonaws.com.cn"},"*/api.ecr":"fips.api.ecr","*/api.sagemaker":"fips.api.sagemaker","*/batch":"fipsDotPrefix","*/eks":"fipsDotPrefix","*/models.lex":"fips.models.lex","*/runtime.lex":"fips.runtime.lex","*/runtime.sagemaker":{"endpoint":"runtime-fips.sagemaker.{region}.amazonaws.com"},"*/iam":"fipsWithoutRegion","*/route53":"fipsWithoutRegion","*/transcribe":"fipsDotPrefix","*/waf":"fipsWithoutRegion","us-gov-*/transcribe":"fipsDotPrefix","us-gov-*/api.ecr":"fips.api.ecr","us-gov-*/api.sagemaker":"fips.api.sagemaker","us-gov-*/models.lex":"fips.models.lex","us-gov-*/runtime.lex":"fips.runtime.lex","us-gov-*/acm-pca":"fipsWithServiceOnly","us-gov-*/batch":"fipsWithServiceOnly","us-gov-*/cloudformation":"fipsWithServiceOnly","us-gov-*/config":"fipsWithServiceOnly","us-gov-*/ec2":"fipsWithServiceOnly","us-gov-*/eks":"fipsWithServiceOnly","us-gov-*/elasticmapreduce":"fipsWithServiceOnly","us-gov-*/identitystore":"fipsWithServiceOnly","us-gov-*/dynamodb":"fipsWithServiceOnly","us-gov-*/elasticloadbalancing":"fipsWithServiceOnly","us-gov-*/guardduty":"fipsWithServiceOnly","us-gov-*/monitoring":"fipsWithServiceOnly","us-gov-*/resource-groups":"fipsWithServiceOnly","us-gov-*/runtime.sagemaker":"fipsWithServiceOnly","us-gov-*/servicecatalog-appregistry":"fipsWithServiceOnly","us-gov-*/servicequotas":"fipsWithServiceOnly","us-gov-*/ssm":"fipsWithServiceOnly","us-gov-*/sts":"fipsWithServiceOnly","us-gov-*/support":"fipsWithServiceOnly","us-gov-west-1/states":"fipsWithServiceOnly","us-iso-east-1/elasticfilesystem":{"endpoint":"elasticfilesystem-fips.{region}.c2s.ic.gov"},"us-gov-west-1/organizations":"fipsWithServiceOnly","us-gov-west-1/route53":{"endpoint":"route53.us-gov.amazonaws.com"},"*/resource-explorer-2":"fipsDualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"fipsGlobalDualstackByDefault"},"dualstackRules":{"*/*":{"endpoint":"{service}.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackLegacy","cn-*/s3":"dualstackLegacyCn","*/s3-control":"dualstackLegacy","cn-*/s3-control":"dualstackLegacyCn","ap-south-1/ec2":"dualstackLegacyEc2","eu-west-1/ec2":"dualstackLegacyEc2","sa-east-1/ec2":"dualstackLegacyEc2","us-east-1/ec2":"dualstackLegacyEc2","us-east-2/ec2":"dualstackLegacyEc2","us-west-2/ec2":"dualstackLegacyEc2"},"dualstackFipsRules":{"*/*":{"endpoint":"{service}-fips.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}-fips.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackFipsLegacy","cn-*/s3":"dualstackFipsLegacyCn","*/s3-control":"dualstackFipsLegacy","cn-*/s3-control":"dualstackFipsLegacyCn"},"patterns":{"globalSSL":{"endpoint":"https://{service}.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"globalGovCloud":{"endpoint":"{service}.us-gov.amazonaws.com","globalEndpoint":true,"signingRegion":"us-gov-west-1"},"s3signature":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"s3"},"usIso":{"endpoint":"{service}.{region}.c2s.ic.gov"},"usIsob":{"endpoint":"{service}.{region}.sc2s.sgov.gov"},"fipsStandard":{"endpoint":"{service}-fips.{region}.amazonaws.com"},"fipsDotPrefix":{"endpoint":"fips.{service}.{region}.amazonaws.com"},"fipsWithoutRegion":{"endpoint":"{service}-fips.amazonaws.com"},"fips.api.ecr":{"endpoint":"ecr-fips.{region}.amazonaws.com"},"fips.api.sagemaker":{"endpoint":"api-fips.sagemaker.{region}.amazonaws.com"},"fips.models.lex":{"endpoint":"models-fips.lex.{region}.amazonaws.com"},"fips.runtime.lex":{"endpoint":"runtime-fips.lex.{region}.amazonaws.com"},"fipsWithServiceOnly":{"endpoint":"{service}.{region}.amazonaws.com"},"dualstackLegacy":{"endpoint":"{service}.dualstack.{region}.amazonaws.com"},"dualstackLegacyCn":{"endpoint":"{service}.dualstack.{region}.amazonaws.com.cn"},"dualstackFipsLegacy":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com"},"dualstackFipsLegacyCn":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com.cn"},"dualstackLegacyEc2":{"endpoint":"api.ec2.{region}.aws"},"dualstackByDefault":{"endpoint":"{service}.{region}.api.aws"},"fipsDualstackByDefault":{"endpoint":"{service}-fips.{region}.api.aws"},"globalDualstackByDefault":{"endpoint":"{service}.global.api.aws"},"fipsGlobalDualstackByDefault":{"endpoint":"{service}-fips.global.api.aws"}}} + module.exports = {"rules":{"*/*":{"endpoint":"{service}.{region}.amazonaws.com"},"cn-*/*":{"endpoint":"{service}.{region}.amazonaws.com.cn"},"us-iso-*/*":"usIso","us-isob-*/*":"usIsob","*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/sts":"globalSSL","*/importexport":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2","globalEndpoint":true},"*/route53":"globalSSL","cn-*/route53":{"endpoint":"{service}.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/route53":"globalGovCloud","us-iso-*/route53":{"endpoint":"{service}.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-isob-*/route53":{"endpoint":"{service}.sc2s.sgov.gov","globalEndpoint":true,"signingRegion":"us-isob-east-1"},"*/waf":"globalSSL","*/iam":"globalSSL","cn-*/iam":{"endpoint":"{service}.cn-north-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-north-1"},"us-iso-*/iam":{"endpoint":"{service}.us-iso-east-1.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-gov-*/iam":"globalGovCloud","*/ce":{"endpoint":"{service}.us-east-1.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"cn-*/ce":{"endpoint":"{service}.cn-northwest-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/sts":{"endpoint":"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3signature","us-west-1/s3":"s3signature","us-west-2/s3":"s3signature","eu-west-1/s3":"s3signature","ap-southeast-1/s3":"s3signature","ap-southeast-2/s3":"s3signature","ap-northeast-1/s3":"s3signature","sa-east-1/s3":"s3signature","us-east-1/s3":{"endpoint":"{service}.amazonaws.com","signatureVersion":"s3"},"us-east-1/sdb":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2"},"*/sdb":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"v2"},"*/resource-explorer-2":"dualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"globalDualstackByDefault"},"fipsRules":{"*/*":"fipsStandard","us-gov-*/*":"fipsStandard","us-iso-*/*":{"endpoint":"{service}-fips.{region}.c2s.ic.gov"},"us-iso-*/dms":"usIso","us-isob-*/*":{"endpoint":"{service}-fips.{region}.sc2s.sgov.gov"},"us-isob-*/dms":"usIsob","cn-*/*":{"endpoint":"{service}-fips.{region}.amazonaws.com.cn"},"*/api.ecr":"fips.api.ecr","*/api.sagemaker":"fips.api.sagemaker","*/batch":"fipsDotPrefix","*/eks":"fipsDotPrefix","*/models.lex":"fips.models.lex","*/runtime.lex":"fips.runtime.lex","*/runtime.sagemaker":{"endpoint":"runtime-fips.sagemaker.{region}.amazonaws.com"},"*/iam":"fipsWithoutRegion","*/route53":"fipsWithoutRegion","*/transcribe":"fipsDotPrefix","*/waf":"fipsWithoutRegion","us-gov-*/transcribe":"fipsDotPrefix","us-gov-*/api.ecr":"fips.api.ecr","us-gov-*/models.lex":"fips.models.lex","us-gov-*/runtime.lex":"fips.runtime.lex","us-gov-*/access-analyzer":"fipsWithServiceOnly","us-gov-*/acm":"fipsWithServiceOnly","us-gov-*/acm-pca":"fipsWithServiceOnly","us-gov-*/api.sagemaker":"fipsWithServiceOnly","us-gov-*/appconfig":"fipsWithServiceOnly","us-gov-*/application-autoscaling":"fipsWithServiceOnly","us-gov-*/autoscaling":"fipsWithServiceOnly","us-gov-*/autoscaling-plans":"fipsWithServiceOnly","us-gov-*/batch":"fipsWithServiceOnly","us-gov-*/cassandra":"fipsWithServiceOnly","us-gov-*/clouddirectory":"fipsWithServiceOnly","us-gov-*/cloudformation":"fipsWithServiceOnly","us-gov-*/cloudshell":"fipsWithServiceOnly","us-gov-*/cloudtrail":"fipsWithServiceOnly","us-gov-*/config":"fipsWithServiceOnly","us-gov-*/connect":"fipsWithServiceOnly","us-gov-*/databrew":"fipsWithServiceOnly","us-gov-*/dlm":"fipsWithServiceOnly","us-gov-*/dms":"fipsWithServiceOnly","us-gov-*/dynamodb":"fipsWithServiceOnly","us-gov-*/ec2":"fipsWithServiceOnly","us-gov-*/eks":"fipsWithServiceOnly","us-gov-*/elasticache":"fipsWithServiceOnly","us-gov-*/elasticbeanstalk":"fipsWithServiceOnly","us-gov-*/elasticloadbalancing":"fipsWithServiceOnly","us-gov-*/elasticmapreduce":"fipsWithServiceOnly","us-gov-*/events":"fipsWithServiceOnly","us-gov-*/fis":"fipsWithServiceOnly","us-gov-*/glacier":"fipsWithServiceOnly","us-gov-*/greengrass":"fipsWithServiceOnly","us-gov-*/guardduty":"fipsWithServiceOnly","us-gov-*/identitystore":"fipsWithServiceOnly","us-gov-*/imagebuilder":"fipsWithServiceOnly","us-gov-*/kafka":"fipsWithServiceOnly","us-gov-*/kinesis":"fipsWithServiceOnly","us-gov-*/logs":"fipsWithServiceOnly","us-gov-*/mediaconvert":"fipsWithServiceOnly","us-gov-*/monitoring":"fipsWithServiceOnly","us-gov-*/networkmanager":"fipsWithServiceOnly","us-gov-*/organizations":"fipsWithServiceOnly","us-gov-*/outposts":"fipsWithServiceOnly","us-gov-*/participant.connect":"fipsWithServiceOnly","us-gov-*/ram":"fipsWithServiceOnly","us-gov-*/rds":"fipsWithServiceOnly","us-gov-*/redshift":"fipsWithServiceOnly","us-gov-*/resource-groups":"fipsWithServiceOnly","us-gov-*/runtime.sagemaker":"fipsWithServiceOnly","us-gov-*/serverlessrepo":"fipsWithServiceOnly","us-gov-*/servicecatalog-appregistry":"fipsWithServiceOnly","us-gov-*/servicequotas":"fipsWithServiceOnly","us-gov-*/sns":"fipsWithServiceOnly","us-gov-*/sqs":"fipsWithServiceOnly","us-gov-*/ssm":"fipsWithServiceOnly","us-gov-*/streams.dynamodb":"fipsWithServiceOnly","us-gov-*/sts":"fipsWithServiceOnly","us-gov-*/support":"fipsWithServiceOnly","us-gov-*/swf":"fipsWithServiceOnly","us-gov-west-1/states":"fipsWithServiceOnly","us-iso-east-1/elasticfilesystem":{"endpoint":"elasticfilesystem-fips.{region}.c2s.ic.gov"},"us-gov-west-1/organizations":"fipsWithServiceOnly","us-gov-west-1/route53":{"endpoint":"route53.us-gov.amazonaws.com"},"*/resource-explorer-2":"fipsDualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"fipsGlobalDualstackByDefault"},"dualstackRules":{"*/*":{"endpoint":"{service}.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackLegacy","cn-*/s3":"dualstackLegacyCn","*/s3-control":"dualstackLegacy","cn-*/s3-control":"dualstackLegacyCn","ap-south-1/ec2":"dualstackLegacyEc2","eu-west-1/ec2":"dualstackLegacyEc2","sa-east-1/ec2":"dualstackLegacyEc2","us-east-1/ec2":"dualstackLegacyEc2","us-east-2/ec2":"dualstackLegacyEc2","us-west-2/ec2":"dualstackLegacyEc2"},"dualstackFipsRules":{"*/*":{"endpoint":"{service}-fips.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}-fips.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackFipsLegacy","cn-*/s3":"dualstackFipsLegacyCn","*/s3-control":"dualstackFipsLegacy","cn-*/s3-control":"dualstackFipsLegacyCn"},"patterns":{"globalSSL":{"endpoint":"https://{service}.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"globalGovCloud":{"endpoint":"{service}.us-gov.amazonaws.com","globalEndpoint":true,"signingRegion":"us-gov-west-1"},"s3signature":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"s3"},"usIso":{"endpoint":"{service}.{region}.c2s.ic.gov"},"usIsob":{"endpoint":"{service}.{region}.sc2s.sgov.gov"},"fipsStandard":{"endpoint":"{service}-fips.{region}.amazonaws.com"},"fipsDotPrefix":{"endpoint":"fips.{service}.{region}.amazonaws.com"},"fipsWithoutRegion":{"endpoint":"{service}-fips.amazonaws.com"},"fips.api.ecr":{"endpoint":"ecr-fips.{region}.amazonaws.com"},"fips.api.sagemaker":{"endpoint":"api-fips.sagemaker.{region}.amazonaws.com"},"fips.models.lex":{"endpoint":"models-fips.lex.{region}.amazonaws.com"},"fips.runtime.lex":{"endpoint":"runtime-fips.lex.{region}.amazonaws.com"},"fipsWithServiceOnly":{"endpoint":"{service}.{region}.amazonaws.com"},"dualstackLegacy":{"endpoint":"{service}.dualstack.{region}.amazonaws.com"},"dualstackLegacyCn":{"endpoint":"{service}.dualstack.{region}.amazonaws.com.cn"},"dualstackFipsLegacy":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com"},"dualstackFipsLegacyCn":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com.cn"},"dualstackLegacyEc2":{"endpoint":"api.ec2.{region}.aws"},"dualstackByDefault":{"endpoint":"{service}.{region}.api.aws"},"fipsDualstackByDefault":{"endpoint":"{service}-fips.{region}.api.aws"},"globalDualstackByDefault":{"endpoint":"{service}.global.api.aws"},"fipsGlobalDualstackByDefault":{"endpoint":"{service}-fips.global.api.aws"}}} /***/ }), /* 45 */ @@ -53121,7 +53121,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 453 */ /***/ (function(module, exports) { - module.exports = {"rules":{"*/*":{"endpoint":"{service}.{region}.amazonaws.com"},"cn-*/*":{"endpoint":"{service}.{region}.amazonaws.com.cn"},"us-iso-*/*":"usIso","us-isob-*/*":"usIsob","*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/sts":"globalSSL","*/importexport":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2","globalEndpoint":true},"*/route53":"globalSSL","cn-*/route53":{"endpoint":"{service}.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/route53":"globalGovCloud","us-iso-*/route53":{"endpoint":"{service}.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-isob-*/route53":{"endpoint":"{service}.sc2s.sgov.gov","globalEndpoint":true,"signingRegion":"us-isob-east-1"},"*/waf":"globalSSL","*/iam":"globalSSL","cn-*/iam":{"endpoint":"{service}.cn-north-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-north-1"},"us-iso-*/iam":{"endpoint":"{service}.us-iso-east-1.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-gov-*/iam":"globalGovCloud","*/ce":{"endpoint":"{service}.us-east-1.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"cn-*/ce":{"endpoint":"{service}.cn-northwest-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/sts":{"endpoint":"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3signature","us-west-1/s3":"s3signature","us-west-2/s3":"s3signature","eu-west-1/s3":"s3signature","ap-southeast-1/s3":"s3signature","ap-southeast-2/s3":"s3signature","ap-northeast-1/s3":"s3signature","sa-east-1/s3":"s3signature","us-east-1/s3":{"endpoint":"{service}.amazonaws.com","signatureVersion":"s3"},"us-east-1/sdb":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2"},"*/sdb":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"v2"},"*/resource-explorer-2":"dualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"globalDualstackByDefault"},"fipsRules":{"*/*":"fipsStandard","us-gov-*/*":"fipsStandard","us-iso-*/*":{"endpoint":"{service}-fips.{region}.c2s.ic.gov"},"us-iso-*/dms":"usIso","us-isob-*/*":{"endpoint":"{service}-fips.{region}.sc2s.sgov.gov"},"us-isob-*/dms":"usIsob","cn-*/*":{"endpoint":"{service}-fips.{region}.amazonaws.com.cn"},"*/api.ecr":"fips.api.ecr","*/api.sagemaker":"fips.api.sagemaker","*/batch":"fipsDotPrefix","*/eks":"fipsDotPrefix","*/models.lex":"fips.models.lex","*/runtime.lex":"fips.runtime.lex","*/runtime.sagemaker":{"endpoint":"runtime-fips.sagemaker.{region}.amazonaws.com"},"*/iam":"fipsWithoutRegion","*/route53":"fipsWithoutRegion","*/transcribe":"fipsDotPrefix","*/waf":"fipsWithoutRegion","us-gov-*/transcribe":"fipsDotPrefix","us-gov-*/api.ecr":"fips.api.ecr","us-gov-*/api.sagemaker":"fips.api.sagemaker","us-gov-*/models.lex":"fips.models.lex","us-gov-*/runtime.lex":"fips.runtime.lex","us-gov-*/acm-pca":"fipsWithServiceOnly","us-gov-*/batch":"fipsWithServiceOnly","us-gov-*/cloudformation":"fipsWithServiceOnly","us-gov-*/config":"fipsWithServiceOnly","us-gov-*/ec2":"fipsWithServiceOnly","us-gov-*/eks":"fipsWithServiceOnly","us-gov-*/elasticmapreduce":"fipsWithServiceOnly","us-gov-*/identitystore":"fipsWithServiceOnly","us-gov-*/dynamodb":"fipsWithServiceOnly","us-gov-*/elasticloadbalancing":"fipsWithServiceOnly","us-gov-*/guardduty":"fipsWithServiceOnly","us-gov-*/monitoring":"fipsWithServiceOnly","us-gov-*/resource-groups":"fipsWithServiceOnly","us-gov-*/runtime.sagemaker":"fipsWithServiceOnly","us-gov-*/servicecatalog-appregistry":"fipsWithServiceOnly","us-gov-*/servicequotas":"fipsWithServiceOnly","us-gov-*/ssm":"fipsWithServiceOnly","us-gov-*/sts":"fipsWithServiceOnly","us-gov-*/support":"fipsWithServiceOnly","us-gov-west-1/states":"fipsWithServiceOnly","us-iso-east-1/elasticfilesystem":{"endpoint":"elasticfilesystem-fips.{region}.c2s.ic.gov"},"us-gov-west-1/organizations":"fipsWithServiceOnly","us-gov-west-1/route53":{"endpoint":"route53.us-gov.amazonaws.com"},"*/resource-explorer-2":"fipsDualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"fipsGlobalDualstackByDefault"},"dualstackRules":{"*/*":{"endpoint":"{service}.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackLegacy","cn-*/s3":"dualstackLegacyCn","*/s3-control":"dualstackLegacy","cn-*/s3-control":"dualstackLegacyCn","ap-south-1/ec2":"dualstackLegacyEc2","eu-west-1/ec2":"dualstackLegacyEc2","sa-east-1/ec2":"dualstackLegacyEc2","us-east-1/ec2":"dualstackLegacyEc2","us-east-2/ec2":"dualstackLegacyEc2","us-west-2/ec2":"dualstackLegacyEc2"},"dualstackFipsRules":{"*/*":{"endpoint":"{service}-fips.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}-fips.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackFipsLegacy","cn-*/s3":"dualstackFipsLegacyCn","*/s3-control":"dualstackFipsLegacy","cn-*/s3-control":"dualstackFipsLegacyCn"},"patterns":{"globalSSL":{"endpoint":"https://{service}.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"globalGovCloud":{"endpoint":"{service}.us-gov.amazonaws.com","globalEndpoint":true,"signingRegion":"us-gov-west-1"},"s3signature":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"s3"},"usIso":{"endpoint":"{service}.{region}.c2s.ic.gov"},"usIsob":{"endpoint":"{service}.{region}.sc2s.sgov.gov"},"fipsStandard":{"endpoint":"{service}-fips.{region}.amazonaws.com"},"fipsDotPrefix":{"endpoint":"fips.{service}.{region}.amazonaws.com"},"fipsWithoutRegion":{"endpoint":"{service}-fips.amazonaws.com"},"fips.api.ecr":{"endpoint":"ecr-fips.{region}.amazonaws.com"},"fips.api.sagemaker":{"endpoint":"api-fips.sagemaker.{region}.amazonaws.com"},"fips.models.lex":{"endpoint":"models-fips.lex.{region}.amazonaws.com"},"fips.runtime.lex":{"endpoint":"runtime-fips.lex.{region}.amazonaws.com"},"fipsWithServiceOnly":{"endpoint":"{service}.{region}.amazonaws.com"},"dualstackLegacy":{"endpoint":"{service}.dualstack.{region}.amazonaws.com"},"dualstackLegacyCn":{"endpoint":"{service}.dualstack.{region}.amazonaws.com.cn"},"dualstackFipsLegacy":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com"},"dualstackFipsLegacyCn":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com.cn"},"dualstackLegacyEc2":{"endpoint":"api.ec2.{region}.aws"},"dualstackByDefault":{"endpoint":"{service}.{region}.api.aws"},"fipsDualstackByDefault":{"endpoint":"{service}-fips.{region}.api.aws"},"globalDualstackByDefault":{"endpoint":"{service}.global.api.aws"},"fipsGlobalDualstackByDefault":{"endpoint":"{service}-fips.global.api.aws"}}} + module.exports = {"rules":{"*/*":{"endpoint":"{service}.{region}.amazonaws.com"},"cn-*/*":{"endpoint":"{service}.{region}.amazonaws.com.cn"},"us-iso-*/*":"usIso","us-isob-*/*":"usIsob","*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/sts":"globalSSL","*/importexport":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2","globalEndpoint":true},"*/route53":"globalSSL","cn-*/route53":{"endpoint":"{service}.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/route53":"globalGovCloud","us-iso-*/route53":{"endpoint":"{service}.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-isob-*/route53":{"endpoint":"{service}.sc2s.sgov.gov","globalEndpoint":true,"signingRegion":"us-isob-east-1"},"*/waf":"globalSSL","*/iam":"globalSSL","cn-*/iam":{"endpoint":"{service}.cn-north-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-north-1"},"us-iso-*/iam":{"endpoint":"{service}.us-iso-east-1.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-gov-*/iam":"globalGovCloud","*/ce":{"endpoint":"{service}.us-east-1.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"cn-*/ce":{"endpoint":"{service}.cn-northwest-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/sts":{"endpoint":"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3signature","us-west-1/s3":"s3signature","us-west-2/s3":"s3signature","eu-west-1/s3":"s3signature","ap-southeast-1/s3":"s3signature","ap-southeast-2/s3":"s3signature","ap-northeast-1/s3":"s3signature","sa-east-1/s3":"s3signature","us-east-1/s3":{"endpoint":"{service}.amazonaws.com","signatureVersion":"s3"},"us-east-1/sdb":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2"},"*/sdb":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"v2"},"*/resource-explorer-2":"dualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"globalDualstackByDefault"},"fipsRules":{"*/*":"fipsStandard","us-gov-*/*":"fipsStandard","us-iso-*/*":{"endpoint":"{service}-fips.{region}.c2s.ic.gov"},"us-iso-*/dms":"usIso","us-isob-*/*":{"endpoint":"{service}-fips.{region}.sc2s.sgov.gov"},"us-isob-*/dms":"usIsob","cn-*/*":{"endpoint":"{service}-fips.{region}.amazonaws.com.cn"},"*/api.ecr":"fips.api.ecr","*/api.sagemaker":"fips.api.sagemaker","*/batch":"fipsDotPrefix","*/eks":"fipsDotPrefix","*/models.lex":"fips.models.lex","*/runtime.lex":"fips.runtime.lex","*/runtime.sagemaker":{"endpoint":"runtime-fips.sagemaker.{region}.amazonaws.com"},"*/iam":"fipsWithoutRegion","*/route53":"fipsWithoutRegion","*/transcribe":"fipsDotPrefix","*/waf":"fipsWithoutRegion","us-gov-*/transcribe":"fipsDotPrefix","us-gov-*/api.ecr":"fips.api.ecr","us-gov-*/models.lex":"fips.models.lex","us-gov-*/runtime.lex":"fips.runtime.lex","us-gov-*/access-analyzer":"fipsWithServiceOnly","us-gov-*/acm":"fipsWithServiceOnly","us-gov-*/acm-pca":"fipsWithServiceOnly","us-gov-*/api.sagemaker":"fipsWithServiceOnly","us-gov-*/appconfig":"fipsWithServiceOnly","us-gov-*/application-autoscaling":"fipsWithServiceOnly","us-gov-*/autoscaling":"fipsWithServiceOnly","us-gov-*/autoscaling-plans":"fipsWithServiceOnly","us-gov-*/batch":"fipsWithServiceOnly","us-gov-*/cassandra":"fipsWithServiceOnly","us-gov-*/clouddirectory":"fipsWithServiceOnly","us-gov-*/cloudformation":"fipsWithServiceOnly","us-gov-*/cloudshell":"fipsWithServiceOnly","us-gov-*/cloudtrail":"fipsWithServiceOnly","us-gov-*/config":"fipsWithServiceOnly","us-gov-*/connect":"fipsWithServiceOnly","us-gov-*/databrew":"fipsWithServiceOnly","us-gov-*/dlm":"fipsWithServiceOnly","us-gov-*/dms":"fipsWithServiceOnly","us-gov-*/dynamodb":"fipsWithServiceOnly","us-gov-*/ec2":"fipsWithServiceOnly","us-gov-*/eks":"fipsWithServiceOnly","us-gov-*/elasticache":"fipsWithServiceOnly","us-gov-*/elasticbeanstalk":"fipsWithServiceOnly","us-gov-*/elasticloadbalancing":"fipsWithServiceOnly","us-gov-*/elasticmapreduce":"fipsWithServiceOnly","us-gov-*/events":"fipsWithServiceOnly","us-gov-*/fis":"fipsWithServiceOnly","us-gov-*/glacier":"fipsWithServiceOnly","us-gov-*/greengrass":"fipsWithServiceOnly","us-gov-*/guardduty":"fipsWithServiceOnly","us-gov-*/identitystore":"fipsWithServiceOnly","us-gov-*/imagebuilder":"fipsWithServiceOnly","us-gov-*/kafka":"fipsWithServiceOnly","us-gov-*/kinesis":"fipsWithServiceOnly","us-gov-*/logs":"fipsWithServiceOnly","us-gov-*/mediaconvert":"fipsWithServiceOnly","us-gov-*/monitoring":"fipsWithServiceOnly","us-gov-*/networkmanager":"fipsWithServiceOnly","us-gov-*/organizations":"fipsWithServiceOnly","us-gov-*/outposts":"fipsWithServiceOnly","us-gov-*/participant.connect":"fipsWithServiceOnly","us-gov-*/ram":"fipsWithServiceOnly","us-gov-*/rds":"fipsWithServiceOnly","us-gov-*/redshift":"fipsWithServiceOnly","us-gov-*/resource-groups":"fipsWithServiceOnly","us-gov-*/runtime.sagemaker":"fipsWithServiceOnly","us-gov-*/serverlessrepo":"fipsWithServiceOnly","us-gov-*/servicecatalog-appregistry":"fipsWithServiceOnly","us-gov-*/servicequotas":"fipsWithServiceOnly","us-gov-*/sns":"fipsWithServiceOnly","us-gov-*/sqs":"fipsWithServiceOnly","us-gov-*/ssm":"fipsWithServiceOnly","us-gov-*/streams.dynamodb":"fipsWithServiceOnly","us-gov-*/sts":"fipsWithServiceOnly","us-gov-*/support":"fipsWithServiceOnly","us-gov-*/swf":"fipsWithServiceOnly","us-gov-west-1/states":"fipsWithServiceOnly","us-iso-east-1/elasticfilesystem":{"endpoint":"elasticfilesystem-fips.{region}.c2s.ic.gov"},"us-gov-west-1/organizations":"fipsWithServiceOnly","us-gov-west-1/route53":{"endpoint":"route53.us-gov.amazonaws.com"},"*/resource-explorer-2":"fipsDualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"fipsGlobalDualstackByDefault"},"dualstackRules":{"*/*":{"endpoint":"{service}.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackLegacy","cn-*/s3":"dualstackLegacyCn","*/s3-control":"dualstackLegacy","cn-*/s3-control":"dualstackLegacyCn","ap-south-1/ec2":"dualstackLegacyEc2","eu-west-1/ec2":"dualstackLegacyEc2","sa-east-1/ec2":"dualstackLegacyEc2","us-east-1/ec2":"dualstackLegacyEc2","us-east-2/ec2":"dualstackLegacyEc2","us-west-2/ec2":"dualstackLegacyEc2"},"dualstackFipsRules":{"*/*":{"endpoint":"{service}-fips.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}-fips.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackFipsLegacy","cn-*/s3":"dualstackFipsLegacyCn","*/s3-control":"dualstackFipsLegacy","cn-*/s3-control":"dualstackFipsLegacyCn"},"patterns":{"globalSSL":{"endpoint":"https://{service}.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"globalGovCloud":{"endpoint":"{service}.us-gov.amazonaws.com","globalEndpoint":true,"signingRegion":"us-gov-west-1"},"s3signature":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"s3"},"usIso":{"endpoint":"{service}.{region}.c2s.ic.gov"},"usIsob":{"endpoint":"{service}.{region}.sc2s.sgov.gov"},"fipsStandard":{"endpoint":"{service}-fips.{region}.amazonaws.com"},"fipsDotPrefix":{"endpoint":"fips.{service}.{region}.amazonaws.com"},"fipsWithoutRegion":{"endpoint":"{service}-fips.amazonaws.com"},"fips.api.ecr":{"endpoint":"ecr-fips.{region}.amazonaws.com"},"fips.api.sagemaker":{"endpoint":"api-fips.sagemaker.{region}.amazonaws.com"},"fips.models.lex":{"endpoint":"models-fips.lex.{region}.amazonaws.com"},"fips.runtime.lex":{"endpoint":"runtime-fips.lex.{region}.amazonaws.com"},"fipsWithServiceOnly":{"endpoint":"{service}.{region}.amazonaws.com"},"dualstackLegacy":{"endpoint":"{service}.dualstack.{region}.amazonaws.com"},"dualstackLegacyCn":{"endpoint":"{service}.dualstack.{region}.amazonaws.com.cn"},"dualstackFipsLegacy":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com"},"dualstackFipsLegacyCn":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com.cn"},"dualstackLegacyEc2":{"endpoint":"api.ec2.{region}.aws"},"dualstackByDefault":{"endpoint":"{service}.{region}.api.aws"},"fipsDualstackByDefault":{"endpoint":"{service}-fips.{region}.api.aws"},"globalDualstackByDefault":{"endpoint":"{service}.global.api.aws"},"fipsGlobalDualstackByDefault":{"endpoint":"{service}-fips.global.api.aws"}}} /***/ }), /* 454 */ @@ -61203,13 +61203,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 1041 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-03-12","endpointPrefix":"finspace","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"finspace","serviceFullName":"FinSpace User Environment Management service","serviceId":"finspace","signatureVersion":"v4","signingName":"finspace","uid":"finspace-2021-03-12"},"operations":{"CreateEnvironment":{"http":{"requestUri":"/environment"},"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"kmsKeyId":{},"tags":{"shape":"S5"},"federationMode":{},"federationParameters":{"shape":"S9"},"superuserParameters":{"type":"structure","required":["emailAddress","firstName","lastName"],"members":{"emailAddress":{"type":"string","sensitive":true},"firstName":{},"lastName":{}}},"dataBundles":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"environmentId":{},"environmentArn":{},"environmentUrl":{}}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"CreateKxChangeset":{"http":{"requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/changesets"},"input":{"type":"structure","required":["environmentId","databaseName","changeRequests","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"changeRequests":{"shape":"Ss"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"changesetId":{},"databaseName":{},"environmentId":{},"changeRequests":{"shape":"Ss"},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"status":{},"errorInfo":{"shape":"S12"}}}},"CreateKxCluster":{"http":{"requestUri":"/kx/environments/{environmentId}/clusters"},"input":{"type":"structure","required":["environmentId","clusterName","clusterType","capacityConfiguration","releaseLabel","azMode"],"members":{"clientToken":{"idempotencyToken":true},"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{},"clusterType":{},"databases":{"shape":"S1a"},"cacheStorageConfigurations":{"shape":"S1g"},"autoScalingConfiguration":{"shape":"S1j"},"clusterDescription":{},"capacityConfiguration":{"shape":"S1p"},"releaseLabel":{},"vpcConfiguration":{"shape":"S1s"},"initializationScript":{},"commandLineArguments":{"shape":"S20"},"code":{"shape":"S24"},"executionRole":{},"savedownStorageConfiguration":{"shape":"S29"},"azMode":{},"availabilityZoneId":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"environmentId":{},"status":{},"statusReason":{},"clusterName":{},"clusterType":{},"databases":{"shape":"S1a"},"cacheStorageConfigurations":{"shape":"S1g"},"autoScalingConfiguration":{"shape":"S1j"},"clusterDescription":{},"capacityConfiguration":{"shape":"S1p"},"releaseLabel":{},"vpcConfiguration":{"shape":"S1s"},"initializationScript":{},"commandLineArguments":{"shape":"S20"},"code":{"shape":"S24"},"executionRole":{},"lastModifiedTimestamp":{"type":"timestamp"},"savedownStorageConfiguration":{"shape":"S29"},"azMode":{},"availabilityZoneId":{},"createdTimestamp":{"type":"timestamp"}}}},"CreateKxDatabase":{"http":{"requestUri":"/kx/environments/{environmentId}/databases"},"input":{"type":"structure","required":["environmentId","databaseName","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{},"description":{},"tags":{"shape":"S5"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"databaseName":{},"databaseArn":{},"environmentId":{},"description":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"}}}},"CreateKxEnvironment":{"http":{"requestUri":"/kx/environments"},"input":{"type":"structure","required":["name","kmsKeyId"],"members":{"name":{},"description":{},"kmsKeyId":{},"tags":{"shape":"S5"},"clientToken":{}}},"output":{"type":"structure","members":{"name":{},"status":{},"environmentId":{},"description":{},"environmentArn":{},"kmsKeyId":{},"creationTimestamp":{"type":"timestamp"}}}},"CreateKxUser":{"http":{"requestUri":"/kx/environments/{environmentId}/users"},"input":{"type":"structure","required":["environmentId","userName","iamRole"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"userName":{},"iamRole":{},"tags":{"shape":"S5"},"clientToken":{}}},"output":{"type":"structure","members":{"userName":{},"userArn":{},"environmentId":{},"iamRole":{}}}},"DeleteEnvironment":{"http":{"method":"DELETE","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"DeleteKxCluster":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}"},"input":{"type":"structure","required":["environmentId","clusterName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}}},"DeleteKxDatabase":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}"},"input":{"type":"structure","required":["environmentId","databaseName","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}}},"DeleteKxEnvironment":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{}}},"DeleteKxUser":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}/users/{userName}"},"input":{"type":"structure","required":["userName","environmentId"],"members":{"userName":{"location":"uri","locationName":"userName"},"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{}}},"GetEnvironment":{"http":{"method":"GET","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{"environment":{"shape":"S36"}}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"GetKxChangeset":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/changesets/{changesetId}"},"input":{"type":"structure","required":["environmentId","databaseName","changesetId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"changesetId":{"location":"uri","locationName":"changesetId"}}},"output":{"type":"structure","members":{"changesetId":{},"databaseName":{},"environmentId":{},"changeRequests":{"shape":"Ss"},"createdTimestamp":{"type":"timestamp"},"activeFromTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"status":{},"errorInfo":{"shape":"S12"}}}},"GetKxCluster":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}"},"input":{"type":"structure","required":["environmentId","clusterName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"}}},"output":{"type":"structure","members":{"status":{},"statusReason":{},"clusterName":{},"clusterType":{},"databases":{"shape":"S1a"},"cacheStorageConfigurations":{"shape":"S1g"},"autoScalingConfiguration":{"shape":"S1j"},"clusterDescription":{},"capacityConfiguration":{"shape":"S1p"},"releaseLabel":{},"vpcConfiguration":{"shape":"S1s"},"initializationScript":{},"commandLineArguments":{"shape":"S20"},"code":{"shape":"S24"},"executionRole":{},"lastModifiedTimestamp":{"type":"timestamp"},"savedownStorageConfiguration":{"shape":"S29"},"azMode":{},"availabilityZoneId":{},"createdTimestamp":{"type":"timestamp"}}}},"GetKxConnectionString":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/connectionString"},"input":{"type":"structure","required":["userArn","environmentId","clusterName"],"members":{"userArn":{"location":"querystring","locationName":"userArn"},"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"querystring","locationName":"clusterName"}}},"output":{"type":"structure","members":{"signedConnectionString":{"type":"string","sensitive":true}}}},"GetKxDatabase":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}"},"input":{"type":"structure","required":["environmentId","databaseName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"}}},"output":{"type":"structure","members":{"databaseName":{},"databaseArn":{},"environmentId":{},"description":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"lastCompletedChangesetId":{},"numBytes":{"type":"long"},"numChangesets":{"type":"integer"},"numFiles":{"type":"integer"}}}},"GetKxEnvironment":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"tgwStatus":{},"dnsStatus":{},"errorMessage":{},"description":{},"environmentArn":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"transitGatewayConfiguration":{"shape":"S3p"},"customDNSConfiguration":{"shape":"S42"},"creationTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"},"availabilityZoneIds":{"shape":"S46"},"certificateAuthorityArn":{}}}},"GetKxUser":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/users/{userName}"},"input":{"type":"structure","required":["userName","environmentId"],"members":{"userName":{"location":"uri","locationName":"userName"},"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{"userName":{},"userArn":{},"environmentId":{},"iamRole":{}}}},"ListEnvironments":{"http":{"method":"GET","requestUri":"/environment"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"environments":{"type":"list","member":{"shape":"S36"}},"nextToken":{}}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"ListKxChangesets":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/changesets"},"input":{"type":"structure","required":["environmentId","databaseName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"kxChangesets":{"type":"list","member":{"type":"structure","members":{"changesetId":{},"createdTimestamp":{"type":"timestamp"},"activeFromTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"status":{}}}},"nextToken":{}}}},"ListKxClusterNodes":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}/nodes"},"input":{"type":"structure","required":["clusterName","environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"nodes":{"type":"list","member":{"type":"structure","members":{"nodeId":{},"availabilityZoneId":{},"launchTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKxClusters":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/clusters"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterType":{"location":"querystring","locationName":"clusterType"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"kxClusterSummaries":{"type":"list","member":{"type":"structure","members":{"status":{},"statusReason":{},"clusterName":{},"clusterType":{},"clusterDescription":{},"releaseLabel":{},"initializationScript":{},"executionRole":{},"azMode":{},"availabilityZoneId":{},"lastModifiedTimestamp":{"type":"timestamp"},"createdTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKxDatabases":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"kxDatabases":{"type":"list","member":{"type":"structure","members":{"databaseName":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKxEnvironments":{"http":{"method":"GET","requestUri":"/kx/environments"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"environments":{"type":"list","member":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"tgwStatus":{},"dnsStatus":{},"errorMessage":{},"description":{},"environmentArn":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"transitGatewayConfiguration":{"shape":"S3p"},"customDNSConfiguration":{"shape":"S42"},"creationTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"},"availabilityZoneIds":{"shape":"S46"},"certificateAuthorityArn":{}}}},"nextToken":{}}}},"ListKxUsers":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/users"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"users":{"type":"list","member":{"type":"structure","members":{"userArn":{},"userName":{},"iamRole":{},"createTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S5"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateEnvironment":{"http":{"method":"PUT","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"name":{},"description":{},"federationMode":{},"federationParameters":{"shape":"S9"}}},"output":{"type":"structure","members":{"environment":{"shape":"S36"}}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"UpdateKxClusterCodeConfiguration":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}/configuration/code"},"input":{"type":"structure","required":["environmentId","clusterName","code"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"},"clientToken":{"idempotencyToken":true},"code":{"shape":"S24"},"initializationScript":{},"commandLineArguments":{"shape":"S20"},"deploymentConfiguration":{"type":"structure","required":["deploymentStrategy"],"members":{"deploymentStrategy":{}}}}},"output":{"type":"structure","members":{}}},"UpdateKxClusterDatabases":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}/configuration/databases"},"input":{"type":"structure","required":["environmentId","clusterName","databases"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"},"clientToken":{"idempotencyToken":true},"databases":{"shape":"S1a"},"deploymentConfiguration":{"type":"structure","required":["deploymentStrategy"],"members":{"deploymentStrategy":{}}}}},"output":{"type":"structure","members":{}}},"UpdateKxDatabase":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}"},"input":{"type":"structure","required":["environmentId","databaseName","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"description":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"databaseName":{},"environmentId":{},"description":{},"lastModifiedTimestamp":{"type":"timestamp"}}}},"UpdateKxEnvironment":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"name":{},"description":{},"clientToken":{}}},"output":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"tgwStatus":{},"dnsStatus":{},"errorMessage":{},"description":{},"environmentArn":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"transitGatewayConfiguration":{"shape":"S3p"},"customDNSConfiguration":{"shape":"S42"},"creationTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"},"availabilityZoneIds":{"shape":"S46"}}}},"UpdateKxEnvironmentNetwork":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/network"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"transitGatewayConfiguration":{"shape":"S3p"},"customDNSConfiguration":{"shape":"S42"},"clientToken":{}}},"output":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"tgwStatus":{},"dnsStatus":{},"errorMessage":{},"description":{},"environmentArn":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"transitGatewayConfiguration":{"shape":"S3p"},"customDNSConfiguration":{"shape":"S42"},"creationTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"},"availabilityZoneIds":{"shape":"S46"}}}},"UpdateKxUser":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/users/{userName}"},"input":{"type":"structure","required":["environmentId","userName","iamRole"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"userName":{"location":"uri","locationName":"userName"},"iamRole":{},"clientToken":{}}},"output":{"type":"structure","members":{"userName":{},"userArn":{},"environmentId":{},"iamRole":{}}}}},"shapes":{"S5":{"type":"map","key":{},"value":{}},"S9":{"type":"structure","members":{"samlMetadataDocument":{},"samlMetadataURL":{},"applicationCallBackURL":{},"federationURN":{},"federationProviderName":{},"attributeMap":{"type":"map","key":{},"value":{}}}},"Ss":{"type":"list","member":{"type":"structure","required":["changeType","dbPath"],"members":{"changeType":{},"s3Path":{},"dbPath":{}}}},"S12":{"type":"structure","members":{"errorMessage":{},"errorType":{}}},"S1a":{"type":"list","member":{"type":"structure","required":["databaseName"],"members":{"databaseName":{},"cacheConfigurations":{"type":"list","member":{"type":"structure","required":["cacheType","dbPaths"],"members":{"cacheType":{},"dbPaths":{"type":"list","member":{}}}}},"changesetId":{}}}},"S1g":{"type":"list","member":{"type":"structure","required":["type","size"],"members":{"type":{},"size":{"type":"integer"}}}},"S1j":{"type":"structure","members":{"minNodeCount":{"type":"integer"},"maxNodeCount":{"type":"integer"},"autoScalingMetric":{},"metricTarget":{"type":"double"},"scaleInCooldownSeconds":{"type":"double"},"scaleOutCooldownSeconds":{"type":"double"}}},"S1p":{"type":"structure","members":{"nodeType":{},"nodeCount":{"type":"integer"}}},"S1s":{"type":"structure","members":{"vpcId":{},"securityGroupIds":{"type":"list","member":{}},"subnetIds":{"type":"list","member":{}},"ipAddressType":{}}},"S20":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{}}}},"S24":{"type":"structure","members":{"s3Bucket":{},"s3Key":{},"s3ObjectVersion":{}}},"S29":{"type":"structure","required":["type","size"],"members":{"type":{},"size":{"type":"integer"}}},"S36":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"environmentUrl":{},"description":{},"environmentArn":{},"sageMakerStudioDomainUrl":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"federationMode":{},"federationParameters":{"shape":"S9"}}},"S3p":{"type":"structure","required":["transitGatewayID","routableCIDRSpace"],"members":{"transitGatewayID":{},"routableCIDRSpace":{},"attachmentNetworkAclConfiguration":{"type":"list","member":{"type":"structure","required":["ruleNumber","protocol","ruleAction","cidrBlock"],"members":{"ruleNumber":{"type":"integer"},"protocol":{},"ruleAction":{},"portRange":{"type":"structure","required":["from","to"],"members":{"from":{"type":"integer"},"to":{"type":"integer"}}},"icmpTypeCode":{"type":"structure","required":["type","code"],"members":{"type":{"type":"integer"},"code":{"type":"integer"}}},"cidrBlock":{}}}}}},"S42":{"type":"list","member":{"type":"structure","required":["customDNSServerName","customDNSServerIP"],"members":{"customDNSServerName":{},"customDNSServerIP":{}}}},"S46":{"type":"list","member":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-03-12","endpointPrefix":"finspace","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"finspace","serviceFullName":"FinSpace User Environment Management service","serviceId":"finspace","signatureVersion":"v4","signingName":"finspace","uid":"finspace-2021-03-12"},"operations":{"CreateEnvironment":{"http":{"requestUri":"/environment"},"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"kmsKeyId":{},"tags":{"shape":"S5"},"federationMode":{},"federationParameters":{"shape":"S9"},"superuserParameters":{"type":"structure","required":["emailAddress","firstName","lastName"],"members":{"emailAddress":{"type":"string","sensitive":true},"firstName":{},"lastName":{}}},"dataBundles":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"environmentId":{},"environmentArn":{},"environmentUrl":{}}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"CreateKxChangeset":{"http":{"requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/changesets"},"input":{"type":"structure","required":["environmentId","databaseName","changeRequests","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"changeRequests":{"shape":"Ss"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"changesetId":{},"databaseName":{},"environmentId":{},"changeRequests":{"shape":"Ss"},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"status":{},"errorInfo":{"shape":"S12"}}}},"CreateKxCluster":{"http":{"requestUri":"/kx/environments/{environmentId}/clusters"},"input":{"type":"structure","required":["environmentId","clusterName","clusterType","releaseLabel","vpcConfiguration","azMode"],"members":{"clientToken":{"idempotencyToken":true},"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{},"clusterType":{},"tickerplantLogConfiguration":{"shape":"S1a"},"databases":{"shape":"S1d"},"cacheStorageConfigurations":{"shape":"S1q"},"autoScalingConfiguration":{"shape":"S1t"},"clusterDescription":{},"capacityConfiguration":{"shape":"S1z"},"releaseLabel":{},"vpcConfiguration":{"shape":"S22"},"initializationScript":{},"commandLineArguments":{"shape":"S2a"},"code":{"shape":"S2e"},"executionRole":{},"savedownStorageConfiguration":{"shape":"S2j"},"azMode":{},"availabilityZoneId":{},"tags":{"shape":"S5"},"scalingGroupConfiguration":{"shape":"S2o"}}},"output":{"type":"structure","members":{"environmentId":{},"status":{},"statusReason":{},"clusterName":{},"clusterType":{},"tickerplantLogConfiguration":{"shape":"S1a"},"volumes":{"shape":"S2w"},"databases":{"shape":"S1d"},"cacheStorageConfigurations":{"shape":"S1q"},"autoScalingConfiguration":{"shape":"S1t"},"clusterDescription":{},"capacityConfiguration":{"shape":"S1z"},"releaseLabel":{},"vpcConfiguration":{"shape":"S22"},"initializationScript":{},"commandLineArguments":{"shape":"S2a"},"code":{"shape":"S2e"},"executionRole":{},"lastModifiedTimestamp":{"type":"timestamp"},"savedownStorageConfiguration":{"shape":"S2j"},"azMode":{},"availabilityZoneId":{},"createdTimestamp":{"type":"timestamp"},"scalingGroupConfiguration":{"shape":"S2o"}}}},"CreateKxDatabase":{"http":{"requestUri":"/kx/environments/{environmentId}/databases"},"input":{"type":"structure","required":["environmentId","databaseName","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{},"description":{},"tags":{"shape":"S5"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"databaseName":{},"databaseArn":{},"environmentId":{},"description":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"}}}},"CreateKxDataview":{"http":{"requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews"},"input":{"type":"structure","required":["environmentId","databaseName","dataviewName","azMode","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"dataviewName":{},"azMode":{},"availabilityZoneId":{},"changesetId":{},"segmentConfigurations":{"shape":"S1m"},"autoUpdate":{"type":"boolean"},"description":{},"tags":{"shape":"S5"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"dataviewName":{},"databaseName":{},"environmentId":{},"azMode":{},"availabilityZoneId":{},"changesetId":{},"segmentConfigurations":{"shape":"S1m"},"description":{},"autoUpdate":{"type":"boolean"},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"status":{}}}},"CreateKxEnvironment":{"http":{"requestUri":"/kx/environments"},"input":{"type":"structure","required":["name","kmsKeyId"],"members":{"name":{},"description":{},"kmsKeyId":{},"tags":{"shape":"S5"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"name":{},"status":{},"environmentId":{},"description":{},"environmentArn":{},"kmsKeyId":{},"creationTimestamp":{"type":"timestamp"}}}},"CreateKxScalingGroup":{"http":{"requestUri":"/kx/environments/{environmentId}/scalingGroups"},"input":{"type":"structure","required":["clientToken","environmentId","scalingGroupName","hostType","availabilityZoneId"],"members":{"clientToken":{"idempotencyToken":true},"environmentId":{"location":"uri","locationName":"environmentId"},"scalingGroupName":{},"hostType":{},"availabilityZoneId":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"environmentId":{},"scalingGroupName":{},"hostType":{},"availabilityZoneId":{},"status":{},"lastModifiedTimestamp":{"type":"timestamp"},"createdTimestamp":{"type":"timestamp"}}}},"CreateKxUser":{"http":{"requestUri":"/kx/environments/{environmentId}/users"},"input":{"type":"structure","required":["environmentId","userName","iamRole"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"userName":{},"iamRole":{},"tags":{"shape":"S5"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"userName":{},"userArn":{},"environmentId":{},"iamRole":{}}}},"CreateKxVolume":{"http":{"requestUri":"/kx/environments/{environmentId}/kxvolumes"},"input":{"type":"structure","required":["environmentId","volumeType","volumeName","azMode","availabilityZoneIds"],"members":{"clientToken":{"idempotencyToken":true},"environmentId":{"location":"uri","locationName":"environmentId"},"volumeType":{},"volumeName":{},"description":{},"nas1Configuration":{"shape":"S3m"},"azMode":{},"availabilityZoneIds":{"shape":"S3p"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"environmentId":{},"volumeName":{},"volumeType":{},"volumeArn":{},"nas1Configuration":{"shape":"S3m"},"status":{},"statusReason":{},"azMode":{},"description":{},"availabilityZoneIds":{"shape":"S3p"},"createdTimestamp":{"type":"timestamp"}}}},"DeleteEnvironment":{"http":{"method":"DELETE","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"DeleteKxCluster":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}"},"input":{"type":"structure","required":["environmentId","clusterName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}}},"DeleteKxDatabase":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}"},"input":{"type":"structure","required":["environmentId","databaseName","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}}},"DeleteKxDataview":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}"},"input":{"type":"structure","required":["environmentId","databaseName","dataviewName","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"dataviewName":{"location":"uri","locationName":"dataviewName"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}}},"DeleteKxEnvironment":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}}},"DeleteKxScalingGroup":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}"},"input":{"type":"structure","required":["environmentId","scalingGroupName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"scalingGroupName":{"location":"uri","locationName":"scalingGroupName"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}}},"DeleteKxUser":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}/users/{userName}"},"input":{"type":"structure","required":["userName","environmentId"],"members":{"userName":{"location":"uri","locationName":"userName"},"environmentId":{"location":"uri","locationName":"environmentId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}}},"DeleteKxVolume":{"http":{"method":"DELETE","requestUri":"/kx/environments/{environmentId}/kxvolumes/{volumeName}"},"input":{"type":"structure","required":["environmentId","volumeName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"volumeName":{"location":"uri","locationName":"volumeName"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}}},"GetEnvironment":{"http":{"method":"GET","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{"environment":{"shape":"S4c"}}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"GetKxChangeset":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/changesets/{changesetId}"},"input":{"type":"structure","required":["environmentId","databaseName","changesetId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"changesetId":{"location":"uri","locationName":"changesetId"}}},"output":{"type":"structure","members":{"changesetId":{},"databaseName":{},"environmentId":{},"changeRequests":{"shape":"Ss"},"createdTimestamp":{"type":"timestamp"},"activeFromTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"status":{},"errorInfo":{"shape":"S12"}}}},"GetKxCluster":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}"},"input":{"type":"structure","required":["environmentId","clusterName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"}}},"output":{"type":"structure","members":{"status":{},"statusReason":{},"clusterName":{},"clusterType":{},"tickerplantLogConfiguration":{"shape":"S1a"},"volumes":{"shape":"S2w"},"databases":{"shape":"S1d"},"cacheStorageConfigurations":{"shape":"S1q"},"autoScalingConfiguration":{"shape":"S1t"},"clusterDescription":{},"capacityConfiguration":{"shape":"S1z"},"releaseLabel":{},"vpcConfiguration":{"shape":"S22"},"initializationScript":{},"commandLineArguments":{"shape":"S2a"},"code":{"shape":"S2e"},"executionRole":{},"lastModifiedTimestamp":{"type":"timestamp"},"savedownStorageConfiguration":{"shape":"S2j"},"azMode":{},"availabilityZoneId":{},"createdTimestamp":{"type":"timestamp"},"scalingGroupConfiguration":{"shape":"S2o"}}}},"GetKxConnectionString":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/connectionString"},"input":{"type":"structure","required":["userArn","environmentId","clusterName"],"members":{"userArn":{"location":"querystring","locationName":"userArn"},"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"querystring","locationName":"clusterName"}}},"output":{"type":"structure","members":{"signedConnectionString":{"type":"string","sensitive":true}}}},"GetKxDatabase":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}"},"input":{"type":"structure","required":["environmentId","databaseName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"}}},"output":{"type":"structure","members":{"databaseName":{},"databaseArn":{},"environmentId":{},"description":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"lastCompletedChangesetId":{},"numBytes":{"type":"long"},"numChangesets":{"type":"integer"},"numFiles":{"type":"integer"}}}},"GetKxDataview":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}"},"input":{"type":"structure","required":["environmentId","databaseName","dataviewName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"dataviewName":{"location":"uri","locationName":"dataviewName"}}},"output":{"type":"structure","members":{"databaseName":{},"dataviewName":{},"azMode":{},"availabilityZoneId":{},"changesetId":{},"segmentConfigurations":{"shape":"S1m"},"activeVersions":{"shape":"S4s"},"description":{},"autoUpdate":{"type":"boolean"},"environmentId":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"status":{},"statusReason":{}}}},"GetKxEnvironment":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"tgwStatus":{},"dnsStatus":{},"errorMessage":{},"description":{},"environmentArn":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"transitGatewayConfiguration":{"shape":"S51"},"customDNSConfiguration":{"shape":"S5e"},"creationTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"},"availabilityZoneIds":{"shape":"S3p"},"certificateAuthorityArn":{}}}},"GetKxScalingGroup":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/scalingGroups/{scalingGroupName}"},"input":{"type":"structure","required":["environmentId","scalingGroupName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"scalingGroupName":{"location":"uri","locationName":"scalingGroupName"}}},"output":{"type":"structure","members":{"scalingGroupName":{},"scalingGroupArn":{},"hostType":{},"clusters":{"shape":"S5m"},"availabilityZoneId":{},"status":{},"statusReason":{},"lastModifiedTimestamp":{"type":"timestamp"},"createdTimestamp":{"type":"timestamp"}}}},"GetKxUser":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/users/{userName}"},"input":{"type":"structure","required":["userName","environmentId"],"members":{"userName":{"location":"uri","locationName":"userName"},"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{"userName":{},"userArn":{},"environmentId":{},"iamRole":{}}}},"GetKxVolume":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/kxvolumes/{volumeName}"},"input":{"type":"structure","required":["environmentId","volumeName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"volumeName":{"location":"uri","locationName":"volumeName"}}},"output":{"type":"structure","members":{"environmentId":{},"volumeName":{},"volumeType":{},"volumeArn":{},"nas1Configuration":{"shape":"S3m"},"status":{},"statusReason":{},"createdTimestamp":{"type":"timestamp"},"description":{},"azMode":{},"availabilityZoneIds":{"shape":"S3p"},"lastModifiedTimestamp":{"type":"timestamp"},"attachedClusters":{"shape":"S5r"}}}},"ListEnvironments":{"http":{"method":"GET","requestUri":"/environment"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"environments":{"type":"list","member":{"shape":"S4c"}},"nextToken":{}}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"ListKxChangesets":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/changesets"},"input":{"type":"structure","required":["environmentId","databaseName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"kxChangesets":{"type":"list","member":{"type":"structure","members":{"changesetId":{},"createdTimestamp":{"type":"timestamp"},"activeFromTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"status":{}}}},"nextToken":{}}}},"ListKxClusterNodes":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}/nodes"},"input":{"type":"structure","required":["clusterName","environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"nodes":{"type":"list","member":{"type":"structure","members":{"nodeId":{},"availabilityZoneId":{},"launchTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKxClusters":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/clusters"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterType":{"location":"querystring","locationName":"clusterType"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"kxClusterSummaries":{"type":"list","member":{"type":"structure","members":{"status":{},"statusReason":{},"clusterName":{},"clusterType":{},"clusterDescription":{},"releaseLabel":{},"volumes":{"shape":"S2w"},"initializationScript":{},"executionRole":{},"azMode":{},"availabilityZoneId":{},"lastModifiedTimestamp":{"type":"timestamp"},"createdTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKxDatabases":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"kxDatabases":{"type":"list","member":{"type":"structure","members":{"databaseName":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKxDataviews":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews"},"input":{"type":"structure","required":["environmentId","databaseName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"kxDataviews":{"type":"list","member":{"type":"structure","members":{"environmentId":{},"databaseName":{},"dataviewName":{},"azMode":{},"availabilityZoneId":{},"changesetId":{},"segmentConfigurations":{"shape":"S1m"},"activeVersions":{"shape":"S4s"},"status":{},"description":{},"autoUpdate":{"type":"boolean"},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"},"statusReason":{}}}},"nextToken":{}}}},"ListKxEnvironments":{"http":{"method":"GET","requestUri":"/kx/environments"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"environments":{"type":"list","member":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"tgwStatus":{},"dnsStatus":{},"errorMessage":{},"description":{},"environmentArn":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"transitGatewayConfiguration":{"shape":"S51"},"customDNSConfiguration":{"shape":"S5e"},"creationTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"},"availabilityZoneIds":{"shape":"S3p"},"certificateAuthorityArn":{}}}},"nextToken":{}}}},"ListKxScalingGroups":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/scalingGroups"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"scalingGroups":{"type":"list","member":{"type":"structure","members":{"scalingGroupName":{},"hostType":{},"clusters":{"shape":"S5m"},"availabilityZoneId":{},"status":{},"statusReason":{},"lastModifiedTimestamp":{"type":"timestamp"},"createdTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKxUsers":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/users"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"users":{"type":"list","member":{"type":"structure","members":{"userArn":{},"userName":{},"iamRole":{},"createTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKxVolumes":{"http":{"method":"GET","requestUri":"/kx/environments/{environmentId}/kxvolumes"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"volumeType":{"location":"querystring","locationName":"volumeType"}}},"output":{"type":"structure","members":{"kxVolumeSummaries":{"type":"list","member":{"type":"structure","members":{"volumeName":{},"volumeType":{},"status":{},"description":{},"statusReason":{},"azMode":{},"availabilityZoneIds":{"shape":"S3p"},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S5"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateEnvironment":{"http":{"method":"PUT","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"name":{},"description":{},"federationMode":{},"federationParameters":{"shape":"S9"}}},"output":{"type":"structure","members":{"environment":{"shape":"S4c"}}},"deprecated":true,"deprecatedMessage":"This method will be discontinued."},"UpdateKxClusterCodeConfiguration":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}/configuration/code"},"input":{"type":"structure","required":["environmentId","clusterName","code"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"},"clientToken":{"idempotencyToken":true},"code":{"shape":"S2e"},"initializationScript":{},"commandLineArguments":{"shape":"S2a"},"deploymentConfiguration":{"type":"structure","required":["deploymentStrategy"],"members":{"deploymentStrategy":{}}}}},"output":{"type":"structure","members":{}}},"UpdateKxClusterDatabases":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/clusters/{clusterName}/configuration/databases"},"input":{"type":"structure","required":["environmentId","clusterName","databases"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"clusterName":{"location":"uri","locationName":"clusterName"},"clientToken":{"idempotencyToken":true},"databases":{"shape":"S1d"},"deploymentConfiguration":{"type":"structure","required":["deploymentStrategy"],"members":{"deploymentStrategy":{}}}}},"output":{"type":"structure","members":{}}},"UpdateKxDatabase":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}"},"input":{"type":"structure","required":["environmentId","databaseName","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"description":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"databaseName":{},"environmentId":{},"description":{},"lastModifiedTimestamp":{"type":"timestamp"}}}},"UpdateKxDataview":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}"},"input":{"type":"structure","required":["environmentId","databaseName","dataviewName","clientToken"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"databaseName":{"location":"uri","locationName":"databaseName"},"dataviewName":{"location":"uri","locationName":"dataviewName"},"description":{},"changesetId":{},"segmentConfigurations":{"shape":"S1m"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"environmentId":{},"databaseName":{},"dataviewName":{},"azMode":{},"availabilityZoneId":{},"changesetId":{},"segmentConfigurations":{"shape":"S1m"},"activeVersions":{"shape":"S4s"},"status":{},"autoUpdate":{"type":"boolean"},"description":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"}}}},"UpdateKxEnvironment":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"name":{},"description":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"tgwStatus":{},"dnsStatus":{},"errorMessage":{},"description":{},"environmentArn":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"transitGatewayConfiguration":{"shape":"S51"},"customDNSConfiguration":{"shape":"S5e"},"creationTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"},"availabilityZoneIds":{"shape":"S3p"}}}},"UpdateKxEnvironmentNetwork":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/network"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"transitGatewayConfiguration":{"shape":"S51"},"customDNSConfiguration":{"shape":"S5e"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"tgwStatus":{},"dnsStatus":{},"errorMessage":{},"description":{},"environmentArn":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"transitGatewayConfiguration":{"shape":"S51"},"customDNSConfiguration":{"shape":"S5e"},"creationTimestamp":{"type":"timestamp"},"updateTimestamp":{"type":"timestamp"},"availabilityZoneIds":{"shape":"S3p"}}}},"UpdateKxUser":{"http":{"method":"PUT","requestUri":"/kx/environments/{environmentId}/users/{userName}"},"input":{"type":"structure","required":["environmentId","userName","iamRole"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"userName":{"location":"uri","locationName":"userName"},"iamRole":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"userName":{},"userArn":{},"environmentId":{},"iamRole":{}}}},"UpdateKxVolume":{"http":{"method":"PATCH","requestUri":"/kx/environments/{environmentId}/kxvolumes/{volumeName}"},"input":{"type":"structure","required":["environmentId","volumeName"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"volumeName":{"location":"uri","locationName":"volumeName"},"description":{},"clientToken":{"idempotencyToken":true},"nas1Configuration":{"shape":"S3m"}}},"output":{"type":"structure","members":{"environmentId":{},"volumeName":{},"volumeType":{},"volumeArn":{},"nas1Configuration":{"shape":"S3m"},"status":{},"description":{},"statusReason":{},"createdTimestamp":{"type":"timestamp"},"azMode":{},"availabilityZoneIds":{"shape":"S3p"},"lastModifiedTimestamp":{"type":"timestamp"},"attachedClusters":{"shape":"S5r"}}}}},"shapes":{"S5":{"type":"map","key":{},"value":{}},"S9":{"type":"structure","members":{"samlMetadataDocument":{},"samlMetadataURL":{},"applicationCallBackURL":{},"federationURN":{},"federationProviderName":{},"attributeMap":{"type":"map","key":{},"value":{}}}},"Ss":{"type":"list","member":{"type":"structure","required":["changeType","dbPath"],"members":{"changeType":{},"s3Path":{},"dbPath":{}}}},"S12":{"type":"structure","members":{"errorMessage":{},"errorType":{}}},"S1a":{"type":"structure","members":{"tickerplantLogVolumes":{"type":"list","member":{}}}},"S1d":{"type":"list","member":{"type":"structure","required":["databaseName"],"members":{"databaseName":{},"cacheConfigurations":{"type":"list","member":{"type":"structure","required":["cacheType","dbPaths"],"members":{"cacheType":{},"dbPaths":{"type":"list","member":{}},"dataviewName":{}}}},"changesetId":{},"dataviewName":{},"dataviewConfiguration":{"type":"structure","members":{"dataviewName":{},"dataviewVersionId":{},"changesetId":{},"segmentConfigurations":{"shape":"S1m"}}}}}},"S1m":{"type":"list","member":{"type":"structure","required":["dbPaths","volumeName"],"members":{"dbPaths":{"type":"list","member":{}},"volumeName":{}}}},"S1q":{"type":"list","member":{"type":"structure","required":["type","size"],"members":{"type":{},"size":{"type":"integer"}}}},"S1t":{"type":"structure","members":{"minNodeCount":{"type":"integer"},"maxNodeCount":{"type":"integer"},"autoScalingMetric":{},"metricTarget":{"type":"double"},"scaleInCooldownSeconds":{"type":"double"},"scaleOutCooldownSeconds":{"type":"double"}}},"S1z":{"type":"structure","members":{"nodeType":{},"nodeCount":{"type":"integer"}}},"S22":{"type":"structure","members":{"vpcId":{},"securityGroupIds":{"type":"list","member":{}},"subnetIds":{"type":"list","member":{}},"ipAddressType":{}}},"S2a":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{}}}},"S2e":{"type":"structure","members":{"s3Bucket":{},"s3Key":{},"s3ObjectVersion":{}}},"S2j":{"type":"structure","members":{"type":{},"size":{"type":"integer"},"volumeName":{}}},"S2o":{"type":"structure","required":["scalingGroupName","memoryReservation","nodeCount"],"members":{"scalingGroupName":{},"memoryLimit":{"type":"integer"},"memoryReservation":{"type":"integer"},"nodeCount":{"type":"integer"},"cpu":{"type":"double"}}},"S2w":{"type":"list","member":{"type":"structure","members":{"volumeName":{},"volumeType":{}}}},"S3m":{"type":"structure","members":{"type":{},"size":{"type":"integer"}}},"S3p":{"type":"list","member":{}},"S4c":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"environmentUrl":{},"description":{},"environmentArn":{},"sageMakerStudioDomainUrl":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"federationMode":{},"federationParameters":{"shape":"S9"}}},"S4s":{"type":"list","member":{"type":"structure","members":{"changesetId":{},"segmentConfigurations":{"shape":"S1m"},"attachedClusters":{"type":"list","member":{}},"createdTimestamp":{"type":"timestamp"},"versionId":{}}}},"S51":{"type":"structure","required":["transitGatewayID","routableCIDRSpace"],"members":{"transitGatewayID":{},"routableCIDRSpace":{},"attachmentNetworkAclConfiguration":{"type":"list","member":{"type":"structure","required":["ruleNumber","protocol","ruleAction","cidrBlock"],"members":{"ruleNumber":{"type":"integer"},"protocol":{},"ruleAction":{},"portRange":{"type":"structure","required":["from","to"],"members":{"from":{"type":"integer"},"to":{"type":"integer"}}},"icmpTypeCode":{"type":"structure","required":["type","code"],"members":{"type":{"type":"integer"},"code":{"type":"integer"}}},"cidrBlock":{}}}}}},"S5e":{"type":"list","member":{"type":"structure","required":["customDNSServerName","customDNSServerIP"],"members":{"customDNSServerName":{},"customDNSServerIP":{}}}},"S5m":{"type":"list","member":{}},"S5r":{"type":"list","member":{"type":"structure","members":{"clusterName":{},"clusterType":{},"clusterStatus":{}}}}}} /***/ }), /* 1042 */ /***/ (function(module, exports) { - module.exports = {"pagination":{"ListKxChangesets":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListKxClusterNodes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListKxDatabases":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListKxEnvironments":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"environments"}}} + module.exports = {"pagination":{"ListKxChangesets":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListKxClusterNodes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListKxDatabases":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListKxDataviews":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListKxEnvironments":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"environments"},"ListKxScalingGroups":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"}}} /***/ }), /* 1043 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 383114b2a8..06e94d7da0 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1514.0 +// AWS SDK for JavaScript v2.1515.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:a,convertToBuffer:i}},{"buffer/":440}],342:[function(e,t,r){function a(e,t){this.hash=new e,this.outer=new e;var r=i(e,t),a=new Uint8Array(e.BLOCK_SIZE);a.set(r);for(var s=0;se.BLOCK_SIZE){var a=new e;a.update(r),r=a.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(r),i}var s=e("./browserHashUtils");t.exports=a,a.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},a.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":341}],343:[function(e,t,r){function a(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,r,a,i,s){return((t=(t+e&4294967295)+(a+s&4294967295)&4294967295)<>>32-i)+r&4294967295}function s(e,t,r,a,s,o,n){return i(t&r|~t&a,e,t,s,o,n)}function o(e,t,r,a,s,o,n){return i(t&a|r&~a,e,t,s,o,n)}function n(e,t,r,a,s,o,n){return i(t^r^a,e,t,s,o,n)}function u(e,t,r,a,s,o,n){return i(r^(t|~a),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=a,a.BLOCK_SIZE=c,a.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,a=t.byteLength;for(this.bytesHashed+=a;a>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),a--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,a=t.bufferLength,i=t.bytesHashed,s=8*i;if(r.setUint8(this.bufferLength++,128),a%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},a.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],p=r[2],m=r[3];a=s(a,i,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,a,i,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,a,i,t.getUint32(8,!0),17,606105819),i=s(i,p,m,a,t.getUint32(12,!0),22,3250441966),a=s(a,i,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,a,i,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,a,i,t.getUint32(24,!0),17,2821735955),i=s(i,p,m,a,t.getUint32(28,!0),22,4249261313),a=s(a,i,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,a,i,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,a,i,t.getUint32(40,!0),17,4294925233),i=s(i,p,m,a,t.getUint32(44,!0),22,2304563134),a=s(a,i,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,a,i,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,a,i,t.getUint32(56,!0),17,2792965006),i=s(i,p,m,a,t.getUint32(60,!0),22,1236535329),a=o(a,i,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,a,i,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,a,i,t.getUint32(44,!0),14,643717713),i=o(i,p,m,a,t.getUint32(0,!0),20,3921069994),a=o(a,i,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,a,i,p,t.getUint32(40,!0),9,38016083),p=o(p,m,a,i,t.getUint32(60,!0),14,3634488961),i=o(i,p,m,a,t.getUint32(16,!0),20,3889429448),a=o(a,i,p,m,t.getUint32(36,!0),5,568446438),m=o(m,a,i,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,a,i,t.getUint32(12,!0),14,4107603335),i=o(i,p,m,a,t.getUint32(32,!0),20,1163531501),a=o(a,i,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,a,i,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,a,i,t.getUint32(28,!0),14,1735328473),i=o(i,p,m,a,t.getUint32(48,!0),20,2368359562),a=n(a,i,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,a,i,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,a,i,t.getUint32(44,!0),16,1839030562),i=n(i,p,m,a,t.getUint32(56,!0),23,4259657740),a=n(a,i,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,a,i,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,a,i,t.getUint32(28,!0),16,4139469664),i=n(i,p,m,a,t.getUint32(40,!0),23,3200236656),a=n(a,i,p,m,t.getUint32(52,!0),4,681279174),m=n(m,a,i,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,a,i,t.getUint32(12,!0),16,3572445317),i=n(i,p,m,a,t.getUint32(24,!0),23,76029189),a=n(a,i,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,a,i,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,a,i,t.getUint32(60,!0),16,530742520),i=n(i,p,m,a,t.getUint32(8,!0),23,3299628645),a=u(a,i,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,a,i,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,a,i,t.getUint32(56,!0),15,2878612391),i=u(i,p,m,a,t.getUint32(20,!0),21,4237533241),a=u(a,i,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,a,i,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,a,i,t.getUint32(40,!0),15,4293915773),i=u(i,p,m,a,t.getUint32(4,!0),21,2240044497),a=u(a,i,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,a,i,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,a,i,t.getUint32(24,!0),15,2734768916),i=u(i,p,m,a,t.getUint32(52,!0),21,1309151649),a=u(a,i,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,a,i,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,a,i,t.getUint32(8,!0),15,718787259),i=u(i,p,m,a,t.getUint32(36,!0),21,3951481745),r[0]=a+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":341,"buffer/":440}],344:[function(e,t,r){function a(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var i=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new i(20),a=new DataView(r.buffer);return a.setUint32(0,this.h0,!1),a.setUint32(4,this.h1,!1),a.setUint32(8,this.h2,!1),a.setUint32(12,this.h3,!1),a.setUint32(16,this.h4,!1),e?r.toString(e):r},a.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,a,i=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),a=1518500249):e<40?(r=s^o^n,a=1859775393):e<60?(r=s&o|n&(s|o),a=2400959708):(r=s^o^n,a=3395469782);var p=(i<<5|i>>>27)+r+u+a+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=i,i=p}for(this.h0=this.h0+i|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":341,"buffer/":440}],345:[function(e,t,r){function a(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var i=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),a=this.bufferLength;if(r.setUint8(this.bufferLength++,128),a%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new i(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},a.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&i^a&s^i&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=i,i=a,a=S+g|0}r[0]+=a,r[1]+=i,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":341,"buffer/":440}],346:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var a=e("./core");if(t.exports=a,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===i)var i={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":340,"./core":350,"./credentials":351,"./credentials/chainable_temporary_credentials":352,"./credentials/cognito_identity_credentials":353,"./credentials/credential_provider_chain":354,"./credentials/saml_credentials":355,"./credentials/temporary_credentials":356,"./credentials/web_identity_credentials":357,"./event-stream/buffered-create-event-stream":365,"./http/xhr":373,"./realclock/browserClock":393,"./util":428,"./xml/browser_parser":429,_process:445,"buffer/":440,"querystring/":452,"url/":454}],347:[function(e,t,r){var a=e("../core"),i=a.util.url,s=a.util.crypto.lib,o=a.util.base64.encode,n=a.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,a){var i=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(i.toString(),a)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=i.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};a.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),a={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a["CloudFront-"+i]=r[i]);return S(a,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var a=i.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);a.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(a.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(i.format(a)):i.format(a)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=a.CloudFront.Signer},{"../core":350}],348:[function(e,t,r){var a=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var i;a.Config=a.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),a.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:i.credentials)}function r(e,t){return new a.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var i=this;i.credentials?"function"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r("Could not load credentials from "+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,a){e&&(e=r("Could not load credentials from any providers",e)),i.credentials=a,t(e)}):t(r("No credentials to load"))},getToken:function(e){function t(t){e(t,t?null:i.token)}function r(e,t){return new a.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}var i=this;i.token?"function"==typeof i.token.get?function(){i.token.get(function(e){e&&(e=r("Could not load token from "+i.token.constructor.name,e)),t(e)})}():function(){var e=null;i.token.token||(e=r("Missing token")),t(e)}():i.tokenProvider?i.tokenProvider.resolve(function(e,a){e&&(e=r("Could not load token from any providers",e)),i.token=a,t(e)}):t(r("No token to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),a.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||a.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(a.util.readFileSync(e)),r=new a.FileSystemCredentials(e),i=new a.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){a.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=a.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1,token:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=a.util.copy(e),e.credentials=new a.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&"function"==typeof Promise&&(i=Promise);var t=[a.Request,a.Credentials,a.CredentialProviderChain];a.S3&&(t.push(a.S3),a.S3.ManagedUpload&&t.push(a.S3.ManagedUpload)),a.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),a.config=new a.Config},{"./core":350,"./credentials":351,"./credentials/credential_provider_chain":354}],349:[function(e,t,r){(function(r){(function(){function a(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=a(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return i;if(!s.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=a(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return i}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(i=a(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return i}return i}var s=e("./core");t.exports=i}).call(this)}).call(this,e("_process"))},{"./core":350,_process:445}],350:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1514.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"), +"../apis/rds-2013-09-09.min.json":193,"../apis/rds-2013-09-09.paginators.json":194,"../apis/rds-2013-09-09.waiters2.json":195,"../apis/rds-2014-09-01.min.json":196,"../apis/rds-2014-09-01.paginators.json":197,"../apis/rds-2014-10-31.min.json":198,"../apis/rds-2014-10-31.paginators.json":199,"../apis/rds-2014-10-31.waiters2.json":200,"../lib/core":350,"../lib/node_loader":346,"../lib/services/rds":411}],321:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.redshift={},a.Redshift=i.defineService("redshift",["2012-12-01"]),Object.defineProperty(s.services.redshift,"2012-12-01",{get:function(){var t=e("../apis/redshift-2012-12-01.min.json");return t.paginators=e("../apis/redshift-2012-12-01.paginators.json").pagination,t.waiters=e("../apis/redshift-2012-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.Redshift},{"../apis/redshift-2012-12-01.min.json":201,"../apis/redshift-2012-12-01.paginators.json":202,"../apis/redshift-2012-12-01.waiters2.json":203,"../lib/core":350,"../lib/node_loader":346}],322:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.rekognition={},a.Rekognition=i.defineService("rekognition",["2016-06-27"]),Object.defineProperty(s.services.rekognition,"2016-06-27",{get:function(){var t=e("../apis/rekognition-2016-06-27.min.json");return t.paginators=e("../apis/rekognition-2016-06-27.paginators.json").pagination,t.waiters=e("../apis/rekognition-2016-06-27.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.Rekognition},{"../apis/rekognition-2016-06-27.min.json":204,"../apis/rekognition-2016-06-27.paginators.json":205,"../apis/rekognition-2016-06-27.waiters2.json":206,"../lib/core":350,"../lib/node_loader":346}],323:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.resourcegroups={},a.ResourceGroups=i.defineService("resourcegroups",["2017-11-27"]),Object.defineProperty(s.services.resourcegroups,"2017-11-27",{get:function(){var t=e("../apis/resource-groups-2017-11-27.min.json");return t.paginators=e("../apis/resource-groups-2017-11-27.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.ResourceGroups},{"../apis/resource-groups-2017-11-27.min.json":207,"../apis/resource-groups-2017-11-27.paginators.json":208,"../lib/core":350,"../lib/node_loader":346}],324:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.route53={},a.Route53=i.defineService("route53",["2013-04-01"]),e("../lib/services/route53"),Object.defineProperty(s.services.route53,"2013-04-01",{get:function(){var t=e("../apis/route53-2013-04-01.min.json");return t.paginators=e("../apis/route53-2013-04-01.paginators.json").pagination,t.waiters=e("../apis/route53-2013-04-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.Route53},{"../apis/route53-2013-04-01.min.json":209,"../apis/route53-2013-04-01.paginators.json":210,"../apis/route53-2013-04-01.waiters2.json":211,"../lib/core":350,"../lib/node_loader":346,"../lib/services/route53":413}],325:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.route53domains={},a.Route53Domains=i.defineService("route53domains",["2014-05-15"]),Object.defineProperty(s.services.route53domains,"2014-05-15",{get:function(){var t=e("../apis/route53domains-2014-05-15.min.json");return t.paginators=e("../apis/route53domains-2014-05-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.Route53Domains},{"../apis/route53domains-2014-05-15.min.json":212,"../apis/route53domains-2014-05-15.paginators.json":213,"../lib/core":350,"../lib/node_loader":346}],326:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.s3={},a.S3=i.defineService("s3",["2006-03-01"]),e("../lib/services/s3"),Object.defineProperty(s.services.s3,"2006-03-01",{get:function(){var t=e("../apis/s3-2006-03-01.min.json");return t.paginators=e("../apis/s3-2006-03-01.paginators.json").pagination,t.waiters=e("../apis/s3-2006-03-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.S3},{"../apis/s3-2006-03-01.min.json":218,"../apis/s3-2006-03-01.paginators.json":219,"../apis/s3-2006-03-01.waiters2.json":220,"../lib/core":350,"../lib/node_loader":346,"../lib/services/s3":414}],327:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.secretsmanager={},a.SecretsManager=i.defineService("secretsmanager",["2017-10-17"]),Object.defineProperty(s.services.secretsmanager,"2017-10-17",{get:function(){var t=e("../apis/secretsmanager-2017-10-17.min.json");return t.paginators=e("../apis/secretsmanager-2017-10-17.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.SecretsManager},{"../apis/secretsmanager-2017-10-17.min.json":221,"../apis/secretsmanager-2017-10-17.paginators.json":222,"../lib/core":350,"../lib/node_loader":346}],328:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.servicecatalog={},a.ServiceCatalog=i.defineService("servicecatalog",["2015-12-10"]),Object.defineProperty(s.services.servicecatalog,"2015-12-10",{get:function(){var t=e("../apis/servicecatalog-2015-12-10.min.json");return t.paginators=e("../apis/servicecatalog-2015-12-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.ServiceCatalog},{"../apis/servicecatalog-2015-12-10.min.json":223,"../apis/servicecatalog-2015-12-10.paginators.json":224,"../lib/core":350,"../lib/node_loader":346}],329:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.ses={},a.SES=i.defineService("ses",["2010-12-01"]),Object.defineProperty(s.services.ses,"2010-12-01",{get:function(){var t=e("../apis/email-2010-12-01.min.json");return t.paginators=e("../apis/email-2010-12-01.paginators.json").pagination,t.waiters=e("../apis/email-2010-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.SES},{"../apis/email-2010-12-01.min.json":111,"../apis/email-2010-12-01.paginators.json":112,"../apis/email-2010-12-01.waiters2.json":113,"../lib/core":350,"../lib/node_loader":346}],330:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.sns={},a.SNS=i.defineService("sns",["2010-03-31"]),Object.defineProperty(s.services.sns,"2010-03-31",{get:function(){var t=e("../apis/sns-2010-03-31.min.json");return t.paginators=e("../apis/sns-2010-03-31.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.SNS},{"../apis/sns-2010-03-31.min.json":225,"../apis/sns-2010-03-31.paginators.json":226,"../lib/core":350,"../lib/node_loader":346}],331:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.sqs={},a.SQS=i.defineService("sqs",["2012-11-05"]),e("../lib/services/sqs"),Object.defineProperty(s.services.sqs,"2012-11-05",{get:function(){var t=e("../apis/sqs-2012-11-05.min.json");return t.paginators=e("../apis/sqs-2012-11-05.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.SQS},{"../apis/sqs-2012-11-05.min.json":227,"../apis/sqs-2012-11-05.paginators.json":228,"../lib/core":350,"../lib/node_loader":346,"../lib/services/sqs":416}],332:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.ssm={},a.SSM=i.defineService("ssm",["2014-11-06"]),Object.defineProperty(s.services.ssm,"2014-11-06",{get:function(){var t=e("../apis/ssm-2014-11-06.min.json");return t.paginators=e("../apis/ssm-2014-11-06.paginators.json").pagination,t.waiters=e("../apis/ssm-2014-11-06.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=a.SSM},{"../apis/ssm-2014-11-06.min.json":229,"../apis/ssm-2014-11-06.paginators.json":230,"../apis/ssm-2014-11-06.waiters2.json":231,"../lib/core":350,"../lib/node_loader":346}],333:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.storagegateway={},a.StorageGateway=i.defineService("storagegateway",["2013-06-30"]),Object.defineProperty(s.services.storagegateway,"2013-06-30",{get:function(){var t=e("../apis/storagegateway-2013-06-30.min.json");return t.paginators=e("../apis/storagegateway-2013-06-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.StorageGateway},{"../apis/storagegateway-2013-06-30.min.json":232,"../apis/storagegateway-2013-06-30.paginators.json":233,"../lib/core":350,"../lib/node_loader":346}],334:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.sts={},a.STS=i.defineService("sts",["2011-06-15"]),e("../lib/services/sts"),Object.defineProperty(s.services.sts,"2011-06-15",{get:function(){var t=e("../apis/sts-2011-06-15.min.json");return t.paginators=e("../apis/sts-2011-06-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.STS},{"../apis/sts-2011-06-15.min.json":236,"../apis/sts-2011-06-15.paginators.json":237,"../lib/core":350,"../lib/node_loader":346,"../lib/services/sts":417}],335:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.translate={},a.Translate=i.defineService("translate",["2017-07-01"]),Object.defineProperty(s.services.translate,"2017-07-01",{get:function(){var t=e("../apis/translate-2017-07-01.min.json");return t.paginators=e("../apis/translate-2017-07-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.Translate},{"../apis/translate-2017-07-01.min.json":238,"../apis/translate-2017-07-01.paginators.json":239,"../lib/core":350,"../lib/node_loader":346}],336:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.waf={},a.WAF=i.defineService("waf",["2015-08-24"]),Object.defineProperty(s.services.waf,"2015-08-24",{get:function(){var t=e("../apis/waf-2015-08-24.min.json");return t.paginators=e("../apis/waf-2015-08-24.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.WAF},{"../apis/waf-2015-08-24.min.json":240,"../apis/waf-2015-08-24.paginators.json":241,"../lib/core":350,"../lib/node_loader":346}],337:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.workdocs={},a.WorkDocs=i.defineService("workdocs",["2016-05-01"]),Object.defineProperty(s.services.workdocs,"2016-05-01",{get:function(){var t=e("../apis/workdocs-2016-05-01.min.json");return t.paginators=e("../apis/workdocs-2016-05-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.WorkDocs},{"../apis/workdocs-2016-05-01.min.json":242,"../apis/workdocs-2016-05-01.paginators.json":243,"../lib/core":350,"../lib/node_loader":346}],338:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.xray={},a.XRay=i.defineService("xray",["2016-04-12"]),Object.defineProperty(s.services.xray,"2016-04-12",{get:function(){var t=e("../apis/xray-2016-04-12.min.json");return t.paginators=e("../apis/xray-2016-04-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.XRay},{"../apis/xray-2016-04-12.min.json":244,"../apis/xray-2016-04-12.paginators.json":245,"../lib/core":350,"../lib/node_loader":346}],339:[function(e,t,r){function a(e,t){if(!a.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return a.services[e][t]}a.services={},t.exports=a},{}],340:[function(e,t,r){var a=e("./browserHmac"),i=e("./browserMd5"),s=e("./browserSha1"),o=e("./browserSha256");t.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new i;if("sha256"===e)return new o;if("sha1"===e)return new s;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new a(i,t);if("sha256"===e)return new a(o,t);if("sha1"===e)return new a(s,t);throw new Error("HMAC algorithm "+e+" is not supported in the browser SDK")},createSign:function(){throw new Error("createSign is not implemented in the browser")}}},{"./browserHmac":342,"./browserMd5":343,"./browserSha1":344,"./browserSha256":345}],341:[function(e,t,r){function a(e){return"string"==typeof e?0===e.length:0===e.byteLength}function i(e){return"string"==typeof e&&(e=new s(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var s=e("buffer/").Buffer;"undefined"!=typeof ArrayBuffer&&void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return o.indexOf(Object.prototype.toString.call(e))>-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:a,convertToBuffer:i}},{"buffer/":440}],342:[function(e,t,r){function a(e,t){this.hash=new e,this.outer=new e;var r=i(e,t),a=new Uint8Array(e.BLOCK_SIZE);a.set(r);for(var s=0;se.BLOCK_SIZE){var a=new e;a.update(r),r=a.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(r),i}var s=e("./browserHashUtils");t.exports=a,a.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},a.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":341}],343:[function(e,t,r){function a(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,r,a,i,s){return((t=(t+e&4294967295)+(a+s&4294967295)&4294967295)<>>32-i)+r&4294967295}function s(e,t,r,a,s,o,n){return i(t&r|~t&a,e,t,s,o,n)}function o(e,t,r,a,s,o,n){return i(t&a|r&~a,e,t,s,o,n)}function n(e,t,r,a,s,o,n){return i(t^r^a,e,t,s,o,n)}function u(e,t,r,a,s,o,n){return i(r^(t|~a),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=a,a.BLOCK_SIZE=c,a.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,a=t.byteLength;for(this.bytesHashed+=a;a>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),a--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,a=t.bufferLength,i=t.bytesHashed,s=8*i;if(r.setUint8(this.bufferLength++,128),a%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},a.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],p=r[2],m=r[3];a=s(a,i,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,a,i,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,a,i,t.getUint32(8,!0),17,606105819),i=s(i,p,m,a,t.getUint32(12,!0),22,3250441966),a=s(a,i,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,a,i,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,a,i,t.getUint32(24,!0),17,2821735955),i=s(i,p,m,a,t.getUint32(28,!0),22,4249261313),a=s(a,i,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,a,i,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,a,i,t.getUint32(40,!0),17,4294925233),i=s(i,p,m,a,t.getUint32(44,!0),22,2304563134),a=s(a,i,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,a,i,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,a,i,t.getUint32(56,!0),17,2792965006),i=s(i,p,m,a,t.getUint32(60,!0),22,1236535329),a=o(a,i,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,a,i,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,a,i,t.getUint32(44,!0),14,643717713),i=o(i,p,m,a,t.getUint32(0,!0),20,3921069994),a=o(a,i,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,a,i,p,t.getUint32(40,!0),9,38016083),p=o(p,m,a,i,t.getUint32(60,!0),14,3634488961),i=o(i,p,m,a,t.getUint32(16,!0),20,3889429448),a=o(a,i,p,m,t.getUint32(36,!0),5,568446438),m=o(m,a,i,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,a,i,t.getUint32(12,!0),14,4107603335),i=o(i,p,m,a,t.getUint32(32,!0),20,1163531501),a=o(a,i,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,a,i,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,a,i,t.getUint32(28,!0),14,1735328473),i=o(i,p,m,a,t.getUint32(48,!0),20,2368359562),a=n(a,i,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,a,i,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,a,i,t.getUint32(44,!0),16,1839030562),i=n(i,p,m,a,t.getUint32(56,!0),23,4259657740),a=n(a,i,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,a,i,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,a,i,t.getUint32(28,!0),16,4139469664),i=n(i,p,m,a,t.getUint32(40,!0),23,3200236656),a=n(a,i,p,m,t.getUint32(52,!0),4,681279174),m=n(m,a,i,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,a,i,t.getUint32(12,!0),16,3572445317),i=n(i,p,m,a,t.getUint32(24,!0),23,76029189),a=n(a,i,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,a,i,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,a,i,t.getUint32(60,!0),16,530742520),i=n(i,p,m,a,t.getUint32(8,!0),23,3299628645),a=u(a,i,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,a,i,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,a,i,t.getUint32(56,!0),15,2878612391),i=u(i,p,m,a,t.getUint32(20,!0),21,4237533241),a=u(a,i,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,a,i,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,a,i,t.getUint32(40,!0),15,4293915773),i=u(i,p,m,a,t.getUint32(4,!0),21,2240044497),a=u(a,i,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,a,i,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,a,i,t.getUint32(24,!0),15,2734768916),i=u(i,p,m,a,t.getUint32(52,!0),21,1309151649),a=u(a,i,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,a,i,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,a,i,t.getUint32(8,!0),15,718787259),i=u(i,p,m,a,t.getUint32(36,!0),21,3951481745),r[0]=a+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":341,"buffer/":440}],344:[function(e,t,r){function a(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var i=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new i(20),a=new DataView(r.buffer);return a.setUint32(0,this.h0,!1),a.setUint32(4,this.h1,!1),a.setUint32(8,this.h2,!1),a.setUint32(12,this.h3,!1),a.setUint32(16,this.h4,!1),e?r.toString(e):r},a.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,a,i=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),a=1518500249):e<40?(r=s^o^n,a=1859775393):e<60?(r=s&o|n&(s|o),a=2400959708):(r=s^o^n,a=3395469782);var p=(i<<5|i>>>27)+r+u+a+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=i,i=p}for(this.h0=this.h0+i|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":341,"buffer/":440}],345:[function(e,t,r){function a(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var i=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),a=this.bufferLength;if(r.setUint8(this.bufferLength++,128),a%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new i(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},a.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&i^a&s^i&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=i,i=a,a=S+g|0}r[0]+=a,r[1]+=i,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":341,"buffer/":440}],346:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var a=e("./core");if(t.exports=a,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===i)var i={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":340,"./core":350,"./credentials":351,"./credentials/chainable_temporary_credentials":352,"./credentials/cognito_identity_credentials":353,"./credentials/credential_provider_chain":354,"./credentials/saml_credentials":355,"./credentials/temporary_credentials":356,"./credentials/web_identity_credentials":357,"./event-stream/buffered-create-event-stream":365,"./http/xhr":373,"./realclock/browserClock":393,"./util":428,"./xml/browser_parser":429,_process:445,"buffer/":440,"querystring/":452,"url/":454}],347:[function(e,t,r){var a=e("../core"),i=a.util.url,s=a.util.crypto.lib,o=a.util.base64.encode,n=a.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,a){var i=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(i.toString(),a)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=i.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};a.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),a={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a["CloudFront-"+i]=r[i]);return S(a,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var a=i.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);a.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(a.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(i.format(a)):i.format(a)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=a.CloudFront.Signer},{"../core":350}],348:[function(e,t,r){var a=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var i;a.Config=a.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),a.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:i.credentials)}function r(e,t){return new a.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var i=this;i.credentials?"function"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r("Could not load credentials from "+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,a){e&&(e=r("Could not load credentials from any providers",e)),i.credentials=a,t(e)}):t(r("No credentials to load"))},getToken:function(e){function t(t){e(t,t?null:i.token)}function r(e,t){return new a.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}var i=this;i.token?"function"==typeof i.token.get?function(){i.token.get(function(e){e&&(e=r("Could not load token from "+i.token.constructor.name,e)),t(e)})}():function(){var e=null;i.token.token||(e=r("Missing token")),t(e)}():i.tokenProvider?i.tokenProvider.resolve(function(e,a){e&&(e=r("Could not load token from any providers",e)),i.token=a,t(e)}):t(r("No token to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),a.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||a.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(a.util.readFileSync(e)),r=new a.FileSystemCredentials(e),i=new a.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){a.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=a.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1,token:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=a.util.copy(e),e.credentials=new a.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&"function"==typeof Promise&&(i=Promise);var t=[a.Request,a.Credentials,a.CredentialProviderChain];a.S3&&(t.push(a.S3),a.S3.ManagedUpload&&t.push(a.S3.ManagedUpload)),a.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),a.config=new a.Config},{"./core":350,"./credentials":351,"./credentials/credential_provider_chain":354}],349:[function(e,t,r){(function(r){(function(){function a(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=a(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return i;if(!s.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=a(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return i}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(i=a(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return i}return i}var s=e("./core");t.exports=i}).call(this)}).call(this,e("_process"))},{"./core":350,_process:445}],350:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1515.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"), e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),e("./maintenance_mode_message"),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",function(){return new a.EndpointCache(a.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":465,"./api_loader":339,"./config":348,"./event_listeners":371,"./http":372,"./json/builder":374,"./json/parser":375,"./maintenance_mode_message":376,"./model/api":377,"./model/operation":379,"./model/paginator":380,"./model/resource_waiter":381,"./model/shape":382,"./param_validator":383,"./protocol/json":386,"./protocol/query":387,"./protocol/rest":388,"./protocol/rest_json":389,"./protocol/rest_xml":390,"./request":397,"./resource_waiter":398,"./response":399,"./sequential_executor":401,"./service":402,"./signers/request_signer":420,"./util":428,"./xml/builder":430}],351:[function(e,t,r){var a=e("./core");a.Credentials=a.util.inherit({constructor:function(){if(a.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=a.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){a.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):a.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),a.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=a.util.promisifyMethod("get",e),this.prototype.refreshPromise=a.util.promisifyMethod("refresh",e)},a.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},a.util.addPromises(a.Credentials)},{"./core":350}],352:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.ChainableTemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=a.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new a.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=a.util.merge({params:t,credentials:e.masterCredentials||a.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(a,i){var s={};if(a)return void e(a);i&&(s.TokenCode=i),t.service[r](s,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(a.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,i)}):e(null)}})},{"../../clients/sts":334,"../core":350}],353:[function(e,t,r){var a=e("../core"),i=e("../../clients/cognitoidentity"),s=e("../../clients/sts");a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=a.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,a){r?t.clearIdOnNotAuthorized(r):(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,a){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(a.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new a.WebIdentityCredentials(this.params,e),!this.cognito){var t=a.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,a.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=a.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":265,"../../clients/sts":334,"../core":350}],354:[function(e,t,r){var a=e("../core");a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){this.providers=e||a.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||i===s.length)return a.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[i++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var i=0,s=r.providers.slice(0);t()}return r}}),a.CredentialProviderChain.defaultProviders=[],a.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=a.util.promisifyMethod("resolve",e)},a.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},a.util.addPromises(a.CredentialProviderChain)},{"../core":350}],355:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":334,"../core":350}],356:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new a.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":334,"../core":350}],357:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=a.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)})},createClients:function(){if(!this.service){var e=a.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{"../../clients/sts":334,"../core":350}],358:[function(e,t,r){(function(r){(function(){function a(e){var t=e.service,r=t.api||{},a={};return t.config.region&&(a.region=t.config.region),r.serviceId&&(a.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(a.accessKeyId=t.config.credentials.accessKeyId),a}function i(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(a){var s=r.members[a];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:a;e[o]=String(t[a])}else i(e,t[a],s)})}function s(e,t){var r={};return i(r,e.params,t),r}function o(e){var t=e.service,r=t.api,i=r.operations?r.operations[e.operation]:void 0,o=i?i.input:void 0,n=s(e,o),p=a(e);Object.keys(n).length>0&&(p=b.update(p,n),i&&(p.operation=i.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:i.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,i=r.api,o=i.operations?i.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=a(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(i.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,a){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var i=g[c];b.arrayEach(i,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(a&&(y.endpointCache.put(c,a.Endpoints),e.httpRequest.updateEndpoint(a.Endpoints[0].Address),g[c])){var i=g[c];b.arrayEach(i,function(e){e.request.httpRequest.updateEndpoint(a.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var i=e.request,o=i.service.api.operations||{},n=o[i.operation]?o[i.operation].input:void 0,u=s(i,n),p=a(i);Object.keys(u).length>0&&(p=b.update(p,u),o[i.operation]&&(p.operation=o[i.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var a=0;a-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;a.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&i(t),new a(t)},a.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&i(e),parseInt(e.toString("hex"),16)*(t?-1:1)},a.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:a}},{"../core":350}],368:[function(e,t,r){function a(e,t,r){var a=s(t),o=a.headers[":message-type"];if(o){if("error"===o.value)throw i(a);if("event"!==o.value)return}var n=a.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=a.body:p[m]=e.parse(a.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();i.util.computeSha256(s,function(r,a){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=a,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=r(e),a=i.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=i.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(r){if(a&&a.isStreaming){if(a.requiresLength)throw r;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw r}throw r}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("SET_TRACE_ID","afterBuild",function(e){if(i.util.isNode()&&!Object.hasOwnProperty.call(e.httpRequest.headers,"X-Amzn-Trace-Id")){var r=t.env.AWS_LAMBDA_FUNCTION_NAME,a=t.env._X_AMZN_TRACE_ID;"string"==typeof r&&r.length>0&&"string"==typeof a&&a.length>0&&(e.httpRequest.headers["X-Amzn-Trace-Id"]=a)}}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new i.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,a){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=a,r.httpResponse.headers=t,r.httpResponse.body=i.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(i.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],a={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[a,t])}t.httpResponse.buffers.push(i.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=i.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new i.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",i.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",i.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof i.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(i.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=i.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var a={};return i.util.each(t,function(t,i){Object.prototype.hasOwnProperty.call(e.members,t)?a[t]=r(e.members[t],i):a[t]=i}),a;case"list":var s=[];return i.util.arrayEach(t,function(t,a){s.push(r(e.member,t))}),s;case"map":var o={};return i.util.each(t,function(t,a){o[t]=r(e.value,a)}),o;default:return t}}var a=t.request,s=a.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-a.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=a.params;if(a.service.api.operations&&a.service.api.operations[a.operation]&&a.service.api.operations[a.operation].input){m=r(a.service.api.operations[a.operation].input,a.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+a.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+i.util.string.lowerFirst(a.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError),t("UNSET_CONTENT_LENGTH","afterBuild",r.unsetContentLength)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}}).call(this)}).call(this,e("_process"))},{"./core":350,"./discover_endpoint":358,"./protocol/json":386,"./protocol/query":387,"./protocol/rest":388,"./protocol/rest_json":389,"./protocol/rest_xml":390,"./sequential_executor":401,_process:445,util:439}],372:[function(e,t,r){var a=e("./core"),i=a.util.inherit;a.Endpoint=i({constructor:function(e,t){if(a.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return a.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:a.config.sslEnabled)?"https":"http")+"://"+e}a.util.update(this,a.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),a.HttpRequest=i({constructor:function(e,t){e=new a.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=a.util.userAgent()},getUserAgentHeaderName:function(){return(a.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=a.util.queryStringParse(e),a.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new a.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),a.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),a.HttpClient=i({}),a.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":350}],373:[function(e,t,r){var a=e("../core"),i=e("events").EventEmitter;e("../http"),a.XHRClient=a.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new i,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!c&&(u.statusCode=m.status,u.headers=o.parseHeaders(m.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,m.statusText),c=!0),this.readyState===this.DONE&&o.finishRequest(m,u)},!1),m.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),m.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),m.addEventListener("timeout",function(){s(a.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(a.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(a.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),a.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return a.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],a=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=a)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new a.util.Buffer(i.byteLength);for(var s=new Uint8Array(i),o=0;o-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=e("../util");s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},s.types={structure:n,list:u,map:p,boolean:S,timestamp:m,float:l,integer:d,string:c,base64:b,binary:y},s.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},s.create=function(e,t,r){if(e.isShape)return e;var a=s.resolve(e,t);if(a){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var o=function(){a.constructor.call(this,e,t,r)};return o.prototype=a,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:S,Base64Shape:b},t.exports=s},{"../util":428,"./collection":378}],383:[function(e,t,r){var a=e("./core");a.ParamValidator=a.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,a.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(a.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){if(e.isDocument)return!0;this.validateType(t,r,["object"],"structure");for(var a,i=0;e.required&&i= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,a){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+a+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,i){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:a}},{"../core":350,"../util":428}],386:[function(e,t,r){function a(e){var t=e.httpRequest,r=e.service.api,a=r.targetPrefix+"."+r.operations[e.operation].name,i=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===i&&(i="1.0"),r.awsQueryCompatible&&(t.params||(t.params={}),Object.assign(t.params,e.params)),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+i,t.headers["X-Amz-Target"]=a,p(e)}function i(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var a=JSON.parse(r.body.toString()),i=a.__type||a.code||a.Code;i&&(t.code=i.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=a.message||a.Message||null;for(var s in a||{})"code"!==s&&"message"!==s&&(t["["+s+"]"]="See error."+s+" for details.",Object.defineProperty(t,s,{value:a[s],enumerable:!1,writable:!0}))}catch(a){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],a=r.output||{},i=new u;e.data=i.parse(t,a)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:a,extractError:i,extractData:s}},{"../json/builder":374,"../json/parser":375,"../util":428,"./helpers":385}],387:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function i(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t=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=0){u=!0;var p=0}var m=function(){u&&p!==n?i.emit("error",a.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===a.HttpClient.streamsApiVersion?i.end():i.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===a.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),i.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(i,{end:!1})}else c.pipe(i);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){i.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,i.emit("error",e)})}}),i},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),a.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new a.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",a.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",a.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),a.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},a.Request.deletePromisesFromClass=function(){delete this.prototype.promise},a.util.addPromises(a.Request),a.util.mixin(a.Request,a.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":350,"./state_machine":427,_process:445,jmespath:444}],398:[function(e,t,r){function a(e){var t=e.request._waiter,r=t.config.acceptors,a=!1,i="retry";r.forEach(function(r){if(!a){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(a=!0,i=r.state)}}),!a&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}var i=e("./core"),s=i.util.inherit,o=e("jmespath");i.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(a,t)},pathAll:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}Array.isArray(a)||(a=[a]);var i=a.length;if(!i)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(a.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=a.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=a.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,i=a.util.copy(r.config);i.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(i),t.service.config.params=a.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new a.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=i(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=i(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var a=r.slice(e.partSize);e.partBuffers.push(a),e.partBufferLength+=a.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var i={Body:e};this.tags&&(i.Tagging=this.getTaggingHeader());var s=t.service.putObject(i);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=a.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var a=this.listeners(e),i=a.length;return this.callListeners(a,t,r),i>0},callListeners:function(e,t,r,i){function s(i){if(i&&(n=a.util.error(n||new Error,i),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=i||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=a.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),a.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),a.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,a){return this[e]=r,this.addListener(t,r,a),this},addNamedAsyncListener:function(e,t,r,a){return r._isAsync=!0,this.addNamedListener(e,t,r,a)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),a.SequentialExecutor.prototype.addListener=a.SequentialExecutor.prototype.on,t.exports=a.SequentialExecutor},{"./core":350}],402:[function(e,t,r){(function(r){(function(){var a=e("./core"),i=e("./model/api"),s=e("./region_config"),o=a.util.inherit,n=0,u=e("./region/utils");a.Service=o({constructor:function(e){if(!this.loadServiceClass)throw a.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var i=a.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return i},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=a.config[this.serviceIdentifier];if(this.config=new a.Config(a.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),a.SequentialExecutor.call(this),a.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||a.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){i.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){i.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(a.util.isEmpty(this.api)){if(t.apiConfig)return a.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new a.Config(a.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&a.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?a.util.isType(e,Date)&&(e=a.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(r=t[i]),t[i].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=a.util.copy(t),a.util.each(this.config.params,function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new a.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var a=this.makeRequest(e,t).toUnauthenticated();return r?a.send(r):a},waitFor:function(e,t,r){return new a.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[a.events,a.EventListeners.Core,this.serviceInterface(),a.EventListeners.CorePost],r=0;r299?(i.code&&(r.FinalAwsException=i.code),i.message&&(r.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(r.FinalSdkException=i.code||i.name),i.message&&(r.FinalSdkExceptionMessage=i.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},a=e.response;return a.httpResponse.statusCode&&(r.HttpStatusCode=a.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),a.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),a.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=a.httpResponse.headers["x-amzn-requestid"]),a.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=a.httpResponse.headers["x-amz-request-id"]),a.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=a.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,a=r.error;return r.httpResponse.statusCode>299?(a.code&&(t.AwsException=a.code),a.message&&(t.AwsExceptionMessage=a.message)):((a.code||a.name)&&(t.SdkException=a.code||a.name),a.message&&(t.SdkExceptionMessage=a.message)),t},attachMonitoringEmitter:function(e){var t,r,i,s,o,n,u=0,p=this;e.on("validate",function(){s=a.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=a.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){i=Math.round(a.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,i=i||Math.round(a.util.realClock.now()-r),s.AttemptLatency=i>=0?i:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(a.util.realClock.now()-s);t.Latency=r>=0?r:0;var i=e.response;i.error&&i.error.retryable&&"number"==typeof i.retryCount&&"number"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,i="";if(e){r=(e.service.api.operations||{})[e.operation]||null,i=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":"bearer"===i?"bearer":this.api.signatureVersion,a.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return a.EventListeners.Query;case"json":return a.EventListeners.Json;case"rest-json":return a.EventListeners.RestJson;case"rest-xml":return a.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return a.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new a.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw a.util.error(i,"No pagination configuration for "+e)}return null}return r}}),a.util.update(a.Service,{defineMethods:function(e){a.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){a.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=o(a.Service,r||{});if("string"==typeof e){a.Service.addVersions(i,t);var s=i.serviceIdentifier||e;i.serviceIdentifier=s}else i.prototype.api=e,a.Service.defineMethods(i);if(a.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&a.util.clientSideMonitoring){var n=a.util.clientSideMonitoring.Publisher,u=a.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(a.Service._clientSideMonitoring=!0)}return a.SequentialExecutor.call(i.prototype),a.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw a.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),i.indexOf(e.operation)>-1&&e.addListener("extractData",a.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":350}],408:[function(e,t,r){var a=e("../core");a.util.update(a.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",a.util.convertPayloadToString)}})},{"../core":350}],409:[function(e,t,r){var a=e("../core");a.util.update(a.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new a.Endpoint(t))}})},{"../core":350}],410:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":384}],411:[function(e,t,r){var a=e("../core"),i=e("./rdsutil");e("../rds/signer");var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];a.util.update(a.RDS.prototype,{setupRequestListeners:function(e){i.setupRequestListeners(this,e,s)}})},{"../core":350,"../rds/signer":392,"./rdsutil":412}],412:[function(e,t,r){var a=e("../core"),i={setupRequestListeners:function(e,t,r){if(-1!==r.indexOf(t.operation)&&t.params.SourceRegion)if(t.params=a.util.copy(t.params),t.params.PreSignedUrl||t.params.SourceRegion===e.config.region)delete t.params.SourceRegion;else{var s=!!e.config.paramValidation;s&&t.removeListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS),t.onAsync("validate",i.buildCrossRegionPresignedUrl),s&&t.addListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=a.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var i=e.service.config.region,s=new e.service.constructor(r),o=s[e.operation](a.util.copy(e.params));o.on("build",function(e){var t=e.httpRequest;t.params.DestinationRegion=i,t.body=a.util.queryParamsToString(t.params)}),o.presign(function(r,a){r?t(r):(e.params.PreSignedUrl=a,t())})}};t.exports=i},{"../core":350}],413:[function(e,t,r){var a=e("../core");a.util.update(a.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")},retryableError:function(e){return"PriorRequestNotComplete"===e.code&&400===e.statusCode||a.Service.prototype.retryableError.call(this,e)}})},{"../core":350}],414:[function(e,t,r){var a=e("../core"),i=e("../signers/v4_credentials"),s=e("../config_regional_endpoint"),o=e("./s3util"),n=e("../region_config");e("../s3/managed_upload");var u={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},p=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];a.util.update(a.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,a=this.config.signatureVersion,i=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==i?t="v4":a&&(t=a),t)},getSigningName:function(e){if(e&&"writeGetObjectResponse"===e.operation)return"s3-object-lambda";var t=a.Service.prototype.getSigningName;return e&&e._parsedArn&&e._parsedArn.service?e._parsedArn.service:t.call(this)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return a.Signers.RequestSigner.getVersion(t)},validateService:function(){var e,t=[];if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint&&t.push("An endpoint must be provided when configuring `s3BucketEndpoint` to true."),1===t.length?e=t[0]:t.length>1&&(e="Multiple configuration errors:\n"+t.join("\n")),e)throw a.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===a.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){if(e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketName,!0),e.addListener("validate",this.optInUsEast1RegionalEndpoint,!0),e.removeListener("validate",a.EventListeners.Core.VALIDATE_REGION),e.addListener("build",this.addContentType),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("build",this.populateURI),e.addListener("afterBuild",this.addExpect100Continue),e.addListener("extractError",this.extractError),e.addListener("extractData",a.util.hoistPayloadMember),e.addListener("extractData",this.extractData),e.addListener("extractData",this.extractErrorFrom200Response),e.addListener("beforePresign",this.prepareSignedUrl),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",a.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning)),"createBucket"!==e.operation&&o.isArnInParam(e,"Bucket"))return e._parsedArn=a.util.ARN.parse(e.params.Bucket),e.removeListener("validate",this.validateBucketName),e.removeListener("build",this.populateURI),"s3"===e._parsedArn.service?(e.addListener("validate",o.validateS3AccessPointArn),e.addListener("validate",this.validateArnResourceType),e.addListener("validate",this.validateArnRegion)):"s3-outposts"===e._parsedArn.service&&(e.addListener("validate",o.validateOutpostsAccessPointArn),e.addListener("validate",o.validateOutpostsArn),e.addListener("validate",o.validateArnRegion)),e.addListener("validate",o.validateArnAccount),e.addListener("validate",o.validateArnService),e.addListener("build",this.populateUriFromAccessPointArn),void e.addListener("build",o.validatePopulateUriFromArn);e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.onAsync("extractError",this.requestBucketRegion),a.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError)},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol;if((t.SSECustomerKey||t.CopySourceSSECustomerKey)&&"https:"!==r)throw a.util.error(new Error,{code:"ConfigError",message:"Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration"})},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){throw a.util.error(new Error,{code:"ConfigError",message:"Cannot send requests to root API with `s3BucketEndpoint` set."})}},validateArnRegion:function(e){o.validateArnRegion(e,{allowFipsEndpoint:!0})},validateArnResourceType:function(e){var t=e._parsedArn.resource;if(0!==t.indexOf("accesspoint:")&&0!==t.indexOf("accesspoint/"))throw a.util.error(new Error,{code:"InvalidARN",message:"ARN resource should begin with 'accesspoint/'"})},validateBucketName:function(e){var t=e.service,r=t.getSignatureVersion(e),i=e.params&&e.params.Bucket,s=e.params&&e.params.Key,o=i&&i.indexOf("/");if(i&&o>=0)if("string"==typeof s&&o>0){e.params=a.util.copy(e.params);var n=i.substr(o+1)||"";e.params.Key=n+"/"+s,e.params.Bucket=i.substr(0,o)}else if("v4"===r){var u="Bucket names cannot contain forward slashes. Bucket: "+i;throw a.util.error(new Error,{code:"InvalidBucket",message:u})}},isValidAccelerateOperation:function(e){return-1===["createBucket","deleteBucket","listBuckets"].indexOf(e)},optInUsEast1RegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.s3UsEast1RegionalEndpoint=s(t._originalConfig,{ -env:"AWS_S3_US_EAST_1_REGIONAL_ENDPOINT",sharedConfig:"s3_us_east_1_regional_endpoint",clientConfig:"s3UsEast1RegionalEndpoint"}),!(t._originalConfig||{}).endpoint&&"us-east-1"===e.httpRequest.region&&"regional"===r.s3UsEast1RegionalEndpoint&&e.httpRequest.endpoint.hostname.indexOf("s3.amazonaws.com")>=0){var a=r.endpoint.indexOf(".amazonaws.com"),i=r.endpoint.substring(0,a)+".us-east-1"+r.endpoint.substring(a);e.httpRequest.updateEndpoint(i)}},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,a=e.service,i=t.endpoint;if(r&&!a.pathStyleBucketName(r)){a.config.useAccelerateEndpoint&&a.isValidAccelerateOperation(e.operation)?a.config.useDualstackEndpoint?i.hostname=r+".s3-accelerate.dualstack.amazonaws.com":i.hostname=r+".s3-accelerate.amazonaws.com":a.config.s3BucketEndpoint||(i.hostname=r+"."+i.hostname);var s=i.port;i.host=80!==s&&443!==s?i.hostname+":"+i.port:i.hostname,t.virtualHostedBucket=r,a.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;if(r&&t.path){if(e.params&&e.params.Key){var i="/"+a.util.uriEscapePath(e.params.Key);if(0===t.path.indexOf(i)&&(t.path.length===i.length||"?"===t.path[i.length]))return}t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path)}},populateUriFromAccessPointArn:function(e){var t=e._parsedArn,r="s3-outposts"===t.service,i="s3-object-lambda"===t.service,s=r?"."+t.outpostId:"",o=r?"s3-outposts":"s3-accesspoint",u=!r&&e.service.config.useFipsEndpoint?"-fips":"",p=!r&&e.service.config.useDualstackEndpoint?".dualstack":"",m=e.httpRequest.endpoint,c=n.getEndpointSuffix(t.region),l=e.service.config.s3UseArnRegion;if(m.hostname=[t.accessPoint+"-"+t.accountId+s,o+u+p,l?t.region:e.service.config.region,c].join("."),i){var o="s3-object-lambda",d=t.resource.split("/")[1],u=e.service.config.useFipsEndpoint?"-fips":"";m.hostname=[d+"-"+t.accountId,o+u,l?t.region:e.service.config.region,c].join(".")}m.host=m.hostname;var y=a.util.uriEscape(e.params.Bucket),b=e.httpRequest.path;e.httpRequest.path=b.replace(new RegExp("/"+y),""),"/"!==e.httpRequest.path[0]&&(e.httpRequest.path="/"+e.httpRequest.path),e.httpRequest.region=t.region},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];a.util.isNode()&&(t>=1048576||e.params.Body instanceof a.util.stream.Stream)&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"===t.method||"HEAD"===t.method)return void delete t.headers["Content-Type"];t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(a.util.isBrowser())if("string"!=typeof t.body||r.match(/;\s*charset=/)){var i=function(e,t,r){return t+r.toUpperCase()};t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,i)}else{t.headers["Content-Type"]+="; charset=UTF-8"}},willComputeChecksums:function(e){var t=e.service.api.operations[e.operation].input.members,r=e.httpRequest.body,i=e.service.config.computeChecksums&&t.ContentMD5&&!e.params.ContentMD5&&r&&(a.util.Buffer.isBuffer(e.httpRequest.body)||"string"==typeof e.httpRequest.body);return!(!i||!e.service.shouldDisableBodySigning(e)||e.isPresigned())||!(!i||"s3"!==this.getSignatureVersion(e)||!e.isPresigned())},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=a.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){var t={SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"};a.util.each(t,function(t,r){if(e.params[t]){var i=a.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=i}})},pathStyleBucketName:function(e){return!!this.config.s3ForcePathStyle||!this.config.s3BucketEndpoint&&(!o.dnsCompatibleBucketName(e)||!(!this.config.sslEnabled||!e.match(/\./)))},extractErrorFrom200Response:function(e){if(u[e.request.operation]){var t=e.httpResponse;if(t.body&&t.body.toString().match("")){e.data=null;throw(this.service?this.service:this).extractError(e),e.error}if(!t.body||!t.body.toString().match(/<[\w_]/))throw e.data=null,a.util.error(new Error,{code:"InternalError",message:"S3 aborted request"})}},retryableError:function(e,t){return!(!u[t.operation]||200!==e.statusCode)||(!t._requestRegionForBucket||!t.service.bucketRegionCache[t._requestRegionForBucket])&&(!(!e||"RequestTimeout"!==e.code)||(e&&-1!=p.indexOf(e.code)&&e.region&&e.region!=t.httpRequest.region?(t.httpRequest.region=e.region,301===e.statusCode&&t.service.updateReqBucketRegion(t),!0):a.Service.prototype.retryableError.call(this,e,t)))},updateReqBucketRegion:function(e,t){var r=e.httpRequest;if("string"==typeof t&&t.length&&(r.region=t),r.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)){var i=e.service,s=i.config,o=s.s3BucketEndpoint;o&&delete s.s3BucketEndpoint;var n=a.util.copy(s);delete n.endpoint,n.region=r.region,r.endpoint=new a.S3(n).endpoint,i.populateURI(e),s.s3BucketEndpoint=o,r.headers.Host=r.endpoint.host,"validate"===e._asm.currentState&&(e.removeListener("build",i.populateURI),e.addListener("build",i.removeVirtualHostedBucketFromPath))}},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,e.data.LocationConstraint=r?r[1]:""}var a=t.params.Bucket||null;if("deleteBucket"!==t.operation||"string"!=typeof a||e.error){var i=e.httpResponse.headers||{},s=i["x-amz-bucket-region"]||null;if(!s&&"createBucket"===t.operation&&!e.error){var o=t.params.CreateBucketConfiguration;s=o?"EU"===o.LocationConstraint?"eu-west-1":o.LocationConstraint:"us-east-1"}s&&a&&s!==t.service.bucketRegionCache[a]&&(t.service.bucketRegionCache[a]=s)}else t.service.clearBucketRegionCache(a);t.service.extractRequestIds(e)},extractError:function(e){var t={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},r=e.request,i=e.httpResponse.statusCode,s=e.httpResponse.body||"",o=e.httpResponse.headers||{},n=o["x-amz-bucket-region"]||null,u=r.params.Bucket||null,p=r.service.bucketRegionCache;n&&u&&n!==p[u]&&(p[u]=n);var m;if(t[i]&&0===s.length)u&&!n&&(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=a.util.error(new Error,{code:t[i],message:null,region:n});else{var c=(new a.XML.Parser).parse(s.toString());c.Region&&!n?(n=c.Region,u&&n!==p[u]&&(p[u]=n)):!u||n||c.Region||(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=a.util.error(new Error,{code:c.Code||i,message:c.Message||null,region:n})}r.service.extractRequestIds(e)},requestBucketRegion:function(e,t){var r=e.error,i=e.request,s=i.params.Bucket||null;if(!r||!s||r.region||"listObjects"===i.operation||a.util.isNode()&&"headBucket"===i.operation||400===r.statusCode&&"headObject"!==i.operation||-1===p.indexOf(r.code))return t();var o=a.util.isNode()?"headBucket":"listObjects",n={Bucket:s};"listObjects"===o&&(n.MaxKeys=0);var u=i.service[o](n);u._requestRegionForBucket=s,u.send(function(){var e=i.service.bucketRegionCache[s]||null;r.region=e,t()})},reqRegionForNetworkingError:function(e,t){if(!a.util.isBrowser())return t();var r=e.error,i=e.request,s=i.params.Bucket;if(!r||"NetworkingError"!==r.code||!s||"us-east-1"===i.httpRequest.region)return t();var n=i.service,u=n.bucketRegionCache,p=u[s]||null;if(p&&p!==i.httpRequest.region)n.updateReqBucketRegion(i,p),t();else if(o.dnsCompatibleBucketName(s))if(i.httpRequest.virtualHostedBucket){var m=n.listObjects({Bucket:s,MaxKeys:0});n.updateReqBucketRegion(m,"us-east-1"),m._requestRegionForBucket=s,m.send(function(){var e=n.bucketRegionCache[s]||null;e&&e!==i.httpRequest.region&&n.updateReqBucketRegion(i,e),t()})}else t();else n.updateReqBucketRegion(i,"us-east-1"),"us-east-1"!==u[s]&&(u[s]="us-east-1"),t()},bucketRegionCache:{},clearBucketRegionCache:function(e){var t=this.bucketRegionCache;e?"string"==typeof e&&(e=[e]):e=Object.keys(t);for(var r=0;r=0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"FIPS region not allowed in ARN"});if(!r&&o!==n)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region conflicts with access point region"});if(r&&i.getEndpointSuffix(o)!==i.getEndpointSuffix(n))throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region and access point region not in same partition"});if(e.service.config.useAccelerateEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"useAccelerateEndpoint config is not supported with access point ARN"});if("s3-outposts"===e._parsedArn.service&&e.service.config.useDualstackEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Dualstack is not supported with outposts access point ARN"})},loadUseArnRegionConfig:function(e){var t="AWS_S3_USE_ARN_REGION",i="s3_use_arn_region",s=!0,o=e.service._originalConfig||{};if(void 0!==e.service.config.s3UseArnRegion)return e.service.config.s3UseArnRegion;if(void 0!==o.s3UseArnRegion)s=!0===o.s3UseArnRegion;else if(a.util.isNode())if(r.env[t]){var n=r.env[t].trim().toLowerCase();if(["false","true"].indexOf(n)<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:t+" only accepts true or false. Got "+r.env[t],retryable:!1});s="true"===n}else{var u={},p={};try{u=a.util.getProfilesFromSharedConfig(a.util.iniLoader),p=u[r.env.AWS_PROFILE||a.util.defaultProfile]}catch(e){}if(p[i]){if(["false","true"].indexOf(p[i].trim().toLowerCase())<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:i+" only accepts true or false. Got "+p[i],retryable:!1});s="true"===p[i].trim().toLowerCase()}}return e.service.config.s3UseArnRegion=s,s},validatePopulateUriFromArn:function(e){if(e.service._originalConfig&&e.service._originalConfig.endpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Custom endpoint is not compatible with access point ARN"});if(e.service.config.s3ForcePathStyle)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Cannot construct path-style endpoint with access point"})},dnsCompatibleBucketName:function(e){var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),a=new RegExp(/(\d+\.){3}\d+/),i=new RegExp(/\.\./);return!(!t.match(r)||t.match(a)||t.match(i))}};t.exports=s}).call(this)}).call(this,e("_process"))},{"../core":350,"../region_config":395,_process:445}],416:[function(e,t,r){var a=e("../core");a.util.update(a.SQS.prototype,{setupRequestListeners:function(e){e.addListener("build",this.buildEndpoint),e.service.config.computeChecksums&&("sendMessage"===e.operation?e.addListener("extractData",this.verifySendMessageChecksum):"sendMessageBatch"===e.operation?e.addListener("extractData",this.verifySendMessageBatchChecksum):"receiveMessage"===e.operation&&e.addListener("extractData",this.verifyReceiveMessageChecksum))},verifySendMessageChecksum:function(e){if(e.data){var t=e.data.MD5OfMessageBody,r=this.params.MessageBody,a=this.service.calculateChecksum(r);if(a!==t){var i='Got "'+e.data.MD5OfMessageBody+'", expecting "'+a+'".';this.service.throwInvalidChecksumError(e,[e.data.MessageId],i)}}},verifySendMessageBatchChecksum:function(e){if(e.data){var t=this.service,r={},i=[],s=[];a.util.arrayEach(e.data.Successful,function(e){r[e.Id]=e}),a.util.arrayEach(this.params.Entries,function(e){if(r[e.Id]){var a=r[e.Id].MD5OfMessageBody,o=e.MessageBody;t.isChecksumValid(a,o)||(i.push(e.Id),s.push(r[e.Id].MessageId))}}),i.length>0&&t.throwInvalidChecksumError(e,s,"Invalid messages: "+i.join(", "))}},verifyReceiveMessageChecksum:function(e){if(e.data){var t=this.service,r=[];a.util.arrayEach(e.data.Messages,function(e){var a=e.MD5OfBody,i=e.Body;t.isChecksumValid(a,i)||r.push(e.MessageId)}),r.length>0&&t.throwInvalidChecksumError(e,r,"Invalid messages: "+r.join(", "))}},throwInvalidChecksumError:function(e,t,r){e.error=a.util.error(new Error,{retryable:!0,code:"InvalidChecksum",messageIds:t,message:e.request.operation+" returned an invalid MD5 response. "+r})},isChecksumValid:function(e,t){return this.calculateChecksum(t)===e},calculateChecksum:function(e){return a.util.crypto.md5(e,"hex")},buildEndpoint:function(e){var t=e.httpRequest.params.QueueUrl;if(t){e.httpRequest.endpoint=new a.Endpoint(t);var r=e.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);r&&(e.httpRequest.region=r[1])}}})},{"../core":350}],417:[function(e,t,r){var a=e("../core"),i=e("../config_regional_endpoint");a.util.update(a.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new a.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)},setupRequestListeners:function(e){e.addListener("validate",this.optInRegionalEndpoint,!0)},optInRegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.stsRegionalEndpoints=i(t._originalConfig,{env:"AWS_STS_REGIONAL_ENDPOINTS",sharedConfig:"sts_regional_endpoints",clientConfig:"stsRegionalEndpoints"}),"regional"===r.stsRegionalEndpoints&&t.isGlobalEndpoint){if(!r.region)throw a.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var s=r.endpoint.indexOf(".amazonaws.com"),o=r.endpoint.substring(0,s)+"."+r.region+r.endpoint.substring(s);e.httpRequest.updateEndpoint(o),e.httpRequest.region=r.region}}})},{"../config_regional_endpoint":349,"../core":350}],418:[function(e,t,r){var a=e("../core");a.Signers.Bearer=a.util.inherit(a.Signers.RequestSigner,{constructor:function(e){a.Signers.RequestSigner.call(this,e)},addAuthorization:function(e){this.request.headers.Authorization="Bearer "+e.token}})},{"../core":350}],419:[function(e,t,r){function a(e){var t=e.httpRequest.headers[n],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===s.Signers.V4){if(t>604800){throw s.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1})}e.httpRequest.headers[n]=t}else{if(r!==s.Signers.S3)throw s.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var a=e.service?e.service.getSkewCorrectedDate():s.util.date.getDate();e.httpRequest.headers[n]=parseInt(s.util.date.unixTimestamp(a)+t,10).toString()}}function i(e){var t=e.httpRequest.endpoint,r=s.util.urlParse(e.httpRequest.path),a={};r.search&&(a=s.util.queryStringParse(r.search.substr(1)));var i=e.httpRequest.headers.Authorization.split(" ");if("AWS"===i[0])i=i[1].split(":"),a.Signature=i.pop(),a.AWSAccessKeyId=i.join(":"),s.util.each(e.httpRequest.headers,function(e,t){e===n&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete a[e],e=e.toLowerCase()),a[e]=t}),delete e.httpRequest.headers[n],delete a.Authorization,delete a.Host;else if("AWS4-HMAC-SHA256"===i[0]){i.shift();var o=i.join(" "),u=o.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];a["X-Amz-Signature"]=u,delete a.Expires}t.pathname=r.pathname,t.search=s.util.queryParamsToString(a)}var s=e("../core"),o=s.util.inherit,n="presigned-expires";s.Signers.Presign=o({sign:function(e,t,r){if(e.httpRequest.headers[n]=t||3600,e.on("build",a),e.on("sign",i),e.removeListener("afterBuild",s.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",s.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return s.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,s.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=s.Signers.Presign},{"../core":350}],420:[function(e,t,r){var a=e("../core"),i=a.util.inherit;a.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),a.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return a.Signers.V2;case"v3":return a.Signers.V3;case"s3v4":case"v4":return a.Signers.V4;case"s3":return a.Signers.S3;case"v3https":return a.Signers.V3Https;case"bearer":return a.Signers.Bearer}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign"),e("./bearer")},{"../core":350,"./bearer":418,"./presign":419,"./s3":421,"./v2":422,"./v3":423,"./v3https":424,"./v4":425}],421:[function(e,t,r){var a=e("../core"),i=a.util.inherit;a.Signers.S3=i(a.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=a.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),i="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];a.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()=0?"&":"?";this.request.path+=s+a.util.queryParamsToString(i)},authorization:function(e,t){var r=[],a=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+a),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return a.util.crypto.hmac(r,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=a.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];a.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()-1&&!e.body?"UNSIGNED-PAYLOAD":e.headers["X-Amz-Content-Sha256"]?e.headers["X-Amz-Content-Sha256"]:this.hexEncodedHash(this.request.body||"")},unsignableHeaders:["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id"],isSignableHeader:function(e){return 0===e.toLowerCase().indexOf("x-amz-")||this.unsignableHeaders.indexOf(e)<0},isPresigned:function(){return!!this.request.headers["presigned-expires"]}}),t.exports=a.Signers.V4},{"../core":350,"./v4_credentials":426}],426:[function(e,t,r){var a=e("../core"),i={},s=[];t.exports={createScope:function(e,t,r){return[e.substr(0,8),t,r,"aws4_request"].join("/")},getSigningKey:function(e,t,r,o,n){var u=a.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),p=[u,t,r,o].join("_");if((n=!1!==n)&&p in i)return i[p];var m=a.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),c=a.util.crypto.hmac(m,r,"buffer"),l=a.util.crypto.hmac(c,o,"buffer"),d=a.util.crypto.hmac(l,"aws4_request","buffer");return n&&(i[p]=d,s.push(p),s.length>50&&delete i[s.shift()]),d},emptyCache:function(){i={},s=[]}}},{"../core":350}],427:[function(e,t,r){function a(e,t){this.currentState=t||null,this.states=e||{}}a.prototype.runTo=function(e,t,r,a){"function"==typeof e&&(a=r,r=t,t=e,e=null);var i=this,s=i.states[i.currentState];s.fn.call(r||i,a,function(a){if(a){if(!s.fail)return t?t.call(r,a):null;i.currentState=s.fail}else{if(!s.accept)return t?t.call(r):null;i.currentState=s.accept}if(i.currentState===e)return t?t.call(r,a):null;i.runTo(e,t,r,a)})},a.prototype.addState=function(e,t,r,a){return"function"==typeof t?(a=t,t=null,r=null):"function"==typeof r&&(a=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:a},this},t.exports=a},{}],428:[function(e,t,r){(function(r,a){(function(){var i,s={environment:"nodejs",engine:function(){if(s.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=r.platform+"/"+r.version;return r.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+r.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=s.environment,r="aws-sdk-"+t+"/"+e("./core").VERSION;return"nodejs"===t&&(r+=" "+s.engine()),r},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return s.arrayEach(e.split("/"),function(e){t.push(s.uriEscape(e))}),t.join("/")},urlParse:function(e){return s.url.parse(e)},urlFormat:function(e){return s.url.format(e)},queryStringParse:function(e){return s.querystring.parse(e)},queryParamsToString:function(e){var t=[],r=s.uriEscape,a=Object.keys(e).sort();return s.arrayEach(a,function(a){var i=e[a],o=r(a),n=o+"=";if(Array.isArray(i)){var u=[];s.arrayEach(i,function(e){u.push(r(e))}),n=o+"="+u.sort().join("&"+o+"=")}else void 0!==i&&null!==i&&(n=o+"="+r(i));t.push(n)}),t.join("&")},readFileSync:function(t){return s.isBrowser()?null:e("fs").readFileSync(t,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 encode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 decode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"==typeof s.Buffer.from&&s.Buffer.from!==Uint8Array.from?s.Buffer.from(e,t):new s.Buffer(e,t)},alloc:function(e,t,r){if("number"!=typeof e)throw new Error("size passed to alloc must be a number.");if("function"==typeof s.Buffer.alloc)return s.Buffer.alloc(e,t,r);var a=new s.Buffer(e);return void 0!==t&&"function"==typeof a.fill&&a.fill(t,void 0,void 0,r),a},toStream:function(e){s.Buffer.isBuffer(e)||(e=s.buffer.toBuffer(e));var t=new s.stream.Readable,r=0;return t._read=function(a){if(r>=e.length)return t.push(null);var i=r+a;i>e.length&&(i=e.length),t.push(e.slice(r,i)),r=i},t},concat:function(e){var t,r=0,a=0,i=null;for(t=0;t>>8^t[255&(r^e.readUInt8(a))]}return(-1^r)>>>0},hmac:function(e,t,r,a){return r||(r="binary"),"buffer"===r&&(r=void 0),a||(a="sha256"),"string"==typeof t&&(t=s.buffer.toBuffer(t)),s.crypto.lib.createHmac(a,e).update(t).digest(r)},md5:function(e,t,r){return s.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return s.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,a){var i=s.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=s.buffer.toBuffer(t));var o=s.arraySliceFn(t),n=s.Buffer.isBuffer(t);if(s.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(n=!0),a&&"object"==typeof t&&"function"==typeof t.on&&!n)t.on("data",function(e){i.update(e)}),t.on("error",function(e){a(e)}),t.on("end",function(){a(null,i.digest(r))});else{if(!a||!o||n||"undefined"==typeof FileReader){s.isBrowser()&&"object"==typeof t&&!n&&(t=new s.Buffer(new Uint8Array(t)));var u=i.update(t).digest(r);return a&&a(null,u),u}var p=0,m=new FileReader;m.onerror=function(){a(new Error("Failed to read data."))},m.onload=function(){var e=new s.Buffer(new Uint8Array(m.result));i.update(e),p+=e.length,m._continueReading()},m._continueReading=function(){if(p>=t.size)return void a(null,i.digest(r));var e=p+524288;e>t.size&&(e=t.size),m.readAsArrayBuffer(o.call(t,p,e))},m._continueReading()}},toHex:function(e){for(var t=[],r=0;r=3e5,!1),i.config.isClockSkewed},applyClockOffset:function(e){e&&(i.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){var r=!1;void 0===t&&i&&i.config&&(t=i.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t&&(r=!0),Array.isArray(e)||(e=[e]);for(var a=0;a=0)return n++,void setTimeout(p,i+(e.retryAfter||0))}r(e)},p=function(){var t="";a.handleRequest(e,o,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var a=e.statusCode;if(a<300)r(null,t);else{var i=1e3*parseInt(e.headers["retry-after"],10)||0,o=s.error(new Error,{statusCode:a,retryable:a>=500||429===a});i&&o.retryable&&(o.retryAfter=i),u(o)}})},u)};i.util.defer(p)},uuid:{v4:function(){return e("uuid").v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,a=t.service.api.operations[r].output||{};a.payload&&e.data[a.payload]&&(e.data[a.payload]=e.data[a.payload].toString())},defer:function(e){"object"==typeof r&&"function"==typeof r.nextTick?r.nextTick(e):"function"==typeof a?a(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var r=(t||{})[e.operation];if(r&&r.input&&r.input.payload)return r.input.members[r.input.payload]}},getProfilesFromSharedConfig:function(e,t){function a(e,t){for(var r=0,a=Object.keys(t);r=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw s.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};t.exports=s}).call(this)}).call(this,e("_process"),e("timers").setImmediate)},{"../apis/metadata.json":168,"./core":350,_process:445,fs:436,timers:453,uuid:456}],429:[function(e,t,r){function a(){}function i(e,t){for(var r=e.getElementsByTagName(t),a=0,i=r.length;a0||a?s.toString():""},t.exports=a},{"../util":428,"./xml-node":433,"./xml-text":434}],431:[function(e,t,r){function a(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(//g,">").replace(/"/g,""")}t.exports={escapeAttribute:a}},{}],432:[function(e,t,r){function a(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}t.exports={escapeElement:a}},{}],433:[function(e,t,r){function a(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}var i=e("./escape-attribute").escapeAttribute;a.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},a.prototype.addChildNode=function(e){return this.children.push(e),this},a.prototype.removeAttribute=function(e){return delete this.attributes[e],this},a.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,r=this.attributes,a=0,s=Object.keys(r);a"+this.children.map(function(e){return e.toString()}).join("")+"":"/>"},t.exports={XmlNode:a}},{"./escape-attribute":431}],434:[function(e,t,r){function a(e){this.value=e}var i=e("./escape-element").escapeElement;a.prototype.toString=function(){return i(""+this.value)},t.exports={XmlText:a}},{"./escape-element":432}],435:[function(e,t,r){"use strict";function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function i(e){var t=a(e),r=t[0],i=t[1];return 3*(r+i)/4-i}function s(e,t,r){return 3*(t+r)/4-r}function o(e){var t,r,i=a(e),o=i[0],n=i[1],u=new l(s(e,o,n)),p=0,m=n>0?o-4:o;for(r=0;r>16&255,u[p++]=t>>8&255,u[p++]=255&t;return 2===n&&(t=c[e.charCodeAt(r)]<<2|c[e.charCodeAt(r+1)]>>4,u[p++]=255&t),1===n&&(t=c[e.charCodeAt(r)]<<10|c[e.charCodeAt(r+1)]<<4|c[e.charCodeAt(r+2)]>>2,u[p++]=t>>8&255,u[p++]=255&t),u}function n(e){return m[e>>18&63]+m[e>>12&63]+m[e>>6&63]+m[63&e]}function u(e,t,r){for(var a,i=[],s=t;so?o:s+16383));return 1===a?(t=e[r-1],i.push(m[t>>2]+m[t<<4&63]+"==")):2===a&&(t=(e[r-2]<<8)+e[r-1],i.push(m[t>>10]+m[t>>4&63]+m[t<<2&63]+"=")),i.join("")}r.byteLength=i,r.toByteArray=o,r.fromByteArray=p;for(var m=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,b=d.length;y=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),b(t)?a.showHidden=t:t&&r._extend(a,t),f(a.showHidden)&&(a.showHidden=!1),f(a.depth)&&(a.depth=2),f(a.colors)&&(a.colors=!1),f(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=s),u(a,e,a.depth)}function s(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function o(e,t){return e}function n(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,a){if(e.customInspect&&t&&R(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(a,e);return I(i)||(i=u(e,i,a)),i}var s=p(e,t);if(s)return s;var o=Object.keys(t),b=n(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),A(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return m(t);if(0===o.length){if(R(t)){var S=t.name?": "+t.name:"";return e.stylize("[Function"+S+"]","special")}if(T(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(A(t))return m(t)}var g="",h=!1,N=["{","}"];if(y(t)&&(h=!0,N=["[","]"]),R(t)){g=" [Function"+(t.name?": "+t.name:"")+"]"}if(T(t)&&(g=" "+RegExp.prototype.toString.call(t)),k(t)&&(g=" "+Date.prototype.toUTCString.call(t)),A(t)&&(g=" "+m(t)),0===o.length&&(!h||0==t.length))return N[0]+g+N[1];if(a<0)return T(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var f;return f=h?c(e,t,a,b,o):o.map(function(r){return l(e,t,a,b,r,h)}),e.seen.pop(),d(f,g,N)}function p(e,t){if(f(t))return e.stylize("undefined","undefined");if(I(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return h(t)?e.stylize(""+t,"number"):b(t)?e.stylize(""+t,"boolean"):S(t)?e.stylize("null","null"):void 0}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function c(e,t,r,a,i){for(var s=[],o=0,n=t.length;o-1&&(n=s?n.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+n.split("\n").map(function(e){return" "+e}).join("\n"))):n=e.stylize("[Circular]","special")),f(o)){if(s&&i.match(/^\d+$/))return n;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+n}function d(e,t,r){var a=0;return e.reduce(function(e,t){return a++,t.indexOf("\n")>=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function b(e){return"boolean"==typeof e}function S(e){return null===e}function g(e){return null==e}function h(e){return"number"==typeof e}function I(e){return"string"==typeof e}function N(e){return"symbol"==typeof e}function f(e){return void 0===e}function T(e){return C(e)&&"[object RegExp]"===v(e)}function C(e){return"object"==typeof e&&null!==e}function k(e){return C(e)&&"[object Date]"===v(e)}function A(e){return C(e)&&("[object Error]"===v(e)||e instanceof Error)}function R(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function v(e){return Object.prototype.toString.call(e)}function x(e){return e<10?"0"+e.toString(10):e.toString(10)}function P(){var e=new Date,t=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":");return[e.getDate(),G[e.getMonth()],t].join(" ")}function q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E=/%[sdj%]/g;r.format=function(e){if(!I(e)){for(var t=[],r=0;r=s)return e;switch(e){case"%s":return String(a[r++]);case"%d":return Number(a[r++]);case"%j":try{return JSON.stringify(a[r++])}catch(e){return"[Circular]"}default:return e}}),n=a[r];r=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;pn&&(r=n-u),p=r;p>=0;p--){for(var c=!0,l=0;li&&(a=i):a=i;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var o=0;o239?4:s>223?3:s>191?2:1;if(i+n<=r){var u,p,m,c;switch(n){case 1:s<128&&(o=s);break;case 2:u=e[i+1],128==(192&u)&&(c=(31&s)<<6|63&u)>127&&(o=c);break;case 3:u=e[i+1],p=e[i+2],128==(192&u)&&128==(192&p)&&(c=(15&s)<<12|(63&u)<<6|63&p)>2047&&(c<55296||c>57343)&&(o=c);break;case 4:u=e[i+1],p=e[i+2],m=e[i+3],128==(192&u)&&128==(192&p)&&128==(192&m)&&(c=(15&s)<<18|(63&u)<<12|(63&p)<<6|63&m)>65535&&c<1114112&&(o=c)}}null===o?(o=65533,n=1):o>65535&&(o-=65536,a.push(o>>>10&1023|55296),o=56320|1023&o),a.push(o),i+=n}return x(a)}function x(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var i="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function G(e,t,r,a,i,o){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function w(e,t,r,a){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-r,2);i>>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>8,i=r%256,s.push(i),s.push(a);return s}function H(e){return Z.toByteArray(O(e))}function Q(e,t,r,a){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function J(e){return e!==e}var Z=e("base64-js"),X=e("ieee754"),Y=e("isarray");r.Buffer=s,r.SlowBuffer=b,r.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),r.kMaxLength=a(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,r){return o(null,e,t,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,r){return u(null,e,t,r)},s.allocUnsafe=function(e){return p(null,e)},s.allocUnsafeSlow=function(e){return p(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,i=0,o=Math.min(r,a);i0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},s.prototype.compare=function(e,t,r,a,i){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===i&&(i=this.length),t<0||r>e.length||a<0||i>this.length)throw new RangeError("out of range index");if(a>=i&&t>=r)return 0;if(a>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,a>>>=0,i>>>=0,this===e)return 0;for(var o=i-a,n=r-t,u=Math.min(o,n),p=this.slice(a,i),m=e.slice(t,r),c=0;ci)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return f(this,e,t,r);case"utf8":case"utf-8":return T(this,e,t,r);case"ascii":return C(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return A(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)a+=this[e+--t]*i;return a},s.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var a=this[e],i=1,s=0;++s=i&&(a-=Math.pow(2,8*t)),a},s.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var a=t,i=1,s=this[e+--a];a>0&&(i*=256);)s+=this[e+--a]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},s.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,a){if(e=+e,t|=0,r|=0,!a){G(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+i]=e/s&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var i=Math.pow(2,8*r-1);G(this,e,t,r,i-1,-i)}var s=0,o=1,n=0;for(this[t]=255&e;++s>0)-n&255;return t+r},s.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t|=0,!a){var i=Math.pow(2,8*r-1);G(this,e,t,r,i-1,-i)}var s=r-1,o=1,n=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===n&&0!==this[t+s+1]&&(n=1),this[t+s]=(e/o>>0)-n&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},a.prototype.on=a.prototype.addListener,a.prototype.once=function(e,t){function r(){this.removeListener(e,r),a||(a=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var a=!1;return r.listener=t,this.on(e,r),this},a.prototype.removeListener=function(e,t){var r,a,s,n;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,a=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(n=s;n-- >0;)if(r[n]===t||r[n].listener&&r[n].listener===t){a=n;break}if(a<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},a.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},a.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},a.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},a.listenerCount=function(e,t){return e.listenerCount(t)}},{}],442:[function(e,t,r){r.read=function(e,t,r,a,i){var s,o,n=8*i-a-1,u=(1<>1,m=-7,c=r?i-1:0,l=r?-1:1,d=e[t+c];for(c+=l,s=d&(1<<-m)-1,d>>=-m,m+=n;m>0;s=256*s+e[t+c],c+=l,m-=8);for(o=s&(1<<-m)-1,s>>=-m,m+=a;m>0;o=256*o+e[t+c],c+=l,m-=8);if(0===s)s=1-p;else{if(s===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,a),s-=p}return(d?-1:1)*o*Math.pow(2,s-a)},r.write=function(e,t,r,a,i,s){var o,n,u,p=8*s-i-1,m=(1<>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="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function n(e){return e>="0"&&e<="9"||"-"===e}function u(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function p(){}function m(){}function c(e){this.runtime=e}function l(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[g]}]},avg:{_func:this._functionAvg,_signature:[{types:[C]}]},ceil:{_func:this._functionCeil,_signature:[{types:[g]}]},contains:{_func:this._functionContains,_signature:[{types:[I,N]},{types:[h]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[I]},{types:[I]}]},floor:{_func:this._functionFloor,_signature:[{types:[g]}]},length:{_func:this._functionLength,_signature:[{types:[I,N,f]}]},map:{_func:this._functionMap,_signature:[{types:[T]},{types:[N]}]},max:{_func:this._functionMax,_signature:[{types:[C,k]}]},merge:{_func:this._functionMerge,_signature:[{types:[f],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[N]},{types:[T]}]},sum:{_func:this._functionSum,_signature:[{types:[C]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[I]},{types:[I]}]},min:{_func:this._functionMin,_signature:[{types:[C,k]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[N]},{types:[T]}]},type:{_func:this._functionType,_signature:[{types:[h]}]},keys:{_func:this._functionKeys,_signature:[{types:[f]}]},values:{_func:this._functionValues,_signature:[{types:[f]}]},sort:{_func:this._functionSort,_signature:[{types:[k,C]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[N]},{types:[T]}]},join:{_func:this._functionJoin,_signature:[{types:[I]},{types:[k]}]},reverse:{_func:this._functionReverse,_signature:[{types:[I,N]}]},to_array:{_func:this._functionToArray,_signature:[{types:[h]}]},to_string:{_func:this._functionToString,_signature:[{types:[h]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[h]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[h],variadic:!0}]}}}function d(e){return(new m).parse(e)}function y(e){return(new p).tokenize(e)}function b(e,t){var r=new m,a=new l,i=new c(a);a._interpreter=i;var s=r.parse(t);return i.search(s,e)}var S;S="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var g=0,h=1,I=2,N=3,f=4,T=6,C=8,k=9,A={0:"number",1:"any",2:"string",3:"array",4:"object",5:"boolean",6:"expression",7:"null",8:"Array",9:"Array"},R={".":"Dot","*":"Star",",":"Comma",":":"Colon","{":"Lbrace","}":"Rbrace","]":"Rbracket","(":"Lparen",")":"Rparen","@":"Current"},D={"<":!0,">":!0,"=":!0,"!":!0},v={" ":!0,"\t":!0,"\n":!0};p.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,a,i;this._current"===r?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,a=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(a.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var x={};x.EOF=0, -x.UnquotedIdentifier=0,x.QuotedIdentifier=0,x.Rbracket=0,x.Rparen=0,x.Comma=0,x.Rbrace=0,x.Number=0,x.Current=0,x.Expref=0,x.Pipe=1,x.Or=2,x.And=3,x.EQ=5,x.GT=5,x.LT=5,x.GTE=5,x.LTE=5,x.NE=5,x.Flatten=9,x.Star=20,x.Filter=21,x.Dot=40,x.Not=45,x.Lbrace=50,x.Lbracket=55,x.Lparen=60,m.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var r=this._lookaheadToken(0),a=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw a.name="ParserError",a}return t},_loadTokens:function(e){var t=new p,r=t.tokenize(e);r.push({type:"EOF",value:"",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),a=this._lookahead(0);e=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(x[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var r=this._lookaheadToken(0),a=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw a.name="ParserError",a}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,a,i=[],s=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),s.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),r=this.expression(0),a={type:"KeyValuePair",name:t,value:r},i.push(a),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:i}}},c.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var n,u,p,m,c,l,d,y,b;switch(e.type){case"Field":return null!==o&&r(o)?(l=o[e.name],void 0===l?null:l):null;case"Subexpression":for(p=this.visit(e.children[0],o),b=1;b0)for(b=I;bN;b+=f)p.push(o[b]);return p;case"Projection":var T=this.visit(e.children[0],o);if(!t(T))return null;for(y=[],b=0;bc;break;case"GTE":p=m>=c;break;case"LT":p=m=e&&(t=r<0?e-1:e),t}},l.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var a;if(r[r.length-1].variadic){if(t.length=0;a--)r+=t[a];return r}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],a=0;a=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,a=e[0],i=e[1],s=0;s0){if(this._getTypeName(e[0][0])===g)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],a=1;a0){if(this._getTypeName(e[0][0])===g)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],a=1;an?1:oo&&(o=r,t=i[n]);return t},_functionMinBy:function(e){for(var t,r,a=e[1],i=e[0],s=this.createKeyFunction(a,[g,I]),o=1/0,n=0;n1)for(var r=1;r1&&(a=r[0]+"@",e=r[1]),e=e.replace(E,"."),a+s(e.split("."),t).join(".")}function n(e){for(var t,r,a=[],i=0,s=e.length;i=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=128&&i("not-basic"),b.push(e.charCodeAt(a));for(s=r>0?r+1:0;s=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,!(lG(f/y)&&i("overflow"),n*=y;t=b.length+1,I=c(g-o,t,0==o),G(g/t)>f-h&&i("overflow"),h+=G(g/t),g%=t,b.splice(g++,0,h)}return u(b)}function d(e){var t,r,a,s,o,u,p,l,d,y,b,S,g,h,I,N=[];for(e=n(e),S=e.length,t=v,r=0,o=D,u=0;u=t&&bG((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;uf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=T-C,G=Math.floor,w=String.fromCharCode;if(I={version:"1.3.2",ucs2:{decode:n,encode:u},decode:l,encode:d,toASCII:b,toUnicode:y},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return I});else if(S&&g)if(t.exports==S)g.exports=I;else for(N in I)I.hasOwnProperty(N)&&(S[N]=I[N]);else a.punycode=I}(this)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],447:[function(e,t,r){"use strict";function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,s){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var n=/\+/g;e=e.split(t);var u=1e3;s&&"number"==typeof s.maxKeys&&(u=s.maxKeys);var p=e.length;u>0&&p>u&&(p=u);for(var m=0;m=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;a0&&u>n&&(u=n);for(var p=0;p=0?(m=y.substr(0,b),c=y.substr(b+1)):(m=y,c=""),l=decodeURIComponent(m),d=decodeURIComponent(c),a(s,l)?Array.isArray(s[l])?s[l].push(d):s[l]=[s[l],d]:s[l]=d}return s}},{}],451:[function(e,t,r){"use strict";var a=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,i){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var s=encodeURIComponent(a(i))+r;return Array.isArray(e[i])?e[i].map(function(e){return s+encodeURIComponent(a(e))}).join(t):s+encodeURIComponent(a(e[i]))}).join(t):i?encodeURIComponent(a(i))+r+encodeURIComponent(a(e)):""}},{}],452:[function(e,t,r){arguments[4][449][0].apply(r,arguments)},{"./decode":450,"./encode":451,dup:449}],453:[function(e,t,r){(function(t,a){(function(){function i(e,t){this._id=e,this._clearFn=t}var s=e("process/browser.js").nextTick,o=Function.prototype.apply,n=Array.prototype.slice,u={},p=0;r.setTimeout=function(){return new i(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new i(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r.setImmediate="function"==typeof t?t:function(e){var t=p++,a=!(arguments.length<2)&&n.call(arguments,1);return u[t]=!0,s(function(){u[t]&&(a?e.apply(null,a):e.call(null),r.clearImmediate(t))}),t},r.clearImmediate="function"==typeof a?a:function(e){delete u[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":445,timers:453}],454:[function(e,t,r){function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,r){if(e&&p(e)&&e instanceof a)return e;var i=new a;return i.parse(e,t,r),i}function s(e){return u(e)&&(e=i(e)),e instanceof a?e.format():a.prototype.format.call(e)}function o(e,t){return i(e,!1,!0).resolve(t)}function n(e,t){return e?i(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function p(e){return"object"==typeof e&&null!==e}function m(e){return null===e}function c(e){return null==e}var l=e("punycode");r.parse=i,r.resolve=o,r.resolveObject=n,r.format=s,r.Url=a;var d=/^([a-z0-9.+-]+:)/i,y=/:[0-9]*$/,b=["<",">",'"',"`"," ","\r","\n","\t"],S=["{","}","|","\\","^","`"].concat(b),g=["'"].concat(S),h=["%","/","?",";","#"].concat(g),I=["/","?","#"],N=/^[a-z0-9A-Z_-]{0,63}$/,f=/^([a-z0-9A-Z_-]{0,63})(.*)$/,T={javascript:!0,"javascript:":!0},C={javascript:!0,"javascript:":!0},k={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=e("querystring");a.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e;a=a.trim();var i=d.exec(a);if(i){i=i[0];var s=i.toLowerCase();this.protocol=s,a=a.substr(i.length)}if(r||i||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var o="//"===a.substr(0,2);!o||i&&C[i]||(a=a.substr(2),this.slashes=!0)}if(!C[i]&&(o||i&&!k[i])){for(var n=-1,p=0;p127?v+="x":v+=D[x];if(!v.match(N)){var q=S.slice(0,p),E=S.slice(p+1),M=D.match(f);M&&(q.push(M[1]),E.unshift(M[2])),E.length&&(a="/"+E.join(".")+a),this.hostname=q.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!b){for(var L=this.hostname.split("."),G=[],p=0;p0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return r.search=e.search,r.query=e.query,m(r.pathname)&&m(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!y.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var g=y.slice(-1)[0],h=(r.host||e.host)&&("."===g||".."===g)||""===g,I=0,N=y.length;N>=0;N--)g=y[N],"."==g?y.splice(N,1):".."===g?(y.splice(N,1),I++):I&&(y.splice(N,1),I--);if(!l&&!d)for(;I--;I)y.unshift("..");!l||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),h&&"/"!==y.join("/").substr(-1)&&y.push("");var f=""===y[0]||y[0]&&"/"===y[0].charAt(0);if(b){r.hostname=r.host=f?"":y.length?y.shift():"";var S=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return l=l||r.host&&y.length,l&&!f&&y.unshift(""),y.length?r.pathname=y.join("/"):(r.pathname=null,r.path=null),m(r.pathname)&&m(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=y.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:446,querystring:449}],455:[function(e,t,r){"use strict";function a(e,t){var r=t||0,a=i;return[a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]]].join("")}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;for(var i=[],s=0;s<256;++s)i[s]=(s+256).toString(16).substr(1);var o=a;r.default=o},{}],456:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return n.default}});var i=a(e("./v1.js")),s=a(e("./v3.js")),o=a(e("./v4.js")),n=a(e("./v5.js"))},{"./v1.js":460,"./v3.js":461,"./v4.js":463,"./v5.js":464}],457:[function(e,t,r){"use strict";function a(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Array(t.length);for(var r=0;r>5]>>>t%32&255,a=parseInt(o.charAt(r>>>4&15)+o.charAt(15&r),16),i.push(a);return i}function s(e,t){e[t>>5]|=128<>>9<<4)]=t;var r,a,i,s,o,u=1732584193,p=-271733879,y=-1732584194,b=271733878;for(r=0;r>2)-1]=void 0,t=0;t>5]|=(255&e[t/8])<>16)+(t>>16)+(r>>16)<<16|65535&r}function u(e,t){return e<>>32-t}function p(e,t,r,a,i,s){return n(u(n(n(t,e),n(a,s)),i),r)}function m(e,t,r,a,i,s,o){return p(t&r|~t&a,e,t,i,s,o)}function c(e,t,r,a,i,s,o){return p(t&a|r&~a,e,t,i,s,o)}function l(e,t,r,a,i,s,o){return p(t^r^a,e,t,i,s,o)}function d(e,t,r,a,i,s,o){return p(r^(t|~a),e,t,i,s,o)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var y=a;r.default=y},{}],458:[function(e,t,r){"use strict";function a(){if(!i)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=a;var i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),s=new Uint8Array(16)},{}],459:[function(e,t,r){"use strict";function a(e,t,r,a){switch(e){case 0:return t&r^~t&a;case 1:return t^r^a;case 2:return t&r^t&a^r&a;case 3:return t^r^a}}function i(e,t){return e<>>32-t}function s(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var s=unescape(encodeURIComponent(e));e=new Array(s.length);for(var o=0;o>>0;g=S,S=b,b=i(y,30)>>>0,y=d,d=I}r[0]=r[0]+d>>>0,r[1]=r[1]+y>>>0,r[2]=r[2]+b>>>0,r[3]=r[3]+S>>>0,r[4]=r[4]+g>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=s;r.default=o},{}],460:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t,r){var a=t&&r||0,i=t||[];e=e||{};var c=e.node||s,l=void 0!==e.clockseq?e.clockseq:o;if(null==c||null==l){var d=e.random||(e.rng||n.default)();null==c&&(c=s=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==l&&(l=o=16383&(d[6]<<8|d[7]))}var y=void 0!==e.msecs?e.msecs:(new Date).getTime(),b=void 0!==e.nsecs?e.nsecs:m+1,S=y-p+(b-m)/1e4;if(S<0&&void 0===e.clockseq&&(l=l+1&16383),(S<0||y>p)&&void 0===e.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");p=y,m=b,o=l,y+=122192928e5;var g=(1e4*(268435455&y)+b)%4294967296;i[a++]=g>>>24&255,i[a++]=g>>>16&255,i[a++]=g>>>8&255,i[a++]=255&g;var h=y/4294967296*1e4&268435455;i[a++]=h>>>8&255,i[a++]=255&h,i[a++]=h>>>24&15|16,i[a++]=h>>>16&255,i[a++]=l>>>8|128,i[a++]=255&l;for(var I=0;I<6;++I)i[a+I]=c[I];return t||(0,u.default)(i)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s,o,n=a(e("./rng.js")),u=a(e("./bytesToUuid.js")),p=0,m=0,c=i;r.default=c},{"./bytesToUuid.js":455,"./rng.js":458}],461:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=a(e("./v35.js")),s=a(e("./md5.js"));const o=(0,i.default)("v3",48,s.default);var n=o;r.default=n},{"./md5.js":457,"./v35.js":462}],462:[function(e,t,r){"use strict";function a(e){var t=[];return e.replace(/[a-fA-F0-9]{2}/g,function(e){t.push(parseInt(e,16))}),t}function i(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),r=0;r=0;s--){i[s].Expire63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:a}},{"../core":350,"../util":428}],386:[function(e,t,r){function a(e){var t=e.httpRequest,r=e.service.api,a=r.targetPrefix+"."+r.operations[e.operation].name,i=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===i&&(i="1.0"),r.awsQueryCompatible&&(t.params||(t.params={}),Object.assign(t.params,e.params)),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+i,t.headers["X-Amz-Target"]=a,p(e)}function i(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var a=JSON.parse(r.body.toString()),i=a.__type||a.code||a.Code;i&&(t.code=i.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=a.message||a.Message||null;for(var s in a||{})"code"!==s&&"message"!==s&&(t["["+s+"]"]="See error."+s+" for details.",Object.defineProperty(t,s,{value:a[s],enumerable:!1,writable:!0}))}catch(a){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],a=r.output||{},i=new u;e.data=i.parse(t,a)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:a,extractError:i,extractData:s}},{"../json/builder":374,"../json/parser":375,"../util":428,"./helpers":385}],387:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function i(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t=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=0){u=!0;var p=0}var m=function(){u&&p!==n?i.emit("error",a.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===a.HttpClient.streamsApiVersion?i.end():i.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===a.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),i.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(i,{end:!1})}else c.pipe(i);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){i.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,i.emit("error",e)})}}),i},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),a.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new a.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",a.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",a.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),a.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},a.Request.deletePromisesFromClass=function(){delete this.prototype.promise},a.util.addPromises(a.Request),a.util.mixin(a.Request,a.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":350,"./state_machine":427,_process:445,jmespath:444}],398:[function(e,t,r){function a(e){var t=e.request._waiter,r=t.config.acceptors,a=!1,i="retry";r.forEach(function(r){if(!a){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(a=!0,i=r.state)}}),!a&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}var i=e("./core"),s=i.util.inherit,o=e("jmespath");i.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(a,t)},pathAll:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}Array.isArray(a)||(a=[a]);var i=a.length;if(!i)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(a.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=a.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=a.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,i=a.util.copy(r.config);i.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(i),t.service.config.params=a.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new a.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=i(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=i(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var a=r.slice(e.partSize);e.partBuffers.push(a),e.partBufferLength+=a.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var i={Body:e};this.tags&&(i.Tagging=this.getTaggingHeader());var s=t.service.putObject(i);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=a.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var a=this.listeners(e),i=a.length;return this.callListeners(a,t,r),i>0},callListeners:function(e,t,r,i){function s(i){if(i&&(n=a.util.error(n||new Error,i),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=i||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=a.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),a.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),a.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,a){return this[e]=r,this.addListener(t,r,a),this},addNamedAsyncListener:function(e,t,r,a){return r._isAsync=!0,this.addNamedListener(e,t,r,a)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),a.SequentialExecutor.prototype.addListener=a.SequentialExecutor.prototype.on,t.exports=a.SequentialExecutor},{"./core":350}],402:[function(e,t,r){(function(r){(function(){var a=e("./core"),i=e("./model/api"),s=e("./region_config"),o=a.util.inherit,n=0,u=e("./region/utils");a.Service=o({constructor:function(e){if(!this.loadServiceClass)throw a.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var i=a.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return i},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=a.config[this.serviceIdentifier];if(this.config=new a.Config(a.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),a.SequentialExecutor.call(this),a.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||a.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){i.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){i.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(a.util.isEmpty(this.api)){if(t.apiConfig)return a.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new a.Config(a.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&a.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?a.util.isType(e,Date)&&(e=a.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(r=t[i]),t[i].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=a.util.copy(t),a.util.each(this.config.params,function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new a.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var a=this.makeRequest(e,t).toUnauthenticated();return r?a.send(r):a},waitFor:function(e,t,r){return new a.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[a.events,a.EventListeners.Core,this.serviceInterface(),a.EventListeners.CorePost],r=0;r299?(i.code&&(r.FinalAwsException=i.code),i.message&&(r.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(r.FinalSdkException=i.code||i.name),i.message&&(r.FinalSdkExceptionMessage=i.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},a=e.response;return a.httpResponse.statusCode&&(r.HttpStatusCode=a.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),a.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),a.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=a.httpResponse.headers["x-amzn-requestid"]),a.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=a.httpResponse.headers["x-amz-request-id"]),a.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=a.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,a=r.error;return r.httpResponse.statusCode>299?(a.code&&(t.AwsException=a.code),a.message&&(t.AwsExceptionMessage=a.message)):((a.code||a.name)&&(t.SdkException=a.code||a.name),a.message&&(t.SdkExceptionMessage=a.message)),t},attachMonitoringEmitter:function(e){var t,r,i,s,o,n,u=0,p=this;e.on("validate",function(){s=a.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=a.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){i=Math.round(a.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,i=i||Math.round(a.util.realClock.now()-r),s.AttemptLatency=i>=0?i:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(a.util.realClock.now()-s);t.Latency=r>=0?r:0;var i=e.response;i.error&&i.error.retryable&&"number"==typeof i.retryCount&&"number"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,i="";if(e){r=(e.service.api.operations||{})[e.operation]||null,i=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":"bearer"===i?"bearer":this.api.signatureVersion,a.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return a.EventListeners.Query;case"json":return a.EventListeners.Json;case"rest-json":return a.EventListeners.RestJson;case"rest-xml":return a.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return a.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new a.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw a.util.error(i,"No pagination configuration for "+e)}return null}return r}}),a.util.update(a.Service,{defineMethods:function(e){a.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){a.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=o(a.Service,r||{});if("string"==typeof e){a.Service.addVersions(i,t);var s=i.serviceIdentifier||e;i.serviceIdentifier=s}else i.prototype.api=e,a.Service.defineMethods(i);if(a.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&a.util.clientSideMonitoring){var n=a.util.clientSideMonitoring.Publisher,u=a.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(a.Service._clientSideMonitoring=!0)}return a.SequentialExecutor.call(i.prototype),a.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw a.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),i.indexOf(e.operation)>-1&&e.addListener("extractData",a.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":350}],408:[function(e,t,r){var a=e("../core");a.util.update(a.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",a.util.convertPayloadToString)}})},{"../core":350}],409:[function(e,t,r){var a=e("../core");a.util.update(a.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new a.Endpoint(t))}})},{"../core":350}],410:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":384}],411:[function(e,t,r){var a=e("../core"),i=e("./rdsutil");e("../rds/signer");var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];a.util.update(a.RDS.prototype,{setupRequestListeners:function(e){i.setupRequestListeners(this,e,s)}})},{"../core":350,"../rds/signer":392,"./rdsutil":412}],412:[function(e,t,r){var a=e("../core"),i={setupRequestListeners:function(e,t,r){if(-1!==r.indexOf(t.operation)&&t.params.SourceRegion)if(t.params=a.util.copy(t.params),t.params.PreSignedUrl||t.params.SourceRegion===e.config.region)delete t.params.SourceRegion;else{var s=!!e.config.paramValidation;s&&t.removeListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS),t.onAsync("validate",i.buildCrossRegionPresignedUrl),s&&t.addListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=a.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var i=e.service.config.region,s=new e.service.constructor(r),o=s[e.operation](a.util.copy(e.params));o.on("build",function(e){var t=e.httpRequest;t.params.DestinationRegion=i,t.body=a.util.queryParamsToString(t.params)}),o.presign(function(r,a){r?t(r):(e.params.PreSignedUrl=a,t())})}};t.exports=i},{"../core":350}],413:[function(e,t,r){var a=e("../core");a.util.update(a.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")},retryableError:function(e){return"PriorRequestNotComplete"===e.code&&400===e.statusCode||a.Service.prototype.retryableError.call(this,e)}})},{"../core":350}],414:[function(e,t,r){var a=e("../core"),i=e("../signers/v4_credentials"),s=e("../config_regional_endpoint"),o=e("./s3util"),n=e("../region_config");e("../s3/managed_upload");var u={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},p=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];a.util.update(a.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,a=this.config.signatureVersion,i=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==i?t="v4":a&&(t=a),t)},getSigningName:function(e){if(e&&"writeGetObjectResponse"===e.operation)return"s3-object-lambda";var t=a.Service.prototype.getSigningName;return e&&e._parsedArn&&e._parsedArn.service?e._parsedArn.service:t.call(this)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return a.Signers.RequestSigner.getVersion(t)},validateService:function(){var e,t=[];if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint&&t.push("An endpoint must be provided when configuring `s3BucketEndpoint` to true."),1===t.length?e=t[0]:t.length>1&&(e="Multiple configuration errors:\n"+t.join("\n")),e)throw a.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===a.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){if(e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketName,!0),e.addListener("validate",this.optInUsEast1RegionalEndpoint,!0),e.removeListener("validate",a.EventListeners.Core.VALIDATE_REGION),e.addListener("build",this.addContentType),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("build",this.populateURI),e.addListener("afterBuild",this.addExpect100Continue),e.addListener("extractError",this.extractError),e.addListener("extractData",a.util.hoistPayloadMember),e.addListener("extractData",this.extractData),e.addListener("extractData",this.extractErrorFrom200Response),e.addListener("beforePresign",this.prepareSignedUrl),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",a.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning)),"createBucket"!==e.operation&&o.isArnInParam(e,"Bucket"))return e._parsedArn=a.util.ARN.parse(e.params.Bucket),e.removeListener("validate",this.validateBucketName),e.removeListener("build",this.populateURI),"s3"===e._parsedArn.service?(e.addListener("validate",o.validateS3AccessPointArn),e.addListener("validate",this.validateArnResourceType),e.addListener("validate",this.validateArnRegion)):"s3-outposts"===e._parsedArn.service&&(e.addListener("validate",o.validateOutpostsAccessPointArn),e.addListener("validate",o.validateOutpostsArn),e.addListener("validate",o.validateArnRegion)),e.addListener("validate",o.validateArnAccount),e.addListener("validate",o.validateArnService),e.addListener("build",this.populateUriFromAccessPointArn),void e.addListener("build",o.validatePopulateUriFromArn);e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.onAsync("extractError",this.requestBucketRegion), +a.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError)},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol;if((t.SSECustomerKey||t.CopySourceSSECustomerKey)&&"https:"!==r)throw a.util.error(new Error,{code:"ConfigError",message:"Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration"})},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){throw a.util.error(new Error,{code:"ConfigError",message:"Cannot send requests to root API with `s3BucketEndpoint` set."})}},validateArnRegion:function(e){o.validateArnRegion(e,{allowFipsEndpoint:!0})},validateArnResourceType:function(e){var t=e._parsedArn.resource;if(0!==t.indexOf("accesspoint:")&&0!==t.indexOf("accesspoint/"))throw a.util.error(new Error,{code:"InvalidARN",message:"ARN resource should begin with 'accesspoint/'"})},validateBucketName:function(e){var t=e.service,r=t.getSignatureVersion(e),i=e.params&&e.params.Bucket,s=e.params&&e.params.Key,o=i&&i.indexOf("/");if(i&&o>=0)if("string"==typeof s&&o>0){e.params=a.util.copy(e.params);var n=i.substr(o+1)||"";e.params.Key=n+"/"+s,e.params.Bucket=i.substr(0,o)}else if("v4"===r){var u="Bucket names cannot contain forward slashes. Bucket: "+i;throw a.util.error(new Error,{code:"InvalidBucket",message:u})}},isValidAccelerateOperation:function(e){return-1===["createBucket","deleteBucket","listBuckets"].indexOf(e)},optInUsEast1RegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.s3UsEast1RegionalEndpoint=s(t._originalConfig,{env:"AWS_S3_US_EAST_1_REGIONAL_ENDPOINT",sharedConfig:"s3_us_east_1_regional_endpoint",clientConfig:"s3UsEast1RegionalEndpoint"}),!(t._originalConfig||{}).endpoint&&"us-east-1"===e.httpRequest.region&&"regional"===r.s3UsEast1RegionalEndpoint&&e.httpRequest.endpoint.hostname.indexOf("s3.amazonaws.com")>=0){var a=r.endpoint.indexOf(".amazonaws.com"),i=r.endpoint.substring(0,a)+".us-east-1"+r.endpoint.substring(a);e.httpRequest.updateEndpoint(i)}},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,a=e.service,i=t.endpoint;if(r&&!a.pathStyleBucketName(r)){a.config.useAccelerateEndpoint&&a.isValidAccelerateOperation(e.operation)?a.config.useDualstackEndpoint?i.hostname=r+".s3-accelerate.dualstack.amazonaws.com":i.hostname=r+".s3-accelerate.amazonaws.com":a.config.s3BucketEndpoint||(i.hostname=r+"."+i.hostname);var s=i.port;i.host=80!==s&&443!==s?i.hostname+":"+i.port:i.hostname,t.virtualHostedBucket=r,a.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;if(r&&t.path){if(e.params&&e.params.Key){var i="/"+a.util.uriEscapePath(e.params.Key);if(0===t.path.indexOf(i)&&(t.path.length===i.length||"?"===t.path[i.length]))return}t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path)}},populateUriFromAccessPointArn:function(e){var t=e._parsedArn,r="s3-outposts"===t.service,i="s3-object-lambda"===t.service,s=r?"."+t.outpostId:"",o=r?"s3-outposts":"s3-accesspoint",u=!r&&e.service.config.useFipsEndpoint?"-fips":"",p=!r&&e.service.config.useDualstackEndpoint?".dualstack":"",m=e.httpRequest.endpoint,c=n.getEndpointSuffix(t.region),l=e.service.config.s3UseArnRegion;if(m.hostname=[t.accessPoint+"-"+t.accountId+s,o+u+p,l?t.region:e.service.config.region,c].join("."),i){var o="s3-object-lambda",d=t.resource.split("/")[1],u=e.service.config.useFipsEndpoint?"-fips":"";m.hostname=[d+"-"+t.accountId,o+u,l?t.region:e.service.config.region,c].join(".")}m.host=m.hostname;var y=a.util.uriEscape(e.params.Bucket),b=e.httpRequest.path;e.httpRequest.path=b.replace(new RegExp("/"+y),""),"/"!==e.httpRequest.path[0]&&(e.httpRequest.path="/"+e.httpRequest.path),e.httpRequest.region=t.region},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];a.util.isNode()&&(t>=1048576||e.params.Body instanceof a.util.stream.Stream)&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"===t.method||"HEAD"===t.method)return void delete t.headers["Content-Type"];t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(a.util.isBrowser())if("string"!=typeof t.body||r.match(/;\s*charset=/)){var i=function(e,t,r){return t+r.toUpperCase()};t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,i)}else{t.headers["Content-Type"]+="; charset=UTF-8"}},willComputeChecksums:function(e){var t=e.service.api.operations[e.operation].input.members,r=e.httpRequest.body,i=e.service.config.computeChecksums&&t.ContentMD5&&!e.params.ContentMD5&&r&&(a.util.Buffer.isBuffer(e.httpRequest.body)||"string"==typeof e.httpRequest.body);return!(!i||!e.service.shouldDisableBodySigning(e)||e.isPresigned())||!(!i||"s3"!==this.getSignatureVersion(e)||!e.isPresigned())},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=a.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){var t={SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"};a.util.each(t,function(t,r){if(e.params[t]){var i=a.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=i}})},pathStyleBucketName:function(e){return!!this.config.s3ForcePathStyle||!this.config.s3BucketEndpoint&&(!o.dnsCompatibleBucketName(e)||!(!this.config.sslEnabled||!e.match(/\./)))},extractErrorFrom200Response:function(e){if(u[e.request.operation]){var t=e.httpResponse;if(t.body&&t.body.toString().match("")){e.data=null;throw(this.service?this.service:this).extractError(e),e.error}if(!t.body||!t.body.toString().match(/<[\w_]/))throw e.data=null,a.util.error(new Error,{code:"InternalError",message:"S3 aborted request"})}},retryableError:function(e,t){return!(!u[t.operation]||200!==e.statusCode)||(!t._requestRegionForBucket||!t.service.bucketRegionCache[t._requestRegionForBucket])&&(!(!e||"RequestTimeout"!==e.code)||(e&&-1!=p.indexOf(e.code)&&e.region&&e.region!=t.httpRequest.region?(t.httpRequest.region=e.region,301===e.statusCode&&t.service.updateReqBucketRegion(t),!0):a.Service.prototype.retryableError.call(this,e,t)))},updateReqBucketRegion:function(e,t){var r=e.httpRequest;if("string"==typeof t&&t.length&&(r.region=t),r.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)){var i=e.service,s=i.config,o=s.s3BucketEndpoint;o&&delete s.s3BucketEndpoint;var n=a.util.copy(s);delete n.endpoint,n.region=r.region,r.endpoint=new a.S3(n).endpoint,i.populateURI(e),s.s3BucketEndpoint=o,r.headers.Host=r.endpoint.host,"validate"===e._asm.currentState&&(e.removeListener("build",i.populateURI),e.addListener("build",i.removeVirtualHostedBucketFromPath))}},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,e.data.LocationConstraint=r?r[1]:""}var a=t.params.Bucket||null;if("deleteBucket"!==t.operation||"string"!=typeof a||e.error){var i=e.httpResponse.headers||{},s=i["x-amz-bucket-region"]||null;if(!s&&"createBucket"===t.operation&&!e.error){var o=t.params.CreateBucketConfiguration;s=o?"EU"===o.LocationConstraint?"eu-west-1":o.LocationConstraint:"us-east-1"}s&&a&&s!==t.service.bucketRegionCache[a]&&(t.service.bucketRegionCache[a]=s)}else t.service.clearBucketRegionCache(a);t.service.extractRequestIds(e)},extractError:function(e){var t={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},r=e.request,i=e.httpResponse.statusCode,s=e.httpResponse.body||"",o=e.httpResponse.headers||{},n=o["x-amz-bucket-region"]||null,u=r.params.Bucket||null,p=r.service.bucketRegionCache;n&&u&&n!==p[u]&&(p[u]=n);var m;if(t[i]&&0===s.length)u&&!n&&(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=a.util.error(new Error,{code:t[i],message:null,region:n});else{var c=(new a.XML.Parser).parse(s.toString());c.Region&&!n?(n=c.Region,u&&n!==p[u]&&(p[u]=n)):!u||n||c.Region||(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=a.util.error(new Error,{code:c.Code||i,message:c.Message||null,region:n})}r.service.extractRequestIds(e)},requestBucketRegion:function(e,t){var r=e.error,i=e.request,s=i.params.Bucket||null;if(!r||!s||r.region||"listObjects"===i.operation||a.util.isNode()&&"headBucket"===i.operation||400===r.statusCode&&"headObject"!==i.operation||-1===p.indexOf(r.code))return t();var o=a.util.isNode()?"headBucket":"listObjects",n={Bucket:s};"listObjects"===o&&(n.MaxKeys=0);var u=i.service[o](n);u._requestRegionForBucket=s,u.send(function(){var e=i.service.bucketRegionCache[s]||null;r.region=e,t()})},reqRegionForNetworkingError:function(e,t){if(!a.util.isBrowser())return t();var r=e.error,i=e.request,s=i.params.Bucket;if(!r||"NetworkingError"!==r.code||!s||"us-east-1"===i.httpRequest.region)return t();var n=i.service,u=n.bucketRegionCache,p=u[s]||null;if(p&&p!==i.httpRequest.region)n.updateReqBucketRegion(i,p),t();else if(o.dnsCompatibleBucketName(s))if(i.httpRequest.virtualHostedBucket){var m=n.listObjects({Bucket:s,MaxKeys:0});n.updateReqBucketRegion(m,"us-east-1"),m._requestRegionForBucket=s,m.send(function(){var e=n.bucketRegionCache[s]||null;e&&e!==i.httpRequest.region&&n.updateReqBucketRegion(i,e),t()})}else t();else n.updateReqBucketRegion(i,"us-east-1"),"us-east-1"!==u[s]&&(u[s]="us-east-1"),t()},bucketRegionCache:{},clearBucketRegionCache:function(e){var t=this.bucketRegionCache;e?"string"==typeof e&&(e=[e]):e=Object.keys(t);for(var r=0;r=0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"FIPS region not allowed in ARN"});if(!r&&o!==n)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region conflicts with access point region"});if(r&&i.getEndpointSuffix(o)!==i.getEndpointSuffix(n))throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region and access point region not in same partition"});if(e.service.config.useAccelerateEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"useAccelerateEndpoint config is not supported with access point ARN"});if("s3-outposts"===e._parsedArn.service&&e.service.config.useDualstackEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Dualstack is not supported with outposts access point ARN"})},loadUseArnRegionConfig:function(e){var t="AWS_S3_USE_ARN_REGION",i="s3_use_arn_region",s=!0,o=e.service._originalConfig||{};if(void 0!==e.service.config.s3UseArnRegion)return e.service.config.s3UseArnRegion;if(void 0!==o.s3UseArnRegion)s=!0===o.s3UseArnRegion;else if(a.util.isNode())if(r.env[t]){var n=r.env[t].trim().toLowerCase();if(["false","true"].indexOf(n)<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:t+" only accepts true or false. Got "+r.env[t],retryable:!1});s="true"===n}else{var u={},p={};try{u=a.util.getProfilesFromSharedConfig(a.util.iniLoader),p=u[r.env.AWS_PROFILE||a.util.defaultProfile]}catch(e){}if(p[i]){if(["false","true"].indexOf(p[i].trim().toLowerCase())<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:i+" only accepts true or false. Got "+p[i],retryable:!1});s="true"===p[i].trim().toLowerCase()}}return e.service.config.s3UseArnRegion=s,s},validatePopulateUriFromArn:function(e){if(e.service._originalConfig&&e.service._originalConfig.endpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Custom endpoint is not compatible with access point ARN"});if(e.service.config.s3ForcePathStyle)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Cannot construct path-style endpoint with access point"})},dnsCompatibleBucketName:function(e){var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),a=new RegExp(/(\d+\.){3}\d+/),i=new RegExp(/\.\./);return!(!t.match(r)||t.match(a)||t.match(i))}};t.exports=s}).call(this)}).call(this,e("_process"))},{"../core":350,"../region_config":395,_process:445}],416:[function(e,t,r){var a=e("../core");a.util.update(a.SQS.prototype,{setupRequestListeners:function(e){e.addListener("build",this.buildEndpoint),e.service.config.computeChecksums&&("sendMessage"===e.operation?e.addListener("extractData",this.verifySendMessageChecksum):"sendMessageBatch"===e.operation?e.addListener("extractData",this.verifySendMessageBatchChecksum):"receiveMessage"===e.operation&&e.addListener("extractData",this.verifyReceiveMessageChecksum))},verifySendMessageChecksum:function(e){if(e.data){var t=e.data.MD5OfMessageBody,r=this.params.MessageBody,a=this.service.calculateChecksum(r);if(a!==t){var i='Got "'+e.data.MD5OfMessageBody+'", expecting "'+a+'".';this.service.throwInvalidChecksumError(e,[e.data.MessageId],i)}}},verifySendMessageBatchChecksum:function(e){if(e.data){var t=this.service,r={},i=[],s=[];a.util.arrayEach(e.data.Successful,function(e){r[e.Id]=e}),a.util.arrayEach(this.params.Entries,function(e){if(r[e.Id]){var a=r[e.Id].MD5OfMessageBody,o=e.MessageBody;t.isChecksumValid(a,o)||(i.push(e.Id),s.push(r[e.Id].MessageId))}}),i.length>0&&t.throwInvalidChecksumError(e,s,"Invalid messages: "+i.join(", "))}},verifyReceiveMessageChecksum:function(e){if(e.data){var t=this.service,r=[];a.util.arrayEach(e.data.Messages,function(e){var a=e.MD5OfBody,i=e.Body;t.isChecksumValid(a,i)||r.push(e.MessageId)}),r.length>0&&t.throwInvalidChecksumError(e,r,"Invalid messages: "+r.join(", "))}},throwInvalidChecksumError:function(e,t,r){e.error=a.util.error(new Error,{retryable:!0,code:"InvalidChecksum",messageIds:t,message:e.request.operation+" returned an invalid MD5 response. "+r})},isChecksumValid:function(e,t){return this.calculateChecksum(t)===e},calculateChecksum:function(e){return a.util.crypto.md5(e,"hex")},buildEndpoint:function(e){var t=e.httpRequest.params.QueueUrl;if(t){e.httpRequest.endpoint=new a.Endpoint(t);var r=e.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);r&&(e.httpRequest.region=r[1])}}})},{"../core":350}],417:[function(e,t,r){var a=e("../core"),i=e("../config_regional_endpoint");a.util.update(a.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new a.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)},setupRequestListeners:function(e){e.addListener("validate",this.optInRegionalEndpoint,!0)},optInRegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.stsRegionalEndpoints=i(t._originalConfig,{env:"AWS_STS_REGIONAL_ENDPOINTS",sharedConfig:"sts_regional_endpoints",clientConfig:"stsRegionalEndpoints"}),"regional"===r.stsRegionalEndpoints&&t.isGlobalEndpoint){if(!r.region)throw a.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var s=r.endpoint.indexOf(".amazonaws.com"),o=r.endpoint.substring(0,s)+"."+r.region+r.endpoint.substring(s);e.httpRequest.updateEndpoint(o),e.httpRequest.region=r.region}}})},{"../config_regional_endpoint":349,"../core":350}],418:[function(e,t,r){var a=e("../core");a.Signers.Bearer=a.util.inherit(a.Signers.RequestSigner,{constructor:function(e){a.Signers.RequestSigner.call(this,e)},addAuthorization:function(e){this.request.headers.Authorization="Bearer "+e.token}})},{"../core":350}],419:[function(e,t,r){function a(e){var t=e.httpRequest.headers[n],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===s.Signers.V4){if(t>604800){throw s.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1})}e.httpRequest.headers[n]=t}else{if(r!==s.Signers.S3)throw s.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var a=e.service?e.service.getSkewCorrectedDate():s.util.date.getDate();e.httpRequest.headers[n]=parseInt(s.util.date.unixTimestamp(a)+t,10).toString()}}function i(e){var t=e.httpRequest.endpoint,r=s.util.urlParse(e.httpRequest.path),a={};r.search&&(a=s.util.queryStringParse(r.search.substr(1)));var i=e.httpRequest.headers.Authorization.split(" ");if("AWS"===i[0])i=i[1].split(":"),a.Signature=i.pop(),a.AWSAccessKeyId=i.join(":"),s.util.each(e.httpRequest.headers,function(e,t){e===n&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete a[e],e=e.toLowerCase()),a[e]=t}),delete e.httpRequest.headers[n],delete a.Authorization,delete a.Host;else if("AWS4-HMAC-SHA256"===i[0]){i.shift();var o=i.join(" "),u=o.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];a["X-Amz-Signature"]=u,delete a.Expires}t.pathname=r.pathname,t.search=s.util.queryParamsToString(a)}var s=e("../core"),o=s.util.inherit,n="presigned-expires";s.Signers.Presign=o({sign:function(e,t,r){if(e.httpRequest.headers[n]=t||3600,e.on("build",a),e.on("sign",i),e.removeListener("afterBuild",s.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",s.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return s.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,s.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=s.Signers.Presign},{"../core":350}],420:[function(e,t,r){var a=e("../core"),i=a.util.inherit;a.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),a.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return a.Signers.V2;case"v3":return a.Signers.V3;case"s3v4":case"v4":return a.Signers.V4;case"s3":return a.Signers.S3;case"v3https":return a.Signers.V3Https;case"bearer":return a.Signers.Bearer}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign"),e("./bearer")},{"../core":350,"./bearer":418,"./presign":419,"./s3":421,"./v2":422,"./v3":423,"./v3https":424,"./v4":425}],421:[function(e,t,r){var a=e("../core"),i=a.util.inherit;a.Signers.S3=i(a.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=a.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),i="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];a.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()=0?"&":"?";this.request.path+=s+a.util.queryParamsToString(i)},authorization:function(e,t){var r=[],a=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+a),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return a.util.crypto.hmac(r,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e), +t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=a.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];a.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()-1&&!e.body?"UNSIGNED-PAYLOAD":e.headers["X-Amz-Content-Sha256"]?e.headers["X-Amz-Content-Sha256"]:this.hexEncodedHash(this.request.body||"")},unsignableHeaders:["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id"],isSignableHeader:function(e){return 0===e.toLowerCase().indexOf("x-amz-")||this.unsignableHeaders.indexOf(e)<0},isPresigned:function(){return!!this.request.headers["presigned-expires"]}}),t.exports=a.Signers.V4},{"../core":350,"./v4_credentials":426}],426:[function(e,t,r){var a=e("../core"),i={},s=[];t.exports={createScope:function(e,t,r){return[e.substr(0,8),t,r,"aws4_request"].join("/")},getSigningKey:function(e,t,r,o,n){var u=a.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),p=[u,t,r,o].join("_");if((n=!1!==n)&&p in i)return i[p];var m=a.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),c=a.util.crypto.hmac(m,r,"buffer"),l=a.util.crypto.hmac(c,o,"buffer"),d=a.util.crypto.hmac(l,"aws4_request","buffer");return n&&(i[p]=d,s.push(p),s.length>50&&delete i[s.shift()]),d},emptyCache:function(){i={},s=[]}}},{"../core":350}],427:[function(e,t,r){function a(e,t){this.currentState=t||null,this.states=e||{}}a.prototype.runTo=function(e,t,r,a){"function"==typeof e&&(a=r,r=t,t=e,e=null);var i=this,s=i.states[i.currentState];s.fn.call(r||i,a,function(a){if(a){if(!s.fail)return t?t.call(r,a):null;i.currentState=s.fail}else{if(!s.accept)return t?t.call(r):null;i.currentState=s.accept}if(i.currentState===e)return t?t.call(r,a):null;i.runTo(e,t,r,a)})},a.prototype.addState=function(e,t,r,a){return"function"==typeof t?(a=t,t=null,r=null):"function"==typeof r&&(a=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:a},this},t.exports=a},{}],428:[function(e,t,r){(function(r,a){(function(){var i,s={environment:"nodejs",engine:function(){if(s.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=r.platform+"/"+r.version;return r.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+r.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=s.environment,r="aws-sdk-"+t+"/"+e("./core").VERSION;return"nodejs"===t&&(r+=" "+s.engine()),r},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return s.arrayEach(e.split("/"),function(e){t.push(s.uriEscape(e))}),t.join("/")},urlParse:function(e){return s.url.parse(e)},urlFormat:function(e){return s.url.format(e)},queryStringParse:function(e){return s.querystring.parse(e)},queryParamsToString:function(e){var t=[],r=s.uriEscape,a=Object.keys(e).sort();return s.arrayEach(a,function(a){var i=e[a],o=r(a),n=o+"=";if(Array.isArray(i)){var u=[];s.arrayEach(i,function(e){u.push(r(e))}),n=o+"="+u.sort().join("&"+o+"=")}else void 0!==i&&null!==i&&(n=o+"="+r(i));t.push(n)}),t.join("&")},readFileSync:function(t){return s.isBrowser()?null:e("fs").readFileSync(t,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 encode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 decode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"==typeof s.Buffer.from&&s.Buffer.from!==Uint8Array.from?s.Buffer.from(e,t):new s.Buffer(e,t)},alloc:function(e,t,r){if("number"!=typeof e)throw new Error("size passed to alloc must be a number.");if("function"==typeof s.Buffer.alloc)return s.Buffer.alloc(e,t,r);var a=new s.Buffer(e);return void 0!==t&&"function"==typeof a.fill&&a.fill(t,void 0,void 0,r),a},toStream:function(e){s.Buffer.isBuffer(e)||(e=s.buffer.toBuffer(e));var t=new s.stream.Readable,r=0;return t._read=function(a){if(r>=e.length)return t.push(null);var i=r+a;i>e.length&&(i=e.length),t.push(e.slice(r,i)),r=i},t},concat:function(e){var t,r=0,a=0,i=null;for(t=0;t>>8^t[255&(r^e.readUInt8(a))]}return(-1^r)>>>0},hmac:function(e,t,r,a){return r||(r="binary"),"buffer"===r&&(r=void 0),a||(a="sha256"),"string"==typeof t&&(t=s.buffer.toBuffer(t)),s.crypto.lib.createHmac(a,e).update(t).digest(r)},md5:function(e,t,r){return s.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return s.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,a){var i=s.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=s.buffer.toBuffer(t));var o=s.arraySliceFn(t),n=s.Buffer.isBuffer(t);if(s.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(n=!0),a&&"object"==typeof t&&"function"==typeof t.on&&!n)t.on("data",function(e){i.update(e)}),t.on("error",function(e){a(e)}),t.on("end",function(){a(null,i.digest(r))});else{if(!a||!o||n||"undefined"==typeof FileReader){s.isBrowser()&&"object"==typeof t&&!n&&(t=new s.Buffer(new Uint8Array(t)));var u=i.update(t).digest(r);return a&&a(null,u),u}var p=0,m=new FileReader;m.onerror=function(){a(new Error("Failed to read data."))},m.onload=function(){var e=new s.Buffer(new Uint8Array(m.result));i.update(e),p+=e.length,m._continueReading()},m._continueReading=function(){if(p>=t.size)return void a(null,i.digest(r));var e=p+524288;e>t.size&&(e=t.size),m.readAsArrayBuffer(o.call(t,p,e))},m._continueReading()}},toHex:function(e){for(var t=[],r=0;r=3e5,!1),i.config.isClockSkewed},applyClockOffset:function(e){e&&(i.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){var r=!1;void 0===t&&i&&i.config&&(t=i.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t&&(r=!0),Array.isArray(e)||(e=[e]);for(var a=0;a=0)return n++,void setTimeout(p,i+(e.retryAfter||0))}r(e)},p=function(){var t="";a.handleRequest(e,o,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var a=e.statusCode;if(a<300)r(null,t);else{var i=1e3*parseInt(e.headers["retry-after"],10)||0,o=s.error(new Error,{statusCode:a,retryable:a>=500||429===a});i&&o.retryable&&(o.retryAfter=i),u(o)}})},u)};i.util.defer(p)},uuid:{v4:function(){return e("uuid").v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,a=t.service.api.operations[r].output||{};a.payload&&e.data[a.payload]&&(e.data[a.payload]=e.data[a.payload].toString())},defer:function(e){"object"==typeof r&&"function"==typeof r.nextTick?r.nextTick(e):"function"==typeof a?a(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var r=(t||{})[e.operation];if(r&&r.input&&r.input.payload)return r.input.members[r.input.payload]}},getProfilesFromSharedConfig:function(e,t){function a(e,t){for(var r=0,a=Object.keys(t);r=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw s.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};t.exports=s}).call(this)}).call(this,e("_process"),e("timers").setImmediate)},{"../apis/metadata.json":168,"./core":350,_process:445,fs:436,timers:453,uuid:456}],429:[function(e,t,r){function a(){}function i(e,t){for(var r=e.getElementsByTagName(t),a=0,i=r.length;a0||a?s.toString():""},t.exports=a},{"../util":428,"./xml-node":433,"./xml-text":434}],431:[function(e,t,r){function a(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(//g,">").replace(/"/g,""")}t.exports={escapeAttribute:a}},{}],432:[function(e,t,r){function a(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}t.exports={escapeElement:a}},{}],433:[function(e,t,r){function a(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}var i=e("./escape-attribute").escapeAttribute;a.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},a.prototype.addChildNode=function(e){return this.children.push(e),this},a.prototype.removeAttribute=function(e){return delete this.attributes[e],this},a.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,r=this.attributes,a=0,s=Object.keys(r);a"+this.children.map(function(e){return e.toString()}).join("")+"":"/>"},t.exports={XmlNode:a}},{"./escape-attribute":431}],434:[function(e,t,r){function a(e){this.value=e}var i=e("./escape-element").escapeElement;a.prototype.toString=function(){return i(""+this.value)},t.exports={XmlText:a}},{"./escape-element":432}],435:[function(e,t,r){"use strict";function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function i(e){var t=a(e),r=t[0],i=t[1];return 3*(r+i)/4-i}function s(e,t,r){return 3*(t+r)/4-r}function o(e){var t,r,i=a(e),o=i[0],n=i[1],u=new l(s(e,o,n)),p=0,m=n>0?o-4:o;for(r=0;r>16&255,u[p++]=t>>8&255,u[p++]=255&t;return 2===n&&(t=c[e.charCodeAt(r)]<<2|c[e.charCodeAt(r+1)]>>4,u[p++]=255&t),1===n&&(t=c[e.charCodeAt(r)]<<10|c[e.charCodeAt(r+1)]<<4|c[e.charCodeAt(r+2)]>>2,u[p++]=t>>8&255,u[p++]=255&t),u}function n(e){return m[e>>18&63]+m[e>>12&63]+m[e>>6&63]+m[63&e]}function u(e,t,r){for(var a,i=[],s=t;so?o:s+16383));return 1===a?(t=e[r-1],i.push(m[t>>2]+m[t<<4&63]+"==")):2===a&&(t=(e[r-2]<<8)+e[r-1],i.push(m[t>>10]+m[t>>4&63]+m[t<<2&63]+"=")),i.join("")}r.byteLength=i,r.toByteArray=o,r.fromByteArray=p;for(var m=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,b=d.length;y=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),b(t)?a.showHidden=t:t&&r._extend(a,t),f(a.showHidden)&&(a.showHidden=!1),f(a.depth)&&(a.depth=2),f(a.colors)&&(a.colors=!1),f(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=s),u(a,e,a.depth)}function s(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function o(e,t){return e}function n(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,a){if(e.customInspect&&t&&R(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(a,e);return I(i)||(i=u(e,i,a)),i}var s=p(e,t);if(s)return s;var o=Object.keys(t),b=n(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),A(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return m(t);if(0===o.length){if(R(t)){var S=t.name?": "+t.name:"";return e.stylize("[Function"+S+"]","special")}if(T(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(A(t))return m(t)}var g="",h=!1,N=["{","}"];if(y(t)&&(h=!0,N=["[","]"]),R(t)){g=" [Function"+(t.name?": "+t.name:"")+"]"}if(T(t)&&(g=" "+RegExp.prototype.toString.call(t)),k(t)&&(g=" "+Date.prototype.toUTCString.call(t)),A(t)&&(g=" "+m(t)),0===o.length&&(!h||0==t.length))return N[0]+g+N[1];if(a<0)return T(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var f;return f=h?c(e,t,a,b,o):o.map(function(r){return l(e,t,a,b,r,h)}),e.seen.pop(),d(f,g,N)}function p(e,t){if(f(t))return e.stylize("undefined","undefined");if(I(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return h(t)?e.stylize(""+t,"number"):b(t)?e.stylize(""+t,"boolean"):S(t)?e.stylize("null","null"):void 0}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function c(e,t,r,a,i){for(var s=[],o=0,n=t.length;o-1&&(n=s?n.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+n.split("\n").map(function(e){return" "+e}).join("\n"))):n=e.stylize("[Circular]","special")),f(o)){if(s&&i.match(/^\d+$/))return n;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+n}function d(e,t,r){var a=0;return e.reduce(function(e,t){return a++,t.indexOf("\n")>=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function b(e){return"boolean"==typeof e}function S(e){return null===e}function g(e){return null==e}function h(e){return"number"==typeof e}function I(e){return"string"==typeof e}function N(e){return"symbol"==typeof e}function f(e){return void 0===e}function T(e){return C(e)&&"[object RegExp]"===v(e)}function C(e){return"object"==typeof e&&null!==e}function k(e){return C(e)&&"[object Date]"===v(e)}function A(e){return C(e)&&("[object Error]"===v(e)||e instanceof Error)}function R(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function v(e){return Object.prototype.toString.call(e)}function x(e){return e<10?"0"+e.toString(10):e.toString(10)}function P(){var e=new Date,t=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":");return[e.getDate(),G[e.getMonth()],t].join(" ")}function q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E=/%[sdj%]/g;r.format=function(e){if(!I(e)){for(var t=[],r=0;r=s)return e;switch(e){case"%s":return String(a[r++]);case"%d":return Number(a[r++]);case"%j":try{return JSON.stringify(a[r++])}catch(e){return"[Circular]"}default:return e}}),n=a[r];r=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;pn&&(r=n-u),p=r;p>=0;p--){for(var c=!0,l=0;li&&(a=i):a=i;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var o=0;o239?4:s>223?3:s>191?2:1;if(i+n<=r){var u,p,m,c;switch(n){case 1:s<128&&(o=s);break;case 2:u=e[i+1],128==(192&u)&&(c=(31&s)<<6|63&u)>127&&(o=c);break;case 3:u=e[i+1],p=e[i+2],128==(192&u)&&128==(192&p)&&(c=(15&s)<<12|(63&u)<<6|63&p)>2047&&(c<55296||c>57343)&&(o=c);break;case 4:u=e[i+1],p=e[i+2],m=e[i+3],128==(192&u)&&128==(192&p)&&128==(192&m)&&(c=(15&s)<<18|(63&u)<<12|(63&p)<<6|63&m)>65535&&c<1114112&&(o=c)}}null===o?(o=65533,n=1):o>65535&&(o-=65536,a.push(o>>>10&1023|55296),o=56320|1023&o),a.push(o),i+=n}return x(a)}function x(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var i="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function G(e,t,r,a,i,o){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function w(e,t,r,a){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-r,2);i>>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>8,i=r%256,s.push(i),s.push(a);return s}function H(e){return Z.toByteArray(O(e))}function Q(e,t,r,a){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function J(e){return e!==e}var Z=e("base64-js"),X=e("ieee754"),Y=e("isarray");r.Buffer=s,r.SlowBuffer=b,r.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),r.kMaxLength=a(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,r){return o(null,e,t,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,r){return u(null,e,t,r)},s.allocUnsafe=function(e){return p(null,e)},s.allocUnsafeSlow=function(e){return p(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,i=0,o=Math.min(r,a);i0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},s.prototype.compare=function(e,t,r,a,i){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===i&&(i=this.length),t<0||r>e.length||a<0||i>this.length)throw new RangeError("out of range index");if(a>=i&&t>=r)return 0;if(a>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,a>>>=0,i>>>=0,this===e)return 0;for(var o=i-a,n=r-t,u=Math.min(o,n),p=this.slice(a,i),m=e.slice(t,r),c=0;ci)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return f(this,e,t,r);case"utf8":case"utf-8":return T(this,e,t,r);case"ascii":return C(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return A(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)a+=this[e+--t]*i;return a},s.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var a=this[e],i=1,s=0;++s=i&&(a-=Math.pow(2,8*t)),a},s.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var a=t,i=1,s=this[e+--a];a>0&&(i*=256);)s+=this[e+--a]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},s.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,a){if(e=+e,t|=0,r|=0,!a){G(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+i]=e/s&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var i=Math.pow(2,8*r-1);G(this,e,t,r,i-1,-i)}var s=0,o=1,n=0;for(this[t]=255&e;++s>0)-n&255;return t+r},s.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t|=0,!a){var i=Math.pow(2,8*r-1);G(this,e,t,r,i-1,-i)}var s=r-1,o=1,n=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===n&&0!==this[t+s+1]&&(n=1),this[t+s]=(e/o>>0)-n&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},a.prototype.on=a.prototype.addListener,a.prototype.once=function(e,t){function r(){this.removeListener(e,r),a||(a=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var a=!1;return r.listener=t,this.on(e,r),this},a.prototype.removeListener=function(e,t){var r,a,s,n;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,a=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(n=s;n-- >0;)if(r[n]===t||r[n].listener&&r[n].listener===t){a=n;break}if(a<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},a.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},a.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},a.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},a.listenerCount=function(e,t){return e.listenerCount(t)}},{}],442:[function(e,t,r){r.read=function(e,t,r,a,i){var s,o,n=8*i-a-1,u=(1<>1,m=-7,c=r?i-1:0,l=r?-1:1,d=e[t+c];for(c+=l,s=d&(1<<-m)-1,d>>=-m,m+=n;m>0;s=256*s+e[t+c],c+=l,m-=8);for(o=s&(1<<-m)-1,s>>=-m,m+=a;m>0;o=256*o+e[t+c],c+=l,m-=8);if(0===s)s=1-p;else{if(s===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,a),s-=p}return(d?-1:1)*o*Math.pow(2,s-a)},r.write=function(e,t,r,a,i,s){var o,n,u,p=8*s-i-1,m=(1<>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="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function n(e){return e>="0"&&e<="9"||"-"===e}function u(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function p(){}function m(){}function c(e){this.runtime=e}function l(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[g]}]},avg:{_func:this._functionAvg,_signature:[{types:[C]}]},ceil:{_func:this._functionCeil,_signature:[{types:[g]}]},contains:{_func:this._functionContains,_signature:[{types:[I,N]},{types:[h]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[I]},{types:[I]}]},floor:{_func:this._functionFloor,_signature:[{types:[g]}]},length:{_func:this._functionLength,_signature:[{types:[I,N,f]}]},map:{_func:this._functionMap,_signature:[{types:[T]},{types:[N]}]},max:{_func:this._functionMax,_signature:[{types:[C,k]}]},merge:{_func:this._functionMerge,_signature:[{types:[f],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[N]},{types:[T]}]},sum:{_func:this._functionSum,_signature:[{types:[C]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[I]},{types:[I]}]},min:{_func:this._functionMin,_signature:[{types:[C,k]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[N]},{types:[T]}]},type:{_func:this._functionType,_signature:[{types:[h]}]},keys:{_func:this._functionKeys,_signature:[{types:[f]}]},values:{_func:this._functionValues,_signature:[{types:[f]}]},sort:{_func:this._functionSort,_signature:[{types:[k,C]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[N]},{types:[T]}]},join:{_func:this._functionJoin,_signature:[{types:[I]},{types:[k]}]},reverse:{_func:this._functionReverse,_signature:[{types:[I,N]}]},to_array:{_func:this._functionToArray,_signature:[{types:[h]}]},to_string:{_func:this._functionToString,_signature:[{types:[h]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[h]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[h],variadic:!0}]}}}function d(e){return(new m).parse(e)}function y(e){return(new p).tokenize(e)}function b(e,t){var r=new m,a=new l,i=new c(a);a._interpreter=i;var s=r.parse(t);return i.search(s,e)}var S;S="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var g=0,h=1,I=2,N=3,f=4,T=6,C=8,k=9,A={0:"number",1:"any",2:"string",3:"array",4:"object",5:"boolean",6:"expression",7:"null",8:"Array",9:"Array"},R={".":"Dot","*":"Star",",":"Comma",":":"Colon","{":"Lbrace","}":"Rbrace","]":"Rbracket","(":"Lparen",")":"Rparen","@":"Current"},D={"<":!0,">":!0,"=":!0,"!":!0},v={" ":!0,"\t":!0,"\n":!0};p.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,a,i;this._current"===r?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,a=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(a.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var x={};x.EOF=0,x.UnquotedIdentifier=0,x.QuotedIdentifier=0,x.Rbracket=0,x.Rparen=0,x.Comma=0,x.Rbrace=0,x.Number=0,x.Current=0,x.Expref=0,x.Pipe=1,x.Or=2,x.And=3,x.EQ=5,x.GT=5,x.LT=5,x.GTE=5,x.LTE=5,x.NE=5,x.Flatten=9,x.Star=20,x.Filter=21,x.Dot=40,x.Not=45,x.Lbrace=50,x.Lbracket=55,x.Lparen=60,m.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var r=this._lookaheadToken(0),a=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw a.name="ParserError",a}return t},_loadTokens:function(e){var t=new p,r=t.tokenize(e);r.push({type:"EOF",value:"",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),a=this._lookahead(0);e=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(x[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var r=this._lookaheadToken(0),a=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw a.name="ParserError",a}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,a,i=[],s=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),s.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),r=this.expression(0),a={type:"KeyValuePair",name:t,value:r},i.push(a),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:i}}},c.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var n,u,p,m,c,l,d,y,b;switch(e.type){case"Field":return null!==o&&r(o)?(l=o[e.name],void 0===l?null:l):null;case"Subexpression":for(p=this.visit(e.children[0],o),b=1;b0)for(b=I;bN;b+=f)p.push(o[b]);return p;case"Projection":var T=this.visit(e.children[0],o);if(!t(T))return null;for(y=[],b=0;bc;break;case"GTE":p=m>=c;break;case"LT":p=m=e&&(t=r<0?e-1:e),t}},l.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var a;if(r[r.length-1].variadic){if(t.length=0;a--)r+=t[a];return r}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],a=0;a=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,a=e[0],i=e[1],s=0;s0){if(this._getTypeName(e[0][0])===g)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],a=1;a0){if(this._getTypeName(e[0][0])===g)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],a=1;an?1:oo&&(o=r,t=i[n]);return t},_functionMinBy:function(e){for(var t,r,a=e[1],i=e[0],s=this.createKeyFunction(a,[g,I]),o=1/0,n=0;n1)for(var r=1;r1&&(a=r[0]+"@",e=r[1]),e=e.replace(E,"."),a+s(e.split("."),t).join(".")}function n(e){for(var t,r,a=[],i=0,s=e.length;i=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=128&&i("not-basic"),b.push(e.charCodeAt(a));for(s=r>0?r+1:0;s=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,!(lG(f/y)&&i("overflow"),n*=y;t=b.length+1,I=c(g-o,t,0==o),G(g/t)>f-h&&i("overflow"),h+=G(g/t),g%=t,b.splice(g++,0,h)}return u(b)}function d(e){var t,r,a,s,o,u,p,l,d,y,b,S,g,h,I,N=[];for(e=n(e),S=e.length,t=v,r=0,o=D,u=0;u=t&&bG((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;uf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=T-C,G=Math.floor,w=String.fromCharCode;if(I={version:"1.3.2",ucs2:{decode:n,encode:u},decode:l,encode:d,toASCII:b,toUnicode:y},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return I});else if(S&&g)if(t.exports==S)g.exports=I;else for(N in I)I.hasOwnProperty(N)&&(S[N]=I[N]);else a.punycode=I}(this)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],447:[function(e,t,r){"use strict";function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,s){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var n=/\+/g;e=e.split(t);var u=1e3;s&&"number"==typeof s.maxKeys&&(u=s.maxKeys);var p=e.length;u>0&&p>u&&(p=u);for(var m=0;m=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;a0&&u>n&&(u=n);for(var p=0;p=0?(m=y.substr(0,b),c=y.substr(b+1)):(m=y,c=""),l=decodeURIComponent(m),d=decodeURIComponent(c),a(s,l)?Array.isArray(s[l])?s[l].push(d):s[l]=[s[l],d]:s[l]=d}return s}},{}],451:[function(e,t,r){"use strict";var a=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,i){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var s=encodeURIComponent(a(i))+r;return Array.isArray(e[i])?e[i].map(function(e){return s+encodeURIComponent(a(e))}).join(t):s+encodeURIComponent(a(e[i]))}).join(t):i?encodeURIComponent(a(i))+r+encodeURIComponent(a(e)):""}},{}],452:[function(e,t,r){arguments[4][449][0].apply(r,arguments)},{"./decode":450,"./encode":451,dup:449}],453:[function(e,t,r){(function(t,a){(function(){function i(e,t){this._id=e,this._clearFn=t}var s=e("process/browser.js").nextTick,o=Function.prototype.apply,n=Array.prototype.slice,u={},p=0;r.setTimeout=function(){return new i(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new i(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r.setImmediate="function"==typeof t?t:function(e){var t=p++,a=!(arguments.length<2)&&n.call(arguments,1);return u[t]=!0,s(function(){u[t]&&(a?e.apply(null,a):e.call(null),r.clearImmediate(t))}),t},r.clearImmediate="function"==typeof a?a:function(e){delete u[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":445,timers:453}],454:[function(e,t,r){function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,r){if(e&&p(e)&&e instanceof a)return e;var i=new a;return i.parse(e,t,r),i}function s(e){return u(e)&&(e=i(e)),e instanceof a?e.format():a.prototype.format.call(e)}function o(e,t){return i(e,!1,!0).resolve(t)}function n(e,t){return e?i(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function p(e){return"object"==typeof e&&null!==e}function m(e){return null===e}function c(e){return null==e}var l=e("punycode");r.parse=i,r.resolve=o,r.resolveObject=n,r.format=s,r.Url=a;var d=/^([a-z0-9.+-]+:)/i,y=/:[0-9]*$/,b=["<",">",'"',"`"," ","\r","\n","\t"],S=["{","}","|","\\","^","`"].concat(b),g=["'"].concat(S),h=["%","/","?",";","#"].concat(g),I=["/","?","#"],N=/^[a-z0-9A-Z_-]{0,63}$/,f=/^([a-z0-9A-Z_-]{0,63})(.*)$/,T={javascript:!0,"javascript:":!0},C={javascript:!0,"javascript:":!0},k={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=e("querystring");a.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e;a=a.trim();var i=d.exec(a);if(i){i=i[0];var s=i.toLowerCase();this.protocol=s,a=a.substr(i.length)}if(r||i||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var o="//"===a.substr(0,2);!o||i&&C[i]||(a=a.substr(2),this.slashes=!0)}if(!C[i]&&(o||i&&!k[i])){for(var n=-1,p=0;p127?v+="x":v+=D[x];if(!v.match(N)){var q=S.slice(0,p),E=S.slice(p+1),M=D.match(f);M&&(q.push(M[1]),E.unshift(M[2])),E.length&&(a="/"+E.join(".")+a),this.hostname=q.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!b){for(var L=this.hostname.split("."),G=[],p=0;p0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return r.search=e.search,r.query=e.query,m(r.pathname)&&m(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!y.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var g=y.slice(-1)[0],h=(r.host||e.host)&&("."===g||".."===g)||""===g,I=0,N=y.length;N>=0;N--)g=y[N],"."==g?y.splice(N,1):".."===g?(y.splice(N,1),I++):I&&(y.splice(N,1),I--);if(!l&&!d)for(;I--;I)y.unshift("..");!l||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),h&&"/"!==y.join("/").substr(-1)&&y.push("");var f=""===y[0]||y[0]&&"/"===y[0].charAt(0);if(b){r.hostname=r.host=f?"":y.length?y.shift():"";var S=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return l=l||r.host&&y.length,l&&!f&&y.unshift(""),y.length?r.pathname=y.join("/"):(r.pathname=null,r.path=null),m(r.pathname)&&m(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=y.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:446, +querystring:449}],455:[function(e,t,r){"use strict";function a(e,t){var r=t||0,a=i;return[a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],"-",a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]]].join("")}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;for(var i=[],s=0;s<256;++s)i[s]=(s+256).toString(16).substr(1);var o=a;r.default=o},{}],456:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return n.default}});var i=a(e("./v1.js")),s=a(e("./v3.js")),o=a(e("./v4.js")),n=a(e("./v5.js"))},{"./v1.js":460,"./v3.js":461,"./v4.js":463,"./v5.js":464}],457:[function(e,t,r){"use strict";function a(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Array(t.length);for(var r=0;r>5]>>>t%32&255,a=parseInt(o.charAt(r>>>4&15)+o.charAt(15&r),16),i.push(a);return i}function s(e,t){e[t>>5]|=128<>>9<<4)]=t;var r,a,i,s,o,u=1732584193,p=-271733879,y=-1732584194,b=271733878;for(r=0;r>2)-1]=void 0,t=0;t>5]|=(255&e[t/8])<>16)+(t>>16)+(r>>16)<<16|65535&r}function u(e,t){return e<>>32-t}function p(e,t,r,a,i,s){return n(u(n(n(t,e),n(a,s)),i),r)}function m(e,t,r,a,i,s,o){return p(t&r|~t&a,e,t,i,s,o)}function c(e,t,r,a,i,s,o){return p(t&a|r&~a,e,t,i,s,o)}function l(e,t,r,a,i,s,o){return p(t^r^a,e,t,i,s,o)}function d(e,t,r,a,i,s,o){return p(r^(t|~a),e,t,i,s,o)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var y=a;r.default=y},{}],458:[function(e,t,r){"use strict";function a(){if(!i)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=a;var i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),s=new Uint8Array(16)},{}],459:[function(e,t,r){"use strict";function a(e,t,r,a){switch(e){case 0:return t&r^~t&a;case 1:return t^r^a;case 2:return t&r^t&a^r&a;case 3:return t^r^a}}function i(e,t){return e<>>32-t}function s(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var s=unescape(encodeURIComponent(e));e=new Array(s.length);for(var o=0;o>>0;g=S,S=b,b=i(y,30)>>>0,y=d,d=I}r[0]=r[0]+d>>>0,r[1]=r[1]+y>>>0,r[2]=r[2]+b>>>0,r[3]=r[3]+S>>>0,r[4]=r[4]+g>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=s;r.default=o},{}],460:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t,r){var a=t&&r||0,i=t||[];e=e||{};var c=e.node||s,l=void 0!==e.clockseq?e.clockseq:o;if(null==c||null==l){var d=e.random||(e.rng||n.default)();null==c&&(c=s=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==l&&(l=o=16383&(d[6]<<8|d[7]))}var y=void 0!==e.msecs?e.msecs:(new Date).getTime(),b=void 0!==e.nsecs?e.nsecs:m+1,S=y-p+(b-m)/1e4;if(S<0&&void 0===e.clockseq&&(l=l+1&16383),(S<0||y>p)&&void 0===e.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");p=y,m=b,o=l,y+=122192928e5;var g=(1e4*(268435455&y)+b)%4294967296;i[a++]=g>>>24&255,i[a++]=g>>>16&255,i[a++]=g>>>8&255,i[a++]=255&g;var h=y/4294967296*1e4&268435455;i[a++]=h>>>8&255,i[a++]=255&h,i[a++]=h>>>24&15|16,i[a++]=h>>>16&255,i[a++]=l>>>8|128,i[a++]=255&l;for(var I=0;I<6;++I)i[a+I]=c[I];return t||(0,u.default)(i)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s,o,n=a(e("./rng.js")),u=a(e("./bytesToUuid.js")),p=0,m=0,c=i;r.default=c},{"./bytesToUuid.js":455,"./rng.js":458}],461:[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=a(e("./v35.js")),s=a(e("./md5.js"));const o=(0,i.default)("v3",48,s.default);var n=o;r.default=n},{"./md5.js":457,"./v35.js":462}],462:[function(e,t,r){"use strict";function a(e){var t=[];return e.replace(/[a-fA-F0-9]{2}/g,function(e){t.push(parseInt(e,16))}),t}function i(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),r=0;r=0;s--){i[s].Expire