diff --git a/.changes/2.1086.0.json b/.changes/2.1086.0.json new file mode 100644 index 0000000000..b52a2abdd1 --- /dev/null +++ b/.changes/2.1086.0.json @@ -0,0 +1,17 @@ +[ + { + "type": "feature", + "category": "Appflow", + "description": "Launching Amazon AppFlow Marketo as a destination connector SDK." + }, + { + "type": "feature", + "category": "FSx", + "description": "This release adds support for data repository associations to use root (\"/\") as the file system path" + }, + { + "type": "feature", + "category": "Kendra", + "description": "Amazon Kendra now suggests spell corrections for a query. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/query-spell-check.html" + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fd27d6185c..937d74b6d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1086.0 +* feature: Appflow: Launching Amazon AppFlow Marketo as a destination connector SDK. +* feature: FSx: This release adds support for data repository associations to use root ("/") as the file system path +* feature: Kendra: Amazon Kendra now suggests spell corrections for a query. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/query-spell-check.html + ## 2.1085.0 * feature: Athena: This release adds support for S3 Object Ownership by allowing the S3 bucket owner full control canned ACL to be set when Athena writes query results to S3 buckets. * feature: CloudTrail: Add bytesScanned field into responses of DescribeQuery and GetQueryResults. diff --git a/README.md b/README.md index 9ba13b047f..901b7e290d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma 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/appflow-2020-08-23.min.json b/apis/appflow-2020-08-23.min.json index f91582b684..1f321dc87b 100644 --- a/apis/appflow-2020-08-23.min.json +++ b/apis/appflow-2020-08-23.min.json @@ -69,10 +69,10 @@ "shape": "S3y" }, "tasks": { - "shape": "S4t" + "shape": "S4u" }, "tags": { - "shape": "S5j" + "shape": "S5k" } } }, @@ -144,7 +144,7 @@ "type": "structure", "members": { "connectorConfiguration": { - "shape": "S5v" + "shape": "S5w" } } } @@ -214,10 +214,10 @@ "valueRegexPattern": {}, "supportedDateFormat": {}, "fieldValueRange": { - "shape": "S7x" + "shape": "S7y" }, "fieldLengthRange": { - "shape": "S7x" + "shape": "S7y" } } } @@ -257,7 +257,7 @@ "type": "boolean" }, "supportedWriteOperations": { - "shape": "S7g" + "shape": "S7h" } } }, @@ -335,7 +335,7 @@ "type": "structure", "members": { "connectorTypes": { - "shape": "S5w" + "shape": "S5x" }, "maxResults": { "type": "integer" @@ -350,11 +350,11 @@ "type": "map", "key": {}, "value": { - "shape": "S5v" + "shape": "S5w" } }, "connectors": { - "shape": "S8f" + "shape": "S8g" }, "nextToken": {} } @@ -389,13 +389,13 @@ "shape": "S3y" }, "lastRunExecutionDetails": { - "shape": "S8l" + "shape": "S8m" }, "triggerConfig": { "shape": "S2w" }, "tasks": { - "shape": "S4t" + "shape": "S4u" }, "createdAt": { "type": "timestamp" @@ -406,7 +406,7 @@ "createdBy": {}, "lastUpdatedBy": {}, "tags": { - "shape": "S5j" + "shape": "S5k" } } } @@ -539,7 +539,7 @@ "type": "structure", "members": { "connectors": { - "shape": "S8f" + "shape": "S8g" }, "nextToken": {} } @@ -584,10 +584,10 @@ "createdBy": {}, "lastUpdatedBy": {}, "tags": { - "shape": "S5j" + "shape": "S5k" }, "lastRunExecutionDetails": { - "shape": "S8l" + "shape": "S8m" } } } @@ -617,7 +617,7 @@ "type": "structure", "members": { "tags": { - "shape": "S5j" + "shape": "S5k" } } } @@ -633,7 +633,7 @@ "description": {}, "connectorProvisioningType": {}, "connectorProvisioningConfig": { - "shape": "S7i" + "shape": "S7j" } } }, @@ -703,7 +703,7 @@ "locationName": "resourceArn" }, "tags": { - "shape": "S5j" + "shape": "S5k" } } }, @@ -814,7 +814,7 @@ "shape": "S3y" }, "tasks": { - "shape": "S4t" + "shape": "S4u" } } }, @@ -1800,6 +1800,18 @@ "writeOperationType": {} } }, + "Marketo": { + "type": "structure", + "required": [ + "object" + ], + "members": { + "object": {}, + "errorHandlingConfig": { + "shape": "S42" + } + } + }, "CustomConnector": { "type": "structure", "required": [ @@ -1874,7 +1886,7 @@ "type": "list", "member": {} }, - "S4t": { + "S4u": { "type": "list", "member": { "type": "structure", @@ -1918,12 +1930,12 @@ } } }, - "S5j": { + "S5k": { "type": "map", "key": {}, "value": {} }, - "S5v": { + "S5w": { "type": "structure", "members": { "canUseAsSource": { @@ -1933,7 +1945,7 @@ "type": "boolean" }, "supportedDestinationConnectors": { - "shape": "S5w" + "shape": "S5x" }, "supportedSchedulingFrequencies": { "type": "list", @@ -2071,7 +2083,7 @@ "connectorVersion": {}, "connectorArn": {}, "connectorModes": { - "shape": "S6s" + "shape": "S6t" }, "authenticationConfig": { "type": "structure", @@ -2169,11 +2181,11 @@ "member": {} }, "supportedWriteOperations": { - "shape": "S7g" + "shape": "S7h" }, "connectorProvisioningType": {}, "connectorProvisioningConfig": { - "shape": "S7i" + "shape": "S7j" }, "logoURL": {}, "registeredAt": { @@ -2182,19 +2194,19 @@ "registeredBy": {} } }, - "S5w": { + "S5x": { "type": "list", "member": {} }, - "S6s": { + "S6t": { "type": "list", "member": {} }, - "S7g": { + "S7h": { "type": "list", "member": {} }, - "S7i": { + "S7j": { "type": "structure", "members": { "lambda": { @@ -2208,7 +2220,7 @@ } } }, - "S7x": { + "S7y": { "type": "structure", "members": { "maximum": { @@ -2219,7 +2231,7 @@ } } }, - "S8f": { + "S8g": { "type": "list", "member": { "type": "structure", @@ -2237,12 +2249,12 @@ "registeredBy": {}, "connectorProvisioningType": {}, "connectorModes": { - "shape": "S6s" + "shape": "S6t" } } } }, - "S8l": { + "S8m": { "type": "structure", "members": { "mostRecentExecutionMessage": {}, diff --git a/apis/appflow-2020-08-23.normal.json b/apis/appflow-2020-08-23.normal.json index e816784bd5..c3fdf3f934 100644 --- a/apis/appflow-2020-08-23.normal.json +++ b/apis/appflow-2020-08-23.normal.json @@ -2488,6 +2488,10 @@ "shape": "ZendeskDestinationProperties", "documentation": "

The properties required to query Zendesk.

" }, + "Marketo": { + "shape": "MarketoDestinationProperties", + "documentation": "

The properties required to query Marketo.

" + }, "CustomConnector": { "shape": "CustomConnectorDestinationProperties", "documentation": "

The properties that are required to query the custom Connector.

" @@ -3402,6 +3406,22 @@ }, "documentation": "

The connector-specific profile properties required when using Marketo.

" }, + "MarketoDestinationProperties": { + "type": "structure", + "required": [ + "object" + ], + "members": { + "object": { + "shape": "Object", + "documentation": "

The object specified in the Marketo flow destination.

" + }, + "errorHandlingConfig": { + "shape": "ErrorHandlingConfig" + } + }, + "documentation": "

The properties that Amazon AppFlow applies when you use Marketo as a flow destination.

" + }, "MarketoMetadata": { "type": "structure", "members": {}, diff --git a/apis/fsx-2018-03-01.normal.json b/apis/fsx-2018-03-01.normal.json index 918c0201bb..9039d0dfa9 100644 --- a/apis/fsx-2018-03-01.normal.json +++ b/apis/fsx-2018-03-01.normal.json @@ -427,7 +427,7 @@ "shape": "UnsupportedOperation" } ], - "documentation": "

Creates an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS storage volume.

" + "documentation": "

Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume.

" }, "CreateVolumeFromBackup": { "name": "CreateVolumeFromBackup", @@ -1703,7 +1703,7 @@ }, "FileSystemPath": { "shape": "Namespace", - "documentation": "

A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2.

This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory.

" + "documentation": "

A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2.

This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory.

If you specify only a forward slash (/) as the file system path, you can link only 1 data repository to the file system. You can only specify \"/\" as the file system path for the first data repository associated with a file system.

" }, "DataRepositoryPath": { "shape": "ArchivePath", @@ -1867,7 +1867,7 @@ }, "AutoImportPolicy": { "shape": "AutoImportPolicyType", - "documentation": "

(Optional) Available with Scratch and Persistent_1 deployment types. When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values:

For more information, see Automatically import updates from your S3 bucket.

This parameter is not supported for file systems with the Persistent_2 deployment type. Instead, use CreateDataRepositoryAssociation\" to create a data repository association to link your Lustre file system to a data repository.

" + "documentation": "

(Optional) Available with Scratch and Persistent_1 deployment types. When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values:

For more information, see Automatically import updates from your S3 bucket.

This parameter is not supported for file systems with the Persistent_2 deployment type. Instead, use CreateDataRepositoryAssociation to create a data repository association to link your Lustre file system to a data repository.

" }, "PerUnitStorageThroughput": { "shape": "PerUnitStorageThroughput", @@ -1917,7 +1917,7 @@ }, "EndpointIpAddressRange": { "shape": "IpAddressRange", - "documentation": "

Specifies the IP address range in which the endpoints to access your file system will be created. By default, Amazon FSx selects an unused IP address range for you from the 198.19.* range.

" + "documentation": "

Specifies the IP address range in which the endpoints to access your file system will be created. By default, Amazon FSx selects an unused IP address range for you from the 198.19.* range.

The Endpoint IP address range you select for your file system must exist outside the VPC's CIDR range and must be at least /30 or larger.

" }, "FsxAdminPassword": { "shape": "AdminPassword", @@ -1968,7 +1968,7 @@ }, "DeploymentType": { "shape": "OpenZFSDeploymentType", - "documentation": "

Specifies the file system deployment type. Amazon FSx for OpenZFS supports SINGLE_AZ_1. SINGLE_AZ_1 is a file system configured for a single Availability Zone (AZ) of redundancy.

" + "documentation": "

Specifies the file system deployment type. Amazon FSx for OpenZFS supports SINGLE_AZ_1. SINGLE_AZ_1 deployment type is configured for redundancy within a single Availability Zone.

" }, "ThroughputCapacity": { "shape": "MegabytesPerSecond", @@ -2170,23 +2170,23 @@ "members": { "ParentVolumeId": { "shape": "VolumeId", - "documentation": "

The ID of the volume to use as the parent volume.

" + "documentation": "

The ID of the volume to use as the parent volume of the volume that you are creating.

" }, "StorageCapacityReservationGiB": { "shape": "IntegerNoMaxFromNegativeOne", - "documentation": "

The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage than the parent volume has reserved. To not specify a storage capacity reservation, set this to -1.

" + "documentation": "

Specifies the amount of storage in gibibytes (GiB) to reserve from the parent volume. Setting StorageCapacityReservationGiB guarantees that the specified amount of storage space on the parent volume will always be available for the volume. You can't reserve more storage than the parent volume has. To not specify a storage capacity reservation, set this to 0 or -1. For more information, see Volume properties in the Amazon FSx for OpenZFS User Guide.

" }, "StorageCapacityQuotaGiB": { "shape": "IntegerNoMaxFromNegativeOne", - "documentation": "

The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can't specify a quota larger than the storage on the parent volume. To not specify a storage capacity quota, set this to -1.

" + "documentation": "

Sets the maximum storage size in gibibytes (GiB) for the volume. You can specify a quota that is larger than the storage on the parent volume. A volume quota limits the amount of storage that the volume can consume to the configured amount, but does not guarantee the space will be available on the parent volume. To guarantee quota space, you must also set StorageCapacityReservationGiB. To not specify a storage capacity quota, set this to -1.

For more information, see Volume properties in the Amazon FSx for OpenZFS User Guide.

" }, "RecordSizeKiB": { "shape": "IntegerRecordSizeKiB", - "documentation": "

Specifies the record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For additional guidance on when to set a custom record size, see Tips for maximizing performance in the Amazon FSx for OpenZFS User Guide.

" + "documentation": "

Specifies the suggested block size for a volume in a ZFS dataset, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. We recommend using the default setting for the majority of use cases. Generally, workloads that write in fixed small or large record sizes may benefit from setting a custom record size, like database workloads (small record size) or media streaming workloads (large record size). For additional guidance on when to set a custom record size, see ZFS Record size in the Amazon FSx for OpenZFS User Guide.

" }, "DataCompressionType": { "shape": "OpenZFSDataCompressionType", - "documentation": "

Specifies the method used to compress the data on the volume. The compression type is NONE by default.

" + "documentation": "

Specifies the method used to compress the data on the volume. The compression type is NONE by default.

For more information about volume compression types and the performance of your Amazon FSx for OpenZFS file system, see Tips for maximizing performance File system and volume settings in the Amazon FSx for OpenZFS User Guide.

" }, "CopyTagsToSnapshots": { "shape": "Flag", @@ -2428,7 +2428,7 @@ }, "FileSystemPath": { "shape": "Namespace", - "documentation": "

A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2.

This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory.

" + "documentation": "

A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2.

This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory.

If you specify only a forward slash (/) as the file system path, you can link only 1 data repository to the file system. You can only specify \"/\" as the file system path for the first data repository associated with a file system.

" }, "DataRepositoryPath": { "shape": "ArchivePath", @@ -3928,7 +3928,7 @@ "type": "string", "max": 4096, "min": 1, - "pattern": "^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{3,4096}$" + "pattern": "^[^\\u0000\\u0085\\u2028\\u2029\\r\\n]{1,4096}$" }, "NetBiosAlias": { "type": "string", @@ -3987,7 +3987,7 @@ }, "EndpointIpAddressRange": { "shape": "IpAddressRange", - "documentation": "

The IP address range in which the endpoints to access your file system are created.

" + "documentation": "

The IP address range in which the endpoints to access your file system are created.

The Endpoint IP address range you select for your file system must exist outside the VPC's CIDR range and must be at least /30 or larger. If you do not specify this optional parameter, Amazon FSx will automatically select a CIDR block for you.

" }, "Endpoints": { "shape": "FileSystemEndpoints", @@ -4198,7 +4198,7 @@ "documentation": "

A list of configuration objects that contain the client and options for mounting the OpenZFS file system.

" } }, - "documentation": "

The Network File System NFS) configurations for mounting an Amazon FSx for OpenZFS file system.

" + "documentation": "

The Network File System (NFS) configurations for mounting an Amazon FSx for OpenZFS file system.

" }, "OpenZFSNfsExportOption": { "type": "string", diff --git a/apis/greengrassv2-2020-11-30.normal.json b/apis/greengrassv2-2020-11-30.normal.json index f3f5079867..4c79c9784e 100644 --- a/apis/greengrassv2-2020-11-30.normal.json +++ b/apis/greengrassv2-2020-11-30.normal.json @@ -203,7 +203,7 @@ "shape": "RequestAlreadyInProgressException" } ], - "documentation": "

Creates a continuous deployment for a target, which is a Greengrass core device or group of core devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass deploys that group's deployment to the new device.

You can define one deployment for each target. When you create a new deployment for a target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the new deployment to the target devices.

Every deployment has a revision number that indicates how many deployment revisions you define for a target. Use this operation to create a new revision of an existing deployment. This operation returns the revision number of the new deployment when you create it.

For more information, see the Create deployments in the IoT Greengrass V2 Developer Guide.

" + "documentation": "

Creates a continuous deployment for a target, which is a Greengrass core device or group of core devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass deploys that group's deployment to the new device.

You can define one deployment for each target. When you create a new deployment for a target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the new deployment to the target devices.

Every deployment has a revision number that indicates how many deployment revisions you define for a target. Use this operation to create a new revision of an existing deployment.

For more information, see the Create deployments in the IoT Greengrass V2 Developer Guide.

" }, "DeleteComponent": { "name": "DeleteComponent", @@ -403,7 +403,7 @@ "shape": "InternalServerException" } ], - "documentation": "

Retrieves connectivity information for a Greengrass core device.

Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide.

" + "documentation": "

Retrieves connectivity information for a Greengrass core device.

Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide.

" }, "GetCoreDevice": { "name": "GetCoreDevice", @@ -826,7 +826,7 @@ "shape": "InternalServerException" } ], - "documentation": "

Updates connectivity information for a Greengrass core device.

Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide.

" + "documentation": "

Updates connectivity information for a Greengrass core device.

Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide.

" } }, "shapes": { diff --git a/apis/kendra-2019-02-03.min.json b/apis/kendra-2019-02-03.min.json index b471880bd8..4b8e3ca3f0 100644 --- a/apis/kendra-2019-02-03.min.json +++ b/apis/kendra-2019-02-03.min.json @@ -1643,7 +1643,18 @@ } } }, - "VisitorId": {} + "VisitorId": {}, + "SpellCorrectionConfiguration": { + "type": "structure", + "required": [ + "IncludeQuerySpellCheckSuggestions" + ], + "members": { + "IncludeQuerySpellCheckSuggestions": { + "type": "boolean" + } + } + } } }, "output": { @@ -1673,7 +1684,7 @@ "type": "structure", "members": { "TextWithHighlightsValue": { - "shape": "Sbr" + "shape": "Sbs" } } } @@ -1682,10 +1693,10 @@ }, "DocumentId": {}, "DocumentTitle": { - "shape": "Sbr" + "shape": "Sbs" }, "DocumentExcerpt": { - "shape": "Sbr" + "shape": "Sbs" }, "DocumentURI": {}, "DocumentAttributes": { @@ -1737,6 +1748,31 @@ "Code": {} } } + }, + "SpellCorrectedQueries": { + "type": "list", + "member": { + "type": "structure", + "members": { + "SuggestedQueryText": {}, + "Corrections": { + "type": "list", + "member": { + "type": "structure", + "members": { + "BeginOffset": { + "type": "integer" + }, + "EndOffset": { + "type": "integer" + }, + "Term": {}, + "CorrectedTerm": {} + } + } + } + } + } } } } @@ -3029,7 +3065,7 @@ "shape": "Sb3" } }, - "Sbr": { + "Sbs": { "type": "structure", "members": { "Text": {}, diff --git a/apis/kendra-2019-02-03.normal.json b/apis/kendra-2019-02-03.normal.json index 06b6c8460f..4939c1e97b 100644 --- a/apis/kendra-2019-02-03.normal.json +++ b/apis/kendra-2019-02-03.normal.json @@ -2498,7 +2498,7 @@ "documentation": "

A list of regular expression patterns that apply to a URL on the Confluence server. An exclusion pattern can apply to a blog post, a page, a space, or an attachment. Items that match the pattern are excluded from the index. Items that don't match the pattern are included in the index. If a item matches both an exclusion pattern and an inclusion pattern, the item isn't included in the index.

" } }, - "documentation": "

Provides configuration information for data sources that connect to Confluence.

" + "documentation": "

Provides the configuration information to connect to Confluence as your data source.

" }, "ConfluencePageConfiguration": { "type": "structure", @@ -2665,7 +2665,7 @@ "documentation": "

The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.

" } }, - "documentation": "

Provides the information necessary to connect to a database.

" + "documentation": "

Provides the configuration information that's required to connect to a database.

" }, "ContentSourceConfiguration": { "type": "structure", @@ -2683,7 +2683,7 @@ "documentation": "

TRUE to use documents you indexed directly using the BatchPutDocument API.

" } }, - "documentation": "

Configuration information for your content sources, such as data sources, FAQs, and content indexed directly via BatchPutDocument.

" + "documentation": "

Provides the configuration information for your content sources, such as data sources, FAQs, and content indexed directly via BatchPutDocument.

" }, "ContentType": { "type": "string", @@ -2695,6 +2695,34 @@ "PPT" ] }, + "Correction": { + "type": "structure", + "members": { + "BeginOffset": { + "shape": "Integer", + "documentation": "

The zero-based location in the response string or text where the corrected word starts.

" + }, + "EndOffset": { + "shape": "Integer", + "documentation": "

The zero-based location in the response string or text where the corrected word ends.

" + }, + "Term": { + "shape": "String", + "documentation": "

The string or text of a misspelled word in a query.

" + }, + "CorrectedTerm": { + "shape": "String", + "documentation": "

The string or text of a corrected misspelled word in a query.

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

A corrected misspelled word in a query.

" + }, + "CorrectionList": { + "type": "list", + "member": { + "shape": "Correction" + } + }, "CrawlDepth": { "type": "integer", "max": 10, @@ -2722,7 +2750,7 @@ }, "Configuration": { "shape": "DataSourceConfiguration", - "documentation": "

The connector configuration information that is required to access the repository.

You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The Configuration parameter is required for all other data sources.

" + "documentation": "

Configuration information that is required to access the data source repository.

You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The Configuration parameter is required for all other data sources.

" }, "Description": { "shape": "Description", @@ -2788,7 +2816,7 @@ }, "Configuration": { "shape": "ExperienceConfiguration", - "documentation": "

Provides the configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience.

" + "documentation": "

Configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience.

" }, "Description": { "shape": "Description", @@ -3054,27 +3082,27 @@ "members": { "S3Configuration": { "shape": "S3DataSourceConfiguration", - "documentation": "

Provides information to create a data source connector for a document repository in an Amazon S3 bucket.

" + "documentation": "

Provides the configuration information to connect to an Amazon S3 bucket as your data source.

" }, "SharePointConfiguration": { "shape": "SharePointConfiguration", - "documentation": "

Provides information necessary to create a data source connector for a Microsoft SharePoint site.

" + "documentation": "

Provides the configuration information to connect to Microsoft SharePoint as your data source.

" }, "DatabaseConfiguration": { "shape": "DatabaseConfiguration", - "documentation": "

Provides information necessary to create a data source connector for a database.

" + "documentation": "

Provides the configuration information to connect to a database as your data source.

" }, "SalesforceConfiguration": { "shape": "SalesforceConfiguration", - "documentation": "

Provides configuration information for data sources that connect to a Salesforce site.

" + "documentation": "

Provides the configuration information to connect to Salesforce as your data source.

" }, "OneDriveConfiguration": { "shape": "OneDriveConfiguration", - "documentation": "

Provides configuration for data sources that connect to Microsoft OneDrive.

" + "documentation": "

Provides the configuration information to connect to Microsoft OneDrive as your data source.

" }, "ServiceNowConfiguration": { "shape": "ServiceNowConfiguration", - "documentation": "

Provides configuration for data sources that connect to ServiceNow instances.

" + "documentation": "

Provides the configuration information to connect to ServiceNow as your data source.

" }, "ConfluenceConfiguration": { "shape": "ConfluenceConfiguration", @@ -3082,7 +3110,7 @@ }, "GoogleDriveConfiguration": { "shape": "GoogleDriveConfiguration", - "documentation": "

Provides configuration for data sources that connect to Google Drive.

" + "documentation": "

Provides the configuration information to connect to Google Drive as your data source.

" }, "WebCrawlerConfiguration": { "shape": "WebCrawlerConfiguration" @@ -3096,7 +3124,7 @@ "documentation": "

Provides the configuration information to connect to Amazon FSx as your data source.

" } }, - "documentation": "

Configuration information for an Amazon Kendra data source.

" + "documentation": "

Provides the configuration information for an Amazon Kendra data source.

" }, "DataSourceDateFieldFormat": { "type": "string", @@ -3126,7 +3154,7 @@ "documentation": "

The identifier of the data source group you want to add to your list of data source groups. This is for filtering search results based on the groups' access to documents in that data source.

" } }, - "documentation": "

Data source information for user context filtering.

" + "documentation": "

Data source information for user context filtering.

" }, "DataSourceGroups": { "type": "list", @@ -3387,7 +3415,7 @@ "documentation": "

A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Kendra to connect to the data source.

" } }, - "documentation": "

Provides information for connecting to an Amazon VPC.

" + "documentation": "

Provides the configuration information to connect to an Amazon VPC.

" }, "DatabaseConfiguration": { "type": "structure", @@ -3403,7 +3431,7 @@ }, "ConnectionConfiguration": { "shape": "ConnectionConfiguration", - "documentation": "

The information necessary to connect to a database.

" + "documentation": "

Configuration information that's required to connect to a database.

" }, "VpcConfiguration": { "shape": "DataSourceVpcConfiguration" @@ -3421,7 +3449,7 @@ "documentation": "

Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.

" } }, - "documentation": "

Provides the information necessary to connect a database to an index.

" + "documentation": "

Provides the configuration information to connect to a index.

" }, "DatabaseEngineType": { "type": "string", @@ -3612,7 +3640,7 @@ }, "Configuration": { "shape": "DataSourceConfiguration", - "documentation": "

Information that describes where the data source is located and how the data source is configured. The specific information in the description depends on the data source provider.

" + "documentation": "

Describes how the data source is configured. The specific information in the description depends on the data source provider.

" }, "CreatedAt": { "shape": "Timestamp", @@ -4536,7 +4564,7 @@ "documentation": "

Specifies whether you are configuring a User or a Group.

" } }, - "documentation": "

Provides the configuration information of users or groups in your Amazon Web Services SSO identity source to grant access your Amazon Kendra experience.

" + "documentation": "

Provides the configuration information for users or groups in your Amazon Web Services SSO identity source to grant access your Amazon Kendra experience.

" }, "EntityDisplayData": { "type": "structure", @@ -4594,7 +4622,7 @@ "documentation": "

The persona that defines the specific permissions of the user or group in your Amazon Web Services SSO identity source. The available personas or access roles are Owner and Viewer. For more information on these personas, see Providing access to your search page.

" } }, - "documentation": "

Provides the configuration information of users or groups in your Amazon Web Services SSO identity source for access to your Amazon Kendra experience. Specific permissions are defined for each user or group once they are granted access to your Amazon Kendra experience.

" + "documentation": "

Provides the configuration information for users or groups in your Amazon Web Services SSO identity source for access to your Amazon Kendra experience. Specific permissions are defined for each user or group once they are granted access to your Amazon Kendra experience.

" }, "EntityPersonaConfigurationList": { "type": "list", @@ -4660,7 +4688,7 @@ "documentation": "

The Amazon Web Services SSO field name that contains the identifiers of your users, such as their emails.

" } }, - "documentation": "

Specifies the configuration information for your Amazon Kendra experience. This includes the data source IDs and/or FAQ IDs, and user or group information to grant access to your Amazon Kendra experience.

" + "documentation": "

Provides the configuration information for your Amazon Kendra experience. This includes the data source IDs and/or FAQ IDs, and user or group information to grant access to your Amazon Kendra experience.

" }, "ExperienceEndpoint": { "type": "structure", @@ -4674,7 +4702,7 @@ "documentation": "

The endpoint of your Amazon Kendra experience.

" } }, - "documentation": "

Provides the configuration information of the endpoint for your Amazon Kendra experience.

" + "documentation": "

Provides the configuration information for the endpoint for your Amazon Kendra experience.

" }, "ExperienceEndpoints": { "type": "list", @@ -4950,11 +4978,11 @@ }, "VpcConfiguration": { "shape": "DataSourceVpcConfiguration", - "documentation": "

Provides the configuration information for connecting to an Amazon Virtual Private Cloud for your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.

" + "documentation": "

Configuration information for connecting to an Amazon Virtual Private Cloud for your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.

" }, "SecretArn": { "shape": "SecretArn", - "documentation": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:

" + "documentation": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:

" }, "InclusionPatterns": { "shape": "DataSourceInclusionsExclusionsStrings", @@ -4966,7 +4994,7 @@ }, "FieldMappings": { "shape": "DataSourceToIndexFieldMappingList", - "documentation": "

A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names in Amazon Kendra. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata.

" + "documentation": "

A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata.

" } }, "documentation": "

Provides the configuration information to connect to Amazon FSx as your data source.

" @@ -5097,7 +5125,7 @@ "documentation": "

A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded.

" } }, - "documentation": "

Provides configuration information for data sources that connect to Google Drive.

" + "documentation": "

Provides the configuration information to connect to Google Drive as your data source.

" }, "GroupAttributeField": { "type": "string", @@ -5317,7 +5345,7 @@ "documentation": "

The current status of the index. When the status is ACTIVE, the index is ready to search.

" } }, - "documentation": "

A summary of information about an index.

" + "documentation": "

A summary of information on the configuration of an index.

" }, "IndexConfigurationSummaryList": { "type": "list", @@ -5453,7 +5481,7 @@ "documentation": "

The group attribute field.

" } }, - "documentation": "

Configuration information for the JSON token type.

" + "documentation": "

Provides the configuration information for the JSON token type.

" }, "JwtTokenTypeConfiguration": { "type": "structure", @@ -5490,7 +5518,7 @@ "documentation": "

The regular expression that identifies the claim.

" } }, - "documentation": "

Configuration information for the JWT token type.

" + "documentation": "

Provides the configuration information for the JWT token type.

" }, "KeyLocation": { "type": "string", @@ -5795,7 +5823,7 @@ "members": { "IndexConfigurationSummaryItems": { "shape": "IndexConfigurationSummaryList", - "documentation": "

An array of summary information for one or more indexes.

" + "documentation": "

An array of summary information on the configuration of one or more indexes.

" }, "NextToken": { "shape": "NextToken", @@ -6095,7 +6123,7 @@ "documentation": "

A Boolean value that specifies whether local groups are disabled (True) or enabled (False).

" } }, - "documentation": "

Provides configuration information for data sources that connect to OneDrive.

" + "documentation": "

Provides the configuration information to connect to OneDrive as your data source.

" }, "OneDriveUser": { "type": "string", @@ -6365,6 +6393,10 @@ "VisitorId": { "shape": "VisitorId", "documentation": "

Provides an identifier for a specific user. The VisitorId should be a unique identifier, such as a GUID. Don't use personally identifiable information, such as the user's email address, as the VisitorId.

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

Enables suggested spell corrections for queries.

" } } }, @@ -6390,6 +6422,10 @@ "Warnings": { "shape": "WarningList", "documentation": "

A list of warning codes and their messages on problems with your query.

Amazon Kendra currently only supports one type of warning, which is a warning on invalid syntax used in the query. For examples of invalid query syntax, see Searching with advanced query syntax.

" + }, + "SpellCorrectedQueries": { + "shape": "SpellCorrectedQueryList", + "documentation": "

A list of information related to suggested spell corrections for a query.

" } } }, @@ -6640,7 +6676,7 @@ "documentation": "

Provides the path to the S3 bucket that contains the user context filtering files for the data source. For the format of the file, see Access control for S3 data sources.

" } }, - "documentation": "

Provides configuration information for a data source to index documents in an Amazon S3 bucket.

" + "documentation": "

Provides the configuration information to connect to an Amazon S3 bucket.

" }, "S3ObjectKey": { "type": "string", @@ -6688,7 +6724,7 @@ "documentation": "

Filters the documents in the feed based on status of the user. When you specify ACTIVE_USERS only documents from users who have an active account are indexed. When you specify STANDARD_USER only documents for Salesforce standard users are documented. You can specify both.

" } }, - "documentation": "

Defines configuration for syncing a Salesforce chatter feed. The contents of the object comes from the Salesforce FeedItem table.

" + "documentation": "

The configuration information for syncing a Salesforce chatter feed. The contents of the object comes from the Salesforce FeedItem table.

" }, "SalesforceChatterFeedIncludeFilterType": { "type": "string", @@ -6738,7 +6774,7 @@ }, "StandardObjectAttachmentConfiguration": { "shape": "SalesforceStandardObjectAttachmentConfiguration", - "documentation": "

Provides configuration information for processing attachments to Salesforce standard objects.

" + "documentation": "

Configuration information for processing attachments to Salesforce standard objects.

" }, "IncludeAttachmentFilePatterns": { "shape": "DataSourceInclusionsExclusionsStrings", @@ -6803,14 +6839,14 @@ }, "StandardKnowledgeArticleTypeConfiguration": { "shape": "SalesforceStandardKnowledgeArticleTypeConfiguration", - "documentation": "

Provides configuration information for standard Salesforce knowledge articles.

" + "documentation": "

Configuration information for standard Salesforce knowledge articles.

" }, "CustomKnowledgeArticleTypeConfigurations": { "shape": "SalesforceCustomKnowledgeArticleTypeConfigurationList", - "documentation": "

Provides configuration information for custom Salesforce knowledge articles.

" + "documentation": "

Configuration information for custom Salesforce knowledge articles.

" } }, - "documentation": "

Specifies configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both

" + "documentation": "

Provides the configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both

" }, "SalesforceKnowledgeArticleState": { "type": "string", @@ -6847,7 +6883,7 @@ "documentation": "

One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.

" } }, - "documentation": "

Provides configuration information for standard Salesforce knowledge articles.

" + "documentation": "

Configuration information for standard Salesforce knowledge articles.

" }, "SalesforceStandardObjectAttachmentConfiguration": { "type": "structure", @@ -6861,7 +6897,7 @@ "documentation": "

One or more objects that map fields in attachments to Amazon Kendra index fields.

" } }, - "documentation": "

Provides configuration information for processing attachments to Salesforce standard objects.

" + "documentation": "

Provides the configuration information for processing attachments to Salesforce standard objects.

" }, "SalesforceStandardObjectConfiguration": { "type": "structure", @@ -6887,7 +6923,7 @@ "documentation": "

One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.

" } }, - "documentation": "

Specifies configuration information for indexing a single standard object.

" + "documentation": "

Provides the configuration information for indexing a single standard object.

" }, "SalesforceStandardObjectConfigurationList": { "type": "list", @@ -7000,7 +7036,7 @@ "documentation": "

You can choose one of the following modes:

The default mode is set to HOST_ONLY.

" } }, - "documentation": "

Provides the configuration information of the seed or starting point URLs to crawl.

When selecting websites to index, you must adhere to the Amazon Acceptable Use Policy and all other Amazon terms. Remember that you must only use Amazon Kendra Web Crawler to index your own webpages, or webpages that you have authorization to index.

" + "documentation": "

Provides the configuration information for the seed or starting point URLs to crawl.

When selecting websites to index, you must adhere to the Amazon Acceptable Use Policy and all other Amazon terms. Remember that you must only use Amazon Kendra Web Crawler to index your own webpages, or webpages that you have authorization to index.

" }, "SeedUrlList": { "type": "list", @@ -7056,18 +7092,18 @@ }, "KnowledgeArticleConfiguration": { "shape": "ServiceNowKnowledgeArticleConfiguration", - "documentation": "

Provides configuration information for crawling knowledge articles in the ServiceNow site.

" + "documentation": "

Configuration information for crawling knowledge articles in the ServiceNow site.

" }, "ServiceCatalogConfiguration": { "shape": "ServiceNowServiceCatalogConfiguration", - "documentation": "

Provides configuration information for crawling service catalogs in the ServiceNow site.

" + "documentation": "

Configuration information for crawling service catalogs in the ServiceNow site.

" }, "AuthenticationType": { "shape": "ServiceNowAuthenticationType", "documentation": "

Determines the type of authentication used to connect to the ServiceNow instance. If you choose HTTP_BASIC, Amazon Kendra is authenticated using the user name and password provided in the Secrets Manager secret in the SecretArn field. When you choose OAUTH2, Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and password are used to determine which information Amazon Kendra has access to.

When you use OAUTH2 authentication, you must generate a token and a client secret using the ServiceNow console. For more information, see Using a ServiceNow data source.

" } }, - "documentation": "

Provides configuration information required to connect to a ServiceNow data source.

" + "documentation": "

Provides the configuration information to connect to ServiceNow as your data source.

" }, "ServiceNowHostUrl": { "type": "string", @@ -7110,7 +7146,7 @@ "documentation": "

A query that selects the knowledge articles to index. The query can return articles from multiple knowledge bases, and the knowledge bases can be public or private.

The query string must be one generated by the ServiceNow console. For more information, see Specifying documents to index with a query.

" } }, - "documentation": "

Provides configuration information for crawling knowledge articles in the ServiceNow site.

" + "documentation": "

Provides the configuration information for crawling knowledge articles in the ServiceNow site.

" }, "ServiceNowKnowledgeArticleFilterQuery": { "type": "string", @@ -7149,7 +7185,7 @@ "documentation": "

Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.

" } }, - "documentation": "

Provides configuration information for crawling service catalog items in the ServiceNow site

" + "documentation": "

Provides the configuration information for crawling service catalog items in the ServiceNow site

" }, "SharePointConfiguration": { "type": "structure", @@ -7206,7 +7242,7 @@ "shape": "S3Path" } }, - "documentation": "

Provides configuration information for connecting to a Microsoft SharePoint data source.

" + "documentation": "

Provides the configuration information to connect to Microsoft SharePoint as your data source.

" }, "SharePointUrlList": { "type": "list", @@ -7247,7 +7283,7 @@ "documentation": "

The list of sitemap URLs of the websites you want to crawl.

The list can include a maximum of three sitemap URLs.

" } }, - "documentation": "

Provides the configuration information of the sitemap URLs to crawl.

When selecting websites to index, you must adhere to the Amazon Acceptable Use Policy and all other Amazon terms. Remember that you must only use Amazon Kendra Web Crawler to index your own webpages, or webpages that you have authorization to index.

" + "documentation": "

Provides the configuration information for the sitemap URLs to crawl.

When selecting websites to index, you must adhere to the Amazon Acceptable Use Policy and all other Amazon terms. Remember that you must only use Amazon Kendra Web Crawler to index your own webpages, or webpages that you have authorization to index.

" }, "SiteMapsList": { "type": "list", @@ -7300,6 +7336,39 @@ }, "documentation": "

Specifies the document attribute to use to sort the response to a Amazon Kendra query. You can specify a single attribute for sorting. The attribute must have the Sortable flag set to true, otherwise Amazon Kendra returns an exception.

You can sort attributes of the following types.

You can't sort attributes of the following type.

" }, + "SpellCorrectedQuery": { + "type": "structure", + "members": { + "SuggestedQueryText": { + "shape": "SuggestedQueryText", + "documentation": "

The query with the suggested spell corrections.

" + }, + "Corrections": { + "shape": "CorrectionList", + "documentation": "

The corrected misspelled word or words in a query.

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

A query with suggested spell corrections.

" + }, + "SpellCorrectedQueryList": { + "type": "list", + "member": { + "shape": "SpellCorrectedQuery" + } + }, + "SpellCorrectionConfiguration": { + "type": "structure", + "required": [ + "IncludeQuerySpellCheckSuggestions" + ], + "members": { + "IncludeQuerySpellCheckSuggestions": { + "shape": "Boolean", + "documentation": "

TRUE to suggest spell corrections for queries.

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

Provides the configuration information for suggested query spell corrections.

Suggested spell corrections are based on words that appear in your indexed documents and how closely a corrected word matches a misspelled word.

This feature is designed with certain defaults or limits. For information on the current limits and how to request more support for some limits, see the Spell Checker documentation.

" + }, "SqlConfiguration": { "type": "structure", "members": { @@ -7308,7 +7377,7 @@ "documentation": "

Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (\") when making a database query.

By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.

PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.

For MySQL databases, you must enable the ansi_quotes option when you set this field to DOUBLE_QUOTES.

" } }, - "documentation": "

Provides information that configures Amazon Kendra to use a SQL database.

" + "documentation": "

Provides the configuration information to use a SQL database.

" }, "StartDataSourceSyncJobRequest": { "type": "structure", @@ -7423,6 +7492,11 @@ "max": 6, "min": 1 }, + "SuggestedQueryText": { + "type": "string", + "max": 1000, + "min": 1 + }, "Suggestion": { "type": "structure", "members": { @@ -7723,7 +7797,7 @@ }, "Configuration": { "shape": "DataSourceConfiguration", - "documentation": "

Configuration information for an Amazon Kendra data source.

" + "documentation": "

Configuration information for an Amazon Kendra data source you want to update.

" }, "Description": { "shape": "Description", @@ -7772,7 +7846,7 @@ }, "Configuration": { "shape": "ExperienceConfiguration", - "documentation": "

Provides the user configuration information. This includes the Amazon Web Services SSO field name that contains the identifiers of your users, such as their emails.

" + "documentation": "

Configuration information for your Amazon Kendra you want to update.

" }, "Description": { "shape": "Description", @@ -7804,7 +7878,7 @@ }, "DocumentMetadataConfigurationUpdates": { "shape": "DocumentMetadataConfigurationList", - "documentation": "

The document metadata to update.

" + "documentation": "

The document metadata you want to update.

" }, "CapacityUnits": { "shape": "CapacityUnitsConfiguration", @@ -7932,11 +8006,11 @@ "members": { "SeedUrlConfiguration": { "shape": "SeedUrlConfiguration", - "documentation": "

Provides the configuration of the seed or starting point URLs of the websites you want to crawl.

You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the webpages link to.

You can list up to 100 seed URLs.

" + "documentation": "

Configuration of the seed or starting point URLs of the websites you want to crawl.

You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the webpages link to.

You can list up to 100 seed URLs.

" }, "SiteMapsConfiguration": { "shape": "SiteMapsConfiguration", - "documentation": "

Provides the configuration of the sitemap URLs of the websites you want to crawl.

Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs.

" + "documentation": "

Configuration of the sitemap URLs of the websites you want to crawl.

Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs.

" } }, "documentation": "

Provides the configuration information of the URLs to crawl.

You can only crawl websites that use the secure communication protocol, Hypertext Transfer Protocol Secure (HTTPS). If you receive an error when crawling a website, it could be that the website is blocked from crawling.

When selecting websites to index, you must adhere to the Amazon Acceptable Use Policy and all other Amazon terms. Remember that you must only use Amazon Kendra Web Crawler to index your own webpages, or webpages that you have authorization to index.

" @@ -8010,7 +8084,7 @@ "documentation": "

The Amazon Web Services SSO field name that contains the identifiers of your users, such as their emails. This is used for user context filtering and for granting access to your Amazon Kendra experience. You must set up Amazon Web Services SSO with Amazon Kendra. You must include your users and groups in your Access Control List when you ingest documents into your index. For more information, see Getting started with an Amazon Web Services SSO identity source.

" } }, - "documentation": "

Configuration information for the identifiers of your users.

" + "documentation": "

Provides the configuration information for the identifiers of your users.

" }, "UserNameAttributeField": { "type": "string", @@ -8030,7 +8104,7 @@ "documentation": "

Information about the JSON token type configuration.

" } }, - "documentation": "

Provides configuration information for a token configuration.

" + "documentation": "

Provides the configuration information for a token.

" }, "UserTokenConfigurationList": { "type": "list", @@ -8135,11 +8209,11 @@ }, "ProxyConfiguration": { "shape": "ProxyConfiguration", - "documentation": "

Provides configuration information required to connect to your internal websites via a web proxy.

You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is \"a.example.com\" and the port is 443, the standard port for HTTPS.

Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication. To store web proxy credentials, you use a secret in Secrets Manager.

" + "documentation": "

Configuration information required to connect to your internal websites via a web proxy.

You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is \"a.example.com\" and the port is 443, the standard port for HTTPS.

Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication. To store web proxy credentials, you use a secret in Secrets Manager.

" }, "AuthenticationConfiguration": { "shape": "AuthenticationConfiguration", - "documentation": "

Provides configuration information required to connect to websites using authentication.

You can connect to websites using basic authentication of user name and password.

You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is \"a.example.com\" and the port is 443, the standard port for HTTPS. You use a secret in Secrets Manager to store your authentication credentials.

" + "documentation": "

Configuration information required to connect to websites using authentication.

You can connect to websites using basic authentication of user name and password.

You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is \"a.example.com\" and the port is 443, the standard port for HTTPS. You use a secret in Secrets Manager to store your authentication credentials.

" } }, "documentation": "

Provides the configuration information required for Amazon Kendra Web Crawler.

" diff --git a/apis/timestream-query-2018-11-01.normal.json b/apis/timestream-query-2018-11-01.normal.json index 429379e49d..80a2dd179f 100644 --- a/apis/timestream-query-2018-11-01.normal.json +++ b/apis/timestream-query-2018-11-01.normal.json @@ -43,7 +43,7 @@ "shape": "InvalidEndpointException" } ], - "documentation": "

Cancels a query that has been issued. Cancellation is provided only if the query has not completed running before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent cancellation requests will return a CancellationMessage, indicating that the query has already been canceled. See code sample for details.

", + "documentation": "

Cancels a query that has been issued. Cancellation is provided only if the query has not completed running before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent cancellation requests will return a CancellationMessage, indicating that the query has already been canceled. See code sample for details.

", "endpointdiscovery": { "required": true }, @@ -148,7 +148,7 @@ "shape": "ThrottlingException" } ], - "documentation": "

DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.

Because the Timestream SDKs are designed to transparently work with the service’s architecture, including the management and mapping of the service endpoints, it is not recommended that you use this API unless:

For detailed information on how and when to use and implement DescribeEndpoints, see The Endpoint Discovery Pattern.

", + "documentation": "

DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.

Because the Timestream SDKs are designed to transparently work with the service’s architecture, including the management and mapping of the service endpoints, it is not recommended that you use this API unless:

For detailed information on how and when to use and implement DescribeEndpoints, see The Endpoint Discovery Pattern.

", "endpointoperation": true }, "DescribeScheduledQuery": { @@ -358,7 +358,7 @@ "shape": "InvalidEndpointException" } ], - "documentation": "

Query is a synchronous operation that enables you to run a query against your Amazon Timestream data. Query will time out after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. See the code sample for details.

Your query request will fail in the following cases:

", + "documentation": "

Query is a synchronous operation that enables you to run a query against your Amazon Timestream data. Query will time out after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. See the code sample for details.

Your query request will fail in the following cases:

", "endpointdiscovery": { "required": true }, diff --git a/clients/appflow.d.ts b/clients/appflow.d.ts index 80190af4fd..c0d0d9e4f3 100644 --- a/clients/appflow.d.ts +++ b/clients/appflow.d.ts @@ -1406,6 +1406,10 @@ declare namespace Appflow { * The properties required to query Zendesk. */ Zendesk?: ZendeskDestinationProperties; + /** + * The properties required to query Marketo. + */ + Marketo?: MarketoDestinationProperties; /** * The properties that are required to query the custom Connector. */ @@ -1908,6 +1912,13 @@ declare namespace Appflow { */ instanceUrl: InstanceUrl; } + export interface MarketoDestinationProperties { + /** + * The object specified in the Marketo flow destination. + */ + object: Object; + errorHandlingConfig?: ErrorHandlingConfig; + } export interface MarketoMetadata { } export interface MarketoSourceProperties { diff --git a/clients/fsx.d.ts b/clients/fsx.d.ts index e9b6844098..1c55bba612 100644 --- a/clients/fsx.d.ts +++ b/clients/fsx.d.ts @@ -92,11 +92,11 @@ declare class FSx extends Service { */ createStorageVirtualMachine(callback?: (err: AWSError, data: FSx.Types.CreateStorageVirtualMachineResponse) => void): Request; /** - * Creates an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS storage volume. + * Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume. */ createVolume(params: FSx.Types.CreateVolumeRequest, callback?: (err: AWSError, data: FSx.Types.CreateVolumeResponse) => void): Request; /** - * Creates an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS storage volume. + * Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume. */ createVolume(callback?: (err: AWSError, data: FSx.Types.CreateVolumeResponse) => void): Request; /** @@ -548,7 +548,7 @@ declare namespace FSx { export interface CreateDataRepositoryAssociationRequest { FileSystemId: FileSystemId; /** - * A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. + * A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. If you specify only a forward slash (/) as the file system path, you can link only 1 data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system. */ FileSystemPath: Namespace; /** @@ -664,7 +664,7 @@ declare namespace FSx { */ DeploymentType?: LustreDeploymentType; /** - * (Optional) Available with Scratch and Persistent_1 deployment types. When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values: NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the linked S3 bucket when the file system is created. FSx does not update file and directory listings for any new or changed objects after choosing this option. NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added to the linked S3 bucket that do not currently exist in the FSx file system. NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose this option. NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any objects that were deleted in the S3 bucket. For more information, see Automatically import updates from your S3 bucket. This parameter is not supported for file systems with the Persistent_2 deployment type. Instead, use CreateDataRepositoryAssociation" to create a data repository association to link your Lustre file system to a data repository. + * (Optional) Available with Scratch and Persistent_1 deployment types. When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values: NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the linked S3 bucket when the file system is created. FSx does not update file and directory listings for any new or changed objects after choosing this option. NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added to the linked S3 bucket that do not currently exist in the FSx file system. NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose this option. NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any objects that were deleted in the S3 bucket. For more information, see Automatically import updates from your S3 bucket. This parameter is not supported for file systems with the Persistent_2 deployment type. Instead, use CreateDataRepositoryAssociation to create a data repository association to link your Lustre file system to a data repository. */ AutoImportPolicy?: AutoImportPolicyType; /** @@ -698,7 +698,7 @@ declare namespace FSx { */ DeploymentType: OntapDeploymentType; /** - * Specifies the IP address range in which the endpoints to access your file system will be created. By default, Amazon FSx selects an unused IP address range for you from the 198.19.* range. + * Specifies the IP address range in which the endpoints to access your file system will be created. By default, Amazon FSx selects an unused IP address range for you from the 198.19.* range. The Endpoint IP address range you select for your file system must exist outside the VPC's CIDR range and must be at least /30 or larger. */ EndpointIpAddressRange?: IpAddressRange; /** @@ -735,7 +735,7 @@ declare namespace FSx { CopyTagsToVolumes?: Flag; DailyAutomaticBackupStartTime?: DailyTime; /** - * Specifies the file system deployment type. Amazon FSx for OpenZFS supports SINGLE_AZ_1. SINGLE_AZ_1 is a file system configured for a single Availability Zone (AZ) of redundancy. + * Specifies the file system deployment type. Amazon FSx for OpenZFS supports SINGLE_AZ_1. SINGLE_AZ_1 deployment type is configured for redundancy within a single Availability Zone. */ DeploymentType: OpenZFSDeploymentType; /** @@ -875,23 +875,23 @@ declare namespace FSx { } export interface CreateOpenZFSVolumeConfiguration { /** - * The ID of the volume to use as the parent volume. + * The ID of the volume to use as the parent volume of the volume that you are creating. */ ParentVolumeId: VolumeId; /** - * The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage than the parent volume has reserved. To not specify a storage capacity reservation, set this to -1. + * Specifies the amount of storage in gibibytes (GiB) to reserve from the parent volume. Setting StorageCapacityReservationGiB guarantees that the specified amount of storage space on the parent volume will always be available for the volume. You can't reserve more storage than the parent volume has. To not specify a storage capacity reservation, set this to 0 or -1. For more information, see Volume properties in the Amazon FSx for OpenZFS User Guide. */ StorageCapacityReservationGiB?: IntegerNoMaxFromNegativeOne; /** - * The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can't specify a quota larger than the storage on the parent volume. To not specify a storage capacity quota, set this to -1. + * Sets the maximum storage size in gibibytes (GiB) for the volume. You can specify a quota that is larger than the storage on the parent volume. A volume quota limits the amount of storage that the volume can consume to the configured amount, but does not guarantee the space will be available on the parent volume. To guarantee quota space, you must also set StorageCapacityReservationGiB. To not specify a storage capacity quota, set this to -1. For more information, see Volume properties in the Amazon FSx for OpenZFS User Guide. */ StorageCapacityQuotaGiB?: IntegerNoMaxFromNegativeOne; /** - * Specifies the record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For additional guidance on when to set a custom record size, see Tips for maximizing performance in the Amazon FSx for OpenZFS User Guide. + * Specifies the suggested block size for a volume in a ZFS dataset, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. We recommend using the default setting for the majority of use cases. Generally, workloads that write in fixed small or large record sizes may benefit from setting a custom record size, like database workloads (small record size) or media streaming workloads (large record size). For additional guidance on when to set a custom record size, see ZFS Record size in the Amazon FSx for OpenZFS User Guide. */ RecordSizeKiB?: IntegerRecordSizeKiB; /** - * Specifies the method used to compress the data on the volume. The compression type is NONE by default. NONE - Doesn't compress the data on the volume. NONE is the default. ZSTD - Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. Compared to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization. LZ4 - Compresses the data in the volume using the LZ4 compression algorithm. Compared to Z-Standard, LZ4 is less compute-intensive and delivers higher write throughput speeds. + * Specifies the method used to compress the data on the volume. The compression type is NONE by default. NONE - Doesn't compress the data on the volume. NONE is the default. ZSTD - Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. ZSTD compression provides a higher level of data compression and higher read throughput performance than LZ4 compression. LZ4 - Compresses the data in the volume using the LZ4 compression algorithm. LZ4 compression provides a lower level of compression and higher write throughput performance than ZSTD compression. For more information about volume compression types and the performance of your Amazon FSx for OpenZFS file system, see Tips for maximizing performance File system and volume settings in the Amazon FSx for OpenZFS User Guide. */ DataCompressionType?: OpenZFSDataCompressionType; /** @@ -1029,7 +1029,7 @@ declare namespace FSx { Lifecycle?: DataRepositoryLifecycle; FailureDetails?: DataRepositoryFailureDetails; /** - * A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. + * A path on the file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. If you specify only a forward slash (/) as the file system path, you can link only 1 data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system. */ FileSystemPath?: Namespace; /** @@ -1834,7 +1834,7 @@ declare namespace FSx { */ DeploymentType?: OntapDeploymentType; /** - * The IP address range in which the endpoints to access your file system are created. + * The IP address range in which the endpoints to access your file system are created. The Endpoint IP address range you select for your file system must exist outside the VPC's CIDR range and must be at least /30 or larger. If you do not specify this optional parameter, Amazon FSx will automatically select a CIDR block for you. */ EndpointIpAddressRange?: IpAddressRange; /** diff --git a/clients/greengrassv2.d.ts b/clients/greengrassv2.d.ts index b9ec50e8ed..6ca70296b1 100644 --- a/clients/greengrassv2.d.ts +++ b/clients/greengrassv2.d.ts @@ -52,11 +52,11 @@ declare class GreengrassV2 extends Service { */ createComponentVersion(callback?: (err: AWSError, data: GreengrassV2.Types.CreateComponentVersionResponse) => void): Request; /** - * Creates a continuous deployment for a target, which is a Greengrass core device or group of core devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass deploys that group's deployment to the new device. You can define one deployment for each target. When you create a new deployment for a target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the new deployment to the target devices. Every deployment has a revision number that indicates how many deployment revisions you define for a target. Use this operation to create a new revision of an existing deployment. This operation returns the revision number of the new deployment when you create it. For more information, see the Create deployments in the IoT Greengrass V2 Developer Guide. + * Creates a continuous deployment for a target, which is a Greengrass core device or group of core devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass deploys that group's deployment to the new device. You can define one deployment for each target. When you create a new deployment for a target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the new deployment to the target devices. Every deployment has a revision number that indicates how many deployment revisions you define for a target. Use this operation to create a new revision of an existing deployment. For more information, see the Create deployments in the IoT Greengrass V2 Developer Guide. */ createDeployment(params: GreengrassV2.Types.CreateDeploymentRequest, callback?: (err: AWSError, data: GreengrassV2.Types.CreateDeploymentResponse) => void): Request; /** - * Creates a continuous deployment for a target, which is a Greengrass core device or group of core devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass deploys that group's deployment to the new device. You can define one deployment for each target. When you create a new deployment for a target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the new deployment to the target devices. Every deployment has a revision number that indicates how many deployment revisions you define for a target. Use this operation to create a new revision of an existing deployment. This operation returns the revision number of the new deployment when you create it. For more information, see the Create deployments in the IoT Greengrass V2 Developer Guide. + * Creates a continuous deployment for a target, which is a Greengrass core device or group of core devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass deploys that group's deployment to the new device. You can define one deployment for each target. When you create a new deployment for a target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the new deployment to the target devices. Every deployment has a revision number that indicates how many deployment revisions you define for a target. Use this operation to create a new revision of an existing deployment. For more information, see the Create deployments in the IoT Greengrass V2 Developer Guide. */ createDeployment(callback?: (err: AWSError, data: GreengrassV2.Types.CreateDeploymentResponse) => void): Request; /** @@ -108,11 +108,11 @@ declare class GreengrassV2 extends Service { */ getComponentVersionArtifact(callback?: (err: AWSError, data: GreengrassV2.Types.GetComponentVersionArtifactResponse) => void): Request; /** - * Retrieves connectivity information for a Greengrass core device. Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide. + * Retrieves connectivity information for a Greengrass core device. Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide. */ getConnectivityInfo(params: GreengrassV2.Types.GetConnectivityInfoRequest, callback?: (err: AWSError, data: GreengrassV2.Types.GetConnectivityInfoResponse) => void): Request; /** - * Retrieves connectivity information for a Greengrass core device. Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide. + * Retrieves connectivity information for a Greengrass core device. Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide. */ getConnectivityInfo(callback?: (err: AWSError, data: GreengrassV2.Types.GetConnectivityInfoResponse) => void): Request; /** @@ -228,11 +228,11 @@ declare class GreengrassV2 extends Service { */ untagResource(callback?: (err: AWSError, data: GreengrassV2.Types.UntagResourceResponse) => void): Request; /** - * Updates connectivity information for a Greengrass core device. Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide. + * Updates connectivity information for a Greengrass core device. Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide. */ updateConnectivityInfo(params: GreengrassV2.Types.UpdateConnectivityInfoRequest, callback?: (err: AWSError, data: GreengrassV2.Types.UpdateConnectivityInfoResponse) => void): Request; /** - * Updates connectivity information for a Greengrass core device. Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide. + * Updates connectivity information for a Greengrass core device. Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide. */ updateConnectivityInfo(callback?: (err: AWSError, data: GreengrassV2.Types.UpdateConnectivityInfoResponse) => void): Request; } diff --git a/clients/kendra.d.ts b/clients/kendra.d.ts index 78c2f5bf38..794a5f72cf 100644 --- a/clients/kendra.d.ts +++ b/clients/kendra.d.ts @@ -946,6 +946,25 @@ declare namespace Kendra { DirectPutContent?: Boolean; } export type ContentType = "PDF"|"HTML"|"MS_WORD"|"PLAIN_TEXT"|"PPT"|string; + export interface Correction { + /** + * The zero-based location in the response string or text where the corrected word starts. + */ + BeginOffset?: Integer; + /** + * The zero-based location in the response string or text where the corrected word ends. + */ + EndOffset?: Integer; + /** + * The string or text of a misspelled word in a query. + */ + Term?: String; + /** + * The string or text of a corrected misspelled word in a query. + */ + CorrectedTerm?: String; + } + export type CorrectionList = Correction[]; export type CrawlDepth = number; export interface CreateDataSourceRequest { /** @@ -961,7 +980,7 @@ declare namespace Kendra { */ Type: DataSourceType; /** - * The connector configuration information that is required to access the repository. You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception. The Configuration parameter is required for all other data sources. + * Configuration information that is required to access the data source repository. You can't specify the Configuration parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception. The Configuration parameter is required for all other data sources. */ Configuration?: DataSourceConfiguration; /** @@ -1013,7 +1032,7 @@ declare namespace Kendra { */ RoleArn?: RoleArn; /** - * Provides the configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience. + * Configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, which specifies the user or group information to grant access to your Amazon Kendra experience. */ Configuration?: ExperienceConfiguration; /** @@ -1215,27 +1234,27 @@ declare namespace Kendra { } export interface DataSourceConfiguration { /** - * Provides information to create a data source connector for a document repository in an Amazon S3 bucket. + * Provides the configuration information to connect to an Amazon S3 bucket as your data source. */ S3Configuration?: S3DataSourceConfiguration; /** - * Provides information necessary to create a data source connector for a Microsoft SharePoint site. + * Provides the configuration information to connect to Microsoft SharePoint as your data source. */ SharePointConfiguration?: SharePointConfiguration; /** - * Provides information necessary to create a data source connector for a database. + * Provides the configuration information to connect to a database as your data source. */ DatabaseConfiguration?: DatabaseConfiguration; /** - * Provides configuration information for data sources that connect to a Salesforce site. + * Provides the configuration information to connect to Salesforce as your data source. */ SalesforceConfiguration?: SalesforceConfiguration; /** - * Provides configuration for data sources that connect to Microsoft OneDrive. + * Provides the configuration information to connect to Microsoft OneDrive as your data source. */ OneDriveConfiguration?: OneDriveConfiguration; /** - * Provides configuration for data sources that connect to ServiceNow instances. + * Provides the configuration information to connect to ServiceNow as your data source. */ ServiceNowConfiguration?: ServiceNowConfiguration; /** @@ -1243,7 +1262,7 @@ declare namespace Kendra { */ ConfluenceConfiguration?: ConfluenceConfiguration; /** - * Provides configuration for data sources that connect to Google Drive. + * Provides the configuration information to connect to Google Drive as your data source. */ GoogleDriveConfiguration?: GoogleDriveConfiguration; WebCrawlerConfiguration?: WebCrawlerConfiguration; @@ -1407,7 +1426,7 @@ declare namespace Kendra { */ DatabaseEngineType: DatabaseEngineType; /** - * The information necessary to connect to a database. + * Configuration information that's required to connect to a database. */ ConnectionConfiguration: ConnectionConfiguration; VpcConfiguration?: DataSourceVpcConfiguration; @@ -1532,7 +1551,7 @@ declare namespace Kendra { */ Type?: DataSourceType; /** - * Information that describes where the data source is located and how the data source is configured. The specific information in the description depends on the data source provider. + * Describes how the data source is configured. The specific information in the description depends on the data source provider. */ Configuration?: DataSourceConfiguration; /** @@ -2355,11 +2374,11 @@ declare namespace Kendra { */ FileSystemType: FsxFileSystemType; /** - * Provides the configuration information for connecting to an Amazon Virtual Private Cloud for your Amazon FSx. Your Amazon FSx instance must reside inside your VPC. + * Configuration information for connecting to an Amazon Virtual Private Cloud for your Amazon FSx. Your Amazon FSx instance must reside inside your VPC. */ VpcConfiguration: DataSourceVpcConfiguration; /** - * The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys: username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows. password—The password of the active directory user with read and mounting access Amazon FSx Windows file system. + * The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys: username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows. password—The password of the Active Directory user account with read and mounting access to the Amazon FSx Windows file system. */ SecretArn?: SecretArn; /** @@ -2371,7 +2390,7 @@ declare namespace Kendra { */ ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; /** - * A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names in Amazon Kendra. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata. + * A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata. */ FieldMappings?: DataSourceToIndexFieldMappingList; } @@ -2875,7 +2894,7 @@ declare namespace Kendra { } export interface ListIndicesResponse { /** - * An array of summary information for one or more indexes. + * An array of summary information on the configuration of one or more indexes. */ IndexConfigurationSummaryItems?: IndexConfigurationSummaryList; /** @@ -3164,6 +3183,10 @@ declare namespace Kendra { * Provides an identifier for a specific user. The VisitorId should be a unique identifier, such as a GUID. Don't use personally identifiable information, such as the user's email address, as the VisitorId. */ VisitorId?: VisitorId; + /** + * Enables suggested spell corrections for queries. + */ + SpellCorrectionConfiguration?: SpellCorrectionConfiguration; } export interface QueryResult { /** @@ -3186,6 +3209,10 @@ declare namespace Kendra { * A list of warning codes and their messages on problems with your query. Amazon Kendra currently only supports one type of warning, which is a warning on invalid syntax used in the query. For examples of invalid query syntax, see Searching with advanced query syntax. */ Warnings?: WarningList; + /** + * A list of information related to suggested spell corrections for a query. + */ + SpellCorrectedQueries?: SpellCorrectedQueryList; } export interface QueryResultItem { /** @@ -3382,7 +3409,7 @@ declare namespace Kendra { */ CrawlAttachments?: Boolean; /** - * Provides configuration information for processing attachments to Salesforce standard objects. + * Configuration information for processing attachments to Salesforce standard objects. */ StandardObjectAttachmentConfiguration?: SalesforceStandardObjectAttachmentConfiguration; /** @@ -3420,11 +3447,11 @@ declare namespace Kendra { */ IncludedStates: SalesforceKnowledgeArticleStateList; /** - * Provides configuration information for standard Salesforce knowledge articles. + * Configuration information for standard Salesforce knowledge articles. */ StandardKnowledgeArticleTypeConfiguration?: SalesforceStandardKnowledgeArticleTypeConfiguration; /** - * Provides configuration information for custom Salesforce knowledge articles. + * Configuration information for custom Salesforce knowledge articles. */ CustomKnowledgeArticleTypeConfigurations?: SalesforceCustomKnowledgeArticleTypeConfigurationList; } @@ -3536,11 +3563,11 @@ declare namespace Kendra { */ ServiceNowBuildVersion: ServiceNowBuildVersionType; /** - * Provides configuration information for crawling knowledge articles in the ServiceNow site. + * Configuration information for crawling knowledge articles in the ServiceNow site. */ KnowledgeArticleConfiguration?: ServiceNowKnowledgeArticleConfiguration; /** - * Provides configuration information for crawling service catalogs in the ServiceNow site. + * Configuration information for crawling service catalogs in the ServiceNow site. */ ServiceCatalogConfiguration?: ServiceNowServiceCatalogConfiguration; /** @@ -3675,6 +3702,23 @@ declare namespace Kendra { */ SortOrder: SortOrder; } + export interface SpellCorrectedQuery { + /** + * The query with the suggested spell corrections. + */ + SuggestedQueryText?: SuggestedQueryText; + /** + * The corrected misspelled word or words in a query. + */ + Corrections?: CorrectionList; + } + export type SpellCorrectedQueryList = SpellCorrectedQuery[]; + export interface SpellCorrectionConfiguration { + /** + * TRUE to suggest spell corrections for queries. + */ + IncludeQuerySpellCheckSuggestions: Boolean; + } export interface SqlConfiguration { /** * Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when making a database query. By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes. PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case. For MySQL databases, you must enable the ansi_quotes option when you set this field to DOUBLE_QUOTES. @@ -3747,6 +3791,7 @@ declare namespace Kendra { } export type SubnetId = string; export type SubnetIdList = SubnetId[]; + export type SuggestedQueryText = string; export interface Suggestion { /** * The unique UUID (universally unique identifier) of a single query suggestion. @@ -3899,7 +3944,7 @@ declare namespace Kendra { */ IndexId: IndexId; /** - * Configuration information for an Amazon Kendra data source. + * Configuration information for an Amazon Kendra data source you want to update. */ Configuration?: DataSourceConfiguration; /** @@ -3941,7 +3986,7 @@ declare namespace Kendra { */ RoleArn?: RoleArn; /** - * Provides the user configuration information. This includes the Amazon Web Services SSO field name that contains the identifiers of your users, such as their emails. + * Configuration information for your Amazon Kendra you want to update. */ Configuration?: ExperienceConfiguration; /** @@ -3967,7 +4012,7 @@ declare namespace Kendra { */ Description?: Description; /** - * The document metadata to update. + * The document metadata you want to update. */ DocumentMetadataConfigurationUpdates?: DocumentMetadataConfigurationList; /** @@ -4065,11 +4110,11 @@ declare namespace Kendra { export type Url = string; export interface Urls { /** - * Provides the configuration of the seed or starting point URLs of the websites you want to crawl. You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the webpages link to. You can list up to 100 seed URLs. + * Configuration of the seed or starting point URLs of the websites you want to crawl. You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the webpages link to. You can list up to 100 seed URLs. */ SeedUrlConfiguration?: SeedUrlConfiguration; /** - * Provides the configuration of the sitemap URLs of the websites you want to crawl. Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs. + * Configuration of the sitemap URLs of the websites you want to crawl. Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs. */ SiteMapsConfiguration?: SiteMapsConfiguration; } @@ -4166,11 +4211,11 @@ declare namespace Kendra { */ UrlExclusionPatterns?: DataSourceInclusionsExclusionsStrings; /** - * Provides configuration information required to connect to your internal websites via a web proxy. You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS. Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication. To store web proxy credentials, you use a secret in Secrets Manager. + * Configuration information required to connect to your internal websites via a web proxy. You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS. Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication. To store web proxy credentials, you use a secret in Secrets Manager. */ ProxyConfiguration?: ProxyConfiguration; /** - * Provides configuration information required to connect to websites using authentication. You can connect to websites using basic authentication of user name and password. You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS. You use a secret in Secrets Manager to store your authentication credentials. + * Configuration information required to connect to websites using authentication. You can connect to websites using basic authentication of user name and password. You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS. You use a secret in Secrets Manager to store your authentication credentials. */ AuthenticationConfiguration?: AuthenticationConfiguration; } diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index 30540d02b6..3485511bd8 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.1085.0', + VERSION: '2.1086.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 48fa1d5aae..64a698c7ac 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.1085.0', + VERSION: '2.1086.0', /** * @api private @@ -52477,7 +52477,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 849 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-02-03","endpointPrefix":"kendra","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"kendra","serviceFullName":"AWSKendraFrontendService","serviceId":"kendra","signatureVersion":"v4","signingName":"kendra","targetPrefix":"AWSKendraFrontendService","uid":"kendra-2019-02-03"},"operations":{"AssociateEntitiesToExperience":{"input":{"type":"structure","required":["Id","IndexId","EntityList"],"members":{"Id":{},"IndexId":{},"EntityList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"FailedEntityList":{"type":"list","member":{"shape":"Sa"}}}}},"AssociatePersonasToEntities":{"input":{"type":"structure","required":["Id","IndexId","Personas"],"members":{"Id":{},"IndexId":{},"Personas":{"type":"list","member":{"type":"structure","required":["EntityId","Persona"],"members":{"EntityId":{},"Persona":{}}}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"BatchDeleteDocument":{"input":{"type":"structure","required":["IndexId","DocumentIdList"],"members":{"IndexId":{},"DocumentIdList":{"type":"list","member":{}},"DataSourceSyncJobMetricTarget":{"type":"structure","required":["DataSourceId"],"members":{"DataSourceId":{},"DataSourceSyncJobId":{}}}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"BatchGetDocumentStatus":{"input":{"type":"structure","required":["IndexId","DocumentInfoList"],"members":{"IndexId":{},"DocumentInfoList":{"type":"list","member":{"type":"structure","required":["DocumentId"],"members":{"DocumentId":{},"Attributes":{"shape":"Sv"}}}}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"DocumentId":{},"ErrorCode":{},"ErrorMessage":{}}}},"DocumentStatusList":{"type":"list","member":{"type":"structure","members":{"DocumentId":{},"DocumentStatus":{},"FailureCode":{},"FailureReason":{}}}}}}},"BatchPutDocument":{"input":{"type":"structure","required":["IndexId","Documents"],"members":{"IndexId":{},"RoleArn":{},"Documents":{"type":"list","member":{"type":"structure","required":["Id"],"members":{"Id":{},"Title":{},"Blob":{"type":"blob"},"S3Path":{"shape":"S1g"},"Attributes":{"shape":"Sv"},"AccessControlList":{"shape":"S1j"},"HierarchicalAccessControlList":{"type":"list","member":{"type":"structure","required":["PrincipalList"],"members":{"PrincipalList":{"shape":"S1j"}}}},"ContentType":{}}}},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"ClearQuerySuggestions":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{}}}},"CreateDataSource":{"input":{"type":"structure","required":["Name","IndexId","Type"],"members":{"Name":{},"IndexId":{},"Type":{},"Configuration":{"shape":"S27"},"Description":{},"Schedule":{},"RoleArn":{},"Tags":{"shape":"S5d"},"ClientToken":{"idempotencyToken":true},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}},"output":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"CreateExperience":{"input":{"type":"structure","required":["Name","IndexId"],"members":{"Name":{},"IndexId":{},"RoleArn":{},"Configuration":{"shape":"S5m"},"Description":{},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"CreateFaq":{"input":{"type":"structure","required":["IndexId","Name","S3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"S3Path":{"shape":"S1g"},"RoleArn":{},"Tags":{"shape":"S5d"},"FileFormat":{},"ClientToken":{"idempotencyToken":true},"LanguageCode":{}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateIndex":{"input":{"type":"structure","required":["Name","RoleArn"],"members":{"Name":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S61"},"Description":{},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S5d"},"UserTokenConfigurations":{"shape":"S63"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6d"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Name","SourceS3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S1g"},"ClientToken":{"idempotencyToken":true},"RoleArn":{},"Tags":{"shape":"S5d"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateThesaurus":{"input":{"type":"structure","required":["IndexId","Name","RoleArn","SourceS3Path"],"members":{"IndexId":{},"Name":{},"Description":{},"RoleArn":{},"Tags":{"shape":"S5d"},"SourceS3Path":{"shape":"S1g"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"DeleteDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{}}},"DeleteFaq":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"DeletePrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"OrderingId":{"type":"long"}}}},"DeleteQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{}}}},"DeleteThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DescribeDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Type":{},"Configuration":{"shape":"S27"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"Schedule":{},"RoleArn":{},"ErrorMessage":{},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}}},"DescribeExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Endpoints":{"shape":"S73"},"Configuration":{"shape":"S5m"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"RoleArn":{},"ErrorMessage":{}}}},"DescribeFaq":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"S3Path":{"shape":"S1g"},"Status":{},"RoleArn":{},"ErrorMessage":{},"FileFormat":{},"LanguageCode":{}}}},"DescribeIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}},"output":{"type":"structure","members":{"Name":{},"Id":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S61"},"Status":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"DocumentMetadataConfigurations":{"shape":"S7e"},"IndexStatistics":{"type":"structure","required":["FaqStatistics","TextDocumentStatistics"],"members":{"FaqStatistics":{"type":"structure","required":["IndexedQuestionAnswersCount"],"members":{"IndexedQuestionAnswersCount":{"type":"integer"}}},"TextDocumentStatistics":{"type":"structure","required":["IndexedTextDocumentsCount","IndexedTextBytes"],"members":{"IndexedTextDocumentsCount":{"type":"integer"},"IndexedTextBytes":{"type":"long"}}}}},"ErrorMessage":{},"CapacityUnits":{"shape":"S7w"},"UserTokenConfigurations":{"shape":"S63"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6d"}}}},"DescribePrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{}}},"output":{"type":"structure","members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"GroupOrderingIdSummaries":{"type":"list","member":{"type":"structure","members":{"Status":{},"LastUpdatedAt":{"type":"timestamp"},"ReceivedAt":{"type":"timestamp"},"OrderingId":{"type":"long"},"FailureReason":{}}}}}}},"DescribeQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{}}},"output":{"type":"structure","members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"Status":{},"ErrorMessage":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"SourceS3Path":{"shape":"S1g"},"ItemCount":{"type":"integer"},"FileSizeBytes":{"type":"long"},"RoleArn":{}}}},"DescribeQuerySuggestionsConfig":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{}}},"output":{"type":"structure","members":{"Mode":{},"Status":{},"QueryLogLookBackWindowInDays":{"type":"integer"},"IncludeQueriesWithoutUserInformation":{"type":"boolean"},"MinimumNumberOfQueryingUsers":{"type":"integer"},"MinimumQueryCount":{"type":"integer"},"LastSuggestionsBuildTime":{"type":"timestamp"},"LastClearTime":{"type":"timestamp"},"TotalSuggestionsCount":{"type":"integer"}}}},"DescribeThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Description":{},"Status":{},"ErrorMessage":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"RoleArn":{},"SourceS3Path":{"shape":"S1g"},"FileSizeBytes":{"type":"long"},"TermCount":{"type":"long"},"SynonymRuleCount":{"type":"long"}}}},"DisassociateEntitiesFromExperience":{"input":{"type":"structure","required":["Id","IndexId","EntityList"],"members":{"Id":{},"IndexId":{},"EntityList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"DisassociatePersonasFromEntities":{"input":{"type":"structure","required":["Id","IndexId","EntityIds"],"members":{"Id":{},"IndexId":{},"EntityIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"GetQuerySuggestions":{"input":{"type":"structure","required":["IndexId","QueryText"],"members":{"IndexId":{},"QueryText":{},"MaxSuggestionsCount":{"type":"integer"}}},"output":{"type":"structure","members":{"QuerySuggestionsId":{},"Suggestions":{"type":"list","member":{"type":"structure","members":{"Id":{},"Value":{"type":"structure","members":{"Text":{"type":"structure","members":{"Text":{},"Highlights":{"type":"list","member":{"type":"structure","members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}}}}}}}}}}}},"GetSnapshots":{"input":{"type":"structure","required":["IndexId","Interval","MetricType"],"members":{"IndexId":{},"Interval":{},"MetricType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SnapShotTimeFilter":{"shape":"S95"},"SnapshotsDataHeader":{"type":"list","member":{}},"SnapshotsData":{"type":"list","member":{"type":"list","member":{}}},"NextToken":{}}}},"ListDataSourceSyncJobs":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"},"StartTimeFilter":{"shape":"S95"},"StatusFilter":{}}},"output":{"type":"structure","members":{"History":{"type":"list","member":{"type":"structure","members":{"ExecutionId":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Status":{},"ErrorMessage":{},"ErrorCode":{},"DataSourceErrorCode":{},"Metrics":{"type":"structure","members":{"DocumentsAdded":{},"DocumentsModified":{},"DocumentsDeleted":{},"DocumentsFailed":{},"DocumentsScanned":{}}}}}},"NextToken":{}}}},"ListDataSources":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"Type":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{},"LanguageCode":{}}}},"NextToken":{}}}},"ListEntityPersonas":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"EntityId":{},"Persona":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"ListExperienceEntities":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"EntityId":{},"EntityType":{},"DisplayData":{"type":"structure","members":{"UserName":{"shape":"S9w"},"GroupName":{"shape":"S9w"},"IdentifiedUserName":{"shape":"S9w"},"FirstName":{"shape":"S9w"},"LastName":{"shape":"S9w"}}}}}},"NextToken":{}}}},"ListExperiences":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"CreatedAt":{"type":"timestamp"},"Status":{},"Endpoints":{"shape":"S73"}}}},"NextToken":{}}}},"ListFaqs":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"FaqSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"FileFormat":{},"LanguageCode":{}}}}}}},"ListGroupsOlderThanOrderingId":{"input":{"type":"structure","required":["IndexId","OrderingId"],"members":{"IndexId":{},"DataSourceId":{},"OrderingId":{"type":"long"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"GroupsSummaries":{"type":"list","member":{"type":"structure","members":{"GroupId":{},"OrderingId":{"type":"long"}}}},"NextToken":{}}}},"ListIndices":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"IndexConfigurationSummaryItems":{"type":"list","member":{"type":"structure","required":["CreatedAt","UpdatedAt","Status"],"members":{"Name":{},"Id":{},"Edition":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{}}}},"NextToken":{}}}},"ListQuerySuggestionsBlockLists":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"BlockListSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"ItemCount":{"type":"integer"}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S5d"}}}},"ListThesauri":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"ThesaurusSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}}}}},"PutPrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId","GroupMembers"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"GroupMembers":{"type":"structure","members":{"MemberGroups":{"type":"list","member":{"type":"structure","required":["GroupId"],"members":{"GroupId":{},"DataSourceId":{}}}},"MemberUsers":{"type":"list","member":{"type":"structure","required":["UserId"],"members":{"UserId":{}}}},"S3PathforGroupMembers":{"shape":"S1g"}}},"OrderingId":{"type":"long"},"RoleArn":{}}}},"Query":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"QueryText":{},"AttributeFilter":{"shape":"Sb3"},"Facets":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{}}}},"RequestedDocumentAttributes":{"type":"list","member":{}},"QueryResultTypeFilter":{},"DocumentRelevanceOverrideConfigurations":{"type":"list","member":{"type":"structure","required":["Name","Relevance"],"members":{"Name":{},"Relevance":{"shape":"S7i"}}}},"PageNumber":{"type":"integer"},"PageSize":{"type":"integer"},"SortingConfiguration":{"type":"structure","required":["DocumentAttributeKey","SortOrder"],"members":{"DocumentAttributeKey":{},"SortOrder":{}}},"UserContext":{"type":"structure","members":{"Token":{},"UserId":{},"Groups":{"type":"list","member":{}},"DataSourceGroups":{"type":"list","member":{"type":"structure","required":["GroupId","DataSourceId"],"members":{"GroupId":{},"DataSourceId":{}}}}}},"VisitorId":{}}},"output":{"type":"structure","members":{"QueryId":{},"ResultItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Type":{},"AdditionalAttributes":{"type":"list","member":{"type":"structure","required":["Key","ValueType","Value"],"members":{"Key":{},"ValueType":{},"Value":{"type":"structure","members":{"TextWithHighlightsValue":{"shape":"Sbr"}}}}}},"DocumentId":{},"DocumentTitle":{"shape":"Sbr"},"DocumentExcerpt":{"shape":"Sbr"},"DocumentURI":{},"DocumentAttributes":{"shape":"Sv"},"ScoreAttributes":{"type":"structure","members":{"ScoreConfidence":{}}},"FeedbackToken":{}}}},"FacetResults":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{},"DocumentAttributeValueType":{},"DocumentAttributeValueCountPairs":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeValue":{"shape":"Sy"},"Count":{"type":"integer"}}}}}}},"TotalNumberOfResults":{"type":"integer"},"Warnings":{"type":"list","member":{"type":"structure","members":{"Message":{},"Code":{}}}}}}},"StartDataSourceSyncJob":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"ExecutionId":{}}}},"StopDataSourceSyncJob":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"SubmitFeedback":{"input":{"type":"structure","required":["IndexId","QueryId"],"members":{"IndexId":{},"QueryId":{},"ClickFeedbackItems":{"type":"list","member":{"type":"structure","required":["ResultId","ClickTime"],"members":{"ResultId":{},"ClickTime":{"type":"timestamp"}}}},"RelevanceFeedbackItems":{"type":"list","member":{"type":"structure","required":["ResultId","RelevanceValue"],"members":{"ResultId":{},"RelevanceValue":{}}}}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S5d"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"Configuration":{"shape":"S27"},"Description":{},"Schedule":{},"RoleArn":{},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}}},"UpdateExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"RoleArn":{},"Configuration":{"shape":"S5m"},"Description":{}}}},"UpdateIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{},"Name":{},"RoleArn":{},"Description":{},"DocumentMetadataConfigurationUpdates":{"shape":"S7e"},"CapacityUnits":{"shape":"S7w"},"UserTokenConfigurations":{"shape":"S63"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6d"}}}},"UpdateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S1g"},"RoleArn":{}}}},"UpdateQuerySuggestionsConfig":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"Mode":{},"QueryLogLookBackWindowInDays":{"type":"integer"},"IncludeQueriesWithoutUserInformation":{"type":"boolean"},"MinimumNumberOfQueryingUsers":{"type":"integer"},"MinimumQueryCount":{"type":"integer"}}}},"UpdateThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"Description":{},"RoleArn":{},"SourceS3Path":{"shape":"S1g"}}}}},"shapes":{"S5":{"type":"structure","required":["EntityId","EntityType"],"members":{"EntityId":{},"EntityType":{}}},"Sa":{"type":"structure","members":{"EntityId":{},"ErrorMessage":{}}},"Sh":{"type":"list","member":{"shape":"Sa"}},"Sv":{"type":"list","member":{"shape":"Sw"}},"Sw":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{"shape":"Sy"}}},"Sy":{"type":"structure","members":{"StringValue":{},"StringListValue":{"type":"list","member":{}},"LongValue":{"type":"long"},"DateValue":{"type":"timestamp"}}},"S1g":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"S1j":{"type":"list","member":{"type":"structure","required":["Name","Type","Access"],"members":{"Name":{},"Type":{},"Access":{},"DataSourceId":{}}}},"S1r":{"type":"structure","members":{"InlineConfigurations":{"type":"list","member":{"type":"structure","members":{"Condition":{"shape":"S1u"},"Target":{"type":"structure","members":{"TargetDocumentAttributeKey":{},"TargetDocumentAttributeValueDeletion":{"type":"boolean"},"TargetDocumentAttributeValue":{"shape":"Sy"}}},"DocumentContentDeletion":{"type":"boolean"}}}},"PreExtractionHookConfiguration":{"shape":"S1y"},"PostExtractionHookConfiguration":{"shape":"S1y"},"RoleArn":{}}},"S1u":{"type":"structure","required":["ConditionDocumentAttributeKey","Operator"],"members":{"ConditionDocumentAttributeKey":{},"Operator":{},"ConditionOnValue":{"shape":"Sy"}}},"S1y":{"type":"structure","required":["LambdaArn","S3Bucket"],"members":{"InvocationCondition":{"shape":"S1u"},"LambdaArn":{},"S3Bucket":{}}},"S27":{"type":"structure","members":{"S3Configuration":{"type":"structure","required":["BucketName"],"members":{"BucketName":{},"InclusionPrefixes":{"shape":"S29"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"DocumentsMetadataConfiguration":{"type":"structure","members":{"S3Prefix":{}}},"AccessControlListConfiguration":{"type":"structure","members":{"KeyPath":{}}}}},"SharePointConfiguration":{"type":"structure","required":["SharePointVersion","Urls","SecretArn"],"members":{"SharePointVersion":{},"Urls":{"type":"list","member":{}},"SecretArn":{},"CrawlAttachments":{"type":"boolean"},"UseChangeLog":{"type":"boolean"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"VpcConfiguration":{"shape":"S2i"},"FieldMappings":{"shape":"S2n"},"DocumentTitleFieldName":{},"DisableLocalGroups":{"type":"boolean"},"SslCertificateS3Path":{"shape":"S1g"}}},"DatabaseConfiguration":{"type":"structure","required":["DatabaseEngineType","ConnectionConfiguration","ColumnConfiguration"],"members":{"DatabaseEngineType":{},"ConnectionConfiguration":{"type":"structure","required":["DatabaseHost","DatabasePort","DatabaseName","TableName","SecretArn"],"members":{"DatabaseHost":{},"DatabasePort":{"type":"integer"},"DatabaseName":{},"TableName":{},"SecretArn":{}}},"VpcConfiguration":{"shape":"S2i"},"ColumnConfiguration":{"type":"structure","required":["DocumentIdColumnName","DocumentDataColumnName","ChangeDetectingColumns"],"members":{"DocumentIdColumnName":{},"DocumentDataColumnName":{},"DocumentTitleColumnName":{},"FieldMappings":{"shape":"S2n"},"ChangeDetectingColumns":{"type":"list","member":{}}}},"AclConfiguration":{"type":"structure","required":["AllowedGroupsColumnName"],"members":{"AllowedGroupsColumnName":{}}},"SqlConfiguration":{"type":"structure","members":{"QueryIdentifiersEnclosingOption":{}}}}},"SalesforceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn"],"members":{"ServerUrl":{},"SecretArn":{},"StandardObjectConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}}},"KnowledgeArticleConfiguration":{"type":"structure","required":["IncludedStates"],"members":{"IncludedStates":{"type":"list","member":{}},"StandardKnowledgeArticleTypeConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"CustomKnowledgeArticleTypeConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}}}}},"ChatterFeedConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"},"IncludeFilterTypes":{"type":"list","member":{}}}},"CrawlAttachments":{"type":"boolean"},"StandardObjectAttachmentConfiguration":{"type":"structure","members":{"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"}}},"OneDriveConfiguration":{"type":"structure","required":["TenantDomain","SecretArn","OneDriveUsers"],"members":{"TenantDomain":{},"SecretArn":{},"OneDriveUsers":{"type":"structure","members":{"OneDriveUserList":{"type":"list","member":{}},"OneDriveUserS3Path":{"shape":"S1g"}}},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"},"DisableLocalGroups":{"type":"boolean"}}},"ServiceNowConfiguration":{"type":"structure","required":["HostUrl","SecretArn","ServiceNowBuildVersion"],"members":{"HostUrl":{},"SecretArn":{},"ServiceNowBuildVersion":{},"KnowledgeArticleConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"},"FilterQuery":{}}},"ServiceCatalogConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"AuthenticationType":{}}},"ConfluenceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn","Version"],"members":{"ServerUrl":{},"SecretArn":{},"Version":{},"SpaceConfiguration":{"type":"structure","members":{"CrawlPersonalSpaces":{"type":"boolean"},"CrawlArchivedSpaces":{"type":"boolean"},"IncludeSpaces":{"shape":"S3z"},"ExcludeSpaces":{"shape":"S3z"},"SpaceFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"PageConfiguration":{"type":"structure","members":{"PageFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"BlogConfiguration":{"type":"structure","members":{"BlogFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"AttachmentConfiguration":{"type":"structure","members":{"CrawlAttachments":{"type":"boolean"},"AttachmentFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"VpcConfiguration":{"shape":"S2i"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"}}},"GoogleDriveConfiguration":{"type":"structure","required":["SecretArn"],"members":{"SecretArn":{},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"},"ExcludeMimeTypes":{"type":"list","member":{}},"ExcludeUserAccounts":{"type":"list","member":{}},"ExcludeSharedDrives":{"type":"list","member":{}}}},"WebCrawlerConfiguration":{"type":"structure","required":["Urls"],"members":{"Urls":{"type":"structure","members":{"SeedUrlConfiguration":{"type":"structure","required":["SeedUrls"],"members":{"SeedUrls":{"type":"list","member":{}},"WebCrawlerMode":{}}},"SiteMapsConfiguration":{"type":"structure","required":["SiteMaps"],"members":{"SiteMaps":{"type":"list","member":{}}}}}},"CrawlDepth":{"type":"integer"},"MaxLinksPerPage":{"type":"integer"},"MaxContentSizePerPageInMegaBytes":{"type":"float"},"MaxUrlsPerMinuteCrawlRate":{"type":"integer"},"UrlInclusionPatterns":{"shape":"S29"},"UrlExclusionPatterns":{"shape":"S29"},"ProxyConfiguration":{"type":"structure","required":["Host","Port"],"members":{"Host":{},"Port":{"type":"integer"},"Credentials":{}}},"AuthenticationConfiguration":{"type":"structure","members":{"BasicAuthentication":{"type":"list","member":{"type":"structure","required":["Host","Port","Credentials"],"members":{"Host":{},"Port":{"type":"integer"},"Credentials":{}}}}}}}},"WorkDocsConfiguration":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"CrawlComments":{"type":"boolean"},"UseChangeLog":{"type":"boolean"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"}}},"FsxConfiguration":{"type":"structure","required":["FileSystemId","FileSystemType","VpcConfiguration"],"members":{"FileSystemId":{},"FileSystemType":{},"VpcConfiguration":{"shape":"S2i"},"SecretArn":{},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"}}}}},"S29":{"type":"list","member":{}},"S2i":{"type":"structure","required":["SubnetIds","SecurityGroupIds"],"members":{"SubnetIds":{"type":"list","member":{}},"SecurityGroupIds":{"type":"list","member":{}}}},"S2n":{"type":"list","member":{"type":"structure","required":["DataSourceFieldName","IndexFieldName"],"members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}},"S3z":{"type":"list","member":{}},"S5d":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S5m":{"type":"structure","members":{"ContentSourceConfiguration":{"type":"structure","members":{"DataSourceIds":{"type":"list","member":{}},"FaqIds":{"type":"list","member":{}},"DirectPutContent":{"type":"boolean"}}},"UserIdentityConfiguration":{"type":"structure","members":{"IdentityAttributeName":{}}}}},"S61":{"type":"structure","members":{"KmsKeyId":{"type":"string","sensitive":true}}},"S63":{"type":"list","member":{"type":"structure","members":{"JwtTokenTypeConfiguration":{"type":"structure","required":["KeyLocation"],"members":{"KeyLocation":{},"URL":{},"SecretManagerArn":{},"UserNameAttributeField":{},"GroupAttributeField":{},"Issuer":{},"ClaimRegex":{}}},"JsonTokenTypeConfiguration":{"type":"structure","required":["UserNameAttributeField","GroupAttributeField"],"members":{"UserNameAttributeField":{},"GroupAttributeField":{}}}}}},"S6d":{"type":"structure","required":["UserGroupResolutionMode"],"members":{"UserGroupResolutionMode":{}}},"S73":{"type":"list","member":{"type":"structure","members":{"EndpointType":{},"Endpoint":{}}}},"S7e":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Relevance":{"shape":"S7i"},"Search":{"type":"structure","members":{"Facetable":{"type":"boolean"},"Searchable":{"type":"boolean"},"Displayable":{"type":"boolean"},"Sortable":{"type":"boolean"}}}}}},"S7i":{"type":"structure","members":{"Freshness":{"type":"boolean"},"Importance":{"type":"integer"},"Duration":{},"RankOrder":{},"ValueImportanceMap":{"type":"map","key":{},"value":{"type":"integer"}}}},"S7w":{"type":"structure","required":["StorageCapacityUnits","QueryCapacityUnits"],"members":{"StorageCapacityUnits":{"type":"integer"},"QueryCapacityUnits":{"type":"integer"}}},"S95":{"type":"structure","members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"S9w":{"type":"string","sensitive":true},"Sb3":{"type":"structure","members":{"AndAllFilters":{"shape":"Sb4"},"OrAllFilters":{"shape":"Sb4"},"NotFilter":{"shape":"Sb3"},"EqualsTo":{"shape":"Sw"},"ContainsAll":{"shape":"Sw"},"ContainsAny":{"shape":"Sw"},"GreaterThan":{"shape":"Sw"},"GreaterThanOrEquals":{"shape":"Sw"},"LessThan":{"shape":"Sw"},"LessThanOrEquals":{"shape":"Sw"}}},"Sb4":{"type":"list","member":{"shape":"Sb3"}},"Sbr":{"type":"structure","members":{"Text":{},"Highlights":{"type":"list","member":{"type":"structure","required":["BeginOffset","EndOffset"],"members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"},"TopAnswer":{"type":"boolean"},"Type":{}}}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-02-03","endpointPrefix":"kendra","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"kendra","serviceFullName":"AWSKendraFrontendService","serviceId":"kendra","signatureVersion":"v4","signingName":"kendra","targetPrefix":"AWSKendraFrontendService","uid":"kendra-2019-02-03"},"operations":{"AssociateEntitiesToExperience":{"input":{"type":"structure","required":["Id","IndexId","EntityList"],"members":{"Id":{},"IndexId":{},"EntityList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"FailedEntityList":{"type":"list","member":{"shape":"Sa"}}}}},"AssociatePersonasToEntities":{"input":{"type":"structure","required":["Id","IndexId","Personas"],"members":{"Id":{},"IndexId":{},"Personas":{"type":"list","member":{"type":"structure","required":["EntityId","Persona"],"members":{"EntityId":{},"Persona":{}}}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"BatchDeleteDocument":{"input":{"type":"structure","required":["IndexId","DocumentIdList"],"members":{"IndexId":{},"DocumentIdList":{"type":"list","member":{}},"DataSourceSyncJobMetricTarget":{"type":"structure","required":["DataSourceId"],"members":{"DataSourceId":{},"DataSourceSyncJobId":{}}}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"BatchGetDocumentStatus":{"input":{"type":"structure","required":["IndexId","DocumentInfoList"],"members":{"IndexId":{},"DocumentInfoList":{"type":"list","member":{"type":"structure","required":["DocumentId"],"members":{"DocumentId":{},"Attributes":{"shape":"Sv"}}}}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"DocumentId":{},"ErrorCode":{},"ErrorMessage":{}}}},"DocumentStatusList":{"type":"list","member":{"type":"structure","members":{"DocumentId":{},"DocumentStatus":{},"FailureCode":{},"FailureReason":{}}}}}}},"BatchPutDocument":{"input":{"type":"structure","required":["IndexId","Documents"],"members":{"IndexId":{},"RoleArn":{},"Documents":{"type":"list","member":{"type":"structure","required":["Id"],"members":{"Id":{},"Title":{},"Blob":{"type":"blob"},"S3Path":{"shape":"S1g"},"Attributes":{"shape":"Sv"},"AccessControlList":{"shape":"S1j"},"HierarchicalAccessControlList":{"type":"list","member":{"type":"structure","required":["PrincipalList"],"members":{"PrincipalList":{"shape":"S1j"}}}},"ContentType":{}}}},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"ClearQuerySuggestions":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{}}}},"CreateDataSource":{"input":{"type":"structure","required":["Name","IndexId","Type"],"members":{"Name":{},"IndexId":{},"Type":{},"Configuration":{"shape":"S27"},"Description":{},"Schedule":{},"RoleArn":{},"Tags":{"shape":"S5d"},"ClientToken":{"idempotencyToken":true},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}},"output":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"CreateExperience":{"input":{"type":"structure","required":["Name","IndexId"],"members":{"Name":{},"IndexId":{},"RoleArn":{},"Configuration":{"shape":"S5m"},"Description":{},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"CreateFaq":{"input":{"type":"structure","required":["IndexId","Name","S3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"S3Path":{"shape":"S1g"},"RoleArn":{},"Tags":{"shape":"S5d"},"FileFormat":{},"ClientToken":{"idempotencyToken":true},"LanguageCode":{}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateIndex":{"input":{"type":"structure","required":["Name","RoleArn"],"members":{"Name":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S61"},"Description":{},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S5d"},"UserTokenConfigurations":{"shape":"S63"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6d"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Name","SourceS3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S1g"},"ClientToken":{"idempotencyToken":true},"RoleArn":{},"Tags":{"shape":"S5d"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateThesaurus":{"input":{"type":"structure","required":["IndexId","Name","RoleArn","SourceS3Path"],"members":{"IndexId":{},"Name":{},"Description":{},"RoleArn":{},"Tags":{"shape":"S5d"},"SourceS3Path":{"shape":"S1g"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"DeleteDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{}}},"DeleteFaq":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"DeletePrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"OrderingId":{"type":"long"}}}},"DeleteQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{}}}},"DeleteThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DescribeDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Type":{},"Configuration":{"shape":"S27"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"Schedule":{},"RoleArn":{},"ErrorMessage":{},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}}},"DescribeExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Endpoints":{"shape":"S73"},"Configuration":{"shape":"S5m"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"RoleArn":{},"ErrorMessage":{}}}},"DescribeFaq":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"S3Path":{"shape":"S1g"},"Status":{},"RoleArn":{},"ErrorMessage":{},"FileFormat":{},"LanguageCode":{}}}},"DescribeIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}},"output":{"type":"structure","members":{"Name":{},"Id":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S61"},"Status":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"DocumentMetadataConfigurations":{"shape":"S7e"},"IndexStatistics":{"type":"structure","required":["FaqStatistics","TextDocumentStatistics"],"members":{"FaqStatistics":{"type":"structure","required":["IndexedQuestionAnswersCount"],"members":{"IndexedQuestionAnswersCount":{"type":"integer"}}},"TextDocumentStatistics":{"type":"structure","required":["IndexedTextDocumentsCount","IndexedTextBytes"],"members":{"IndexedTextDocumentsCount":{"type":"integer"},"IndexedTextBytes":{"type":"long"}}}}},"ErrorMessage":{},"CapacityUnits":{"shape":"S7w"},"UserTokenConfigurations":{"shape":"S63"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6d"}}}},"DescribePrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{}}},"output":{"type":"structure","members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"GroupOrderingIdSummaries":{"type":"list","member":{"type":"structure","members":{"Status":{},"LastUpdatedAt":{"type":"timestamp"},"ReceivedAt":{"type":"timestamp"},"OrderingId":{"type":"long"},"FailureReason":{}}}}}}},"DescribeQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{}}},"output":{"type":"structure","members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"Status":{},"ErrorMessage":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"SourceS3Path":{"shape":"S1g"},"ItemCount":{"type":"integer"},"FileSizeBytes":{"type":"long"},"RoleArn":{}}}},"DescribeQuerySuggestionsConfig":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{}}},"output":{"type":"structure","members":{"Mode":{},"Status":{},"QueryLogLookBackWindowInDays":{"type":"integer"},"IncludeQueriesWithoutUserInformation":{"type":"boolean"},"MinimumNumberOfQueryingUsers":{"type":"integer"},"MinimumQueryCount":{"type":"integer"},"LastSuggestionsBuildTime":{"type":"timestamp"},"LastClearTime":{"type":"timestamp"},"TotalSuggestionsCount":{"type":"integer"}}}},"DescribeThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Description":{},"Status":{},"ErrorMessage":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"RoleArn":{},"SourceS3Path":{"shape":"S1g"},"FileSizeBytes":{"type":"long"},"TermCount":{"type":"long"},"SynonymRuleCount":{"type":"long"}}}},"DisassociateEntitiesFromExperience":{"input":{"type":"structure","required":["Id","IndexId","EntityList"],"members":{"Id":{},"IndexId":{},"EntityList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"DisassociatePersonasFromEntities":{"input":{"type":"structure","required":["Id","IndexId","EntityIds"],"members":{"Id":{},"IndexId":{},"EntityIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"GetQuerySuggestions":{"input":{"type":"structure","required":["IndexId","QueryText"],"members":{"IndexId":{},"QueryText":{},"MaxSuggestionsCount":{"type":"integer"}}},"output":{"type":"structure","members":{"QuerySuggestionsId":{},"Suggestions":{"type":"list","member":{"type":"structure","members":{"Id":{},"Value":{"type":"structure","members":{"Text":{"type":"structure","members":{"Text":{},"Highlights":{"type":"list","member":{"type":"structure","members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}}}}}}}}}}}},"GetSnapshots":{"input":{"type":"structure","required":["IndexId","Interval","MetricType"],"members":{"IndexId":{},"Interval":{},"MetricType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SnapShotTimeFilter":{"shape":"S95"},"SnapshotsDataHeader":{"type":"list","member":{}},"SnapshotsData":{"type":"list","member":{"type":"list","member":{}}},"NextToken":{}}}},"ListDataSourceSyncJobs":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"},"StartTimeFilter":{"shape":"S95"},"StatusFilter":{}}},"output":{"type":"structure","members":{"History":{"type":"list","member":{"type":"structure","members":{"ExecutionId":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Status":{},"ErrorMessage":{},"ErrorCode":{},"DataSourceErrorCode":{},"Metrics":{"type":"structure","members":{"DocumentsAdded":{},"DocumentsModified":{},"DocumentsDeleted":{},"DocumentsFailed":{},"DocumentsScanned":{}}}}}},"NextToken":{}}}},"ListDataSources":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"Type":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{},"LanguageCode":{}}}},"NextToken":{}}}},"ListEntityPersonas":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"EntityId":{},"Persona":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"ListExperienceEntities":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"EntityId":{},"EntityType":{},"DisplayData":{"type":"structure","members":{"UserName":{"shape":"S9w"},"GroupName":{"shape":"S9w"},"IdentifiedUserName":{"shape":"S9w"},"FirstName":{"shape":"S9w"},"LastName":{"shape":"S9w"}}}}}},"NextToken":{}}}},"ListExperiences":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"CreatedAt":{"type":"timestamp"},"Status":{},"Endpoints":{"shape":"S73"}}}},"NextToken":{}}}},"ListFaqs":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"FaqSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"FileFormat":{},"LanguageCode":{}}}}}}},"ListGroupsOlderThanOrderingId":{"input":{"type":"structure","required":["IndexId","OrderingId"],"members":{"IndexId":{},"DataSourceId":{},"OrderingId":{"type":"long"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"GroupsSummaries":{"type":"list","member":{"type":"structure","members":{"GroupId":{},"OrderingId":{"type":"long"}}}},"NextToken":{}}}},"ListIndices":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"IndexConfigurationSummaryItems":{"type":"list","member":{"type":"structure","required":["CreatedAt","UpdatedAt","Status"],"members":{"Name":{},"Id":{},"Edition":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{}}}},"NextToken":{}}}},"ListQuerySuggestionsBlockLists":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"BlockListSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"ItemCount":{"type":"integer"}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S5d"}}}},"ListThesauri":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"ThesaurusSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}}}}},"PutPrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId","GroupMembers"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"GroupMembers":{"type":"structure","members":{"MemberGroups":{"type":"list","member":{"type":"structure","required":["GroupId"],"members":{"GroupId":{},"DataSourceId":{}}}},"MemberUsers":{"type":"list","member":{"type":"structure","required":["UserId"],"members":{"UserId":{}}}},"S3PathforGroupMembers":{"shape":"S1g"}}},"OrderingId":{"type":"long"},"RoleArn":{}}}},"Query":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"QueryText":{},"AttributeFilter":{"shape":"Sb3"},"Facets":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{}}}},"RequestedDocumentAttributes":{"type":"list","member":{}},"QueryResultTypeFilter":{},"DocumentRelevanceOverrideConfigurations":{"type":"list","member":{"type":"structure","required":["Name","Relevance"],"members":{"Name":{},"Relevance":{"shape":"S7i"}}}},"PageNumber":{"type":"integer"},"PageSize":{"type":"integer"},"SortingConfiguration":{"type":"structure","required":["DocumentAttributeKey","SortOrder"],"members":{"DocumentAttributeKey":{},"SortOrder":{}}},"UserContext":{"type":"structure","members":{"Token":{},"UserId":{},"Groups":{"type":"list","member":{}},"DataSourceGroups":{"type":"list","member":{"type":"structure","required":["GroupId","DataSourceId"],"members":{"GroupId":{},"DataSourceId":{}}}}}},"VisitorId":{},"SpellCorrectionConfiguration":{"type":"structure","required":["IncludeQuerySpellCheckSuggestions"],"members":{"IncludeQuerySpellCheckSuggestions":{"type":"boolean"}}}}},"output":{"type":"structure","members":{"QueryId":{},"ResultItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Type":{},"AdditionalAttributes":{"type":"list","member":{"type":"structure","required":["Key","ValueType","Value"],"members":{"Key":{},"ValueType":{},"Value":{"type":"structure","members":{"TextWithHighlightsValue":{"shape":"Sbs"}}}}}},"DocumentId":{},"DocumentTitle":{"shape":"Sbs"},"DocumentExcerpt":{"shape":"Sbs"},"DocumentURI":{},"DocumentAttributes":{"shape":"Sv"},"ScoreAttributes":{"type":"structure","members":{"ScoreConfidence":{}}},"FeedbackToken":{}}}},"FacetResults":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{},"DocumentAttributeValueType":{},"DocumentAttributeValueCountPairs":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeValue":{"shape":"Sy"},"Count":{"type":"integer"}}}}}}},"TotalNumberOfResults":{"type":"integer"},"Warnings":{"type":"list","member":{"type":"structure","members":{"Message":{},"Code":{}}}},"SpellCorrectedQueries":{"type":"list","member":{"type":"structure","members":{"SuggestedQueryText":{},"Corrections":{"type":"list","member":{"type":"structure","members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"},"Term":{},"CorrectedTerm":{}}}}}}}}}},"StartDataSourceSyncJob":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"ExecutionId":{}}}},"StopDataSourceSyncJob":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"SubmitFeedback":{"input":{"type":"structure","required":["IndexId","QueryId"],"members":{"IndexId":{},"QueryId":{},"ClickFeedbackItems":{"type":"list","member":{"type":"structure","required":["ResultId","ClickTime"],"members":{"ResultId":{},"ClickTime":{"type":"timestamp"}}}},"RelevanceFeedbackItems":{"type":"list","member":{"type":"structure","required":["ResultId","RelevanceValue"],"members":{"ResultId":{},"RelevanceValue":{}}}}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S5d"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"Configuration":{"shape":"S27"},"Description":{},"Schedule":{},"RoleArn":{},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}}},"UpdateExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"RoleArn":{},"Configuration":{"shape":"S5m"},"Description":{}}}},"UpdateIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{},"Name":{},"RoleArn":{},"Description":{},"DocumentMetadataConfigurationUpdates":{"shape":"S7e"},"CapacityUnits":{"shape":"S7w"},"UserTokenConfigurations":{"shape":"S63"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6d"}}}},"UpdateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S1g"},"RoleArn":{}}}},"UpdateQuerySuggestionsConfig":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"Mode":{},"QueryLogLookBackWindowInDays":{"type":"integer"},"IncludeQueriesWithoutUserInformation":{"type":"boolean"},"MinimumNumberOfQueryingUsers":{"type":"integer"},"MinimumQueryCount":{"type":"integer"}}}},"UpdateThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"Description":{},"RoleArn":{},"SourceS3Path":{"shape":"S1g"}}}}},"shapes":{"S5":{"type":"structure","required":["EntityId","EntityType"],"members":{"EntityId":{},"EntityType":{}}},"Sa":{"type":"structure","members":{"EntityId":{},"ErrorMessage":{}}},"Sh":{"type":"list","member":{"shape":"Sa"}},"Sv":{"type":"list","member":{"shape":"Sw"}},"Sw":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{"shape":"Sy"}}},"Sy":{"type":"structure","members":{"StringValue":{},"StringListValue":{"type":"list","member":{}},"LongValue":{"type":"long"},"DateValue":{"type":"timestamp"}}},"S1g":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"S1j":{"type":"list","member":{"type":"structure","required":["Name","Type","Access"],"members":{"Name":{},"Type":{},"Access":{},"DataSourceId":{}}}},"S1r":{"type":"structure","members":{"InlineConfigurations":{"type":"list","member":{"type":"structure","members":{"Condition":{"shape":"S1u"},"Target":{"type":"structure","members":{"TargetDocumentAttributeKey":{},"TargetDocumentAttributeValueDeletion":{"type":"boolean"},"TargetDocumentAttributeValue":{"shape":"Sy"}}},"DocumentContentDeletion":{"type":"boolean"}}}},"PreExtractionHookConfiguration":{"shape":"S1y"},"PostExtractionHookConfiguration":{"shape":"S1y"},"RoleArn":{}}},"S1u":{"type":"structure","required":["ConditionDocumentAttributeKey","Operator"],"members":{"ConditionDocumentAttributeKey":{},"Operator":{},"ConditionOnValue":{"shape":"Sy"}}},"S1y":{"type":"structure","required":["LambdaArn","S3Bucket"],"members":{"InvocationCondition":{"shape":"S1u"},"LambdaArn":{},"S3Bucket":{}}},"S27":{"type":"structure","members":{"S3Configuration":{"type":"structure","required":["BucketName"],"members":{"BucketName":{},"InclusionPrefixes":{"shape":"S29"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"DocumentsMetadataConfiguration":{"type":"structure","members":{"S3Prefix":{}}},"AccessControlListConfiguration":{"type":"structure","members":{"KeyPath":{}}}}},"SharePointConfiguration":{"type":"structure","required":["SharePointVersion","Urls","SecretArn"],"members":{"SharePointVersion":{},"Urls":{"type":"list","member":{}},"SecretArn":{},"CrawlAttachments":{"type":"boolean"},"UseChangeLog":{"type":"boolean"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"VpcConfiguration":{"shape":"S2i"},"FieldMappings":{"shape":"S2n"},"DocumentTitleFieldName":{},"DisableLocalGroups":{"type":"boolean"},"SslCertificateS3Path":{"shape":"S1g"}}},"DatabaseConfiguration":{"type":"structure","required":["DatabaseEngineType","ConnectionConfiguration","ColumnConfiguration"],"members":{"DatabaseEngineType":{},"ConnectionConfiguration":{"type":"structure","required":["DatabaseHost","DatabasePort","DatabaseName","TableName","SecretArn"],"members":{"DatabaseHost":{},"DatabasePort":{"type":"integer"},"DatabaseName":{},"TableName":{},"SecretArn":{}}},"VpcConfiguration":{"shape":"S2i"},"ColumnConfiguration":{"type":"structure","required":["DocumentIdColumnName","DocumentDataColumnName","ChangeDetectingColumns"],"members":{"DocumentIdColumnName":{},"DocumentDataColumnName":{},"DocumentTitleColumnName":{},"FieldMappings":{"shape":"S2n"},"ChangeDetectingColumns":{"type":"list","member":{}}}},"AclConfiguration":{"type":"structure","required":["AllowedGroupsColumnName"],"members":{"AllowedGroupsColumnName":{}}},"SqlConfiguration":{"type":"structure","members":{"QueryIdentifiersEnclosingOption":{}}}}},"SalesforceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn"],"members":{"ServerUrl":{},"SecretArn":{},"StandardObjectConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}}},"KnowledgeArticleConfiguration":{"type":"structure","required":["IncludedStates"],"members":{"IncludedStates":{"type":"list","member":{}},"StandardKnowledgeArticleTypeConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"CustomKnowledgeArticleTypeConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}}}}},"ChatterFeedConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"},"IncludeFilterTypes":{"type":"list","member":{}}}},"CrawlAttachments":{"type":"boolean"},"StandardObjectAttachmentConfiguration":{"type":"structure","members":{"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"}}},"OneDriveConfiguration":{"type":"structure","required":["TenantDomain","SecretArn","OneDriveUsers"],"members":{"TenantDomain":{},"SecretArn":{},"OneDriveUsers":{"type":"structure","members":{"OneDriveUserList":{"type":"list","member":{}},"OneDriveUserS3Path":{"shape":"S1g"}}},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"},"DisableLocalGroups":{"type":"boolean"}}},"ServiceNowConfiguration":{"type":"structure","required":["HostUrl","SecretArn","ServiceNowBuildVersion"],"members":{"HostUrl":{},"SecretArn":{},"ServiceNowBuildVersion":{},"KnowledgeArticleConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"},"FilterQuery":{}}},"ServiceCatalogConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"AuthenticationType":{}}},"ConfluenceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn","Version"],"members":{"ServerUrl":{},"SecretArn":{},"Version":{},"SpaceConfiguration":{"type":"structure","members":{"CrawlPersonalSpaces":{"type":"boolean"},"CrawlArchivedSpaces":{"type":"boolean"},"IncludeSpaces":{"shape":"S3z"},"ExcludeSpaces":{"shape":"S3z"},"SpaceFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"PageConfiguration":{"type":"structure","members":{"PageFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"BlogConfiguration":{"type":"structure","members":{"BlogFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"AttachmentConfiguration":{"type":"structure","members":{"CrawlAttachments":{"type":"boolean"},"AttachmentFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"VpcConfiguration":{"shape":"S2i"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"}}},"GoogleDriveConfiguration":{"type":"structure","required":["SecretArn"],"members":{"SecretArn":{},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"},"ExcludeMimeTypes":{"type":"list","member":{}},"ExcludeUserAccounts":{"type":"list","member":{}},"ExcludeSharedDrives":{"type":"list","member":{}}}},"WebCrawlerConfiguration":{"type":"structure","required":["Urls"],"members":{"Urls":{"type":"structure","members":{"SeedUrlConfiguration":{"type":"structure","required":["SeedUrls"],"members":{"SeedUrls":{"type":"list","member":{}},"WebCrawlerMode":{}}},"SiteMapsConfiguration":{"type":"structure","required":["SiteMaps"],"members":{"SiteMaps":{"type":"list","member":{}}}}}},"CrawlDepth":{"type":"integer"},"MaxLinksPerPage":{"type":"integer"},"MaxContentSizePerPageInMegaBytes":{"type":"float"},"MaxUrlsPerMinuteCrawlRate":{"type":"integer"},"UrlInclusionPatterns":{"shape":"S29"},"UrlExclusionPatterns":{"shape":"S29"},"ProxyConfiguration":{"type":"structure","required":["Host","Port"],"members":{"Host":{},"Port":{"type":"integer"},"Credentials":{}}},"AuthenticationConfiguration":{"type":"structure","members":{"BasicAuthentication":{"type":"list","member":{"type":"structure","required":["Host","Port","Credentials"],"members":{"Host":{},"Port":{"type":"integer"},"Credentials":{}}}}}}}},"WorkDocsConfiguration":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"CrawlComments":{"type":"boolean"},"UseChangeLog":{"type":"boolean"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"}}},"FsxConfiguration":{"type":"structure","required":["FileSystemId","FileSystemType","VpcConfiguration"],"members":{"FileSystemId":{},"FileSystemType":{},"VpcConfiguration":{"shape":"S2i"},"SecretArn":{},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"}}}}},"S29":{"type":"list","member":{}},"S2i":{"type":"structure","required":["SubnetIds","SecurityGroupIds"],"members":{"SubnetIds":{"type":"list","member":{}},"SecurityGroupIds":{"type":"list","member":{}}}},"S2n":{"type":"list","member":{"type":"structure","required":["DataSourceFieldName","IndexFieldName"],"members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}},"S3z":{"type":"list","member":{}},"S5d":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S5m":{"type":"structure","members":{"ContentSourceConfiguration":{"type":"structure","members":{"DataSourceIds":{"type":"list","member":{}},"FaqIds":{"type":"list","member":{}},"DirectPutContent":{"type":"boolean"}}},"UserIdentityConfiguration":{"type":"structure","members":{"IdentityAttributeName":{}}}}},"S61":{"type":"structure","members":{"KmsKeyId":{"type":"string","sensitive":true}}},"S63":{"type":"list","member":{"type":"structure","members":{"JwtTokenTypeConfiguration":{"type":"structure","required":["KeyLocation"],"members":{"KeyLocation":{},"URL":{},"SecretManagerArn":{},"UserNameAttributeField":{},"GroupAttributeField":{},"Issuer":{},"ClaimRegex":{}}},"JsonTokenTypeConfiguration":{"type":"structure","required":["UserNameAttributeField","GroupAttributeField"],"members":{"UserNameAttributeField":{},"GroupAttributeField":{}}}}}},"S6d":{"type":"structure","required":["UserGroupResolutionMode"],"members":{"UserGroupResolutionMode":{}}},"S73":{"type":"list","member":{"type":"structure","members":{"EndpointType":{},"Endpoint":{}}}},"S7e":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Relevance":{"shape":"S7i"},"Search":{"type":"structure","members":{"Facetable":{"type":"boolean"},"Searchable":{"type":"boolean"},"Displayable":{"type":"boolean"},"Sortable":{"type":"boolean"}}}}}},"S7i":{"type":"structure","members":{"Freshness":{"type":"boolean"},"Importance":{"type":"integer"},"Duration":{},"RankOrder":{},"ValueImportanceMap":{"type":"map","key":{},"value":{"type":"integer"}}}},"S7w":{"type":"structure","required":["StorageCapacityUnits","QueryCapacityUnits"],"members":{"StorageCapacityUnits":{"type":"integer"},"QueryCapacityUnits":{"type":"integer"}}},"S95":{"type":"structure","members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"S9w":{"type":"string","sensitive":true},"Sb3":{"type":"structure","members":{"AndAllFilters":{"shape":"Sb4"},"OrAllFilters":{"shape":"Sb4"},"NotFilter":{"shape":"Sb3"},"EqualsTo":{"shape":"Sw"},"ContainsAll":{"shape":"Sw"},"ContainsAny":{"shape":"Sw"},"GreaterThan":{"shape":"Sw"},"GreaterThanOrEquals":{"shape":"Sw"},"LessThan":{"shape":"Sw"},"LessThanOrEquals":{"shape":"Sw"}}},"Sb4":{"type":"list","member":{"shape":"Sb3"}},"Sbs":{"type":"structure","members":{"Text":{},"Highlights":{"type":"list","member":{"type":"structure","required":["BeginOffset","EndOffset"],"members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"},"TopAnswer":{"type":"boolean"},"Type":{}}}}}}}} /***/ }), /* 850 */ @@ -53060,7 +53060,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 898 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-23","endpointPrefix":"appflow","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Appflow","serviceId":"Appflow","signatureVersion":"v4","signingName":"appflow","uid":"appflow-2020-08-23"},"operations":{"CreateConnectorProfile":{"http":{"requestUri":"/create-connector-profile"},"input":{"type":"structure","required":["connectorProfileName","connectorType","connectionMode","connectorProfileConfig"],"members":{"connectorProfileName":{},"kmsArn":{},"connectorType":{},"connectorLabel":{},"connectionMode":{},"connectorProfileConfig":{"shape":"S7"}}},"output":{"type":"structure","members":{"connectorProfileArn":{}}}},"CreateFlow":{"http":{"requestUri":"/create-flow"},"input":{"type":"structure","required":["flowName","triggerConfig","sourceFlowConfig","destinationFlowConfigList","tasks"],"members":{"flowName":{},"description":{},"kmsArn":{},"triggerConfig":{"shape":"S2w"},"sourceFlowConfig":{"shape":"S35"},"destinationFlowConfigList":{"shape":"S3y"},"tasks":{"shape":"S4t"},"tags":{"shape":"S5j"}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{}}}},"DeleteConnectorProfile":{"http":{"requestUri":"/delete-connector-profile"},"input":{"type":"structure","required":["connectorProfileName"],"members":{"connectorProfileName":{},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DeleteFlow":{"http":{"requestUri":"/delete-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DescribeConnector":{"http":{"requestUri":"/describe-connector"},"input":{"type":"structure","required":["connectorType"],"members":{"connectorType":{},"connectorLabel":{}}},"output":{"type":"structure","members":{"connectorConfiguration":{"shape":"S5v"}}}},"DescribeConnectorEntity":{"http":{"requestUri":"/describe-connector-entity"},"input":{"type":"structure","required":["connectorEntityName"],"members":{"connectorEntityName":{},"connectorType":{},"connectorProfileName":{},"apiVersion":{}}},"output":{"type":"structure","required":["connectorEntityFields"],"members":{"connectorEntityFields":{"type":"list","member":{"type":"structure","required":["identifier"],"members":{"identifier":{},"parentIdentifier":{},"label":{},"isPrimaryKey":{"type":"boolean"},"defaultValue":{},"isDeprecated":{"type":"boolean"},"supportedFieldTypeDetails":{"type":"structure","required":["v1"],"members":{"v1":{"type":"structure","required":["fieldType","filterOperators"],"members":{"fieldType":{},"filterOperators":{"type":"list","member":{}},"supportedValues":{"type":"list","member":{}},"valueRegexPattern":{},"supportedDateFormat":{},"fieldValueRange":{"shape":"S7x"},"fieldLengthRange":{"shape":"S7x"}}}}},"description":{},"sourceProperties":{"type":"structure","members":{"isRetrievable":{"type":"boolean"},"isQueryable":{"type":"boolean"},"isTimestampFieldForIncrementalQueries":{"type":"boolean"}}},"destinationProperties":{"type":"structure","members":{"isCreatable":{"type":"boolean"},"isNullable":{"type":"boolean"},"isUpsertable":{"type":"boolean"},"isUpdatable":{"type":"boolean"},"isDefaultedOnCreate":{"type":"boolean"},"supportedWriteOperations":{"shape":"S7g"}}},"customProperties":{"shape":"S3t"}}}}}}},"DescribeConnectorProfiles":{"http":{"requestUri":"/describe-connector-profiles"},"input":{"type":"structure","members":{"connectorProfileNames":{"type":"list","member":{}},"connectorType":{},"connectorLabel":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectorProfileDetails":{"type":"list","member":{"type":"structure","members":{"connectorProfileArn":{},"connectorProfileName":{},"connectorType":{},"connectorLabel":{},"connectionMode":{},"credentialsArn":{},"connectorProfileProperties":{"shape":"S8"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"privateConnectionProvisioningState":{"type":"structure","members":{"status":{},"failureMessage":{},"failureCause":{}}}}}},"nextToken":{}}}},"DescribeConnectors":{"http":{"requestUri":"/describe-connectors"},"input":{"type":"structure","members":{"connectorTypes":{"shape":"S5w"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectorConfigurations":{"type":"map","key":{},"value":{"shape":"S5v"}},"connectors":{"shape":"S8f"},"nextToken":{}}}},"DescribeFlow":{"http":{"requestUri":"/describe-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"description":{},"flowName":{},"kmsArn":{},"flowStatus":{},"flowStatusMessage":{},"sourceFlowConfig":{"shape":"S35"},"destinationFlowConfigList":{"shape":"S3y"},"lastRunExecutionDetails":{"shape":"S8l"},"triggerConfig":{"shape":"S2w"},"tasks":{"shape":"S4t"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S5j"}}}},"DescribeFlowExecutionRecords":{"http":{"requestUri":"/describe-flow-execution-records"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"flowExecutions":{"type":"list","member":{"type":"structure","members":{"executionId":{},"executionStatus":{},"executionResult":{"type":"structure","members":{"errorInfo":{"type":"structure","members":{"putFailuresCount":{"type":"long"},"executionMessage":{}}},"bytesProcessed":{"type":"long"},"bytesWritten":{"type":"long"},"recordsProcessed":{"type":"long"}}},"startedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"dataPullStartTime":{"type":"timestamp"},"dataPullEndTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListConnectorEntities":{"http":{"requestUri":"/list-connector-entities"},"input":{"type":"structure","members":{"connectorProfileName":{},"connectorType":{},"entitiesPath":{},"apiVersion":{}}},"output":{"type":"structure","required":["connectorEntityMap"],"members":{"connectorEntityMap":{"type":"map","key":{},"value":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{},"label":{},"hasNestedEntities":{"type":"boolean"}}}}}}}},"ListConnectors":{"http":{"requestUri":"/list-connectors"},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectors":{"shape":"S8f"},"nextToken":{}}}},"ListFlows":{"http":{"requestUri":"/list-flows"},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"flows":{"type":"list","member":{"type":"structure","members":{"flowArn":{},"description":{},"flowName":{},"flowStatus":{},"sourceConnectorType":{},"sourceConnectorLabel":{},"destinationConnectorType":{},"destinationConnectorLabel":{},"triggerType":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S5j"},"lastRunExecutionDetails":{"shape":"S8l"}}}},"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":"S5j"}}}},"RegisterConnector":{"http":{"requestUri":"/register-connector"},"input":{"type":"structure","members":{"connectorLabel":{},"description":{},"connectorProvisioningType":{},"connectorProvisioningConfig":{"shape":"S7i"}}},"output":{"type":"structure","members":{"connectorArn":{}}}},"StartFlow":{"http":{"requestUri":"/start-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{},"executionId":{}}}},"StopFlow":{"http":{"requestUri":"/stop-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S5j"}}},"output":{"type":"structure","members":{}}},"UnregisterConnector":{"http":{"requestUri":"/unregister-connector"},"input":{"type":"structure","required":["connectorLabel"],"members":{"connectorLabel":{},"forceDelete":{"type":"boolean"}}},"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":{}}},"UpdateConnectorProfile":{"http":{"requestUri":"/update-connector-profile"},"input":{"type":"structure","required":["connectorProfileName","connectionMode","connectorProfileConfig"],"members":{"connectorProfileName":{},"connectionMode":{},"connectorProfileConfig":{"shape":"S7"}}},"output":{"type":"structure","members":{"connectorProfileArn":{}}}},"UpdateFlow":{"http":{"requestUri":"/update-flow"},"input":{"type":"structure","required":["flowName","triggerConfig","sourceFlowConfig","destinationFlowConfigList","tasks"],"members":{"flowName":{},"description":{},"triggerConfig":{"shape":"S2w"},"sourceFlowConfig":{"shape":"S35"},"destinationFlowConfigList":{"shape":"S3y"},"tasks":{"shape":"S4t"}}},"output":{"type":"structure","members":{"flowStatus":{}}}}},"shapes":{"S7":{"type":"structure","required":["connectorProfileProperties","connectorProfileCredentials"],"members":{"connectorProfileProperties":{"shape":"S8"},"connectorProfileCredentials":{"type":"structure","members":{"Amplitude":{"type":"structure","required":["apiKey","secretKey"],"members":{"apiKey":{"shape":"S1j"},"secretKey":{"type":"string","sensitive":true}}},"Datadog":{"type":"structure","required":["apiKey","applicationKey"],"members":{"apiKey":{"shape":"S1j"},"applicationKey":{}}},"Dynatrace":{"type":"structure","required":["apiToken"],"members":{"apiToken":{}}},"GoogleAnalytics":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}},"Honeycode":{"type":"structure","members":{"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}},"InforNexus":{"type":"structure","required":["accessKeyId","userId","secretAccessKey","datakey"],"members":{"accessKeyId":{"type":"string","sensitive":true},"userId":{},"secretAccessKey":{},"datakey":{}}},"Marketo":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"oAuthRequest":{"shape":"S1u"}}},"Redshift":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Salesforce":{"type":"structure","members":{"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"},"clientCredentialsArn":{"type":"string","sensitive":true}}},"ServiceNow":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Singular":{"type":"structure","required":["apiKey"],"members":{"apiKey":{"shape":"S1j"}}},"Slack":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"oAuthRequest":{"shape":"S1u"}}},"Snowflake":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Trendmicro":{"type":"structure","required":["apiSecretKey"],"members":{"apiSecretKey":{"shape":"S2c"}}},"Veeva":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Zendesk":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"oAuthRequest":{"shape":"S1u"}}},"SAPOData":{"type":"structure","members":{"basicAuthCredentials":{"shape":"S2g"},"oAuthCredentials":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}}}},"CustomConnector":{"type":"structure","required":["authenticationType"],"members":{"authenticationType":{},"basic":{"shape":"S2g"},"oauth2":{"type":"structure","members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}},"apiKey":{"type":"structure","required":["apiKey"],"members":{"apiKey":{"shape":"S1j"},"apiSecretKey":{"shape":"S2c"}}},"custom":{"type":"structure","required":["customAuthenticationType"],"members":{"customAuthenticationType":{},"credentialsMap":{"type":"map","key":{"type":"string","sensitive":true},"value":{"type":"string","sensitive":true}}}}}}}}}},"S8":{"type":"structure","members":{"Amplitude":{"type":"structure","members":{}},"Datadog":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Dynatrace":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"GoogleAnalytics":{"type":"structure","members":{}},"Honeycode":{"type":"structure","members":{}},"InforNexus":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Marketo":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Redshift":{"type":"structure","required":["databaseUrl","bucketName","roleArn"],"members":{"databaseUrl":{},"bucketName":{},"bucketPrefix":{},"roleArn":{}}},"Salesforce":{"type":"structure","members":{"instanceUrl":{},"isSandboxEnvironment":{"type":"boolean"}}},"ServiceNow":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Singular":{"type":"structure","members":{}},"Slack":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Snowflake":{"type":"structure","required":["warehouse","stage","bucketName"],"members":{"warehouse":{},"stage":{},"bucketName":{},"bucketPrefix":{},"privateLinkServiceName":{},"accountName":{},"region":{}}},"Trendmicro":{"type":"structure","members":{}},"Veeva":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Zendesk":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"SAPOData":{"type":"structure","required":["applicationHostUrl","applicationServicePath","portNumber","clientNumber"],"members":{"applicationHostUrl":{},"applicationServicePath":{},"portNumber":{"type":"integer"},"clientNumber":{},"logonLanguage":{},"privateLinkServiceName":{},"oAuthProperties":{"type":"structure","required":["tokenUrl","authCodeUrl","oAuthScopes"],"members":{"tokenUrl":{},"authCodeUrl":{},"oAuthScopes":{"shape":"S19"}}}}},"CustomConnector":{"type":"structure","members":{"profileProperties":{"type":"map","key":{},"value":{}},"oAuth2Properties":{"type":"structure","required":["tokenUrl","oAuth2GrantType"],"members":{"tokenUrl":{},"oAuth2GrantType":{}}}}}}},"S19":{"type":"list","member":{}},"S1j":{"type":"string","sensitive":true},"S1r":{"type":"string","sensitive":true},"S1s":{"type":"string","sensitive":true},"S1u":{"type":"structure","members":{"authCode":{},"redirectUri":{}}},"S24":{"type":"string","sensitive":true},"S2c":{"type":"string","sensitive":true},"S2g":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"S2w":{"type":"structure","required":["triggerType"],"members":{"triggerType":{},"triggerProperties":{"type":"structure","members":{"Scheduled":{"type":"structure","required":["scheduleExpression"],"members":{"scheduleExpression":{},"dataPullMode":{},"scheduleStartTime":{"type":"timestamp"},"scheduleEndTime":{"type":"timestamp"},"timezone":{},"scheduleOffset":{"type":"long"},"firstExecutionFrom":{"type":"timestamp"}}}}}}},"S35":{"type":"structure","required":["connectorType","sourceConnectorProperties"],"members":{"connectorType":{},"apiVersion":{},"connectorProfileName":{},"sourceConnectorProperties":{"type":"structure","members":{"Amplitude":{"type":"structure","required":["object"],"members":{"object":{}}},"Datadog":{"type":"structure","required":["object"],"members":{"object":{}}},"Dynatrace":{"type":"structure","required":["object"],"members":{"object":{}}},"GoogleAnalytics":{"type":"structure","required":["object"],"members":{"object":{}}},"InforNexus":{"type":"structure","required":["object"],"members":{"object":{}}},"Marketo":{"type":"structure","required":["object"],"members":{"object":{}}},"S3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{},"bucketPrefix":{},"s3InputFormatConfig":{"type":"structure","members":{"s3InputFileType":{}}}}},"Salesforce":{"type":"structure","required":["object"],"members":{"object":{},"enableDynamicFieldUpdate":{"type":"boolean"},"includeDeletedRecords":{"type":"boolean"}}},"ServiceNow":{"type":"structure","required":["object"],"members":{"object":{}}},"Singular":{"type":"structure","required":["object"],"members":{"object":{}}},"Slack":{"type":"structure","required":["object"],"members":{"object":{}}},"Trendmicro":{"type":"structure","required":["object"],"members":{"object":{}}},"Veeva":{"type":"structure","required":["object"],"members":{"object":{},"documentType":{},"includeSourceFiles":{"type":"boolean"},"includeRenditions":{"type":"boolean"},"includeAllVersions":{"type":"boolean"}}},"Zendesk":{"type":"structure","required":["object"],"members":{"object":{}}},"SAPOData":{"type":"structure","members":{"objectPath":{}}},"CustomConnector":{"type":"structure","required":["entityName"],"members":{"entityName":{},"customProperties":{"shape":"S3t"}}}}},"incrementalPullConfig":{"type":"structure","members":{"datetimeTypeFieldName":{}}}}},"S3t":{"type":"map","key":{},"value":{}},"S3y":{"type":"list","member":{"type":"structure","required":["connectorType","destinationConnectorProperties"],"members":{"connectorType":{},"apiVersion":{},"connectorProfileName":{},"destinationConnectorProperties":{"type":"structure","members":{"Redshift":{"type":"structure","required":["object","intermediateBucketName"],"members":{"object":{},"intermediateBucketName":{},"bucketPrefix":{},"errorHandlingConfig":{"shape":"S42"}}},"S3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{},"bucketPrefix":{},"s3OutputFormatConfig":{"type":"structure","members":{"fileType":{},"prefixConfig":{"shape":"S46"},"aggregationConfig":{"shape":"S49"}}}}},"Salesforce":{"type":"structure","required":["object"],"members":{"object":{},"idFieldNames":{"shape":"S4c"},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{}}},"Snowflake":{"type":"structure","required":["object","intermediateBucketName"],"members":{"object":{},"intermediateBucketName":{},"bucketPrefix":{},"errorHandlingConfig":{"shape":"S42"}}},"EventBridge":{"type":"structure","required":["object"],"members":{"object":{},"errorHandlingConfig":{"shape":"S42"}}},"LookoutMetrics":{"type":"structure","members":{}},"Upsolver":{"type":"structure","required":["bucketName","s3OutputFormatConfig"],"members":{"bucketName":{},"bucketPrefix":{},"s3OutputFormatConfig":{"type":"structure","required":["prefixConfig"],"members":{"fileType":{},"prefixConfig":{"shape":"S46"},"aggregationConfig":{"shape":"S49"}}}}},"Honeycode":{"type":"structure","required":["object"],"members":{"object":{},"errorHandlingConfig":{"shape":"S42"}}},"CustomerProfiles":{"type":"structure","required":["domainName"],"members":{"domainName":{},"objectTypeName":{}}},"Zendesk":{"type":"structure","required":["object"],"members":{"object":{},"idFieldNames":{"shape":"S4c"},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{}}},"CustomConnector":{"type":"structure","required":["entityName"],"members":{"entityName":{},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{},"idFieldNames":{"shape":"S4c"},"customProperties":{"shape":"S3t"}}},"SAPOData":{"type":"structure","required":["objectPath"],"members":{"objectPath":{},"successResponseHandlingConfig":{"type":"structure","members":{"bucketPrefix":{},"bucketName":{}}},"idFieldNames":{"shape":"S4c"},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{}}}}}}}},"S42":{"type":"structure","members":{"failOnFirstDestinationError":{"type":"boolean"},"bucketPrefix":{},"bucketName":{}}},"S46":{"type":"structure","members":{"prefixType":{},"prefixFormat":{}}},"S49":{"type":"structure","members":{"aggregationType":{}}},"S4c":{"type":"list","member":{}},"S4t":{"type":"list","member":{"type":"structure","required":["sourceFields","taskType"],"members":{"sourceFields":{"type":"list","member":{}},"connectorOperator":{"type":"structure","members":{"Amplitude":{},"Datadog":{},"Dynatrace":{},"GoogleAnalytics":{},"InforNexus":{},"Marketo":{},"S3":{},"Salesforce":{},"ServiceNow":{},"Singular":{},"Slack":{},"Trendmicro":{},"Veeva":{},"Zendesk":{},"SAPOData":{},"CustomConnector":{}}},"destinationField":{},"taskType":{},"taskProperties":{"type":"map","key":{},"value":{}}}}},"S5j":{"type":"map","key":{},"value":{}},"S5v":{"type":"structure","members":{"canUseAsSource":{"type":"boolean"},"canUseAsDestination":{"type":"boolean"},"supportedDestinationConnectors":{"shape":"S5w"},"supportedSchedulingFrequencies":{"type":"list","member":{}},"isPrivateLinkEnabled":{"type":"boolean"},"isPrivateLinkEndpointUrlRequired":{"type":"boolean"},"supportedTriggerTypes":{"type":"list","member":{}},"connectorMetadata":{"type":"structure","members":{"Amplitude":{"type":"structure","members":{}},"Datadog":{"type":"structure","members":{}},"Dynatrace":{"type":"structure","members":{}},"GoogleAnalytics":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"InforNexus":{"type":"structure","members":{}},"Marketo":{"type":"structure","members":{}},"Redshift":{"type":"structure","members":{}},"S3":{"type":"structure","members":{}},"Salesforce":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"ServiceNow":{"type":"structure","members":{}},"Singular":{"type":"structure","members":{}},"Slack":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"Snowflake":{"type":"structure","members":{"supportedRegions":{"type":"list","member":{}}}},"Trendmicro":{"type":"structure","members":{}},"Veeva":{"type":"structure","members":{}},"Zendesk":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"EventBridge":{"type":"structure","members":{}},"Upsolver":{"type":"structure","members":{}},"CustomerProfiles":{"type":"structure","members":{}},"Honeycode":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"SAPOData":{"type":"structure","members":{}}}},"connectorType":{},"connectorLabel":{},"connectorDescription":{},"connectorOwner":{},"connectorName":{},"connectorVersion":{},"connectorArn":{},"connectorModes":{"shape":"S6s"},"authenticationConfig":{"type":"structure","members":{"isBasicAuthSupported":{"type":"boolean"},"isApiKeyAuthSupported":{"type":"boolean"},"isOAuth2Supported":{"type":"boolean"},"isCustomAuthSupported":{"type":"boolean"},"oAuth2Defaults":{"type":"structure","members":{"oauthScopes":{"shape":"S19"},"tokenUrls":{"type":"list","member":{}},"authCodeUrls":{"type":"list","member":{}},"oauth2GrantTypesSupported":{"type":"list","member":{}}}},"customAuthConfigs":{"type":"list","member":{"type":"structure","members":{"customAuthenticationType":{},"authParameters":{"type":"list","member":{"type":"structure","members":{"key":{},"isRequired":{"type":"boolean"},"label":{},"description":{},"isSensitiveField":{"type":"boolean"},"connectorSuppliedValues":{"type":"list","member":{}}}}}}}}}},"connectorRuntimeSettings":{"type":"list","member":{"type":"structure","members":{"key":{},"dataType":{},"isRequired":{"type":"boolean"},"label":{},"description":{},"scope":{},"connectorSuppliedValueOptions":{"type":"list","member":{}}}}},"supportedApiVersions":{"type":"list","member":{}},"supportedOperators":{"type":"list","member":{}},"supportedWriteOperations":{"shape":"S7g"},"connectorProvisioningType":{},"connectorProvisioningConfig":{"shape":"S7i"},"logoURL":{},"registeredAt":{"type":"timestamp"},"registeredBy":{}}},"S5w":{"type":"list","member":{}},"S6s":{"type":"list","member":{}},"S7g":{"type":"list","member":{}},"S7i":{"type":"structure","members":{"lambda":{"type":"structure","required":["lambdaArn"],"members":{"lambdaArn":{}}}}},"S7x":{"type":"structure","members":{"maximum":{"type":"double"},"minimum":{"type":"double"}}},"S8f":{"type":"list","member":{"type":"structure","members":{"connectorDescription":{},"connectorName":{},"connectorOwner":{},"connectorVersion":{},"applicationType":{},"connectorType":{},"connectorLabel":{},"registeredAt":{"type":"timestamp"},"registeredBy":{},"connectorProvisioningType":{},"connectorModes":{"shape":"S6s"}}}},"S8l":{"type":"structure","members":{"mostRecentExecutionMessage":{},"mostRecentExecutionTime":{"type":"timestamp"},"mostRecentExecutionStatus":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-23","endpointPrefix":"appflow","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Appflow","serviceId":"Appflow","signatureVersion":"v4","signingName":"appflow","uid":"appflow-2020-08-23"},"operations":{"CreateConnectorProfile":{"http":{"requestUri":"/create-connector-profile"},"input":{"type":"structure","required":["connectorProfileName","connectorType","connectionMode","connectorProfileConfig"],"members":{"connectorProfileName":{},"kmsArn":{},"connectorType":{},"connectorLabel":{},"connectionMode":{},"connectorProfileConfig":{"shape":"S7"}}},"output":{"type":"structure","members":{"connectorProfileArn":{}}}},"CreateFlow":{"http":{"requestUri":"/create-flow"},"input":{"type":"structure","required":["flowName","triggerConfig","sourceFlowConfig","destinationFlowConfigList","tasks"],"members":{"flowName":{},"description":{},"kmsArn":{},"triggerConfig":{"shape":"S2w"},"sourceFlowConfig":{"shape":"S35"},"destinationFlowConfigList":{"shape":"S3y"},"tasks":{"shape":"S4u"},"tags":{"shape":"S5k"}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{}}}},"DeleteConnectorProfile":{"http":{"requestUri":"/delete-connector-profile"},"input":{"type":"structure","required":["connectorProfileName"],"members":{"connectorProfileName":{},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DeleteFlow":{"http":{"requestUri":"/delete-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DescribeConnector":{"http":{"requestUri":"/describe-connector"},"input":{"type":"structure","required":["connectorType"],"members":{"connectorType":{},"connectorLabel":{}}},"output":{"type":"structure","members":{"connectorConfiguration":{"shape":"S5w"}}}},"DescribeConnectorEntity":{"http":{"requestUri":"/describe-connector-entity"},"input":{"type":"structure","required":["connectorEntityName"],"members":{"connectorEntityName":{},"connectorType":{},"connectorProfileName":{},"apiVersion":{}}},"output":{"type":"structure","required":["connectorEntityFields"],"members":{"connectorEntityFields":{"type":"list","member":{"type":"structure","required":["identifier"],"members":{"identifier":{},"parentIdentifier":{},"label":{},"isPrimaryKey":{"type":"boolean"},"defaultValue":{},"isDeprecated":{"type":"boolean"},"supportedFieldTypeDetails":{"type":"structure","required":["v1"],"members":{"v1":{"type":"structure","required":["fieldType","filterOperators"],"members":{"fieldType":{},"filterOperators":{"type":"list","member":{}},"supportedValues":{"type":"list","member":{}},"valueRegexPattern":{},"supportedDateFormat":{},"fieldValueRange":{"shape":"S7y"},"fieldLengthRange":{"shape":"S7y"}}}}},"description":{},"sourceProperties":{"type":"structure","members":{"isRetrievable":{"type":"boolean"},"isQueryable":{"type":"boolean"},"isTimestampFieldForIncrementalQueries":{"type":"boolean"}}},"destinationProperties":{"type":"structure","members":{"isCreatable":{"type":"boolean"},"isNullable":{"type":"boolean"},"isUpsertable":{"type":"boolean"},"isUpdatable":{"type":"boolean"},"isDefaultedOnCreate":{"type":"boolean"},"supportedWriteOperations":{"shape":"S7h"}}},"customProperties":{"shape":"S3t"}}}}}}},"DescribeConnectorProfiles":{"http":{"requestUri":"/describe-connector-profiles"},"input":{"type":"structure","members":{"connectorProfileNames":{"type":"list","member":{}},"connectorType":{},"connectorLabel":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectorProfileDetails":{"type":"list","member":{"type":"structure","members":{"connectorProfileArn":{},"connectorProfileName":{},"connectorType":{},"connectorLabel":{},"connectionMode":{},"credentialsArn":{},"connectorProfileProperties":{"shape":"S8"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"privateConnectionProvisioningState":{"type":"structure","members":{"status":{},"failureMessage":{},"failureCause":{}}}}}},"nextToken":{}}}},"DescribeConnectors":{"http":{"requestUri":"/describe-connectors"},"input":{"type":"structure","members":{"connectorTypes":{"shape":"S5x"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectorConfigurations":{"type":"map","key":{},"value":{"shape":"S5w"}},"connectors":{"shape":"S8g"},"nextToken":{}}}},"DescribeFlow":{"http":{"requestUri":"/describe-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"description":{},"flowName":{},"kmsArn":{},"flowStatus":{},"flowStatusMessage":{},"sourceFlowConfig":{"shape":"S35"},"destinationFlowConfigList":{"shape":"S3y"},"lastRunExecutionDetails":{"shape":"S8m"},"triggerConfig":{"shape":"S2w"},"tasks":{"shape":"S4u"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S5k"}}}},"DescribeFlowExecutionRecords":{"http":{"requestUri":"/describe-flow-execution-records"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"flowExecutions":{"type":"list","member":{"type":"structure","members":{"executionId":{},"executionStatus":{},"executionResult":{"type":"structure","members":{"errorInfo":{"type":"structure","members":{"putFailuresCount":{"type":"long"},"executionMessage":{}}},"bytesProcessed":{"type":"long"},"bytesWritten":{"type":"long"},"recordsProcessed":{"type":"long"}}},"startedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"dataPullStartTime":{"type":"timestamp"},"dataPullEndTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListConnectorEntities":{"http":{"requestUri":"/list-connector-entities"},"input":{"type":"structure","members":{"connectorProfileName":{},"connectorType":{},"entitiesPath":{},"apiVersion":{}}},"output":{"type":"structure","required":["connectorEntityMap"],"members":{"connectorEntityMap":{"type":"map","key":{},"value":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{},"label":{},"hasNestedEntities":{"type":"boolean"}}}}}}}},"ListConnectors":{"http":{"requestUri":"/list-connectors"},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectors":{"shape":"S8g"},"nextToken":{}}}},"ListFlows":{"http":{"requestUri":"/list-flows"},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"flows":{"type":"list","member":{"type":"structure","members":{"flowArn":{},"description":{},"flowName":{},"flowStatus":{},"sourceConnectorType":{},"sourceConnectorLabel":{},"destinationConnectorType":{},"destinationConnectorLabel":{},"triggerType":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S5k"},"lastRunExecutionDetails":{"shape":"S8m"}}}},"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":"S5k"}}}},"RegisterConnector":{"http":{"requestUri":"/register-connector"},"input":{"type":"structure","members":{"connectorLabel":{},"description":{},"connectorProvisioningType":{},"connectorProvisioningConfig":{"shape":"S7j"}}},"output":{"type":"structure","members":{"connectorArn":{}}}},"StartFlow":{"http":{"requestUri":"/start-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{},"executionId":{}}}},"StopFlow":{"http":{"requestUri":"/stop-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S5k"}}},"output":{"type":"structure","members":{}}},"UnregisterConnector":{"http":{"requestUri":"/unregister-connector"},"input":{"type":"structure","required":["connectorLabel"],"members":{"connectorLabel":{},"forceDelete":{"type":"boolean"}}},"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":{}}},"UpdateConnectorProfile":{"http":{"requestUri":"/update-connector-profile"},"input":{"type":"structure","required":["connectorProfileName","connectionMode","connectorProfileConfig"],"members":{"connectorProfileName":{},"connectionMode":{},"connectorProfileConfig":{"shape":"S7"}}},"output":{"type":"structure","members":{"connectorProfileArn":{}}}},"UpdateFlow":{"http":{"requestUri":"/update-flow"},"input":{"type":"structure","required":["flowName","triggerConfig","sourceFlowConfig","destinationFlowConfigList","tasks"],"members":{"flowName":{},"description":{},"triggerConfig":{"shape":"S2w"},"sourceFlowConfig":{"shape":"S35"},"destinationFlowConfigList":{"shape":"S3y"},"tasks":{"shape":"S4u"}}},"output":{"type":"structure","members":{"flowStatus":{}}}}},"shapes":{"S7":{"type":"structure","required":["connectorProfileProperties","connectorProfileCredentials"],"members":{"connectorProfileProperties":{"shape":"S8"},"connectorProfileCredentials":{"type":"structure","members":{"Amplitude":{"type":"structure","required":["apiKey","secretKey"],"members":{"apiKey":{"shape":"S1j"},"secretKey":{"type":"string","sensitive":true}}},"Datadog":{"type":"structure","required":["apiKey","applicationKey"],"members":{"apiKey":{"shape":"S1j"},"applicationKey":{}}},"Dynatrace":{"type":"structure","required":["apiToken"],"members":{"apiToken":{}}},"GoogleAnalytics":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}},"Honeycode":{"type":"structure","members":{"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}},"InforNexus":{"type":"structure","required":["accessKeyId","userId","secretAccessKey","datakey"],"members":{"accessKeyId":{"type":"string","sensitive":true},"userId":{},"secretAccessKey":{},"datakey":{}}},"Marketo":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"oAuthRequest":{"shape":"S1u"}}},"Redshift":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Salesforce":{"type":"structure","members":{"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"},"clientCredentialsArn":{"type":"string","sensitive":true}}},"ServiceNow":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Singular":{"type":"structure","required":["apiKey"],"members":{"apiKey":{"shape":"S1j"}}},"Slack":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"oAuthRequest":{"shape":"S1u"}}},"Snowflake":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Trendmicro":{"type":"structure","required":["apiSecretKey"],"members":{"apiSecretKey":{"shape":"S2c"}}},"Veeva":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Zendesk":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"oAuthRequest":{"shape":"S1u"}}},"SAPOData":{"type":"structure","members":{"basicAuthCredentials":{"shape":"S2g"},"oAuthCredentials":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}}}},"CustomConnector":{"type":"structure","required":["authenticationType"],"members":{"authenticationType":{},"basic":{"shape":"S2g"},"oauth2":{"type":"structure","members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}},"apiKey":{"type":"structure","required":["apiKey"],"members":{"apiKey":{"shape":"S1j"},"apiSecretKey":{"shape":"S2c"}}},"custom":{"type":"structure","required":["customAuthenticationType"],"members":{"customAuthenticationType":{},"credentialsMap":{"type":"map","key":{"type":"string","sensitive":true},"value":{"type":"string","sensitive":true}}}}}}}}}},"S8":{"type":"structure","members":{"Amplitude":{"type":"structure","members":{}},"Datadog":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Dynatrace":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"GoogleAnalytics":{"type":"structure","members":{}},"Honeycode":{"type":"structure","members":{}},"InforNexus":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Marketo":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Redshift":{"type":"structure","required":["databaseUrl","bucketName","roleArn"],"members":{"databaseUrl":{},"bucketName":{},"bucketPrefix":{},"roleArn":{}}},"Salesforce":{"type":"structure","members":{"instanceUrl":{},"isSandboxEnvironment":{"type":"boolean"}}},"ServiceNow":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Singular":{"type":"structure","members":{}},"Slack":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Snowflake":{"type":"structure","required":["warehouse","stage","bucketName"],"members":{"warehouse":{},"stage":{},"bucketName":{},"bucketPrefix":{},"privateLinkServiceName":{},"accountName":{},"region":{}}},"Trendmicro":{"type":"structure","members":{}},"Veeva":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Zendesk":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"SAPOData":{"type":"structure","required":["applicationHostUrl","applicationServicePath","portNumber","clientNumber"],"members":{"applicationHostUrl":{},"applicationServicePath":{},"portNumber":{"type":"integer"},"clientNumber":{},"logonLanguage":{},"privateLinkServiceName":{},"oAuthProperties":{"type":"structure","required":["tokenUrl","authCodeUrl","oAuthScopes"],"members":{"tokenUrl":{},"authCodeUrl":{},"oAuthScopes":{"shape":"S19"}}}}},"CustomConnector":{"type":"structure","members":{"profileProperties":{"type":"map","key":{},"value":{}},"oAuth2Properties":{"type":"structure","required":["tokenUrl","oAuth2GrantType"],"members":{"tokenUrl":{},"oAuth2GrantType":{}}}}}}},"S19":{"type":"list","member":{}},"S1j":{"type":"string","sensitive":true},"S1r":{"type":"string","sensitive":true},"S1s":{"type":"string","sensitive":true},"S1u":{"type":"structure","members":{"authCode":{},"redirectUri":{}}},"S24":{"type":"string","sensitive":true},"S2c":{"type":"string","sensitive":true},"S2g":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"S2w":{"type":"structure","required":["triggerType"],"members":{"triggerType":{},"triggerProperties":{"type":"structure","members":{"Scheduled":{"type":"structure","required":["scheduleExpression"],"members":{"scheduleExpression":{},"dataPullMode":{},"scheduleStartTime":{"type":"timestamp"},"scheduleEndTime":{"type":"timestamp"},"timezone":{},"scheduleOffset":{"type":"long"},"firstExecutionFrom":{"type":"timestamp"}}}}}}},"S35":{"type":"structure","required":["connectorType","sourceConnectorProperties"],"members":{"connectorType":{},"apiVersion":{},"connectorProfileName":{},"sourceConnectorProperties":{"type":"structure","members":{"Amplitude":{"type":"structure","required":["object"],"members":{"object":{}}},"Datadog":{"type":"structure","required":["object"],"members":{"object":{}}},"Dynatrace":{"type":"structure","required":["object"],"members":{"object":{}}},"GoogleAnalytics":{"type":"structure","required":["object"],"members":{"object":{}}},"InforNexus":{"type":"structure","required":["object"],"members":{"object":{}}},"Marketo":{"type":"structure","required":["object"],"members":{"object":{}}},"S3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{},"bucketPrefix":{},"s3InputFormatConfig":{"type":"structure","members":{"s3InputFileType":{}}}}},"Salesforce":{"type":"structure","required":["object"],"members":{"object":{},"enableDynamicFieldUpdate":{"type":"boolean"},"includeDeletedRecords":{"type":"boolean"}}},"ServiceNow":{"type":"structure","required":["object"],"members":{"object":{}}},"Singular":{"type":"structure","required":["object"],"members":{"object":{}}},"Slack":{"type":"structure","required":["object"],"members":{"object":{}}},"Trendmicro":{"type":"structure","required":["object"],"members":{"object":{}}},"Veeva":{"type":"structure","required":["object"],"members":{"object":{},"documentType":{},"includeSourceFiles":{"type":"boolean"},"includeRenditions":{"type":"boolean"},"includeAllVersions":{"type":"boolean"}}},"Zendesk":{"type":"structure","required":["object"],"members":{"object":{}}},"SAPOData":{"type":"structure","members":{"objectPath":{}}},"CustomConnector":{"type":"structure","required":["entityName"],"members":{"entityName":{},"customProperties":{"shape":"S3t"}}}}},"incrementalPullConfig":{"type":"structure","members":{"datetimeTypeFieldName":{}}}}},"S3t":{"type":"map","key":{},"value":{}},"S3y":{"type":"list","member":{"type":"structure","required":["connectorType","destinationConnectorProperties"],"members":{"connectorType":{},"apiVersion":{},"connectorProfileName":{},"destinationConnectorProperties":{"type":"structure","members":{"Redshift":{"type":"structure","required":["object","intermediateBucketName"],"members":{"object":{},"intermediateBucketName":{},"bucketPrefix":{},"errorHandlingConfig":{"shape":"S42"}}},"S3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{},"bucketPrefix":{},"s3OutputFormatConfig":{"type":"structure","members":{"fileType":{},"prefixConfig":{"shape":"S46"},"aggregationConfig":{"shape":"S49"}}}}},"Salesforce":{"type":"structure","required":["object"],"members":{"object":{},"idFieldNames":{"shape":"S4c"},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{}}},"Snowflake":{"type":"structure","required":["object","intermediateBucketName"],"members":{"object":{},"intermediateBucketName":{},"bucketPrefix":{},"errorHandlingConfig":{"shape":"S42"}}},"EventBridge":{"type":"structure","required":["object"],"members":{"object":{},"errorHandlingConfig":{"shape":"S42"}}},"LookoutMetrics":{"type":"structure","members":{}},"Upsolver":{"type":"structure","required":["bucketName","s3OutputFormatConfig"],"members":{"bucketName":{},"bucketPrefix":{},"s3OutputFormatConfig":{"type":"structure","required":["prefixConfig"],"members":{"fileType":{},"prefixConfig":{"shape":"S46"},"aggregationConfig":{"shape":"S49"}}}}},"Honeycode":{"type":"structure","required":["object"],"members":{"object":{},"errorHandlingConfig":{"shape":"S42"}}},"CustomerProfiles":{"type":"structure","required":["domainName"],"members":{"domainName":{},"objectTypeName":{}}},"Zendesk":{"type":"structure","required":["object"],"members":{"object":{},"idFieldNames":{"shape":"S4c"},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{}}},"Marketo":{"type":"structure","required":["object"],"members":{"object":{},"errorHandlingConfig":{"shape":"S42"}}},"CustomConnector":{"type":"structure","required":["entityName"],"members":{"entityName":{},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{},"idFieldNames":{"shape":"S4c"},"customProperties":{"shape":"S3t"}}},"SAPOData":{"type":"structure","required":["objectPath"],"members":{"objectPath":{},"successResponseHandlingConfig":{"type":"structure","members":{"bucketPrefix":{},"bucketName":{}}},"idFieldNames":{"shape":"S4c"},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{}}}}}}}},"S42":{"type":"structure","members":{"failOnFirstDestinationError":{"type":"boolean"},"bucketPrefix":{},"bucketName":{}}},"S46":{"type":"structure","members":{"prefixType":{},"prefixFormat":{}}},"S49":{"type":"structure","members":{"aggregationType":{}}},"S4c":{"type":"list","member":{}},"S4u":{"type":"list","member":{"type":"structure","required":["sourceFields","taskType"],"members":{"sourceFields":{"type":"list","member":{}},"connectorOperator":{"type":"structure","members":{"Amplitude":{},"Datadog":{},"Dynatrace":{},"GoogleAnalytics":{},"InforNexus":{},"Marketo":{},"S3":{},"Salesforce":{},"ServiceNow":{},"Singular":{},"Slack":{},"Trendmicro":{},"Veeva":{},"Zendesk":{},"SAPOData":{},"CustomConnector":{}}},"destinationField":{},"taskType":{},"taskProperties":{"type":"map","key":{},"value":{}}}}},"S5k":{"type":"map","key":{},"value":{}},"S5w":{"type":"structure","members":{"canUseAsSource":{"type":"boolean"},"canUseAsDestination":{"type":"boolean"},"supportedDestinationConnectors":{"shape":"S5x"},"supportedSchedulingFrequencies":{"type":"list","member":{}},"isPrivateLinkEnabled":{"type":"boolean"},"isPrivateLinkEndpointUrlRequired":{"type":"boolean"},"supportedTriggerTypes":{"type":"list","member":{}},"connectorMetadata":{"type":"structure","members":{"Amplitude":{"type":"structure","members":{}},"Datadog":{"type":"structure","members":{}},"Dynatrace":{"type":"structure","members":{}},"GoogleAnalytics":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"InforNexus":{"type":"structure","members":{}},"Marketo":{"type":"structure","members":{}},"Redshift":{"type":"structure","members":{}},"S3":{"type":"structure","members":{}},"Salesforce":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"ServiceNow":{"type":"structure","members":{}},"Singular":{"type":"structure","members":{}},"Slack":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"Snowflake":{"type":"structure","members":{"supportedRegions":{"type":"list","member":{}}}},"Trendmicro":{"type":"structure","members":{}},"Veeva":{"type":"structure","members":{}},"Zendesk":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"EventBridge":{"type":"structure","members":{}},"Upsolver":{"type":"structure","members":{}},"CustomerProfiles":{"type":"structure","members":{}},"Honeycode":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"SAPOData":{"type":"structure","members":{}}}},"connectorType":{},"connectorLabel":{},"connectorDescription":{},"connectorOwner":{},"connectorName":{},"connectorVersion":{},"connectorArn":{},"connectorModes":{"shape":"S6t"},"authenticationConfig":{"type":"structure","members":{"isBasicAuthSupported":{"type":"boolean"},"isApiKeyAuthSupported":{"type":"boolean"},"isOAuth2Supported":{"type":"boolean"},"isCustomAuthSupported":{"type":"boolean"},"oAuth2Defaults":{"type":"structure","members":{"oauthScopes":{"shape":"S19"},"tokenUrls":{"type":"list","member":{}},"authCodeUrls":{"type":"list","member":{}},"oauth2GrantTypesSupported":{"type":"list","member":{}}}},"customAuthConfigs":{"type":"list","member":{"type":"structure","members":{"customAuthenticationType":{},"authParameters":{"type":"list","member":{"type":"structure","members":{"key":{},"isRequired":{"type":"boolean"},"label":{},"description":{},"isSensitiveField":{"type":"boolean"},"connectorSuppliedValues":{"type":"list","member":{}}}}}}}}}},"connectorRuntimeSettings":{"type":"list","member":{"type":"structure","members":{"key":{},"dataType":{},"isRequired":{"type":"boolean"},"label":{},"description":{},"scope":{},"connectorSuppliedValueOptions":{"type":"list","member":{}}}}},"supportedApiVersions":{"type":"list","member":{}},"supportedOperators":{"type":"list","member":{}},"supportedWriteOperations":{"shape":"S7h"},"connectorProvisioningType":{},"connectorProvisioningConfig":{"shape":"S7j"},"logoURL":{},"registeredAt":{"type":"timestamp"},"registeredBy":{}}},"S5x":{"type":"list","member":{}},"S6t":{"type":"list","member":{}},"S7h":{"type":"list","member":{}},"S7j":{"type":"structure","members":{"lambda":{"type":"structure","required":["lambdaArn"],"members":{"lambdaArn":{}}}}},"S7y":{"type":"structure","members":{"maximum":{"type":"double"},"minimum":{"type":"double"}}},"S8g":{"type":"list","member":{"type":"structure","members":{"connectorDescription":{},"connectorName":{},"connectorOwner":{},"connectorVersion":{},"applicationType":{},"connectorType":{},"connectorLabel":{},"registeredAt":{"type":"timestamp"},"registeredBy":{},"connectorProvisioningType":{},"connectorModes":{"shape":"S6t"}}}},"S8m":{"type":"structure","members":{"mostRecentExecutionMessage":{},"mostRecentExecutionTime":{"type":"timestamp"},"mostRecentExecutionStatus":{}}}}} /***/ }), /* 899 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 4a03883293..e320682f07 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1085.0 +// AWS SDK for JavaScript v2.1086.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:i,convertToBuffer:a}},{"buffer/":427}],334:[function(e,t,r){function i(e,t){this.hash=new e,this.outer=new e;var r=a(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;se.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var a=new Uint8Array(e.BLOCK_SIZE);return a.set(r),a}var s=e("./browserHashUtils");t.exports=i,i.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},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":333}],335:[function(e,t,r){function i(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,i,a,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-a)+r&4294967295}function s(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function u(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=i,i.BLOCK_SIZE=c,i.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,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,i=t.bufferLength,a=t.bytesHashed,s=8*a;if(r.setUint8(this.bufferLength++,128),i%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},i.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],p=r[2],m=r[3];i=s(i,a,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,i,a,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,i,a,t.getUint32(8,!0),17,606105819),a=s(a,p,m,i,t.getUint32(12,!0),22,3250441966),i=s(i,a,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,i,a,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,i,a,t.getUint32(24,!0),17,2821735955),a=s(a,p,m,i,t.getUint32(28,!0),22,4249261313),i=s(i,a,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,i,a,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,i,a,t.getUint32(40,!0),17,4294925233),a=s(a,p,m,i,t.getUint32(44,!0),22,2304563134),i=s(i,a,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,i,a,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,i,a,t.getUint32(56,!0),17,2792965006),a=s(a,p,m,i,t.getUint32(60,!0),22,1236535329),i=o(i,a,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,i,a,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,i,a,t.getUint32(44,!0),14,643717713),a=o(a,p,m,i,t.getUint32(0,!0),20,3921069994),i=o(i,a,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,i,a,p,t.getUint32(40,!0),9,38016083),p=o(p,m,i,a,t.getUint32(60,!0),14,3634488961),a=o(a,p,m,i,t.getUint32(16,!0),20,3889429448),i=o(i,a,p,m,t.getUint32(36,!0),5,568446438),m=o(m,i,a,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,i,a,t.getUint32(12,!0),14,4107603335),a=o(a,p,m,i,t.getUint32(32,!0),20,1163531501),i=o(i,a,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,i,a,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,i,a,t.getUint32(28,!0),14,1735328473),a=o(a,p,m,i,t.getUint32(48,!0),20,2368359562),i=n(i,a,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,i,a,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,i,a,t.getUint32(44,!0),16,1839030562),a=n(a,p,m,i,t.getUint32(56,!0),23,4259657740),i=n(i,a,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,i,a,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,i,a,t.getUint32(28,!0),16,4139469664),a=n(a,p,m,i,t.getUint32(40,!0),23,3200236656),i=n(i,a,p,m,t.getUint32(52,!0),4,681279174),m=n(m,i,a,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,i,a,t.getUint32(12,!0),16,3572445317),a=n(a,p,m,i,t.getUint32(24,!0),23,76029189),i=n(i,a,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,i,a,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,i,a,t.getUint32(60,!0),16,530742520),a=n(a,p,m,i,t.getUint32(8,!0),23,3299628645),i=u(i,a,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,i,a,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,i,a,t.getUint32(56,!0),15,2878612391),a=u(a,p,m,i,t.getUint32(20,!0),21,4237533241),i=u(i,a,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,i,a,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,i,a,t.getUint32(40,!0),15,4293915773),a=u(a,p,m,i,t.getUint32(4,!0),21,2240044497),i=u(i,a,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,i,a,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,i,a,t.getUint32(24,!0),15,2734768916),a=u(a,p,m,i,t.getUint32(52,!0),21,1309151649),i=u(i,a,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,i,a,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,i,a,t.getUint32(8,!0),15,718787259),a=u(a,p,m,i,t.getUint32(36,!0),21,3951481745),r[0]=i+r[0]&4294967295,r[1]=a+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":333,"buffer/":427}],336:[function(e,t,r){function i(){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 a=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=i,i.BLOCK_SIZE=64,i.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 a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.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,i,a=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),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]) -;u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|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":333,"buffer/":427}],337:[function(e,t,r){function i(){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 a=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=i,i.BLOCK_SIZE=64,i.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},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%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 a(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},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=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=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":333,"buffer/":427}],338:[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 i=e("./core");if(t.exports=i,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"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":418,"./xml/browser_parser":419,_process:432,"buffer/":427,"querystring/":439,"url/":441}],339:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.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,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},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=a.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)};i.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),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.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);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":342}],340:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.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:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.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]=i.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},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}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(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:432}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1085.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"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":450,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":388,"./resource_waiter":389,"./response":390,"./sequential_executor":392,"./service":393,"./signers/request_signer":410,"./util":418,"./xml/builder":420}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.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=i.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){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.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||i.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,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.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,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.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(i.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 i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.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=i.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":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];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 a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.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||i.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,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.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:a.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,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(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(a.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,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.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 a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.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 i=0;i>>2,s=a,a=p}for(this.h0=this.h0+a|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":333,"buffer/":427}],337:[function(e,t,r){function i(){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 a=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=i,i.BLOCK_SIZE=64,i.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},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%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 a(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},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=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=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":333,"buffer/":427}],338:[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 i=e("./core");if(t.exports=i,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"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":418,"./xml/browser_parser":419,_process:432,"buffer/":427,"querystring/":439,"url/":441}],339:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.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,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},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=a.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)};i.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),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.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);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":342}],340:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.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:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.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]=i.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},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}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(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:432}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1086.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"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":450,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":388,"./resource_waiter":389,"./response":390,"./sequential_executor":392,"./service":393,"./signers/request_signer":410,"./util":418,"./xml/builder":420}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.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=i.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){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.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||i.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,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.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,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.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(i.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 i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.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=i.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":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];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 a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.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||i.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,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.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:a.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,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(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(a.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,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.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 a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.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 i=0;i-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;i.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&&a(t),new i(t)},i.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},i.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:i}},{"../core":342}],360:[function(e,t,r){function i(e,t,r){var i=s(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw a(i);if("event"!==o.value)return}var n=i.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]=i.body:p[m]=e.parse(i.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();a.util.computeSha256(s,function(r,i){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=i,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=i(e),r=a.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=a.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(i){if(r&&r.isStreaming){if(r.requiresLength)throw i;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw i}throw i}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new a.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,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=a.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(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(a.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.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 a.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",a.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",a.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof a.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(a.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=a.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 i={};return a.util.each(t,function(t,a){Object.prototype.hasOwnProperty.call(e.members,t)?i[t]=r(e.members[t],a):i[t]=a}),i;case"list":var s=[];return a.util.arrayEach(t,function(t,i){s.push(r(e.member,t))}),s;case"map":var o={};return a.util.each(t,function(t,i){o[t]=r(e.value,i)}),o;default:return t}}var i=t.request,s=i.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-i.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=i.params;if(i.service.api.operations&&i.service.api.operations[i.operation]&&i.service.api.operations[i.operation].input){m=r(i.service.api.operations[i.operation].input,i.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+i.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+a.util.string.lowerFirst(i.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)}),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)})}},{"./core":342,"./discover_endpoint":350,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./sequential_executor":392,util:444}],364:[function(e,t,r){var i=e("./core"),a=i.util.inherit;i.Endpoint=a({constructor:function(e,t){if(i.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return i.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:i.config.sslEnabled)?"https":"http")+"://"+e}i.util.update(this,i.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),i.HttpRequest=a({constructor:function(e,t){e=new i.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()]=i.util.userAgent()},getUserAgentHeaderName:function(){return(i.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=i.util.queryStringParse(e),i.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new i.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),i.HttpResponse=a({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}}),i.HttpClient=a({}),i.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":342}],365:[function(e,t,r){var i=e("../core"),a=e("events").EventEmitter;e("../http"),i.XHRClient=i.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new a,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(i.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(i.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(i.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),i.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 i.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],i=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=i)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var a=e.response;r=new i.util.Buffer(a.byteLength);for(var s=new Uint8Array(a),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 i=s.resolve(e,t);if(i){var a=Object.keys(e);t.documentation||(a=a.filter(function(e){return!e.match(/documentation/)}));var o=function(){i.constructor.call(this,e,t,r)};return o.prototype=i,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":418,"./collection":369}],374:[function(e,t,r){var i=e("./core");i.ParamValidator=i.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 a=this.errors.join("\n* ");throw a="There were "+this.errors.length+" validation errors:\n* "+a,i.util.error(new Error(a),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(i.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 i,a=0;e.required&&a= 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,i){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 "+i+" <= "+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,a){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:i}},{"../core":342,"../util":418}],377:[function(e,t,r){function i(e){var t=e.httpRequest,r=e.service.api,i=r.targetPrefix+"."+r.operations[e.operation].name,a=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===a&&(a="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+a,t.headers["X-Amz-Target"]=i,p(e)}function a(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 i=JSON.parse(r.body.toString()),a=i.__type||i.code||i.Code;a&&(t.code=a.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){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],i=r.output||{},a=new u;e.data=a.parse(t,i)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:i,extractError:a,extractData:s}},{"../json/builder":366,"../json/parser":367,"../util":418,"./helpers":376}],378:[function(e,t,r){function i(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 a(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;t0){t=new n.XML.Parser;var c=t.parse(i.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:a,extractError:s,extractData:o}},{"../core":342,"../util":418,"./rest":379}],382:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=a(s);n=e?e+"."+n:n,u(n,o,s,i)}})}function o(e,t,r,i){var a=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+a+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,i),u(e+m,s,r.value,i)})}function n(e,t,r,i){var s=r.member||{};if(0===t.length)return void i.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(a(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?n(e,t,r,i):"map"===r.type?o(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var p=e("../util");i.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=i},{"../util":418}],383:[function(e,t,r){var i=e("../core"),a=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};i.RDS.Signer=i.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=i.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new i.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),a=new i.Service(u),a.api=s;var p=a.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,i){i&&(i=r.convertUrlToAuthToken(i)),t(e,i)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=i.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||i.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":342}],384:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],385:[function(e,t,r){function i(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function a(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:i,isGlobalRegion:a,getRealRegion:s}},{}],386:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=e.config.useFipsEndpoint,i=e.config.useDualstackEndpoint,o=0;o=0){u=!0;var p=0}var m=function(){u&&p!==n?a.emit("error",i.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===i.HttpClient.streamsApiVersion?a.end():a.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===i.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),a.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(a,{end:!1})}else c.pipe(a);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){a.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,a.emit("error",e)})}}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),i.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 i.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",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.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}}),i.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()})}},i.Request.deletePromisesFromClass=function(){delete this.prototype.promise},i.util.addPromises(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":342,"./state_machine":417,_process:432,jmespath:431}],389:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),s=a.util.inherit,o=e("jmespath");a.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 i=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(i,t)},pathAll:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}Array.isArray(i)||(i=[i]);var a=i.length;if(!a)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(i.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=i.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,a=i.util.copy(r.config);a.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(a),t.service.config.params=i.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 i.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=a(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=a(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 i=r.slice(e.partSize);e.partBuffers.push(i),e.partBufferLength+=i.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 a={Body:e};this.tags&&(a.Tagging=this.getTaggingHeader());var s=t.service.putObject(a);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=i.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(a,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var i=this.listeners(e),a=i.length;return this.callListeners(i,t,r),a>0},callListeners:function(e,t,r,a){function s(a){if(a&&(n=i.util.error(n||new Error,a),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=a||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=i.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),i.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),i.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,i){return this[e]=r,this.addListener(t,r,i),this},addNamedAsyncListener:function(e,t,r,i){return r._isAsync=!0,this.addNamedListener(e,t,r,i)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),i.SequentialExecutor.prototype.addListener=i.SequentialExecutor.prototype.on,t.exports=i.SequentialExecutor},{"./core":342}],393:[function(e,t,r){(function(r){(function(){var i=e("./core"),a=e("./model/api"),s=e("./region_config"),o=i.util.inherit,n=0,u=e("./region/utils");i.Service=o({constructor:function(e){if(!this.loadServiceClass)throw i.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 a=i.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return a},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=i.config[this.serviceIdentifier];if(this.config=new i.Config(i.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),i.SequentialExecutor.call(this),i.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||i.Service._clientSideMonitoring)&&this.publisher){var a=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){a.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){a.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(i.util.isEmpty(this.api)){if(t.apiConfig)return i.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new i.Config(i.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]&&i.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?i.util.isType(e,Date)&&(e=i.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,a=t.length-1;a>=0;a--)if("*"!==t[a][t[a].length-1]&&(r=t[a]),t[a].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 a=this.api.operations[e];a&&(t=i.util.copy(t),i.util.each(this.config.params,function(e,r){a.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new i.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 i=this.makeRequest(e,t).toUnauthenticated();return r?i.send(r):i},waitFor:function(e,t,r){return new i.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[i.events,i.EventListeners.Core,this.serviceInterface(),i.EventListeners.CorePost],r=0;r299?(a.code&&(r.FinalAwsException=a.code),a.message&&(r.FinalAwsExceptionMessage=a.message)):((a.code||a.name)&&(r.FinalSdkException=a.code||a.name),a.message&&(r.FinalSdkExceptionMessage=a.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()},i=e.response;return i.httpResponse.statusCode&&(r.HttpStatusCode=i.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),i.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),i.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=i.httpResponse.headers["x-amzn-requestid"]),i.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=i.httpResponse.headers["x-amz-request-id"]),i.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=i.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,i=r.error;return r.httpResponse.statusCode>299?(i.code&&(t.AwsException=i.code),i.message&&(t.AwsExceptionMessage=i.message)):((i.code||i.name)&&(t.SdkException=i.code||i.name),i.message&&(t.SdkExceptionMessage=i.message)),t},attachMonitoringEmitter:function(e){var t,r,a,s,o,n,u=0,p=this;e.on("validate",function(){s=i.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=i.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){a=Math.round(i.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=a>=0?a:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,a=a||Math.round(i.util.realClock.now()-r),s.AttemptLatency=a>=0?a: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(i.util.realClock.now()-s);t.Latency=r>=0?r:0;var a=e.response;a.error&&a.error.retryable&&"number"==typeof a.retryCount&&"number"==typeof a.maxRetries&&a.retryCount>=a.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,a="";if(e){r=(e.service.api.operations||{})[e.operation]||null,a=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===a||"v4-unsigned-body"===a?"v4":this.api.signatureVersion,i.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return i.EventListeners.Query;case"json":return i.EventListeners.Json;case"rest-json":return i.EventListeners.RestJson;case"rest-xml":return i.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 i.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 i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.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){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=o(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var s=a.serviceIdentifier||e;a.serviceIdentifier=s}else a.prototype.api=e,i.Service.defineMethods(a);if(i.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&i.util.clientSideMonitoring){var n=i.util.clientSideMonitoring.Publisher,u=i.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(i.Service._clientSideMonitoring=!0)}return i.SequentialExecutor.call(a.prototype),i.Service.addDefaultMonitoringListeners(a.prototype),a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw i.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),a.indexOf(e.operation)>-1&&e.addListener("extractData",i.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{ diff --git a/lib/core.js b/lib/core.js index 6592f5caa3..2fce941431 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.1085.0', + VERSION: '2.1086.0', /** * @api private diff --git a/package.json b/package.json index 6a531ff1e4..b2eb9c1fb7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.1085.0", + "version": "2.1086.0", "author": { "name": "Amazon Web Services", "email": "",